{$IFNDEF FPC_DOTTEDUNITS} Unit job_web; {$ENDIF FPC_DOTTEDUNITS} {$MODE ObjFPC} {$H+} interface {$IFDEF FPC_DOTTEDUNITS} uses System.SysUtils, Wasm.Job.Js; {$ELSE FPC_DOTTEDUNITS} uses SysUtils, Job.JS; {$ENDIF FPC_DOTTEDUNITS} Type // Forward class definitions IJSAbortController = interface; TJSAbortController = class; IJSAbortSignal = interface; TJSAbortSignal = class; IJSAbstractRange = interface; TJSAbstractRange = class; IJSAbstractWorker = interface; TJSAbstractWorker = class; IJSAccessibleNode = interface; TJSAccessibleNode = class; IJSAddonEvent = interface; TJSAddonEvent = class; IJSAddonManager = interface; TJSAddonManager = class; IJSAnalyserNode = interface; TJSAnalyserNode = class; IJSAnimatable = interface; TJSAnimatable = class; IJSAnimation = interface; TJSAnimation = class; IJSAnimationEffect = interface; TJSAnimationEffect = class; IJSAnimationEvent = interface; TJSAnimationEvent = class; IJSAnimationFrameProvider = interface; TJSAnimationFrameProvider = class; IJSAnimationPlaybackEvent = interface; TJSAnimationPlaybackEvent = class; IJSAnimationTimeline = interface; TJSAnimationTimeline = class; IJSMozObserver = interface; TJSMozObserver = class; IJSAPZHitResultFlags = interface; TJSAPZHitResultFlags = class; IJSARIAMixin = interface; TJSARIAMixin = class; IJSAttr = interface; TJSAttr = class; IJSAudioBuffer = interface; TJSAudioBuffer = class; IJSAudioBufferSourceNode = interface; TJSAudioBufferSourceNode = class; IJSAudioContext = interface; TJSAudioContext = class; IJSAudioData = interface; TJSAudioData = class; IJSAudioDecoder = interface; TJSAudioDecoder = class; IJSAudioDestinationNode = interface; TJSAudioDestinationNode = class; IJSAudioEncoder = interface; TJSAudioEncoder = class; IJSAudioListener = interface; TJSAudioListener = class; IJSAudioNode = interface; TJSAudioNode = class; IJSAudioNodePassThrough = interface; TJSAudioNodePassThrough = class; IJSAudioParam = interface; TJSAudioParam = class; IJSAudioParamMap = interface; TJSAudioParamMap = class; IJSAudioProcessingEvent = interface; TJSAudioProcessingEvent = class; IJSAudioScheduledSourceNode = interface; TJSAudioScheduledSourceNode = class; IJSAudioTrack = interface; TJSAudioTrack = class; IJSAudioTrackList = interface; TJSAudioTrackList = class; IJSAudioWorklet = interface; TJSAudioWorklet = class; IJSAudioWorkletGlobalScope = interface; TJSAudioWorkletGlobalScope = class; IJSAudioWorkletNode = interface; TJSAudioWorkletNode = class; IJSAudioWorkletProcessor = interface; TJSAudioWorkletProcessor = class; IJSBarProp = interface; TJSBarProp = class; IJSBaseAudioContext = interface; TJSBaseAudioContext = class; IJSBeforeUnloadEvent = interface; TJSBeforeUnloadEvent = class; IJSBiquadFilterNode = interface; TJSBiquadFilterNode = class; IJSBlob = interface; TJSBlob = class; IJSBlobEvent = interface; TJSBlobEvent = class; IJSBroadcastChannel = interface; TJSBroadcastChannel = class; IJSCache = interface; TJSCache = class; IJSPrincipal = interface; TJSPrincipal = class; IJSCacheStorage = interface; TJSCacheStorage = class; IJSCanvasCaptureMediaStream = interface; TJSCanvasCaptureMediaStream = class; IJSCanvasRenderingContext2D = interface; TJSCanvasRenderingContext2D = class; IJSCanvasState = interface; TJSCanvasState = class; IJSCanvasTransform = interface; TJSCanvasTransform = class; IJSCanvasCompositing = interface; TJSCanvasCompositing = class; IJSCanvasImageSmoothing = interface; TJSCanvasImageSmoothing = class; IJSCanvasFillStrokeStyles = interface; TJSCanvasFillStrokeStyles = class; IJSCanvasShadowStyles = interface; TJSCanvasShadowStyles = class; IJSCanvasFilters = interface; TJSCanvasFilters = class; IJSCanvasRect = interface; TJSCanvasRect = class; IJSCanvasDrawPath = interface; TJSCanvasDrawPath = class; IJSCanvasUserInterface = interface; TJSCanvasUserInterface = class; IJSCanvasText = interface; TJSCanvasText = class; IJSCanvasDrawImage = interface; TJSCanvasDrawImage = class; IJSCanvasImageData = interface; TJSCanvasImageData = class; IJSCanvasPathDrawingStyles = interface; TJSCanvasPathDrawingStyles = class; IJSCanvasTextDrawingStyles = interface; TJSCanvasTextDrawingStyles = class; IJSCanvasPathMethods = interface; TJSCanvasPathMethods = class; IJSCanvasGradient = interface; TJSCanvasGradient = class; IJSCanvasPattern = interface; TJSCanvasPattern = class; IJSTextMetrics = interface; TJSTextMetrics = class; IJSPath2D = interface; TJSPath2D = class; IJSCaretPosition = interface; TJSCaretPosition = class; IJSCDATASection = interface; TJSCDATASection = class; IJSChannelMergerNode = interface; TJSChannelMergerNode = class; IJSChannelSplitterNode = interface; TJSChannelSplitterNode = class; IJSCharacterData = interface; TJSCharacterData = class; IJSCheckerboardReportService = interface; TJSCheckerboardReportService = class; IJSChildNode = interface; TJSChildNode = class; IJSNonDocumentTypeChildNode = interface; TJSNonDocumentTypeChildNode = class; IJSClient = interface; TJSClient = class; IJSWindowClient = interface; TJSWindowClient = class; IJSClients = interface; TJSClients = class; IJSClipboard = interface; TJSClipboard = class; IJSClipboardItem = interface; TJSClipboardItem = class; IJSClipboardEvent = interface; TJSClipboardEvent = class; IJSCloseEvent = interface; TJSCloseEvent = class; IJSComment = interface; TJSComment = class; IJSCompositionEvent = interface; TJSCompositionEvent = class; IJSCompressionStream = interface; TJSCompressionStream = class; IJSconsole = interface; TJSconsole = class; IJSConstantSourceNode = interface; TJSConstantSourceNode = class; IJSContentVisibilityAutoStateChangeEvent = interface; TJSContentVisibilityAutoStateChangeEvent = class; IJSConvolverNode = interface; TJSConvolverNode = class; IJSCredential = interface; TJSCredential = class; IJSCredentialsContainer = interface; TJSCredentialsContainer = class; IJSGlobalCrypto = interface; TJSGlobalCrypto = class; IJSCrypto = interface; TJSCrypto = class; IJSCSS = interface; TJSCSS = class; IJSCSSAnimation = interface; TJSCSSAnimation = class; IJSCSSConditionRule = interface; TJSCSSConditionRule = class; IJSCSSContainerRule = interface; TJSCSSContainerRule = class; IJSCSSCounterStyleRule = interface; TJSCSSCounterStyleRule = class; IJSCSSFontFaceRule = interface; TJSCSSFontFaceRule = class; IJSCSSFontFeatureValuesRule = interface; TJSCSSFontFeatureValuesRule = class; IJSCSSFontPaletteValuesRule = interface; TJSCSSFontPaletteValuesRule = class; IJSCSSGroupingRule = interface; TJSCSSGroupingRule = class; IJSCSSImportRule = interface; TJSCSSImportRule = class; IJSCSSKeyframeRule = interface; TJSCSSKeyframeRule = class; IJSCSSKeyframesRule = interface; TJSCSSKeyframesRule = class; IJSCSSLayerBlockRule = interface; TJSCSSLayerBlockRule = class; IJSCSSLayerStatementRule = interface; TJSCSSLayerStatementRule = class; IJSCSSMediaRule = interface; TJSCSSMediaRule = class; IJSCSSMozDocumentRule = interface; TJSCSSMozDocumentRule = class; IJSCSSNamespaceRule = interface; TJSCSSNamespaceRule = class; IJSCSSPageRule = interface; TJSCSSPageRule = class; IJSCSSPropertyRule = interface; TJSCSSPropertyRule = class; IJSCSSPseudoElement = interface; TJSCSSPseudoElement = class; IJSCSSRule = interface; TJSCSSRule = class; IJSCSSRuleList = interface; TJSCSSRuleList = class; IJSCSSScopeRule = interface; TJSCSSScopeRule = class; IJSCSSStartingStyleRule = interface; TJSCSSStartingStyleRule = class; IJSCSSStyleDeclaration = interface; TJSCSSStyleDeclaration = class; IJSCSSStyleRule = interface; TJSCSSStyleRule = class; IJSCSSStyleSheet = interface; TJSCSSStyleSheet = class; IJSCSSSupportsRule = interface; TJSCSSSupportsRule = class; IJSCSSTransition = interface; TJSCSSTransition = class; IJSCustomElementRegistry = interface; TJSCustomElementRegistry = class; IJSCustomEvent = interface; TJSCustomEvent = class; IJSContentSecurityPolicy = interface; TJSContentSecurityPolicy = class; IJSDataTransfer = interface; TJSDataTransfer = class; IJSDataTransferItem = interface; TJSDataTransferItem = class; IJSDataTransferItemList = interface; TJSDataTransferItemList = class; IJSDecompressionStream = interface; TJSDecompressionStream = class; IJSDedicatedWorkerGlobalScope = interface; TJSDedicatedWorkerGlobalScope = class; IJSDelayNode = interface; TJSDelayNode = class; IJSDeviceLightEvent = interface; TJSDeviceLightEvent = class; IJSDeviceAcceleration = interface; TJSDeviceAcceleration = class; IJSDeviceRotationRate = interface; TJSDeviceRotationRate = class; IJSDeviceMotionEvent = interface; TJSDeviceMotionEvent = class; IJSDeviceOrientationEvent = interface; TJSDeviceOrientationEvent = class; IJSDirectory = interface; TJSDirectory = class; IJSWindowProxy = interface; TJSWindowProxy = class; IJSnsISupports = interface; TJSnsISupports = class; IJSURI = interface; TJSURI = class; IJSnsIDocShell = interface; TJSnsIDocShell = class; IJSnsILoadGroup = interface; TJSnsILoadGroup = class; IJSnsIReferrerInfo = interface; TJSnsIReferrerInfo = class; IJSnsICookieJarSettings = interface; TJSnsICookieJarSettings = class; IJSnsIPermissionDelegateHandler = interface; TJSnsIPermissionDelegateHandler = class; IJSXULCommandDispatcher = interface; TJSXULCommandDispatcher = class; IJSDocument = interface; TJSDocument = class; IJSDocumentFragment = interface; TJSDocumentFragment = class; IJSDocumentOrShadowRoot = interface; TJSDocumentOrShadowRoot = class; IJSDocumentTimeline = interface; TJSDocumentTimeline = class; IJSDocumentType = interface; TJSDocumentType = class; IJSStackFrame = interface; TJSStackFrame = class; IJSExceptionMembers = interface; TJSExceptionMembers = class; IJSException = interface; TJSException = class; IJSDOMException = interface; TJSDOMException = class; IJSDOMImplementation = interface; TJSDOMImplementation = class; IJSDOMLocalization = interface; TJSDOMLocalization = class; IJSDOMMatrixReadOnly = interface; TJSDOMMatrixReadOnly = class; IJSDOMMatrix = interface; TJSDOMMatrix = class; IJSInputStream = interface; TJSInputStream = class; IJSDOMParser = interface; TJSDOMParser = class; IJSDOMPointReadOnly = interface; TJSDOMPointReadOnly = class; IJSDOMPoint = interface; TJSDOMPoint = class; IJSDOMQuad = interface; TJSDOMQuad = class; IJSDOMRect = interface; TJSDOMRect = class; IJSDOMRectReadOnly = interface; TJSDOMRectReadOnly = class; IJSDOMRectList = interface; TJSDOMRectList = class; IJSDOMStringList = interface; TJSDOMStringList = class; IJSDOMStringMap = interface; TJSDOMStringMap = class; IJSDOMTokenList = interface; TJSDOMTokenList = class; IJSDragEvent = interface; TJSDragEvent = class; IJSDynamicsCompressorNode = interface; TJSDynamicsCompressorNode = class; IJSnsIScreen = interface; TJSnsIScreen = class; IJSElement = interface; TJSElement = class; IJSHTMLOrForeignElement = interface; TJSHTMLOrForeignElement = class; IJSElementCSSInlineStyle = interface; TJSElementCSSInlineStyle = class; IJSElementInternals = interface; TJSElementInternals = class; IJSCustomStateSet = interface; TJSCustomStateSet = class; IJSEncodedAudioChunk = interface; TJSEncodedAudioChunk = class; IJSEncodedVideoChunk = interface; TJSEncodedVideoChunk = class; IJSErrorEvent = interface; TJSErrorEvent = class; IJSEvent = interface; TJSEvent = class; IJSGlobalEventHandlers = interface; TJSGlobalEventHandlers = class; IJSWindowEventHandlers = interface; TJSWindowEventHandlers = class; IJSOnErrorEventHandlerForNodes = interface; TJSOnErrorEventHandlerForNodes = class; IJSOnErrorEventHandlerForWindow = interface; TJSOnErrorEventHandlerForWindow = class; IJSEventSource = interface; TJSEventSource = class; IJSEventTarget = interface; TJSEventTarget = class; IJSExtendableEvent = interface; TJSExtendableEvent = class; IJSExtendableMessageEvent = interface; TJSExtendableMessageEvent = class; IJSExtensionAlarms = interface; TJSExtensionAlarms = class; IJSExtensionGlobalsMixin = interface; TJSExtensionGlobalsMixin = class; IJSExtensionBrowser = interface; TJSExtensionBrowser = class; IJSExtensionBrowserSettings = interface; TJSExtensionBrowserSettings = class; IJSExtensionBrowserSettingsColorManagement = interface; TJSExtensionBrowserSettingsColorManagement = class; IJSExtensionDns = interface; TJSExtensionDns = class; IJSExtensionEventManager = interface; TJSExtensionEventManager = class; IJSExtensionMockAPI = interface; TJSExtensionMockAPI = class; IJSExtensionPort = interface; TJSExtensionPort = class; IJSExtensionProxy = interface; TJSExtensionProxy = class; IJSExtensionRuntime = interface; TJSExtensionRuntime = class; IJSExtensionScripting = interface; TJSExtensionScripting = class; IJSExtensionSetting = interface; TJSExtensionSetting = class; IJSExtensionTest = interface; TJSExtensionTest = class; IJSExternal = interface; TJSExternal = class; IJSFeaturePolicy = interface; TJSFeaturePolicy = class; IJSFeaturePolicyViolationReportBody = interface; TJSFeaturePolicyViolationReportBody = class; IJSBody = interface; TJSBody = class; IJSFetchEvent = interface; TJSFetchEvent = class; IJSFetchObserver = interface; TJSFetchObserver = class; IJSnsIFile = interface; TJSnsIFile = class; IJSFile = interface; TJSFile = class; IJSFileList = interface; TJSFileList = class; IJSFileReader = interface; TJSFileReader = class; IJSFileReaderSync = interface; TJSFileReaderSync = class; IJSFileSystem = interface; TJSFileSystem = class; IJSFileSystemDirectoryEntry = interface; TJSFileSystemDirectoryEntry = class; IJSFileSystemDirectoryHandle = interface; TJSFileSystemDirectoryHandle = class; IJSFileSystemDirectoryIterator = interface; TJSFileSystemDirectoryIterator = class; IJSFileSystemDirectoryReader = interface; TJSFileSystemDirectoryReader = class; IJSFileSystemEntry = interface; TJSFileSystemEntry = class; IJSFileSystemFileEntry = interface; TJSFileSystemFileEntry = class; IJSFileSystemFileHandle = interface; TJSFileSystemFileHandle = class; IJSFileSystemHandle = interface; TJSFileSystemHandle = class; IJSFileSystemSyncAccessHandle = interface; TJSFileSystemSyncAccessHandle = class; IJSFileSystemWritableFileStream = interface; TJSFileSystemWritableFileStream = class; IJSFocusEvent = interface; TJSFocusEvent = class; IJSFontFace = interface; TJSFontFace = class; IJSFontFaceSetIterator = interface; TJSFontFaceSetIterator = class; IJSFontFaceSet = interface; TJSFontFaceSet = class; IJSFontFaceSetLoadEvent = interface; TJSFontFaceSetLoadEvent = class; IJSFontFaceSource = interface; TJSFontFaceSource = class; IJSFormData = interface; TJSFormData = class; IJSFormDataEvent = interface; TJSFormDataEvent = class; IJSFragmentDirective = interface; TJSFragmentDirective = class; IJSFuzzingFunctions = interface; TJSFuzzingFunctions = class; IJSGainNode = interface; TJSGainNode = class; IJSGamepadButton = interface; TJSGamepadButton = class; IJSGamepad = interface; TJSGamepad = class; IJSGamepadAxisMoveEvent = interface; TJSGamepadAxisMoveEvent = class; IJSGamepadButtonEvent = interface; TJSGamepadButtonEvent = class; IJSGamepadEvent = interface; TJSGamepadEvent = class; IJSGamepadHapticActuator = interface; TJSGamepadHapticActuator = class; IJSGamepadLightIndicator = interface; TJSGamepadLightIndicator = class; IJSGamepadPose = interface; TJSGamepadPose = class; IJSGamepadServiceTest = interface; TJSGamepadServiceTest = class; IJSGamepadTouch = interface; TJSGamepadTouch = class; IJSGenericTransformStream = interface; TJSGenericTransformStream = class; IJSGeolocation = interface; TJSGeolocation = class; IJSGeolocationCoordinates = interface; TJSGeolocationCoordinates = class; IJSGeolocationPosition = interface; TJSGeolocationPosition = class; IJSGeolocationPositionError = interface; TJSGeolocationPositionError = class; IJSGeometryUtils = interface; TJSGeometryUtils = class; IJSnsIMediaDevice = interface; TJSnsIMediaDevice = class; IJSGetUserMediaRequest = interface; TJSGetUserMediaRequest = class; IJSGleanCategory = interface; TJSGleanCategory = class; IJSGleanImpl = interface; TJSGleanImpl = class; IJSGleanLabeled = interface; TJSGleanLabeled = class; IJSGleanMetric = interface; TJSGleanMetric = class; IJSGleanBoolean = interface; TJSGleanBoolean = class; IJSGleanDatetime = interface; TJSGleanDatetime = class; IJSGleanCounter = interface; TJSGleanCounter = class; IJSGleanTimingDistribution = interface; TJSGleanTimingDistribution = class; IJSGleanMemoryDistribution = interface; TJSGleanMemoryDistribution = class; IJSGleanCustomDistribution = interface; TJSGleanCustomDistribution = class; IJSGleanString = interface; TJSGleanString = class; IJSGleanStringList = interface; TJSGleanStringList = class; IJSGleanTimespan = interface; TJSGleanTimespan = class; IJSGleanUuid = interface; TJSGleanUuid = class; IJSGleanEvent = interface; TJSGleanEvent = class; IJSGleanQuantity = interface; TJSGleanQuantity = class; IJSGleanDenominator = interface; TJSGleanDenominator = class; IJSGleanNumerator = interface; TJSGleanNumerator = class; IJSGleanRate = interface; TJSGleanRate = class; IJSGleanUrl = interface; TJSGleanUrl = class; IJSGleanText = interface; TJSGleanText = class; IJSGleanObject = interface; TJSGleanObject = class; IJSnsIGleanPing = interface; TJSnsIGleanPing = class; IJSGleanPingsImpl = interface; TJSGleanPingsImpl = class; IJSGPUUncapturedErrorEvent = interface; TJSGPUUncapturedErrorEvent = class; IJSHashChangeEvent = interface; TJSHashChangeEvent = class; IJSHeaders = interface; TJSHeaders = class; IJSHighlight = interface; TJSHighlight = class; IJSHighlightRegistry = interface; TJSHighlightRegistry = class; IJSHistory = interface; TJSHistory = class; IJSHTMLAllCollection = interface; TJSHTMLAllCollection = class; IJSHTMLAnchorElement = interface; TJSHTMLAnchorElement = class; IJSHTMLAreaElement = interface; TJSHTMLAreaElement = class; IJSHTMLAudioElement = interface; TJSHTMLAudioElement = class; IJSHTMLBaseElement = interface; TJSHTMLBaseElement = class; IJSHTMLBodyElement = interface; TJSHTMLBodyElement = class; IJSHTMLBRElement = interface; TJSHTMLBRElement = class; IJSHTMLButtonElement = interface; TJSHTMLButtonElement = class; IJSHTMLCanvasElement = interface; TJSHTMLCanvasElement = class; IJSHTMLCollection = interface; TJSHTMLCollection = class; IJSHTMLDataElement = interface; TJSHTMLDataElement = class; IJSHTMLDataListElement = interface; TJSHTMLDataListElement = class; IJSHTMLDetailsElement = interface; TJSHTMLDetailsElement = class; IJSHTMLDialogElement = interface; TJSHTMLDialogElement = class; IJSHTMLDirectoryElement = interface; TJSHTMLDirectoryElement = class; IJSHTMLDivElement = interface; TJSHTMLDivElement = class; IJSHTMLDListElement = interface; TJSHTMLDListElement = class; IJSHTMLDocument = interface; TJSHTMLDocument = class; IJSHTMLElement = interface; TJSHTMLElement = class; IJSTouchEventHandlers = interface; TJSTouchEventHandlers = class; IJSHTMLUnknownElement = interface; TJSHTMLUnknownElement = class; IJSHTMLEmbedElement = interface; TJSHTMLEmbedElement = class; IJSHTMLFieldSetElement = interface; TJSHTMLFieldSetElement = class; IJSHTMLFontElement = interface; TJSHTMLFontElement = class; IJSHTMLFormControlsCollection = interface; TJSHTMLFormControlsCollection = class; IJSHTMLFormElement = interface; TJSHTMLFormElement = class; IJSHTMLFrameElement = interface; TJSHTMLFrameElement = class; IJSHTMLFrameSetElement = interface; TJSHTMLFrameSetElement = class; IJSHTMLHeadElement = interface; TJSHTMLHeadElement = class; IJSHTMLHeadingElement = interface; TJSHTMLHeadingElement = class; IJSHTMLHRElement = interface; TJSHTMLHRElement = class; IJSHTMLHtmlElement = interface; TJSHTMLHtmlElement = class; IJSHTMLHyperlinkElementUtils = interface; TJSHTMLHyperlinkElementUtils = class; IJSHTMLIFrameElement = interface; TJSHTMLIFrameElement = class; IJSimgINotificationObserver = interface; TJSimgINotificationObserver = class; IJSimgIRequest = interface; TJSimgIRequest = class; IJSnsIStreamListener = interface; TJSnsIStreamListener = class; IJSHTMLImageElement = interface; TJSHTMLImageElement = class; IJSMozImageLoadingContent = interface; TJSMozImageLoadingContent = class; IJSXULControllers = interface; TJSXULControllers = class; IJSHTMLInputElement = interface; TJSHTMLInputElement = class; IJSMozEditableElement = interface; TJSMozEditableElement = class; IJSHTMLLabelElement = interface; TJSHTMLLabelElement = class; IJSHTMLLegendElement = interface; TJSHTMLLegendElement = class; IJSHTMLLIElement = interface; TJSHTMLLIElement = class; IJSHTMLLinkElement = interface; TJSHTMLLinkElement = class; IJSHTMLMapElement = interface; TJSHTMLMapElement = class; IJSHTMLMarqueeElement = interface; TJSHTMLMarqueeElement = class; IJSHTMLMediaElement = interface; TJSHTMLMediaElement = class; IJSHTMLMenuElement = interface; TJSHTMLMenuElement = class; IJSHTMLMetaElement = interface; TJSHTMLMetaElement = class; IJSHTMLMeterElement = interface; TJSHTMLMeterElement = class; IJSHTMLModElement = interface; TJSHTMLModElement = class; IJSHTMLObjectElement = interface; TJSHTMLObjectElement = class; IJSMozObjectLoadingContent = interface; TJSMozObjectLoadingContent = class; IJSHTMLOListElement = interface; TJSHTMLOListElement = class; IJSHTMLOptGroupElement = interface; TJSHTMLOptGroupElement = class; IJSHTMLOptionElement = interface; TJSHTMLOptionElement = class; IJSHTMLOptionsCollection = interface; TJSHTMLOptionsCollection = class; IJSHTMLOutputElement = interface; TJSHTMLOutputElement = class; IJSHTMLParagraphElement = interface; TJSHTMLParagraphElement = class; IJSHTMLParamElement = interface; TJSHTMLParamElement = class; IJSHTMLPictureElement = interface; TJSHTMLPictureElement = class; IJSHTMLPreElement = interface; TJSHTMLPreElement = class; IJSHTMLProgressElement = interface; TJSHTMLProgressElement = class; IJSHTMLQuoteElement = interface; TJSHTMLQuoteElement = class; IJSHTMLScriptElement = interface; TJSHTMLScriptElement = class; IJSHTMLSelectElement = interface; TJSHTMLSelectElement = class; IJSHTMLSlotElement = interface; TJSHTMLSlotElement = class; IJSHTMLSourceElement = interface; TJSHTMLSourceElement = class; IJSHTMLSpanElement = interface; TJSHTMLSpanElement = class; IJSHTMLStyleElement = interface; TJSHTMLStyleElement = class; IJSHTMLTableCaptionElement = interface; TJSHTMLTableCaptionElement = class; IJSHTMLTableCellElement = interface; TJSHTMLTableCellElement = class; IJSHTMLTableColElement = interface; TJSHTMLTableColElement = class; IJSHTMLTableElement = interface; TJSHTMLTableElement = class; IJSHTMLTableRowElement = interface; TJSHTMLTableRowElement = class; IJSHTMLTableSectionElement = interface; TJSHTMLTableSectionElement = class; IJSHTMLTemplateElement = interface; TJSHTMLTemplateElement = class; IJSnsIEditor = interface; TJSnsIEditor = class; IJSHTMLTextAreaElement = interface; TJSHTMLTextAreaElement = class; IJSHTMLTimeElement = interface; TJSHTMLTimeElement = class; IJSHTMLTitleElement = interface; TJSHTMLTitleElement = class; IJSHTMLTrackElement = interface; TJSHTMLTrackElement = class; IJSHTMLUListElement = interface; TJSHTMLUListElement = class; IJSHTMLVideoElement = interface; TJSHTMLVideoElement = class; IJSIDBCursor = interface; TJSIDBCursor = class; IJSIDBCursorWithValue = interface; TJSIDBCursorWithValue = class; IJSIDBDatabase = interface; TJSIDBDatabase = class; IJSIDBFactory = interface; TJSIDBFactory = class; IJSIDBIndex = interface; TJSIDBIndex = class; IJSIDBKeyRange = interface; TJSIDBKeyRange = class; IJSIDBObjectStore = interface; TJSIDBObjectStore = class; IJSIDBOpenDBRequest = interface; TJSIDBOpenDBRequest = class; IJSIDBRequest = interface; TJSIDBRequest = class; IJSIDBTransaction = interface; TJSIDBTransaction = class; IJSIDBVersionChangeEvent = interface; TJSIDBVersionChangeEvent = class; IJSIdentityCredential = interface; TJSIdentityCredential = class; IJSIdleDeadline = interface; TJSIdleDeadline = class; IJSIIRFilterNode = interface; TJSIIRFilterNode = class; IJSImageBitmap = interface; TJSImageBitmap = class; IJSImageBitmapRenderingContext = interface; TJSImageBitmapRenderingContext = class; IJSImageCapture = interface; TJSImageCapture = class; IJSImageCaptureErrorEvent = interface; TJSImageCaptureErrorEvent = class; IJSImageCaptureError = interface; TJSImageCaptureError = class; IJSImageData = interface; TJSImageData = class; IJSInputEvent = interface; TJSInputEvent = class; IJSIntersectionObserverEntry = interface; TJSIntersectionObserverEntry = class; IJSIntersectionObserver = interface; TJSIntersectionObserver = class; IJSIntlUtils = interface; TJSIntlUtils = class; IJSInvokeEvent = interface; TJSInvokeEvent = class; IJSInvokerElement = interface; TJSInvokerElement = class; IJSKeyboardEvent = interface; TJSKeyboardEvent = class; IJSKeyEvent = interface; TJSKeyEvent = class; IJSKeyEventMixin = interface; TJSKeyEventMixin = class; IJSKeyframeEffect = interface; TJSKeyframeEffect = class; IJSLinkStyle = interface; TJSLinkStyle = class; IJSLocalization = interface; TJSLocalization = class; IJSLocation = interface; TJSLocation = class; IJSLock = interface; TJSLock = class; IJSLockManager = interface; TJSLockManager = class; IJSMathMLElement = interface; TJSMathMLElement = class; IJSMediaCapabilitiesInfo = interface; TJSMediaCapabilitiesInfo = class; IJSMediaCapabilities = interface; TJSMediaCapabilities = class; IJSMediaDeviceInfo = interface; TJSMediaDeviceInfo = class; IJSMediaDevices = interface; TJSMediaDevices = class; IJSMediaElementAudioSourceNode = interface; TJSMediaElementAudioSourceNode = class; IJSMediaEncryptedEvent = interface; TJSMediaEncryptedEvent = class; IJSMediaError = interface; TJSMediaError = class; IJSMediaKeyError = interface; TJSMediaKeyError = class; IJSMediaKeyMessageEvent = interface; TJSMediaKeyMessageEvent = class; IJSMediaKeys = interface; TJSMediaKeys = class; IJSMediaKeySession = interface; TJSMediaKeySession = class; IJSMediaKeyStatusMap = interface; TJSMediaKeyStatusMap = class; IJSMediaKeySystemAccess = interface; TJSMediaKeySystemAccess = class; IJSMediaList = interface; TJSMediaList = class; IJSMediaQueryList = interface; TJSMediaQueryList = class; IJSMediaQueryListEvent = interface; TJSMediaQueryListEvent = class; IJSMediaRecorder = interface; TJSMediaRecorder = class; IJSMediaRecorderErrorEvent = interface; TJSMediaRecorderErrorEvent = class; IJSMediaSession = interface; TJSMediaSession = class; IJSMediaMetadata = interface; TJSMediaMetadata = class; IJSMediaSource = interface; TJSMediaSource = class; IJSMediaStream = interface; TJSMediaStream = class; IJSMediaStreamAudioDestinationNode = interface; TJSMediaStreamAudioDestinationNode = class; IJSMediaStreamAudioSourceNode = interface; TJSMediaStreamAudioSourceNode = class; IJSMediaStreamError = interface; TJSMediaStreamError = class; IJSMediaStreamEvent = interface; TJSMediaStreamEvent = class; IJSMediaStreamTrack = interface; TJSMediaStreamTrack = class; IJSMediaStreamTrackAudioSourceNode = interface; TJSMediaStreamTrackAudioSourceNode = class; IJSMediaStreamTrackEvent = interface; TJSMediaStreamTrackEvent = class; IJSMerchantValidationEvent = interface; TJSMerchantValidationEvent = class; IJSMessageChannel = interface; TJSMessageChannel = class; IJSMessageEvent = interface; TJSMessageEvent = class; IJSMessagePort = interface; TJSMessagePort = class; IJSMIDIAccess = interface; TJSMIDIAccess = class; IJSMIDIConnectionEvent = interface; TJSMIDIConnectionEvent = class; IJSMIDIInput = interface; TJSMIDIInput = class; IJSMIDIInputMap = interface; TJSMIDIInputMap = class; IJSMIDIMessageEvent = interface; TJSMIDIMessageEvent = class; IJSMIDIOutput = interface; TJSMIDIOutput = class; IJSMIDIOutputMap = interface; TJSMIDIOutputMap = class; IJSMIDIPort = interface; TJSMIDIPort = class; IJSMimeType = interface; TJSMimeType = class; IJSMimeTypeArray = interface; TJSMimeTypeArray = class; IJSMouseEvent = interface; TJSMouseEvent = class; IJSMouseScrollEvent = interface; TJSMouseScrollEvent = class; IJSMozFrameLoaderOwner = interface; TJSMozFrameLoaderOwner = class; IJSMutationEvent = interface; TJSMutationEvent = class; IJSMutationRecord = interface; TJSMutationRecord = class; IJSMutationObserver = interface; TJSMutationObserver = class; IJSNamedNodeMap = interface; TJSNamedNodeMap = class; IJSNavigationPreloadManager = interface; TJSNavigationPreloadManager = class; IJSNavigator = interface; TJSNavigator = class; IJSNavigatorID = interface; TJSNavigatorID = class; IJSNavigatorLanguage = interface; TJSNavigatorLanguage = class; IJSNavigatorOnLine = interface; TJSNavigatorOnLine = class; IJSNavigatorContentUtils = interface; TJSNavigatorContentUtils = class; IJSNavigatorStorage = interface; TJSNavigatorStorage = class; IJSNavigatorStorageUtils = interface; TJSNavigatorStorageUtils = class; IJSGlobalPrivacyControl = interface; TJSGlobalPrivacyControl = class; IJSNavigatorGeolocation = interface; TJSNavigatorGeolocation = class; IJSNavigatorConcurrentHardware = interface; TJSNavigatorConcurrentHardware = class; IJSNavigatorAutomationInformation = interface; TJSNavigatorAutomationInformation = class; IJSNavigatorLocks = interface; TJSNavigatorLocks = class; IJSNetworkInformation = interface; TJSNetworkInformation = class; IJSNode = interface; TJSNode = class; IJSNodeIterator = interface; TJSNodeIterator = class; IJSNodeList = interface; TJSNodeList = class; IJSNonElementParentNode = interface; TJSNonElementParentNode = class; IJSNotification = interface; TJSNotification = class; IJSNotificationEvent = interface; TJSNotificationEvent = class; IJSOfflineAudioCompletionEvent = interface; TJSOfflineAudioCompletionEvent = class; IJSOfflineAudioContext = interface; TJSOfflineAudioContext = class; IJSOffscreenCanvas = interface; TJSOffscreenCanvas = class; IJSOffscreenCanvasRenderingContext2D = interface; TJSOffscreenCanvasRenderingContext2D = class; IJSOscillatorNode = interface; TJSOscillatorNode = class; IJSPageTransitionEvent = interface; TJSPageTransitionEvent = class; IJSPaintRequest = interface; TJSPaintRequest = class; IJSPaintRequestList = interface; TJSPaintRequestList = class; IJSPaintWorkletGlobalScope = interface; TJSPaintWorkletGlobalScope = class; IJSPannerNode = interface; TJSPannerNode = class; IJSParentNode = interface; TJSParentNode = class; IJSPaymentAddress = interface; TJSPaymentAddress = class; IJSPaymentMethodChangeEvent = interface; TJSPaymentMethodChangeEvent = class; IJSPaymentRequest = interface; TJSPaymentRequest = class; IJSPaymentRequestUpdateEvent = interface; TJSPaymentRequestUpdateEvent = class; IJSPaymentResponse = interface; TJSPaymentResponse = class; IJSPerformance = interface; TJSPerformance = class; IJSPerformanceEntry = interface; TJSPerformanceEntry = class; IJSEventCounts = interface; TJSEventCounts = class; IJSPerformanceEventTiming = interface; TJSPerformanceEventTiming = class; IJSLargestContentfulPaint = interface; TJSLargestContentfulPaint = class; IJSPerformanceMark = interface; TJSPerformanceMark = class; IJSPerformanceMeasure = interface; TJSPerformanceMeasure = class; IJSPerformanceNavigation = interface; TJSPerformanceNavigation = class; IJSPerformanceNavigationTiming = interface; TJSPerformanceNavigationTiming = class; IJSPerformanceObserver = interface; TJSPerformanceObserver = class; IJSPerformanceObserverEntryList = interface; TJSPerformanceObserverEntryList = class; IJSPerformancePaintTiming = interface; TJSPerformancePaintTiming = class; IJSPerformanceResourceTiming = interface; TJSPerformanceResourceTiming = class; IJSPerformanceServerTiming = interface; TJSPerformanceServerTiming = class; IJSPerformanceTiming = interface; TJSPerformanceTiming = class; IJSPeriodicWave = interface; TJSPeriodicWave = class; IJSPermissions = interface; TJSPermissions = class; IJSPermissionStatus = interface; TJSPermissionStatus = class; IJSPlugin = interface; TJSPlugin = class; IJSPluginArray = interface; TJSPluginArray = class; IJSPointerEvent = interface; TJSPointerEvent = class; IJSPopoverInvokerElement = interface; TJSPopoverInvokerElement = class; IJSPopStateEvent = interface; TJSPopStateEvent = class; IJSPopupBlockedEvent = interface; TJSPopupBlockedEvent = class; IJSProcessingInstruction = interface; TJSProcessingInstruction = class; IJSProgressEvent = interface; TJSProgressEvent = class; IJSPromiseNativeHandler = interface; TJSPromiseNativeHandler = class; IJSPromiseRejectionEvent = interface; TJSPromiseRejectionEvent = class; IJSPushEvent = interface; TJSPushEvent = class; IJSPushManager = interface; TJSPushManager = class; IJSPushMessageData = interface; TJSPushMessageData = class; IJSPushSubscription = interface; TJSPushSubscription = class; IJSPushSubscriptionOptions = interface; TJSPushSubscriptionOptions = class; IJSCountQueuingStrategy = interface; TJSCountQueuingStrategy = class; IJSByteLengthQueuingStrategy = interface; TJSByteLengthQueuingStrategy = class; IJSRadioNodeList = interface; TJSRadioNodeList = class; IJSRange = interface; TJSRange = class; IJSReadableByteStreamController = interface; TJSReadableByteStreamController = class; IJSReadableStream = interface; TJSReadableStream = class; IJSReadableStreamBYOBReader = interface; TJSReadableStreamBYOBReader = class; IJSReadableStreamBYOBRequest = interface; TJSReadableStreamBYOBRequest = class; IJSReadableStreamDefaultController = interface; TJSReadableStreamDefaultController = class; IJSReadableStreamGenericReader = interface; TJSReadableStreamGenericReader = class; IJSReadableStreamDefaultReader = interface; TJSReadableStreamDefaultReader = class; IJSReportBody = interface; TJSReportBody = class; IJSReport = interface; TJSReport = class; IJSReportingObserver = interface; TJSReportingObserver = class; IJSDeprecationReportBody = interface; TJSDeprecationReportBody = class; IJSTestingDeprecatedInterface = interface; TJSTestingDeprecatedInterface = class; IJSRequest = interface; TJSRequest = class; IJSResizeObserver = interface; TJSResizeObserver = class; IJSResizeObserverEntry = interface; TJSResizeObserverEntry = class; IJSResizeObserverSize = interface; TJSResizeObserverSize = class; IJSResponse = interface; TJSResponse = class; IJSRTCCertificate = interface; TJSRTCCertificate = class; IJSRTCDataChannel = interface; TJSRTCDataChannel = class; IJSRTCDataChannelEvent = interface; TJSRTCDataChannelEvent = class; IJSRTCDtlsTransport = interface; TJSRTCDtlsTransport = class; IJSRTCDTMFSender = interface; TJSRTCDTMFSender = class; IJSRTCDTMFToneChangeEvent = interface; TJSRTCDTMFToneChangeEvent = class; IJSRTCEncodedAudioFrame = interface; TJSRTCEncodedAudioFrame = class; IJSRTCEncodedVideoFrame = interface; TJSRTCEncodedVideoFrame = class; IJSRTCIceCandidate = interface; TJSRTCIceCandidate = class; IJSRTCIceTransport = interface; TJSRTCIceTransport = class; IJSRTCIdentityProviderRegistrar = interface; TJSRTCIdentityProviderRegistrar = class; IJSRTCPeerConnection = interface; TJSRTCPeerConnection = class; IJSRTCPeerConnectionIceEvent = interface; TJSRTCPeerConnectionIceEvent = class; IJSRTCRtpReceiver = interface; TJSRTCRtpReceiver = class; IJSRTCRtpScriptTransform = interface; TJSRTCRtpScriptTransform = class; IJSRTCRtpScriptTransformer = interface; TJSRTCRtpScriptTransformer = class; IJSRTCRtpSender = interface; TJSRTCRtpSender = class; IJSRTCRtpTransceiver = interface; TJSRTCRtpTransceiver = class; IJSRTCSctpTransport = interface; TJSRTCSctpTransport = class; IJSRTCSessionDescription = interface; TJSRTCSessionDescription = class; IJSRTCStatsReport = interface; TJSRTCStatsReport = class; IJSRTCTrackEvent = interface; TJSRTCTrackEvent = class; IJSRTCTransformEvent = interface; TJSRTCTransformEvent = class; IJSSanitizer = interface; TJSSanitizer = class; IJSScreen = interface; TJSScreen = class; IJSScreenLuminance = interface; TJSScreenLuminance = class; IJSScreenOrientation = interface; TJSScreenOrientation = class; IJSScriptProcessorNode = interface; TJSScriptProcessorNode = class; IJSScrollAreaEvent = interface; TJSScrollAreaEvent = class; IJSSecurityPolicyViolationEvent = interface; TJSSecurityPolicyViolationEvent = class; IJSSelection = interface; TJSSelection = class; IJSnsISelectionListener = interface; TJSnsISelectionListener = class; IJSServiceWorker = interface; TJSServiceWorker = class; IJSServiceWorkerContainer = interface; TJSServiceWorkerContainer = class; IJSServiceWorkerGlobalScope = interface; TJSServiceWorkerGlobalScope = class; IJSServiceWorkerRegistration = interface; TJSServiceWorkerRegistration = class; IJSShadowRealmGlobalScope = interface; TJSShadowRealmGlobalScope = class; IJSShadowRoot = interface; TJSShadowRoot = class; IJSSharedWorker = interface; TJSSharedWorker = class; IJSSharedWorkerGlobalScope = interface; TJSSharedWorkerGlobalScope = class; IJSSourceBuffer = interface; TJSSourceBuffer = class; IJSSourceBufferList = interface; TJSSourceBufferList = class; IJSSpeechGrammar = interface; TJSSpeechGrammar = class; IJSSpeechGrammarList = interface; TJSSpeechGrammarList = class; IJSSpeechRecognition = interface; TJSSpeechRecognition = class; IJSSpeechRecognitionAlternative = interface; TJSSpeechRecognitionAlternative = class; IJSSpeechRecognitionError = interface; TJSSpeechRecognitionError = class; IJSSpeechRecognitionEvent = interface; TJSSpeechRecognitionEvent = class; IJSSpeechRecognitionResult = interface; TJSSpeechRecognitionResult = class; IJSSpeechRecognitionResultList = interface; TJSSpeechRecognitionResultList = class; IJSSpeechSynthesis = interface; TJSSpeechSynthesis = class; IJSSpeechSynthesisErrorEvent = interface; TJSSpeechSynthesisErrorEvent = class; IJSSpeechSynthesisEvent = interface; TJSSpeechSynthesisEvent = class; IJSSpeechSynthesisUtterance = interface; TJSSpeechSynthesisUtterance = class; IJSSpeechSynthesisVoice = interface; TJSSpeechSynthesisVoice = class; IJSStaticRange = interface; TJSStaticRange = class; IJSStereoPannerNode = interface; TJSStereoPannerNode = class; IJSStorage = interface; TJSStorage = class; IJSStorageEvent = interface; TJSStorageEvent = class; IJSStorageManager = interface; TJSStorageManager = class; IJSStreamFilter = interface; TJSStreamFilter = class; IJSStreamFilterDataEvent = interface; TJSStreamFilterDataEvent = class; IJSStructuredCloneTester = interface; TJSStructuredCloneTester = class; IJSStyleSheet = interface; TJSStyleSheet = class; IJSStyleSheetList = interface; TJSStyleSheetList = class; IJSSubmitEvent = interface; TJSSubmitEvent = class; IJSCryptoKey = interface; TJSCryptoKey = class; IJSSubtleCrypto = interface; TJSSubtleCrypto = class; IJSSVGAElement = interface; TJSSVGAElement = class; IJSSVGAngle = interface; TJSSVGAngle = class; IJSSVGAnimatedAngle = interface; TJSSVGAnimatedAngle = class; IJSSVGAnimatedBoolean = interface; TJSSVGAnimatedBoolean = class; IJSSVGAnimatedEnumeration = interface; TJSSVGAnimatedEnumeration = class; IJSSVGAnimatedInteger = interface; TJSSVGAnimatedInteger = class; IJSSVGAnimatedLength = interface; TJSSVGAnimatedLength = class; IJSSVGAnimatedLengthList = interface; TJSSVGAnimatedLengthList = class; IJSSVGAnimatedNumber = interface; TJSSVGAnimatedNumber = class; IJSSVGAnimatedNumberList = interface; TJSSVGAnimatedNumberList = class; IJSSVGAnimatedPathData = interface; TJSSVGAnimatedPathData = class; IJSSVGAnimatedPoints = interface; TJSSVGAnimatedPoints = class; IJSSVGAnimatedPreserveAspectRatio = interface; TJSSVGAnimatedPreserveAspectRatio = class; IJSSVGAnimatedRect = interface; TJSSVGAnimatedRect = class; IJSSVGAnimatedString = interface; TJSSVGAnimatedString = class; IJSSVGAnimatedTransformList = interface; TJSSVGAnimatedTransformList = class; IJSSVGAnimateElement = interface; TJSSVGAnimateElement = class; IJSSVGAnimateMotionElement = interface; TJSSVGAnimateMotionElement = class; IJSSVGAnimateTransformElement = interface; TJSSVGAnimateTransformElement = class; IJSSVGAnimationElement = interface; TJSSVGAnimationElement = class; IJSSVGCircleElement = interface; TJSSVGCircleElement = class; IJSSVGClipPathElement = interface; TJSSVGClipPathElement = class; IJSSVGComponentTransferFunctionElement = interface; TJSSVGComponentTransferFunctionElement = class; IJSSVGDefsElement = interface; TJSSVGDefsElement = class; IJSSVGDescElement = interface; TJSSVGDescElement = class; IJSSVGElement = interface; TJSSVGElement = class; IJSSVGEllipseElement = interface; TJSSVGEllipseElement = class; IJSSVGFEBlendElement = interface; TJSSVGFEBlendElement = class; IJSSVGFEColorMatrixElement = interface; TJSSVGFEColorMatrixElement = class; IJSSVGFEComponentTransferElement = interface; TJSSVGFEComponentTransferElement = class; IJSSVGFECompositeElement = interface; TJSSVGFECompositeElement = class; IJSSVGFEConvolveMatrixElement = interface; TJSSVGFEConvolveMatrixElement = class; IJSSVGFEDiffuseLightingElement = interface; TJSSVGFEDiffuseLightingElement = class; IJSSVGFEDisplacementMapElement = interface; TJSSVGFEDisplacementMapElement = class; IJSSVGFEDistantLightElement = interface; TJSSVGFEDistantLightElement = class; IJSSVGFEDropShadowElement = interface; TJSSVGFEDropShadowElement = class; IJSSVGFEFloodElement = interface; TJSSVGFEFloodElement = class; IJSSVGFEFuncAElement = interface; TJSSVGFEFuncAElement = class; IJSSVGFEFuncBElement = interface; TJSSVGFEFuncBElement = class; IJSSVGFEFuncGElement = interface; TJSSVGFEFuncGElement = class; IJSSVGFEFuncRElement = interface; TJSSVGFEFuncRElement = class; IJSSVGFEGaussianBlurElement = interface; TJSSVGFEGaussianBlurElement = class; IJSSVGFEImageElement = interface; TJSSVGFEImageElement = class; IJSSVGFEMergeElement = interface; TJSSVGFEMergeElement = class; IJSSVGFEMergeNodeElement = interface; TJSSVGFEMergeNodeElement = class; IJSSVGFEMorphologyElement = interface; TJSSVGFEMorphologyElement = class; IJSSVGFEOffsetElement = interface; TJSSVGFEOffsetElement = class; IJSSVGFEPointLightElement = interface; TJSSVGFEPointLightElement = class; IJSSVGFESpecularLightingElement = interface; TJSSVGFESpecularLightingElement = class; IJSSVGFESpotLightElement = interface; TJSSVGFESpotLightElement = class; IJSSVGFETileElement = interface; TJSSVGFETileElement = class; IJSSVGFETurbulenceElement = interface; TJSSVGFETurbulenceElement = class; IJSSVGFilterElement = interface; TJSSVGFilterElement = class; IJSSVGFilterPrimitiveStandardAttributes = interface; TJSSVGFilterPrimitiveStandardAttributes = class; IJSSVGFitToViewBox = interface; TJSSVGFitToViewBox = class; IJSSVGForeignObjectElement = interface; TJSSVGForeignObjectElement = class; IJSSVGGElement = interface; TJSSVGGElement = class; IJSSVGGeometryElement = interface; TJSSVGGeometryElement = class; IJSSVGGradientElement = interface; TJSSVGGradientElement = class; IJSSVGGraphicsElement = interface; TJSSVGGraphicsElement = class; IJSSVGImageElement = interface; TJSSVGImageElement = class; IJSSVGLength = interface; TJSSVGLength = class; IJSSVGLengthList = interface; TJSSVGLengthList = class; IJSSVGLinearGradientElement = interface; TJSSVGLinearGradientElement = class; IJSSVGLineElement = interface; TJSSVGLineElement = class; IJSSVGMarkerElement = interface; TJSSVGMarkerElement = class; IJSSVGMaskElement = interface; TJSSVGMaskElement = class; IJSSVGMatrix = interface; TJSSVGMatrix = class; IJSSVGMetadataElement = interface; TJSSVGMetadataElement = class; IJSSVGMPathElement = interface; TJSSVGMPathElement = class; IJSSVGNumber = interface; TJSSVGNumber = class; IJSSVGNumberList = interface; TJSSVGNumberList = class; IJSSVGPathElement = interface; TJSSVGPathElement = class; IJSSVGPathSeg = interface; TJSSVGPathSeg = class; IJSSVGPathSegClosePath = interface; TJSSVGPathSegClosePath = class; IJSSVGPathSegMovetoAbs = interface; TJSSVGPathSegMovetoAbs = class; IJSSVGPathSegMovetoRel = interface; TJSSVGPathSegMovetoRel = class; IJSSVGPathSegLinetoAbs = interface; TJSSVGPathSegLinetoAbs = class; IJSSVGPathSegLinetoRel = interface; TJSSVGPathSegLinetoRel = class; IJSSVGPathSegCurvetoCubicAbs = interface; TJSSVGPathSegCurvetoCubicAbs = class; IJSSVGPathSegCurvetoCubicRel = interface; TJSSVGPathSegCurvetoCubicRel = class; IJSSVGPathSegCurvetoQuadraticAbs = interface; TJSSVGPathSegCurvetoQuadraticAbs = class; IJSSVGPathSegCurvetoQuadraticRel = interface; TJSSVGPathSegCurvetoQuadraticRel = class; IJSSVGPathSegArcAbs = interface; TJSSVGPathSegArcAbs = class; IJSSVGPathSegArcRel = interface; TJSSVGPathSegArcRel = class; IJSSVGPathSegLinetoHorizontalAbs = interface; TJSSVGPathSegLinetoHorizontalAbs = class; IJSSVGPathSegLinetoHorizontalRel = interface; TJSSVGPathSegLinetoHorizontalRel = class; IJSSVGPathSegLinetoVerticalAbs = interface; TJSSVGPathSegLinetoVerticalAbs = class; IJSSVGPathSegLinetoVerticalRel = interface; TJSSVGPathSegLinetoVerticalRel = class; IJSSVGPathSegCurvetoCubicSmoothAbs = interface; TJSSVGPathSegCurvetoCubicSmoothAbs = class; IJSSVGPathSegCurvetoCubicSmoothRel = interface; TJSSVGPathSegCurvetoCubicSmoothRel = class; IJSSVGPathSegCurvetoQuadraticSmoothAbs = interface; TJSSVGPathSegCurvetoQuadraticSmoothAbs = class; IJSSVGPathSegCurvetoQuadraticSmoothRel = interface; TJSSVGPathSegCurvetoQuadraticSmoothRel = class; IJSSVGPathSegList = interface; TJSSVGPathSegList = class; IJSSVGPatternElement = interface; TJSSVGPatternElement = class; IJSSVGPoint = interface; TJSSVGPoint = class; IJSSVGPointList = interface; TJSSVGPointList = class; IJSSVGPolygonElement = interface; TJSSVGPolygonElement = class; IJSSVGPolylineElement = interface; TJSSVGPolylineElement = class; IJSSVGPreserveAspectRatio = interface; TJSSVGPreserveAspectRatio = class; IJSSVGRadialGradientElement = interface; TJSSVGRadialGradientElement = class; IJSSVGRect = interface; TJSSVGRect = class; IJSSVGRectElement = interface; TJSSVGRectElement = class; IJSSVGScriptElement = interface; TJSSVGScriptElement = class; IJSSVGSetElement = interface; TJSSVGSetElement = class; IJSSVGStopElement = interface; TJSSVGStopElement = class; IJSSVGStringList = interface; TJSSVGStringList = class; IJSSVGStyleElement = interface; TJSSVGStyleElement = class; IJSSVGSVGElement = interface; TJSSVGSVGElement = class; IJSSVGSwitchElement = interface; TJSSVGSwitchElement = class; IJSSVGSymbolElement = interface; TJSSVGSymbolElement = class; IJSSVGTests = interface; TJSSVGTests = class; IJSSVGTextContentElement = interface; TJSSVGTextContentElement = class; IJSSVGTextElement = interface; TJSSVGTextElement = class; IJSSVGTextPathElement = interface; TJSSVGTextPathElement = class; IJSSVGTextPositioningElement = interface; TJSSVGTextPositioningElement = class; IJSSVGTitleElement = interface; TJSSVGTitleElement = class; IJSSVGTransform = interface; TJSSVGTransform = class; IJSSVGTransformList = interface; TJSSVGTransformList = class; IJSSVGTSpanElement = interface; TJSSVGTSpanElement = class; IJSSVGUnitTypes = interface; TJSSVGUnitTypes = class; IJSSVGURIReference = interface; TJSSVGURIReference = class; IJSSVGUseElement = interface; TJSSVGUseElement = class; IJSSVGViewElement = interface; TJSSVGViewElement = class; IJSSVGZoomAndPan = interface; TJSSVGZoomAndPan = class; IJSTaskPriorityChangeEvent = interface; TJSTaskPriorityChangeEvent = class; IJSTCPServerSocket = interface; TJSTCPServerSocket = class; IJSTCPServerSocketEvent = interface; TJSTCPServerSocketEvent = class; IJSnsISocketTransport = interface; TJSnsISocketTransport = class; IJSLegacyMozTCPSocket = interface; TJSLegacyMozTCPSocket = class; IJSTCPSocket = interface; TJSTCPSocket = class; IJSTCPSocketErrorEvent = interface; TJSTCPSocketErrorEvent = class; IJSTCPSocketEvent = interface; TJSTCPSocketEvent = class; IJSWrapperCachedNonISupportsTestInterface = interface; TJSWrapperCachedNonISupportsTestInterface = class; IJSTestTrialInterface = interface; TJSTestTrialInterface = class; IJSTestInterfaceLength = interface; TJSTestInterfaceLength = class; IJSTestFunctions = interface; TJSTestFunctions = class; IJSTestInterfaceJS = interface; TJSTestInterfaceJS = class; IJSTestInterfaceMaplike = interface; TJSTestInterfaceMaplike = class; IJSTestInterfaceMaplikeObject = interface; TJSTestInterfaceMaplikeObject = class; IJSTestInterfaceMaplikeJSObject = interface; TJSTestInterfaceMaplikeJSObject = class; IJSTestInterfaceSetlike = interface; TJSTestInterfaceSetlike = class; IJSTestInterfaceSetlikeNode = interface; TJSTestInterfaceSetlikeNode = class; IJSTestInterfaceIterableSingle = interface; TJSTestInterfaceIterableSingle = class; IJSTestInterfaceIterableDouble = interface; TJSTestInterfaceIterableDouble = class; IJSTestInterfaceIterableDoubleUnion = interface; TJSTestInterfaceIterableDoubleUnion = class; IJSTestInterfaceAsyncIterableSingle = interface; TJSTestInterfaceAsyncIterableSingle = class; IJSTestInterfaceAsyncIterableSingleWithArgs = interface; TJSTestInterfaceAsyncIterableSingleWithArgs = class; IJSTestInterfaceAsyncIterableDouble = interface; TJSTestInterfaceAsyncIterableDouble = class; IJSTestInterfaceAsyncIterableDoubleUnion = interface; TJSTestInterfaceAsyncIterableDoubleUnion = class; IJSTestInterfaceObservableArray = interface; TJSTestInterfaceObservableArray = class; IJSTestUtils = interface; TJSTestUtils = class; IJSText = interface; TJSText = class; IJSTextDecoderCommon = interface; TJSTextDecoderCommon = class; IJSTextDecoder = interface; TJSTextDecoder = class; IJSTextDecoderStream = interface; TJSTextDecoderStream = class; IJSTextEncoderCommon = interface; TJSTextEncoderCommon = class; IJSTextEncoder = interface; TJSTextEncoder = class; IJSTextEncoderStream = interface; TJSTextEncoderStream = class; IJSTextEvent = interface; TJSTextEvent = class; IJSTextTrack = interface; TJSTextTrack = class; IJSTextTrackCue = interface; TJSTextTrackCue = class; IJSTextTrackCueList = interface; TJSTextTrackCueList = class; IJSTextTrackList = interface; TJSTextTrackList = class; IJSTimeEvent = interface; TJSTimeEvent = class; IJSTimeRanges = interface; TJSTimeRanges = class; IJSToggleEvent = interface; TJSToggleEvent = class; IJSTouch = interface; TJSTouch = class; IJSTouchEvent = interface; TJSTouchEvent = class; IJSTouchList = interface; TJSTouchList = class; IJSTrackEvent = interface; TJSTrackEvent = class; IJSTransformStream = interface; TJSTransformStream = class; IJSTransformStreamDefaultController = interface; TJSTransformStreamDefaultController = class; IJSTransitionEvent = interface; TJSTransitionEvent = class; IJSTreeWalker = interface; TJSTreeWalker = class; IJSTrustedHTML = interface; TJSTrustedHTML = class; IJSTrustedScript = interface; TJSTrustedScript = class; IJSTrustedScriptURL = interface; TJSTrustedScriptURL = class; IJSTrustedTypePolicy = interface; TJSTrustedTypePolicy = class; IJSTrustedTypePolicyFactory = interface; TJSTrustedTypePolicyFactory = class; IJSUIEvent = interface; TJSUIEvent = class; IJSURL = interface; TJSURL = class; IJSURLSearchParams = interface; TJSURLSearchParams = class; IJSUserActivation = interface; TJSUserActivation = class; IJSUserProximityEvent = interface; TJSUserProximityEvent = class; IJSValidityState = interface; TJSValidityState = class; IJSVideoColorSpace = interface; TJSVideoColorSpace = class; IJSVideoDecoder = interface; TJSVideoDecoder = class; IJSVideoEncoder = interface; TJSVideoEncoder = class; IJSVideoFrame = interface; TJSVideoFrame = class; IJSVideoPlaybackQuality = interface; TJSVideoPlaybackQuality = class; IJSVideoTrack = interface; TJSVideoTrack = class; IJSVideoTrackList = interface; TJSVideoTrackList = class; IJSVisualViewport = interface; TJSVisualViewport = class; IJSVRFieldOfView = interface; TJSVRFieldOfView = class; IJSVRDisplayCapabilities = interface; TJSVRDisplayCapabilities = class; IJSVRStageParameters = interface; TJSVRStageParameters = class; IJSVRPose = interface; TJSVRPose = class; IJSVRFrameData = interface; TJSVRFrameData = class; IJSVREyeParameters = interface; TJSVREyeParameters = class; IJSVRDisplay = interface; TJSVRDisplay = class; IJSVRDisplayEvent = interface; TJSVRDisplayEvent = class; IJSVRMockDisplay = interface; TJSVRMockDisplay = class; IJSVRMockController = interface; TJSVRMockController = class; IJSVRServiceTest = interface; TJSVRServiceTest = class; IJSVTTCue = interface; TJSVTTCue = class; IJSVTTRegion = interface; TJSVTTRegion = class; IJSWakeLock = interface; TJSWakeLock = class; IJSWakeLockSentinel = interface; TJSWakeLockSentinel = class; IJSWaveShaperNode = interface; TJSWaveShaperNode = class; IJSPublicKeyCredential = interface; TJSPublicKeyCredential = class; IJSAuthenticatorResponse = interface; TJSAuthenticatorResponse = class; IJSAuthenticatorAttestationResponse = interface; TJSAuthenticatorAttestationResponse = class; IJSAuthenticatorAssertionResponse = interface; TJSAuthenticatorAssertionResponse = class; IJSWebGLSampler = interface; TJSWebGLSampler = class; IJSWebGLSync = interface; TJSWebGLSync = class; IJSWebGLTransformFeedback = interface; TJSWebGLTransformFeedback = class; IJSWebGL2RenderingContext = interface; TJSWebGL2RenderingContext = class; IJSWebGL2RenderingContextBase = interface; TJSWebGL2RenderingContextBase = class; IJSEXT_color_buffer_float = interface; TJSEXT_color_buffer_float = class; IJSOVR_multiview2 = interface; TJSOVR_multiview2 = class; IJSWebGLContextEvent = interface; TJSWebGLContextEvent = class; IJSWebGLBuffer = interface; TJSWebGLBuffer = class; IJSWebGLFramebuffer = interface; TJSWebGLFramebuffer = class; IJSWebGLProgram = interface; TJSWebGLProgram = class; IJSWebGLRenderbuffer = interface; TJSWebGLRenderbuffer = class; IJSWebGLShader = interface; TJSWebGLShader = class; IJSWebGLTexture = interface; TJSWebGLTexture = class; IJSWebGLUniformLocation = interface; TJSWebGLUniformLocation = class; IJSWebGLVertexArrayObject = interface; TJSWebGLVertexArrayObject = class; IJSWebGLActiveInfo = interface; TJSWebGLActiveInfo = class; IJSWebGLShaderPrecisionFormat = interface; TJSWebGLShaderPrecisionFormat = class; IJSWebGLRenderingContextBase = interface; TJSWebGLRenderingContextBase = class; IJSWebGLRenderingContext = interface; TJSWebGLRenderingContext = class; IJSEXT_texture_compression_bptc = interface; TJSEXT_texture_compression_bptc = class; IJSEXT_texture_compression_rgtc = interface; TJSEXT_texture_compression_rgtc = class; IJSEXT_texture_norm16 = interface; TJSEXT_texture_norm16 = class; IJSWEBGL_compressed_texture_s3tc = interface; TJSWEBGL_compressed_texture_s3tc = class; IJSWEBGL_compressed_texture_s3tc_srgb = interface; TJSWEBGL_compressed_texture_s3tc_srgb = class; IJSWEBGL_compressed_texture_astc = interface; TJSWEBGL_compressed_texture_astc = class; IJSWEBGL_compressed_texture_etc = interface; TJSWEBGL_compressed_texture_etc = class; IJSWEBGL_compressed_texture_etc1 = interface; TJSWEBGL_compressed_texture_etc1 = class; IJSWEBGL_compressed_texture_pvrtc = interface; TJSWEBGL_compressed_texture_pvrtc = class; IJSWEBGL_debug_renderer_info = interface; TJSWEBGL_debug_renderer_info = class; IJSWEBGL_debug_shaders = interface; TJSWEBGL_debug_shaders = class; IJSWEBGL_depth_texture = interface; TJSWEBGL_depth_texture = class; IJSOES_element_index_uint = interface; TJSOES_element_index_uint = class; IJSEXT_frag_depth = interface; TJSEXT_frag_depth = class; IJSWEBGL_lose_context = interface; TJSWEBGL_lose_context = class; IJSEXT_texture_filter_anisotropic = interface; TJSEXT_texture_filter_anisotropic = class; IJSEXT_sRGB = interface; TJSEXT_sRGB = class; IJSOES_standard_derivatives = interface; TJSOES_standard_derivatives = class; IJSOES_texture_float = interface; TJSOES_texture_float = class; IJSWEBGL_draw_buffers = interface; TJSWEBGL_draw_buffers = class; IJSOES_texture_float_linear = interface; TJSOES_texture_float_linear = class; IJSEXT_shader_texture_lod = interface; TJSEXT_shader_texture_lod = class; IJSOES_texture_half_float = interface; TJSOES_texture_half_float = class; IJSOES_texture_half_float_linear = interface; TJSOES_texture_half_float_linear = class; IJSWEBGL_color_buffer_float = interface; TJSWEBGL_color_buffer_float = class; IJSEXT_color_buffer_half_float = interface; TJSEXT_color_buffer_half_float = class; IJSOES_vertex_array_object = interface; TJSOES_vertex_array_object = class; IJSANGLE_instanced_arrays = interface; TJSANGLE_instanced_arrays = class; IJSEXT_blend_minmax = interface; TJSEXT_blend_minmax = class; IJSWebGLQuery = interface; TJSWebGLQuery = class; IJSEXT_disjoint_timer_query = interface; TJSEXT_disjoint_timer_query = class; IJSMOZ_debug = interface; TJSMOZ_debug = class; IJSEXT_float_blend = interface; TJSEXT_float_blend = class; IJSOES_fbo_render_mipmap = interface; TJSOES_fbo_render_mipmap = class; IJSWEBGL_explicit_present = interface; TJSWEBGL_explicit_present = class; IJSOES_draw_buffers_indexed = interface; TJSOES_draw_buffers_indexed = class; IJSWEBGL_provoking_vertex = interface; TJSWEBGL_provoking_vertex = class; IJSGPUObjectBase = interface; TJSGPUObjectBase = class; IJSGPUSupportedLimits = interface; TJSGPUSupportedLimits = class; IJSGPUSupportedFeatures = interface; TJSGPUSupportedFeatures = class; IJSGPUAdapterInfo = interface; TJSGPUAdapterInfo = class; IJSNavigatorGPU = interface; TJSNavigatorGPU = class; IJSGPU = interface; TJSGPU = class; IJSGPUAdapter = interface; TJSGPUAdapter = class; IJSGPUDevice = interface; TJSGPUDevice = class; IJSGPUBuffer = interface; TJSGPUBuffer = class; IJSGPUBufferUsage = interface; TJSGPUBufferUsage = class; IJSGPUMapMode = interface; TJSGPUMapMode = class; IJSGPUTexture = interface; TJSGPUTexture = class; IJSGPUTextureUsage = interface; TJSGPUTextureUsage = class; IJSGPUTextureView = interface; TJSGPUTextureView = class; IJSGPUSampler = interface; TJSGPUSampler = class; IJSGPUBindGroupLayout = interface; TJSGPUBindGroupLayout = class; IJSGPUShaderStage = interface; TJSGPUShaderStage = class; IJSGPUBindGroup = interface; TJSGPUBindGroup = class; IJSGPUPipelineLayout = interface; TJSGPUPipelineLayout = class; IJSGPUShaderModule = interface; TJSGPUShaderModule = class; IJSGPUCompilationMessage = interface; TJSGPUCompilationMessage = class; IJSGPUCompilationInfo = interface; TJSGPUCompilationInfo = class; IJSGPUPipelineBase = interface; TJSGPUPipelineBase = class; IJSGPUComputePipeline = interface; TJSGPUComputePipeline = class; IJSGPURenderPipeline = interface; TJSGPURenderPipeline = class; IJSGPUColorWrite = interface; TJSGPUColorWrite = class; IJSGPUCommandBuffer = interface; TJSGPUCommandBuffer = class; IJSGPUCommandsMixin = interface; TJSGPUCommandsMixin = class; IJSGPUCommandEncoder = interface; TJSGPUCommandEncoder = class; IJSGPUBindingCommandsMixin = interface; TJSGPUBindingCommandsMixin = class; IJSGPUDebugCommandsMixin = interface; TJSGPUDebugCommandsMixin = class; IJSGPUComputePassEncoder = interface; TJSGPUComputePassEncoder = class; IJSGPURenderPassEncoder = interface; TJSGPURenderPassEncoder = class; IJSGPURenderCommandsMixin = interface; TJSGPURenderCommandsMixin = class; IJSGPURenderBundle = interface; TJSGPURenderBundle = class; IJSGPURenderBundleEncoder = interface; TJSGPURenderBundleEncoder = class; IJSGPUQueue = interface; TJSGPUQueue = class; IJSGPUQuerySet = interface; TJSGPUQuerySet = class; IJSGPUCanvasContext = interface; TJSGPUCanvasContext = class; IJSGPUDeviceLostInfo = interface; TJSGPUDeviceLostInfo = class; IJSGPUError = interface; TJSGPUError = class; IJSGPUValidationError = interface; TJSGPUValidationError = class; IJSGPUOutOfMemoryError = interface; TJSGPUOutOfMemoryError = class; IJSGPUInternalError = interface; TJSGPUInternalError = class; IJSWebSocket = interface; TJSWebSocket = class; IJSnsITransportProvider = interface; TJSnsITransportProvider = class; IJSTaskSignal = interface; TJSTaskSignal = class; IJSScheduler = interface; TJSScheduler = class; IJSTaskController = interface; TJSTaskController = class; IJSWebTransport = interface; TJSWebTransport = class; IJSWebTransportDatagramDuplexStream = interface; TJSWebTransportDatagramDuplexStream = class; IJSWebTransportError = interface; TJSWebTransportError = class; IJSWebTransportSendStream = interface; TJSWebTransportSendStream = class; IJSWebTransportReceiveStream = interface; TJSWebTransportReceiveStream = class; IJSWebTransportBidirectionalStream = interface; TJSWebTransportBidirectionalStream = class; IJSXRSystem = interface; TJSXRSystem = class; IJSXRSession = interface; TJSXRSession = class; IJSXRRenderState = interface; TJSXRRenderState = class; IJSXRFrame = interface; TJSXRFrame = class; IJSXRSpace = interface; TJSXRSpace = class; IJSXRReferenceSpace = interface; TJSXRReferenceSpace = class; IJSXRBoundedReferenceSpace = interface; TJSXRBoundedReferenceSpace = class; IJSXRView = interface; TJSXRView = class; IJSXRViewport = interface; TJSXRViewport = class; IJSXRRigidTransform = interface; TJSXRRigidTransform = class; IJSXRPose = interface; TJSXRPose = class; IJSXRViewerPose = interface; TJSXRViewerPose = class; IJSXRInputSource = interface; TJSXRInputSource = class; IJSXRInputSourceArray = interface; TJSXRInputSourceArray = class; IJSXRWebGLLayer = interface; TJSXRWebGLLayer = class; IJSWheelEvent = interface; TJSWheelEvent = class; IJSnsIBrowserDOMWindow = interface; TJSnsIBrowserDOMWindow = class; IJSnsIDOMWindowUtils = interface; TJSnsIDOMWindowUtils = class; IJSnsIPrintSettings = interface; TJSnsIPrintSettings = class; IJSWindow = interface; TJSWindow = class; IJSWindowSessionStorage = interface; TJSWindowSessionStorage = class; IJSWindowLocalStorage = interface; TJSWindowLocalStorage = class; IJSWindowOrWorkerGlobalScope = interface; TJSWindowOrWorkerGlobalScope = class; IJSWorker = interface; TJSWorker = class; IJSChromeWorker = interface; TJSChromeWorker = class; IJSWorkerDebuggerGlobalScope = interface; TJSWorkerDebuggerGlobalScope = class; IJSWorkerGlobalScope = interface; TJSWorkerGlobalScope = class; IJSWorkerLocation = interface; TJSWorkerLocation = class; IJSWorkerNavigator = interface; TJSWorkerNavigator = class; IJSWorkerTestUtils = interface; TJSWorkerTestUtils = class; IJSWorklet = interface; TJSWorklet = class; IJSWorkletGlobalScope = interface; TJSWorkletGlobalScope = class; IJSWritableStream = interface; TJSWritableStream = class; IJSWritableStreamDefaultController = interface; TJSWritableStreamDefaultController = class; IJSWritableStreamDefaultWriter = interface; TJSWritableStreamDefaultWriter = class; IJSXMLDocument = interface; TJSXMLDocument = class; IJSMozChannel = interface; TJSMozChannel = class; IJSXMLHttpRequest = interface; TJSXMLHttpRequest = class; IJSXMLHttpRequestEventTarget = interface; TJSXMLHttpRequestEventTarget = class; IJSXMLHttpRequestUpload = interface; TJSXMLHttpRequestUpload = class; IJSOutputStream = interface; TJSOutputStream = class; IJSXMLSerializer = interface; TJSXMLSerializer = class; IJSXPathEvaluator = interface; TJSXPathEvaluator = class; IJSXPathEvaluatorMixin = interface; TJSXPathEvaluatorMixin = class; IJSXPathExpression = interface; TJSXPathExpression = class; IJSXPathResult = interface; TJSXPathResult = class; IJSXRInputSourceEvent = interface; TJSXRInputSourceEvent = class; IJSXRInputSourcesChangeEvent = interface; TJSXRInputSourcesChangeEvent = class; IJSXRReferenceSpaceEvent = interface; TJSXRReferenceSpaceEvent = class; IJSXRSessionEvent = interface; TJSXRSessionEvent = class; IJSXSLTProcessor = interface; TJSXSLTProcessor = class; IJSAddonEventInit = interface; TJSAddonEventInit = class; IJSaddonInstallOptions = interface; TJSaddonInstallOptions = class; IJSAnalyserOptions = interface; TJSAnalyserOptions = class; IJSKeyframeAnimationOptions = interface; TJSKeyframeAnimationOptions = class; IJSGetAnimationsOptions = interface; TJSGetAnimationsOptions = class; IJSEffectTiming = interface; TJSEffectTiming = class; IJSOptionalEffectTiming = interface; TJSOptionalEffectTiming = class; IJSComputedEffectTiming = interface; TJSComputedEffectTiming = class; IJSAnimationEventInit = interface; TJSAnimationEventInit = class; IJSAnimationPlaybackEventInit = interface; TJSAnimationPlaybackEventInit = class; IJSAppInfo = interface; TJSAppInfo = class; IJSAppNotificationServiceOptions = interface; TJSAppNotificationServiceOptions = class; IJSScrollFrameDataEntry = interface; TJSScrollFrameDataEntry = class; IJSScrollFrameData = interface; TJSScrollFrameData = class; IJSAPZBucket = interface; TJSAPZBucket = class; IJSAPZHitResult = interface; TJSAPZHitResult = class; IJSAPZSampledResult = interface; TJSAPZSampledResult = class; IJSAdditionalDataEntry = interface; TJSAdditionalDataEntry = class; IJSAPZTestData = interface; TJSAPZTestData = class; IJSFrameUniformity = interface; TJSFrameUniformity = class; IJSFrameUniformityResults = interface; TJSFrameUniformityResults = class; IJSAudioBufferOptions = interface; TJSAudioBufferOptions = class; IJSAudioBufferSourceOptions = interface; TJSAudioBufferSourceOptions = class; IJSAudioContextOptions = interface; TJSAudioContextOptions = class; IJSAudioTimestamp = interface; TJSAudioTimestamp = class; IJSAudioDataInit = interface; TJSAudioDataInit = class; IJSAudioDataCopyToOptions = interface; TJSAudioDataCopyToOptions = class; IJSAudioDecoderInit = interface; TJSAudioDecoderInit = class; IJSAudioDecoderSupport = interface; TJSAudioDecoderSupport = class; IJSAudioDecoderConfig = interface; TJSAudioDecoderConfig = class; IJSAudioEncoderSupport = interface; TJSAudioEncoderSupport = class; IJSAudioEncoderConfig = interface; TJSAudioEncoderConfig = class; IJSOpusEncoderConfig = interface; TJSOpusEncoderConfig = class; IJSAudioEncoderInit = interface; TJSAudioEncoderInit = class; IJSEncodedAudioChunkMetadata = interface; TJSEncodedAudioChunkMetadata = class; IJSAudioNodeOptions = interface; TJSAudioNodeOptions = class; IJSAudioParamDescriptor = interface; TJSAudioParamDescriptor = class; IJSAudioWorkletNodeOptions = interface; TJSAudioWorkletNodeOptions = class; IJSAutocompleteInfo = interface; TJSAutocompleteInfo = class; IJSBasePropertyIndexedKeyframe = interface; TJSBasePropertyIndexedKeyframe = class; IJSBaseKeyframe = interface; TJSBaseKeyframe = class; IJSBaseComputedKeyframe = interface; TJSBaseComputedKeyframe = class; IJSBasicCardRequest = interface; TJSBasicCardRequest = class; IJSBasicCardResponse = interface; TJSBasicCardResponse = class; IJSBasicCardChangeDetails = interface; TJSBasicCardChangeDetails = class; IJSBasicCardErrors = interface; TJSBasicCardErrors = class; IJSBiquadFilterOptions = interface; TJSBiquadFilterOptions = class; IJSBlobPropertyBag = interface; TJSBlobPropertyBag = class; IJSBlobEventInit = interface; TJSBlobEventInit = class; IJSOpenWindowEventDetail = interface; TJSOpenWindowEventDetail = class; IJSDOMWindowResizeEventDetail = interface; TJSDOMWindowResizeEventDetail = class; IJSCacheQueryOptions = interface; TJSCacheQueryOptions = class; IJSCacheBatchOperation = interface; TJSCacheBatchOperation = class; IJSMultiCacheQueryOptions = interface; TJSMultiCacheQueryOptions = class; IJSCancelContentJSOptions = interface; TJSCancelContentJSOptions = class; IJSCanvasRenderingContext2DSettings = interface; TJSCanvasRenderingContext2DSettings = class; IJSHitRegionOptions = interface; TJSHitRegionOptions = class; IJSCaretStateChangedEventInit = interface; TJSCaretStateChangedEventInit = class; IJSChannelMergerOptions = interface; TJSChannelMergerOptions = class; IJSChannelSplitterOptions = interface; TJSChannelSplitterOptions = class; IJSCheckerboardReport = interface; TJSCheckerboardReport = class; IJSClientQueryOptions = interface; TJSClientQueryOptions = class; IJSClipboardItemOptions = interface; TJSClipboardItemOptions = class; IJSClipboardEventInit = interface; TJSClipboardEventInit = class; IJSCloseEventInit = interface; TJSCloseEventInit = class; IJSCompositionEventInit = interface; TJSCompositionEventInit = class; IJSConstantSourceOptions = interface; TJSConstantSourceOptions = class; IJSContentVisibilityAutoStateChangeEventInit = interface; TJSContentVisibilityAutoStateChangeEventInit = class; IJSConvolverOptions = interface; TJSConvolverOptions = class; IJSCredentialRequestOptions = interface; TJSCredentialRequestOptions = class; IJSCredentialCreationOptions = interface; TJSCredentialCreationOptions = class; IJSCSP = interface; TJSCSP = class; IJSCSPPolicies = interface; TJSCSPPolicies = class; IJSCSPReportProperties = interface; TJSCSPReportProperties = class; IJSCSPReport = interface; TJSCSPReport = class; IJSPropertyDefinition = interface; TJSPropertyDefinition = class; IJSSelectorWarning = interface; TJSSelectorWarning = class; IJSCSSStyleSheetInit = interface; TJSCSSStyleSheetInit = class; IJSElementDefinitionOptions = interface; TJSElementDefinitionOptions = class; IJSLifecycleCallbacks = interface; TJSLifecycleCallbacks = class; IJSFormAssociatedLifecycleCallbacks = interface; TJSFormAssociatedLifecycleCallbacks = class; IJSCustomEventInit = interface; TJSCustomEventInit = class; IJSDecoderDoctorNotification = interface; TJSDecoderDoctorNotification = class; IJSDelayOptions = interface; TJSDelayOptions = class; IJSDeviceLightEventInit = interface; TJSDeviceLightEventInit = class; IJSDeviceAccelerationInit = interface; TJSDeviceAccelerationInit = class; IJSDeviceRotationRateInit = interface; TJSDeviceRotationRateInit = class; IJSDeviceMotionEventInit = interface; TJSDeviceMotionEventInit = class; IJSDeviceOrientationEventInit = interface; TJSDeviceOrientationEventInit = class; IJSElementCreationOptions = interface; TJSElementCreationOptions = class; IJSBlockParsingOptions = interface; TJSBlockParsingOptions = class; IJSWireframeTaggedRect = interface; TJSWireframeTaggedRect = class; IJSWireframe = interface; TJSWireframe = class; IJSDocumentTimelineOptions = interface; TJSDocumentTimelineOptions = class; IJSDOMMatrix2DInit = interface; TJSDOMMatrix2DInit = class; IJSDOMMatrixInit = interface; TJSDOMMatrixInit = class; IJSDOMPointInit = interface; TJSDOMPointInit = class; IJSDOMQuadInit = interface; TJSDOMQuadInit = class; IJSDOMRectInit = interface; TJSDOMRectInit = class; IJSDragEventInit = interface; TJSDragEventInit = class; IJSDynamicsCompressorOptions = interface; TJSDynamicsCompressorOptions = class; IJSFocusOptions = interface; TJSFocusOptions = class; IJSScrollIntoViewOptions = interface; TJSScrollIntoViewOptions = class; IJSCheckVisibilityOptions = interface; TJSCheckVisibilityOptions = class; IJSShadowRootInit = interface; TJSShadowRootInit = class; IJSSetHTMLOptions = interface; TJSSetHTMLOptions = class; IJSValidityStateFlags = interface; TJSValidityStateFlags = class; IJSEncodedAudioChunkInit = interface; TJSEncodedAudioChunkInit = class; IJSEncodedVideoChunkInit = interface; TJSEncodedVideoChunkInit = class; IJSErrorEventInit = interface; TJSErrorEventInit = class; IJSEventInit = interface; TJSEventInit = class; IJSEventSourceInit = interface; TJSEventSourceInit = class; IJSEventListenerOptions = interface; TJSEventListenerOptions = class; IJSAddEventListenerOptions = interface; TJSAddEventListenerOptions = class; IJSExtendableEventInit = interface; TJSExtendableEventInit = class; IJSExtendableMessageEventInit = interface; TJSExtendableMessageEventInit = class; IJSExtensionPortDescriptor = interface; TJSExtensionPortDescriptor = class; IJSFailedCertSecurityInfo = interface; TJSFailedCertSecurityInfo = class; IJSFakePluginTagInit = interface; TJSFakePluginTagInit = class; IJSFakePluginMimeEntry = interface; TJSFakePluginMimeEntry = class; IJSFetchReadableStreamReadDataDone = interface; TJSFetchReadableStreamReadDataDone = class; IJSFetchReadableStreamReadDataArray = interface; TJSFetchReadableStreamReadDataArray = class; IJSFetchEventInit = interface; TJSFetchEventInit = class; IJSFilePropertyBag = interface; TJSFilePropertyBag = class; IJSChromeFilePropertyBag = interface; TJSChromeFilePropertyBag = class; IJSFileSystemFlags = interface; TJSFileSystemFlags = class; IJSFileSystemGetFileOptions = interface; TJSFileSystemGetFileOptions = class; IJSFileSystemGetDirectoryOptions = interface; TJSFileSystemGetDirectoryOptions = class; IJSFileSystemRemoveOptions = interface; TJSFileSystemRemoveOptions = class; IJSFileSystemCreateWritableOptions = interface; TJSFileSystemCreateWritableOptions = class; IJSFileSystemReadWriteOptions = interface; TJSFileSystemReadWriteOptions = class; IJSWriteParams = interface; TJSWriteParams = class; IJSFocusEventInit = interface; TJSFocusEventInit = class; IJSFontFaceDescriptors = interface; TJSFontFaceDescriptors = class; IJSFontFaceSetIteratorResult = interface; TJSFontFaceSetIteratorResult = class; IJSFontFaceSetLoadEventInit = interface; TJSFontFaceSetLoadEventInit = class; IJSFormDataEventInit = interface; TJSFormDataEventInit = class; IJSFrameCrashedEventInit = interface; TJSFrameCrashedEventInit = class; IJSGainOptions = interface; TJSGainOptions = class; IJSGamepadAxisMoveEventInit = interface; TJSGamepadAxisMoveEventInit = class; IJSGamepadButtonEventInit = interface; TJSGamepadButtonEventInit = class; IJSGamepadEventInit = interface; TJSGamepadEventInit = class; IJSGamepadLightColor = interface; TJSGamepadLightColor = class; IJSPositionOptions = interface; TJSPositionOptions = class; IJSBoxQuadOptions = interface; TJSBoxQuadOptions = class; IJSConvertCoordinateOptions = interface; TJSConvertCoordinateOptions = class; IJSGleanDistributionData = interface; TJSGleanDistributionData = class; IJSGleanEventRecord = interface; TJSGleanEventRecord = class; IJSGleanRateData = interface; TJSGleanRateData = class; IJSGPUUncapturedErrorEventInit = interface; TJSGPUUncapturedErrorEventInit = class; IJSHashChangeEventInit = interface; TJSHashChangeEventInit = class; IJSDateTimeValue = interface; TJSDateTimeValue = class; IJSAssignedNodesOptions = interface; TJSAssignedNodesOptions = class; IJSIDBTransactionOptions = interface; TJSIDBTransactionOptions = class; IJSIDBOpenDBOptions = interface; TJSIDBOpenDBOptions = class; IJSIDBDatabaseInfo = interface; TJSIDBDatabaseInfo = class; IJSIDBIndexParameters = interface; TJSIDBIndexParameters = class; IJSIDBObjectStoreParameters = interface; TJSIDBObjectStoreParameters = class; IJSIDBVersionChangeEventInit = interface; TJSIDBVersionChangeEventInit = class; IJSIdentityCredentialRequestOptions = interface; TJSIdentityCredentialRequestOptions = class; IJSIdentityProviderConfig = interface; TJSIdentityProviderConfig = class; IJSIdentityProviderWellKnown = interface; TJSIdentityProviderWellKnown = class; IJSIdentityProviderIcon = interface; TJSIdentityProviderIcon = class; IJSIdentityProviderBranding = interface; TJSIdentityProviderBranding = class; IJSIdentityProviderAPIConfig = interface; TJSIdentityProviderAPIConfig = class; IJSIdentityProviderAccount = interface; TJSIdentityProviderAccount = class; IJSIdentityProviderAccountList = interface; TJSIdentityProviderAccountList = class; IJSIdentityProviderClientMetadata = interface; TJSIdentityProviderClientMetadata = class; IJSIdentityProviderToken = interface; TJSIdentityProviderToken = class; IJSIdentityCredentialLogoutRPsRequest = interface; TJSIdentityCredentialLogoutRPsRequest = class; IJSIIRFilterOptions = interface; TJSIIRFilterOptions = class; IJSChannelPixelLayout = interface; TJSChannelPixelLayout = class; IJSImageBitmapOptions = interface; TJSImageBitmapOptions = class; IJSImageCaptureErrorEventInit = interface; TJSImageCaptureErrorEventInit = class; IJSInputEventInit = interface; TJSInputEventInit = class; IJSInstallTriggerData = interface; TJSInstallTriggerData = class; IJSIntersectionObserverEntryInit = interface; TJSIntersectionObserverEntryInit = class; IJSIntersectionObserverInit = interface; TJSIntersectionObserverInit = class; IJSDisplayNameOptions = interface; TJSDisplayNameOptions = class; IJSDisplayNameResult = interface; TJSDisplayNameResult = class; IJSLocaleInfo = interface; TJSLocaleInfo = class; IJSInvokeEventInit = interface; TJSInvokeEventInit = class; IJSIterableKeyOrValueResult = interface; TJSIterableKeyOrValueResult = class; IJSIterableKeyAndValueResult = interface; TJSIterableKeyAndValueResult = class; IJSKeyAlgorithm = interface; TJSKeyAlgorithm = class; IJSAesKeyAlgorithm = interface; TJSAesKeyAlgorithm = class; IJSEcKeyAlgorithm = interface; TJSEcKeyAlgorithm = class; IJSHmacKeyAlgorithm = interface; TJSHmacKeyAlgorithm = class; IJSRsaHashedKeyAlgorithm = interface; TJSRsaHashedKeyAlgorithm = class; IJSDhKeyAlgorithm = interface; TJSDhKeyAlgorithm = class; IJSKeyboardEventInit = interface; TJSKeyboardEventInit = class; IJSKeyframeEffectOptions = interface; TJSKeyframeEffectOptions = class; IJSAnimationPropertyValueDetails = interface; TJSAnimationPropertyValueDetails = class; IJSAnimationPropertyDetails = interface; TJSAnimationPropertyDetails = class; IJSKeyIdsInitData = interface; TJSKeyIdsInitData = class; IJSL10nIdArgs = interface; TJSL10nIdArgs = class; IJSAttributeNameValue = interface; TJSAttributeNameValue = class; IJSL10nMessage = interface; TJSL10nMessage = class; IJSL10nArgsHelperDict = interface; TJSL10nArgsHelperDict = class; IJSLockOptions = interface; TJSLockOptions = class; IJSLockManagerSnapshot = interface; TJSLockManagerSnapshot = class; IJSLockInfo = interface; TJSLockInfo = class; IJSMediaConfiguration = interface; TJSMediaConfiguration = class; IJSMediaDecodingConfiguration = interface; TJSMediaDecodingConfiguration = class; IJSMediaEncodingConfiguration = interface; TJSMediaEncodingConfiguration = class; IJSVideoConfiguration = interface; TJSVideoConfiguration = class; IJSAudioConfiguration = interface; TJSAudioConfiguration = class; IJSMediaCacheStreamDebugInfo = interface; TJSMediaCacheStreamDebugInfo = class; IJSMediaResourceDebugInfo = interface; TJSMediaResourceDebugInfo = class; IJSMediaDecoderDebugInfo = interface; TJSMediaDecoderDebugInfo = class; IJSAudioSinkDebugInfo = interface; TJSAudioSinkDebugInfo = class; IJSAudioSinkWrapperDebugInfo = interface; TJSAudioSinkWrapperDebugInfo = class; IJSVideoSinkDebugInfo = interface; TJSVideoSinkDebugInfo = class; IJSDecodedStreamDataDebugInfo = interface; TJSDecodedStreamDataDebugInfo = class; IJSDecodedStreamDebugInfo = interface; TJSDecodedStreamDebugInfo = class; IJSMediaSinkDebugInfo = interface; TJSMediaSinkDebugInfo = class; IJSMediaDecoderStateMachineDecodingStateDebugInfo = interface; TJSMediaDecoderStateMachineDecodingStateDebugInfo = class; IJSMediaDecoderStateMachineDebugInfo = interface; TJSMediaDecoderStateMachineDebugInfo = class; IJSMediaStateDebugInfo = interface; TJSMediaStateDebugInfo = class; IJSMediaFrameStats = interface; TJSMediaFrameStats = class; IJSMediaFormatReaderDebugInfo = interface; TJSMediaFormatReaderDebugInfo = class; IJSBufferRange = interface; TJSBufferRange = class; IJSTrackBuffersManagerDebugInfo = interface; TJSTrackBuffersManagerDebugInfo = class; IJSMediaSourceDemuxerDebugInfo = interface; TJSMediaSourceDemuxerDebugInfo = class; IJSMediaSourceDecoderDebugInfo = interface; TJSMediaSourceDecoderDebugInfo = class; IJSEMEDebugInfo = interface; TJSEMEDebugInfo = class; IJSHTMLMediaElementDebugInfo = interface; TJSHTMLMediaElementDebugInfo = class; IJSAudioOutputOptions = interface; TJSAudioOutputOptions = class; IJSMediaElementAudioSourceOptions = interface; TJSMediaElementAudioSourceOptions = class; IJSMediaKeyNeededEventInit = interface; TJSMediaKeyNeededEventInit = class; IJSMediaKeyMessageEventInit = interface; TJSMediaKeyMessageEventInit = class; IJSMediaKeysPolicy = interface; TJSMediaKeysPolicy = class; IJSRequestMediaKeySystemAccessNotification = interface; TJSRequestMediaKeySystemAccessNotification = class; IJSMediaKeySystemMediaCapability = interface; TJSMediaKeySystemMediaCapability = class; IJSMediaKeySystemConfiguration = interface; TJSMediaKeySystemConfiguration = class; IJSMediaQueryListEventInit = interface; TJSMediaQueryListEventInit = class; IJSMediaRecorderOptions = interface; TJSMediaRecorderOptions = class; IJSMediaRecorderErrorEventInit = interface; TJSMediaRecorderErrorEventInit = class; IJSMediaMetadataInit = interface; TJSMediaMetadataInit = class; IJSMediaImage = interface; TJSMediaImage = class; IJSMediaSessionActionDetails = interface; TJSMediaSessionActionDetails = class; IJSMediaPositionState = interface; TJSMediaPositionState = class; IJSMediaStreamConstraints = interface; TJSMediaStreamConstraints = class; IJSDisplayMediaStreamConstraints = interface; TJSDisplayMediaStreamConstraints = class; IJSMediaStreamAudioSourceOptions = interface; TJSMediaStreamAudioSourceOptions = class; IJSMediaStreamEventInit = interface; TJSMediaStreamEventInit = class; IJSConstrainLongRange = interface; TJSConstrainLongRange = class; IJSConstrainDoubleRange = interface; TJSConstrainDoubleRange = class; IJSConstrainBooleanParameters = interface; TJSConstrainBooleanParameters = class; IJSConstrainDOMStringParameters = interface; TJSConstrainDOMStringParameters = class; IJSMediaTrackConstraintSet = interface; TJSMediaTrackConstraintSet = class; IJSMediaTrackConstraints = interface; TJSMediaTrackConstraints = class; IJSMediaStreamTrackAudioSourceOptions = interface; TJSMediaStreamTrackAudioSourceOptions = class; IJSMediaStreamTrackEventInit = interface; TJSMediaStreamTrackEventInit = class; IJSDoubleRange = interface; TJSDoubleRange = class; IJSULongRange = interface; TJSULongRange = class; IJSConstrainULongRange = interface; TJSConstrainULongRange = class; IJSMediaTrackCapabilities = interface; TJSMediaTrackCapabilities = class; IJSMediaTrackSettings = interface; TJSMediaTrackSettings = class; IJSMediaTrackSupportedConstraints = interface; TJSMediaTrackSupportedConstraints = class; IJSMerchantValidationEventInit = interface; TJSMerchantValidationEventInit = class; IJSMessageEventInit = interface; TJSMessageEventInit = class; IJSStructuredSerializeOptions = interface; TJSStructuredSerializeOptions = class; IJSMIDIConnectionEventInit = interface; TJSMIDIConnectionEventInit = class; IJSMIDIMessageEventInit = interface; TJSMIDIMessageEventInit = class; IJSMIDIOptions = interface; TJSMIDIOptions = class; IJSMouseEventInit = interface; TJSMouseEventInit = class; IJSMozApplicationEventInit = interface; TJSMozApplicationEventInit = class; IJSRemotenessOptions = interface; TJSRemotenessOptions = class; IJSMutationObserverInit = interface; TJSMutationObserverInit = class; IJSMutationObservingInfo = interface; TJSMutationObservingInfo = class; IJSNavigationPreloadState = interface; TJSNavigationPreloadState = class; IJSShareData = interface; TJSShareData = class; IJSNetErrorInfo = interface; TJSNetErrorInfo = class; IJSNetworkCommandOptions = interface; TJSNetworkCommandOptions = class; IJSNetworkResultOptions = interface; TJSNetworkResultOptions = class; IJSGetRootNodeOptions = interface; TJSGetRootNodeOptions = class; IJSNotificationOptions = interface; TJSNotificationOptions = class; IJSGetNotificationOptions = interface; TJSGetNotificationOptions = class; IJSNotificationBehavior = interface; TJSNotificationBehavior = class; IJSNotificationEventInit = interface; TJSNotificationEventInit = class; IJSOfflineAudioCompletionEventInit = interface; TJSOfflineAudioCompletionEventInit = class; IJSOfflineAudioContextOptions = interface; TJSOfflineAudioContextOptions = class; IJSImageEncodeOptions = interface; TJSImageEncodeOptions = class; IJSOscillatorOptions = interface; TJSOscillatorOptions = class; IJSPageTransitionEventInit = interface; TJSPageTransitionEventInit = class; IJSPannerOptions = interface; TJSPannerOptions = class; IJSPaymentMethodChangeEventInit = interface; TJSPaymentMethodChangeEventInit = class; IJSPaymentMethodData = interface; TJSPaymentMethodData = class; IJSPaymentCurrencyAmount = interface; TJSPaymentCurrencyAmount = class; IJSPaymentItem = interface; TJSPaymentItem = class; IJSPaymentShippingOption = interface; TJSPaymentShippingOption = class; IJSPaymentDetailsModifier = interface; TJSPaymentDetailsModifier = class; IJSPaymentDetailsBase = interface; TJSPaymentDetailsBase = class; IJSPaymentDetailsInit = interface; TJSPaymentDetailsInit = class; IJSAddressErrors = interface; TJSAddressErrors = class; IJSPaymentValidationErrors = interface; TJSPaymentValidationErrors = class; IJSPayerErrors = interface; TJSPayerErrors = class; IJSPaymentDetailsUpdate = interface; TJSPaymentDetailsUpdate = class; IJSPaymentOptions = interface; TJSPaymentOptions = class; IJSPaymentRequestUpdateEventInit = interface; TJSPaymentRequestUpdateEventInit = class; IJSPCErrorData = interface; TJSPCErrorData = class; IJSPerformanceMarkOptions = interface; TJSPerformanceMarkOptions = class; IJSPerformanceMeasureOptions = interface; TJSPerformanceMeasureOptions = class; IJSPerformanceEntryEventInit = interface; TJSPerformanceEntryEventInit = class; IJSPerformanceObserverInit = interface; TJSPerformanceObserverInit = class; IJSPerformanceEntryFilterOptions = interface; TJSPerformanceEntryFilterOptions = class; IJSPeriodicWaveConstraints = interface; TJSPeriodicWaveConstraints = class; IJSPeriodicWaveOptions = interface; TJSPeriodicWaveOptions = class; IJSPermissionDescriptor = interface; TJSPermissionDescriptor = class; IJSMidiPermissionDescriptor = interface; TJSMidiPermissionDescriptor = class; IJSPointerEventInit = interface; TJSPointerEventInit = class; IJSPopStateEventInit = interface; TJSPopStateEventInit = class; IJSPopupBlockedEventInit = interface; TJSPopupBlockedEventInit = class; IJSPositionStateEventInit = interface; TJSPositionStateEventInit = class; IJSProgressEventInit = interface; TJSProgressEventInit = class; IJSPromiseRejectionEventInit = interface; TJSPromiseRejectionEventInit = class; IJSPushEventInit = interface; TJSPushEventInit = class; IJSPushSubscriptionOptionsInit = interface; TJSPushSubscriptionOptionsInit = class; IJSPushSubscriptionKeys = interface; TJSPushSubscriptionKeys = class; IJSPushSubscriptionJSON = interface; TJSPushSubscriptionJSON = class; IJSPushSubscriptionInit = interface; TJSPushSubscriptionInit = class; IJSQueuingStrategy = interface; TJSQueuingStrategy = class; IJSQueuingStrategyInit = interface; TJSQueuingStrategyInit = class; IJSClientRectsAndTexts = interface; TJSClientRectsAndTexts = class; IJSReadableStreamGetReaderOptions = interface; TJSReadableStreamGetReaderOptions = class; IJSReadableStreamIteratorOptions = interface; TJSReadableStreamIteratorOptions = class; IJSReadableWritablePair = interface; TJSReadableWritablePair = class; IJSStreamPipeOptions = interface; TJSStreamPipeOptions = class; IJSReadableStreamReadResult = interface; TJSReadableStreamReadResult = class; IJSReportingObserverOptions = interface; TJSReportingObserverOptions = class; IJSReportingHeaderValue = interface; TJSReportingHeaderValue = class; IJSReportingItem = interface; TJSReportingItem = class; IJSReportingEndpoint = interface; TJSReportingEndpoint = class; IJSRequestInit = interface; TJSRequestInit = class; IJSResizeObserverOptions = interface; TJSResizeObserverOptions = class; IJSResponseInit = interface; TJSResponseInit = class; IJSRTCCertificateExpiration = interface; TJSRTCCertificateExpiration = class; IJSRTCIceServer = interface; TJSRTCIceServer = class; IJSRTCConfiguration = interface; TJSRTCConfiguration = class; IJSRTCDataChannelEventInit = interface; TJSRTCDataChannelEventInit = class; IJSRTCDTMFToneChangeEventInit = interface; TJSRTCDTMFToneChangeEventInit = class; IJSRTCEncodedAudioFrameMetadata = interface; TJSRTCEncodedAudioFrameMetadata = class; IJSRTCEncodedVideoFrameMetadata = interface; TJSRTCEncodedVideoFrameMetadata = class; IJSRTCIceCandidateInit = interface; TJSRTCIceCandidateInit = class; IJSRTCIdentityAssertion = interface; TJSRTCIdentityAssertion = class; IJSRTCIdentityProvider = interface; TJSRTCIdentityProvider = class; IJSRTCIdentityAssertionResult = interface; TJSRTCIdentityAssertionResult = class; IJSRTCIdentityProviderDetails = interface; TJSRTCIdentityProviderDetails = class; IJSRTCIdentityValidationResult = interface; TJSRTCIdentityValidationResult = class; IJSRTCIdentityProviderOptions = interface; TJSRTCIdentityProviderOptions = class; IJSRTCDataChannelInit = interface; TJSRTCDataChannelInit = class; IJSRTCOfferAnswerOptions = interface; TJSRTCOfferAnswerOptions = class; IJSRTCAnswerOptions = interface; TJSRTCAnswerOptions = class; IJSRTCOfferOptions = interface; TJSRTCOfferOptions = class; IJSRTCPeerConnectionIceEventInit = interface; TJSRTCPeerConnectionIceEventInit = class; IJSRTCRtpCapabilities = interface; TJSRTCRtpCapabilities = class; IJSRTCRtpCodecCapability = interface; TJSRTCRtpCodecCapability = class; IJSRTCRtpCodec = interface; TJSRTCRtpCodec = class; IJSRTCRtpHeaderExtensionCapability = interface; TJSRTCRtpHeaderExtensionCapability = class; IJSRTCRtpEncodingParameters = interface; TJSRTCRtpEncodingParameters = class; IJSRTCRtpHeaderExtensionParameters = interface; TJSRTCRtpHeaderExtensionParameters = class; IJSRTCRtcpParameters = interface; TJSRTCRtcpParameters = class; IJSRTCRtpCodecParameters = interface; TJSRTCRtpCodecParameters = class; IJSRTCRtpParameters = interface; TJSRTCRtpParameters = class; IJSRTCRtpSendParameters = interface; TJSRTCRtpSendParameters = class; IJSRTCRtpContributingSource = interface; TJSRTCRtpContributingSource = class; IJSRTCRtpSynchronizationSource = interface; TJSRTCRtpSynchronizationSource = class; IJSRTCRtpSourceEntry = interface; TJSRTCRtpSourceEntry = class; IJSRTCRtpTransceiverInit = interface; TJSRTCRtpTransceiverInit = class; IJSRTCSessionDescriptionInit = interface; TJSRTCSessionDescriptionInit = class; IJSRTCLocalSessionDescriptionInit = interface; TJSRTCLocalSessionDescriptionInit = class; IJSRTCStats = interface; TJSRTCStats = class; IJSRTCRtpStreamStats = interface; TJSRTCRtpStreamStats = class; IJSRTCCodecStats = interface; TJSRTCCodecStats = class; IJSRTCReceivedRtpStreamStats = interface; TJSRTCReceivedRtpStreamStats = class; IJSRTCInboundRtpStreamStats = interface; TJSRTCInboundRtpStreamStats = class; IJSRTCRemoteInboundRtpStreamStats = interface; TJSRTCRemoteInboundRtpStreamStats = class; IJSRTCSentRtpStreamStats = interface; TJSRTCSentRtpStreamStats = class; IJSRTCOutboundRtpStreamStats = interface; TJSRTCOutboundRtpStreamStats = class; IJSRTCRemoteOutboundRtpStreamStats = interface; TJSRTCRemoteOutboundRtpStreamStats = class; IJSRTCMediaSourceStats = interface; TJSRTCMediaSourceStats = class; IJSRTCVideoSourceStats = interface; TJSRTCVideoSourceStats = class; IJSRTCPeerConnectionStats = interface; TJSRTCPeerConnectionStats = class; IJSRTCRTPContributingSourceStats = interface; TJSRTCRTPContributingSourceStats = class; IJSRTCDataChannelStats = interface; TJSRTCDataChannelStats = class; IJSRTCIceCandidatePairStats = interface; TJSRTCIceCandidatePairStats = class; IJSRTCIceCandidateStats = interface; TJSRTCIceCandidateStats = class; IJSRTCVideoFrameHistoryEntryInternal = interface; TJSRTCVideoFrameHistoryEntryInternal = class; IJSRTCVideoFrameHistoryInternal = interface; TJSRTCVideoFrameHistoryInternal = class; IJSRTCBandwidthEstimationInternal = interface; TJSRTCBandwidthEstimationInternal = class; IJSRTCSdpParsingErrorInternal = interface; TJSRTCSdpParsingErrorInternal = class; IJSRTCSdpHistoryEntryInternal = interface; TJSRTCSdpHistoryEntryInternal = class; IJSRTCStatsCollection = interface; TJSRTCStatsCollection = class; IJSRTCIceServerInternal = interface; TJSRTCIceServerInternal = class; IJSRTCConfigurationInternal = interface; TJSRTCConfigurationInternal = class; IJSRTCSdpHistoryInternal = interface; TJSRTCSdpHistoryInternal = class; IJSRTCStatsReportInternal = interface; TJSRTCStatsReportInternal = class; IJSRTCTrackEventInit = interface; TJSRTCTrackEventInit = class; IJSRTCTransformEventInit = interface; TJSRTCTransformEventInit = class; IJSSanitizerElementNamespace = interface; TJSSanitizerElementNamespace = class; IJSSanitizerElementNamespaceWithAttributes = interface; TJSSanitizerElementNamespaceWithAttributes = class; IJSSanitizerAttributeNamespace = interface; TJSSanitizerAttributeNamespace = class; IJSSanitizerConfig = interface; TJSSanitizerConfig = class; IJSScrollViewChangeEventInit = interface; TJSScrollViewChangeEventInit = class; IJSSecurityPolicyViolationEventInit = interface; TJSSecurityPolicyViolationEventInit = class; IJSRegistrationOptions = interface; TJSRegistrationOptions = class; IJSSpeechRecognitionErrorInit = interface; TJSSpeechRecognitionErrorInit = class; IJSSpeechRecognitionEventInit = interface; TJSSpeechRecognitionEventInit = class; IJSSpeechSynthesisErrorEventInit = interface; TJSSpeechSynthesisErrorEventInit = class; IJSSpeechSynthesisEventInit = interface; TJSSpeechSynthesisEventInit = class; IJSStaticRangeInit = interface; TJSStaticRangeInit = class; IJSStereoPannerOptions = interface; TJSStereoPannerOptions = class; IJSStorageEventInit = interface; TJSStorageEventInit = class; IJSStorageEstimate = interface; TJSStorageEstimate = class; IJSStreamFilterDataEventInit = interface; TJSStreamFilterDataEventInit = class; IJSSubmitEventInit = interface; TJSSubmitEventInit = class; IJSAlgorithm = interface; TJSAlgorithm = class; IJSAesCbcParams = interface; TJSAesCbcParams = class; IJSAesCtrParams = interface; TJSAesCtrParams = class; IJSAesGcmParams = interface; TJSAesGcmParams = class; IJSHmacImportParams = interface; TJSHmacImportParams = class; IJSPbkdf2Params = interface; TJSPbkdf2Params = class; IJSRsaHashedImportParams = interface; TJSRsaHashedImportParams = class; IJSAesKeyGenParams = interface; TJSAesKeyGenParams = class; IJSHmacKeyGenParams = interface; TJSHmacKeyGenParams = class; IJSRsaHashedKeyGenParams = interface; TJSRsaHashedKeyGenParams = class; IJSRsaOaepParams = interface; TJSRsaOaepParams = class; IJSRsaPssParams = interface; TJSRsaPssParams = class; IJSEcKeyGenParams = interface; TJSEcKeyGenParams = class; IJSAesDerivedKeyParams = interface; TJSAesDerivedKeyParams = class; IJSHmacDerivedKeyParams = interface; TJSHmacDerivedKeyParams = class; IJSEcdhKeyDeriveParams = interface; TJSEcdhKeyDeriveParams = class; IJSDhImportKeyParams = interface; TJSDhImportKeyParams = class; IJSEcdsaParams = interface; TJSEcdsaParams = class; IJSEcKeyImportParams = interface; TJSEcKeyImportParams = class; IJSHkdfParams = interface; TJSHkdfParams = class; IJSRsaOtherPrimesInfo = interface; TJSRsaOtherPrimesInfo = class; IJSJsonWebKey = interface; TJSJsonWebKey = class; IJSCryptoKeyPair = interface; TJSCryptoKeyPair = class; IJSSVGBoundingBoxOptions = interface; TJSSVGBoundingBoxOptions = class; IJSTaskPriorityChangeEventInit = interface; TJSTaskPriorityChangeEventInit = class; IJSServerSocketOptions = interface; TJSServerSocketOptions = class; IJSTCPServerSocketEventInit = interface; TJSTCPServerSocketEventInit = class; IJSSocketOptions = interface; TJSSocketOptions = class; IJSTCPSocketErrorEventInit = interface; TJSTCPSocketErrorEventInit = class; IJSTCPSocketEventInit = interface; TJSTCPSocketEventInit = class; IJSDictWithAllowSharedBufferSource = interface; TJSDictWithAllowSharedBufferSource = class; IJSTestInterfaceJSUnionableDictionary = interface; TJSTestInterfaceJSUnionableDictionary = class; IJSTestInterfaceJSDictionary2 = interface; TJSTestInterfaceJSDictionary2 = class; IJSTestInterfaceJSDictionary = interface; TJSTestInterfaceJSDictionary = class; IJSTestInterfaceAsyncIterableSingleOptions = interface; TJSTestInterfaceAsyncIterableSingleOptions = class; IJSTestInterfaceAsyncIteratorOptions = interface; TJSTestInterfaceAsyncIteratorOptions = class; IJSObservableArrayCallbacks = interface; TJSObservableArrayCallbacks = class; IJSTextDecoderOptions = interface; TJSTextDecoderOptions = class; IJSTextDecodeOptions = interface; TJSTextDecodeOptions = class; IJSTextEncoderEncodeIntoResult = interface; TJSTextEncoderEncodeIntoResult = class; IJSToggleEventInit = interface; TJSToggleEventInit = class; IJSTouchInit = interface; TJSTouchInit = class; IJSTouchEventInit = interface; TJSTouchEventInit = class; IJSTrackEventInit = interface; TJSTrackEventInit = class; IJSTransformer = interface; TJSTransformer = class; IJSTransitionEventInit = interface; TJSTransitionEventInit = class; IJSTrustedTypePolicyOptions = interface; TJSTrustedTypePolicyOptions = class; IJSUDPMessageEventInit = interface; TJSUDPMessageEventInit = class; IJSUDPOptions = interface; TJSUDPOptions = class; IJSUIEventInit = interface; TJSUIEventInit = class; IJSEventModifierInit = interface; TJSEventModifierInit = class; IJSUnderlyingSink = interface; TJSUnderlyingSink = class; IJSUnderlyingSource = interface; TJSUnderlyingSource = class; IJSUserProximityEventInit = interface; TJSUserProximityEventInit = class; IJSVideoColorSpaceInit = interface; TJSVideoColorSpaceInit = class; IJSVideoDecoderInit = interface; TJSVideoDecoderInit = class; IJSVideoDecoderSupport = interface; TJSVideoDecoderSupport = class; IJSVideoDecoderConfig = interface; TJSVideoDecoderConfig = class; IJSVideoEncoderInit = interface; TJSVideoEncoderInit = class; IJSAvcEncoderConfig = interface; TJSAvcEncoderConfig = class; IJSVideoEncoderConfig = interface; TJSVideoEncoderConfig = class; IJSVideoEncoderEncodeOptions = interface; TJSVideoEncoderEncodeOptions = class; IJSVideoEncoderEncodeOptionsForAvc = interface; TJSVideoEncoderEncodeOptionsForAvc = class; IJSVideoEncoderSupport = interface; TJSVideoEncoderSupport = class; IJSEncodedVideoChunkMetadata = interface; TJSEncodedVideoChunkMetadata = class; IJSSvcOutputMetadata = interface; TJSSvcOutputMetadata = class; IJSVideoFrameInit = interface; TJSVideoFrameInit = class; IJSVideoFrameBufferInit = interface; TJSVideoFrameBufferInit = class; IJSVideoFrameCopyToOptions = interface; TJSVideoFrameCopyToOptions = class; IJSPlaneLayout = interface; TJSPlaneLayout = class; IJSVRLayer = interface; TJSVRLayer = class; IJSVRDisplayEventInit = interface; TJSVRDisplayEventInit = class; IJSWaveShaperOptions = interface; TJSWaveShaperOptions = class; IJSRegistrationResponseJSON = interface; TJSRegistrationResponseJSON = class; IJSAuthenticatorAttestationResponseJSON = interface; TJSAuthenticatorAttestationResponseJSON = class; IJSAuthenticationResponseJSON = interface; TJSAuthenticationResponseJSON = class; IJSAuthenticatorAssertionResponseJSON = interface; TJSAuthenticatorAssertionResponseJSON = class; IJSAuthenticationExtensionsClientOutputsJSON = interface; TJSAuthenticationExtensionsClientOutputsJSON = class; IJSPublicKeyCredentialCreationOptionsJSON = interface; TJSPublicKeyCredentialCreationOptionsJSON = class; IJSPublicKeyCredentialUserEntityJSON = interface; TJSPublicKeyCredentialUserEntityJSON = class; IJSPublicKeyCredentialDescriptorJSON = interface; TJSPublicKeyCredentialDescriptorJSON = class; IJSAuthenticationExtensionsClientInputsJSON = interface; TJSAuthenticationExtensionsClientInputsJSON = class; IJSPublicKeyCredentialRequestOptionsJSON = interface; TJSPublicKeyCredentialRequestOptionsJSON = class; IJSPublicKeyCredentialParameters = interface; TJSPublicKeyCredentialParameters = class; IJSPublicKeyCredentialCreationOptions = interface; TJSPublicKeyCredentialCreationOptions = class; IJSPublicKeyCredentialEntity = interface; TJSPublicKeyCredentialEntity = class; IJSPublicKeyCredentialRpEntity = interface; TJSPublicKeyCredentialRpEntity = class; IJSPublicKeyCredentialUserEntity = interface; TJSPublicKeyCredentialUserEntity = class; IJSAuthenticatorSelectionCriteria = interface; TJSAuthenticatorSelectionCriteria = class; IJSPublicKeyCredentialRequestOptions = interface; TJSPublicKeyCredentialRequestOptions = class; IJSAuthenticationExtensionsClientInputs = interface; TJSAuthenticationExtensionsClientInputs = class; IJSAuthenticationExtensionsClientOutputs = interface; TJSAuthenticationExtensionsClientOutputs = class; IJSCollectedClientData = interface; TJSCollectedClientData = class; IJSTokenBinding = interface; TJSTokenBinding = class; IJSPublicKeyCredentialDescriptor = interface; TJSPublicKeyCredentialDescriptor = class; IJSCredentialPropertiesOutput = interface; TJSCredentialPropertiesOutput = class; IJSWebGLContextEventInit = interface; TJSWebGLContextEventInit = class; IJSWebGLContextAttributes = interface; TJSWebGLContextAttributes = class; IJSGPUObjectDescriptorBase = interface; TJSGPUObjectDescriptorBase = class; IJSGPURequestAdapterOptions = interface; TJSGPURequestAdapterOptions = class; IJSGPUDeviceDescriptor = interface; TJSGPUDeviceDescriptor = class; IJSGPUBufferDescriptor = interface; TJSGPUBufferDescriptor = class; IJSGPUTextureDescriptor = interface; TJSGPUTextureDescriptor = class; IJSGPUTextureViewDescriptor = interface; TJSGPUTextureViewDescriptor = class; IJSGPUSamplerDescriptor = interface; TJSGPUSamplerDescriptor = class; IJSGPUBindGroupLayoutDescriptor = interface; TJSGPUBindGroupLayoutDescriptor = class; IJSGPUBindGroupLayoutEntry = interface; TJSGPUBindGroupLayoutEntry = class; IJSGPUBufferBindingLayout = interface; TJSGPUBufferBindingLayout = class; IJSGPUSamplerBindingLayout = interface; TJSGPUSamplerBindingLayout = class; IJSGPUTextureBindingLayout = interface; TJSGPUTextureBindingLayout = class; IJSGPUStorageTextureBindingLayout = interface; TJSGPUStorageTextureBindingLayout = class; IJSGPUBindGroupDescriptor = interface; TJSGPUBindGroupDescriptor = class; IJSGPUBindGroupEntry = interface; TJSGPUBindGroupEntry = class; IJSGPUBufferBinding = interface; TJSGPUBufferBinding = class; IJSGPUPipelineLayoutDescriptor = interface; TJSGPUPipelineLayoutDescriptor = class; IJSGPUShaderModuleDescriptor = interface; TJSGPUShaderModuleDescriptor = class; IJSGPUPipelineDescriptorBase = interface; TJSGPUPipelineDescriptorBase = class; IJSGPUProgrammableStage = interface; TJSGPUProgrammableStage = class; IJSGPUComputePipelineDescriptor = interface; TJSGPUComputePipelineDescriptor = class; IJSGPURenderPipelineDescriptor = interface; TJSGPURenderPipelineDescriptor = class; IJSGPUPrimitiveState = interface; TJSGPUPrimitiveState = class; IJSGPUMultisampleState = interface; TJSGPUMultisampleState = class; IJSGPUFragmentState = interface; TJSGPUFragmentState = class; IJSGPUColorTargetState = interface; TJSGPUColorTargetState = class; IJSGPUBlendState = interface; TJSGPUBlendState = class; IJSGPUBlendComponent = interface; TJSGPUBlendComponent = class; IJSGPUDepthStencilState = interface; TJSGPUDepthStencilState = class; IJSGPUStencilFaceState = interface; TJSGPUStencilFaceState = class; IJSGPUVertexState = interface; TJSGPUVertexState = class; IJSGPUVertexBufferLayout = interface; TJSGPUVertexBufferLayout = class; IJSGPUVertexAttribute = interface; TJSGPUVertexAttribute = class; IJSGPUImageDataLayout = interface; TJSGPUImageDataLayout = class; IJSGPUImageCopyBuffer = interface; TJSGPUImageCopyBuffer = class; IJSGPUImageCopyTexture = interface; TJSGPUImageCopyTexture = class; IJSGPUImageCopyTextureTagged = interface; TJSGPUImageCopyTextureTagged = class; IJSGPUImageCopyExternalImage = interface; TJSGPUImageCopyExternalImage = class; IJSGPUCommandBufferDescriptor = interface; TJSGPUCommandBufferDescriptor = class; IJSGPUCommandEncoderDescriptor = interface; TJSGPUCommandEncoderDescriptor = class; IJSGPUComputePassDescriptor = interface; TJSGPUComputePassDescriptor = class; IJSGPURenderPassDescriptor = interface; TJSGPURenderPassDescriptor = class; IJSGPURenderPassColorAttachment = interface; TJSGPURenderPassColorAttachment = class; IJSGPURenderPassDepthStencilAttachment = interface; TJSGPURenderPassDepthStencilAttachment = class; IJSGPURenderPassLayout = interface; TJSGPURenderPassLayout = class; IJSGPURenderBundleDescriptor = interface; TJSGPURenderBundleDescriptor = class; IJSGPURenderBundleEncoderDescriptor = interface; TJSGPURenderBundleEncoderDescriptor = class; IJSGPUQueueDescriptor = interface; TJSGPUQueueDescriptor = class; IJSGPUQuerySetDescriptor = interface; TJSGPUQuerySetDescriptor = class; IJSGPUCanvasConfiguration = interface; TJSGPUCanvasConfiguration = class; IJSGPUColorDict = interface; TJSGPUColorDict = class; IJSGPUOrigin2DDict = interface; TJSGPUOrigin2DDict = class; IJSGPUOrigin3DDict = interface; TJSGPUOrigin3DDict = class; IJSGPUExtent3DDict = interface; TJSGPUExtent3DDict = class; IJSWebrtcGlobalStatisticsReport = interface; TJSWebrtcGlobalStatisticsReport = class; IJSWebrtcGlobalMediaContext = interface; TJSWebrtcGlobalMediaContext = class; IJSSchedulerPostTaskOptions = interface; TJSSchedulerPostTaskOptions = class; IJSTaskControllerInit = interface; TJSTaskControllerInit = class; IJSWebTransportHash = interface; TJSWebTransportHash = class; IJSWebTransportOptions = interface; TJSWebTransportOptions = class; IJSWebTransportCloseInfo = interface; TJSWebTransportCloseInfo = class; IJSWebTransportSendStreamOptions = interface; TJSWebTransportSendStreamOptions = class; IJSWebTransportStats = interface; TJSWebTransportStats = class; IJSWebTransportDatagramStats = interface; TJSWebTransportDatagramStats = class; IJSWebTransportErrorInit = interface; TJSWebTransportErrorInit = class; IJSWebTransportSendStreamStats = interface; TJSWebTransportSendStreamStats = class; IJSWebTransportReceiveStreamStats = interface; TJSWebTransportReceiveStreamStats = class; IJSXRSessionInit = interface; TJSXRSessionInit = class; IJSXRRenderStateInit = interface; TJSXRRenderStateInit = class; IJSXRWebGLLayerInit = interface; TJSXRWebGLLayerInit = class; IJSWheelEventInit = interface; TJSWheelEventInit = class; IJSScrollOptions = interface; TJSScrollOptions = class; IJSScrollToOptions = interface; TJSScrollToOptions = class; IJSSizeToContentConstraints = interface; TJSSizeToContentConstraints = class; IJSIdleRequestOptions = interface; TJSIdleRequestOptions = class; IJSWindowPostMessageOptions = interface; TJSWindowPostMessageOptions = class; IJSWorkerOptions = interface; TJSWorkerOptions = class; IJSWorkletOptions = interface; TJSWorkletOptions = class; IJSMozXMLHttpRequestParameters = interface; TJSMozXMLHttpRequestParameters = class; IJSXRInputSourceEventInit = interface; TJSXRInputSourceEventInit = class; IJSXRInputSourcesChangeEventInit = interface; TJSXRInputSourcesChangeEventInit = class; IJSXRReferenceSpaceEventInit = interface; TJSXRReferenceSpaceEventInit = class; IJSXRSessionEventInit = interface; TJSXRSessionEventInit = class; TAnimationPlayState = UnicodeString; TAnimationReplaceState = UnicodeString; TFillMode = UnicodeString; TPlaybackDirection = UnicodeString; TAudioSampleFormat = UnicodeString; TOpusBitstreamFormat = UnicodeString; TChannelCountMode = UnicodeString; TChannelInterpretation = UnicodeString; TAutomationRate = UnicodeString; TAudioContextState = UnicodeString; TCompositeOperation = UnicodeString; TCompositeOperationOrAuto = UnicodeString; TBiquadFilterType = UnicodeString; TEndingType = UnicodeString; TCacheStorageNamespace = UnicodeString; TCanvasWindingRule = UnicodeString; TCanvasLineCap = UnicodeString; TCanvasLineJoin = UnicodeString; TCanvasTextAlign = UnicodeString; TCanvasTextBaseline = UnicodeString; TCanvasDirection = UnicodeString; TCanvasFontKerning = UnicodeString; TCanvasFontStretch = UnicodeString; TCanvasFontVariantCaps = UnicodeString; TCanvasTextRendering = UnicodeString; TCaretChangedReason = UnicodeString; TCheckerboardReason = UnicodeString; TFrameType = UnicodeString; TClientType = UnicodeString; TPresentationStyle = UnicodeString; TCompressionFormat = UnicodeString; TCredentialMediationRequirement = UnicodeString; TSelectorWarningKind = UnicodeString; TCSSStyleSheetParsingMode = UnicodeString; TRestoreReason = UnicodeString; TDecoderDoctorNotificationType = UnicodeString; TDecoderDoctorReportType = UnicodeString; TVisibilityState = UnicodeString; TWireframeRectType = UnicodeString; TSupportedType = UnicodeString; TScrollLogicalPosition = UnicodeString; TEncodedAudioChunkType = UnicodeString; TEncodedVideoChunkType = UnicodeString; TOverridableErrorCategory = UnicodeString; TFetchState = UnicodeString; TFileMode = UnicodeString; TFileSystemHandleKind = UnicodeString; TWriteCommandType = UnicodeString; TFontFaceLoadStatus = UnicodeString; TFontFaceSetLoadStatus = UnicodeString; TGamepadHand = UnicodeString; TGamepadMappingType = UnicodeString; TGamepadHapticActuatorType = UnicodeString; TGamepadLightIndicatorType = UnicodeString; TCSSBoxType = UnicodeString; TGetUserMediaRequestType = UnicodeString; THeadersGuardEnum = UnicodeString; THighlightType = UnicodeString; TScrollRestoration = UnicodeString; TSelectionMode = UnicodeString; TIDBCursorDirection = UnicodeString; TIDBTransactionDurability = UnicodeString; TIDBRequestReadyState = UnicodeString; TIDBTransactionMode = UnicodeString; TImageBitmapFormat = UnicodeString; TChannelPixelLayoutDataType = UnicodeString; TImageOrientation = UnicodeString; TPremultiplyAlpha = UnicodeString; TColorSpaceConversion = UnicodeString; TIterationCompositeOperation = UnicodeString; TLockMode = UnicodeString; TMediaDecodingType = UnicodeString; TMediaEncodingType = UnicodeString; THdrMetadataType = UnicodeString; TColorGamut = UnicodeString; TTransferFunction = UnicodeString; TMediaDeviceKind = UnicodeString; TMediaKeyMessageType = UnicodeString; TMediaKeySessionType = UnicodeString; THDCPVersion = UnicodeString; TMediaKeySystemStatus = UnicodeString; TMediaKeyStatus = UnicodeString; TMediaKeysRequirement = UnicodeString; TBitrateMode = UnicodeString; TRecordingState = UnicodeString; TMediaSessionPlaybackState = UnicodeString; TMediaSessionAction = UnicodeString; TMediaSourceReadyState = UnicodeString; TMediaSourceEndOfStreamError = UnicodeString; TVideoFacingModeEnum = UnicodeString; TMediaSourceEnum = UnicodeString; TMediaStreamTrackState = UnicodeString; TMIDIPortType = UnicodeString; TMIDIPortDeviceState = UnicodeString; TMIDIPortConnectionState = UnicodeString; TAutoplayPolicy = UnicodeString; TAutoplayPolicyMediaType = UnicodeString; TConnectionType = UnicodeString; TNotificationPermission = UnicodeString; TNotificationDirection = UnicodeString; TOffscreenRenderingContextId = UnicodeString; TOscillatorType = UnicodeString; TPanningModelType = UnicodeString; TDistanceModelType = UnicodeString; TPaymentShippingType = UnicodeString; TPaymentComplete = UnicodeString; TPCObserverStateType = UnicodeString; TPCError = UnicodeString; TNavigationType = UnicodeString; TPermissionName = UnicodeString; TPermissionState = UnicodeString; TPushEncryptionKeyName = UnicodeString; TReadableStreamReaderMode = UnicodeString; TReadableStreamType = UnicodeString; TReferrerPolicy = UnicodeString; TRequestDestination = UnicodeString; TRequestMode = UnicodeString; TRequestCredentials = UnicodeString; TRequestCache = UnicodeString; TRequestRedirect = UnicodeString; TRequestPriority = UnicodeString; TResizeObserverBoxOptions = UnicodeString; TResponseType = UnicodeString; TRTCIceCredentialType = UnicodeString; TRTCIceTransportPolicy = UnicodeString; TRTCBundlePolicy = UnicodeString; TRTCDataChannelState = UnicodeString; TRTCDataChannelType = UnicodeString; TRTCDtlsTransportState = UnicodeString; TRTCEncodedVideoFrameType = UnicodeString; TRTCIceComponent = UnicodeString; TRTCIceProtocol = UnicodeString; TRTCIceCandidateType = UnicodeString; TRTCIceTcpCandidateType = UnicodeString; TRTCIceTransportState = UnicodeString; TRTCIceGathererState = UnicodeString; TRTCSignalingState = UnicodeString; TRTCIceGatheringState = UnicodeString; TRTCIceConnectionState = UnicodeString; TRTCPeerConnectionState = UnicodeString; TmozPacketDumpType = UnicodeString; TRTCLifecycleEvent = UnicodeString; TRTCPriorityType = UnicodeString; TRTCDegradationPreference = UnicodeString; TRTCRtpSourceEntryType = UnicodeString; TRTCRtpTransceiverDirection = UnicodeString; TRTCSctpTransportState = UnicodeString; TRTCSdpType = UnicodeString; TRTCStatsType = UnicodeString; TRTCCodecType = UnicodeString; TRTCStatsIceCandidatePairState = UnicodeString; TScreenColorGamut = UnicodeString; TOrientationType = UnicodeString; TOrientationLockType = UnicodeString; TScrollState = UnicodeString; TSecurityPolicyViolationEventDisposition = UnicodeString; TServiceWorkerState = UnicodeString; TServiceWorkerUpdateViaCache = UnicodeString; TShadowRootMode = UnicodeString; TSlotAssignmentMode = UnicodeString; TSocketReadyState = UnicodeString; TSourceBufferAppendMode = UnicodeString; TSpeechRecognitionErrorCode = UnicodeString; TSpeechSynthesisErrorCode = UnicodeString; TStreamFilterStatus = UnicodeString; TTCPSocketBinaryType = UnicodeString; TTCPReadyState = UnicodeString; TStringType = UnicodeString; TTextTrackKind = UnicodeString; TTextTrackMode = UnicodeString; TVideoColorPrimaries = UnicodeString; TVideoTransferCharacteristics = UnicodeString; TVideoMatrixCoefficients = UnicodeString; THardwareAcceleration = UnicodeString; TCodecState = UnicodeString; TAvcBitstreamFormat = UnicodeString; TVideoEncoderBitrateMode = UnicodeString; TLatencyMode = UnicodeString; TAlphaOption = UnicodeString; TVideoPixelFormat = UnicodeString; TVREye = UnicodeString; TVRDisplayEventReason = UnicodeString; TAutoKeyword = UnicodeString; TLineAlignSetting = UnicodeString; TPositionAlignSetting = UnicodeString; TAlignSetting = UnicodeString; TDirectionSetting = UnicodeString; TScrollSetting = UnicodeString; TWakeLockType = UnicodeString; TOverSampleType = UnicodeString; TWebGLPowerPreference = UnicodeString; TPredefinedColorSpace = UnicodeString; TGPUPowerPreference = UnicodeString; TGPUFeatureName = UnicodeString; TGPUBufferMapState = UnicodeString; TGPUTextureDimension = UnicodeString; TGPUTextureViewDimension = UnicodeString; TGPUTextureAspect = UnicodeString; TGPUTextureFormat = UnicodeString; TGPUAddressMode = UnicodeString; TGPUFilterMode = UnicodeString; TGPUMipmapFilterMode = UnicodeString; TGPUCompareFunction = UnicodeString; TGPUBufferBindingType = UnicodeString; TGPUSamplerBindingType = UnicodeString; TGPUTextureSampleType = UnicodeString; TGPUStorageTextureAccess = UnicodeString; TGPUCompilationMessageType = UnicodeString; TGPUAutoLayoutMode = UnicodeString; TGPUPrimitiveTopology = UnicodeString; TGPUFrontFace = UnicodeString; TGPUCullMode = UnicodeString; TGPUBlendFactor = UnicodeString; TGPUBlendOperation = UnicodeString; TGPUStencilOperation = UnicodeString; TGPUIndexFormat = UnicodeString; TGPUVertexFormat = UnicodeString; TGPUVertexStepMode = UnicodeString; TGPULoadOp = UnicodeString; TGPUStoreOp = UnicodeString; TGPUPipelineStatisticName = UnicodeString; TGPUQueryType = UnicodeString; TGPUCanvasAlphaMode = UnicodeString; TGPUDeviceLostReason = UnicodeString; TGPUErrorFilter = UnicodeString; TBinaryType = UnicodeString; TTaskPriority = UnicodeString; TWebTransportCongestionControl = UnicodeString; TWebTransportReliabilityMode = UnicodeString; TWebTransportErrorSource = UnicodeString; TXRSessionMode = UnicodeString; TXRVisibilityState = UnicodeString; TXRReferenceSpaceType = UnicodeString; TXREye = UnicodeString; TXRHandedness = UnicodeString; TXRTargetRayMode = UnicodeString; TScrollBehavior = UnicodeString; TWorkerType = UnicodeString; TXMLHttpRequestResponseType = UnicodeString; // Union of File, USVString, FormData TLifecycleFormStateRestoreCallback_state_Type = Variant; // Union of Event, DOMString TOnErrorEventHandlerNonNull_event_Type = Variant; TJSFileSystemEntryDynArray = IJSArray; // array of FileSystemEntry TJSIntersectionObserverEntryDynArray = IJSArray; // array of IntersectionObserverEntry TJSMutationRecordDynArray = IJSArray; // array of MutationRecord TJSReportDynArray = IJSArray; // array of Report TJSResizeObserverEntryDynArray = IJSArray; // array of ResizeObserverEntry TUnicodeStringDynArray = IJSArray; // array of DOMString // Union of BufferSource, Blob, UTF8String TBlobPart = Variant; // Union of HTMLImageElement, SVGImageElement THTMLOrSVGImageElement = Variant; // Union of HTMLOrSVGImageElement, HTMLCanvasElement, HTMLVideoElement, OffscreenCanvas, ImageBitmap, VideoFrame TCanvasImageSource = Variant; // Union of DOMString, Blob TClipboardItemDataType = Variant; // Union of Blob, BufferSource, FormData, URLSearchParams, USVString TXMLHttpRequestBodyInit = Variant; TBodyInit = TXMLHttpRequestBodyInit; // Union of BufferSource, Blob, UTF8String, WriteParams TFileSystemWriteChunkType = Variant; // Union of ArrayBuffer, ArrayBufferView TBinaryData = Variant; // Union of Blob, Directory, USVString TFormDataEntryValue = Variant; // Union of Text, Element, Document TGeometryNode = Variant; // Union of sequence, record THeadersInit = Variant; // Union of HTMLCanvasElement, OffscreenCanvas TCanvasSource = Variant; // Union of CanvasImageSource, Blob, CanvasRenderingContext2D, ImageData TImageBitmapSource = Variant; // Union of unrestricted double, KeyframeAnimationOptions TUnrestrictedDoubleOrKeyframeAnimationOptions = Variant; // Union of UTF8String, L10nIdArgs TL10nKey = Variant; // Union of long, ConstrainLongRange TConstrainLong = Variant; // Union of double, ConstrainDoubleRange TConstrainDouble = Variant; // Union of boolean, ConstrainBooleanParameters TConstrainBoolean = Variant; // Union of DOMString, sequence, ConstrainDOMStringParameters TConstrainDOMString = Variant; // Union of unsigned long, ConstrainULongRange TConstrainULong = Variant; // Union of WindowProxy, MessagePort, ServiceWorker TMessageEventSource = Variant; // Union of unsigned long, sequence TVibratePattern = Variant; // Union of OffscreenCanvasRenderingContext2D, ImageBitmapRenderingContext, WebGLRenderingContext, WebGL2RenderingContext, GPUCanvasContext TOffscreenRenderingContext = Variant; TDOMTimeStamp = QWord; TEpochTimeStamp = QWord; TDOMHighResTimeStamp = Double; // Union of BufferSource, USVString TPushMessageDataInit = Variant; // Union of ReadableStreamDefaultReader, ReadableStreamBYOBReader TReadableStreamReader = Variant; // Union of Request, UTF8String TRequestInfo = Variant; TnsContentPolicyType = Cardinal; // Union of DOMString, SanitizerElementNamespace TSanitizerElement = Variant; // Union of DOMString, SanitizerElementNamespaceWithAttributes TSanitizerElementWithAttributes = Variant; // Union of DOMString, SanitizerAttributeNamespace TSanitizerAttribute = Variant; // Union of DocumentFragment, Document TSanitizerInput = Variant; TKeyType = UnicodeString; TKeyUsage = UnicodeString; TNamedCurve = UnicodeString; TKeyFormat = UnicodeString; // Union of object, DOMString TAlgorithmIdentifier = Variant; // Union of ReadableStreamDefaultController, ReadableByteStreamController TReadableStreamController = Variant; // Union of HTMLCanvasElement, OffscreenCanvas TVRSource = Variant; TBase64URLString = UnicodeString; TCOSEAlgorithmIdentifier = LongInt; TGLint64 = Int64; TGLuint64 = QWord; TGLenum = Cardinal; TGLboolean = Boolean; TGLbitfield = Cardinal; TGLbyte = ShortInt; TGLshort = SmallInt; TGLint = LongInt; TGLsizei = LongInt; TGLintptr = Int64; TGLsizeiptr = Int64; TGLubyte = Byte; TGLushort = Word; TGLuint = Cardinal; TGLfloat = Single; TGLclampf = Single; TGLuint64EXT = QWord; TGPUBufferUsageFlags = Cardinal; TGPUMapModeFlags = Cardinal; TGPUTextureUsageFlags = Cardinal; TGPUShaderStageFlags = Cardinal; // Union of GPUSampler, GPUTextureView, GPUBufferBinding TGPUBindingResource = Variant; TGPUColorWriteFlags = Cardinal; TGPUBufferDynamicOffset = Cardinal; TGPUStencilValue = Cardinal; TGPUSampleMask = Cardinal; TGPUDepthBias = LongInt; TGPUSize64 = QWord; TGPUIntegerCoordinate = Cardinal; TGPUIndex32 = Cardinal; TGPUSize32 = Cardinal; TGPUSignedOffset32 = LongInt; TGPUSize64Out = QWord; TGPUIntegerCoordinateOut = Cardinal; TGPUSize32Out = Cardinal; TGPUFlagsConstant = Cardinal; // Union of sequence, GPUColorDict TGPUColor = Variant; // Union of sequence, GPUOrigin2DDict TGPUOrigin2D = Variant; // Union of sequence, GPUOrigin3DDict TGPUOrigin3D = Variant; // Union of sequence, GPUExtent3DDict TGPUExtent3D = Variant; // Union of WebGLRenderingContext, WebGL2RenderingContext TXRWebGLRenderingContext = Variant; // Union of unrestricted double, boolean, DOMString, Node, sequence, XPathResult TXSLTParameterValue = Variant; TFrameRequestCallback = procedure (time: TDOMHighResTimeStamp) of object; TAudioDataOutputCallback = procedure (output: IJSAudioData) of object; TEncodedAudioChunkOutputCallback = procedure (output: IJSEncodedAudioChunk; const metadata: IJSEncodedAudioChunkMetadata) of object; TAudioWorkletProcessorConstructor = function (options: IJSObject): IJSAudioWorkletProcessor of object; TDecodeSuccessCallback = procedure (decodedData: IJSAudioBuffer) of object; TDecodeErrorCallback = procedure (error: IJSDOMException) of object; TClipboardItemsDynArray = IJSArray; // array of ClipboardItem TCustomElementConstructor = function : Variant of object; TCustomElementCreationCallback = procedure (const name: UnicodeString) of object; TLifecycleConnectedCallback = procedure of object; TLifecycleDisconnectedCallback = procedure of object; TLifecycleAdoptedCallback = procedure (oldDocument: IJSDocument; newDocment: IJSDocument) of object; TLifecycleAttributeChangedCallback = procedure (const attrName: UnicodeString; const oldValue: UnicodeString; const newValue: UnicodeString; const namespaceURI: UnicodeString) of object; TLifecycleFormAssociatedCallback = procedure (form: IJSHTMLFormElement) of object; TLifecycleFormResetCallback = procedure of object; TLifecycleFormDisabledCallback = procedure (disabled: Boolean) of object; TLifecycleFormStateRestoreCallback = procedure (const state: TLifecycleFormStateRestoreCallback_state_Type; reason: TRestoreReason) of object; TLifecycleGetCustomInterfaceCallback = function (const iid: Variant): IJSObject of object; TFunctionStringCallback = procedure (const data: UnicodeString) of object; TEventHandlerNonNull = function (event: IJSEvent): Variant of object; TEventHandler = TEventHandlerNonNull; TOnBeforeUnloadEventHandlerNonNull = function (event: IJSEvent): UnicodeString of object; TOnBeforeUnloadEventHandler = TOnBeforeUnloadEventHandlerNonNull; TOnErrorEventHandlerNonNull = function (const event: TOnErrorEventHandlerNonNull_event_Type; const source: UnicodeString; lineno: Cardinal; column: Cardinal; const error: Variant): Variant of object; TOnErrorEventHandler = TOnErrorEventHandlerNonNull; TFileSystemEntryCallback = procedure (entry: IJSFileSystemEntry) of object; TErrorCallback = procedure (err: IJSDOMException) of object; TFileSystemEntriesCallback = procedure (const entries: TJSFileSystemEntryDynArray) of object; TFileCallback = procedure (file_: IJSFile) of object; TFinalizationRegistryCleanupCallback = procedure of object; TFontFaceSetForEachCallback = procedure (value: IJSFontFace; key: IJSFontFace; set_: IJSFontFaceSet) of object; TFunction = function (const arguments: Variant): Variant of object; TVoidFunction = procedure of object; TPositionCallback = procedure (position: IJSGeolocationPosition) of object; TPositionErrorCallback = procedure (positionError: IJSGeolocationPositionError) of object; TBlobCallback = procedure (blob: IJSBlob) of object; TImagePixelLayoutDynArray = IJSArray; // array of ChannelPixelLayout TInstallTriggerCallback = procedure (const url: UnicodeString; status: SmallInt) of object; TIntersectionCallback = procedure (const entries: TJSIntersectionObserverEntryDynArray; observer: IJSIntersectionObserver) of object; TLockGrantedCallback = function (lock: IJSLock): IJSPromise of object; TMediaSessionActionHandler = procedure (const details: IJSMediaSessionActionDetails) of object; TMutationCallback = procedure (const mutations: TJSMutationRecordDynArray; observer: IJSMutationObserver) of object; TNavigatorUserMediaSuccessCallback = procedure (stream: IJSMediaStream) of object; TNavigatorUserMediaErrorCallback = procedure (error: IJSMediaStreamError) of object; TNotificationPermissionCallback = procedure (permission: TNotificationPermission) of object; TChainedOperation = function : IJSPromise of object; TPerformanceEntryListDynArray = IJSArray; // array of PerformanceEntry TPerformanceObserverCallback = procedure (entries: IJSPerformanceObserverEntryList; observer: IJSPerformanceObserver) of object; TPromiseJobCallback = procedure of object; TAnyCallback = function (const value: Variant): Variant of object; TQueuingStrategySize = function (const chunk: Variant): Double of object; TReportingObserverCallback = procedure (const reports: TJSReportDynArray; observer: IJSReportingObserver) of object; TReportListDynArray = IJSArray; // array of Report TResizeObserverCallback = procedure (const entries: TJSResizeObserverEntryDynArray; observer: IJSResizeObserver) of object; TGenerateAssertionCallback = function (const contents: UnicodeString; const origin: UnicodeString; const options: IJSRTCIdentityProviderOptions): IJSPromise of object; TValidateAssertionCallback = function (const assertion: UnicodeString; const origin: UnicodeString): IJSPromise of object; TRTCSessionDescriptionCallback = procedure (const description: IJSRTCSessionDescriptionInit) of object; TRTCPeerConnectionErrorCallback = procedure (error: IJSDOMException) of object; TRTCStatsCallback = procedure (report: IJSRTCStatsReport) of object; TmozPacketCallback = procedure (level: Cardinal; type_: TmozPacketDumpType; sending: Boolean; packet: IJSArrayBuffer) of object; TPeerConnectionLifecycleCallback = procedure (pc: IJSRTCPeerConnection; windowId: QWord; eventType: TRTCLifecycleEvent) of object; TRTCRtpTransform = TJSRTCRtpScriptTransform; TBigInteger = IJSUint8Array; TPromiseReturner = function : IJSPromise of object; TPromiseReturner2 = function (const arg: Variant; const arg2: UnicodeString): IJSPromise of object; TTestThrowingCallback = procedure of object; TSetDeleteObjectCallback = procedure (value: IJSObject; index: Cardinal) of object; TSetDeleteBooleanCallback = procedure (value: Boolean; index: Cardinal) of object; TSetDeleteInterfaceCallback = procedure (value: IJSTestInterfaceObservableArray; index: Cardinal) of object; TTransformerStartCallback = function (controller: IJSTransformStreamDefaultController): Variant of object; TTransformerFlushCallback = function (controller: IJSTransformStreamDefaultController): IJSPromise of object; TTransformerTransformCallback = function (const chunk: Variant; controller: IJSTransformStreamDefaultController): IJSPromise of object; TCreateHTMLCallback = function (const input: UnicodeString; const arguments: Variant): UnicodeString of object; TCreateScriptCallback = function (const input: UnicodeString; const arguments: Variant): UnicodeString of object; TCreateScriptURLCallback = function (const input: UnicodeString; const arguments: Variant): UnicodeString of object; TUnderlyingSinkStartCallback = function (controller: IJSWritableStreamDefaultController): Variant of object; TUnderlyingSinkWriteCallback = function (const chunk: Variant; controller: IJSWritableStreamDefaultController): IJSPromise of object; TUnderlyingSinkCloseCallback = function : IJSPromise of object; TUnderlyingSinkAbortCallback = function (const reason: Variant): IJSPromise of object; TUnderlyingSourceStartCallback = function (const controller: TReadableStreamController): Variant of object; TUnderlyingSourcePullCallback = function (const controller: TReadableStreamController): IJSPromise of object; TUnderlyingSourceCancelCallback = function (const reason: Variant): IJSPromise of object; TVideoFrameOutputCallback = procedure (output: IJSVideoFrame) of object; TWebCodecsErrorCallback = procedure (error: IJSDOMException) of object; TEncodedVideoChunkOutputCallback = procedure (chunk: IJSEncodedVideoChunk; const metadata: IJSEncodedVideoChunkMetadata) of object; TAuthenticationExtensionsAuthenticatorInputs = TJSObject; TAuthenticatorSelectionListDynArray = IJSArray; // array of AAGUID TAAGUID = IJSBufferSource; TWebrtcGlobalStatisticsCallback = procedure (const reports: IJSWebrtcGlobalStatisticsReport) of object; TWebrtcGlobalStatisticsHistoryPcIdsCallback = procedure (const pcIds: TUnicodeStringDynArray) of object; TWebrtcGlobalStatisticsHistoryCallback = procedure (const reports: IJSWebrtcGlobalStatisticsReport) of object; TWebrtcGlobalLoggingCallback = procedure (const logMessages: TUnicodeStringDynArray) of object; TSchedulerPostTaskCallback = function : Variant of object; TXRFrameRequestCallback = procedure (time: TDOMHighResTimeStamp; frame: IJSXRFrame) of object; TPromiseDocumentFlushedCallback = function : Variant of object; TIdleRequestCallback = procedure (deadline: IJSIdleDeadline) of object; TEventListener = procedure (event: IJSEvent) of object; TObserverCallback = procedure (observer: IJSFetchObserver) of object; TNodeFilter = function (node: IJSNode): Word of object; TXPathNSResolver = function (const prefix: UnicodeString): UnicodeString of object; { -------------------------------------------------------------------- TJSaddonInstallOptions --------------------------------------------------------------------} TJSaddonInstallOptionsRec = record url: UnicodeString; hash: UnicodeString; end; IJSaddonInstallOptions = interface(IJSObject) ['{78F417BE-7FF7-32C6-BF38-AB2C5DB861AD}'] function _Geturl: UnicodeString; function _Gethash: UnicodeString; procedure _Seturl(const aValue: UnicodeString); procedure _Sethash(const aValue: UnicodeString); property url: UnicodeString read _Geturl write _Seturl; property hash: UnicodeString read _Gethash write _Sethash; end; TJSaddonInstallOptions = class(TJSObject,IJSaddonInstallOptions) Private Protected function _Geturl: UnicodeString; function _Gethash: UnicodeString; procedure _Seturl(const aValue: UnicodeString); procedure _Sethash(const aValue: UnicodeString); Public constructor create(const aDict : TJSaddonInstallOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSaddonInstallOptions; property url: UnicodeString read _Geturl write _Seturl; property hash: UnicodeString read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSGetAnimationsOptions --------------------------------------------------------------------} TJSGetAnimationsOptionsRec = record subtree: Boolean; end; IJSGetAnimationsOptions = interface(IJSObject) ['{ACE4E4FE-AFEF-3D26-B85E-E55870F236FB}'] function _Getsubtree: Boolean; procedure _Setsubtree(const aValue: Boolean); property subtree: Boolean read _Getsubtree write _Setsubtree; end; TJSGetAnimationsOptions = class(TJSObject,IJSGetAnimationsOptions) Private Protected function _Getsubtree: Boolean; procedure _Setsubtree(const aValue: Boolean); Public constructor create(const aDict : TJSGetAnimationsOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGetAnimationsOptions; property subtree: Boolean read _Getsubtree write _Setsubtree; end; { -------------------------------------------------------------------- TJSEffectTiming --------------------------------------------------------------------} // Union of unrestricted double, DOMString TEffectTiming_duration_Type = Variant; TJSEffectTimingRec = record delay: Double; endDelay: Double; fill: TFillMode; iterationStart: Double; iterations: Double; duration: TEffectTiming_duration_Type; direction: TPlaybackDirection; easing: UTF8String; end; IJSEffectTiming = interface(IJSObject) ['{8045CA59-A48E-383F-B2B7-BC9CDEFC2434}'] function _Getdelay: Double; function _GetendDelay: Double; function _Getfill: TFillMode; function _GetiterationStart: Double; function _Getiterations: Double; function _Getduration: TEffectTiming_duration_Type; function _Getdirection: TPlaybackDirection; function _Geteasing: UTF8String; procedure _Setdelay(const aValue: Double); procedure _SetendDelay(const aValue: Double); procedure _Setfill(const aValue: TFillMode); procedure _SetiterationStart(const aValue: Double); procedure _Setiterations(const aValue: Double); procedure _Setduration(const aValue: TEffectTiming_duration_Type); procedure _Setdirection(const aValue: TPlaybackDirection); procedure _Seteasing(const aValue: UTF8String); property delay: Double read _Getdelay write _Setdelay; property endDelay: Double read _GetendDelay write _SetendDelay; property fill: TFillMode read _Getfill write _Setfill; property iterationStart: Double read _GetiterationStart write _SetiterationStart; property iterations: Double read _Getiterations write _Setiterations; property duration: TEffectTiming_duration_Type read _Getduration write _Setduration; property direction: TPlaybackDirection read _Getdirection write _Setdirection; property easing: UTF8String read _Geteasing write _Seteasing; end; TJSEffectTiming = class(TJSObject,IJSEffectTiming) Private Protected function _Getdelay: Double; function _GetendDelay: Double; function _Getfill: TFillMode; function _GetiterationStart: Double; function _Getiterations: Double; function _Getduration: TEffectTiming_duration_Type; function _Getdirection: TPlaybackDirection; function _Geteasing: UTF8String; procedure _Setdelay(const aValue: Double); procedure _SetendDelay(const aValue: Double); procedure _Setfill(const aValue: TFillMode); procedure _SetiterationStart(const aValue: Double); procedure _Setiterations(const aValue: Double); procedure _Setduration(const aValue: TEffectTiming_duration_Type); procedure _Setdirection(const aValue: TPlaybackDirection); procedure _Seteasing(const aValue: UTF8String); Public constructor create(const aDict : TJSEffectTimingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEffectTiming; property delay: Double read _Getdelay write _Setdelay; property endDelay: Double read _GetendDelay write _SetendDelay; property fill: TFillMode read _Getfill write _Setfill; property iterationStart: Double read _GetiterationStart write _SetiterationStart; property iterations: Double read _Getiterations write _Setiterations; property duration: TEffectTiming_duration_Type read _Getduration write _Setduration; property direction: TPlaybackDirection read _Getdirection write _Setdirection; property easing: UTF8String read _Geteasing write _Seteasing; end; { -------------------------------------------------------------------- TJSOptionalEffectTiming --------------------------------------------------------------------} // Union of unrestricted double, DOMString TOptionalEffectTiming_duration_Type = Variant; TJSOptionalEffectTimingRec = record delay: Double; endDelay: Double; fill: TFillMode; iterationStart: Double; iterations: Double; duration: TOptionalEffectTiming_duration_Type; direction: TPlaybackDirection; easing: UTF8String; end; IJSOptionalEffectTiming = interface(IJSObject) ['{F7082501-C3AE-37CA-99A4-8E883FB2B7BC}'] function _Getdelay: Double; function _GetendDelay: Double; function _Getfill: TFillMode; function _GetiterationStart: Double; function _Getiterations: Double; function _Getduration: TOptionalEffectTiming_duration_Type; function _Getdirection: TPlaybackDirection; function _Geteasing: UTF8String; procedure _Setdelay(const aValue: Double); procedure _SetendDelay(const aValue: Double); procedure _Setfill(const aValue: TFillMode); procedure _SetiterationStart(const aValue: Double); procedure _Setiterations(const aValue: Double); procedure _Setduration(const aValue: TOptionalEffectTiming_duration_Type); procedure _Setdirection(const aValue: TPlaybackDirection); procedure _Seteasing(const aValue: UTF8String); property delay: Double read _Getdelay write _Setdelay; property endDelay: Double read _GetendDelay write _SetendDelay; property fill: TFillMode read _Getfill write _Setfill; property iterationStart: Double read _GetiterationStart write _SetiterationStart; property iterations: Double read _Getiterations write _Setiterations; property duration: TOptionalEffectTiming_duration_Type read _Getduration write _Setduration; property direction: TPlaybackDirection read _Getdirection write _Setdirection; property easing: UTF8String read _Geteasing write _Seteasing; end; TJSOptionalEffectTiming = class(TJSObject,IJSOptionalEffectTiming) Private Protected function _Getdelay: Double; function _GetendDelay: Double; function _Getfill: TFillMode; function _GetiterationStart: Double; function _Getiterations: Double; function _Getduration: TOptionalEffectTiming_duration_Type; function _Getdirection: TPlaybackDirection; function _Geteasing: UTF8String; procedure _Setdelay(const aValue: Double); procedure _SetendDelay(const aValue: Double); procedure _Setfill(const aValue: TFillMode); procedure _SetiterationStart(const aValue: Double); procedure _Setiterations(const aValue: Double); procedure _Setduration(const aValue: TOptionalEffectTiming_duration_Type); procedure _Setdirection(const aValue: TPlaybackDirection); procedure _Seteasing(const aValue: UTF8String); Public constructor create(const aDict : TJSOptionalEffectTimingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOptionalEffectTiming; property delay: Double read _Getdelay write _Setdelay; property endDelay: Double read _GetendDelay write _SetendDelay; property fill: TFillMode read _Getfill write _Setfill; property iterationStart: Double read _GetiterationStart write _SetiterationStart; property iterations: Double read _Getiterations write _Setiterations; property duration: TOptionalEffectTiming_duration_Type read _Getduration write _Setduration; property direction: TPlaybackDirection read _Getdirection write _Setdirection; property easing: UTF8String read _Geteasing write _Seteasing; end; { -------------------------------------------------------------------- TJSAppInfo --------------------------------------------------------------------} TJSAppInfoRec = record path: UnicodeString; isCoreApp: Boolean; end; IJSAppInfo = interface(IJSObject) ['{BE7FE99D-E1A9-3D7A-836C-6B680DAD8965}'] function _Getpath: UnicodeString; function _GetisCoreApp: Boolean; procedure _Setpath(const aValue: UnicodeString); procedure _SetisCoreApp(const aValue: Boolean); property path: UnicodeString read _Getpath write _Setpath; property isCoreApp: Boolean read _GetisCoreApp write _SetisCoreApp; end; TJSAppInfo = class(TJSObject,IJSAppInfo) Private Protected function _Getpath: UnicodeString; function _GetisCoreApp: Boolean; procedure _Setpath(const aValue: UnicodeString); procedure _SetisCoreApp(const aValue: Boolean); Public constructor create(const aDict : TJSAppInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAppInfo; property path: UnicodeString read _Getpath write _Setpath; property isCoreApp: Boolean read _GetisCoreApp write _SetisCoreApp; end; { -------------------------------------------------------------------- TJSAppNotificationServiceOptions --------------------------------------------------------------------} TJSAppNotificationServiceOptionsRec = record textClickable: Boolean; manifestURL: UnicodeString; id: UnicodeString; dbId: UnicodeString; dir: UnicodeString; lang: UnicodeString; tag: UnicodeString; data: UnicodeString; mozbehavior: TJSNotificationBehavior; end; IJSAppNotificationServiceOptions = interface(IJSObject) ['{19012140-08CE-352F-85AC-6E83F8D6B92A}'] function _GettextClickable: Boolean; function _GetmanifestURL: UnicodeString; function _Getid: UnicodeString; function _GetdbId: UnicodeString; function _Getdir: UnicodeString; function _Getlang: UnicodeString; function _Gettag: UnicodeString; function _Getdata: UnicodeString; function _Getmozbehavior: IJSNotificationBehavior; procedure _SettextClickable(const aValue: Boolean); procedure _SetmanifestURL(const aValue: UnicodeString); procedure _Setid(const aValue: UnicodeString); procedure _SetdbId(const aValue: UnicodeString); procedure _Setdir(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Settag(const aValue: UnicodeString); procedure _Setdata(const aValue: UnicodeString); procedure _Setmozbehavior(const aValue: IJSNotificationBehavior); property textClickable: Boolean read _GettextClickable write _SettextClickable; property manifestURL: UnicodeString read _GetmanifestURL write _SetmanifestURL; property id: UnicodeString read _Getid write _Setid; property dbId: UnicodeString read _GetdbId write _SetdbId; property dir: UnicodeString read _Getdir write _Setdir; property lang: UnicodeString read _Getlang write _Setlang; property tag: UnicodeString read _Gettag write _Settag; property data: UnicodeString read _Getdata write _Setdata; property mozbehavior: IJSNotificationBehavior read _Getmozbehavior write _Setmozbehavior; end; TJSAppNotificationServiceOptions = class(TJSObject,IJSAppNotificationServiceOptions) Private Protected function _GettextClickable: Boolean; function _GetmanifestURL: UnicodeString; function _Getid: UnicodeString; function _GetdbId: UnicodeString; function _Getdir: UnicodeString; function _Getlang: UnicodeString; function _Gettag: UnicodeString; function _Getdata: UnicodeString; function _Getmozbehavior: IJSNotificationBehavior; procedure _SettextClickable(const aValue: Boolean); procedure _SetmanifestURL(const aValue: UnicodeString); procedure _Setid(const aValue: UnicodeString); procedure _SetdbId(const aValue: UnicodeString); procedure _Setdir(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Settag(const aValue: UnicodeString); procedure _Setdata(const aValue: UnicodeString); procedure _Setmozbehavior(const aValue: IJSNotificationBehavior); Public constructor create(const aDict : TJSAppNotificationServiceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAppNotificationServiceOptions; property textClickable: Boolean read _GettextClickable write _SettextClickable; property manifestURL: UnicodeString read _GetmanifestURL write _SetmanifestURL; property id: UnicodeString read _Getid write _Setid; property dbId: UnicodeString read _GetdbId write _SetdbId; property dir: UnicodeString read _Getdir write _Setdir; property lang: UnicodeString read _Getlang write _Setlang; property tag: UnicodeString read _Gettag write _Settag; property data: UnicodeString read _Getdata write _Setdata; property mozbehavior: IJSNotificationBehavior read _Getmozbehavior write _Setmozbehavior; end; { -------------------------------------------------------------------- TJSScrollFrameDataEntry --------------------------------------------------------------------} TJSScrollFrameDataEntryRec = record key: UnicodeString; value: UnicodeString; end; IJSScrollFrameDataEntry = interface(IJSObject) ['{2ED6F823-6DFD-3EF8-8B0C-093AC483B224}'] function _Getkey: UnicodeString; function _Getvalue: UnicodeString; procedure _Setkey(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); property key: UnicodeString read _Getkey write _Setkey; property value: UnicodeString read _Getvalue write _Setvalue; end; TJSScrollFrameDataEntry = class(TJSObject,IJSScrollFrameDataEntry) Private Protected function _Getkey: UnicodeString; function _Getvalue: UnicodeString; procedure _Setkey(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); Public constructor create(const aDict : TJSScrollFrameDataEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollFrameDataEntry; property key: UnicodeString read _Getkey write _Setkey; property value: UnicodeString read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSScrollFrameData --------------------------------------------------------------------} TJSScrollFrameDataEntryDynArray = IJSArray; // array of ScrollFrameDataEntry TJSScrollFrameDataRec = record scrollId: QWord; entries: TJSScrollFrameDataEntryDynArray; end; IJSScrollFrameData = interface(IJSObject) ['{0DC2C610-B9D5-3FE6-B034-160ABE5A7963}'] function _GetscrollId: QWord; function _Getentries: TJSScrollFrameDataEntryDynArray; procedure _SetscrollId(const aValue: QWord); procedure _Setentries(const aValue: TJSScrollFrameDataEntryDynArray); property scrollId: QWord read _GetscrollId write _SetscrollId; property entries: TJSScrollFrameDataEntryDynArray read _Getentries write _Setentries; end; TJSScrollFrameData = class(TJSObject,IJSScrollFrameData) Private Protected function _GetscrollId: QWord; function _Getentries: TJSScrollFrameDataEntryDynArray; procedure _SetscrollId(const aValue: QWord); procedure _Setentries(const aValue: TJSScrollFrameDataEntryDynArray); Public constructor create(const aDict : TJSScrollFrameDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollFrameData; property scrollId: QWord read _GetscrollId write _SetscrollId; property entries: TJSScrollFrameDataEntryDynArray read _Getentries write _Setentries; end; { -------------------------------------------------------------------- TJSAPZBucket --------------------------------------------------------------------} TJSScrollFrameDataDynArray = IJSArray; // array of ScrollFrameData TJSAPZBucketRec = record sequenceNumber: Cardinal; scrollFrames: TJSScrollFrameDataDynArray; end; IJSAPZBucket = interface(IJSObject) ['{BCE15B47-CD0D-3B3B-8AFC-6A6AE595683E}'] function _GetsequenceNumber: Cardinal; function _GetscrollFrames: TJSScrollFrameDataDynArray; procedure _SetsequenceNumber(const aValue: Cardinal); procedure _SetscrollFrames(const aValue: TJSScrollFrameDataDynArray); property sequenceNumber: Cardinal read _GetsequenceNumber write _SetsequenceNumber; property scrollFrames: TJSScrollFrameDataDynArray read _GetscrollFrames write _SetscrollFrames; end; TJSAPZBucket = class(TJSObject,IJSAPZBucket) Private Protected function _GetsequenceNumber: Cardinal; function _GetscrollFrames: TJSScrollFrameDataDynArray; procedure _SetsequenceNumber(const aValue: Cardinal); procedure _SetscrollFrames(const aValue: TJSScrollFrameDataDynArray); Public constructor create(const aDict : TJSAPZBucketRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAPZBucket; property sequenceNumber: Cardinal read _GetsequenceNumber write _SetsequenceNumber; property scrollFrames: TJSScrollFrameDataDynArray read _GetscrollFrames write _SetscrollFrames; end; { -------------------------------------------------------------------- TJSAPZHitResult --------------------------------------------------------------------} TJSAPZHitResultRec = record screenX: Single; screenY: Single; hitResult: Word; layersId: QWord; scrollId: QWord; end; IJSAPZHitResult = interface(IJSObject) ['{893D0F89-F366-3F18-B05A-7E7F7A34F160}'] function _GetscreenX: Single; function _GetscreenY: Single; function _GethitResult: Word; function _GetlayersId: QWord; function _GetscrollId: QWord; procedure _SetscreenX(const aValue: Single); procedure _SetscreenY(const aValue: Single); procedure _SethitResult(const aValue: Word); procedure _SetlayersId(const aValue: QWord); procedure _SetscrollId(const aValue: QWord); property screenX: Single read _GetscreenX write _SetscreenX; property screenY: Single read _GetscreenY write _SetscreenY; property hitResult: Word read _GethitResult write _SethitResult; property layersId: QWord read _GetlayersId write _SetlayersId; property scrollId: QWord read _GetscrollId write _SetscrollId; end; TJSAPZHitResult = class(TJSObject,IJSAPZHitResult) Private Protected function _GetscreenX: Single; function _GetscreenY: Single; function _GethitResult: Word; function _GetlayersId: QWord; function _GetscrollId: QWord; procedure _SetscreenX(const aValue: Single); procedure _SetscreenY(const aValue: Single); procedure _SethitResult(const aValue: Word); procedure _SetlayersId(const aValue: QWord); procedure _SetscrollId(const aValue: QWord); Public constructor create(const aDict : TJSAPZHitResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAPZHitResult; property screenX: Single read _GetscreenX write _SetscreenX; property screenY: Single read _GetscreenY write _SetscreenY; property hitResult: Word read _GethitResult write _SethitResult; property layersId: QWord read _GetlayersId write _SetlayersId; property scrollId: QWord read _GetscrollId write _SetscrollId; end; { -------------------------------------------------------------------- TJSAPZSampledResult --------------------------------------------------------------------} TJSAPZSampledResultRec = record scrollOffsetX: Single; scrollOffsetY: Single; sampledTimeStamp: TDOMHighResTimeStamp; layersId: QWord; scrollId: QWord; end; IJSAPZSampledResult = interface(IJSObject) ['{B53B533A-E262-36EC-BA1D-3E71071AFC9D}'] function _GetscrollOffsetX: Single; function _GetscrollOffsetY: Single; function _GetsampledTimeStamp: TDOMHighResTimeStamp; function _GetlayersId: QWord; function _GetscrollId: QWord; procedure _SetscrollOffsetX(const aValue: Single); procedure _SetscrollOffsetY(const aValue: Single); procedure _SetsampledTimeStamp(const aValue: TDOMHighResTimeStamp); procedure _SetlayersId(const aValue: QWord); procedure _SetscrollId(const aValue: QWord); property scrollOffsetX: Single read _GetscrollOffsetX write _SetscrollOffsetX; property scrollOffsetY: Single read _GetscrollOffsetY write _SetscrollOffsetY; property sampledTimeStamp: TDOMHighResTimeStamp read _GetsampledTimeStamp write _SetsampledTimeStamp; property layersId: QWord read _GetlayersId write _SetlayersId; property scrollId: QWord read _GetscrollId write _SetscrollId; end; TJSAPZSampledResult = class(TJSObject,IJSAPZSampledResult) Private Protected function _GetscrollOffsetX: Single; function _GetscrollOffsetY: Single; function _GetsampledTimeStamp: TDOMHighResTimeStamp; function _GetlayersId: QWord; function _GetscrollId: QWord; procedure _SetscrollOffsetX(const aValue: Single); procedure _SetscrollOffsetY(const aValue: Single); procedure _SetsampledTimeStamp(const aValue: TDOMHighResTimeStamp); procedure _SetlayersId(const aValue: QWord); procedure _SetscrollId(const aValue: QWord); Public constructor create(const aDict : TJSAPZSampledResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAPZSampledResult; property scrollOffsetX: Single read _GetscrollOffsetX write _SetscrollOffsetX; property scrollOffsetY: Single read _GetscrollOffsetY write _SetscrollOffsetY; property sampledTimeStamp: TDOMHighResTimeStamp read _GetsampledTimeStamp write _SetsampledTimeStamp; property layersId: QWord read _GetlayersId write _SetlayersId; property scrollId: QWord read _GetscrollId write _SetscrollId; end; { -------------------------------------------------------------------- TJSAdditionalDataEntry --------------------------------------------------------------------} TJSAdditionalDataEntryRec = record key: UnicodeString; value: UnicodeString; end; IJSAdditionalDataEntry = interface(IJSObject) ['{0EDB9CBE-C5F8-379B-9EFD-2677AFD383B9}'] function _Getkey: UnicodeString; function _Getvalue: UnicodeString; procedure _Setkey(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); property key: UnicodeString read _Getkey write _Setkey; property value: UnicodeString read _Getvalue write _Setvalue; end; TJSAdditionalDataEntry = class(TJSObject,IJSAdditionalDataEntry) Private Protected function _Getkey: UnicodeString; function _Getvalue: UnicodeString; procedure _Setkey(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); Public constructor create(const aDict : TJSAdditionalDataEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAdditionalDataEntry; property key: UnicodeString read _Getkey write _Setkey; property value: UnicodeString read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSAPZTestData --------------------------------------------------------------------} TJSAPZBucketDynArray = IJSArray; // array of APZBucket TJSAPZHitResultDynArray = IJSArray; // array of APZHitResult TJSAPZSampledResultDynArray = IJSArray; // array of APZSampledResult TJSAdditionalDataEntryDynArray = IJSArray; // array of AdditionalDataEntry TJSAPZTestDataRec = record paints: TJSAPZBucketDynArray; repaintRequests: TJSAPZBucketDynArray; hitResults: TJSAPZHitResultDynArray; sampledResults: TJSAPZSampledResultDynArray; additionalData: TJSAdditionalDataEntryDynArray; end; IJSAPZTestData = interface(IJSObject) ['{A5EE3B98-288B-3D24-8675-5A488CCFB30B}'] function _Getpaints: TJSAPZBucketDynArray; function _GetrepaintRequests: TJSAPZBucketDynArray; function _GethitResults: TJSAPZHitResultDynArray; function _GetsampledResults: TJSAPZSampledResultDynArray; function _GetadditionalData: TJSAdditionalDataEntryDynArray; procedure _Setpaints(const aValue: TJSAPZBucketDynArray); procedure _SetrepaintRequests(const aValue: TJSAPZBucketDynArray); procedure _SethitResults(const aValue: TJSAPZHitResultDynArray); procedure _SetsampledResults(const aValue: TJSAPZSampledResultDynArray); procedure _SetadditionalData(const aValue: TJSAdditionalDataEntryDynArray); property paints: TJSAPZBucketDynArray read _Getpaints write _Setpaints; property repaintRequests: TJSAPZBucketDynArray read _GetrepaintRequests write _SetrepaintRequests; property hitResults: TJSAPZHitResultDynArray read _GethitResults write _SethitResults; property sampledResults: TJSAPZSampledResultDynArray read _GetsampledResults write _SetsampledResults; property additionalData: TJSAdditionalDataEntryDynArray read _GetadditionalData write _SetadditionalData; end; TJSAPZTestData = class(TJSObject,IJSAPZTestData) Private Protected function _Getpaints: TJSAPZBucketDynArray; function _GetrepaintRequests: TJSAPZBucketDynArray; function _GethitResults: TJSAPZHitResultDynArray; function _GetsampledResults: TJSAPZSampledResultDynArray; function _GetadditionalData: TJSAdditionalDataEntryDynArray; procedure _Setpaints(const aValue: TJSAPZBucketDynArray); procedure _SetrepaintRequests(const aValue: TJSAPZBucketDynArray); procedure _SethitResults(const aValue: TJSAPZHitResultDynArray); procedure _SetsampledResults(const aValue: TJSAPZSampledResultDynArray); procedure _SetadditionalData(const aValue: TJSAdditionalDataEntryDynArray); Public constructor create(const aDict : TJSAPZTestDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAPZTestData; property paints: TJSAPZBucketDynArray read _Getpaints write _Setpaints; property repaintRequests: TJSAPZBucketDynArray read _GetrepaintRequests write _SetrepaintRequests; property hitResults: TJSAPZHitResultDynArray read _GethitResults write _SethitResults; property sampledResults: TJSAPZSampledResultDynArray read _GetsampledResults write _SetsampledResults; property additionalData: TJSAdditionalDataEntryDynArray read _GetadditionalData write _SetadditionalData; end; { -------------------------------------------------------------------- TJSFrameUniformity --------------------------------------------------------------------} TJSFrameUniformityRec = record layerAddress: Cardinal; frameUniformity: Single; end; IJSFrameUniformity = interface(IJSObject) ['{43C2BB98-0818-3D49-8A2B-6E76D2B6F79D}'] function _GetlayerAddress: Cardinal; function _GetframeUniformity: Single; procedure _SetlayerAddress(const aValue: Cardinal); procedure _SetframeUniformity(const aValue: Single); property layerAddress: Cardinal read _GetlayerAddress write _SetlayerAddress; property frameUniformity: Single read _GetframeUniformity write _SetframeUniformity; end; TJSFrameUniformity = class(TJSObject,IJSFrameUniformity) Private Protected function _GetlayerAddress: Cardinal; function _GetframeUniformity: Single; procedure _SetlayerAddress(const aValue: Cardinal); procedure _SetframeUniformity(const aValue: Single); Public constructor create(const aDict : TJSFrameUniformityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFrameUniformity; property layerAddress: Cardinal read _GetlayerAddress write _SetlayerAddress; property frameUniformity: Single read _GetframeUniformity write _SetframeUniformity; end; { -------------------------------------------------------------------- TJSFrameUniformityResults --------------------------------------------------------------------} TJSFrameUniformityDynArray = IJSArray; // array of FrameUniformity TJSFrameUniformityResultsRec = record layerUniformities: TJSFrameUniformityDynArray; end; IJSFrameUniformityResults = interface(IJSObject) ['{22827500-C134-3C54-A0DB-49BDA30A5F7E}'] function _GetlayerUniformities: TJSFrameUniformityDynArray; procedure _SetlayerUniformities(const aValue: TJSFrameUniformityDynArray); property layerUniformities: TJSFrameUniformityDynArray read _GetlayerUniformities write _SetlayerUniformities; end; TJSFrameUniformityResults = class(TJSObject,IJSFrameUniformityResults) Private Protected function _GetlayerUniformities: TJSFrameUniformityDynArray; procedure _SetlayerUniformities(const aValue: TJSFrameUniformityDynArray); Public constructor create(const aDict : TJSFrameUniformityResultsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFrameUniformityResults; property layerUniformities: TJSFrameUniformityDynArray read _GetlayerUniformities write _SetlayerUniformities; end; { -------------------------------------------------------------------- TJSAudioBufferOptions --------------------------------------------------------------------} TJSAudioBufferOptionsRec = record numberOfChannels: Cardinal; length_: Cardinal; sampleRate: Single; end; IJSAudioBufferOptions = interface(IJSObject) ['{F05FFBCA-EAE6-35BB-87E2-5E099770288B}'] function _GetnumberOfChannels: Cardinal; function _Getlength_: Cardinal; function _GetsampleRate: Single; procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetsampleRate(const aValue: Single); property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property length_: Cardinal read _Getlength_ write _Setlength_; property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; TJSAudioBufferOptions = class(TJSObject,IJSAudioBufferOptions) Private Protected function _GetnumberOfChannels: Cardinal; function _Getlength_: Cardinal; function _GetsampleRate: Single; procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetsampleRate(const aValue: Single); Public constructor create(const aDict : TJSAudioBufferOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioBufferOptions; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property length_: Cardinal read _Getlength_ write _Setlength_; property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; { -------------------------------------------------------------------- TJSAudioBufferSourceOptions --------------------------------------------------------------------} TJSAudioBufferSourceOptionsRec = record buffer: TJSAudioBuffer; detune: Single; loop: Boolean; loopEnd: Double; loopStart: Double; playbackRate: Single; end; IJSAudioBufferSourceOptions = interface(IJSObject) ['{48151194-905C-3634-AB55-2A35842EAA35}'] function _Getbuffer: IJSAudioBuffer; function _Getdetune: Single; function _Getloop: Boolean; function _GetloopEnd: Double; function _GetloopStart: Double; function _GetplaybackRate: Single; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setdetune(const aValue: Single); procedure _Setloop(const aValue: Boolean); procedure _SetloopEnd(const aValue: Double); procedure _SetloopStart(const aValue: Double); procedure _SetplaybackRate(const aValue: Single); property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property detune: Single read _Getdetune write _Setdetune; property loop: Boolean read _Getloop write _Setloop; property loopEnd: Double read _GetloopEnd write _SetloopEnd; property loopStart: Double read _GetloopStart write _SetloopStart; property playbackRate: Single read _GetplaybackRate write _SetplaybackRate; end; TJSAudioBufferSourceOptions = class(TJSObject,IJSAudioBufferSourceOptions) Private Protected function _Getbuffer: IJSAudioBuffer; function _Getdetune: Single; function _Getloop: Boolean; function _GetloopEnd: Double; function _GetloopStart: Double; function _GetplaybackRate: Single; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setdetune(const aValue: Single); procedure _Setloop(const aValue: Boolean); procedure _SetloopEnd(const aValue: Double); procedure _SetloopStart(const aValue: Double); procedure _SetplaybackRate(const aValue: Single); Public constructor create(const aDict : TJSAudioBufferSourceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioBufferSourceOptions; property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property detune: Single read _Getdetune write _Setdetune; property loop: Boolean read _Getloop write _Setloop; property loopEnd: Double read _GetloopEnd write _SetloopEnd; property loopStart: Double read _GetloopStart write _SetloopStart; property playbackRate: Single read _GetplaybackRate write _SetplaybackRate; end; { -------------------------------------------------------------------- TJSAudioContextOptions --------------------------------------------------------------------} TJSAudioContextOptionsRec = record sampleRate: Single; end; IJSAudioContextOptions = interface(IJSObject) ['{70703266-C0C8-38C8-B038-AB2C5DC36041}'] function _GetsampleRate: Single; procedure _SetsampleRate(const aValue: Single); property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; TJSAudioContextOptions = class(TJSObject,IJSAudioContextOptions) Private Protected function _GetsampleRate: Single; procedure _SetsampleRate(const aValue: Single); Public constructor create(const aDict : TJSAudioContextOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioContextOptions; property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; { -------------------------------------------------------------------- TJSAudioTimestamp --------------------------------------------------------------------} TJSAudioTimestampRec = record contextTime: Double; performanceTime: TDOMHighResTimeStamp; end; IJSAudioTimestamp = interface(IJSObject) ['{A5CAD830-A09B-35C6-82D1-5823105E9A82}'] function _GetcontextTime: Double; function _GetperformanceTime: TDOMHighResTimeStamp; procedure _SetcontextTime(const aValue: Double); procedure _SetperformanceTime(const aValue: TDOMHighResTimeStamp); property contextTime: Double read _GetcontextTime write _SetcontextTime; property performanceTime: TDOMHighResTimeStamp read _GetperformanceTime write _SetperformanceTime; end; TJSAudioTimestamp = class(TJSObject,IJSAudioTimestamp) Private Protected function _GetcontextTime: Double; function _GetperformanceTime: TDOMHighResTimeStamp; procedure _SetcontextTime(const aValue: Double); procedure _SetperformanceTime(const aValue: TDOMHighResTimeStamp); Public constructor create(const aDict : TJSAudioTimestampRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioTimestamp; property contextTime: Double read _GetcontextTime write _SetcontextTime; property performanceTime: TDOMHighResTimeStamp read _GetperformanceTime write _SetperformanceTime; end; { -------------------------------------------------------------------- TJSAudioDataInit --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TAudioDataInit_data_Type = Variant; TIJSArrayBufferDynArray = IJSArray; // array of ArrayBuffer TJSAudioDataInitRec = record format: TAudioSampleFormat; sampleRate: Single; numberOfFrames: Cardinal; numberOfChannels: Cardinal; timestamp: Int64; data: TAudioDataInit_data_Type; transfer: TIJSArrayBufferDynArray; end; IJSAudioDataInit = interface(IJSObject) ['{6A12983B-D453-3A05-ABAF-2E00F3AC98F5}'] function _Getformat: TAudioSampleFormat; function _GetsampleRate: Single; function _GetnumberOfFrames: Cardinal; function _GetnumberOfChannels: Cardinal; function _Gettimestamp: Int64; function _Getdata: TAudioDataInit_data_Type; function _Gettransfer: TIJSArrayBufferDynArray; procedure _Setformat(const aValue: TAudioSampleFormat); procedure _SetsampleRate(const aValue: Single); procedure _SetnumberOfFrames(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Settimestamp(const aValue: Int64); procedure _Setdata(const aValue: TAudioDataInit_data_Type); procedure _Settransfer(const aValue: TIJSArrayBufferDynArray); property format: TAudioSampleFormat read _Getformat write _Setformat; property sampleRate: Single read _GetsampleRate write _SetsampleRate; property numberOfFrames: Cardinal read _GetnumberOfFrames write _SetnumberOfFrames; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property data: TAudioDataInit_data_Type read _Getdata write _Setdata; property transfer: TIJSArrayBufferDynArray read _Gettransfer write _Settransfer; end; TJSAudioDataInit = class(TJSObject,IJSAudioDataInit) Private Protected function _Getformat: TAudioSampleFormat; function _GetsampleRate: Single; function _GetnumberOfFrames: Cardinal; function _GetnumberOfChannels: Cardinal; function _Gettimestamp: Int64; function _Getdata: TAudioDataInit_data_Type; function _Gettransfer: TIJSArrayBufferDynArray; procedure _Setformat(const aValue: TAudioSampleFormat); procedure _SetsampleRate(const aValue: Single); procedure _SetnumberOfFrames(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Settimestamp(const aValue: Int64); procedure _Setdata(const aValue: TAudioDataInit_data_Type); procedure _Settransfer(const aValue: TIJSArrayBufferDynArray); Public constructor create(const aDict : TJSAudioDataInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDataInit; property format: TAudioSampleFormat read _Getformat write _Setformat; property sampleRate: Single read _GetsampleRate write _SetsampleRate; property numberOfFrames: Cardinal read _GetnumberOfFrames write _SetnumberOfFrames; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property data: TAudioDataInit_data_Type read _Getdata write _Setdata; property transfer: TIJSArrayBufferDynArray read _Gettransfer write _Settransfer; end; { -------------------------------------------------------------------- TJSAudioDataCopyToOptions --------------------------------------------------------------------} TJSAudioDataCopyToOptionsRec = record planeIndex: Cardinal; frameOffset: Cardinal; frameCount: Cardinal; format: TAudioSampleFormat; end; IJSAudioDataCopyToOptions = interface(IJSObject) ['{21CABF44-B579-306F-B790-390BE2964B0D}'] function _GetplaneIndex: Cardinal; function _GetframeOffset: Cardinal; function _GetframeCount: Cardinal; function _Getformat: TAudioSampleFormat; procedure _SetplaneIndex(const aValue: Cardinal); procedure _SetframeOffset(const aValue: Cardinal); procedure _SetframeCount(const aValue: Cardinal); procedure _Setformat(const aValue: TAudioSampleFormat); property planeIndex: Cardinal read _GetplaneIndex write _SetplaneIndex; property frameOffset: Cardinal read _GetframeOffset write _SetframeOffset; property frameCount: Cardinal read _GetframeCount write _SetframeCount; property format: TAudioSampleFormat read _Getformat write _Setformat; end; TJSAudioDataCopyToOptions = class(TJSObject,IJSAudioDataCopyToOptions) Private Protected function _GetplaneIndex: Cardinal; function _GetframeOffset: Cardinal; function _GetframeCount: Cardinal; function _Getformat: TAudioSampleFormat; procedure _SetplaneIndex(const aValue: Cardinal); procedure _SetframeOffset(const aValue: Cardinal); procedure _SetframeCount(const aValue: Cardinal); procedure _Setformat(const aValue: TAudioSampleFormat); Public constructor create(const aDict : TJSAudioDataCopyToOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDataCopyToOptions; property planeIndex: Cardinal read _GetplaneIndex write _SetplaneIndex; property frameOffset: Cardinal read _GetframeOffset write _SetframeOffset; property frameCount: Cardinal read _GetframeCount write _SetframeCount; property format: TAudioSampleFormat read _Getformat write _Setformat; end; { -------------------------------------------------------------------- TJSAudioDecoderInit --------------------------------------------------------------------} TJSAudioDecoderInitRec = record output: TAudioDataOutputCallback; error: TWebCodecsErrorCallback; end; IJSAudioDecoderInit = interface(IJSObject) ['{0E8976E5-E963-3DD7-A533-241C74BC299E}'] function _Getoutput: TAudioDataOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TAudioDataOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); property output: TAudioDataOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; TJSAudioDecoderInit = class(TJSObject,IJSAudioDecoderInit) Private Protected function _Getoutput: TAudioDataOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TAudioDataOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); Public constructor create(const aDict : TJSAudioDecoderInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDecoderInit; property output: TAudioDataOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSAudioDecoderSupport --------------------------------------------------------------------} TJSAudioDecoderSupportRec = record supported: Boolean; config: TJSAudioDecoderConfig; end; IJSAudioDecoderSupport = interface(IJSObject) ['{41DA73DA-A527-31F8-A4FD-D23A5FB7D06D}'] function _Getsupported: Boolean; function _Getconfig: IJSAudioDecoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSAudioDecoderConfig); property supported: Boolean read _Getsupported write _Setsupported; property config: IJSAudioDecoderConfig read _Getconfig write _Setconfig; end; TJSAudioDecoderSupport = class(TJSObject,IJSAudioDecoderSupport) Private Protected function _Getsupported: Boolean; function _Getconfig: IJSAudioDecoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSAudioDecoderConfig); Public constructor create(const aDict : TJSAudioDecoderSupportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDecoderSupport; property supported: Boolean read _Getsupported write _Setsupported; property config: IJSAudioDecoderConfig read _Getconfig write _Setconfig; end; { -------------------------------------------------------------------- TJSAudioDecoderConfig --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TAudioDecoderConfig_description_Type = Variant; TJSAudioDecoderConfigRec = record codec: UnicodeString; sampleRate: Cardinal; numberOfChannels: Cardinal; description: TAudioDecoderConfig_description_Type; end; IJSAudioDecoderConfig = interface(IJSObject) ['{5B492ED4-F100-31FB-A4E4-904AC508C283}'] function _Getcodec: UnicodeString; function _GetsampleRate: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getdescription: TAudioDecoderConfig_description_Type; procedure _Setcodec(const aValue: UnicodeString); procedure _SetsampleRate(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setdescription(const aValue: TAudioDecoderConfig_description_Type); property codec: UnicodeString read _Getcodec write _Setcodec; property sampleRate: Cardinal read _GetsampleRate write _SetsampleRate; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property description: TAudioDecoderConfig_description_Type read _Getdescription write _Setdescription; end; TJSAudioDecoderConfig = class(TJSObject,IJSAudioDecoderConfig) Private Protected function _Getcodec: UnicodeString; function _GetsampleRate: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getdescription: TAudioDecoderConfig_description_Type; procedure _Setcodec(const aValue: UnicodeString); procedure _SetsampleRate(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setdescription(const aValue: TAudioDecoderConfig_description_Type); Public constructor create(const aDict : TJSAudioDecoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDecoderConfig; property codec: UnicodeString read _Getcodec write _Setcodec; property sampleRate: Cardinal read _GetsampleRate write _SetsampleRate; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property description: TAudioDecoderConfig_description_Type read _Getdescription write _Setdescription; end; { -------------------------------------------------------------------- TJSAudioEncoderSupport --------------------------------------------------------------------} TJSAudioEncoderSupportRec = record supported: Boolean; config: TJSAudioEncoderConfig; end; IJSAudioEncoderSupport = interface(IJSObject) ['{41DA73DA-A531-31F8-A4FD-D23A5FB7D06D}'] function _Getsupported: Boolean; function _Getconfig: IJSAudioEncoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSAudioEncoderConfig); property supported: Boolean read _Getsupported write _Setsupported; property config: IJSAudioEncoderConfig read _Getconfig write _Setconfig; end; TJSAudioEncoderSupport = class(TJSObject,IJSAudioEncoderSupport) Private Protected function _Getsupported: Boolean; function _Getconfig: IJSAudioEncoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSAudioEncoderConfig); Public constructor create(const aDict : TJSAudioEncoderSupportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioEncoderSupport; property supported: Boolean read _Getsupported write _Setsupported; property config: IJSAudioEncoderConfig read _Getconfig write _Setconfig; end; { -------------------------------------------------------------------- TJSAudioEncoderConfig --------------------------------------------------------------------} TJSAudioEncoderConfigRec = record codec: UnicodeString; sampleRate: Cardinal; numberOfChannels: Cardinal; bitrate: QWord; bitrateMode: TBitrateMode; opus: TJSOpusEncoderConfig; end; IJSAudioEncoderConfig = interface(IJSObject) ['{7236C925-22ED-3AAA-A61A-9D598F1B1592}'] function _Getcodec: UnicodeString; function _GetsampleRate: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getbitrate: QWord; function _GetbitrateMode: TBitrateMode; function _Getopus: IJSOpusEncoderConfig; procedure _Setcodec(const aValue: UnicodeString); procedure _SetsampleRate(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _SetbitrateMode(const aValue: TBitrateMode); procedure _Setopus(const aValue: IJSOpusEncoderConfig); property codec: UnicodeString read _Getcodec write _Setcodec; property sampleRate: Cardinal read _GetsampleRate write _SetsampleRate; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property bitrate: QWord read _Getbitrate write _Setbitrate; property bitrateMode: TBitrateMode read _GetbitrateMode write _SetbitrateMode; property opus: IJSOpusEncoderConfig read _Getopus write _Setopus; end; TJSAudioEncoderConfig = class(TJSObject,IJSAudioEncoderConfig) Private Protected function _Getcodec: UnicodeString; function _GetsampleRate: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getbitrate: QWord; function _GetbitrateMode: TBitrateMode; function _Getopus: IJSOpusEncoderConfig; procedure _Setcodec(const aValue: UnicodeString); procedure _SetsampleRate(const aValue: Cardinal); procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _SetbitrateMode(const aValue: TBitrateMode); procedure _Setopus(const aValue: IJSOpusEncoderConfig); Public constructor create(const aDict : TJSAudioEncoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioEncoderConfig; property codec: UnicodeString read _Getcodec write _Setcodec; property sampleRate: Cardinal read _GetsampleRate write _SetsampleRate; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property bitrate: QWord read _Getbitrate write _Setbitrate; property bitrateMode: TBitrateMode read _GetbitrateMode write _SetbitrateMode; property opus: IJSOpusEncoderConfig read _Getopus write _Setopus; end; { -------------------------------------------------------------------- TJSOpusEncoderConfig --------------------------------------------------------------------} TJSOpusEncoderConfigRec = record format: TOpusBitstreamFormat; frameDuration: QWord; complexity: Cardinal; packetlossperc: Cardinal; useinbandfec: Boolean; usedtx: Boolean; end; IJSOpusEncoderConfig = interface(IJSObject) ['{39879995-3A1C-31B2-A51F-A814795EB275}'] function _Getformat: TOpusBitstreamFormat; function _GetframeDuration: QWord; function _Getcomplexity: Cardinal; function _Getpacketlossperc: Cardinal; function _Getuseinbandfec: Boolean; function _Getusedtx: Boolean; procedure _Setformat(const aValue: TOpusBitstreamFormat); procedure _SetframeDuration(const aValue: QWord); procedure _Setcomplexity(const aValue: Cardinal); procedure _Setpacketlossperc(const aValue: Cardinal); procedure _Setuseinbandfec(const aValue: Boolean); procedure _Setusedtx(const aValue: Boolean); property format: TOpusBitstreamFormat read _Getformat write _Setformat; property frameDuration: QWord read _GetframeDuration write _SetframeDuration; property complexity: Cardinal read _Getcomplexity write _Setcomplexity; property packetlossperc: Cardinal read _Getpacketlossperc write _Setpacketlossperc; property useinbandfec: Boolean read _Getuseinbandfec write _Setuseinbandfec; property usedtx: Boolean read _Getusedtx write _Setusedtx; end; TJSOpusEncoderConfig = class(TJSObject,IJSOpusEncoderConfig) Private Protected function _Getformat: TOpusBitstreamFormat; function _GetframeDuration: QWord; function _Getcomplexity: Cardinal; function _Getpacketlossperc: Cardinal; function _Getuseinbandfec: Boolean; function _Getusedtx: Boolean; procedure _Setformat(const aValue: TOpusBitstreamFormat); procedure _SetframeDuration(const aValue: QWord); procedure _Setcomplexity(const aValue: Cardinal); procedure _Setpacketlossperc(const aValue: Cardinal); procedure _Setuseinbandfec(const aValue: Boolean); procedure _Setusedtx(const aValue: Boolean); Public constructor create(const aDict : TJSOpusEncoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOpusEncoderConfig; property format: TOpusBitstreamFormat read _Getformat write _Setformat; property frameDuration: QWord read _GetframeDuration write _SetframeDuration; property complexity: Cardinal read _Getcomplexity write _Setcomplexity; property packetlossperc: Cardinal read _Getpacketlossperc write _Setpacketlossperc; property useinbandfec: Boolean read _Getuseinbandfec write _Setuseinbandfec; property usedtx: Boolean read _Getusedtx write _Setusedtx; end; { -------------------------------------------------------------------- TJSAudioEncoderInit --------------------------------------------------------------------} TJSAudioEncoderInitRec = record output: TEncodedAudioChunkOutputCallback; error: TWebCodecsErrorCallback; end; IJSAudioEncoderInit = interface(IJSObject) ['{0E8976E5-E96E-3DD7-A533-241C74BC299E}'] function _Getoutput: TEncodedAudioChunkOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TEncodedAudioChunkOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); property output: TEncodedAudioChunkOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; TJSAudioEncoderInit = class(TJSObject,IJSAudioEncoderInit) Private Protected function _Getoutput: TEncodedAudioChunkOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TEncodedAudioChunkOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); Public constructor create(const aDict : TJSAudioEncoderInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioEncoderInit; property output: TEncodedAudioChunkOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSEncodedAudioChunkMetadata --------------------------------------------------------------------} TJSEncodedAudioChunkMetadataRec = record decoderConfig: TJSAudioDecoderConfig; end; IJSEncodedAudioChunkMetadata = interface(IJSObject) ['{5EE78293-A254-3539-9835-367AEBC7168D}'] function _GetdecoderConfig: IJSAudioDecoderConfig; procedure _SetdecoderConfig(const aValue: IJSAudioDecoderConfig); property decoderConfig: IJSAudioDecoderConfig read _GetdecoderConfig write _SetdecoderConfig; end; TJSEncodedAudioChunkMetadata = class(TJSObject,IJSEncodedAudioChunkMetadata) Private Protected function _GetdecoderConfig: IJSAudioDecoderConfig; procedure _SetdecoderConfig(const aValue: IJSAudioDecoderConfig); Public constructor create(const aDict : TJSEncodedAudioChunkMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedAudioChunkMetadata; property decoderConfig: IJSAudioDecoderConfig read _GetdecoderConfig write _SetdecoderConfig; end; { -------------------------------------------------------------------- TJSAudioNodeOptions --------------------------------------------------------------------} TJSAudioNodeOptionsRec = record channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSAudioNodeOptions = interface(IJSObject) ['{31410881-F353-357C-8EB8-925B8ECEE486}'] function _GetchannelCount: Cardinal; function _GetchannelCountMode: TChannelCountMode; function _GetchannelInterpretation: TChannelInterpretation; procedure _SetchannelCount(const aValue: Cardinal); procedure _SetchannelCountMode(const aValue: TChannelCountMode); procedure _SetchannelInterpretation(const aValue: TChannelInterpretation); property channelCount: Cardinal read _GetchannelCount write _SetchannelCount; property channelCountMode: TChannelCountMode read _GetchannelCountMode write _SetchannelCountMode; property channelInterpretation: TChannelInterpretation read _GetchannelInterpretation write _SetchannelInterpretation; end; TJSAudioNodeOptions = class(TJSObject,IJSAudioNodeOptions) Private Protected function _GetchannelCount: Cardinal; function _GetchannelCountMode: TChannelCountMode; function _GetchannelInterpretation: TChannelInterpretation; procedure _SetchannelCount(const aValue: Cardinal); procedure _SetchannelCountMode(const aValue: TChannelCountMode); procedure _SetchannelInterpretation(const aValue: TChannelInterpretation); Public constructor create(const aDict : TJSAudioNodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioNodeOptions; property channelCount: Cardinal read _GetchannelCount write _SetchannelCount; property channelCountMode: TChannelCountMode read _GetchannelCountMode write _SetchannelCountMode; property channelInterpretation: TChannelInterpretation read _GetchannelInterpretation write _SetchannelInterpretation; end; { -------------------------------------------------------------------- TJSAudioParamDescriptor --------------------------------------------------------------------} TJSAudioParamDescriptorRec = record name: UnicodeString; defaultValue: Single; minValue: Single; maxValue: Single; end; IJSAudioParamDescriptor = interface(IJSObject) ['{9771E6F0-A08A-3F90-935C-0701EDFCE2FC}'] function _Getname: UnicodeString; function _GetdefaultValue: Single; function _GetminValue: Single; function _GetmaxValue: Single; procedure _Setname(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: Single); procedure _SetminValue(const aValue: Single); procedure _SetmaxValue(const aValue: Single); property name: UnicodeString read _Getname write _Setname; property defaultValue: Single read _GetdefaultValue write _SetdefaultValue; property minValue: Single read _GetminValue write _SetminValue; property maxValue: Single read _GetmaxValue write _SetmaxValue; end; TJSAudioParamDescriptor = class(TJSObject,IJSAudioParamDescriptor) Private Protected function _Getname: UnicodeString; function _GetdefaultValue: Single; function _GetminValue: Single; function _GetmaxValue: Single; procedure _Setname(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: Single); procedure _SetminValue(const aValue: Single); procedure _SetmaxValue(const aValue: Single); Public constructor create(const aDict : TJSAudioParamDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioParamDescriptor; property name: UnicodeString read _Getname write _Setname; property defaultValue: Single read _GetdefaultValue write _SetdefaultValue; property minValue: Single read _GetminValue write _SetminValue; property maxValue: Single read _GetmaxValue write _SetmaxValue; end; { -------------------------------------------------------------------- TJSAutocompleteInfo --------------------------------------------------------------------} TJSAutocompleteInfoRec = record section: UnicodeString; addressType: UnicodeString; contactType: UnicodeString; fieldName: UnicodeString; credentialType: UnicodeString; canAutomaticallyPersist: Boolean; end; IJSAutocompleteInfo = interface(IJSObject) ['{544C018C-4F07-32F7-B736-DC4B9BE8BF02}'] function _Getsection: UnicodeString; function _GetaddressType: UnicodeString; function _GetcontactType: UnicodeString; function _GetfieldName: UnicodeString; function _GetcredentialType: UnicodeString; function _GetcanAutomaticallyPersist: Boolean; procedure _Setsection(const aValue: UnicodeString); procedure _SetaddressType(const aValue: UnicodeString); procedure _SetcontactType(const aValue: UnicodeString); procedure _SetfieldName(const aValue: UnicodeString); procedure _SetcredentialType(const aValue: UnicodeString); procedure _SetcanAutomaticallyPersist(const aValue: Boolean); property section: UnicodeString read _Getsection write _Setsection; property addressType: UnicodeString read _GetaddressType write _SetaddressType; property contactType: UnicodeString read _GetcontactType write _SetcontactType; property fieldName: UnicodeString read _GetfieldName write _SetfieldName; property credentialType: UnicodeString read _GetcredentialType write _SetcredentialType; property canAutomaticallyPersist: Boolean read _GetcanAutomaticallyPersist write _SetcanAutomaticallyPersist; end; TJSAutocompleteInfo = class(TJSObject,IJSAutocompleteInfo) Private Protected function _Getsection: UnicodeString; function _GetaddressType: UnicodeString; function _GetcontactType: UnicodeString; function _GetfieldName: UnicodeString; function _GetcredentialType: UnicodeString; function _GetcanAutomaticallyPersist: Boolean; procedure _Setsection(const aValue: UnicodeString); procedure _SetaddressType(const aValue: UnicodeString); procedure _SetcontactType(const aValue: UnicodeString); procedure _SetfieldName(const aValue: UnicodeString); procedure _SetcredentialType(const aValue: UnicodeString); procedure _SetcanAutomaticallyPersist(const aValue: Boolean); Public constructor create(const aDict : TJSAutocompleteInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAutocompleteInfo; property section: UnicodeString read _Getsection write _Setsection; property addressType: UnicodeString read _GetaddressType write _SetaddressType; property contactType: UnicodeString read _GetcontactType write _SetcontactType; property fieldName: UnicodeString read _GetfieldName write _SetfieldName; property credentialType: UnicodeString read _GetcredentialType write _SetcredentialType; property canAutomaticallyPersist: Boolean read _GetcanAutomaticallyPersist write _SetcanAutomaticallyPersist; end; { -------------------------------------------------------------------- TJSBasePropertyIndexedKeyframe --------------------------------------------------------------------} // Union of double, sequence TBasePropertyIndexedKeyframe_offset_Type = Variant; // Union of UTF8String, sequence TBasePropertyIndexedKeyframe_easing_Type = Variant; // Union of CompositeOperationOrAuto, sequence TBasePropertyIndexedKeyframe_composite_Type = Variant; TJSBasePropertyIndexedKeyframeRec = record offset: TBasePropertyIndexedKeyframe_offset_Type; easing: TBasePropertyIndexedKeyframe_easing_Type; composite: TBasePropertyIndexedKeyframe_composite_Type; end; IJSBasePropertyIndexedKeyframe = interface(IJSObject) ['{68A54B28-31F7-3CC3-B9A3-83CA13EC8351}'] function _Getoffset: TBasePropertyIndexedKeyframe_offset_Type; function _Geteasing: TBasePropertyIndexedKeyframe_easing_Type; function _Getcomposite: TBasePropertyIndexedKeyframe_composite_Type; procedure _Setoffset(const aValue: TBasePropertyIndexedKeyframe_offset_Type); procedure _Seteasing(const aValue: TBasePropertyIndexedKeyframe_easing_Type); procedure _Setcomposite(const aValue: TBasePropertyIndexedKeyframe_composite_Type); property offset: TBasePropertyIndexedKeyframe_offset_Type read _Getoffset write _Setoffset; property easing: TBasePropertyIndexedKeyframe_easing_Type read _Geteasing write _Seteasing; property composite: TBasePropertyIndexedKeyframe_composite_Type read _Getcomposite write _Setcomposite; end; TJSBasePropertyIndexedKeyframe = class(TJSObject,IJSBasePropertyIndexedKeyframe) Private Protected function _Getoffset: TBasePropertyIndexedKeyframe_offset_Type; function _Geteasing: TBasePropertyIndexedKeyframe_easing_Type; function _Getcomposite: TBasePropertyIndexedKeyframe_composite_Type; procedure _Setoffset(const aValue: TBasePropertyIndexedKeyframe_offset_Type); procedure _Seteasing(const aValue: TBasePropertyIndexedKeyframe_easing_Type); procedure _Setcomposite(const aValue: TBasePropertyIndexedKeyframe_composite_Type); Public constructor create(const aDict : TJSBasePropertyIndexedKeyframeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBasePropertyIndexedKeyframe; property offset: TBasePropertyIndexedKeyframe_offset_Type read _Getoffset write _Setoffset; property easing: TBasePropertyIndexedKeyframe_easing_Type read _Geteasing write _Seteasing; property composite: TBasePropertyIndexedKeyframe_composite_Type read _Getcomposite write _Setcomposite; end; { -------------------------------------------------------------------- TJSBaseKeyframe --------------------------------------------------------------------} TJSBaseKeyframeRec = record offset: Double; easing: UTF8String; composite: TCompositeOperationOrAuto; end; IJSBaseKeyframe = interface(IJSObject) ['{8DF54C72-30D3-3922-8965-17A1586A7A2B}'] function _Getoffset: Double; function _Geteasing: UTF8String; function _Getcomposite: TCompositeOperationOrAuto; procedure _Setoffset(const aValue: Double); procedure _Seteasing(const aValue: UTF8String); procedure _Setcomposite(const aValue: TCompositeOperationOrAuto); property offset: Double read _Getoffset write _Setoffset; property easing: UTF8String read _Geteasing write _Seteasing; property composite: TCompositeOperationOrAuto read _Getcomposite write _Setcomposite; end; TJSBaseKeyframe = class(TJSObject,IJSBaseKeyframe) Private Protected function _Getoffset: Double; function _Geteasing: UTF8String; function _Getcomposite: TCompositeOperationOrAuto; procedure _Setoffset(const aValue: Double); procedure _Seteasing(const aValue: UTF8String); procedure _Setcomposite(const aValue: TCompositeOperationOrAuto); Public constructor create(const aDict : TJSBaseKeyframeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBaseKeyframe; property offset: Double read _Getoffset write _Setoffset; property easing: UTF8String read _Geteasing write _Seteasing; property composite: TCompositeOperationOrAuto read _Getcomposite write _Setcomposite; end; { -------------------------------------------------------------------- TJSBasicCardRequest --------------------------------------------------------------------} TJSBasicCardRequestRec = record supportedNetworks: TUnicodeStringDynArray; requestSecurityCode: Boolean; end; IJSBasicCardRequest = interface(IJSObject) ['{32801286-D3C2-37EA-9A66-17FAA5D624E2}'] function _GetsupportedNetworks: TUnicodeStringDynArray; function _GetrequestSecurityCode: Boolean; procedure _SetsupportedNetworks(const aValue: TUnicodeStringDynArray); procedure _SetrequestSecurityCode(const aValue: Boolean); property supportedNetworks: TUnicodeStringDynArray read _GetsupportedNetworks write _SetsupportedNetworks; property requestSecurityCode: Boolean read _GetrequestSecurityCode write _SetrequestSecurityCode; end; TJSBasicCardRequest = class(TJSObject,IJSBasicCardRequest) Private Protected function _GetsupportedNetworks: TUnicodeStringDynArray; function _GetrequestSecurityCode: Boolean; procedure _SetsupportedNetworks(const aValue: TUnicodeStringDynArray); procedure _SetrequestSecurityCode(const aValue: Boolean); Public constructor create(const aDict : TJSBasicCardRequestRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBasicCardRequest; property supportedNetworks: TUnicodeStringDynArray read _GetsupportedNetworks write _SetsupportedNetworks; property requestSecurityCode: Boolean read _GetrequestSecurityCode write _SetrequestSecurityCode; end; { -------------------------------------------------------------------- TJSBasicCardResponse --------------------------------------------------------------------} TJSBasicCardResponseRec = record cardholderName: UnicodeString; cardNumber: UnicodeString; expiryMonth: UnicodeString; expiryYear: UnicodeString; cardSecurityCode: UnicodeString; billingAddress: TJSPaymentAddress; end; IJSBasicCardResponse = interface(IJSObject) ['{F5446EC9-C805-3E29-9AF2-4E1CE51CA3A9}'] function _GetcardholderName: UnicodeString; function _GetcardNumber: UnicodeString; function _GetexpiryMonth: UnicodeString; function _GetexpiryYear: UnicodeString; function _GetcardSecurityCode: UnicodeString; function _GetbillingAddress: IJSPaymentAddress; procedure _SetcardholderName(const aValue: UnicodeString); procedure _SetcardNumber(const aValue: UnicodeString); procedure _SetexpiryMonth(const aValue: UnicodeString); procedure _SetexpiryYear(const aValue: UnicodeString); procedure _SetcardSecurityCode(const aValue: UnicodeString); procedure _SetbillingAddress(const aValue: IJSPaymentAddress); property cardholderName: UnicodeString read _GetcardholderName write _SetcardholderName; property cardNumber: UnicodeString read _GetcardNumber write _SetcardNumber; property expiryMonth: UnicodeString read _GetexpiryMonth write _SetexpiryMonth; property expiryYear: UnicodeString read _GetexpiryYear write _SetexpiryYear; property cardSecurityCode: UnicodeString read _GetcardSecurityCode write _SetcardSecurityCode; property billingAddress: IJSPaymentAddress read _GetbillingAddress write _SetbillingAddress; end; TJSBasicCardResponse = class(TJSObject,IJSBasicCardResponse) Private Protected function _GetcardholderName: UnicodeString; function _GetcardNumber: UnicodeString; function _GetexpiryMonth: UnicodeString; function _GetexpiryYear: UnicodeString; function _GetcardSecurityCode: UnicodeString; function _GetbillingAddress: IJSPaymentAddress; procedure _SetcardholderName(const aValue: UnicodeString); procedure _SetcardNumber(const aValue: UnicodeString); procedure _SetexpiryMonth(const aValue: UnicodeString); procedure _SetexpiryYear(const aValue: UnicodeString); procedure _SetcardSecurityCode(const aValue: UnicodeString); procedure _SetbillingAddress(const aValue: IJSPaymentAddress); Public constructor create(const aDict : TJSBasicCardResponseRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBasicCardResponse; property cardholderName: UnicodeString read _GetcardholderName write _SetcardholderName; property cardNumber: UnicodeString read _GetcardNumber write _SetcardNumber; property expiryMonth: UnicodeString read _GetexpiryMonth write _SetexpiryMonth; property expiryYear: UnicodeString read _GetexpiryYear write _SetexpiryYear; property cardSecurityCode: UnicodeString read _GetcardSecurityCode write _SetcardSecurityCode; property billingAddress: IJSPaymentAddress read _GetbillingAddress write _SetbillingAddress; end; { -------------------------------------------------------------------- TJSBasicCardChangeDetails --------------------------------------------------------------------} TJSBasicCardChangeDetailsRec = record billingAddress: TJSPaymentAddress; end; IJSBasicCardChangeDetails = interface(IJSObject) ['{9C1B2486-3AF1-3E5D-963A-DCA1A53AF76B}'] function _GetbillingAddress: IJSPaymentAddress; procedure _SetbillingAddress(const aValue: IJSPaymentAddress); property billingAddress: IJSPaymentAddress read _GetbillingAddress write _SetbillingAddress; end; TJSBasicCardChangeDetails = class(TJSObject,IJSBasicCardChangeDetails) Private Protected function _GetbillingAddress: IJSPaymentAddress; procedure _SetbillingAddress(const aValue: IJSPaymentAddress); Public constructor create(const aDict : TJSBasicCardChangeDetailsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBasicCardChangeDetails; property billingAddress: IJSPaymentAddress read _GetbillingAddress write _SetbillingAddress; end; { -------------------------------------------------------------------- TJSBasicCardErrors --------------------------------------------------------------------} TJSBasicCardErrorsRec = record cardNumber: UnicodeString; cardholderName: UnicodeString; cardSecurityCode: UnicodeString; expiryMonth: UnicodeString; expiryYear: UnicodeString; billingAddress: TJSAddressErrors; end; IJSBasicCardErrors = interface(IJSObject) ['{D4B21C74-ECD7-3959-A5B3-7D227AA1AD81}'] function _GetcardNumber: UnicodeString; function _GetcardholderName: UnicodeString; function _GetcardSecurityCode: UnicodeString; function _GetexpiryMonth: UnicodeString; function _GetexpiryYear: UnicodeString; function _GetbillingAddress: IJSAddressErrors; procedure _SetcardNumber(const aValue: UnicodeString); procedure _SetcardholderName(const aValue: UnicodeString); procedure _SetcardSecurityCode(const aValue: UnicodeString); procedure _SetexpiryMonth(const aValue: UnicodeString); procedure _SetexpiryYear(const aValue: UnicodeString); procedure _SetbillingAddress(const aValue: IJSAddressErrors); property cardNumber: UnicodeString read _GetcardNumber write _SetcardNumber; property cardholderName: UnicodeString read _GetcardholderName write _SetcardholderName; property cardSecurityCode: UnicodeString read _GetcardSecurityCode write _SetcardSecurityCode; property expiryMonth: UnicodeString read _GetexpiryMonth write _SetexpiryMonth; property expiryYear: UnicodeString read _GetexpiryYear write _SetexpiryYear; property billingAddress: IJSAddressErrors read _GetbillingAddress write _SetbillingAddress; end; TJSBasicCardErrors = class(TJSObject,IJSBasicCardErrors) Private Protected function _GetcardNumber: UnicodeString; function _GetcardholderName: UnicodeString; function _GetcardSecurityCode: UnicodeString; function _GetexpiryMonth: UnicodeString; function _GetexpiryYear: UnicodeString; function _GetbillingAddress: IJSAddressErrors; procedure _SetcardNumber(const aValue: UnicodeString); procedure _SetcardholderName(const aValue: UnicodeString); procedure _SetcardSecurityCode(const aValue: UnicodeString); procedure _SetexpiryMonth(const aValue: UnicodeString); procedure _SetexpiryYear(const aValue: UnicodeString); procedure _SetbillingAddress(const aValue: IJSAddressErrors); Public constructor create(const aDict : TJSBasicCardErrorsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBasicCardErrors; property cardNumber: UnicodeString read _GetcardNumber write _SetcardNumber; property cardholderName: UnicodeString read _GetcardholderName write _SetcardholderName; property cardSecurityCode: UnicodeString read _GetcardSecurityCode write _SetcardSecurityCode; property expiryMonth: UnicodeString read _GetexpiryMonth write _SetexpiryMonth; property expiryYear: UnicodeString read _GetexpiryYear write _SetexpiryYear; property billingAddress: IJSAddressErrors read _GetbillingAddress write _SetbillingAddress; end; { -------------------------------------------------------------------- TJSBlobPropertyBag --------------------------------------------------------------------} TJSBlobPropertyBagRec = record type_: UnicodeString; endings: TEndingType; end; IJSBlobPropertyBag = interface(IJSObject) ['{28B80F11-F50F-3B2A-B3B5-7F8A7D3F8963}'] function _Gettype_: UnicodeString; function _Getendings: TEndingType; procedure _Settype_(const aValue: UnicodeString); procedure _Setendings(const aValue: TEndingType); property type_: UnicodeString read _Gettype_ write _Settype_; property endings: TEndingType read _Getendings write _Setendings; end; TJSBlobPropertyBag = class(TJSObject,IJSBlobPropertyBag) Private Protected function _Gettype_: UnicodeString; function _Getendings: TEndingType; procedure _Settype_(const aValue: UnicodeString); procedure _Setendings(const aValue: TEndingType); Public constructor create(const aDict : TJSBlobPropertyBagRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBlobPropertyBag; property type_: UnicodeString read _Gettype_ write _Settype_; property endings: TEndingType read _Getendings write _Setendings; end; { -------------------------------------------------------------------- TJSOpenWindowEventDetail --------------------------------------------------------------------} TJSOpenWindowEventDetailRec = record url: UnicodeString; name: UnicodeString; features: UnicodeString; frameElement: IJSNode; forceNoReferrer: Boolean; end; IJSOpenWindowEventDetail = interface(IJSObject) ['{6BB82376-B96D-386A-8E01-CEE78478D8AF}'] function _Geturl: UnicodeString; function _Getname: UnicodeString; function _Getfeatures: UnicodeString; function _GetframeElement: IJSNode; function _GetforceNoReferrer: Boolean; procedure _Seturl(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setfeatures(const aValue: UnicodeString); procedure _SetframeElement(const aValue: IJSNode); procedure _SetforceNoReferrer(const aValue: Boolean); property url: UnicodeString read _Geturl write _Seturl; property name: UnicodeString read _Getname write _Setname; property features: UnicodeString read _Getfeatures write _Setfeatures; property frameElement: IJSNode read _GetframeElement write _SetframeElement; property forceNoReferrer: Boolean read _GetforceNoReferrer write _SetforceNoReferrer; end; TJSOpenWindowEventDetail = class(TJSObject,IJSOpenWindowEventDetail) Private Protected function _Geturl: UnicodeString; function _Getname: UnicodeString; function _Getfeatures: UnicodeString; function _GetframeElement: IJSNode; function _GetforceNoReferrer: Boolean; procedure _Seturl(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setfeatures(const aValue: UnicodeString); procedure _SetframeElement(const aValue: IJSNode); procedure _SetforceNoReferrer(const aValue: Boolean); Public constructor create(const aDict : TJSOpenWindowEventDetailRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOpenWindowEventDetail; property url: UnicodeString read _Geturl write _Seturl; property name: UnicodeString read _Getname write _Setname; property features: UnicodeString read _Getfeatures write _Setfeatures; property frameElement: IJSNode read _GetframeElement write _SetframeElement; property forceNoReferrer: Boolean read _GetforceNoReferrer write _SetforceNoReferrer; end; { -------------------------------------------------------------------- TJSDOMWindowResizeEventDetail --------------------------------------------------------------------} TJSDOMWindowResizeEventDetailRec = record width: LongInt; height: LongInt; end; IJSDOMWindowResizeEventDetail = interface(IJSObject) ['{C8AD54E0-454E-37C1-9FFB-809B5AF005EF}'] function _Getwidth: LongInt; function _Getheight: LongInt; procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; end; TJSDOMWindowResizeEventDetail = class(TJSObject,IJSDOMWindowResizeEventDetail) Private Protected function _Getwidth: LongInt; function _Getheight: LongInt; procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); Public constructor create(const aDict : TJSDOMWindowResizeEventDetailRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMWindowResizeEventDetail; property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; end; { -------------------------------------------------------------------- TJSCacheQueryOptions --------------------------------------------------------------------} TJSCacheQueryOptionsRec = record ignoreSearch: Boolean; ignoreMethod: Boolean; ignoreVary: Boolean; end; IJSCacheQueryOptions = interface(IJSObject) ['{116C2709-8F25-3217-A0B2-099FDA9A632D}'] function _GetignoreSearch: Boolean; function _GetignoreMethod: Boolean; function _GetignoreVary: Boolean; procedure _SetignoreSearch(const aValue: Boolean); procedure _SetignoreMethod(const aValue: Boolean); procedure _SetignoreVary(const aValue: Boolean); property ignoreSearch: Boolean read _GetignoreSearch write _SetignoreSearch; property ignoreMethod: Boolean read _GetignoreMethod write _SetignoreMethod; property ignoreVary: Boolean read _GetignoreVary write _SetignoreVary; end; TJSCacheQueryOptions = class(TJSObject,IJSCacheQueryOptions) Private Protected function _GetignoreSearch: Boolean; function _GetignoreMethod: Boolean; function _GetignoreVary: Boolean; procedure _SetignoreSearch(const aValue: Boolean); procedure _SetignoreMethod(const aValue: Boolean); procedure _SetignoreVary(const aValue: Boolean); Public constructor create(const aDict : TJSCacheQueryOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCacheQueryOptions; property ignoreSearch: Boolean read _GetignoreSearch write _SetignoreSearch; property ignoreMethod: Boolean read _GetignoreMethod write _SetignoreMethod; property ignoreVary: Boolean read _GetignoreVary write _SetignoreVary; end; { -------------------------------------------------------------------- TJSCacheBatchOperation --------------------------------------------------------------------} TJSCacheBatchOperationRec = record type_: UnicodeString; request: TJSRequest; response: TJSResponse; options: TJSCacheQueryOptions; end; IJSCacheBatchOperation = interface(IJSObject) ['{A46EA67E-C746-39AC-9175-DC5CC8EA0143}'] function _Gettype_: UnicodeString; function _Getrequest: IJSRequest; function _Getresponse: IJSResponse; function _Getoptions: IJSCacheQueryOptions; procedure _Settype_(const aValue: UnicodeString); procedure _Setrequest(const aValue: IJSRequest); procedure _Setresponse(const aValue: IJSResponse); procedure _Setoptions(const aValue: IJSCacheQueryOptions); property type_: UnicodeString read _Gettype_ write _Settype_; property request: IJSRequest read _Getrequest write _Setrequest; property response: IJSResponse read _Getresponse write _Setresponse; property options: IJSCacheQueryOptions read _Getoptions write _Setoptions; end; TJSCacheBatchOperation = class(TJSObject,IJSCacheBatchOperation) Private Protected function _Gettype_: UnicodeString; function _Getrequest: IJSRequest; function _Getresponse: IJSResponse; function _Getoptions: IJSCacheQueryOptions; procedure _Settype_(const aValue: UnicodeString); procedure _Setrequest(const aValue: IJSRequest); procedure _Setresponse(const aValue: IJSResponse); procedure _Setoptions(const aValue: IJSCacheQueryOptions); Public constructor create(const aDict : TJSCacheBatchOperationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCacheBatchOperation; property type_: UnicodeString read _Gettype_ write _Settype_; property request: IJSRequest read _Getrequest write _Setrequest; property response: IJSResponse read _Getresponse write _Setresponse; property options: IJSCacheQueryOptions read _Getoptions write _Setoptions; end; { -------------------------------------------------------------------- TJSCancelContentJSOptions --------------------------------------------------------------------} TJSCancelContentJSOptionsRec = record index: LongInt; uri: TJSURI; epoch: LongInt; end; IJSCancelContentJSOptions = interface(IJSObject) ['{0D77D28C-BD44-3455-93E0-EF37555AB971}'] function _Getindex: LongInt; function _Geturi: IJSURI; function _Getepoch: LongInt; procedure _Setindex(const aValue: LongInt); procedure _Seturi(const aValue: IJSURI); procedure _Setepoch(const aValue: LongInt); property index: LongInt read _Getindex write _Setindex; property uri: IJSURI read _Geturi write _Seturi; property epoch: LongInt read _Getepoch write _Setepoch; end; TJSCancelContentJSOptions = class(TJSObject,IJSCancelContentJSOptions) Private Protected function _Getindex: LongInt; function _Geturi: IJSURI; function _Getepoch: LongInt; procedure _Setindex(const aValue: LongInt); procedure _Seturi(const aValue: IJSURI); procedure _Setepoch(const aValue: LongInt); Public constructor create(const aDict : TJSCancelContentJSOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCancelContentJSOptions; property index: LongInt read _Getindex write _Setindex; property uri: IJSURI read _Geturi write _Seturi; property epoch: LongInt read _Getepoch write _Setepoch; end; { -------------------------------------------------------------------- TJSCanvasRenderingContext2DSettings --------------------------------------------------------------------} TJSCanvasRenderingContext2DSettingsRec = record alpha: Boolean; desynchronized: Boolean; colorSpace: TPredefinedColorSpace; willReadFrequently: Boolean; end; IJSCanvasRenderingContext2DSettings = interface(IJSObject) ['{3515C89B-E30E-3570-8D2B-0B927C44E311}'] function _Getalpha: Boolean; function _Getdesynchronized: Boolean; function _GetcolorSpace: TPredefinedColorSpace; function _GetwillReadFrequently: Boolean; procedure _Setalpha(const aValue: Boolean); procedure _Setdesynchronized(const aValue: Boolean); procedure _SetcolorSpace(const aValue: TPredefinedColorSpace); procedure _SetwillReadFrequently(const aValue: Boolean); property alpha: Boolean read _Getalpha write _Setalpha; property desynchronized: Boolean read _Getdesynchronized write _Setdesynchronized; property colorSpace: TPredefinedColorSpace read _GetcolorSpace write _SetcolorSpace; property willReadFrequently: Boolean read _GetwillReadFrequently write _SetwillReadFrequently; end; TJSCanvasRenderingContext2DSettings = class(TJSObject,IJSCanvasRenderingContext2DSettings) Private Protected function _Getalpha: Boolean; function _Getdesynchronized: Boolean; function _GetcolorSpace: TPredefinedColorSpace; function _GetwillReadFrequently: Boolean; procedure _Setalpha(const aValue: Boolean); procedure _Setdesynchronized(const aValue: Boolean); procedure _SetcolorSpace(const aValue: TPredefinedColorSpace); procedure _SetwillReadFrequently(const aValue: Boolean); Public constructor create(const aDict : TJSCanvasRenderingContext2DSettingsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasRenderingContext2DSettings; property alpha: Boolean read _Getalpha write _Setalpha; property desynchronized: Boolean read _Getdesynchronized write _Setdesynchronized; property colorSpace: TPredefinedColorSpace read _GetcolorSpace write _SetcolorSpace; property willReadFrequently: Boolean read _GetwillReadFrequently write _SetwillReadFrequently; end; { -------------------------------------------------------------------- TJSHitRegionOptions --------------------------------------------------------------------} TJSHitRegionOptionsRec = record path: TJSPath2D; id: UnicodeString; control: TJSElement; end; IJSHitRegionOptions = interface(IJSObject) ['{79D1BC47-CF7D-35BB-9193-2E5967413A54}'] function _Getpath: IJSPath2D; function _Getid: UnicodeString; function _Getcontrol: IJSElement; procedure _Setpath(const aValue: IJSPath2D); procedure _Setid(const aValue: UnicodeString); procedure _Setcontrol(const aValue: IJSElement); property path: IJSPath2D read _Getpath write _Setpath; property id: UnicodeString read _Getid write _Setid; property control: IJSElement read _Getcontrol write _Setcontrol; end; TJSHitRegionOptions = class(TJSObject,IJSHitRegionOptions) Private Protected function _Getpath: IJSPath2D; function _Getid: UnicodeString; function _Getcontrol: IJSElement; procedure _Setpath(const aValue: IJSPath2D); procedure _Setid(const aValue: UnicodeString); procedure _Setcontrol(const aValue: IJSElement); Public constructor create(const aDict : TJSHitRegionOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHitRegionOptions; property path: IJSPath2D read _Getpath write _Setpath; property id: UnicodeString read _Getid write _Setid; property control: IJSElement read _Getcontrol write _Setcontrol; end; { -------------------------------------------------------------------- TJSCheckerboardReport --------------------------------------------------------------------} TJSCheckerboardReportRec = record severity: Cardinal; timestamp: TDOMTimeStamp; log: UnicodeString; reason: TCheckerboardReason; end; IJSCheckerboardReport = interface(IJSObject) ['{490C56A0-8F6C-397C-9102-B6ADEC99234E}'] function _Getseverity: Cardinal; function _Gettimestamp: TDOMTimeStamp; function _Getlog: UnicodeString; function _Getreason: TCheckerboardReason; procedure _Setseverity(const aValue: Cardinal); procedure _Settimestamp(const aValue: TDOMTimeStamp); procedure _Setlog(const aValue: UnicodeString); procedure _Setreason(const aValue: TCheckerboardReason); property severity: Cardinal read _Getseverity write _Setseverity; property timestamp: TDOMTimeStamp read _Gettimestamp write _Settimestamp; property log: UnicodeString read _Getlog write _Setlog; property reason: TCheckerboardReason read _Getreason write _Setreason; end; TJSCheckerboardReport = class(TJSObject,IJSCheckerboardReport) Private Protected function _Getseverity: Cardinal; function _Gettimestamp: TDOMTimeStamp; function _Getlog: UnicodeString; function _Getreason: TCheckerboardReason; procedure _Setseverity(const aValue: Cardinal); procedure _Settimestamp(const aValue: TDOMTimeStamp); procedure _Setlog(const aValue: UnicodeString); procedure _Setreason(const aValue: TCheckerboardReason); Public constructor create(const aDict : TJSCheckerboardReportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCheckerboardReport; property severity: Cardinal read _Getseverity write _Setseverity; property timestamp: TDOMTimeStamp read _Gettimestamp write _Settimestamp; property log: UnicodeString read _Getlog write _Setlog; property reason: TCheckerboardReason read _Getreason write _Setreason; end; { -------------------------------------------------------------------- TJSClientQueryOptions --------------------------------------------------------------------} TJSClientQueryOptionsRec = record includeUncontrolled: Boolean; type_: TClientType; end; IJSClientQueryOptions = interface(IJSObject) ['{3B942DC6-AFA2-3737-8280-2C5ED695F354}'] function _GetincludeUncontrolled: Boolean; function _Gettype_: TClientType; procedure _SetincludeUncontrolled(const aValue: Boolean); procedure _Settype_(const aValue: TClientType); property includeUncontrolled: Boolean read _GetincludeUncontrolled write _SetincludeUncontrolled; property type_: TClientType read _Gettype_ write _Settype_; end; TJSClientQueryOptions = class(TJSObject,IJSClientQueryOptions) Private Protected function _GetincludeUncontrolled: Boolean; function _Gettype_: TClientType; procedure _SetincludeUncontrolled(const aValue: Boolean); procedure _Settype_(const aValue: TClientType); Public constructor create(const aDict : TJSClientQueryOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClientQueryOptions; property includeUncontrolled: Boolean read _GetincludeUncontrolled write _SetincludeUncontrolled; property type_: TClientType read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSClipboardItemOptions --------------------------------------------------------------------} TJSClipboardItemOptionsRec = record presentationStyle: TPresentationStyle; end; IJSClipboardItemOptions = interface(IJSObject) ['{958AE912-A726-3DA2-B338-E55870F21D41}'] function _GetpresentationStyle: TPresentationStyle; procedure _SetpresentationStyle(const aValue: TPresentationStyle); property presentationStyle: TPresentationStyle read _GetpresentationStyle write _SetpresentationStyle; end; TJSClipboardItemOptions = class(TJSObject,IJSClipboardItemOptions) Private Protected function _GetpresentationStyle: TPresentationStyle; procedure _SetpresentationStyle(const aValue: TPresentationStyle); Public constructor create(const aDict : TJSClipboardItemOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClipboardItemOptions; property presentationStyle: TPresentationStyle read _GetpresentationStyle write _SetpresentationStyle; end; { -------------------------------------------------------------------- TJSConstantSourceOptions --------------------------------------------------------------------} TJSConstantSourceOptionsRec = record offset: Single; end; IJSConstantSourceOptions = interface(IJSObject) ['{7A13C358-1C2F-3194-B533-9528C995AEA2}'] function _Getoffset: Single; procedure _Setoffset(const aValue: Single); property offset: Single read _Getoffset write _Setoffset; end; TJSConstantSourceOptions = class(TJSObject,IJSConstantSourceOptions) Private Protected function _Getoffset: Single; procedure _Setoffset(const aValue: Single); Public constructor create(const aDict : TJSConstantSourceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstantSourceOptions; property offset: Single read _Getoffset write _Setoffset; end; { -------------------------------------------------------------------- TJSCredentialRequestOptions --------------------------------------------------------------------} TJSCredentialRequestOptionsRec = record mediation: TCredentialMediationRequirement; signal: TJSAbortSignal; publicKey: TJSPublicKeyCredentialRequestOptions; identity: TJSIdentityCredentialRequestOptions; end; IJSCredentialRequestOptions = interface(IJSObject) ['{6F7E0181-75EF-3862-BC9B-B38B0B12F1F0}'] function _Getmediation: TCredentialMediationRequirement; function _Getsignal: IJSAbortSignal; function _GetpublicKey: IJSPublicKeyCredentialRequestOptions; function _Getidentity: IJSIdentityCredentialRequestOptions; procedure _Setmediation(const aValue: TCredentialMediationRequirement); procedure _Setsignal(const aValue: IJSAbortSignal); procedure _SetpublicKey(const aValue: IJSPublicKeyCredentialRequestOptions); procedure _Setidentity(const aValue: IJSIdentityCredentialRequestOptions); property mediation: TCredentialMediationRequirement read _Getmediation write _Setmediation; property signal: IJSAbortSignal read _Getsignal write _Setsignal; property publicKey: IJSPublicKeyCredentialRequestOptions read _GetpublicKey write _SetpublicKey; property identity: IJSIdentityCredentialRequestOptions read _Getidentity write _Setidentity; end; TJSCredentialRequestOptions = class(TJSObject,IJSCredentialRequestOptions) Private Protected function _Getmediation: TCredentialMediationRequirement; function _Getsignal: IJSAbortSignal; function _GetpublicKey: IJSPublicKeyCredentialRequestOptions; function _Getidentity: IJSIdentityCredentialRequestOptions; procedure _Setmediation(const aValue: TCredentialMediationRequirement); procedure _Setsignal(const aValue: IJSAbortSignal); procedure _SetpublicKey(const aValue: IJSPublicKeyCredentialRequestOptions); procedure _Setidentity(const aValue: IJSIdentityCredentialRequestOptions); Public constructor create(const aDict : TJSCredentialRequestOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCredentialRequestOptions; property mediation: TCredentialMediationRequirement read _Getmediation write _Setmediation; property signal: IJSAbortSignal read _Getsignal write _Setsignal; property publicKey: IJSPublicKeyCredentialRequestOptions read _GetpublicKey write _SetpublicKey; property identity: IJSIdentityCredentialRequestOptions read _Getidentity write _Setidentity; end; { -------------------------------------------------------------------- TJSCredentialCreationOptions --------------------------------------------------------------------} TJSCredentialCreationOptionsRec = record publicKey: TJSPublicKeyCredentialCreationOptions; signal: TJSAbortSignal; end; IJSCredentialCreationOptions = interface(IJSObject) ['{D3396383-7D40-35C9-819A-452F3CEFA9B9}'] function _GetpublicKey: IJSPublicKeyCredentialCreationOptions; function _Getsignal: IJSAbortSignal; procedure _SetpublicKey(const aValue: IJSPublicKeyCredentialCreationOptions); procedure _Setsignal(const aValue: IJSAbortSignal); property publicKey: IJSPublicKeyCredentialCreationOptions read _GetpublicKey write _SetpublicKey; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; TJSCredentialCreationOptions = class(TJSObject,IJSCredentialCreationOptions) Private Protected function _GetpublicKey: IJSPublicKeyCredentialCreationOptions; function _Getsignal: IJSAbortSignal; procedure _SetpublicKey(const aValue: IJSPublicKeyCredentialCreationOptions); procedure _Setsignal(const aValue: IJSAbortSignal); Public constructor create(const aDict : TJSCredentialCreationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCredentialCreationOptions; property publicKey: IJSPublicKeyCredentialCreationOptions read _GetpublicKey write _SetpublicKey; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; { -------------------------------------------------------------------- TJSCSP --------------------------------------------------------------------} TJSCSPRec = record report_only: Boolean; default_src: TUnicodeStringDynArray; script_src: TUnicodeStringDynArray; object_src: TUnicodeStringDynArray; style_src: TUnicodeStringDynArray; img_src: TUnicodeStringDynArray; media_src: TUnicodeStringDynArray; frame_src: TUnicodeStringDynArray; font_src: TUnicodeStringDynArray; connect_src: TUnicodeStringDynArray; report_uri: TUnicodeStringDynArray; frame_ancestors: TUnicodeStringDynArray; base_uri: TUnicodeStringDynArray; form_action: TUnicodeStringDynArray; referrer: TUnicodeStringDynArray; manifest_src: TUnicodeStringDynArray; upgrade_insecure_requests: TUnicodeStringDynArray; child_src: TUnicodeStringDynArray; block_all_mixed_content: TUnicodeStringDynArray; sandbox: TUnicodeStringDynArray; worker_src: TUnicodeStringDynArray; script_src_elem: TUnicodeStringDynArray; script_src_attr: TUnicodeStringDynArray; end; IJSCSP = interface(IJSObject) ['{D30AC351-7400-30DB-AA72-437D46D19776}'] function _Getreport_only: Boolean; function _Getdefault_src: TUnicodeStringDynArray; function _Getscript_src: TUnicodeStringDynArray; function _Getobject_src: TUnicodeStringDynArray; function _Getstyle_src: TUnicodeStringDynArray; function _Getimg_src: TUnicodeStringDynArray; function _Getmedia_src: TUnicodeStringDynArray; function _Getframe_src: TUnicodeStringDynArray; function _Getfont_src: TUnicodeStringDynArray; function _Getconnect_src: TUnicodeStringDynArray; function _Getreport_uri: TUnicodeStringDynArray; function _Getframe_ancestors: TUnicodeStringDynArray; function _Getbase_uri: TUnicodeStringDynArray; function _Getform_action: TUnicodeStringDynArray; function _Getreferrer: TUnicodeStringDynArray; function _Getmanifest_src: TUnicodeStringDynArray; function _Getupgrade_insecure_requests: TUnicodeStringDynArray; function _Getchild_src: TUnicodeStringDynArray; function _Getblock_all_mixed_content: TUnicodeStringDynArray; function _Getsandbox: TUnicodeStringDynArray; function _Getworker_src: TUnicodeStringDynArray; function _Getscript_src_elem: TUnicodeStringDynArray; function _Getscript_src_attr: TUnicodeStringDynArray; procedure _Setreport_only(const aValue: Boolean); procedure _Setdefault_src(const aValue: TUnicodeStringDynArray); procedure _Setscript_src(const aValue: TUnicodeStringDynArray); procedure _Setobject_src(const aValue: TUnicodeStringDynArray); procedure _Setstyle_src(const aValue: TUnicodeStringDynArray); procedure _Setimg_src(const aValue: TUnicodeStringDynArray); procedure _Setmedia_src(const aValue: TUnicodeStringDynArray); procedure _Setframe_src(const aValue: TUnicodeStringDynArray); procedure _Setfont_src(const aValue: TUnicodeStringDynArray); procedure _Setconnect_src(const aValue: TUnicodeStringDynArray); procedure _Setreport_uri(const aValue: TUnicodeStringDynArray); procedure _Setframe_ancestors(const aValue: TUnicodeStringDynArray); procedure _Setbase_uri(const aValue: TUnicodeStringDynArray); procedure _Setform_action(const aValue: TUnicodeStringDynArray); procedure _Setreferrer(const aValue: TUnicodeStringDynArray); procedure _Setmanifest_src(const aValue: TUnicodeStringDynArray); procedure _Setupgrade_insecure_requests(const aValue: TUnicodeStringDynArray); procedure _Setchild_src(const aValue: TUnicodeStringDynArray); procedure _Setblock_all_mixed_content(const aValue: TUnicodeStringDynArray); procedure _Setsandbox(const aValue: TUnicodeStringDynArray); procedure _Setworker_src(const aValue: TUnicodeStringDynArray); procedure _Setscript_src_elem(const aValue: TUnicodeStringDynArray); procedure _Setscript_src_attr(const aValue: TUnicodeStringDynArray); property report_only: Boolean read _Getreport_only write _Setreport_only; property default_src: TUnicodeStringDynArray read _Getdefault_src write _Setdefault_src; property script_src: TUnicodeStringDynArray read _Getscript_src write _Setscript_src; property object_src: TUnicodeStringDynArray read _Getobject_src write _Setobject_src; property style_src: TUnicodeStringDynArray read _Getstyle_src write _Setstyle_src; property img_src: TUnicodeStringDynArray read _Getimg_src write _Setimg_src; property media_src: TUnicodeStringDynArray read _Getmedia_src write _Setmedia_src; property frame_src: TUnicodeStringDynArray read _Getframe_src write _Setframe_src; property font_src: TUnicodeStringDynArray read _Getfont_src write _Setfont_src; property connect_src: TUnicodeStringDynArray read _Getconnect_src write _Setconnect_src; property report_uri: TUnicodeStringDynArray read _Getreport_uri write _Setreport_uri; property frame_ancestors: TUnicodeStringDynArray read _Getframe_ancestors write _Setframe_ancestors; property base_uri: TUnicodeStringDynArray read _Getbase_uri write _Setbase_uri; property form_action: TUnicodeStringDynArray read _Getform_action write _Setform_action; property referrer: TUnicodeStringDynArray read _Getreferrer write _Setreferrer; property manifest_src: TUnicodeStringDynArray read _Getmanifest_src write _Setmanifest_src; property upgrade_insecure_requests: TUnicodeStringDynArray read _Getupgrade_insecure_requests write _Setupgrade_insecure_requests; property child_src: TUnicodeStringDynArray read _Getchild_src write _Setchild_src; property block_all_mixed_content: TUnicodeStringDynArray read _Getblock_all_mixed_content write _Setblock_all_mixed_content; property sandbox: TUnicodeStringDynArray read _Getsandbox write _Setsandbox; property worker_src: TUnicodeStringDynArray read _Getworker_src write _Setworker_src; property script_src_elem: TUnicodeStringDynArray read _Getscript_src_elem write _Setscript_src_elem; property script_src_attr: TUnicodeStringDynArray read _Getscript_src_attr write _Setscript_src_attr; end; TJSCSP = class(TJSObject,IJSCSP) Private Protected function _Getreport_only: Boolean; function _Getdefault_src: TUnicodeStringDynArray; function _Getscript_src: TUnicodeStringDynArray; function _Getobject_src: TUnicodeStringDynArray; function _Getstyle_src: TUnicodeStringDynArray; function _Getimg_src: TUnicodeStringDynArray; function _Getmedia_src: TUnicodeStringDynArray; function _Getframe_src: TUnicodeStringDynArray; function _Getfont_src: TUnicodeStringDynArray; function _Getconnect_src: TUnicodeStringDynArray; function _Getreport_uri: TUnicodeStringDynArray; function _Getframe_ancestors: TUnicodeStringDynArray; function _Getbase_uri: TUnicodeStringDynArray; function _Getform_action: TUnicodeStringDynArray; function _Getreferrer: TUnicodeStringDynArray; function _Getmanifest_src: TUnicodeStringDynArray; function _Getupgrade_insecure_requests: TUnicodeStringDynArray; function _Getchild_src: TUnicodeStringDynArray; function _Getblock_all_mixed_content: TUnicodeStringDynArray; function _Getsandbox: TUnicodeStringDynArray; function _Getworker_src: TUnicodeStringDynArray; function _Getscript_src_elem: TUnicodeStringDynArray; function _Getscript_src_attr: TUnicodeStringDynArray; procedure _Setreport_only(const aValue: Boolean); procedure _Setdefault_src(const aValue: TUnicodeStringDynArray); procedure _Setscript_src(const aValue: TUnicodeStringDynArray); procedure _Setobject_src(const aValue: TUnicodeStringDynArray); procedure _Setstyle_src(const aValue: TUnicodeStringDynArray); procedure _Setimg_src(const aValue: TUnicodeStringDynArray); procedure _Setmedia_src(const aValue: TUnicodeStringDynArray); procedure _Setframe_src(const aValue: TUnicodeStringDynArray); procedure _Setfont_src(const aValue: TUnicodeStringDynArray); procedure _Setconnect_src(const aValue: TUnicodeStringDynArray); procedure _Setreport_uri(const aValue: TUnicodeStringDynArray); procedure _Setframe_ancestors(const aValue: TUnicodeStringDynArray); procedure _Setbase_uri(const aValue: TUnicodeStringDynArray); procedure _Setform_action(const aValue: TUnicodeStringDynArray); procedure _Setreferrer(const aValue: TUnicodeStringDynArray); procedure _Setmanifest_src(const aValue: TUnicodeStringDynArray); procedure _Setupgrade_insecure_requests(const aValue: TUnicodeStringDynArray); procedure _Setchild_src(const aValue: TUnicodeStringDynArray); procedure _Setblock_all_mixed_content(const aValue: TUnicodeStringDynArray); procedure _Setsandbox(const aValue: TUnicodeStringDynArray); procedure _Setworker_src(const aValue: TUnicodeStringDynArray); procedure _Setscript_src_elem(const aValue: TUnicodeStringDynArray); procedure _Setscript_src_attr(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSCSPRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSP; property report_only: Boolean read _Getreport_only write _Setreport_only; property default_src: TUnicodeStringDynArray read _Getdefault_src write _Setdefault_src; property script_src: TUnicodeStringDynArray read _Getscript_src write _Setscript_src; property object_src: TUnicodeStringDynArray read _Getobject_src write _Setobject_src; property style_src: TUnicodeStringDynArray read _Getstyle_src write _Setstyle_src; property img_src: TUnicodeStringDynArray read _Getimg_src write _Setimg_src; property media_src: TUnicodeStringDynArray read _Getmedia_src write _Setmedia_src; property frame_src: TUnicodeStringDynArray read _Getframe_src write _Setframe_src; property font_src: TUnicodeStringDynArray read _Getfont_src write _Setfont_src; property connect_src: TUnicodeStringDynArray read _Getconnect_src write _Setconnect_src; property report_uri: TUnicodeStringDynArray read _Getreport_uri write _Setreport_uri; property frame_ancestors: TUnicodeStringDynArray read _Getframe_ancestors write _Setframe_ancestors; property base_uri: TUnicodeStringDynArray read _Getbase_uri write _Setbase_uri; property form_action: TUnicodeStringDynArray read _Getform_action write _Setform_action; property referrer: TUnicodeStringDynArray read _Getreferrer write _Setreferrer; property manifest_src: TUnicodeStringDynArray read _Getmanifest_src write _Setmanifest_src; property upgrade_insecure_requests: TUnicodeStringDynArray read _Getupgrade_insecure_requests write _Setupgrade_insecure_requests; property child_src: TUnicodeStringDynArray read _Getchild_src write _Setchild_src; property block_all_mixed_content: TUnicodeStringDynArray read _Getblock_all_mixed_content write _Setblock_all_mixed_content; property sandbox: TUnicodeStringDynArray read _Getsandbox write _Setsandbox; property worker_src: TUnicodeStringDynArray read _Getworker_src write _Setworker_src; property script_src_elem: TUnicodeStringDynArray read _Getscript_src_elem write _Setscript_src_elem; property script_src_attr: TUnicodeStringDynArray read _Getscript_src_attr write _Setscript_src_attr; end; { -------------------------------------------------------------------- TJSCSPPolicies --------------------------------------------------------------------} TJSCSPDynArray = IJSArray; // array of CSP TJSCSPPoliciesRec = record csp_policies: TJSCSPDynArray; end; IJSCSPPolicies = interface(IJSObject) ['{EEDFAF0C-D887-31F7-B3F1-7B5AAFD78257}'] function _Getcsp_policies: TJSCSPDynArray; procedure _Setcsp_policies(const aValue: TJSCSPDynArray); property csp_policies: TJSCSPDynArray read _Getcsp_policies write _Setcsp_policies; end; TJSCSPPolicies = class(TJSObject,IJSCSPPolicies) Private Protected function _Getcsp_policies: TJSCSPDynArray; procedure _Setcsp_policies(const aValue: TJSCSPDynArray); Public constructor create(const aDict : TJSCSPPoliciesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSPPolicies; property csp_policies: TJSCSPDynArray read _Getcsp_policies write _Setcsp_policies; end; { -------------------------------------------------------------------- TJSCSPReportProperties --------------------------------------------------------------------} TJSCSPReportPropertiesRec = record document_uri: UnicodeString; referrer: UnicodeString; blocked_uri: UnicodeString; effective_directive: UnicodeString; violated_directive: UnicodeString; original_policy: UnicodeString; disposition: TSecurityPolicyViolationEventDisposition; status_code: LongInt; source_file: UnicodeString; script_sample: UnicodeString; line_number: LongInt; column_number: LongInt; end; IJSCSPReportProperties = interface(IJSObject) ['{7FD4BB7D-7E2B-38D1-958D-2279FD2F6F80}'] function _Getdocument_uri: UnicodeString; function _Getreferrer: UnicodeString; function _Getblocked_uri: UnicodeString; function _Geteffective_directive: UnicodeString; function _Getviolated_directive: UnicodeString; function _Getoriginal_policy: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _Getstatus_code: LongInt; function _Getsource_file: UnicodeString; function _Getscript_sample: UnicodeString; function _Getline_number: LongInt; function _Getcolumn_number: LongInt; procedure _Setdocument_uri(const aValue: UnicodeString); procedure _Setreferrer(const aValue: UnicodeString); procedure _Setblocked_uri(const aValue: UnicodeString); procedure _Seteffective_directive(const aValue: UnicodeString); procedure _Setviolated_directive(const aValue: UnicodeString); procedure _Setoriginal_policy(const aValue: UnicodeString); procedure _Setdisposition(const aValue: TSecurityPolicyViolationEventDisposition); procedure _Setstatus_code(const aValue: LongInt); procedure _Setsource_file(const aValue: UnicodeString); procedure _Setscript_sample(const aValue: UnicodeString); procedure _Setline_number(const aValue: LongInt); procedure _Setcolumn_number(const aValue: LongInt); property document_uri: UnicodeString read _Getdocument_uri write _Setdocument_uri; property referrer: UnicodeString read _Getreferrer write _Setreferrer; property blocked_uri: UnicodeString read _Getblocked_uri write _Setblocked_uri; property effective_directive: UnicodeString read _Geteffective_directive write _Seteffective_directive; property violated_directive: UnicodeString read _Getviolated_directive write _Setviolated_directive; property original_policy: UnicodeString read _Getoriginal_policy write _Setoriginal_policy; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition write _Setdisposition; property status_code: LongInt read _Getstatus_code write _Setstatus_code; property source_file: UnicodeString read _Getsource_file write _Setsource_file; property script_sample: UnicodeString read _Getscript_sample write _Setscript_sample; property line_number: LongInt read _Getline_number write _Setline_number; property column_number: LongInt read _Getcolumn_number write _Setcolumn_number; end; TJSCSPReportProperties = class(TJSObject,IJSCSPReportProperties) Private Protected function _Getdocument_uri: UnicodeString; function _Getreferrer: UnicodeString; function _Getblocked_uri: UnicodeString; function _Geteffective_directive: UnicodeString; function _Getviolated_directive: UnicodeString; function _Getoriginal_policy: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _Getstatus_code: LongInt; function _Getsource_file: UnicodeString; function _Getscript_sample: UnicodeString; function _Getline_number: LongInt; function _Getcolumn_number: LongInt; procedure _Setdocument_uri(const aValue: UnicodeString); procedure _Setreferrer(const aValue: UnicodeString); procedure _Setblocked_uri(const aValue: UnicodeString); procedure _Seteffective_directive(const aValue: UnicodeString); procedure _Setviolated_directive(const aValue: UnicodeString); procedure _Setoriginal_policy(const aValue: UnicodeString); procedure _Setdisposition(const aValue: TSecurityPolicyViolationEventDisposition); procedure _Setstatus_code(const aValue: LongInt); procedure _Setsource_file(const aValue: UnicodeString); procedure _Setscript_sample(const aValue: UnicodeString); procedure _Setline_number(const aValue: LongInt); procedure _Setcolumn_number(const aValue: LongInt); Public constructor create(const aDict : TJSCSPReportPropertiesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSPReportProperties; property document_uri: UnicodeString read _Getdocument_uri write _Setdocument_uri; property referrer: UnicodeString read _Getreferrer write _Setreferrer; property blocked_uri: UnicodeString read _Getblocked_uri write _Setblocked_uri; property effective_directive: UnicodeString read _Geteffective_directive write _Seteffective_directive; property violated_directive: UnicodeString read _Getviolated_directive write _Setviolated_directive; property original_policy: UnicodeString read _Getoriginal_policy write _Setoriginal_policy; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition write _Setdisposition; property status_code: LongInt read _Getstatus_code write _Setstatus_code; property source_file: UnicodeString read _Getsource_file write _Setsource_file; property script_sample: UnicodeString read _Getscript_sample write _Setscript_sample; property line_number: LongInt read _Getline_number write _Setline_number; property column_number: LongInt read _Getcolumn_number write _Setcolumn_number; end; { -------------------------------------------------------------------- TJSCSPReport --------------------------------------------------------------------} TJSCSPReportRec = record csp_report: TJSCSPReportProperties; end; IJSCSPReport = interface(IJSObject) ['{33816F6F-DAF0-31EB-88EE-DE08AA10C552}'] function _Getcsp_report: IJSCSPReportProperties; procedure _Setcsp_report(const aValue: IJSCSPReportProperties); property csp_report: IJSCSPReportProperties read _Getcsp_report write _Setcsp_report; end; TJSCSPReport = class(TJSObject,IJSCSPReport) Private Protected function _Getcsp_report: IJSCSPReportProperties; procedure _Setcsp_report(const aValue: IJSCSPReportProperties); Public constructor create(const aDict : TJSCSPReportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSPReport; property csp_report: IJSCSPReportProperties read _Getcsp_report write _Setcsp_report; end; { -------------------------------------------------------------------- TJSPropertyDefinition --------------------------------------------------------------------} TJSPropertyDefinitionRec = record name: UTF8String; syntax: UTF8String; inherits: Boolean; initialValue: UTF8String; end; IJSPropertyDefinition = interface(IJSObject) ['{2586C6D7-C505-395B-8DDB-0710E991D2A8}'] function _Getname: UTF8String; function _Getsyntax: UTF8String; function _Getinherits: Boolean; function _GetinitialValue: UTF8String; procedure _Setname(const aValue: UTF8String); procedure _Setsyntax(const aValue: UTF8String); procedure _Setinherits(const aValue: Boolean); procedure _SetinitialValue(const aValue: UTF8String); property name: UTF8String read _Getname write _Setname; property syntax: UTF8String read _Getsyntax write _Setsyntax; property inherits: Boolean read _Getinherits write _Setinherits; property initialValue: UTF8String read _GetinitialValue write _SetinitialValue; end; TJSPropertyDefinition = class(TJSObject,IJSPropertyDefinition) Private Protected function _Getname: UTF8String; function _Getsyntax: UTF8String; function _Getinherits: Boolean; function _GetinitialValue: UTF8String; procedure _Setname(const aValue: UTF8String); procedure _Setsyntax(const aValue: UTF8String); procedure _Setinherits(const aValue: Boolean); procedure _SetinitialValue(const aValue: UTF8String); Public constructor create(const aDict : TJSPropertyDefinitionRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPropertyDefinition; property name: UTF8String read _Getname write _Setname; property syntax: UTF8String read _Getsyntax write _Setsyntax; property inherits: Boolean read _Getinherits write _Setinherits; property initialValue: UTF8String read _GetinitialValue write _SetinitialValue; end; { -------------------------------------------------------------------- TJSSelectorWarning --------------------------------------------------------------------} TJSSelectorWarningRec = record index: Cardinal; kind: TSelectorWarningKind; end; IJSSelectorWarning = interface(IJSObject) ['{BE6C7B85-681F-3E40-A97C-E7CA7DC9AFDD}'] function _Getindex: Cardinal; function _Getkind: TSelectorWarningKind; procedure _Setindex(const aValue: Cardinal); procedure _Setkind(const aValue: TSelectorWarningKind); property index: Cardinal read _Getindex write _Setindex; property kind: TSelectorWarningKind read _Getkind write _Setkind; end; TJSSelectorWarning = class(TJSObject,IJSSelectorWarning) Private Protected function _Getindex: Cardinal; function _Getkind: TSelectorWarningKind; procedure _Setindex(const aValue: Cardinal); procedure _Setkind(const aValue: TSelectorWarningKind); Public constructor create(const aDict : TJSSelectorWarningRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSelectorWarning; property index: Cardinal read _Getindex write _Setindex; property kind: TSelectorWarningKind read _Getkind write _Setkind; end; { -------------------------------------------------------------------- TJSCSSStyleSheetInit --------------------------------------------------------------------} // Union of MediaList, UTF8String TCSSStyleSheetInit_media_Type = Variant; TJSCSSStyleSheetInitRec = record media: TCSSStyleSheetInit_media_Type; disabled: Boolean; baseURL: UTF8String; end; IJSCSSStyleSheetInit = interface(IJSObject) ['{011B7DBB-863E-347E-BF4B-B82FE58BA675}'] function _Getmedia: TCSSStyleSheetInit_media_Type; function _Getdisabled: Boolean; function _GetbaseURL: UTF8String; procedure _Setmedia(const aValue: TCSSStyleSheetInit_media_Type); procedure _Setdisabled(const aValue: Boolean); procedure _SetbaseURL(const aValue: UTF8String); property media: TCSSStyleSheetInit_media_Type read _Getmedia write _Setmedia; property disabled: Boolean read _Getdisabled write _Setdisabled; property baseURL: UTF8String read _GetbaseURL write _SetbaseURL; end; TJSCSSStyleSheetInit = class(TJSObject,IJSCSSStyleSheetInit) Private Protected function _Getmedia: TCSSStyleSheetInit_media_Type; function _Getdisabled: Boolean; function _GetbaseURL: UTF8String; procedure _Setmedia(const aValue: TCSSStyleSheetInit_media_Type); procedure _Setdisabled(const aValue: Boolean); procedure _SetbaseURL(const aValue: UTF8String); Public constructor create(const aDict : TJSCSSStyleSheetInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSStyleSheetInit; property media: TCSSStyleSheetInit_media_Type read _Getmedia write _Setmedia; property disabled: Boolean read _Getdisabled write _Setdisabled; property baseURL: UTF8String read _GetbaseURL write _SetbaseURL; end; { -------------------------------------------------------------------- TJSElementDefinitionOptions --------------------------------------------------------------------} TJSElementDefinitionOptionsRec = record extends: UnicodeString; end; IJSElementDefinitionOptions = interface(IJSObject) ['{B4B878B8-A4B7-3F9C-B984-E545BB51932E}'] function _Getextends: UnicodeString; procedure _Setextends(const aValue: UnicodeString); property extends: UnicodeString read _Getextends write _Setextends; end; TJSElementDefinitionOptions = class(TJSObject,IJSElementDefinitionOptions) Private Protected function _Getextends: UnicodeString; procedure _Setextends(const aValue: UnicodeString); Public constructor create(const aDict : TJSElementDefinitionOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSElementDefinitionOptions; property extends: UnicodeString read _Getextends write _Setextends; end; { -------------------------------------------------------------------- TJSLifecycleCallbacks --------------------------------------------------------------------} TJSLifecycleCallbacksRec = record connectedCallback: TLifecycleConnectedCallback; disconnectedCallback: TLifecycleDisconnectedCallback; adoptedCallback: TLifecycleAdoptedCallback; attributeChangedCallback: TLifecycleAttributeChangedCallback; end; IJSLifecycleCallbacks = interface(IJSObject) ['{DEB6E314-F1C9-3862-ABE2-45AAF2F86FC9}'] function _GetconnectedCallback: TLifecycleConnectedCallback; function _GetdisconnectedCallback: TLifecycleDisconnectedCallback; function _GetadoptedCallback: TLifecycleAdoptedCallback; function _GetattributeChangedCallback: TLifecycleAttributeChangedCallback; procedure _SetconnectedCallback(const aValue: TLifecycleConnectedCallback); procedure _SetdisconnectedCallback(const aValue: TLifecycleDisconnectedCallback); procedure _SetadoptedCallback(const aValue: TLifecycleAdoptedCallback); procedure _SetattributeChangedCallback(const aValue: TLifecycleAttributeChangedCallback); property connectedCallback: TLifecycleConnectedCallback read _GetconnectedCallback write _SetconnectedCallback; property disconnectedCallback: TLifecycleDisconnectedCallback read _GetdisconnectedCallback write _SetdisconnectedCallback; property adoptedCallback: TLifecycleAdoptedCallback read _GetadoptedCallback write _SetadoptedCallback; property attributeChangedCallback: TLifecycleAttributeChangedCallback read _GetattributeChangedCallback write _SetattributeChangedCallback; end; TJSLifecycleCallbacks = class(TJSObject,IJSLifecycleCallbacks) Private Protected function _GetconnectedCallback: TLifecycleConnectedCallback; function _GetdisconnectedCallback: TLifecycleDisconnectedCallback; function _GetadoptedCallback: TLifecycleAdoptedCallback; function _GetattributeChangedCallback: TLifecycleAttributeChangedCallback; procedure _SetconnectedCallback(const aValue: TLifecycleConnectedCallback); procedure _SetdisconnectedCallback(const aValue: TLifecycleDisconnectedCallback); procedure _SetadoptedCallback(const aValue: TLifecycleAdoptedCallback); procedure _SetattributeChangedCallback(const aValue: TLifecycleAttributeChangedCallback); Public constructor create(const aDict : TJSLifecycleCallbacksRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLifecycleCallbacks; property connectedCallback: TLifecycleConnectedCallback read _GetconnectedCallback write _SetconnectedCallback; property disconnectedCallback: TLifecycleDisconnectedCallback read _GetdisconnectedCallback write _SetdisconnectedCallback; property adoptedCallback: TLifecycleAdoptedCallback read _GetadoptedCallback write _SetadoptedCallback; property attributeChangedCallback: TLifecycleAttributeChangedCallback read _GetattributeChangedCallback write _SetattributeChangedCallback; end; { -------------------------------------------------------------------- TJSFormAssociatedLifecycleCallbacks --------------------------------------------------------------------} TJSFormAssociatedLifecycleCallbacksRec = record formAssociatedCallback: TLifecycleFormAssociatedCallback; formResetCallback: TLifecycleFormResetCallback; formDisabledCallback: TLifecycleFormDisabledCallback; formStateRestoreCallback: TLifecycleFormStateRestoreCallback; end; IJSFormAssociatedLifecycleCallbacks = interface(IJSObject) ['{B4E08713-D813-3D52-BFD6-D67F332B78D7}'] function _GetformAssociatedCallback: TLifecycleFormAssociatedCallback; function _GetformResetCallback: TLifecycleFormResetCallback; function _GetformDisabledCallback: TLifecycleFormDisabledCallback; function _GetformStateRestoreCallback: TLifecycleFormStateRestoreCallback; procedure _SetformAssociatedCallback(const aValue: TLifecycleFormAssociatedCallback); procedure _SetformResetCallback(const aValue: TLifecycleFormResetCallback); procedure _SetformDisabledCallback(const aValue: TLifecycleFormDisabledCallback); procedure _SetformStateRestoreCallback(const aValue: TLifecycleFormStateRestoreCallback); property formAssociatedCallback: TLifecycleFormAssociatedCallback read _GetformAssociatedCallback write _SetformAssociatedCallback; property formResetCallback: TLifecycleFormResetCallback read _GetformResetCallback write _SetformResetCallback; property formDisabledCallback: TLifecycleFormDisabledCallback read _GetformDisabledCallback write _SetformDisabledCallback; property formStateRestoreCallback: TLifecycleFormStateRestoreCallback read _GetformStateRestoreCallback write _SetformStateRestoreCallback; end; TJSFormAssociatedLifecycleCallbacks = class(TJSObject,IJSFormAssociatedLifecycleCallbacks) Private Protected function _GetformAssociatedCallback: TLifecycleFormAssociatedCallback; function _GetformResetCallback: TLifecycleFormResetCallback; function _GetformDisabledCallback: TLifecycleFormDisabledCallback; function _GetformStateRestoreCallback: TLifecycleFormStateRestoreCallback; procedure _SetformAssociatedCallback(const aValue: TLifecycleFormAssociatedCallback); procedure _SetformResetCallback(const aValue: TLifecycleFormResetCallback); procedure _SetformDisabledCallback(const aValue: TLifecycleFormDisabledCallback); procedure _SetformStateRestoreCallback(const aValue: TLifecycleFormStateRestoreCallback); Public constructor create(const aDict : TJSFormAssociatedLifecycleCallbacksRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFormAssociatedLifecycleCallbacks; property formAssociatedCallback: TLifecycleFormAssociatedCallback read _GetformAssociatedCallback write _SetformAssociatedCallback; property formResetCallback: TLifecycleFormResetCallback read _GetformResetCallback write _SetformResetCallback; property formDisabledCallback: TLifecycleFormDisabledCallback read _GetformDisabledCallback write _SetformDisabledCallback; property formStateRestoreCallback: TLifecycleFormStateRestoreCallback read _GetformStateRestoreCallback write _SetformStateRestoreCallback; end; { -------------------------------------------------------------------- TJSDecoderDoctorNotification --------------------------------------------------------------------} TJSDecoderDoctorNotificationRec = record type_: TDecoderDoctorNotificationType; isSolved: Boolean; decoderDoctorReportId: UnicodeString; formats: UnicodeString; decodeIssue: UnicodeString; docURL: UnicodeString; resourceURL: UnicodeString; end; IJSDecoderDoctorNotification = interface(IJSObject) ['{3A0FA850-1AE6-35EC-9353-7CF5F4174A63}'] function _Gettype_: TDecoderDoctorNotificationType; function _GetisSolved: Boolean; function _GetdecoderDoctorReportId: UnicodeString; function _Getformats: UnicodeString; function _GetdecodeIssue: UnicodeString; function _GetdocURL: UnicodeString; function _GetresourceURL: UnicodeString; procedure _Settype_(const aValue: TDecoderDoctorNotificationType); procedure _SetisSolved(const aValue: Boolean); procedure _SetdecoderDoctorReportId(const aValue: UnicodeString); procedure _Setformats(const aValue: UnicodeString); procedure _SetdecodeIssue(const aValue: UnicodeString); procedure _SetdocURL(const aValue: UnicodeString); procedure _SetresourceURL(const aValue: UnicodeString); property type_: TDecoderDoctorNotificationType read _Gettype_ write _Settype_; property isSolved: Boolean read _GetisSolved write _SetisSolved; property decoderDoctorReportId: UnicodeString read _GetdecoderDoctorReportId write _SetdecoderDoctorReportId; property formats: UnicodeString read _Getformats write _Setformats; property decodeIssue: UnicodeString read _GetdecodeIssue write _SetdecodeIssue; property docURL: UnicodeString read _GetdocURL write _SetdocURL; property resourceURL: UnicodeString read _GetresourceURL write _SetresourceURL; end; TJSDecoderDoctorNotification = class(TJSObject,IJSDecoderDoctorNotification) Private Protected function _Gettype_: TDecoderDoctorNotificationType; function _GetisSolved: Boolean; function _GetdecoderDoctorReportId: UnicodeString; function _Getformats: UnicodeString; function _GetdecodeIssue: UnicodeString; function _GetdocURL: UnicodeString; function _GetresourceURL: UnicodeString; procedure _Settype_(const aValue: TDecoderDoctorNotificationType); procedure _SetisSolved(const aValue: Boolean); procedure _SetdecoderDoctorReportId(const aValue: UnicodeString); procedure _Setformats(const aValue: UnicodeString); procedure _SetdecodeIssue(const aValue: UnicodeString); procedure _SetdocURL(const aValue: UnicodeString); procedure _SetresourceURL(const aValue: UnicodeString); Public constructor create(const aDict : TJSDecoderDoctorNotificationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDecoderDoctorNotification; property type_: TDecoderDoctorNotificationType read _Gettype_ write _Settype_; property isSolved: Boolean read _GetisSolved write _SetisSolved; property decoderDoctorReportId: UnicodeString read _GetdecoderDoctorReportId write _SetdecoderDoctorReportId; property formats: UnicodeString read _Getformats write _Setformats; property decodeIssue: UnicodeString read _GetdecodeIssue write _SetdecodeIssue; property docURL: UnicodeString read _GetdocURL write _SetdocURL; property resourceURL: UnicodeString read _GetresourceURL write _SetresourceURL; end; { -------------------------------------------------------------------- TJSDeviceAccelerationInit --------------------------------------------------------------------} TJSDeviceAccelerationInitRec = record x: Double; y: Double; z: Double; end; IJSDeviceAccelerationInit = interface(IJSObject) ['{D29DF84A-2C80-3E8B-A6BD-B0AA41DA949B}'] function _Getx: Double; function _Gety: Double; function _Getz: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setz(const aValue: Double); property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property z: Double read _Getz write _Setz; end; TJSDeviceAccelerationInit = class(TJSObject,IJSDeviceAccelerationInit) Private Protected function _Getx: Double; function _Gety: Double; function _Getz: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setz(const aValue: Double); Public constructor create(const aDict : TJSDeviceAccelerationInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceAccelerationInit; property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property z: Double read _Getz write _Setz; end; { -------------------------------------------------------------------- TJSDeviceRotationRateInit --------------------------------------------------------------------} TJSDeviceRotationRateInitRec = record alpha: Double; beta: Double; gamma: Double; end; IJSDeviceRotationRateInit = interface(IJSObject) ['{CE0A0473-5AAA-3F26-877B-0E1B8D5A9471}'] function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; procedure _Setalpha(const aValue: Double); procedure _Setbeta(const aValue: Double); procedure _Setgamma(const aValue: Double); property alpha: Double read _Getalpha write _Setalpha; property beta: Double read _Getbeta write _Setbeta; property gamma: Double read _Getgamma write _Setgamma; end; TJSDeviceRotationRateInit = class(TJSObject,IJSDeviceRotationRateInit) Private Protected function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; procedure _Setalpha(const aValue: Double); procedure _Setbeta(const aValue: Double); procedure _Setgamma(const aValue: Double); Public constructor create(const aDict : TJSDeviceRotationRateInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceRotationRateInit; property alpha: Double read _Getalpha write _Setalpha; property beta: Double read _Getbeta write _Setbeta; property gamma: Double read _Getgamma write _Setgamma; end; { -------------------------------------------------------------------- TJSElementCreationOptions --------------------------------------------------------------------} TJSElementCreationOptionsRec = record is_: UnicodeString; end; IJSElementCreationOptions = interface(IJSObject) ['{1C2E9247-8DD5-3F7B-BC95-1DF7555AB97A}'] function _Getis_: UnicodeString; procedure _Setis_(const aValue: UnicodeString); property is_: UnicodeString read _Getis_ write _Setis_; end; TJSElementCreationOptions = class(TJSObject,IJSElementCreationOptions) Private Protected function _Getis_: UnicodeString; procedure _Setis_(const aValue: UnicodeString); Public constructor create(const aDict : TJSElementCreationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSElementCreationOptions; property is_: UnicodeString read _Getis_ write _Setis_; end; { -------------------------------------------------------------------- TJSBlockParsingOptions --------------------------------------------------------------------} TJSBlockParsingOptionsRec = record blockScriptCreated: Boolean; end; IJSBlockParsingOptions = interface(IJSObject) ['{57B65486-897F-339F-A698-AB2C5DB2B8A7}'] function _GetblockScriptCreated: Boolean; procedure _SetblockScriptCreated(const aValue: Boolean); property blockScriptCreated: Boolean read _GetblockScriptCreated write _SetblockScriptCreated; end; TJSBlockParsingOptions = class(TJSObject,IJSBlockParsingOptions) Private Protected function _GetblockScriptCreated: Boolean; procedure _SetblockScriptCreated(const aValue: Boolean); Public constructor create(const aDict : TJSBlockParsingOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBlockParsingOptions; property blockScriptCreated: Boolean read _GetblockScriptCreated write _SetblockScriptCreated; end; { -------------------------------------------------------------------- TJSWireframeTaggedRect --------------------------------------------------------------------} TJSWireframeTaggedRectRec = record x: Double; y: Double; width: Double; height: Double; color: Cardinal; type_: TWireframeRectType; node: IJSNode; end; IJSWireframeTaggedRect = interface(IJSObject) ['{726B02C7-2133-3EB5-8FA9-813EFF74A3FB}'] function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; function _Getcolor: Cardinal; function _Gettype_: TWireframeRectType; function _Getnode: IJSNode; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setwidth(const aValue: Double); procedure _Setheight(const aValue: Double); procedure _Setcolor(const aValue: Cardinal); procedure _Settype_(const aValue: TWireframeRectType); procedure _Setnode(const aValue: IJSNode); property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property width: Double read _Getwidth write _Setwidth; property height: Double read _Getheight write _Setheight; property color: Cardinal read _Getcolor write _Setcolor; property type_: TWireframeRectType read _Gettype_ write _Settype_; property node: IJSNode read _Getnode write _Setnode; end; TJSWireframeTaggedRect = class(TJSObject,IJSWireframeTaggedRect) Private Protected function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; function _Getcolor: Cardinal; function _Gettype_: TWireframeRectType; function _Getnode: IJSNode; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setwidth(const aValue: Double); procedure _Setheight(const aValue: Double); procedure _Setcolor(const aValue: Cardinal); procedure _Settype_(const aValue: TWireframeRectType); procedure _Setnode(const aValue: IJSNode); Public constructor create(const aDict : TJSWireframeTaggedRectRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWireframeTaggedRect; property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property width: Double read _Getwidth write _Setwidth; property height: Double read _Getheight write _Setheight; property color: Cardinal read _Getcolor write _Setcolor; property type_: TWireframeRectType read _Gettype_ write _Settype_; property node: IJSNode read _Getnode write _Setnode; end; { -------------------------------------------------------------------- TJSWireframe --------------------------------------------------------------------} TJSWireframeTaggedRectDynArray = IJSArray; // array of WireframeTaggedRect TJSWireframeRec = record canvasBackground: Cardinal; rects: TJSWireframeTaggedRectDynArray; version: Cardinal; end; IJSWireframe = interface(IJSObject) ['{45415E2E-24F7-39AC-A9CD-B7216C577103}'] function _GetcanvasBackground: Cardinal; function _Getrects: TJSWireframeTaggedRectDynArray; function _Getversion: Cardinal; procedure _SetcanvasBackground(const aValue: Cardinal); procedure _Setrects(const aValue: TJSWireframeTaggedRectDynArray); procedure _Setversion(const aValue: Cardinal); property canvasBackground: Cardinal read _GetcanvasBackground write _SetcanvasBackground; property rects: TJSWireframeTaggedRectDynArray read _Getrects write _Setrects; property version: Cardinal read _Getversion write _Setversion; end; TJSWireframe = class(TJSObject,IJSWireframe) Private Protected function _GetcanvasBackground: Cardinal; function _Getrects: TJSWireframeTaggedRectDynArray; function _Getversion: Cardinal; procedure _SetcanvasBackground(const aValue: Cardinal); procedure _Setrects(const aValue: TJSWireframeTaggedRectDynArray); procedure _Setversion(const aValue: Cardinal); Public constructor create(const aDict : TJSWireframeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWireframe; property canvasBackground: Cardinal read _GetcanvasBackground write _SetcanvasBackground; property rects: TJSWireframeTaggedRectDynArray read _Getrects write _Setrects; property version: Cardinal read _Getversion write _Setversion; end; { -------------------------------------------------------------------- TJSDocumentTimelineOptions --------------------------------------------------------------------} TJSDocumentTimelineOptionsRec = record originTime: TDOMHighResTimeStamp; end; IJSDocumentTimelineOptions = interface(IJSObject) ['{86BB71D3-2A98-3E8D-8971-C7A3C9B1E2EC}'] function _GetoriginTime: TDOMHighResTimeStamp; procedure _SetoriginTime(const aValue: TDOMHighResTimeStamp); property originTime: TDOMHighResTimeStamp read _GetoriginTime write _SetoriginTime; end; TJSDocumentTimelineOptions = class(TJSObject,IJSDocumentTimelineOptions) Private Protected function _GetoriginTime: TDOMHighResTimeStamp; procedure _SetoriginTime(const aValue: TDOMHighResTimeStamp); Public constructor create(const aDict : TJSDocumentTimelineOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocumentTimelineOptions; property originTime: TDOMHighResTimeStamp read _GetoriginTime write _SetoriginTime; end; { -------------------------------------------------------------------- TJSDOMMatrix2DInit --------------------------------------------------------------------} TJSDOMMatrix2DInitRec = record a: Double; b: Double; c: Double; d: Double; e: Double; f: Double; m11: Double; m12: Double; m21: Double; m22: Double; m41: Double; m42: Double; end; IJSDOMMatrix2DInit = interface(IJSObject) ['{DA096D9A-0409-3B26-8A80-AC365B404C8C}'] function _Geta: Double; function _Getb: Double; function _Getc: Double; function _Getd: Double; function _Gete: Double; function _Getf: Double; function _Getm11: Double; function _Getm12: Double; function _Getm21: Double; function _Getm22: Double; function _Getm41: Double; function _Getm42: Double; procedure _Seta(const aValue: Double); procedure _Setb(const aValue: Double); procedure _Setc(const aValue: Double); procedure _Setd(const aValue: Double); procedure _Sete(const aValue: Double); procedure _Setf(const aValue: Double); procedure _Setm11(const aValue: Double); procedure _Setm12(const aValue: Double); procedure _Setm21(const aValue: Double); procedure _Setm22(const aValue: Double); procedure _Setm41(const aValue: Double); procedure _Setm42(const aValue: Double); property a: Double read _Geta write _Seta; property b: Double read _Getb write _Setb; property c: Double read _Getc write _Setc; property d: Double read _Getd write _Setd; property e: Double read _Gete write _Sete; property f: Double read _Getf write _Setf; property m11: Double read _Getm11 write _Setm11; property m12: Double read _Getm12 write _Setm12; property m21: Double read _Getm21 write _Setm21; property m22: Double read _Getm22 write _Setm22; property m41: Double read _Getm41 write _Setm41; property m42: Double read _Getm42 write _Setm42; end; TJSDOMMatrix2DInit = class(TJSObject,IJSDOMMatrix2DInit) Private Protected function _Geta: Double; function _Getb: Double; function _Getc: Double; function _Getd: Double; function _Gete: Double; function _Getf: Double; function _Getm11: Double; function _Getm12: Double; function _Getm21: Double; function _Getm22: Double; function _Getm41: Double; function _Getm42: Double; procedure _Seta(const aValue: Double); procedure _Setb(const aValue: Double); procedure _Setc(const aValue: Double); procedure _Setd(const aValue: Double); procedure _Sete(const aValue: Double); procedure _Setf(const aValue: Double); procedure _Setm11(const aValue: Double); procedure _Setm12(const aValue: Double); procedure _Setm21(const aValue: Double); procedure _Setm22(const aValue: Double); procedure _Setm41(const aValue: Double); procedure _Setm42(const aValue: Double); Public constructor create(const aDict : TJSDOMMatrix2DInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMMatrix2DInit; property a: Double read _Geta write _Seta; property b: Double read _Getb write _Setb; property c: Double read _Getc write _Setc; property d: Double read _Getd write _Setd; property e: Double read _Gete write _Sete; property f: Double read _Getf write _Setf; property m11: Double read _Getm11 write _Setm11; property m12: Double read _Getm12 write _Setm12; property m21: Double read _Getm21 write _Setm21; property m22: Double read _Getm22 write _Setm22; property m41: Double read _Getm41 write _Setm41; property m42: Double read _Getm42 write _Setm42; end; { -------------------------------------------------------------------- TJSDOMPointInit --------------------------------------------------------------------} TJSDOMPointInitRec = record x: Double; y: Double; z: Double; w: Double; end; IJSDOMPointInit = interface(IJSObject) ['{E6CE1A6D-99B3-3671-9E63-E3D459E2A621}'] function _Getx: Double; function _Gety: Double; function _Getz: Double; function _Getw: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setz(const aValue: Double); procedure _Setw(const aValue: Double); property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property z: Double read _Getz write _Setz; property w: Double read _Getw write _Setw; end; TJSDOMPointInit = class(TJSObject,IJSDOMPointInit) Private Protected function _Getx: Double; function _Gety: Double; function _Getz: Double; function _Getw: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setz(const aValue: Double); procedure _Setw(const aValue: Double); Public constructor create(const aDict : TJSDOMPointInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMPointInit; property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property z: Double read _Getz write _Setz; property w: Double read _Getw write _Setw; end; { -------------------------------------------------------------------- TJSDOMQuadInit --------------------------------------------------------------------} TJSDOMQuadInitRec = record p1: TJSDOMPointInit; p2: TJSDOMPointInit; p3: TJSDOMPointInit; p4: TJSDOMPointInit; end; IJSDOMQuadInit = interface(IJSObject) ['{EEDFBD00-FE2E-3C49-84D0-FD5938E0AE31}'] function _Getp1: IJSDOMPointInit; function _Getp2: IJSDOMPointInit; function _Getp3: IJSDOMPointInit; function _Getp4: IJSDOMPointInit; procedure _Setp1(const aValue: IJSDOMPointInit); procedure _Setp2(const aValue: IJSDOMPointInit); procedure _Setp3(const aValue: IJSDOMPointInit); procedure _Setp4(const aValue: IJSDOMPointInit); property p1: IJSDOMPointInit read _Getp1 write _Setp1; property p2: IJSDOMPointInit read _Getp2 write _Setp2; property p3: IJSDOMPointInit read _Getp3 write _Setp3; property p4: IJSDOMPointInit read _Getp4 write _Setp4; end; TJSDOMQuadInit = class(TJSObject,IJSDOMQuadInit) Private Protected function _Getp1: IJSDOMPointInit; function _Getp2: IJSDOMPointInit; function _Getp3: IJSDOMPointInit; function _Getp4: IJSDOMPointInit; procedure _Setp1(const aValue: IJSDOMPointInit); procedure _Setp2(const aValue: IJSDOMPointInit); procedure _Setp3(const aValue: IJSDOMPointInit); procedure _Setp4(const aValue: IJSDOMPointInit); Public constructor create(const aDict : TJSDOMQuadInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMQuadInit; property p1: IJSDOMPointInit read _Getp1 write _Setp1; property p2: IJSDOMPointInit read _Getp2 write _Setp2; property p3: IJSDOMPointInit read _Getp3 write _Setp3; property p4: IJSDOMPointInit read _Getp4 write _Setp4; end; { -------------------------------------------------------------------- TJSDOMRectInit --------------------------------------------------------------------} TJSDOMRectInitRec = record x: Double; y: Double; width: Double; height: Double; end; IJSDOMRectInit = interface(IJSObject) ['{EA9EDD00-0E42-3C49-BC7F-2EDD319D5E04}'] function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setwidth(const aValue: Double); procedure _Setheight(const aValue: Double); property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property width: Double read _Getwidth write _Setwidth; property height: Double read _Getheight write _Setheight; end; TJSDOMRectInit = class(TJSObject,IJSDOMRectInit) Private Protected function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; procedure _Setx(const aValue: Double); procedure _Sety(const aValue: Double); procedure _Setwidth(const aValue: Double); procedure _Setheight(const aValue: Double); Public constructor create(const aDict : TJSDOMRectInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMRectInit; property x: Double read _Getx write _Setx; property y: Double read _Gety write _Sety; property width: Double read _Getwidth write _Setwidth; property height: Double read _Getheight write _Setheight; end; { -------------------------------------------------------------------- TJSFocusOptions --------------------------------------------------------------------} TJSFocusOptionsRec = record preventScroll: Boolean; focusVisible: Boolean; end; IJSFocusOptions = interface(IJSObject) ['{4C9DEE92-624E-321F-ADCC-7E61FF350680}'] function _GetpreventScroll: Boolean; function _GetfocusVisible: Boolean; procedure _SetpreventScroll(const aValue: Boolean); procedure _SetfocusVisible(const aValue: Boolean); property preventScroll: Boolean read _GetpreventScroll write _SetpreventScroll; property focusVisible: Boolean read _GetfocusVisible write _SetfocusVisible; end; TJSFocusOptions = class(TJSObject,IJSFocusOptions) Private Protected function _GetpreventScroll: Boolean; function _GetfocusVisible: Boolean; procedure _SetpreventScroll(const aValue: Boolean); procedure _SetfocusVisible(const aValue: Boolean); Public constructor create(const aDict : TJSFocusOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFocusOptions; property preventScroll: Boolean read _GetpreventScroll write _SetpreventScroll; property focusVisible: Boolean read _GetfocusVisible write _SetfocusVisible; end; { -------------------------------------------------------------------- TJSCheckVisibilityOptions --------------------------------------------------------------------} TJSCheckVisibilityOptionsRec = record checkOpacity: Boolean; checkVisibilityCSS: Boolean; contentVisibilityAuto: Boolean; opacityProperty: Boolean; visibilityProperty: Boolean; end; IJSCheckVisibilityOptions = interface(IJSObject) ['{3281B500-5FA6-3D4E-A0CC-E88EAEF660BE}'] function _GetcheckOpacity: Boolean; function _GetcheckVisibilityCSS: Boolean; function _GetcontentVisibilityAuto: Boolean; function _GetopacityProperty: Boolean; function _GetvisibilityProperty: Boolean; procedure _SetcheckOpacity(const aValue: Boolean); procedure _SetcheckVisibilityCSS(const aValue: Boolean); procedure _SetcontentVisibilityAuto(const aValue: Boolean); procedure _SetopacityProperty(const aValue: Boolean); procedure _SetvisibilityProperty(const aValue: Boolean); property checkOpacity: Boolean read _GetcheckOpacity write _SetcheckOpacity; property checkVisibilityCSS: Boolean read _GetcheckVisibilityCSS write _SetcheckVisibilityCSS; property contentVisibilityAuto: Boolean read _GetcontentVisibilityAuto write _SetcontentVisibilityAuto; property opacityProperty: Boolean read _GetopacityProperty write _SetopacityProperty; property visibilityProperty: Boolean read _GetvisibilityProperty write _SetvisibilityProperty; end; TJSCheckVisibilityOptions = class(TJSObject,IJSCheckVisibilityOptions) Private Protected function _GetcheckOpacity: Boolean; function _GetcheckVisibilityCSS: Boolean; function _GetcontentVisibilityAuto: Boolean; function _GetopacityProperty: Boolean; function _GetvisibilityProperty: Boolean; procedure _SetcheckOpacity(const aValue: Boolean); procedure _SetcheckVisibilityCSS(const aValue: Boolean); procedure _SetcontentVisibilityAuto(const aValue: Boolean); procedure _SetopacityProperty(const aValue: Boolean); procedure _SetvisibilityProperty(const aValue: Boolean); Public constructor create(const aDict : TJSCheckVisibilityOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCheckVisibilityOptions; property checkOpacity: Boolean read _GetcheckOpacity write _SetcheckOpacity; property checkVisibilityCSS: Boolean read _GetcheckVisibilityCSS write _SetcheckVisibilityCSS; property contentVisibilityAuto: Boolean read _GetcontentVisibilityAuto write _SetcontentVisibilityAuto; property opacityProperty: Boolean read _GetopacityProperty write _SetopacityProperty; property visibilityProperty: Boolean read _GetvisibilityProperty write _SetvisibilityProperty; end; { -------------------------------------------------------------------- TJSShadowRootInit --------------------------------------------------------------------} TJSShadowRootInitRec = record mode: TShadowRootMode; delegatesFocus: Boolean; slotAssignment: TSlotAssignmentMode; clonable: Boolean; end; IJSShadowRootInit = interface(IJSObject) ['{6E511F30-86AA-3E19-BD75-970C6B440A90}'] function _Getmode: TShadowRootMode; function _GetdelegatesFocus: Boolean; function _GetslotAssignment: TSlotAssignmentMode; function _Getclonable: Boolean; procedure _Setmode(const aValue: TShadowRootMode); procedure _SetdelegatesFocus(const aValue: Boolean); procedure _SetslotAssignment(const aValue: TSlotAssignmentMode); procedure _Setclonable(const aValue: Boolean); property mode: TShadowRootMode read _Getmode write _Setmode; property delegatesFocus: Boolean read _GetdelegatesFocus write _SetdelegatesFocus; property slotAssignment: TSlotAssignmentMode read _GetslotAssignment write _SetslotAssignment; property clonable: Boolean read _Getclonable write _Setclonable; end; TJSShadowRootInit = class(TJSObject,IJSShadowRootInit) Private Protected function _Getmode: TShadowRootMode; function _GetdelegatesFocus: Boolean; function _GetslotAssignment: TSlotAssignmentMode; function _Getclonable: Boolean; procedure _Setmode(const aValue: TShadowRootMode); procedure _SetdelegatesFocus(const aValue: Boolean); procedure _SetslotAssignment(const aValue: TSlotAssignmentMode); procedure _Setclonable(const aValue: Boolean); Public constructor create(const aDict : TJSShadowRootInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSShadowRootInit; property mode: TShadowRootMode read _Getmode write _Setmode; property delegatesFocus: Boolean read _GetdelegatesFocus write _SetdelegatesFocus; property slotAssignment: TSlotAssignmentMode read _GetslotAssignment write _SetslotAssignment; property clonable: Boolean read _Getclonable write _Setclonable; end; { -------------------------------------------------------------------- TJSSetHTMLOptions --------------------------------------------------------------------} TJSSetHTMLOptionsRec = record sanitizer: TJSSanitizerConfig; end; IJSSetHTMLOptions = interface(IJSObject) ['{A28D8BC3-0006-3755-9AB9-8CC3E62FCECD}'] function _Getsanitizer: IJSSanitizerConfig; procedure _Setsanitizer(const aValue: IJSSanitizerConfig); property sanitizer: IJSSanitizerConfig read _Getsanitizer write _Setsanitizer; end; TJSSetHTMLOptions = class(TJSObject,IJSSetHTMLOptions) Private Protected function _Getsanitizer: IJSSanitizerConfig; procedure _Setsanitizer(const aValue: IJSSanitizerConfig); Public constructor create(const aDict : TJSSetHTMLOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSetHTMLOptions; property sanitizer: IJSSanitizerConfig read _Getsanitizer write _Setsanitizer; end; { -------------------------------------------------------------------- TJSValidityStateFlags --------------------------------------------------------------------} TJSValidityStateFlagsRec = record valueMissing: Boolean; typeMismatch: Boolean; patternMismatch: Boolean; tooLong: Boolean; tooShort: Boolean; rangeUnderflow: Boolean; rangeOverflow: Boolean; stepMismatch: Boolean; badInput: Boolean; customError: Boolean; end; IJSValidityStateFlags = interface(IJSObject) ['{2C09385D-5153-36E9-A684-4A295C7298EE}'] function _GetvalueMissing: Boolean; function _GettypeMismatch: Boolean; function _GetpatternMismatch: Boolean; function _GettooLong: Boolean; function _GettooShort: Boolean; function _GetrangeUnderflow: Boolean; function _GetrangeOverflow: Boolean; function _GetstepMismatch: Boolean; function _GetbadInput: Boolean; function _GetcustomError: Boolean; procedure _SetvalueMissing(const aValue: Boolean); procedure _SettypeMismatch(const aValue: Boolean); procedure _SetpatternMismatch(const aValue: Boolean); procedure _SettooLong(const aValue: Boolean); procedure _SettooShort(const aValue: Boolean); procedure _SetrangeUnderflow(const aValue: Boolean); procedure _SetrangeOverflow(const aValue: Boolean); procedure _SetstepMismatch(const aValue: Boolean); procedure _SetbadInput(const aValue: Boolean); procedure _SetcustomError(const aValue: Boolean); property valueMissing: Boolean read _GetvalueMissing write _SetvalueMissing; property typeMismatch: Boolean read _GettypeMismatch write _SettypeMismatch; property patternMismatch: Boolean read _GetpatternMismatch write _SetpatternMismatch; property tooLong: Boolean read _GettooLong write _SettooLong; property tooShort: Boolean read _GettooShort write _SettooShort; property rangeUnderflow: Boolean read _GetrangeUnderflow write _SetrangeUnderflow; property rangeOverflow: Boolean read _GetrangeOverflow write _SetrangeOverflow; property stepMismatch: Boolean read _GetstepMismatch write _SetstepMismatch; property badInput: Boolean read _GetbadInput write _SetbadInput; property customError: Boolean read _GetcustomError write _SetcustomError; end; TJSValidityStateFlags = class(TJSObject,IJSValidityStateFlags) Private Protected function _GetvalueMissing: Boolean; function _GettypeMismatch: Boolean; function _GetpatternMismatch: Boolean; function _GettooLong: Boolean; function _GettooShort: Boolean; function _GetrangeUnderflow: Boolean; function _GetrangeOverflow: Boolean; function _GetstepMismatch: Boolean; function _GetbadInput: Boolean; function _GetcustomError: Boolean; procedure _SetvalueMissing(const aValue: Boolean); procedure _SettypeMismatch(const aValue: Boolean); procedure _SetpatternMismatch(const aValue: Boolean); procedure _SettooLong(const aValue: Boolean); procedure _SettooShort(const aValue: Boolean); procedure _SetrangeUnderflow(const aValue: Boolean); procedure _SetrangeOverflow(const aValue: Boolean); procedure _SetstepMismatch(const aValue: Boolean); procedure _SetbadInput(const aValue: Boolean); procedure _SetcustomError(const aValue: Boolean); Public constructor create(const aDict : TJSValidityStateFlagsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSValidityStateFlags; property valueMissing: Boolean read _GetvalueMissing write _SetvalueMissing; property typeMismatch: Boolean read _GettypeMismatch write _SettypeMismatch; property patternMismatch: Boolean read _GetpatternMismatch write _SetpatternMismatch; property tooLong: Boolean read _GettooLong write _SettooLong; property tooShort: Boolean read _GettooShort write _SettooShort; property rangeUnderflow: Boolean read _GetrangeUnderflow write _SetrangeUnderflow; property rangeOverflow: Boolean read _GetrangeOverflow write _SetrangeOverflow; property stepMismatch: Boolean read _GetstepMismatch write _SetstepMismatch; property badInput: Boolean read _GetbadInput write _SetbadInput; property customError: Boolean read _GetcustomError write _SetcustomError; end; { -------------------------------------------------------------------- TJSEncodedAudioChunkInit --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TEncodedAudioChunkInit_data_Type = Variant; TJSEncodedAudioChunkInitRec = record type_: TEncodedAudioChunkType; timestamp: Int64; duration: QWord; data: TEncodedAudioChunkInit_data_Type; transfer: TIJSArrayBufferDynArray; end; IJSEncodedAudioChunkInit = interface(IJSObject) ['{2952F443-82A9-3BA3-A7C4-2135390EF720}'] function _Gettype_: TEncodedAudioChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getdata: TEncodedAudioChunkInit_data_Type; function _Gettransfer: TIJSArrayBufferDynArray; procedure _Settype_(const aValue: TEncodedAudioChunkType); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setdata(const aValue: TEncodedAudioChunkInit_data_Type); procedure _Settransfer(const aValue: TIJSArrayBufferDynArray); property type_: TEncodedAudioChunkType read _Gettype_ write _Settype_; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property data: TEncodedAudioChunkInit_data_Type read _Getdata write _Setdata; property transfer: TIJSArrayBufferDynArray read _Gettransfer write _Settransfer; end; TJSEncodedAudioChunkInit = class(TJSObject,IJSEncodedAudioChunkInit) Private Protected function _Gettype_: TEncodedAudioChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getdata: TEncodedAudioChunkInit_data_Type; function _Gettransfer: TIJSArrayBufferDynArray; procedure _Settype_(const aValue: TEncodedAudioChunkType); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setdata(const aValue: TEncodedAudioChunkInit_data_Type); procedure _Settransfer(const aValue: TIJSArrayBufferDynArray); Public constructor create(const aDict : TJSEncodedAudioChunkInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedAudioChunkInit; property type_: TEncodedAudioChunkType read _Gettype_ write _Settype_; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property data: TEncodedAudioChunkInit_data_Type read _Getdata write _Setdata; property transfer: TIJSArrayBufferDynArray read _Gettransfer write _Settransfer; end; { -------------------------------------------------------------------- TJSEncodedVideoChunkInit --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TEncodedVideoChunkInit_data_Type = Variant; TJSEncodedVideoChunkInitRec = record type_: TEncodedVideoChunkType; timestamp: Int64; duration: QWord; data: TEncodedVideoChunkInit_data_Type; end; IJSEncodedVideoChunkInit = interface(IJSObject) ['{D12D5953-BA15-34E3-97C4-2135390E060B}'] function _Gettype_: TEncodedVideoChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getdata: TEncodedVideoChunkInit_data_Type; procedure _Settype_(const aValue: TEncodedVideoChunkType); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setdata(const aValue: TEncodedVideoChunkInit_data_Type); property type_: TEncodedVideoChunkType read _Gettype_ write _Settype_; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property data: TEncodedVideoChunkInit_data_Type read _Getdata write _Setdata; end; TJSEncodedVideoChunkInit = class(TJSObject,IJSEncodedVideoChunkInit) Private Protected function _Gettype_: TEncodedVideoChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getdata: TEncodedVideoChunkInit_data_Type; procedure _Settype_(const aValue: TEncodedVideoChunkType); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setdata(const aValue: TEncodedVideoChunkInit_data_Type); Public constructor create(const aDict : TJSEncodedVideoChunkInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedVideoChunkInit; property type_: TEncodedVideoChunkType read _Gettype_ write _Settype_; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property data: TEncodedVideoChunkInit_data_Type read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSEventInit --------------------------------------------------------------------} TJSEventInitRec = record bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSEventInit = interface(IJSObject) ['{743F6C7A-0AEF-38EB-BA94-5F17EB1EF670}'] function _Getbubbles: Boolean; function _Getcancelable: Boolean; function _Getcomposed: Boolean; procedure _Setbubbles(const aValue: Boolean); procedure _Setcancelable(const aValue: Boolean); procedure _Setcomposed(const aValue: Boolean); property bubbles: Boolean read _Getbubbles write _Setbubbles; property cancelable: Boolean read _Getcancelable write _Setcancelable; property composed: Boolean read _Getcomposed write _Setcomposed; end; TJSEventInit = class(TJSObject,IJSEventInit) Private Protected function _Getbubbles: Boolean; function _Getcancelable: Boolean; function _Getcomposed: Boolean; procedure _Setbubbles(const aValue: Boolean); procedure _Setcancelable(const aValue: Boolean); procedure _Setcomposed(const aValue: Boolean); Public constructor create(const aDict : TJSEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventInit; property bubbles: Boolean read _Getbubbles write _Setbubbles; property cancelable: Boolean read _Getcancelable write _Setcancelable; property composed: Boolean read _Getcomposed write _Setcomposed; end; { -------------------------------------------------------------------- TJSEventSourceInit --------------------------------------------------------------------} TJSEventSourceInitRec = record withCredentials: Boolean; end; IJSEventSourceInit = interface(IJSObject) ['{33492567-5917-36F1-B1E1-C4E83DF4DD52}'] function _GetwithCredentials: Boolean; procedure _SetwithCredentials(const aValue: Boolean); property withCredentials: Boolean read _GetwithCredentials write _SetwithCredentials; end; TJSEventSourceInit = class(TJSObject,IJSEventSourceInit) Private Protected function _GetwithCredentials: Boolean; procedure _SetwithCredentials(const aValue: Boolean); Public constructor create(const aDict : TJSEventSourceInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventSourceInit; property withCredentials: Boolean read _GetwithCredentials write _SetwithCredentials; end; { -------------------------------------------------------------------- TJSEventListenerOptions --------------------------------------------------------------------} TJSEventListenerOptionsRec = record capture: Boolean; mozSystemGroup: Boolean; end; IJSEventListenerOptions = interface(IJSObject) ['{AD98F9CB-0E73-3B09-ACE8-0F9870F2B117}'] function _Getcapture: Boolean; function _GetmozSystemGroup: Boolean; procedure _Setcapture(const aValue: Boolean); procedure _SetmozSystemGroup(const aValue: Boolean); property capture: Boolean read _Getcapture write _Setcapture; property mozSystemGroup: Boolean read _GetmozSystemGroup write _SetmozSystemGroup; end; TJSEventListenerOptions = class(TJSObject,IJSEventListenerOptions) Private Protected function _Getcapture: Boolean; function _GetmozSystemGroup: Boolean; procedure _Setcapture(const aValue: Boolean); procedure _SetmozSystemGroup(const aValue: Boolean); Public constructor create(const aDict : TJSEventListenerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventListenerOptions; property capture: Boolean read _Getcapture write _Setcapture; property mozSystemGroup: Boolean read _GetmozSystemGroup write _SetmozSystemGroup; end; { -------------------------------------------------------------------- TJSExtensionPortDescriptor --------------------------------------------------------------------} TJSExtensionPortDescriptorRec = record portId: UnicodeString; name: UnicodeString; end; IJSExtensionPortDescriptor = interface(IJSObject) ['{2D4A0AAC-FE68-3521-9318-9D810A86C7F2}'] function _GetportId: UnicodeString; function _Getname: UnicodeString; procedure _SetportId(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); property portId: UnicodeString read _GetportId write _SetportId; property name: UnicodeString read _Getname write _Setname; end; TJSExtensionPortDescriptor = class(TJSObject,IJSExtensionPortDescriptor) Private Protected function _GetportId: UnicodeString; function _Getname: UnicodeString; procedure _SetportId(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSExtensionPortDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionPortDescriptor; property portId: UnicodeString read _GetportId write _SetportId; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSFailedCertSecurityInfo --------------------------------------------------------------------} TJSFailedCertSecurityInfoRec = record errorCodeString: UnicodeString; overridableErrorCategory: TOverridableErrorCategory; validNotBefore: TDOMTimeStamp; validNotAfter: TDOMTimeStamp; issuerCommonName: UnicodeString; certValidityRangeNotAfter: TDOMTimeStamp; certValidityRangeNotBefore: TDOMTimeStamp; errorMessage: UnicodeString; hasHSTS: Boolean; hasHPKP: Boolean; certChainStrings: TUnicodeStringDynArray; end; IJSFailedCertSecurityInfo = interface(IJSObject) ['{1C14CF94-7619-3B84-9C8E-2A305706CDFB}'] function _GeterrorCodeString: UnicodeString; function _GetoverridableErrorCategory: TOverridableErrorCategory; function _GetvalidNotBefore: TDOMTimeStamp; function _GetvalidNotAfter: TDOMTimeStamp; function _GetissuerCommonName: UnicodeString; function _GetcertValidityRangeNotAfter: TDOMTimeStamp; function _GetcertValidityRangeNotBefore: TDOMTimeStamp; function _GeterrorMessage: UnicodeString; function _GethasHSTS: Boolean; function _GethasHPKP: Boolean; function _GetcertChainStrings: TUnicodeStringDynArray; procedure _SeterrorCodeString(const aValue: UnicodeString); procedure _SetoverridableErrorCategory(const aValue: TOverridableErrorCategory); procedure _SetvalidNotBefore(const aValue: TDOMTimeStamp); procedure _SetvalidNotAfter(const aValue: TDOMTimeStamp); procedure _SetissuerCommonName(const aValue: UnicodeString); procedure _SetcertValidityRangeNotAfter(const aValue: TDOMTimeStamp); procedure _SetcertValidityRangeNotBefore(const aValue: TDOMTimeStamp); procedure _SeterrorMessage(const aValue: UnicodeString); procedure _SethasHSTS(const aValue: Boolean); procedure _SethasHPKP(const aValue: Boolean); procedure _SetcertChainStrings(const aValue: TUnicodeStringDynArray); property errorCodeString: UnicodeString read _GeterrorCodeString write _SeterrorCodeString; property overridableErrorCategory: TOverridableErrorCategory read _GetoverridableErrorCategory write _SetoverridableErrorCategory; property validNotBefore: TDOMTimeStamp read _GetvalidNotBefore write _SetvalidNotBefore; property validNotAfter: TDOMTimeStamp read _GetvalidNotAfter write _SetvalidNotAfter; property issuerCommonName: UnicodeString read _GetissuerCommonName write _SetissuerCommonName; property certValidityRangeNotAfter: TDOMTimeStamp read _GetcertValidityRangeNotAfter write _SetcertValidityRangeNotAfter; property certValidityRangeNotBefore: TDOMTimeStamp read _GetcertValidityRangeNotBefore write _SetcertValidityRangeNotBefore; property errorMessage: UnicodeString read _GeterrorMessage write _SeterrorMessage; property hasHSTS: Boolean read _GethasHSTS write _SethasHSTS; property hasHPKP: Boolean read _GethasHPKP write _SethasHPKP; property certChainStrings: TUnicodeStringDynArray read _GetcertChainStrings write _SetcertChainStrings; end; TJSFailedCertSecurityInfo = class(TJSObject,IJSFailedCertSecurityInfo) Private Protected function _GeterrorCodeString: UnicodeString; function _GetoverridableErrorCategory: TOverridableErrorCategory; function _GetvalidNotBefore: TDOMTimeStamp; function _GetvalidNotAfter: TDOMTimeStamp; function _GetissuerCommonName: UnicodeString; function _GetcertValidityRangeNotAfter: TDOMTimeStamp; function _GetcertValidityRangeNotBefore: TDOMTimeStamp; function _GeterrorMessage: UnicodeString; function _GethasHSTS: Boolean; function _GethasHPKP: Boolean; function _GetcertChainStrings: TUnicodeStringDynArray; procedure _SeterrorCodeString(const aValue: UnicodeString); procedure _SetoverridableErrorCategory(const aValue: TOverridableErrorCategory); procedure _SetvalidNotBefore(const aValue: TDOMTimeStamp); procedure _SetvalidNotAfter(const aValue: TDOMTimeStamp); procedure _SetissuerCommonName(const aValue: UnicodeString); procedure _SetcertValidityRangeNotAfter(const aValue: TDOMTimeStamp); procedure _SetcertValidityRangeNotBefore(const aValue: TDOMTimeStamp); procedure _SeterrorMessage(const aValue: UnicodeString); procedure _SethasHSTS(const aValue: Boolean); procedure _SethasHPKP(const aValue: Boolean); procedure _SetcertChainStrings(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSFailedCertSecurityInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFailedCertSecurityInfo; property errorCodeString: UnicodeString read _GeterrorCodeString write _SeterrorCodeString; property overridableErrorCategory: TOverridableErrorCategory read _GetoverridableErrorCategory write _SetoverridableErrorCategory; property validNotBefore: TDOMTimeStamp read _GetvalidNotBefore write _SetvalidNotBefore; property validNotAfter: TDOMTimeStamp read _GetvalidNotAfter write _SetvalidNotAfter; property issuerCommonName: UnicodeString read _GetissuerCommonName write _SetissuerCommonName; property certValidityRangeNotAfter: TDOMTimeStamp read _GetcertValidityRangeNotAfter write _SetcertValidityRangeNotAfter; property certValidityRangeNotBefore: TDOMTimeStamp read _GetcertValidityRangeNotBefore write _SetcertValidityRangeNotBefore; property errorMessage: UnicodeString read _GeterrorMessage write _SeterrorMessage; property hasHSTS: Boolean read _GethasHSTS write _SethasHSTS; property hasHPKP: Boolean read _GethasHPKP write _SethasHPKP; property certChainStrings: TUnicodeStringDynArray read _GetcertChainStrings write _SetcertChainStrings; end; { -------------------------------------------------------------------- TJSFakePluginTagInit --------------------------------------------------------------------} TJSFakePluginMimeEntryDynArray = IJSArray; // array of FakePluginMimeEntry TJSFakePluginTagInitRec = record handlerURI: UnicodeString; mimeEntries: TJSFakePluginMimeEntryDynArray; niceName: UnicodeString; fullPath: UnicodeString; name: UnicodeString; description: UnicodeString; fileName: UnicodeString; version: UnicodeString; sandboxScript: UnicodeString; end; IJSFakePluginTagInit = interface(IJSObject) ['{441568B6-2051-3A0C-B675-67A34AE203D5}'] function _GethandlerURI: UnicodeString; function _GetmimeEntries: TJSFakePluginMimeEntryDynArray; function _GetniceName: UnicodeString; function _GetfullPath: UnicodeString; function _Getname: UnicodeString; function _Getdescription: UnicodeString; function _GetfileName: UnicodeString; function _Getversion: UnicodeString; function _GetsandboxScript: UnicodeString; procedure _SethandlerURI(const aValue: UnicodeString); procedure _SetmimeEntries(const aValue: TJSFakePluginMimeEntryDynArray); procedure _SetniceName(const aValue: UnicodeString); procedure _SetfullPath(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setdescription(const aValue: UnicodeString); procedure _SetfileName(const aValue: UnicodeString); procedure _Setversion(const aValue: UnicodeString); procedure _SetsandboxScript(const aValue: UnicodeString); property handlerURI: UnicodeString read _GethandlerURI write _SethandlerURI; property mimeEntries: TJSFakePluginMimeEntryDynArray read _GetmimeEntries write _SetmimeEntries; property niceName: UnicodeString read _GetniceName write _SetniceName; property fullPath: UnicodeString read _GetfullPath write _SetfullPath; property name: UnicodeString read _Getname write _Setname; property description: UnicodeString read _Getdescription write _Setdescription; property fileName: UnicodeString read _GetfileName write _SetfileName; property version: UnicodeString read _Getversion write _Setversion; property sandboxScript: UnicodeString read _GetsandboxScript write _SetsandboxScript; end; TJSFakePluginTagInit = class(TJSObject,IJSFakePluginTagInit) Private Protected function _GethandlerURI: UnicodeString; function _GetmimeEntries: TJSFakePluginMimeEntryDynArray; function _GetniceName: UnicodeString; function _GetfullPath: UnicodeString; function _Getname: UnicodeString; function _Getdescription: UnicodeString; function _GetfileName: UnicodeString; function _Getversion: UnicodeString; function _GetsandboxScript: UnicodeString; procedure _SethandlerURI(const aValue: UnicodeString); procedure _SetmimeEntries(const aValue: TJSFakePluginMimeEntryDynArray); procedure _SetniceName(const aValue: UnicodeString); procedure _SetfullPath(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setdescription(const aValue: UnicodeString); procedure _SetfileName(const aValue: UnicodeString); procedure _Setversion(const aValue: UnicodeString); procedure _SetsandboxScript(const aValue: UnicodeString); Public constructor create(const aDict : TJSFakePluginTagInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFakePluginTagInit; property handlerURI: UnicodeString read _GethandlerURI write _SethandlerURI; property mimeEntries: TJSFakePluginMimeEntryDynArray read _GetmimeEntries write _SetmimeEntries; property niceName: UnicodeString read _GetniceName write _SetniceName; property fullPath: UnicodeString read _GetfullPath write _SetfullPath; property name: UnicodeString read _Getname write _Setname; property description: UnicodeString read _Getdescription write _Setdescription; property fileName: UnicodeString read _GetfileName write _SetfileName; property version: UnicodeString read _Getversion write _Setversion; property sandboxScript: UnicodeString read _GetsandboxScript write _SetsandboxScript; end; { -------------------------------------------------------------------- TJSFakePluginMimeEntry --------------------------------------------------------------------} TJSFakePluginMimeEntryRec = record type_: UnicodeString; description: UnicodeString; extension: UnicodeString; end; IJSFakePluginMimeEntry = interface(IJSObject) ['{D2ECCDEC-FF9D-352B-B61B-3C563FF481A7}'] function _Gettype_: UnicodeString; function _Getdescription: UnicodeString; function _Getextension: UnicodeString; procedure _Settype_(const aValue: UnicodeString); procedure _Setdescription(const aValue: UnicodeString); procedure _Setextension(const aValue: UnicodeString); property type_: UnicodeString read _Gettype_ write _Settype_; property description: UnicodeString read _Getdescription write _Setdescription; property extension: UnicodeString read _Getextension write _Setextension; end; TJSFakePluginMimeEntry = class(TJSObject,IJSFakePluginMimeEntry) Private Protected function _Gettype_: UnicodeString; function _Getdescription: UnicodeString; function _Getextension: UnicodeString; procedure _Settype_(const aValue: UnicodeString); procedure _Setdescription(const aValue: UnicodeString); procedure _Setextension(const aValue: UnicodeString); Public constructor create(const aDict : TJSFakePluginMimeEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFakePluginMimeEntry; property type_: UnicodeString read _Gettype_ write _Settype_; property description: UnicodeString read _Getdescription write _Setdescription; property extension: UnicodeString read _Getextension write _Setextension; end; { -------------------------------------------------------------------- TJSFetchReadableStreamReadDataDone --------------------------------------------------------------------} TJSFetchReadableStreamReadDataDoneRec = record done: Boolean; end; IJSFetchReadableStreamReadDataDone = interface(IJSObject) ['{3D14F29E-AFA4-3CC1-892A-072C99870986}'] function _Getdone: Boolean; procedure _Setdone(const aValue: Boolean); property done: Boolean read _Getdone write _Setdone; end; TJSFetchReadableStreamReadDataDone = class(TJSObject,IJSFetchReadableStreamReadDataDone) Private Protected function _Getdone: Boolean; procedure _Setdone(const aValue: Boolean); Public constructor create(const aDict : TJSFetchReadableStreamReadDataDoneRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFetchReadableStreamReadDataDone; property done: Boolean read _Getdone write _Setdone; end; { -------------------------------------------------------------------- TJSFetchReadableStreamReadDataArray --------------------------------------------------------------------} TJSFetchReadableStreamReadDataArrayRec = record value: IJSUint8Array; end; IJSFetchReadableStreamReadDataArray = interface(IJSObject) ['{09282198-0BD8-3772-8B9E-E07B9806FF4C}'] function _Getvalue: IJSUint8Array; procedure _Setvalue(const aValue: IJSUint8Array); property value: IJSUint8Array read _Getvalue write _Setvalue; end; TJSFetchReadableStreamReadDataArray = class(TJSObject,IJSFetchReadableStreamReadDataArray) Private Protected function _Getvalue: IJSUint8Array; procedure _Setvalue(const aValue: IJSUint8Array); Public constructor create(const aDict : TJSFetchReadableStreamReadDataArrayRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFetchReadableStreamReadDataArray; property value: IJSUint8Array read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSFileSystemFlags --------------------------------------------------------------------} TJSFileSystemFlagsRec = record create_: Boolean; exclusive: Boolean; end; IJSFileSystemFlags = interface(IJSObject) ['{5DABC0EA-A248-3327-B934-B26C80456716}'] function _Getcreate_: Boolean; function _Getexclusive: Boolean; procedure _Setcreate_(const aValue: Boolean); procedure _Setexclusive(const aValue: Boolean); property create_: Boolean read _Getcreate_ write _Setcreate_; property exclusive: Boolean read _Getexclusive write _Setexclusive; end; TJSFileSystemFlags = class(TJSObject,IJSFileSystemFlags) Private Protected function _Getcreate_: Boolean; function _Getexclusive: Boolean; procedure _Setcreate_(const aValue: Boolean); procedure _Setexclusive(const aValue: Boolean); Public constructor create(const aDict : TJSFileSystemFlagsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemFlags; property create_: Boolean read _Getcreate_ write _Setcreate_; property exclusive: Boolean read _Getexclusive write _Setexclusive; end; { -------------------------------------------------------------------- TJSFileSystemGetFileOptions --------------------------------------------------------------------} TJSFileSystemGetFileOptionsRec = record create_: Boolean; end; IJSFileSystemGetFileOptions = interface(IJSObject) ['{B39EA283-ED0F-3F9F-B06E-753F2B51932E}'] function _Getcreate_: Boolean; procedure _Setcreate_(const aValue: Boolean); property create_: Boolean read _Getcreate_ write _Setcreate_; end; TJSFileSystemGetFileOptions = class(TJSObject,IJSFileSystemGetFileOptions) Private Protected function _Getcreate_: Boolean; procedure _Setcreate_(const aValue: Boolean); Public constructor create(const aDict : TJSFileSystemGetFileOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemGetFileOptions; property create_: Boolean read _Getcreate_ write _Setcreate_; end; { -------------------------------------------------------------------- TJSFileSystemGetDirectoryOptions --------------------------------------------------------------------} TJSFileSystemGetDirectoryOptionsRec = record create_: Boolean; end; IJSFileSystemGetDirectoryOptions = interface(IJSObject) ['{83F429E7-ADEB-3203-BA5C-468EAEF0E336}'] function _Getcreate_: Boolean; procedure _Setcreate_(const aValue: Boolean); property create_: Boolean read _Getcreate_ write _Setcreate_; end; TJSFileSystemGetDirectoryOptions = class(TJSObject,IJSFileSystemGetDirectoryOptions) Private Protected function _Getcreate_: Boolean; procedure _Setcreate_(const aValue: Boolean); Public constructor create(const aDict : TJSFileSystemGetDirectoryOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemGetDirectoryOptions; property create_: Boolean read _Getcreate_ write _Setcreate_; end; { -------------------------------------------------------------------- TJSFileSystemRemoveOptions --------------------------------------------------------------------} TJSFileSystemRemoveOptionsRec = record recursive: Boolean; end; IJSFileSystemRemoveOptions = interface(IJSObject) ['{AF245722-6A86-309F-9D72-F9A3C9B1E2EC}'] function _Getrecursive: Boolean; procedure _Setrecursive(const aValue: Boolean); property recursive: Boolean read _Getrecursive write _Setrecursive; end; TJSFileSystemRemoveOptions = class(TJSObject,IJSFileSystemRemoveOptions) Private Protected function _Getrecursive: Boolean; procedure _Setrecursive(const aValue: Boolean); Public constructor create(const aDict : TJSFileSystemRemoveOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemRemoveOptions; property recursive: Boolean read _Getrecursive write _Setrecursive; end; { -------------------------------------------------------------------- TJSFileSystemCreateWritableOptions --------------------------------------------------------------------} TJSFileSystemCreateWritableOptionsRec = record keepExistingData: Boolean; end; IJSFileSystemCreateWritableOptions = interface(IJSObject) ['{7EF2451E-DFCB-307D-A916-EB56E620078F}'] function _GetkeepExistingData: Boolean; procedure _SetkeepExistingData(const aValue: Boolean); property keepExistingData: Boolean read _GetkeepExistingData write _SetkeepExistingData; end; TJSFileSystemCreateWritableOptions = class(TJSObject,IJSFileSystemCreateWritableOptions) Private Protected function _GetkeepExistingData: Boolean; procedure _SetkeepExistingData(const aValue: Boolean); Public constructor create(const aDict : TJSFileSystemCreateWritableOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemCreateWritableOptions; property keepExistingData: Boolean read _GetkeepExistingData write _SetkeepExistingData; end; { -------------------------------------------------------------------- TJSFileSystemReadWriteOptions --------------------------------------------------------------------} TJSFileSystemReadWriteOptionsRec = record at: QWord; end; IJSFileSystemReadWriteOptions = interface(IJSObject) ['{25002FFC-5752-372A-9733-CC7492479165}'] function _Getat: QWord; procedure _Setat(const aValue: QWord); property at: QWord read _Getat write _Setat; end; TJSFileSystemReadWriteOptions = class(TJSObject,IJSFileSystemReadWriteOptions) Private Protected function _Getat: QWord; procedure _Setat(const aValue: QWord); Public constructor create(const aDict : TJSFileSystemReadWriteOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemReadWriteOptions; property at: QWord read _Getat write _Setat; end; { -------------------------------------------------------------------- TJSWriteParams --------------------------------------------------------------------} // Union of BufferSource, Blob, UTF8String TWriteParams_data_Type = Variant; TJSWriteParamsRec = record type_: TWriteCommandType; size: QWord; position: QWord; data: TWriteParams_data_Type; end; IJSWriteParams = interface(IJSObject) ['{E4BA9927-3E6D-327B-B462-DE1B3C1DDB56}'] function _Gettype_: TWriteCommandType; function _Getsize: QWord; function _Getposition: QWord; function _Getdata: TWriteParams_data_Type; procedure _Settype_(const aValue: TWriteCommandType); procedure _Setsize(const aValue: QWord); procedure _Setposition(const aValue: QWord); procedure _Setdata(const aValue: TWriteParams_data_Type); property type_: TWriteCommandType read _Gettype_ write _Settype_; property size: QWord read _Getsize write _Setsize; property position: QWord read _Getposition write _Setposition; property data: TWriteParams_data_Type read _Getdata write _Setdata; end; TJSWriteParams = class(TJSObject,IJSWriteParams) Private Protected function _Gettype_: TWriteCommandType; function _Getsize: QWord; function _Getposition: QWord; function _Getdata: TWriteParams_data_Type; procedure _Settype_(const aValue: TWriteCommandType); procedure _Setsize(const aValue: QWord); procedure _Setposition(const aValue: QWord); procedure _Setdata(const aValue: TWriteParams_data_Type); Public constructor create(const aDict : TJSWriteParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWriteParams; property type_: TWriteCommandType read _Gettype_ write _Settype_; property size: QWord read _Getsize write _Setsize; property position: QWord read _Getposition write _Setposition; property data: TWriteParams_data_Type read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSFontFaceDescriptors --------------------------------------------------------------------} TJSFontFaceDescriptorsRec = record style: UTF8String; weight: UTF8String; stretch: UTF8String; unicodeRange: UTF8String; variant: UTF8String; featureSettings: UTF8String; variationSettings: UTF8String; display: UTF8String; ascentOverride: UTF8String; descentOverride: UTF8String; lineGapOverride: UTF8String; sizeAdjust: UTF8String; end; IJSFontFaceDescriptors = interface(IJSObject) ['{6F44C3A2-68B0-3C82-AF77-91BD81A82BDC}'] function _Getstyle: UTF8String; function _Getweight: UTF8String; function _Getstretch: UTF8String; function _GetunicodeRange: UTF8String; function _Getvariant: UTF8String; function _GetfeatureSettings: UTF8String; function _GetvariationSettings: UTF8String; function _Getdisplay: UTF8String; function _GetascentOverride: UTF8String; function _GetdescentOverride: UTF8String; function _GetlineGapOverride: UTF8String; function _GetsizeAdjust: UTF8String; procedure _Setstyle(const aValue: UTF8String); procedure _Setweight(const aValue: UTF8String); procedure _Setstretch(const aValue: UTF8String); procedure _SetunicodeRange(const aValue: UTF8String); procedure _Setvariant(const aValue: UTF8String); procedure _SetfeatureSettings(const aValue: UTF8String); procedure _SetvariationSettings(const aValue: UTF8String); procedure _Setdisplay(const aValue: UTF8String); procedure _SetascentOverride(const aValue: UTF8String); procedure _SetdescentOverride(const aValue: UTF8String); procedure _SetlineGapOverride(const aValue: UTF8String); procedure _SetsizeAdjust(const aValue: UTF8String); property style: UTF8String read _Getstyle write _Setstyle; property weight: UTF8String read _Getweight write _Setweight; property stretch: UTF8String read _Getstretch write _Setstretch; property unicodeRange: UTF8String read _GetunicodeRange write _SetunicodeRange; property variant: UTF8String read _Getvariant write _Setvariant; property featureSettings: UTF8String read _GetfeatureSettings write _SetfeatureSettings; property variationSettings: UTF8String read _GetvariationSettings write _SetvariationSettings; property display: UTF8String read _Getdisplay write _Setdisplay; property ascentOverride: UTF8String read _GetascentOverride write _SetascentOverride; property descentOverride: UTF8String read _GetdescentOverride write _SetdescentOverride; property lineGapOverride: UTF8String read _GetlineGapOverride write _SetlineGapOverride; property sizeAdjust: UTF8String read _GetsizeAdjust write _SetsizeAdjust; end; TJSFontFaceDescriptors = class(TJSObject,IJSFontFaceDescriptors) Private Protected function _Getstyle: UTF8String; function _Getweight: UTF8String; function _Getstretch: UTF8String; function _GetunicodeRange: UTF8String; function _Getvariant: UTF8String; function _GetfeatureSettings: UTF8String; function _GetvariationSettings: UTF8String; function _Getdisplay: UTF8String; function _GetascentOverride: UTF8String; function _GetdescentOverride: UTF8String; function _GetlineGapOverride: UTF8String; function _GetsizeAdjust: UTF8String; procedure _Setstyle(const aValue: UTF8String); procedure _Setweight(const aValue: UTF8String); procedure _Setstretch(const aValue: UTF8String); procedure _SetunicodeRange(const aValue: UTF8String); procedure _Setvariant(const aValue: UTF8String); procedure _SetfeatureSettings(const aValue: UTF8String); procedure _SetvariationSettings(const aValue: UTF8String); procedure _Setdisplay(const aValue: UTF8String); procedure _SetascentOverride(const aValue: UTF8String); procedure _SetdescentOverride(const aValue: UTF8String); procedure _SetlineGapOverride(const aValue: UTF8String); procedure _SetsizeAdjust(const aValue: UTF8String); Public constructor create(const aDict : TJSFontFaceDescriptorsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceDescriptors; property style: UTF8String read _Getstyle write _Setstyle; property weight: UTF8String read _Getweight write _Setweight; property stretch: UTF8String read _Getstretch write _Setstretch; property unicodeRange: UTF8String read _GetunicodeRange write _SetunicodeRange; property variant: UTF8String read _Getvariant write _Setvariant; property featureSettings: UTF8String read _GetfeatureSettings write _SetfeatureSettings; property variationSettings: UTF8String read _GetvariationSettings write _SetvariationSettings; property display: UTF8String read _Getdisplay write _Setdisplay; property ascentOverride: UTF8String read _GetascentOverride write _SetascentOverride; property descentOverride: UTF8String read _GetdescentOverride write _SetdescentOverride; property lineGapOverride: UTF8String read _GetlineGapOverride write _SetlineGapOverride; property sizeAdjust: UTF8String read _GetsizeAdjust write _SetsizeAdjust; end; { -------------------------------------------------------------------- TJSFontFaceSetIteratorResult --------------------------------------------------------------------} TJSFontFaceSetIteratorResultRec = record value: Variant; done: Boolean; end; IJSFontFaceSetIteratorResult = interface(IJSObject) ['{4F18DDE2-4637-3392-9EE6-1DA08CF7DA0A}'] function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; TJSFontFaceSetIteratorResult = class(TJSObject,IJSFontFaceSetIteratorResult) Private Protected function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); Public constructor create(const aDict : TJSFontFaceSetIteratorResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSetIteratorResult; property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; { -------------------------------------------------------------------- TJSGamepadLightColor --------------------------------------------------------------------} TJSGamepadLightColorRec = record red: Byte; green: Byte; blue: Byte; end; IJSGamepadLightColor = interface(IJSObject) ['{7D9E1CAE-6AFA-36D8-93F8-E8BBC6ED9C62}'] function _Getred: Byte; function _Getgreen: Byte; function _Getblue: Byte; procedure _Setred(const aValue: Byte); procedure _Setgreen(const aValue: Byte); procedure _Setblue(const aValue: Byte); property red: Byte read _Getred write _Setred; property green: Byte read _Getgreen write _Setgreen; property blue: Byte read _Getblue write _Setblue; end; TJSGamepadLightColor = class(TJSObject,IJSGamepadLightColor) Private Protected function _Getred: Byte; function _Getgreen: Byte; function _Getblue: Byte; procedure _Setred(const aValue: Byte); procedure _Setgreen(const aValue: Byte); procedure _Setblue(const aValue: Byte); Public constructor create(const aDict : TJSGamepadLightColorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadLightColor; property red: Byte read _Getred write _Setred; property green: Byte read _Getgreen write _Setgreen; property blue: Byte read _Getblue write _Setblue; end; { -------------------------------------------------------------------- TJSPositionOptions --------------------------------------------------------------------} TJSPositionOptionsRec = record enableHighAccuracy: Boolean; timeout: Cardinal; maximumAge: Cardinal; end; IJSPositionOptions = interface(IJSObject) ['{9B901367-4134-33CA-8C04-711BB5DA461F}'] function _GetenableHighAccuracy: Boolean; function _Gettimeout: Cardinal; function _GetmaximumAge: Cardinal; procedure _SetenableHighAccuracy(const aValue: Boolean); procedure _Settimeout(const aValue: Cardinal); procedure _SetmaximumAge(const aValue: Cardinal); property enableHighAccuracy: Boolean read _GetenableHighAccuracy write _SetenableHighAccuracy; property timeout: Cardinal read _Gettimeout write _Settimeout; property maximumAge: Cardinal read _GetmaximumAge write _SetmaximumAge; end; TJSPositionOptions = class(TJSObject,IJSPositionOptions) Private Protected function _GetenableHighAccuracy: Boolean; function _Gettimeout: Cardinal; function _GetmaximumAge: Cardinal; procedure _SetenableHighAccuracy(const aValue: Boolean); procedure _Settimeout(const aValue: Cardinal); procedure _SetmaximumAge(const aValue: Cardinal); Public constructor create(const aDict : TJSPositionOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPositionOptions; property enableHighAccuracy: Boolean read _GetenableHighAccuracy write _SetenableHighAccuracy; property timeout: Cardinal read _Gettimeout write _Settimeout; property maximumAge: Cardinal read _GetmaximumAge write _SetmaximumAge; end; { -------------------------------------------------------------------- TJSBoxQuadOptions --------------------------------------------------------------------} TJSBoxQuadOptionsRec = record box: TCSSBoxType; relativeTo: TGeometryNode; end; IJSBoxQuadOptions = interface(IJSObject) ['{61E34003-1968-3A2F-A5FA-D5C9C7725460}'] function _Getbox: TCSSBoxType; function _GetrelativeTo: TGeometryNode; procedure _Setbox(const aValue: TCSSBoxType); procedure _SetrelativeTo(const aValue: TGeometryNode); property box: TCSSBoxType read _Getbox write _Setbox; property relativeTo: TGeometryNode read _GetrelativeTo write _SetrelativeTo; end; TJSBoxQuadOptions = class(TJSObject,IJSBoxQuadOptions) Private Protected function _Getbox: TCSSBoxType; function _GetrelativeTo: TGeometryNode; procedure _Setbox(const aValue: TCSSBoxType); procedure _SetrelativeTo(const aValue: TGeometryNode); Public constructor create(const aDict : TJSBoxQuadOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBoxQuadOptions; property box: TCSSBoxType read _Getbox write _Setbox; property relativeTo: TGeometryNode read _GetrelativeTo write _SetrelativeTo; end; { -------------------------------------------------------------------- TJSConvertCoordinateOptions --------------------------------------------------------------------} TJSConvertCoordinateOptionsRec = record fromBox: TCSSBoxType; toBox: TCSSBoxType; end; IJSConvertCoordinateOptions = interface(IJSObject) ['{B51EC100-91D1-30EE-9C44-B34F2B51932E}'] function _GetfromBox: TCSSBoxType; function _GettoBox: TCSSBoxType; procedure _SetfromBox(const aValue: TCSSBoxType); procedure _SettoBox(const aValue: TCSSBoxType); property fromBox: TCSSBoxType read _GetfromBox write _SetfromBox; property toBox: TCSSBoxType read _GettoBox write _SettoBox; end; TJSConvertCoordinateOptions = class(TJSObject,IJSConvertCoordinateOptions) Private Protected function _GetfromBox: TCSSBoxType; function _GettoBox: TCSSBoxType; procedure _SetfromBox(const aValue: TCSSBoxType); procedure _SettoBox(const aValue: TCSSBoxType); Public constructor create(const aDict : TJSConvertCoordinateOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConvertCoordinateOptions; property fromBox: TCSSBoxType read _GetfromBox write _SetfromBox; property toBox: TCSSBoxType read _GettoBox write _SettoBox; end; { -------------------------------------------------------------------- TJSGleanDistributionData --------------------------------------------------------------------} TJSGleanDistributionDataRec = record sum: QWord; count: QWord; values: IJSObject; end; IJSGleanDistributionData = interface(IJSObject) ['{67C77676-75D7-30AB-9B46-14A557DE59B5}'] function _Getsum: QWord; function _Getcount: QWord; function _Getvalues: IJSObject; procedure _Setsum(const aValue: QWord); procedure _Setcount(const aValue: QWord); procedure _Setvalues(const aValue: IJSObject); property sum: QWord read _Getsum write _Setsum; property count: QWord read _Getcount write _Setcount; property values: IJSObject read _Getvalues write _Setvalues; end; TJSGleanDistributionData = class(TJSObject,IJSGleanDistributionData) Private Protected function _Getsum: QWord; function _Getcount: QWord; function _Getvalues: IJSObject; procedure _Setsum(const aValue: QWord); procedure _Setcount(const aValue: QWord); procedure _Setvalues(const aValue: IJSObject); Public constructor create(const aDict : TJSGleanDistributionDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanDistributionData; property sum: QWord read _Getsum write _Setsum; property count: QWord read _Getcount write _Setcount; property values: IJSObject read _Getvalues write _Setvalues; end; { -------------------------------------------------------------------- TJSGleanEventRecord --------------------------------------------------------------------} TJSGleanEventRecordRec = record timestamp: QWord; category: UTF8String; name: UTF8String; extra: IJSObject; end; IJSGleanEventRecord = interface(IJSObject) ['{2A5E3311-8780-329A-91CD-B897BD72E265}'] function _Gettimestamp: QWord; function _Getcategory: UTF8String; function _Getname: UTF8String; function _Getextra: IJSObject; procedure _Settimestamp(const aValue: QWord); procedure _Setcategory(const aValue: UTF8String); procedure _Setname(const aValue: UTF8String); procedure _Setextra(const aValue: IJSObject); property timestamp: QWord read _Gettimestamp write _Settimestamp; property category: UTF8String read _Getcategory write _Setcategory; property name: UTF8String read _Getname write _Setname; property extra: IJSObject read _Getextra write _Setextra; end; TJSGleanEventRecord = class(TJSObject,IJSGleanEventRecord) Private Protected function _Gettimestamp: QWord; function _Getcategory: UTF8String; function _Getname: UTF8String; function _Getextra: IJSObject; procedure _Settimestamp(const aValue: QWord); procedure _Setcategory(const aValue: UTF8String); procedure _Setname(const aValue: UTF8String); procedure _Setextra(const aValue: IJSObject); Public constructor create(const aDict : TJSGleanEventRecordRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanEventRecord; property timestamp: QWord read _Gettimestamp write _Settimestamp; property category: UTF8String read _Getcategory write _Setcategory; property name: UTF8String read _Getname write _Setname; property extra: IJSObject read _Getextra write _Setextra; end; { -------------------------------------------------------------------- TJSGleanRateData --------------------------------------------------------------------} TJSGleanRateDataRec = record numerator: LongInt; denominator: LongInt; end; IJSGleanRateData = interface(IJSObject) ['{9C55E077-687A-37C7-9E5A-E09E086A372D}'] function _Getnumerator: LongInt; function _Getdenominator: LongInt; procedure _Setnumerator(const aValue: LongInt); procedure _Setdenominator(const aValue: LongInt); property numerator: LongInt read _Getnumerator write _Setnumerator; property denominator: LongInt read _Getdenominator write _Setdenominator; end; TJSGleanRateData = class(TJSObject,IJSGleanRateData) Private Protected function _Getnumerator: LongInt; function _Getdenominator: LongInt; procedure _Setnumerator(const aValue: LongInt); procedure _Setdenominator(const aValue: LongInt); Public constructor create(const aDict : TJSGleanRateDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanRateData; property numerator: LongInt read _Getnumerator write _Setnumerator; property denominator: LongInt read _Getdenominator write _Setdenominator; end; { -------------------------------------------------------------------- TJSDateTimeValue --------------------------------------------------------------------} TJSDateTimeValueRec = record hour: LongInt; minute: LongInt; year: LongInt; month: LongInt; day: LongInt; end; IJSDateTimeValue = interface(IJSObject) ['{2D71826A-A9D7-37DE-8AA2-D92C7531AD28}'] function _Gethour: LongInt; function _Getminute: LongInt; function _Getyear: LongInt; function _Getmonth: LongInt; function _Getday: LongInt; procedure _Sethour(const aValue: LongInt); procedure _Setminute(const aValue: LongInt); procedure _Setyear(const aValue: LongInt); procedure _Setmonth(const aValue: LongInt); procedure _Setday(const aValue: LongInt); property hour: LongInt read _Gethour write _Sethour; property minute: LongInt read _Getminute write _Setminute; property year: LongInt read _Getyear write _Setyear; property month: LongInt read _Getmonth write _Setmonth; property day: LongInt read _Getday write _Setday; end; TJSDateTimeValue = class(TJSObject,IJSDateTimeValue) Private Protected function _Gethour: LongInt; function _Getminute: LongInt; function _Getyear: LongInt; function _Getmonth: LongInt; function _Getday: LongInt; procedure _Sethour(const aValue: LongInt); procedure _Setminute(const aValue: LongInt); procedure _Setyear(const aValue: LongInt); procedure _Setmonth(const aValue: LongInt); procedure _Setday(const aValue: LongInt); Public constructor create(const aDict : TJSDateTimeValueRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDateTimeValue; property hour: LongInt read _Gethour write _Sethour; property minute: LongInt read _Getminute write _Setminute; property year: LongInt read _Getyear write _Setyear; property month: LongInt read _Getmonth write _Setmonth; property day: LongInt read _Getday write _Setday; end; { -------------------------------------------------------------------- TJSAssignedNodesOptions --------------------------------------------------------------------} TJSAssignedNodesOptionsRec = record flatten: Boolean; end; IJSAssignedNodesOptions = interface(IJSObject) ['{ADE6ABFF-A815-30C9-8B3E-E55870F2CBB9}'] function _Getflatten: Boolean; procedure _Setflatten(const aValue: Boolean); property flatten: Boolean read _Getflatten write _Setflatten; end; TJSAssignedNodesOptions = class(TJSObject,IJSAssignedNodesOptions) Private Protected function _Getflatten: Boolean; procedure _Setflatten(const aValue: Boolean); Public constructor create(const aDict : TJSAssignedNodesOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAssignedNodesOptions; property flatten: Boolean read _Getflatten write _Setflatten; end; { -------------------------------------------------------------------- TJSIDBTransactionOptions --------------------------------------------------------------------} TJSIDBTransactionOptionsRec = record durability: TIDBTransactionDurability; end; IJSIDBTransactionOptions = interface(IJSObject) ['{31061A89-2C2F-306E-B020-DD28C995AC01}'] function _Getdurability: TIDBTransactionDurability; procedure _Setdurability(const aValue: TIDBTransactionDurability); property durability: TIDBTransactionDurability read _Getdurability write _Setdurability; end; TJSIDBTransactionOptions = class(TJSObject,IJSIDBTransactionOptions) Private Protected function _Getdurability: TIDBTransactionDurability; procedure _Setdurability(const aValue: TIDBTransactionDurability); Public constructor create(const aDict : TJSIDBTransactionOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBTransactionOptions; property durability: TIDBTransactionDurability read _Getdurability write _Setdurability; end; { -------------------------------------------------------------------- TJSIDBOpenDBOptions --------------------------------------------------------------------} TJSIDBOpenDBOptionsRec = record version: QWord; end; IJSIDBOpenDBOptions = interface(IJSObject) ['{84BBCAD9-AA6D-3DFB-9193-2E63C0C0F255}'] function _Getversion: QWord; procedure _Setversion(const aValue: QWord); property version: QWord read _Getversion write _Setversion; end; TJSIDBOpenDBOptions = class(TJSObject,IJSIDBOpenDBOptions) Private Protected function _Getversion: QWord; procedure _Setversion(const aValue: QWord); Public constructor create(const aDict : TJSIDBOpenDBOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBOpenDBOptions; property version: QWord read _Getversion write _Setversion; end; { -------------------------------------------------------------------- TJSIDBDatabaseInfo --------------------------------------------------------------------} TJSIDBDatabaseInfoRec = record name: UnicodeString; version: QWord; end; IJSIDBDatabaseInfo = interface(IJSObject) ['{10B68B59-461C-3FE9-B1E1-A914217DFD6F}'] function _Getname: UnicodeString; function _Getversion: QWord; procedure _Setname(const aValue: UnicodeString); procedure _Setversion(const aValue: QWord); property name: UnicodeString read _Getname write _Setname; property version: QWord read _Getversion write _Setversion; end; TJSIDBDatabaseInfo = class(TJSObject,IJSIDBDatabaseInfo) Private Protected function _Getname: UnicodeString; function _Getversion: QWord; procedure _Setname(const aValue: UnicodeString); procedure _Setversion(const aValue: QWord); Public constructor create(const aDict : TJSIDBDatabaseInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBDatabaseInfo; property name: UnicodeString read _Getname write _Setname; property version: QWord read _Getversion write _Setversion; end; { -------------------------------------------------------------------- TJSIDBIndexParameters --------------------------------------------------------------------} TJSIDBIndexParametersRec = record unique: Boolean; multiEntry: Boolean; locale: UnicodeString; end; IJSIDBIndexParameters = interface(IJSObject) ['{2E75624F-91E9-3644-8228-3A8B16F6F082}'] function _Getunique: Boolean; function _GetmultiEntry: Boolean; function _Getlocale: UnicodeString; procedure _Setunique(const aValue: Boolean); procedure _SetmultiEntry(const aValue: Boolean); procedure _Setlocale(const aValue: UnicodeString); property unique: Boolean read _Getunique write _Setunique; property multiEntry: Boolean read _GetmultiEntry write _SetmultiEntry; property locale: UnicodeString read _Getlocale write _Setlocale; end; TJSIDBIndexParameters = class(TJSObject,IJSIDBIndexParameters) Private Protected function _Getunique: Boolean; function _GetmultiEntry: Boolean; function _Getlocale: UnicodeString; procedure _Setunique(const aValue: Boolean); procedure _SetmultiEntry(const aValue: Boolean); procedure _Setlocale(const aValue: UnicodeString); Public constructor create(const aDict : TJSIDBIndexParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBIndexParameters; property unique: Boolean read _Getunique write _Setunique; property multiEntry: Boolean read _GetmultiEntry write _SetmultiEntry; property locale: UnicodeString read _Getlocale write _Setlocale; end; { -------------------------------------------------------------------- TJSIDBObjectStoreParameters --------------------------------------------------------------------} // Union of DOMString, sequence TIDBObjectStoreParameters_keyPath_Type = Variant; TJSIDBObjectStoreParametersRec = record keyPath: TIDBObjectStoreParameters_keyPath_Type; autoIncrement: Boolean; end; IJSIDBObjectStoreParameters = interface(IJSObject) ['{B2ACAE03-48E6-3E8F-9088-F4B69883BEDF}'] function _GetkeyPath: TIDBObjectStoreParameters_keyPath_Type; function _GetautoIncrement: Boolean; procedure _SetkeyPath(const aValue: TIDBObjectStoreParameters_keyPath_Type); procedure _SetautoIncrement(const aValue: Boolean); property keyPath: TIDBObjectStoreParameters_keyPath_Type read _GetkeyPath write _SetkeyPath; property autoIncrement: Boolean read _GetautoIncrement write _SetautoIncrement; end; TJSIDBObjectStoreParameters = class(TJSObject,IJSIDBObjectStoreParameters) Private Protected function _GetkeyPath: TIDBObjectStoreParameters_keyPath_Type; function _GetautoIncrement: Boolean; procedure _SetkeyPath(const aValue: TIDBObjectStoreParameters_keyPath_Type); procedure _SetautoIncrement(const aValue: Boolean); Public constructor create(const aDict : TJSIDBObjectStoreParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBObjectStoreParameters; property keyPath: TIDBObjectStoreParameters_keyPath_Type read _GetkeyPath write _SetkeyPath; property autoIncrement: Boolean read _GetautoIncrement write _SetautoIncrement; end; { -------------------------------------------------------------------- TJSIdentityCredentialRequestOptions --------------------------------------------------------------------} TJSIdentityProviderConfigDynArray = IJSArray; // array of IdentityProviderConfig TJSIdentityCredentialRequestOptionsRec = record providers: TJSIdentityProviderConfigDynArray; end; IJSIdentityCredentialRequestOptions = interface(IJSObject) ['{A8461435-62C5-3ACC-8F6F-11E85E1C6CEC}'] function _Getproviders: TJSIdentityProviderConfigDynArray; procedure _Setproviders(const aValue: TJSIdentityProviderConfigDynArray); property providers: TJSIdentityProviderConfigDynArray read _Getproviders write _Setproviders; end; TJSIdentityCredentialRequestOptions = class(TJSObject,IJSIdentityCredentialRequestOptions) Private Protected function _Getproviders: TJSIdentityProviderConfigDynArray; procedure _Setproviders(const aValue: TJSIdentityProviderConfigDynArray); Public constructor create(const aDict : TJSIdentityCredentialRequestOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityCredentialRequestOptions; property providers: TJSIdentityProviderConfigDynArray read _Getproviders write _Setproviders; end; { -------------------------------------------------------------------- TJSIdentityProviderConfig --------------------------------------------------------------------} TJSIdentityProviderConfigRec = record configURL: UTF8String; clientId: UTF8String; nonce: UTF8String; end; IJSIdentityProviderConfig = interface(IJSObject) ['{CA803DE7-3B15-3E8B-82BD-99C0CF1ED40D}'] function _GetconfigURL: UTF8String; function _GetclientId: UTF8String; function _Getnonce: UTF8String; procedure _SetconfigURL(const aValue: UTF8String); procedure _SetclientId(const aValue: UTF8String); procedure _Setnonce(const aValue: UTF8String); property configURL: UTF8String read _GetconfigURL write _SetconfigURL; property clientId: UTF8String read _GetclientId write _SetclientId; property nonce: UTF8String read _Getnonce write _Setnonce; end; TJSIdentityProviderConfig = class(TJSObject,IJSIdentityProviderConfig) Private Protected function _GetconfigURL: UTF8String; function _GetclientId: UTF8String; function _Getnonce: UTF8String; procedure _SetconfigURL(const aValue: UTF8String); procedure _SetclientId(const aValue: UTF8String); procedure _Setnonce(const aValue: UTF8String); Public constructor create(const aDict : TJSIdentityProviderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderConfig; property configURL: UTF8String read _GetconfigURL write _SetconfigURL; property clientId: UTF8String read _GetclientId write _SetclientId; property nonce: UTF8String read _Getnonce write _Setnonce; end; { -------------------------------------------------------------------- TJSIdentityProviderWellKnown --------------------------------------------------------------------} TUTF8StringDynArray = IJSArray; // array of UTF8String TJSIdentityProviderWellKnownRec = record provider_urls: TUTF8StringDynArray; end; IJSIdentityProviderWellKnown = interface(IJSObject) ['{E5E869D5-CFC0-35DC-8C3B-1281B7E200E0}'] function _Getprovider_urls: TUTF8StringDynArray; procedure _Setprovider_urls(const aValue: TUTF8StringDynArray); property provider_urls: TUTF8StringDynArray read _Getprovider_urls write _Setprovider_urls; end; TJSIdentityProviderWellKnown = class(TJSObject,IJSIdentityProviderWellKnown) Private Protected function _Getprovider_urls: TUTF8StringDynArray; procedure _Setprovider_urls(const aValue: TUTF8StringDynArray); Public constructor create(const aDict : TJSIdentityProviderWellKnownRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderWellKnown; property provider_urls: TUTF8StringDynArray read _Getprovider_urls write _Setprovider_urls; end; { -------------------------------------------------------------------- TJSIdentityProviderIcon --------------------------------------------------------------------} TJSIdentityProviderIconRec = record url: UTF8String; size: Cardinal; end; IJSIdentityProviderIcon = interface(IJSObject) ['{99261047-55F2-3BEC-B953-89926AF5932A}'] function _Geturl: UTF8String; function _Getsize: Cardinal; procedure _Seturl(const aValue: UTF8String); procedure _Setsize(const aValue: Cardinal); property url: UTF8String read _Geturl write _Seturl; property size: Cardinal read _Getsize write _Setsize; end; TJSIdentityProviderIcon = class(TJSObject,IJSIdentityProviderIcon) Private Protected function _Geturl: UTF8String; function _Getsize: Cardinal; procedure _Seturl(const aValue: UTF8String); procedure _Setsize(const aValue: Cardinal); Public constructor create(const aDict : TJSIdentityProviderIconRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderIcon; property url: UTF8String read _Geturl write _Seturl; property size: Cardinal read _Getsize write _Setsize; end; { -------------------------------------------------------------------- TJSIdentityProviderBranding --------------------------------------------------------------------} TJSIdentityProviderIconDynArray = IJSArray; // array of IdentityProviderIcon TJSIdentityProviderBrandingRec = record background_color: UnicodeString; color: UnicodeString; icons: TJSIdentityProviderIconDynArray; name: UnicodeString; end; IJSIdentityProviderBranding = interface(IJSObject) ['{E50D16CD-5497-3395-A568-9AE25A29ADC0}'] function _Getbackground_color: UnicodeString; function _Getcolor: UnicodeString; function _Geticons: TJSIdentityProviderIconDynArray; function _Getname: UnicodeString; procedure _Setbackground_color(const aValue: UnicodeString); procedure _Setcolor(const aValue: UnicodeString); procedure _Seticons(const aValue: TJSIdentityProviderIconDynArray); procedure _Setname(const aValue: UnicodeString); property background_color: UnicodeString read _Getbackground_color write _Setbackground_color; property color: UnicodeString read _Getcolor write _Setcolor; property icons: TJSIdentityProviderIconDynArray read _Geticons write _Seticons; property name: UnicodeString read _Getname write _Setname; end; TJSIdentityProviderBranding = class(TJSObject,IJSIdentityProviderBranding) Private Protected function _Getbackground_color: UnicodeString; function _Getcolor: UnicodeString; function _Geticons: TJSIdentityProviderIconDynArray; function _Getname: UnicodeString; procedure _Setbackground_color(const aValue: UnicodeString); procedure _Setcolor(const aValue: UnicodeString); procedure _Seticons(const aValue: TJSIdentityProviderIconDynArray); procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSIdentityProviderBrandingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderBranding; property background_color: UnicodeString read _Getbackground_color write _Setbackground_color; property color: UnicodeString read _Getcolor write _Setcolor; property icons: TJSIdentityProviderIconDynArray read _Geticons write _Seticons; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSIdentityProviderAPIConfig --------------------------------------------------------------------} TJSIdentityProviderAPIConfigRec = record accounts_endpoint: UTF8String; client_metadata_endpoint: UTF8String; id_assertion_endpoint: UTF8String; branding: TJSIdentityProviderBranding; end; IJSIdentityProviderAPIConfig = interface(IJSObject) ['{01C1BE99-C551-3DF6-BA58-430F578F2E85}'] function _Getaccounts_endpoint: UTF8String; function _Getclient_metadata_endpoint: UTF8String; function _Getid_assertion_endpoint: UTF8String; function _Getbranding: IJSIdentityProviderBranding; procedure _Setaccounts_endpoint(const aValue: UTF8String); procedure _Setclient_metadata_endpoint(const aValue: UTF8String); procedure _Setid_assertion_endpoint(const aValue: UTF8String); procedure _Setbranding(const aValue: IJSIdentityProviderBranding); property accounts_endpoint: UTF8String read _Getaccounts_endpoint write _Setaccounts_endpoint; property client_metadata_endpoint: UTF8String read _Getclient_metadata_endpoint write _Setclient_metadata_endpoint; property id_assertion_endpoint: UTF8String read _Getid_assertion_endpoint write _Setid_assertion_endpoint; property branding: IJSIdentityProviderBranding read _Getbranding write _Setbranding; end; TJSIdentityProviderAPIConfig = class(TJSObject,IJSIdentityProviderAPIConfig) Private Protected function _Getaccounts_endpoint: UTF8String; function _Getclient_metadata_endpoint: UTF8String; function _Getid_assertion_endpoint: UTF8String; function _Getbranding: IJSIdentityProviderBranding; procedure _Setaccounts_endpoint(const aValue: UTF8String); procedure _Setclient_metadata_endpoint(const aValue: UTF8String); procedure _Setid_assertion_endpoint(const aValue: UTF8String); procedure _Setbranding(const aValue: IJSIdentityProviderBranding); Public constructor create(const aDict : TJSIdentityProviderAPIConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderAPIConfig; property accounts_endpoint: UTF8String read _Getaccounts_endpoint write _Setaccounts_endpoint; property client_metadata_endpoint: UTF8String read _Getclient_metadata_endpoint write _Setclient_metadata_endpoint; property id_assertion_endpoint: UTF8String read _Getid_assertion_endpoint write _Setid_assertion_endpoint; property branding: IJSIdentityProviderBranding read _Getbranding write _Setbranding; end; { -------------------------------------------------------------------- TJSIdentityProviderAccount --------------------------------------------------------------------} TJSIdentityProviderAccountRec = record id: UnicodeString; name: UnicodeString; email: UnicodeString; given_name: UnicodeString; picture: UnicodeString; approved_clients: TUnicodeStringDynArray; end; IJSIdentityProviderAccount = interface(IJSObject) ['{87F7ABBE-EC89-315F-80DC-5C412782CDB6}'] function _Getid: UnicodeString; function _Getname: UnicodeString; function _Getemail: UnicodeString; function _Getgiven_name: UnicodeString; function _Getpicture: UnicodeString; function _Getapproved_clients: TUnicodeStringDynArray; procedure _Setid(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setemail(const aValue: UnicodeString); procedure _Setgiven_name(const aValue: UnicodeString); procedure _Setpicture(const aValue: UnicodeString); procedure _Setapproved_clients(const aValue: TUnicodeStringDynArray); property id: UnicodeString read _Getid write _Setid; property name: UnicodeString read _Getname write _Setname; property email: UnicodeString read _Getemail write _Setemail; property given_name: UnicodeString read _Getgiven_name write _Setgiven_name; property picture: UnicodeString read _Getpicture write _Setpicture; property approved_clients: TUnicodeStringDynArray read _Getapproved_clients write _Setapproved_clients; end; TJSIdentityProviderAccount = class(TJSObject,IJSIdentityProviderAccount) Private Protected function _Getid: UnicodeString; function _Getname: UnicodeString; function _Getemail: UnicodeString; function _Getgiven_name: UnicodeString; function _Getpicture: UnicodeString; function _Getapproved_clients: TUnicodeStringDynArray; procedure _Setid(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setemail(const aValue: UnicodeString); procedure _Setgiven_name(const aValue: UnicodeString); procedure _Setpicture(const aValue: UnicodeString); procedure _Setapproved_clients(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSIdentityProviderAccountRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderAccount; property id: UnicodeString read _Getid write _Setid; property name: UnicodeString read _Getname write _Setname; property email: UnicodeString read _Getemail write _Setemail; property given_name: UnicodeString read _Getgiven_name write _Setgiven_name; property picture: UnicodeString read _Getpicture write _Setpicture; property approved_clients: TUnicodeStringDynArray read _Getapproved_clients write _Setapproved_clients; end; { -------------------------------------------------------------------- TJSIdentityProviderAccountList --------------------------------------------------------------------} TJSIdentityProviderAccountDynArray = IJSArray; // array of IdentityProviderAccount TJSIdentityProviderAccountListRec = record accounts: TJSIdentityProviderAccountDynArray; end; IJSIdentityProviderAccountList = interface(IJSObject) ['{4D29F70F-F310-37EE-AB5A-CDDD965BBE9B}'] function _Getaccounts: TJSIdentityProviderAccountDynArray; procedure _Setaccounts(const aValue: TJSIdentityProviderAccountDynArray); property accounts: TJSIdentityProviderAccountDynArray read _Getaccounts write _Setaccounts; end; TJSIdentityProviderAccountList = class(TJSObject,IJSIdentityProviderAccountList) Private Protected function _Getaccounts: TJSIdentityProviderAccountDynArray; procedure _Setaccounts(const aValue: TJSIdentityProviderAccountDynArray); Public constructor create(const aDict : TJSIdentityProviderAccountListRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderAccountList; property accounts: TJSIdentityProviderAccountDynArray read _Getaccounts write _Setaccounts; end; { -------------------------------------------------------------------- TJSIdentityProviderClientMetadata --------------------------------------------------------------------} TJSIdentityProviderClientMetadataRec = record privacy_policy_url: UnicodeString; terms_of_service_url: UnicodeString; end; IJSIdentityProviderClientMetadata = interface(IJSObject) ['{1BC80C25-4FBF-34B1-A7DC-B14CC82FE414}'] function _Getprivacy_policy_url: UnicodeString; function _Getterms_of_service_url: UnicodeString; procedure _Setprivacy_policy_url(const aValue: UnicodeString); procedure _Setterms_of_service_url(const aValue: UnicodeString); property privacy_policy_url: UnicodeString read _Getprivacy_policy_url write _Setprivacy_policy_url; property terms_of_service_url: UnicodeString read _Getterms_of_service_url write _Setterms_of_service_url; end; TJSIdentityProviderClientMetadata = class(TJSObject,IJSIdentityProviderClientMetadata) Private Protected function _Getprivacy_policy_url: UnicodeString; function _Getterms_of_service_url: UnicodeString; procedure _Setprivacy_policy_url(const aValue: UnicodeString); procedure _Setterms_of_service_url(const aValue: UnicodeString); Public constructor create(const aDict : TJSIdentityProviderClientMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderClientMetadata; property privacy_policy_url: UnicodeString read _Getprivacy_policy_url write _Setprivacy_policy_url; property terms_of_service_url: UnicodeString read _Getterms_of_service_url write _Setterms_of_service_url; end; { -------------------------------------------------------------------- TJSIdentityProviderToken --------------------------------------------------------------------} TJSIdentityProviderTokenRec = record token: UnicodeString; end; IJSIdentityProviderToken = interface(IJSObject) ['{C3299FB3-7C72-3B67-9DB9-93AACC848BF4}'] function _Gettoken: UnicodeString; procedure _Settoken(const aValue: UnicodeString); property token: UnicodeString read _Gettoken write _Settoken; end; TJSIdentityProviderToken = class(TJSObject,IJSIdentityProviderToken) Private Protected function _Gettoken: UnicodeString; procedure _Settoken(const aValue: UnicodeString); Public constructor create(const aDict : TJSIdentityProviderTokenRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityProviderToken; property token: UnicodeString read _Gettoken write _Settoken; end; { -------------------------------------------------------------------- TJSIdentityCredentialLogoutRPsRequest --------------------------------------------------------------------} TJSIdentityCredentialLogoutRPsRequestRec = record url: UTF8String; accountId: UTF8String; end; IJSIdentityCredentialLogoutRPsRequest = interface(IJSObject) ['{503A4287-841D-3D74-94FA-16929684D12C}'] function _Geturl: UTF8String; function _GetaccountId: UTF8String; procedure _Seturl(const aValue: UTF8String); procedure _SetaccountId(const aValue: UTF8String); property url: UTF8String read _Geturl write _Seturl; property accountId: UTF8String read _GetaccountId write _SetaccountId; end; TJSIdentityCredentialLogoutRPsRequest = class(TJSObject,IJSIdentityCredentialLogoutRPsRequest) Private Protected function _Geturl: UTF8String; function _GetaccountId: UTF8String; procedure _Seturl(const aValue: UTF8String); procedure _SetaccountId(const aValue: UTF8String); Public constructor create(const aDict : TJSIdentityCredentialLogoutRPsRequestRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityCredentialLogoutRPsRequest; property url: UTF8String read _Geturl write _Seturl; property accountId: UTF8String read _GetaccountId write _SetaccountId; end; { -------------------------------------------------------------------- TJSChannelPixelLayout --------------------------------------------------------------------} TJSChannelPixelLayoutRec = record offset: Cardinal; width: Cardinal; height: Cardinal; dataType: TChannelPixelLayoutDataType; stride: Cardinal; skip: Cardinal; end; IJSChannelPixelLayout = interface(IJSObject) ['{40316EEE-EF34-3EDA-979E-26A410F365CC}'] function _Getoffset: Cardinal; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetdataType: TChannelPixelLayoutDataType; function _Getstride: Cardinal; function _Getskip: Cardinal; procedure _Setoffset(const aValue: Cardinal); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetdataType(const aValue: TChannelPixelLayoutDataType); procedure _Setstride(const aValue: Cardinal); procedure _Setskip(const aValue: Cardinal); property offset: Cardinal read _Getoffset write _Setoffset; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property dataType: TChannelPixelLayoutDataType read _GetdataType write _SetdataType; property stride: Cardinal read _Getstride write _Setstride; property skip: Cardinal read _Getskip write _Setskip; end; TJSChannelPixelLayout = class(TJSObject,IJSChannelPixelLayout) Private Protected function _Getoffset: Cardinal; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetdataType: TChannelPixelLayoutDataType; function _Getstride: Cardinal; function _Getskip: Cardinal; procedure _Setoffset(const aValue: Cardinal); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetdataType(const aValue: TChannelPixelLayoutDataType); procedure _Setstride(const aValue: Cardinal); procedure _Setskip(const aValue: Cardinal); Public constructor create(const aDict : TJSChannelPixelLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChannelPixelLayout; property offset: Cardinal read _Getoffset write _Setoffset; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property dataType: TChannelPixelLayoutDataType read _GetdataType write _SetdataType; property stride: Cardinal read _Getstride write _Setstride; property skip: Cardinal read _Getskip write _Setskip; end; { -------------------------------------------------------------------- TJSImageBitmapOptions --------------------------------------------------------------------} TJSImageBitmapOptionsRec = record imageOrientation: TImageOrientation; premultiplyAlpha: TPremultiplyAlpha; colorSpaceConversion: TColorSpaceConversion; resizeWidth: Cardinal; resizeHeight: Cardinal; end; IJSImageBitmapOptions = interface(IJSObject) ['{1F3EE117-446F-363E-BE6B-8F0EA5B4BA67}'] function _GetimageOrientation: TImageOrientation; function _GetpremultiplyAlpha: TPremultiplyAlpha; function _GetcolorSpaceConversion: TColorSpaceConversion; function _GetresizeWidth: Cardinal; function _GetresizeHeight: Cardinal; procedure _SetimageOrientation(const aValue: TImageOrientation); procedure _SetpremultiplyAlpha(const aValue: TPremultiplyAlpha); procedure _SetcolorSpaceConversion(const aValue: TColorSpaceConversion); procedure _SetresizeWidth(const aValue: Cardinal); procedure _SetresizeHeight(const aValue: Cardinal); property imageOrientation: TImageOrientation read _GetimageOrientation write _SetimageOrientation; property premultiplyAlpha: TPremultiplyAlpha read _GetpremultiplyAlpha write _SetpremultiplyAlpha; property colorSpaceConversion: TColorSpaceConversion read _GetcolorSpaceConversion write _SetcolorSpaceConversion; property resizeWidth: Cardinal read _GetresizeWidth write _SetresizeWidth; property resizeHeight: Cardinal read _GetresizeHeight write _SetresizeHeight; end; TJSImageBitmapOptions = class(TJSObject,IJSImageBitmapOptions) Private Protected function _GetimageOrientation: TImageOrientation; function _GetpremultiplyAlpha: TPremultiplyAlpha; function _GetcolorSpaceConversion: TColorSpaceConversion; function _GetresizeWidth: Cardinal; function _GetresizeHeight: Cardinal; procedure _SetimageOrientation(const aValue: TImageOrientation); procedure _SetpremultiplyAlpha(const aValue: TPremultiplyAlpha); procedure _SetcolorSpaceConversion(const aValue: TColorSpaceConversion); procedure _SetresizeWidth(const aValue: Cardinal); procedure _SetresizeHeight(const aValue: Cardinal); Public constructor create(const aDict : TJSImageBitmapOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageBitmapOptions; property imageOrientation: TImageOrientation read _GetimageOrientation write _SetimageOrientation; property premultiplyAlpha: TPremultiplyAlpha read _GetpremultiplyAlpha write _SetpremultiplyAlpha; property colorSpaceConversion: TColorSpaceConversion read _GetcolorSpaceConversion write _SetcolorSpaceConversion; property resizeWidth: Cardinal read _GetresizeWidth write _SetresizeWidth; property resizeHeight: Cardinal read _GetresizeHeight write _SetresizeHeight; end; { -------------------------------------------------------------------- TJSInstallTriggerData --------------------------------------------------------------------} TJSInstallTriggerDataRec = record URL: UnicodeString; IconURL: UnicodeString; Hash: UnicodeString; end; IJSInstallTriggerData = interface(IJSObject) ['{8AFD8000-708B-381C-9286-4C6F296872C0}'] function _GetURL: UnicodeString; function _GetIconURL: UnicodeString; function _GetHash: UnicodeString; procedure _SetURL(const aValue: UnicodeString); procedure _SetIconURL(const aValue: UnicodeString); procedure _SetHash(const aValue: UnicodeString); property URL: UnicodeString read _GetURL write _SetURL; property IconURL: UnicodeString read _GetIconURL write _SetIconURL; property Hash: UnicodeString read _GetHash write _SetHash; end; TJSInstallTriggerData = class(TJSObject,IJSInstallTriggerData) Private Protected function _GetURL: UnicodeString; function _GetIconURL: UnicodeString; function _GetHash: UnicodeString; procedure _SetURL(const aValue: UnicodeString); procedure _SetIconURL(const aValue: UnicodeString); procedure _SetHash(const aValue: UnicodeString); Public constructor create(const aDict : TJSInstallTriggerDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInstallTriggerData; property URL: UnicodeString read _GetURL write _SetURL; property IconURL: UnicodeString read _GetIconURL write _SetIconURL; property Hash: UnicodeString read _GetHash write _SetHash; end; { -------------------------------------------------------------------- TJSIntersectionObserverEntryInit --------------------------------------------------------------------} TJSIntersectionObserverEntryInitRec = record time: TDOMHighResTimeStamp; rootBounds: TJSDOMRectInit; boundingClientRect: TJSDOMRectInit; intersectionRect: TJSDOMRectInit; target: TJSElement; end; IJSIntersectionObserverEntryInit = interface(IJSObject) ['{99D12F1B-4564-3291-B24B-D18B0ADB487A}'] function _Gettime: TDOMHighResTimeStamp; function _GetrootBounds: IJSDOMRectInit; function _GetboundingClientRect: IJSDOMRectInit; function _GetintersectionRect: IJSDOMRectInit; function _Gettarget: IJSElement; procedure _Settime(const aValue: TDOMHighResTimeStamp); procedure _SetrootBounds(const aValue: IJSDOMRectInit); procedure _SetboundingClientRect(const aValue: IJSDOMRectInit); procedure _SetintersectionRect(const aValue: IJSDOMRectInit); procedure _Settarget(const aValue: IJSElement); property time: TDOMHighResTimeStamp read _Gettime write _Settime; property rootBounds: IJSDOMRectInit read _GetrootBounds write _SetrootBounds; property boundingClientRect: IJSDOMRectInit read _GetboundingClientRect write _SetboundingClientRect; property intersectionRect: IJSDOMRectInit read _GetintersectionRect write _SetintersectionRect; property target: IJSElement read _Gettarget write _Settarget; end; TJSIntersectionObserverEntryInit = class(TJSObject,IJSIntersectionObserverEntryInit) Private Protected function _Gettime: TDOMHighResTimeStamp; function _GetrootBounds: IJSDOMRectInit; function _GetboundingClientRect: IJSDOMRectInit; function _GetintersectionRect: IJSDOMRectInit; function _Gettarget: IJSElement; procedure _Settime(const aValue: TDOMHighResTimeStamp); procedure _SetrootBounds(const aValue: IJSDOMRectInit); procedure _SetboundingClientRect(const aValue: IJSDOMRectInit); procedure _SetintersectionRect(const aValue: IJSDOMRectInit); procedure _Settarget(const aValue: IJSElement); Public constructor create(const aDict : TJSIntersectionObserverEntryInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIntersectionObserverEntryInit; property time: TDOMHighResTimeStamp read _Gettime write _Settime; property rootBounds: IJSDOMRectInit read _GetrootBounds write _SetrootBounds; property boundingClientRect: IJSDOMRectInit read _GetboundingClientRect write _SetboundingClientRect; property intersectionRect: IJSDOMRectInit read _GetintersectionRect write _SetintersectionRect; property target: IJSElement read _Gettarget write _Settarget; end; { -------------------------------------------------------------------- TJSIntersectionObserverInit --------------------------------------------------------------------} // Union of Element, Document TIntersectionObserverInit_root_Type = Variant; // Union of double, sequence TIntersectionObserverInit_threshold_Type = Variant; TJSIntersectionObserverInitRec = record root: TIntersectionObserverInit_root_Type; rootMargin: UTF8String; threshold: TIntersectionObserverInit_threshold_Type; end; IJSIntersectionObserverInit = interface(IJSObject) ['{7D1328E7-3005-3D1E-A388-5160B5571717}'] function _Getroot: TIntersectionObserverInit_root_Type; function _GetrootMargin: UTF8String; function _Getthreshold: TIntersectionObserverInit_threshold_Type; procedure _Setroot(const aValue: TIntersectionObserverInit_root_Type); procedure _SetrootMargin(const aValue: UTF8String); procedure _Setthreshold(const aValue: TIntersectionObserverInit_threshold_Type); property root: TIntersectionObserverInit_root_Type read _Getroot write _Setroot; property rootMargin: UTF8String read _GetrootMargin write _SetrootMargin; property threshold: TIntersectionObserverInit_threshold_Type read _Getthreshold write _Setthreshold; end; TJSIntersectionObserverInit = class(TJSObject,IJSIntersectionObserverInit) Private Protected function _Getroot: TIntersectionObserverInit_root_Type; function _GetrootMargin: UTF8String; function _Getthreshold: TIntersectionObserverInit_threshold_Type; procedure _Setroot(const aValue: TIntersectionObserverInit_root_Type); procedure _SetrootMargin(const aValue: UTF8String); procedure _Setthreshold(const aValue: TIntersectionObserverInit_threshold_Type); Public constructor create(const aDict : TJSIntersectionObserverInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIntersectionObserverInit; property root: TIntersectionObserverInit_root_Type read _Getroot write _Setroot; property rootMargin: UTF8String read _GetrootMargin write _SetrootMargin; property threshold: TIntersectionObserverInit_threshold_Type read _Getthreshold write _Setthreshold; end; { -------------------------------------------------------------------- TJSDisplayNameOptions --------------------------------------------------------------------} TJSDisplayNameOptionsRec = record type_: UnicodeString; style: UnicodeString; calendar: UnicodeString; keys: TUnicodeStringDynArray; end; IJSDisplayNameOptions = interface(IJSObject) ['{39000323-C7B7-3A9A-BA80-2C5ED5C83986}'] function _Gettype_: UnicodeString; function _Getstyle: UnicodeString; function _Getcalendar: UnicodeString; function _Getkeys: TUnicodeStringDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _Setstyle(const aValue: UnicodeString); procedure _Setcalendar(const aValue: UnicodeString); procedure _Setkeys(const aValue: TUnicodeStringDynArray); property type_: UnicodeString read _Gettype_ write _Settype_; property style: UnicodeString read _Getstyle write _Setstyle; property calendar: UnicodeString read _Getcalendar write _Setcalendar; property keys: TUnicodeStringDynArray read _Getkeys write _Setkeys; end; TJSDisplayNameOptions = class(TJSObject,IJSDisplayNameOptions) Private Protected function _Gettype_: UnicodeString; function _Getstyle: UnicodeString; function _Getcalendar: UnicodeString; function _Getkeys: TUnicodeStringDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _Setstyle(const aValue: UnicodeString); procedure _Setcalendar(const aValue: UnicodeString); procedure _Setkeys(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSDisplayNameOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDisplayNameOptions; property type_: UnicodeString read _Gettype_ write _Settype_; property style: UnicodeString read _Getstyle write _Setstyle; property calendar: UnicodeString read _Getcalendar write _Setcalendar; property keys: TUnicodeStringDynArray read _Getkeys write _Setkeys; end; { -------------------------------------------------------------------- TJSDisplayNameResult --------------------------------------------------------------------} TJSDisplayNameResultRec = record locale: UnicodeString; type_: UnicodeString; style: UnicodeString; calendar: UnicodeString; values: TUnicodeStringDynArray; end; IJSDisplayNameResult = interface(IJSObject) ['{C03AF34F-DC66-3354-BD79-8642B54CCD5D}'] function _Getlocale: UnicodeString; function _Gettype_: UnicodeString; function _Getstyle: UnicodeString; function _Getcalendar: UnicodeString; function _Getvalues: TUnicodeStringDynArray; procedure _Setlocale(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setstyle(const aValue: UnicodeString); procedure _Setcalendar(const aValue: UnicodeString); procedure _Setvalues(const aValue: TUnicodeStringDynArray); property locale: UnicodeString read _Getlocale write _Setlocale; property type_: UnicodeString read _Gettype_ write _Settype_; property style: UnicodeString read _Getstyle write _Setstyle; property calendar: UnicodeString read _Getcalendar write _Setcalendar; property values: TUnicodeStringDynArray read _Getvalues write _Setvalues; end; TJSDisplayNameResult = class(TJSObject,IJSDisplayNameResult) Private Protected function _Getlocale: UnicodeString; function _Gettype_: UnicodeString; function _Getstyle: UnicodeString; function _Getcalendar: UnicodeString; function _Getvalues: TUnicodeStringDynArray; procedure _Setlocale(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setstyle(const aValue: UnicodeString); procedure _Setcalendar(const aValue: UnicodeString); procedure _Setvalues(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSDisplayNameResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDisplayNameResult; property locale: UnicodeString read _Getlocale write _Setlocale; property type_: UnicodeString read _Gettype_ write _Settype_; property style: UnicodeString read _Getstyle write _Setstyle; property calendar: UnicodeString read _Getcalendar write _Setcalendar; property values: TUnicodeStringDynArray read _Getvalues write _Setvalues; end; { -------------------------------------------------------------------- TJSLocaleInfo --------------------------------------------------------------------} TJSLocaleInfoRec = record locale: UnicodeString; direction: UnicodeString; end; IJSLocaleInfo = interface(IJSObject) ['{3688BFC2-CCE4-3853-B069-70E3D390FEBF}'] function _Getlocale: UnicodeString; function _Getdirection: UnicodeString; procedure _Setlocale(const aValue: UnicodeString); procedure _Setdirection(const aValue: UnicodeString); property locale: UnicodeString read _Getlocale write _Setlocale; property direction: UnicodeString read _Getdirection write _Setdirection; end; TJSLocaleInfo = class(TJSObject,IJSLocaleInfo) Private Protected function _Getlocale: UnicodeString; function _Getdirection: UnicodeString; procedure _Setlocale(const aValue: UnicodeString); procedure _Setdirection(const aValue: UnicodeString); Public constructor create(const aDict : TJSLocaleInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLocaleInfo; property locale: UnicodeString read _Getlocale write _Setlocale; property direction: UnicodeString read _Getdirection write _Setdirection; end; { -------------------------------------------------------------------- TJSIterableKeyOrValueResult --------------------------------------------------------------------} TJSIterableKeyOrValueResultRec = record value: Variant; done: Boolean; end; IJSIterableKeyOrValueResult = interface(IJSObject) ['{3613FCAD-A350-33FB-B5AD-F34037D7BE5E}'] function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; TJSIterableKeyOrValueResult = class(TJSObject,IJSIterableKeyOrValueResult) Private Protected function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); Public constructor create(const aDict : TJSIterableKeyOrValueResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIterableKeyOrValueResult; property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; { -------------------------------------------------------------------- TJSIterableKeyAndValueResult --------------------------------------------------------------------} TVariantDynArray = IJSArray; // array of any TJSIterableKeyAndValueResultRec = record value: TVariantDynArray; done: Boolean; end; IJSIterableKeyAndValueResult = interface(IJSObject) ['{4F18103E-2142-3212-B1E0-0EA00FC3DA0A}'] function _Getvalue: TVariantDynArray; function _Getdone: Boolean; procedure _Setvalue(const aValue: TVariantDynArray); procedure _Setdone(const aValue: Boolean); property value: TVariantDynArray read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; TJSIterableKeyAndValueResult = class(TJSObject,IJSIterableKeyAndValueResult) Private Protected function _Getvalue: TVariantDynArray; function _Getdone: Boolean; procedure _Setvalue(const aValue: TVariantDynArray); procedure _Setdone(const aValue: Boolean); Public constructor create(const aDict : TJSIterableKeyAndValueResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIterableKeyAndValueResult; property value: TVariantDynArray read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; { -------------------------------------------------------------------- TJSKeyAlgorithm --------------------------------------------------------------------} TJSKeyAlgorithmRec = record name: UnicodeString; end; IJSKeyAlgorithm = interface(IJSObject) ['{E6CF941B-B6A3-3474-9949-11281AA2A621}'] function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; end; TJSKeyAlgorithm = class(TJSObject,IJSKeyAlgorithm) Private Protected function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyAlgorithm; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSAnimationPropertyValueDetails --------------------------------------------------------------------} TJSAnimationPropertyValueDetailsRec = record offset: Double; value: UTF8String; easing: UTF8String; composite: TCompositeOperation; end; IJSAnimationPropertyValueDetails = interface(IJSObject) ['{86034265-AF5C-36AE-A036-D12D76676926}'] function _Getoffset: Double; function _Getvalue: UTF8String; function _Geteasing: UTF8String; function _Getcomposite: TCompositeOperation; procedure _Setoffset(const aValue: Double); procedure _Setvalue(const aValue: UTF8String); procedure _Seteasing(const aValue: UTF8String); procedure _Setcomposite(const aValue: TCompositeOperation); property offset: Double read _Getoffset write _Setoffset; property value: UTF8String read _Getvalue write _Setvalue; property easing: UTF8String read _Geteasing write _Seteasing; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; end; TJSAnimationPropertyValueDetails = class(TJSObject,IJSAnimationPropertyValueDetails) Private Protected function _Getoffset: Double; function _Getvalue: UTF8String; function _Geteasing: UTF8String; function _Getcomposite: TCompositeOperation; procedure _Setoffset(const aValue: Double); procedure _Setvalue(const aValue: UTF8String); procedure _Seteasing(const aValue: UTF8String); procedure _Setcomposite(const aValue: TCompositeOperation); Public constructor create(const aDict : TJSAnimationPropertyValueDetailsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationPropertyValueDetails; property offset: Double read _Getoffset write _Setoffset; property value: UTF8String read _Getvalue write _Setvalue; property easing: UTF8String read _Geteasing write _Seteasing; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; end; { -------------------------------------------------------------------- TJSAnimationPropertyDetails --------------------------------------------------------------------} TJSAnimationPropertyValueDetailsDynArray = IJSArray; // array of AnimationPropertyValueDetails TJSAnimationPropertyDetailsRec = record property_: UnicodeString; runningOnCompositor: Boolean; warning: UnicodeString; values: TJSAnimationPropertyValueDetailsDynArray; end; IJSAnimationPropertyDetails = interface(IJSObject) ['{977022CC-25AC-36FF-92E0-4CB036297162}'] function _Getproperty_: UnicodeString; function _GetrunningOnCompositor: Boolean; function _Getwarning: UnicodeString; function _Getvalues: TJSAnimationPropertyValueDetailsDynArray; procedure _Setproperty_(const aValue: UnicodeString); procedure _SetrunningOnCompositor(const aValue: Boolean); procedure _Setwarning(const aValue: UnicodeString); procedure _Setvalues(const aValue: TJSAnimationPropertyValueDetailsDynArray); property property_: UnicodeString read _Getproperty_ write _Setproperty_; property runningOnCompositor: Boolean read _GetrunningOnCompositor write _SetrunningOnCompositor; property warning: UnicodeString read _Getwarning write _Setwarning; property values: TJSAnimationPropertyValueDetailsDynArray read _Getvalues write _Setvalues; end; TJSAnimationPropertyDetails = class(TJSObject,IJSAnimationPropertyDetails) Private Protected function _Getproperty_: UnicodeString; function _GetrunningOnCompositor: Boolean; function _Getwarning: UnicodeString; function _Getvalues: TJSAnimationPropertyValueDetailsDynArray; procedure _Setproperty_(const aValue: UnicodeString); procedure _SetrunningOnCompositor(const aValue: Boolean); procedure _Setwarning(const aValue: UnicodeString); procedure _Setvalues(const aValue: TJSAnimationPropertyValueDetailsDynArray); Public constructor create(const aDict : TJSAnimationPropertyDetailsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationPropertyDetails; property property_: UnicodeString read _Getproperty_ write _Setproperty_; property runningOnCompositor: Boolean read _GetrunningOnCompositor write _SetrunningOnCompositor; property warning: UnicodeString read _Getwarning write _Setwarning; property values: TJSAnimationPropertyValueDetailsDynArray read _Getvalues write _Setvalues; end; { -------------------------------------------------------------------- TJSKeyIdsInitData --------------------------------------------------------------------} TJSKeyIdsInitDataRec = record kids: TUnicodeStringDynArray; end; IJSKeyIdsInitData = interface(IJSObject) ['{A28D0BD7-3034-35E4-85FF-ED3E0046E5A9}'] function _Getkids: TUnicodeStringDynArray; procedure _Setkids(const aValue: TUnicodeStringDynArray); property kids: TUnicodeStringDynArray read _Getkids write _Setkids; end; TJSKeyIdsInitData = class(TJSObject,IJSKeyIdsInitData) Private Protected function _Getkids: TUnicodeStringDynArray; procedure _Setkids(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSKeyIdsInitDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyIdsInitData; property kids: TUnicodeStringDynArray read _Getkids write _Setkids; end; { -------------------------------------------------------------------- TJSL10nIdArgs --------------------------------------------------------------------} TJSL10nIdArgsRec = record id: UTF8String; args: IJSArray; end; IJSL10nIdArgs = interface(IJSObject) ['{F0F4A0F7-49DA-3065-9915-813089A48332}'] function _Getid: UTF8String; function _Getargs: IJSArray; procedure _Setid(const aValue: UTF8String); procedure _Setargs(const aValue: IJSArray); property id: UTF8String read _Getid write _Setid; property args: IJSArray read _Getargs write _Setargs; end; TJSL10nIdArgs = class(TJSObject,IJSL10nIdArgs) Private Protected function _Getid: UTF8String; function _Getargs: IJSArray; procedure _Setid(const aValue: UTF8String); procedure _Setargs(const aValue: IJSArray); Public constructor create(const aDict : TJSL10nIdArgsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSL10nIdArgs; property id: UTF8String read _Getid write _Setid; property args: IJSArray read _Getargs write _Setargs; end; { -------------------------------------------------------------------- TJSAttributeNameValue --------------------------------------------------------------------} TJSAttributeNameValueRec = record name: UTF8String; value: UTF8String; end; IJSAttributeNameValue = interface(IJSObject) ['{59F2F361-DBC3-373F-BB46-72C53F284103}'] function _Getname: UTF8String; function _Getvalue: UTF8String; procedure _Setname(const aValue: UTF8String); procedure _Setvalue(const aValue: UTF8String); property name: UTF8String read _Getname write _Setname; property value: UTF8String read _Getvalue write _Setvalue; end; TJSAttributeNameValue = class(TJSObject,IJSAttributeNameValue) Private Protected function _Getname: UTF8String; function _Getvalue: UTF8String; procedure _Setname(const aValue: UTF8String); procedure _Setvalue(const aValue: UTF8String); Public constructor create(const aDict : TJSAttributeNameValueRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAttributeNameValue; property name: UTF8String read _Getname write _Setname; property value: UTF8String read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSL10nMessage --------------------------------------------------------------------} TJSAttributeNameValueDynArray = IJSArray; // array of AttributeNameValue TJSL10nMessageRec = record value: UTF8String; attributes: TJSAttributeNameValueDynArray; end; IJSL10nMessage = interface(IJSObject) ['{34BFCE8F-7651-3078-B9FA-04E45439C423}'] function _Getvalue: UTF8String; function _Getattributes: TJSAttributeNameValueDynArray; procedure _Setvalue(const aValue: UTF8String); procedure _Setattributes(const aValue: TJSAttributeNameValueDynArray); property value: UTF8String read _Getvalue write _Setvalue; property attributes: TJSAttributeNameValueDynArray read _Getattributes write _Setattributes; end; TJSL10nMessage = class(TJSObject,IJSL10nMessage) Private Protected function _Getvalue: UTF8String; function _Getattributes: TJSAttributeNameValueDynArray; procedure _Setvalue(const aValue: UTF8String); procedure _Setattributes(const aValue: TJSAttributeNameValueDynArray); Public constructor create(const aDict : TJSL10nMessageRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSL10nMessage; property value: UTF8String read _Getvalue write _Setvalue; property attributes: TJSAttributeNameValueDynArray read _Getattributes write _Setattributes; end; { -------------------------------------------------------------------- TJSL10nArgsHelperDict --------------------------------------------------------------------} TJSL10nArgsHelperDictRec = record args: IJSArray; end; IJSL10nArgsHelperDict = interface(IJSObject) ['{C8B37CD0-3340-347A-A8A6-4C7E26191523}'] function _Getargs: IJSArray; procedure _Setargs(const aValue: IJSArray); property args: IJSArray read _Getargs write _Setargs; end; TJSL10nArgsHelperDict = class(TJSObject,IJSL10nArgsHelperDict) Private Protected function _Getargs: IJSArray; procedure _Setargs(const aValue: IJSArray); Public constructor create(const aDict : TJSL10nArgsHelperDictRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSL10nArgsHelperDict; property args: IJSArray read _Getargs write _Setargs; end; { -------------------------------------------------------------------- TJSLockOptions --------------------------------------------------------------------} TJSLockOptionsRec = record mode: TLockMode; ifAvailable: Boolean; steal: Boolean; signal: TJSAbortSignal; end; IJSLockOptions = interface(IJSObject) ['{F6FB180D-2DBB-3150-B286-0C67AED69AD0}'] function _Getmode: TLockMode; function _GetifAvailable: Boolean; function _Getsteal: Boolean; function _Getsignal: IJSAbortSignal; procedure _Setmode(const aValue: TLockMode); procedure _SetifAvailable(const aValue: Boolean); procedure _Setsteal(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); property mode: TLockMode read _Getmode write _Setmode; property ifAvailable: Boolean read _GetifAvailable write _SetifAvailable; property steal: Boolean read _Getsteal write _Setsteal; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; TJSLockOptions = class(TJSObject,IJSLockOptions) Private Protected function _Getmode: TLockMode; function _GetifAvailable: Boolean; function _Getsteal: Boolean; function _Getsignal: IJSAbortSignal; procedure _Setmode(const aValue: TLockMode); procedure _SetifAvailable(const aValue: Boolean); procedure _Setsteal(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); Public constructor create(const aDict : TJSLockOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLockOptions; property mode: TLockMode read _Getmode write _Setmode; property ifAvailable: Boolean read _GetifAvailable write _SetifAvailable; property steal: Boolean read _Getsteal write _Setsteal; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; { -------------------------------------------------------------------- TJSLockManagerSnapshot --------------------------------------------------------------------} TJSLockInfoDynArray = IJSArray; // array of LockInfo TJSLockManagerSnapshotRec = record held: TJSLockInfoDynArray; pending: TJSLockInfoDynArray; end; IJSLockManagerSnapshot = interface(IJSObject) ['{753F6F9E-2CB7-3DF8-9437-3241EC3C80E5}'] function _Getheld: TJSLockInfoDynArray; function _Getpending: TJSLockInfoDynArray; procedure _Setheld(const aValue: TJSLockInfoDynArray); procedure _Setpending(const aValue: TJSLockInfoDynArray); property held: TJSLockInfoDynArray read _Getheld write _Setheld; property pending: TJSLockInfoDynArray read _Getpending write _Setpending; end; TJSLockManagerSnapshot = class(TJSObject,IJSLockManagerSnapshot) Private Protected function _Getheld: TJSLockInfoDynArray; function _Getpending: TJSLockInfoDynArray; procedure _Setheld(const aValue: TJSLockInfoDynArray); procedure _Setpending(const aValue: TJSLockInfoDynArray); Public constructor create(const aDict : TJSLockManagerSnapshotRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLockManagerSnapshot; property held: TJSLockInfoDynArray read _Getheld write _Setheld; property pending: TJSLockInfoDynArray read _Getpending write _Setpending; end; { -------------------------------------------------------------------- TJSLockInfo --------------------------------------------------------------------} TJSLockInfoRec = record name: UnicodeString; mode: TLockMode; clientId: UnicodeString; end; IJSLockInfo = interface(IJSObject) ['{CB5FAB1C-5324-315B-921B-5180515CFB3C}'] function _Getname: UnicodeString; function _Getmode: TLockMode; function _GetclientId: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setmode(const aValue: TLockMode); procedure _SetclientId(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property mode: TLockMode read _Getmode write _Setmode; property clientId: UnicodeString read _GetclientId write _SetclientId; end; TJSLockInfo = class(TJSObject,IJSLockInfo) Private Protected function _Getname: UnicodeString; function _Getmode: TLockMode; function _GetclientId: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setmode(const aValue: TLockMode); procedure _SetclientId(const aValue: UnicodeString); Public constructor create(const aDict : TJSLockInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLockInfo; property name: UnicodeString read _Getname write _Setname; property mode: TLockMode read _Getmode write _Setmode; property clientId: UnicodeString read _GetclientId write _SetclientId; end; { -------------------------------------------------------------------- TJSMediaConfiguration --------------------------------------------------------------------} TJSMediaConfigurationRec = record video: TJSVideoConfiguration; audio: TJSAudioConfiguration; end; IJSMediaConfiguration = interface(IJSObject) ['{C3648B18-B3CA-3C5C-9452-D07EE31CFA84}'] function _Getvideo: IJSVideoConfiguration; function _Getaudio: IJSAudioConfiguration; procedure _Setvideo(const aValue: IJSVideoConfiguration); procedure _Setaudio(const aValue: IJSAudioConfiguration); property video: IJSVideoConfiguration read _Getvideo write _Setvideo; property audio: IJSAudioConfiguration read _Getaudio write _Setaudio; end; TJSMediaConfiguration = class(TJSObject,IJSMediaConfiguration) Private Protected function _Getvideo: IJSVideoConfiguration; function _Getaudio: IJSAudioConfiguration; procedure _Setvideo(const aValue: IJSVideoConfiguration); procedure _Setaudio(const aValue: IJSAudioConfiguration); Public constructor create(const aDict : TJSMediaConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaConfiguration; property video: IJSVideoConfiguration read _Getvideo write _Setvideo; property audio: IJSAudioConfiguration read _Getaudio write _Setaudio; end; { -------------------------------------------------------------------- TJSVideoConfiguration --------------------------------------------------------------------} TJSVideoConfigurationRec = record contentType: UnicodeString; width: Cardinal; height: Cardinal; bitrate: QWord; framerate: Double; hasAlphaChannel: Boolean; hdrMetadataType: THdrMetadataType; colorGamut: TColorGamut; transferFunction: TTransferFunction; scalabilityMode: UnicodeString; end; IJSVideoConfiguration = interface(IJSObject) ['{9C5E3A03-B9AE-32F7-9D7B-A231171CA795}'] function _GetcontentType: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getbitrate: QWord; function _Getframerate: Double; function _GethasAlphaChannel: Boolean; function _GethdrMetadataType: THdrMetadataType; function _GetcolorGamut: TColorGamut; function _GettransferFunction: TTransferFunction; function _GetscalabilityMode: UnicodeString; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _Setframerate(const aValue: Double); procedure _SethasAlphaChannel(const aValue: Boolean); procedure _SethdrMetadataType(const aValue: THdrMetadataType); procedure _SetcolorGamut(const aValue: TColorGamut); procedure _SettransferFunction(const aValue: TTransferFunction); procedure _SetscalabilityMode(const aValue: UnicodeString); property contentType: UnicodeString read _GetcontentType write _SetcontentType; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property bitrate: QWord read _Getbitrate write _Setbitrate; property framerate: Double read _Getframerate write _Setframerate; property hasAlphaChannel: Boolean read _GethasAlphaChannel write _SethasAlphaChannel; property hdrMetadataType: THdrMetadataType read _GethdrMetadataType write _SethdrMetadataType; property colorGamut: TColorGamut read _GetcolorGamut write _SetcolorGamut; property transferFunction: TTransferFunction read _GettransferFunction write _SettransferFunction; property scalabilityMode: UnicodeString read _GetscalabilityMode write _SetscalabilityMode; end; TJSVideoConfiguration = class(TJSObject,IJSVideoConfiguration) Private Protected function _GetcontentType: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getbitrate: QWord; function _Getframerate: Double; function _GethasAlphaChannel: Boolean; function _GethdrMetadataType: THdrMetadataType; function _GetcolorGamut: TColorGamut; function _GettransferFunction: TTransferFunction; function _GetscalabilityMode: UnicodeString; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _Setframerate(const aValue: Double); procedure _SethasAlphaChannel(const aValue: Boolean); procedure _SethdrMetadataType(const aValue: THdrMetadataType); procedure _SetcolorGamut(const aValue: TColorGamut); procedure _SettransferFunction(const aValue: TTransferFunction); procedure _SetscalabilityMode(const aValue: UnicodeString); Public constructor create(const aDict : TJSVideoConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoConfiguration; property contentType: UnicodeString read _GetcontentType write _SetcontentType; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property bitrate: QWord read _Getbitrate write _Setbitrate; property framerate: Double read _Getframerate write _Setframerate; property hasAlphaChannel: Boolean read _GethasAlphaChannel write _SethasAlphaChannel; property hdrMetadataType: THdrMetadataType read _GethdrMetadataType write _SethdrMetadataType; property colorGamut: TColorGamut read _GetcolorGamut write _SetcolorGamut; property transferFunction: TTransferFunction read _GettransferFunction write _SettransferFunction; property scalabilityMode: UnicodeString read _GetscalabilityMode write _SetscalabilityMode; end; { -------------------------------------------------------------------- TJSAudioConfiguration --------------------------------------------------------------------} TJSAudioConfigurationRec = record contentType: UnicodeString; channels: UnicodeString; bitrate: QWord; samplerate: Cardinal; end; IJSAudioConfiguration = interface(IJSObject) ['{7D5CFB0D-96D0-3D3F-A7C1-5759DCC91B0D}'] function _GetcontentType: UnicodeString; function _Getchannels: UnicodeString; function _Getbitrate: QWord; function _Getsamplerate: Cardinal; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setchannels(const aValue: UnicodeString); procedure _Setbitrate(const aValue: QWord); procedure _Setsamplerate(const aValue: Cardinal); property contentType: UnicodeString read _GetcontentType write _SetcontentType; property channels: UnicodeString read _Getchannels write _Setchannels; property bitrate: QWord read _Getbitrate write _Setbitrate; property samplerate: Cardinal read _Getsamplerate write _Setsamplerate; end; TJSAudioConfiguration = class(TJSObject,IJSAudioConfiguration) Private Protected function _GetcontentType: UnicodeString; function _Getchannels: UnicodeString; function _Getbitrate: QWord; function _Getsamplerate: Cardinal; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setchannels(const aValue: UnicodeString); procedure _Setbitrate(const aValue: QWord); procedure _Setsamplerate(const aValue: Cardinal); Public constructor create(const aDict : TJSAudioConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioConfiguration; property contentType: UnicodeString read _GetcontentType write _SetcontentType; property channels: UnicodeString read _Getchannels write _Setchannels; property bitrate: QWord read _Getbitrate write _Setbitrate; property samplerate: Cardinal read _Getsamplerate write _Setsamplerate; end; { -------------------------------------------------------------------- TJSMediaCacheStreamDebugInfo --------------------------------------------------------------------} TJSMediaCacheStreamDebugInfoRec = record streamLength: Int64; channelOffset: Int64; cacheSuspended: Boolean; channelEnded: Boolean; loadID: LongInt; end; IJSMediaCacheStreamDebugInfo = interface(IJSObject) ['{F471FF6C-E476-31E3-ABB0-608DA5500BFD}'] function _GetstreamLength: Int64; function _GetchannelOffset: Int64; function _GetcacheSuspended: Boolean; function _GetchannelEnded: Boolean; function _GetloadID: LongInt; procedure _SetstreamLength(const aValue: Int64); procedure _SetchannelOffset(const aValue: Int64); procedure _SetcacheSuspended(const aValue: Boolean); procedure _SetchannelEnded(const aValue: Boolean); procedure _SetloadID(const aValue: LongInt); property streamLength: Int64 read _GetstreamLength write _SetstreamLength; property channelOffset: Int64 read _GetchannelOffset write _SetchannelOffset; property cacheSuspended: Boolean read _GetcacheSuspended write _SetcacheSuspended; property channelEnded: Boolean read _GetchannelEnded write _SetchannelEnded; property loadID: LongInt read _GetloadID write _SetloadID; end; TJSMediaCacheStreamDebugInfo = class(TJSObject,IJSMediaCacheStreamDebugInfo) Private Protected function _GetstreamLength: Int64; function _GetchannelOffset: Int64; function _GetcacheSuspended: Boolean; function _GetchannelEnded: Boolean; function _GetloadID: LongInt; procedure _SetstreamLength(const aValue: Int64); procedure _SetchannelOffset(const aValue: Int64); procedure _SetcacheSuspended(const aValue: Boolean); procedure _SetchannelEnded(const aValue: Boolean); procedure _SetloadID(const aValue: LongInt); Public constructor create(const aDict : TJSMediaCacheStreamDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaCacheStreamDebugInfo; property streamLength: Int64 read _GetstreamLength write _SetstreamLength; property channelOffset: Int64 read _GetchannelOffset write _SetchannelOffset; property cacheSuspended: Boolean read _GetcacheSuspended write _SetcacheSuspended; property channelEnded: Boolean read _GetchannelEnded write _SetchannelEnded; property loadID: LongInt read _GetloadID write _SetloadID; end; { -------------------------------------------------------------------- TJSMediaResourceDebugInfo --------------------------------------------------------------------} TJSMediaResourceDebugInfoRec = record cacheStream: TJSMediaCacheStreamDebugInfo; end; IJSMediaResourceDebugInfo = interface(IJSObject) ['{178A3BBE-7C38-3E53-BE70-C3DE9E5A914C}'] function _GetcacheStream: IJSMediaCacheStreamDebugInfo; procedure _SetcacheStream(const aValue: IJSMediaCacheStreamDebugInfo); property cacheStream: IJSMediaCacheStreamDebugInfo read _GetcacheStream write _SetcacheStream; end; TJSMediaResourceDebugInfo = class(TJSObject,IJSMediaResourceDebugInfo) Private Protected function _GetcacheStream: IJSMediaCacheStreamDebugInfo; procedure _SetcacheStream(const aValue: IJSMediaCacheStreamDebugInfo); Public constructor create(const aDict : TJSMediaResourceDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaResourceDebugInfo; property cacheStream: IJSMediaCacheStreamDebugInfo read _GetcacheStream write _SetcacheStream; end; { -------------------------------------------------------------------- TJSMediaDecoderDebugInfo --------------------------------------------------------------------} TJSMediaDecoderDebugInfoRec = record instance: UnicodeString; channels: Cardinal; rate: Cardinal; hasAudio: Boolean; hasVideo: Boolean; PlayState: UnicodeString; containerType: UnicodeString; reader: TJSMediaFormatReaderDebugInfo; stateMachine: TJSMediaDecoderStateMachineDebugInfo; resource: TJSMediaResourceDebugInfo; end; IJSMediaDecoderDebugInfo = interface(IJSObject) ['{EAEA025E-B2D1-3A0C-AB73-854A38EC6925}'] function _Getinstance: UnicodeString; function _Getchannels: Cardinal; function _Getrate: Cardinal; function _GethasAudio: Boolean; function _GethasVideo: Boolean; function _GetPlayState: UnicodeString; function _GetcontainerType: UnicodeString; function _Getreader: IJSMediaFormatReaderDebugInfo; function _GetstateMachine: IJSMediaDecoderStateMachineDebugInfo; function _Getresource: IJSMediaResourceDebugInfo; procedure _Setinstance(const aValue: UnicodeString); procedure _Setchannels(const aValue: Cardinal); procedure _Setrate(const aValue: Cardinal); procedure _SethasAudio(const aValue: Boolean); procedure _SethasVideo(const aValue: Boolean); procedure _SetPlayState(const aValue: UnicodeString); procedure _SetcontainerType(const aValue: UnicodeString); procedure _Setreader(const aValue: IJSMediaFormatReaderDebugInfo); procedure _SetstateMachine(const aValue: IJSMediaDecoderStateMachineDebugInfo); procedure _Setresource(const aValue: IJSMediaResourceDebugInfo); property instance: UnicodeString read _Getinstance write _Setinstance; property channels: Cardinal read _Getchannels write _Setchannels; property rate: Cardinal read _Getrate write _Setrate; property hasAudio: Boolean read _GethasAudio write _SethasAudio; property hasVideo: Boolean read _GethasVideo write _SethasVideo; property PlayState: UnicodeString read _GetPlayState write _SetPlayState; property containerType: UnicodeString read _GetcontainerType write _SetcontainerType; property reader: IJSMediaFormatReaderDebugInfo read _Getreader write _Setreader; property stateMachine: IJSMediaDecoderStateMachineDebugInfo read _GetstateMachine write _SetstateMachine; property resource: IJSMediaResourceDebugInfo read _Getresource write _Setresource; end; TJSMediaDecoderDebugInfo = class(TJSObject,IJSMediaDecoderDebugInfo) Private Protected function _Getinstance: UnicodeString; function _Getchannels: Cardinal; function _Getrate: Cardinal; function _GethasAudio: Boolean; function _GethasVideo: Boolean; function _GetPlayState: UnicodeString; function _GetcontainerType: UnicodeString; function _Getreader: IJSMediaFormatReaderDebugInfo; function _GetstateMachine: IJSMediaDecoderStateMachineDebugInfo; function _Getresource: IJSMediaResourceDebugInfo; procedure _Setinstance(const aValue: UnicodeString); procedure _Setchannels(const aValue: Cardinal); procedure _Setrate(const aValue: Cardinal); procedure _SethasAudio(const aValue: Boolean); procedure _SethasVideo(const aValue: Boolean); procedure _SetPlayState(const aValue: UnicodeString); procedure _SetcontainerType(const aValue: UnicodeString); procedure _Setreader(const aValue: IJSMediaFormatReaderDebugInfo); procedure _SetstateMachine(const aValue: IJSMediaDecoderStateMachineDebugInfo); procedure _Setresource(const aValue: IJSMediaResourceDebugInfo); Public constructor create(const aDict : TJSMediaDecoderDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDecoderDebugInfo; property instance: UnicodeString read _Getinstance write _Setinstance; property channels: Cardinal read _Getchannels write _Setchannels; property rate: Cardinal read _Getrate write _Setrate; property hasAudio: Boolean read _GethasAudio write _SethasAudio; property hasVideo: Boolean read _GethasVideo write _SethasVideo; property PlayState: UnicodeString read _GetPlayState write _SetPlayState; property containerType: UnicodeString read _GetcontainerType write _SetcontainerType; property reader: IJSMediaFormatReaderDebugInfo read _Getreader write _Setreader; property stateMachine: IJSMediaDecoderStateMachineDebugInfo read _GetstateMachine write _SetstateMachine; property resource: IJSMediaResourceDebugInfo read _Getresource write _Setresource; end; { -------------------------------------------------------------------- TJSAudioSinkDebugInfo --------------------------------------------------------------------} TJSAudioSinkDebugInfoRec = record startTime: Int64; lastGoodPosition: Int64; isPlaying: Boolean; isStarted: Boolean; audioEnded: Boolean; outputRate: Cardinal; written: Int64; hasErrored: Boolean; playbackComplete: Boolean; end; IJSAudioSinkDebugInfo = interface(IJSObject) ['{538DBF36-A7BA-3254-B218-75B9DA79265B}'] function _GetstartTime: Int64; function _GetlastGoodPosition: Int64; function _GetisPlaying: Boolean; function _GetisStarted: Boolean; function _GetaudioEnded: Boolean; function _GetoutputRate: Cardinal; function _Getwritten: Int64; function _GethasErrored: Boolean; function _GetplaybackComplete: Boolean; procedure _SetstartTime(const aValue: Int64); procedure _SetlastGoodPosition(const aValue: Int64); procedure _SetisPlaying(const aValue: Boolean); procedure _SetisStarted(const aValue: Boolean); procedure _SetaudioEnded(const aValue: Boolean); procedure _SetoutputRate(const aValue: Cardinal); procedure _Setwritten(const aValue: Int64); procedure _SethasErrored(const aValue: Boolean); procedure _SetplaybackComplete(const aValue: Boolean); property startTime: Int64 read _GetstartTime write _SetstartTime; property lastGoodPosition: Int64 read _GetlastGoodPosition write _SetlastGoodPosition; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property isStarted: Boolean read _GetisStarted write _SetisStarted; property audioEnded: Boolean read _GetaudioEnded write _SetaudioEnded; property outputRate: Cardinal read _GetoutputRate write _SetoutputRate; property written: Int64 read _Getwritten write _Setwritten; property hasErrored: Boolean read _GethasErrored write _SethasErrored; property playbackComplete: Boolean read _GetplaybackComplete write _SetplaybackComplete; end; TJSAudioSinkDebugInfo = class(TJSObject,IJSAudioSinkDebugInfo) Private Protected function _GetstartTime: Int64; function _GetlastGoodPosition: Int64; function _GetisPlaying: Boolean; function _GetisStarted: Boolean; function _GetaudioEnded: Boolean; function _GetoutputRate: Cardinal; function _Getwritten: Int64; function _GethasErrored: Boolean; function _GetplaybackComplete: Boolean; procedure _SetstartTime(const aValue: Int64); procedure _SetlastGoodPosition(const aValue: Int64); procedure _SetisPlaying(const aValue: Boolean); procedure _SetisStarted(const aValue: Boolean); procedure _SetaudioEnded(const aValue: Boolean); procedure _SetoutputRate(const aValue: Cardinal); procedure _Setwritten(const aValue: Int64); procedure _SethasErrored(const aValue: Boolean); procedure _SetplaybackComplete(const aValue: Boolean); Public constructor create(const aDict : TJSAudioSinkDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioSinkDebugInfo; property startTime: Int64 read _GetstartTime write _SetstartTime; property lastGoodPosition: Int64 read _GetlastGoodPosition write _SetlastGoodPosition; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property isStarted: Boolean read _GetisStarted write _SetisStarted; property audioEnded: Boolean read _GetaudioEnded write _SetaudioEnded; property outputRate: Cardinal read _GetoutputRate write _SetoutputRate; property written: Int64 read _Getwritten write _Setwritten; property hasErrored: Boolean read _GethasErrored write _SethasErrored; property playbackComplete: Boolean read _GetplaybackComplete write _SetplaybackComplete; end; { -------------------------------------------------------------------- TJSAudioSinkWrapperDebugInfo --------------------------------------------------------------------} TJSAudioSinkWrapperDebugInfoRec = record isPlaying: Boolean; isStarted: Boolean; audioEnded: Boolean; audioSink: TJSAudioSinkDebugInfo; end; IJSAudioSinkWrapperDebugInfo = interface(IJSObject) ['{3F55AA3A-62EB-393B-AE73-3958151E1510}'] function _GetisPlaying: Boolean; function _GetisStarted: Boolean; function _GetaudioEnded: Boolean; function _GetaudioSink: IJSAudioSinkDebugInfo; procedure _SetisPlaying(const aValue: Boolean); procedure _SetisStarted(const aValue: Boolean); procedure _SetaudioEnded(const aValue: Boolean); procedure _SetaudioSink(const aValue: IJSAudioSinkDebugInfo); property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property isStarted: Boolean read _GetisStarted write _SetisStarted; property audioEnded: Boolean read _GetaudioEnded write _SetaudioEnded; property audioSink: IJSAudioSinkDebugInfo read _GetaudioSink write _SetaudioSink; end; TJSAudioSinkWrapperDebugInfo = class(TJSObject,IJSAudioSinkWrapperDebugInfo) Private Protected function _GetisPlaying: Boolean; function _GetisStarted: Boolean; function _GetaudioEnded: Boolean; function _GetaudioSink: IJSAudioSinkDebugInfo; procedure _SetisPlaying(const aValue: Boolean); procedure _SetisStarted(const aValue: Boolean); procedure _SetaudioEnded(const aValue: Boolean); procedure _SetaudioSink(const aValue: IJSAudioSinkDebugInfo); Public constructor create(const aDict : TJSAudioSinkWrapperDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioSinkWrapperDebugInfo; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property isStarted: Boolean read _GetisStarted write _SetisStarted; property audioEnded: Boolean read _GetaudioEnded write _SetaudioEnded; property audioSink: IJSAudioSinkDebugInfo read _GetaudioSink write _SetaudioSink; end; { -------------------------------------------------------------------- TJSVideoSinkDebugInfo --------------------------------------------------------------------} TJSVideoSinkDebugInfoRec = record isStarted: Boolean; isPlaying: Boolean; finished: Boolean; size: LongInt; videoFrameEndTime: Int64; hasVideo: Boolean; videoSinkEndRequestExists: Boolean; endPromiseHolderIsEmpty: Boolean; end; IJSVideoSinkDebugInfo = interface(IJSObject) ['{C756C185-E3B5-3ABD-AA25-58E756582BAA}'] function _GetisStarted: Boolean; function _GetisPlaying: Boolean; function _Getfinished: Boolean; function _Getsize: LongInt; function _GetvideoFrameEndTime: Int64; function _GethasVideo: Boolean; function _GetvideoSinkEndRequestExists: Boolean; function _GetendPromiseHolderIsEmpty: Boolean; procedure _SetisStarted(const aValue: Boolean); procedure _SetisPlaying(const aValue: Boolean); procedure _Setfinished(const aValue: Boolean); procedure _Setsize(const aValue: LongInt); procedure _SetvideoFrameEndTime(const aValue: Int64); procedure _SethasVideo(const aValue: Boolean); procedure _SetvideoSinkEndRequestExists(const aValue: Boolean); procedure _SetendPromiseHolderIsEmpty(const aValue: Boolean); property isStarted: Boolean read _GetisStarted write _SetisStarted; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property finished: Boolean read _Getfinished write _Setfinished; property size: LongInt read _Getsize write _Setsize; property videoFrameEndTime: Int64 read _GetvideoFrameEndTime write _SetvideoFrameEndTime; property hasVideo: Boolean read _GethasVideo write _SethasVideo; property videoSinkEndRequestExists: Boolean read _GetvideoSinkEndRequestExists write _SetvideoSinkEndRequestExists; property endPromiseHolderIsEmpty: Boolean read _GetendPromiseHolderIsEmpty write _SetendPromiseHolderIsEmpty; end; TJSVideoSinkDebugInfo = class(TJSObject,IJSVideoSinkDebugInfo) Private Protected function _GetisStarted: Boolean; function _GetisPlaying: Boolean; function _Getfinished: Boolean; function _Getsize: LongInt; function _GetvideoFrameEndTime: Int64; function _GethasVideo: Boolean; function _GetvideoSinkEndRequestExists: Boolean; function _GetendPromiseHolderIsEmpty: Boolean; procedure _SetisStarted(const aValue: Boolean); procedure _SetisPlaying(const aValue: Boolean); procedure _Setfinished(const aValue: Boolean); procedure _Setsize(const aValue: LongInt); procedure _SetvideoFrameEndTime(const aValue: Int64); procedure _SethasVideo(const aValue: Boolean); procedure _SetvideoSinkEndRequestExists(const aValue: Boolean); procedure _SetendPromiseHolderIsEmpty(const aValue: Boolean); Public constructor create(const aDict : TJSVideoSinkDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoSinkDebugInfo; property isStarted: Boolean read _GetisStarted write _SetisStarted; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property finished: Boolean read _Getfinished write _Setfinished; property size: LongInt read _Getsize write _Setsize; property videoFrameEndTime: Int64 read _GetvideoFrameEndTime write _SetvideoFrameEndTime; property hasVideo: Boolean read _GethasVideo write _SethasVideo; property videoSinkEndRequestExists: Boolean read _GetvideoSinkEndRequestExists write _SetvideoSinkEndRequestExists; property endPromiseHolderIsEmpty: Boolean read _GetendPromiseHolderIsEmpty write _SetendPromiseHolderIsEmpty; end; { -------------------------------------------------------------------- TJSDecodedStreamDataDebugInfo --------------------------------------------------------------------} TJSDecodedStreamDataDebugInfoRec = record instance: UnicodeString; audioFramesWritten: Int64; streamAudioWritten: Int64; streamVideoWritten: Int64; nextAudioTime: Int64; lastVideoStartTime: Int64; lastVideoEndTime: Int64; haveSentFinishAudio: Boolean; haveSentFinishVideo: Boolean; end; IJSDecodedStreamDataDebugInfo = interface(IJSObject) ['{7CABC06C-F02D-319B-9E8C-1B4C20E45FA8}'] function _Getinstance: UnicodeString; function _GetaudioFramesWritten: Int64; function _GetstreamAudioWritten: Int64; function _GetstreamVideoWritten: Int64; function _GetnextAudioTime: Int64; function _GetlastVideoStartTime: Int64; function _GetlastVideoEndTime: Int64; function _GethaveSentFinishAudio: Boolean; function _GethaveSentFinishVideo: Boolean; procedure _Setinstance(const aValue: UnicodeString); procedure _SetaudioFramesWritten(const aValue: Int64); procedure _SetstreamAudioWritten(const aValue: Int64); procedure _SetstreamVideoWritten(const aValue: Int64); procedure _SetnextAudioTime(const aValue: Int64); procedure _SetlastVideoStartTime(const aValue: Int64); procedure _SetlastVideoEndTime(const aValue: Int64); procedure _SethaveSentFinishAudio(const aValue: Boolean); procedure _SethaveSentFinishVideo(const aValue: Boolean); property instance: UnicodeString read _Getinstance write _Setinstance; property audioFramesWritten: Int64 read _GetaudioFramesWritten write _SetaudioFramesWritten; property streamAudioWritten: Int64 read _GetstreamAudioWritten write _SetstreamAudioWritten; property streamVideoWritten: Int64 read _GetstreamVideoWritten write _SetstreamVideoWritten; property nextAudioTime: Int64 read _GetnextAudioTime write _SetnextAudioTime; property lastVideoStartTime: Int64 read _GetlastVideoStartTime write _SetlastVideoStartTime; property lastVideoEndTime: Int64 read _GetlastVideoEndTime write _SetlastVideoEndTime; property haveSentFinishAudio: Boolean read _GethaveSentFinishAudio write _SethaveSentFinishAudio; property haveSentFinishVideo: Boolean read _GethaveSentFinishVideo write _SethaveSentFinishVideo; end; TJSDecodedStreamDataDebugInfo = class(TJSObject,IJSDecodedStreamDataDebugInfo) Private Protected function _Getinstance: UnicodeString; function _GetaudioFramesWritten: Int64; function _GetstreamAudioWritten: Int64; function _GetstreamVideoWritten: Int64; function _GetnextAudioTime: Int64; function _GetlastVideoStartTime: Int64; function _GetlastVideoEndTime: Int64; function _GethaveSentFinishAudio: Boolean; function _GethaveSentFinishVideo: Boolean; procedure _Setinstance(const aValue: UnicodeString); procedure _SetaudioFramesWritten(const aValue: Int64); procedure _SetstreamAudioWritten(const aValue: Int64); procedure _SetstreamVideoWritten(const aValue: Int64); procedure _SetnextAudioTime(const aValue: Int64); procedure _SetlastVideoStartTime(const aValue: Int64); procedure _SetlastVideoEndTime(const aValue: Int64); procedure _SethaveSentFinishAudio(const aValue: Boolean); procedure _SethaveSentFinishVideo(const aValue: Boolean); Public constructor create(const aDict : TJSDecodedStreamDataDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDecodedStreamDataDebugInfo; property instance: UnicodeString read _Getinstance write _Setinstance; property audioFramesWritten: Int64 read _GetaudioFramesWritten write _SetaudioFramesWritten; property streamAudioWritten: Int64 read _GetstreamAudioWritten write _SetstreamAudioWritten; property streamVideoWritten: Int64 read _GetstreamVideoWritten write _SetstreamVideoWritten; property nextAudioTime: Int64 read _GetnextAudioTime write _SetnextAudioTime; property lastVideoStartTime: Int64 read _GetlastVideoStartTime write _SetlastVideoStartTime; property lastVideoEndTime: Int64 read _GetlastVideoEndTime write _SetlastVideoEndTime; property haveSentFinishAudio: Boolean read _GethaveSentFinishAudio write _SethaveSentFinishAudio; property haveSentFinishVideo: Boolean read _GethaveSentFinishVideo write _SethaveSentFinishVideo; end; { -------------------------------------------------------------------- TJSDecodedStreamDebugInfo --------------------------------------------------------------------} TJSDecodedStreamDebugInfoRec = record instance: UnicodeString; startTime: Int64; lastOutputTime: Int64; playing: LongInt; lastAudio: Int64; audioQueueFinished: Boolean; audioQueueSize: LongInt; data: TJSDecodedStreamDataDebugInfo; end; IJSDecodedStreamDebugInfo = interface(IJSObject) ['{D65CDA94-551D-37C4-99CE-941674D3D7AD}'] function _Getinstance: UnicodeString; function _GetstartTime: Int64; function _GetlastOutputTime: Int64; function _Getplaying: LongInt; function _GetlastAudio: Int64; function _GetaudioQueueFinished: Boolean; function _GetaudioQueueSize: LongInt; function _Getdata: IJSDecodedStreamDataDebugInfo; procedure _Setinstance(const aValue: UnicodeString); procedure _SetstartTime(const aValue: Int64); procedure _SetlastOutputTime(const aValue: Int64); procedure _Setplaying(const aValue: LongInt); procedure _SetlastAudio(const aValue: Int64); procedure _SetaudioQueueFinished(const aValue: Boolean); procedure _SetaudioQueueSize(const aValue: LongInt); procedure _Setdata(const aValue: IJSDecodedStreamDataDebugInfo); property instance: UnicodeString read _Getinstance write _Setinstance; property startTime: Int64 read _GetstartTime write _SetstartTime; property lastOutputTime: Int64 read _GetlastOutputTime write _SetlastOutputTime; property playing: LongInt read _Getplaying write _Setplaying; property lastAudio: Int64 read _GetlastAudio write _SetlastAudio; property audioQueueFinished: Boolean read _GetaudioQueueFinished write _SetaudioQueueFinished; property audioQueueSize: LongInt read _GetaudioQueueSize write _SetaudioQueueSize; property data: IJSDecodedStreamDataDebugInfo read _Getdata write _Setdata; end; TJSDecodedStreamDebugInfo = class(TJSObject,IJSDecodedStreamDebugInfo) Private Protected function _Getinstance: UnicodeString; function _GetstartTime: Int64; function _GetlastOutputTime: Int64; function _Getplaying: LongInt; function _GetlastAudio: Int64; function _GetaudioQueueFinished: Boolean; function _GetaudioQueueSize: LongInt; function _Getdata: IJSDecodedStreamDataDebugInfo; procedure _Setinstance(const aValue: UnicodeString); procedure _SetstartTime(const aValue: Int64); procedure _SetlastOutputTime(const aValue: Int64); procedure _Setplaying(const aValue: LongInt); procedure _SetlastAudio(const aValue: Int64); procedure _SetaudioQueueFinished(const aValue: Boolean); procedure _SetaudioQueueSize(const aValue: LongInt); procedure _Setdata(const aValue: IJSDecodedStreamDataDebugInfo); Public constructor create(const aDict : TJSDecodedStreamDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDecodedStreamDebugInfo; property instance: UnicodeString read _Getinstance write _Setinstance; property startTime: Int64 read _GetstartTime write _SetstartTime; property lastOutputTime: Int64 read _GetlastOutputTime write _SetlastOutputTime; property playing: LongInt read _Getplaying write _Setplaying; property lastAudio: Int64 read _GetlastAudio write _SetlastAudio; property audioQueueFinished: Boolean read _GetaudioQueueFinished write _SetaudioQueueFinished; property audioQueueSize: LongInt read _GetaudioQueueSize write _SetaudioQueueSize; property data: IJSDecodedStreamDataDebugInfo read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSMediaSinkDebugInfo --------------------------------------------------------------------} TJSMediaSinkDebugInfoRec = record audioSinkWrapper: TJSAudioSinkWrapperDebugInfo; videoSink: TJSVideoSinkDebugInfo; decodedStream: TJSDecodedStreamDebugInfo; end; IJSMediaSinkDebugInfo = interface(IJSObject) ['{137DA1B5-A127-3A7E-8B9B-67E22746036C}'] function _GetaudioSinkWrapper: IJSAudioSinkWrapperDebugInfo; function _GetvideoSink: IJSVideoSinkDebugInfo; function _GetdecodedStream: IJSDecodedStreamDebugInfo; procedure _SetaudioSinkWrapper(const aValue: IJSAudioSinkWrapperDebugInfo); procedure _SetvideoSink(const aValue: IJSVideoSinkDebugInfo); procedure _SetdecodedStream(const aValue: IJSDecodedStreamDebugInfo); property audioSinkWrapper: IJSAudioSinkWrapperDebugInfo read _GetaudioSinkWrapper write _SetaudioSinkWrapper; property videoSink: IJSVideoSinkDebugInfo read _GetvideoSink write _SetvideoSink; property decodedStream: IJSDecodedStreamDebugInfo read _GetdecodedStream write _SetdecodedStream; end; TJSMediaSinkDebugInfo = class(TJSObject,IJSMediaSinkDebugInfo) Private Protected function _GetaudioSinkWrapper: IJSAudioSinkWrapperDebugInfo; function _GetvideoSink: IJSVideoSinkDebugInfo; function _GetdecodedStream: IJSDecodedStreamDebugInfo; procedure _SetaudioSinkWrapper(const aValue: IJSAudioSinkWrapperDebugInfo); procedure _SetvideoSink(const aValue: IJSVideoSinkDebugInfo); procedure _SetdecodedStream(const aValue: IJSDecodedStreamDebugInfo); Public constructor create(const aDict : TJSMediaSinkDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSinkDebugInfo; property audioSinkWrapper: IJSAudioSinkWrapperDebugInfo read _GetaudioSinkWrapper write _SetaudioSinkWrapper; property videoSink: IJSVideoSinkDebugInfo read _GetvideoSink write _SetvideoSink; property decodedStream: IJSDecodedStreamDebugInfo read _GetdecodedStream write _SetdecodedStream; end; { -------------------------------------------------------------------- TJSMediaDecoderStateMachineDecodingStateDebugInfo --------------------------------------------------------------------} TJSMediaDecoderStateMachineDecodingStateDebugInfoRec = record isPrerolling: Boolean; end; IJSMediaDecoderStateMachineDecodingStateDebugInfo = interface(IJSObject) ['{B2F493E9-F38A-3F1F-B357-96CBD0A12237}'] function _GetisPrerolling: Boolean; procedure _SetisPrerolling(const aValue: Boolean); property isPrerolling: Boolean read _GetisPrerolling write _SetisPrerolling; end; TJSMediaDecoderStateMachineDecodingStateDebugInfo = class(TJSObject,IJSMediaDecoderStateMachineDecodingStateDebugInfo) Private Protected function _GetisPrerolling: Boolean; procedure _SetisPrerolling(const aValue: Boolean); Public constructor create(const aDict : TJSMediaDecoderStateMachineDecodingStateDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDecoderStateMachineDecodingStateDebugInfo; property isPrerolling: Boolean read _GetisPrerolling write _SetisPrerolling; end; { -------------------------------------------------------------------- TJSMediaDecoderStateMachineDebugInfo --------------------------------------------------------------------} TJSMediaDecoderStateMachineDebugInfoRec = record duration: Int64; mediaTime: Int64; clock: Int64; state: UnicodeString; playState: LongInt; sentFirstFrameLoadedEvent: Boolean; isPlaying: Boolean; audioRequestStatus: UnicodeString; videoRequestStatus: UnicodeString; decodedAudioEndTime: Int64; decodedVideoEndTime: Int64; audioCompleted: Boolean; videoCompleted: Boolean; stateObj: TJSMediaDecoderStateMachineDecodingStateDebugInfo; mediaSink: TJSMediaSinkDebugInfo; totalBufferingTimeMs: Double; end; IJSMediaDecoderStateMachineDebugInfo = interface(IJSObject) ['{6303109D-DA55-3B9B-94FF-4998A381C236}'] function _Getduration: Int64; function _GetmediaTime: Int64; function _Getclock: Int64; function _Getstate: UnicodeString; function _GetplayState: LongInt; function _GetsentFirstFrameLoadedEvent: Boolean; function _GetisPlaying: Boolean; function _GetaudioRequestStatus: UnicodeString; function _GetvideoRequestStatus: UnicodeString; function _GetdecodedAudioEndTime: Int64; function _GetdecodedVideoEndTime: Int64; function _GetaudioCompleted: Boolean; function _GetvideoCompleted: Boolean; function _GetstateObj: IJSMediaDecoderStateMachineDecodingStateDebugInfo; function _GetmediaSink: IJSMediaSinkDebugInfo; function _GettotalBufferingTimeMs: Double; procedure _Setduration(const aValue: Int64); procedure _SetmediaTime(const aValue: Int64); procedure _Setclock(const aValue: Int64); procedure _Setstate(const aValue: UnicodeString); procedure _SetplayState(const aValue: LongInt); procedure _SetsentFirstFrameLoadedEvent(const aValue: Boolean); procedure _SetisPlaying(const aValue: Boolean); procedure _SetaudioRequestStatus(const aValue: UnicodeString); procedure _SetvideoRequestStatus(const aValue: UnicodeString); procedure _SetdecodedAudioEndTime(const aValue: Int64); procedure _SetdecodedVideoEndTime(const aValue: Int64); procedure _SetaudioCompleted(const aValue: Boolean); procedure _SetvideoCompleted(const aValue: Boolean); procedure _SetstateObj(const aValue: IJSMediaDecoderStateMachineDecodingStateDebugInfo); procedure _SetmediaSink(const aValue: IJSMediaSinkDebugInfo); procedure _SettotalBufferingTimeMs(const aValue: Double); property duration: Int64 read _Getduration write _Setduration; property mediaTime: Int64 read _GetmediaTime write _SetmediaTime; property clock: Int64 read _Getclock write _Setclock; property state: UnicodeString read _Getstate write _Setstate; property playState: LongInt read _GetplayState write _SetplayState; property sentFirstFrameLoadedEvent: Boolean read _GetsentFirstFrameLoadedEvent write _SetsentFirstFrameLoadedEvent; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property audioRequestStatus: UnicodeString read _GetaudioRequestStatus write _SetaudioRequestStatus; property videoRequestStatus: UnicodeString read _GetvideoRequestStatus write _SetvideoRequestStatus; property decodedAudioEndTime: Int64 read _GetdecodedAudioEndTime write _SetdecodedAudioEndTime; property decodedVideoEndTime: Int64 read _GetdecodedVideoEndTime write _SetdecodedVideoEndTime; property audioCompleted: Boolean read _GetaudioCompleted write _SetaudioCompleted; property videoCompleted: Boolean read _GetvideoCompleted write _SetvideoCompleted; property stateObj: IJSMediaDecoderStateMachineDecodingStateDebugInfo read _GetstateObj write _SetstateObj; property mediaSink: IJSMediaSinkDebugInfo read _GetmediaSink write _SetmediaSink; property totalBufferingTimeMs: Double read _GettotalBufferingTimeMs write _SettotalBufferingTimeMs; end; TJSMediaDecoderStateMachineDebugInfo = class(TJSObject,IJSMediaDecoderStateMachineDebugInfo) Private Protected function _Getduration: Int64; function _GetmediaTime: Int64; function _Getclock: Int64; function _Getstate: UnicodeString; function _GetplayState: LongInt; function _GetsentFirstFrameLoadedEvent: Boolean; function _GetisPlaying: Boolean; function _GetaudioRequestStatus: UnicodeString; function _GetvideoRequestStatus: UnicodeString; function _GetdecodedAudioEndTime: Int64; function _GetdecodedVideoEndTime: Int64; function _GetaudioCompleted: Boolean; function _GetvideoCompleted: Boolean; function _GetstateObj: IJSMediaDecoderStateMachineDecodingStateDebugInfo; function _GetmediaSink: IJSMediaSinkDebugInfo; function _GettotalBufferingTimeMs: Double; procedure _Setduration(const aValue: Int64); procedure _SetmediaTime(const aValue: Int64); procedure _Setclock(const aValue: Int64); procedure _Setstate(const aValue: UnicodeString); procedure _SetplayState(const aValue: LongInt); procedure _SetsentFirstFrameLoadedEvent(const aValue: Boolean); procedure _SetisPlaying(const aValue: Boolean); procedure _SetaudioRequestStatus(const aValue: UnicodeString); procedure _SetvideoRequestStatus(const aValue: UnicodeString); procedure _SetdecodedAudioEndTime(const aValue: Int64); procedure _SetdecodedVideoEndTime(const aValue: Int64); procedure _SetaudioCompleted(const aValue: Boolean); procedure _SetvideoCompleted(const aValue: Boolean); procedure _SetstateObj(const aValue: IJSMediaDecoderStateMachineDecodingStateDebugInfo); procedure _SetmediaSink(const aValue: IJSMediaSinkDebugInfo); procedure _SettotalBufferingTimeMs(const aValue: Double); Public constructor create(const aDict : TJSMediaDecoderStateMachineDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDecoderStateMachineDebugInfo; property duration: Int64 read _Getduration write _Setduration; property mediaTime: Int64 read _GetmediaTime write _SetmediaTime; property clock: Int64 read _Getclock write _Setclock; property state: UnicodeString read _Getstate write _Setstate; property playState: LongInt read _GetplayState write _SetplayState; property sentFirstFrameLoadedEvent: Boolean read _GetsentFirstFrameLoadedEvent write _SetsentFirstFrameLoadedEvent; property isPlaying: Boolean read _GetisPlaying write _SetisPlaying; property audioRequestStatus: UnicodeString read _GetaudioRequestStatus write _SetaudioRequestStatus; property videoRequestStatus: UnicodeString read _GetvideoRequestStatus write _SetvideoRequestStatus; property decodedAudioEndTime: Int64 read _GetdecodedAudioEndTime write _SetdecodedAudioEndTime; property decodedVideoEndTime: Int64 read _GetdecodedVideoEndTime write _SetdecodedVideoEndTime; property audioCompleted: Boolean read _GetaudioCompleted write _SetaudioCompleted; property videoCompleted: Boolean read _GetvideoCompleted write _SetvideoCompleted; property stateObj: IJSMediaDecoderStateMachineDecodingStateDebugInfo read _GetstateObj write _SetstateObj; property mediaSink: IJSMediaSinkDebugInfo read _GetmediaSink write _SetmediaSink; property totalBufferingTimeMs: Double read _GettotalBufferingTimeMs write _SettotalBufferingTimeMs; end; { -------------------------------------------------------------------- TJSMediaStateDebugInfo --------------------------------------------------------------------} TJSMediaStateDebugInfoRec = record needInput: Boolean; hasPromise: Boolean; waitingPromise: Boolean; hasDemuxRequest: Boolean; demuxQueueSize: LongInt; hasDecoder: Boolean; timeTreshold: Double; timeTresholdHasSeeked: Boolean; numSamplesInput: Int64; numSamplesOutput: Int64; queueSize: LongInt; pending: LongInt; waitingForData: Boolean; demuxEOS: LongInt; drainState: LongInt; waitingForKey: Boolean; lastStreamSourceID: Int64; end; IJSMediaStateDebugInfo = interface(IJSObject) ['{8551758C-C7FA-3436-BF44-92EC46282C0E}'] function _GetneedInput: Boolean; function _GethasPromise: Boolean; function _GetwaitingPromise: Boolean; function _GethasDemuxRequest: Boolean; function _GetdemuxQueueSize: LongInt; function _GethasDecoder: Boolean; function _GettimeTreshold: Double; function _GettimeTresholdHasSeeked: Boolean; function _GetnumSamplesInput: Int64; function _GetnumSamplesOutput: Int64; function _GetqueueSize: LongInt; function _Getpending: LongInt; function _GetwaitingForData: Boolean; function _GetdemuxEOS: LongInt; function _GetdrainState: LongInt; function _GetwaitingForKey: Boolean; function _GetlastStreamSourceID: Int64; procedure _SetneedInput(const aValue: Boolean); procedure _SethasPromise(const aValue: Boolean); procedure _SetwaitingPromise(const aValue: Boolean); procedure _SethasDemuxRequest(const aValue: Boolean); procedure _SetdemuxQueueSize(const aValue: LongInt); procedure _SethasDecoder(const aValue: Boolean); procedure _SettimeTreshold(const aValue: Double); procedure _SettimeTresholdHasSeeked(const aValue: Boolean); procedure _SetnumSamplesInput(const aValue: Int64); procedure _SetnumSamplesOutput(const aValue: Int64); procedure _SetqueueSize(const aValue: LongInt); procedure _Setpending(const aValue: LongInt); procedure _SetwaitingForData(const aValue: Boolean); procedure _SetdemuxEOS(const aValue: LongInt); procedure _SetdrainState(const aValue: LongInt); procedure _SetwaitingForKey(const aValue: Boolean); procedure _SetlastStreamSourceID(const aValue: Int64); property needInput: Boolean read _GetneedInput write _SetneedInput; property hasPromise: Boolean read _GethasPromise write _SethasPromise; property waitingPromise: Boolean read _GetwaitingPromise write _SetwaitingPromise; property hasDemuxRequest: Boolean read _GethasDemuxRequest write _SethasDemuxRequest; property demuxQueueSize: LongInt read _GetdemuxQueueSize write _SetdemuxQueueSize; property hasDecoder: Boolean read _GethasDecoder write _SethasDecoder; property timeTreshold: Double read _GettimeTreshold write _SettimeTreshold; property timeTresholdHasSeeked: Boolean read _GettimeTresholdHasSeeked write _SettimeTresholdHasSeeked; property numSamplesInput: Int64 read _GetnumSamplesInput write _SetnumSamplesInput; property numSamplesOutput: Int64 read _GetnumSamplesOutput write _SetnumSamplesOutput; property queueSize: LongInt read _GetqueueSize write _SetqueueSize; property pending: LongInt read _Getpending write _Setpending; property waitingForData: Boolean read _GetwaitingForData write _SetwaitingForData; property demuxEOS: LongInt read _GetdemuxEOS write _SetdemuxEOS; property drainState: LongInt read _GetdrainState write _SetdrainState; property waitingForKey: Boolean read _GetwaitingForKey write _SetwaitingForKey; property lastStreamSourceID: Int64 read _GetlastStreamSourceID write _SetlastStreamSourceID; end; TJSMediaStateDebugInfo = class(TJSObject,IJSMediaStateDebugInfo) Private Protected function _GetneedInput: Boolean; function _GethasPromise: Boolean; function _GetwaitingPromise: Boolean; function _GethasDemuxRequest: Boolean; function _GetdemuxQueueSize: LongInt; function _GethasDecoder: Boolean; function _GettimeTreshold: Double; function _GettimeTresholdHasSeeked: Boolean; function _GetnumSamplesInput: Int64; function _GetnumSamplesOutput: Int64; function _GetqueueSize: LongInt; function _Getpending: LongInt; function _GetwaitingForData: Boolean; function _GetdemuxEOS: LongInt; function _GetdrainState: LongInt; function _GetwaitingForKey: Boolean; function _GetlastStreamSourceID: Int64; procedure _SetneedInput(const aValue: Boolean); procedure _SethasPromise(const aValue: Boolean); procedure _SetwaitingPromise(const aValue: Boolean); procedure _SethasDemuxRequest(const aValue: Boolean); procedure _SetdemuxQueueSize(const aValue: LongInt); procedure _SethasDecoder(const aValue: Boolean); procedure _SettimeTreshold(const aValue: Double); procedure _SettimeTresholdHasSeeked(const aValue: Boolean); procedure _SetnumSamplesInput(const aValue: Int64); procedure _SetnumSamplesOutput(const aValue: Int64); procedure _SetqueueSize(const aValue: LongInt); procedure _Setpending(const aValue: LongInt); procedure _SetwaitingForData(const aValue: Boolean); procedure _SetdemuxEOS(const aValue: LongInt); procedure _SetdrainState(const aValue: LongInt); procedure _SetwaitingForKey(const aValue: Boolean); procedure _SetlastStreamSourceID(const aValue: Int64); Public constructor create(const aDict : TJSMediaStateDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStateDebugInfo; property needInput: Boolean read _GetneedInput write _SetneedInput; property hasPromise: Boolean read _GethasPromise write _SethasPromise; property waitingPromise: Boolean read _GetwaitingPromise write _SetwaitingPromise; property hasDemuxRequest: Boolean read _GethasDemuxRequest write _SethasDemuxRequest; property demuxQueueSize: LongInt read _GetdemuxQueueSize write _SetdemuxQueueSize; property hasDecoder: Boolean read _GethasDecoder write _SethasDecoder; property timeTreshold: Double read _GettimeTreshold write _SettimeTreshold; property timeTresholdHasSeeked: Boolean read _GettimeTresholdHasSeeked write _SettimeTresholdHasSeeked; property numSamplesInput: Int64 read _GetnumSamplesInput write _SetnumSamplesInput; property numSamplesOutput: Int64 read _GetnumSamplesOutput write _SetnumSamplesOutput; property queueSize: LongInt read _GetqueueSize write _SetqueueSize; property pending: LongInt read _Getpending write _Setpending; property waitingForData: Boolean read _GetwaitingForData write _SetwaitingForData; property demuxEOS: LongInt read _GetdemuxEOS write _SetdemuxEOS; property drainState: LongInt read _GetdrainState write _SetdrainState; property waitingForKey: Boolean read _GetwaitingForKey write _SetwaitingForKey; property lastStreamSourceID: Int64 read _GetlastStreamSourceID write _SetlastStreamSourceID; end; { -------------------------------------------------------------------- TJSMediaFrameStats --------------------------------------------------------------------} TJSMediaFrameStatsRec = record droppedDecodedFrames: Int64; droppedSinkFrames: Int64; droppedCompositorFrames: Int64; end; IJSMediaFrameStats = interface(IJSObject) ['{2035A035-1215-3D6D-978A-33197DBC9DE4}'] function _GetdroppedDecodedFrames: Int64; function _GetdroppedSinkFrames: Int64; function _GetdroppedCompositorFrames: Int64; procedure _SetdroppedDecodedFrames(const aValue: Int64); procedure _SetdroppedSinkFrames(const aValue: Int64); procedure _SetdroppedCompositorFrames(const aValue: Int64); property droppedDecodedFrames: Int64 read _GetdroppedDecodedFrames write _SetdroppedDecodedFrames; property droppedSinkFrames: Int64 read _GetdroppedSinkFrames write _SetdroppedSinkFrames; property droppedCompositorFrames: Int64 read _GetdroppedCompositorFrames write _SetdroppedCompositorFrames; end; TJSMediaFrameStats = class(TJSObject,IJSMediaFrameStats) Private Protected function _GetdroppedDecodedFrames: Int64; function _GetdroppedSinkFrames: Int64; function _GetdroppedCompositorFrames: Int64; procedure _SetdroppedDecodedFrames(const aValue: Int64); procedure _SetdroppedSinkFrames(const aValue: Int64); procedure _SetdroppedCompositorFrames(const aValue: Int64); Public constructor create(const aDict : TJSMediaFrameStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaFrameStats; property droppedDecodedFrames: Int64 read _GetdroppedDecodedFrames write _SetdroppedDecodedFrames; property droppedSinkFrames: Int64 read _GetdroppedSinkFrames write _SetdroppedSinkFrames; property droppedCompositorFrames: Int64 read _GetdroppedCompositorFrames write _SetdroppedCompositorFrames; end; { -------------------------------------------------------------------- TJSMediaFormatReaderDebugInfo --------------------------------------------------------------------} TJSMediaFormatReaderDebugInfoRec = record videoType: UnicodeString; videoDecoderName: UnicodeString; videoWidth: LongInt; videoHeight: LongInt; videoRate: Double; audioType: UnicodeString; audioDecoderName: UnicodeString; videoHardwareAccelerated: Boolean; videoNumSamplesOutputTotal: Int64; videoNumSamplesSkippedTotal: Int64; audioChannels: LongInt; audioRate: Double; audioFramesDecoded: Int64; audioState: TJSMediaStateDebugInfo; videoState: TJSMediaStateDebugInfo; frameStats: TJSMediaFrameStats; totalReadMetadataTimeMs: Double; totalWaitingForVideoDataTimeMs: Double; end; IJSMediaFormatReaderDebugInfo = interface(IJSObject) ['{FE41ECB0-BF43-317C-BA99-E3107FA77AD9}'] function _GetvideoType: UnicodeString; function _GetvideoDecoderName: UnicodeString; function _GetvideoWidth: LongInt; function _GetvideoHeight: LongInt; function _GetvideoRate: Double; function _GetaudioType: UnicodeString; function _GetaudioDecoderName: UnicodeString; function _GetvideoHardwareAccelerated: Boolean; function _GetvideoNumSamplesOutputTotal: Int64; function _GetvideoNumSamplesSkippedTotal: Int64; function _GetaudioChannels: LongInt; function _GetaudioRate: Double; function _GetaudioFramesDecoded: Int64; function _GetaudioState: IJSMediaStateDebugInfo; function _GetvideoState: IJSMediaStateDebugInfo; function _GetframeStats: IJSMediaFrameStats; function _GettotalReadMetadataTimeMs: Double; function _GettotalWaitingForVideoDataTimeMs: Double; procedure _SetvideoType(const aValue: UnicodeString); procedure _SetvideoDecoderName(const aValue: UnicodeString); procedure _SetvideoWidth(const aValue: LongInt); procedure _SetvideoHeight(const aValue: LongInt); procedure _SetvideoRate(const aValue: Double); procedure _SetaudioType(const aValue: UnicodeString); procedure _SetaudioDecoderName(const aValue: UnicodeString); procedure _SetvideoHardwareAccelerated(const aValue: Boolean); procedure _SetvideoNumSamplesOutputTotal(const aValue: Int64); procedure _SetvideoNumSamplesSkippedTotal(const aValue: Int64); procedure _SetaudioChannels(const aValue: LongInt); procedure _SetaudioRate(const aValue: Double); procedure _SetaudioFramesDecoded(const aValue: Int64); procedure _SetaudioState(const aValue: IJSMediaStateDebugInfo); procedure _SetvideoState(const aValue: IJSMediaStateDebugInfo); procedure _SetframeStats(const aValue: IJSMediaFrameStats); procedure _SettotalReadMetadataTimeMs(const aValue: Double); procedure _SettotalWaitingForVideoDataTimeMs(const aValue: Double); property videoType: UnicodeString read _GetvideoType write _SetvideoType; property videoDecoderName: UnicodeString read _GetvideoDecoderName write _SetvideoDecoderName; property videoWidth: LongInt read _GetvideoWidth write _SetvideoWidth; property videoHeight: LongInt read _GetvideoHeight write _SetvideoHeight; property videoRate: Double read _GetvideoRate write _SetvideoRate; property audioType: UnicodeString read _GetaudioType write _SetaudioType; property audioDecoderName: UnicodeString read _GetaudioDecoderName write _SetaudioDecoderName; property videoHardwareAccelerated: Boolean read _GetvideoHardwareAccelerated write _SetvideoHardwareAccelerated; property videoNumSamplesOutputTotal: Int64 read _GetvideoNumSamplesOutputTotal write _SetvideoNumSamplesOutputTotal; property videoNumSamplesSkippedTotal: Int64 read _GetvideoNumSamplesSkippedTotal write _SetvideoNumSamplesSkippedTotal; property audioChannels: LongInt read _GetaudioChannels write _SetaudioChannels; property audioRate: Double read _GetaudioRate write _SetaudioRate; property audioFramesDecoded: Int64 read _GetaudioFramesDecoded write _SetaudioFramesDecoded; property audioState: IJSMediaStateDebugInfo read _GetaudioState write _SetaudioState; property videoState: IJSMediaStateDebugInfo read _GetvideoState write _SetvideoState; property frameStats: IJSMediaFrameStats read _GetframeStats write _SetframeStats; property totalReadMetadataTimeMs: Double read _GettotalReadMetadataTimeMs write _SettotalReadMetadataTimeMs; property totalWaitingForVideoDataTimeMs: Double read _GettotalWaitingForVideoDataTimeMs write _SettotalWaitingForVideoDataTimeMs; end; TJSMediaFormatReaderDebugInfo = class(TJSObject,IJSMediaFormatReaderDebugInfo) Private Protected function _GetvideoType: UnicodeString; function _GetvideoDecoderName: UnicodeString; function _GetvideoWidth: LongInt; function _GetvideoHeight: LongInt; function _GetvideoRate: Double; function _GetaudioType: UnicodeString; function _GetaudioDecoderName: UnicodeString; function _GetvideoHardwareAccelerated: Boolean; function _GetvideoNumSamplesOutputTotal: Int64; function _GetvideoNumSamplesSkippedTotal: Int64; function _GetaudioChannels: LongInt; function _GetaudioRate: Double; function _GetaudioFramesDecoded: Int64; function _GetaudioState: IJSMediaStateDebugInfo; function _GetvideoState: IJSMediaStateDebugInfo; function _GetframeStats: IJSMediaFrameStats; function _GettotalReadMetadataTimeMs: Double; function _GettotalWaitingForVideoDataTimeMs: Double; procedure _SetvideoType(const aValue: UnicodeString); procedure _SetvideoDecoderName(const aValue: UnicodeString); procedure _SetvideoWidth(const aValue: LongInt); procedure _SetvideoHeight(const aValue: LongInt); procedure _SetvideoRate(const aValue: Double); procedure _SetaudioType(const aValue: UnicodeString); procedure _SetaudioDecoderName(const aValue: UnicodeString); procedure _SetvideoHardwareAccelerated(const aValue: Boolean); procedure _SetvideoNumSamplesOutputTotal(const aValue: Int64); procedure _SetvideoNumSamplesSkippedTotal(const aValue: Int64); procedure _SetaudioChannels(const aValue: LongInt); procedure _SetaudioRate(const aValue: Double); procedure _SetaudioFramesDecoded(const aValue: Int64); procedure _SetaudioState(const aValue: IJSMediaStateDebugInfo); procedure _SetvideoState(const aValue: IJSMediaStateDebugInfo); procedure _SetframeStats(const aValue: IJSMediaFrameStats); procedure _SettotalReadMetadataTimeMs(const aValue: Double); procedure _SettotalWaitingForVideoDataTimeMs(const aValue: Double); Public constructor create(const aDict : TJSMediaFormatReaderDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaFormatReaderDebugInfo; property videoType: UnicodeString read _GetvideoType write _SetvideoType; property videoDecoderName: UnicodeString read _GetvideoDecoderName write _SetvideoDecoderName; property videoWidth: LongInt read _GetvideoWidth write _SetvideoWidth; property videoHeight: LongInt read _GetvideoHeight write _SetvideoHeight; property videoRate: Double read _GetvideoRate write _SetvideoRate; property audioType: UnicodeString read _GetaudioType write _SetaudioType; property audioDecoderName: UnicodeString read _GetaudioDecoderName write _SetaudioDecoderName; property videoHardwareAccelerated: Boolean read _GetvideoHardwareAccelerated write _SetvideoHardwareAccelerated; property videoNumSamplesOutputTotal: Int64 read _GetvideoNumSamplesOutputTotal write _SetvideoNumSamplesOutputTotal; property videoNumSamplesSkippedTotal: Int64 read _GetvideoNumSamplesSkippedTotal write _SetvideoNumSamplesSkippedTotal; property audioChannels: LongInt read _GetaudioChannels write _SetaudioChannels; property audioRate: Double read _GetaudioRate write _SetaudioRate; property audioFramesDecoded: Int64 read _GetaudioFramesDecoded write _SetaudioFramesDecoded; property audioState: IJSMediaStateDebugInfo read _GetaudioState write _SetaudioState; property videoState: IJSMediaStateDebugInfo read _GetvideoState write _SetvideoState; property frameStats: IJSMediaFrameStats read _GetframeStats write _SetframeStats; property totalReadMetadataTimeMs: Double read _GettotalReadMetadataTimeMs write _SettotalReadMetadataTimeMs; property totalWaitingForVideoDataTimeMs: Double read _GettotalWaitingForVideoDataTimeMs write _SettotalWaitingForVideoDataTimeMs; end; { -------------------------------------------------------------------- TJSBufferRange --------------------------------------------------------------------} TJSBufferRangeRec = record start: Double; end_: Double; end; IJSBufferRange = interface(IJSObject) ['{EEDFB066-8EB1-3C48-BDC6-798D04082131}'] function _Getstart: Double; function _Getend_: Double; procedure _Setstart(const aValue: Double); procedure _Setend_(const aValue: Double); property start: Double read _Getstart write _Setstart; property end_: Double read _Getend_ write _Setend_; end; TJSBufferRange = class(TJSObject,IJSBufferRange) Private Protected function _Getstart: Double; function _Getend_: Double; procedure _Setstart(const aValue: Double); procedure _Setend_(const aValue: Double); Public constructor create(const aDict : TJSBufferRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBufferRange; property start: Double read _Getstart write _Setstart; property end_: Double read _Getend_ write _Setend_; end; { -------------------------------------------------------------------- TJSTrackBuffersManagerDebugInfo --------------------------------------------------------------------} TJSBufferRangeDynArray = IJSArray; // array of BufferRange TJSTrackBuffersManagerDebugInfoRec = record type_: UnicodeString; nextSampleTime: Double; numSamples: LongInt; bufferSize: LongInt; evictable: LongInt; nextGetSampleIndex: LongInt; nextInsertionIndex: LongInt; ranges: TJSBufferRangeDynArray; end; IJSTrackBuffersManagerDebugInfo = interface(IJSObject) ['{9343DC4E-F668-361C-A67A-0215D23B14B6}'] function _Gettype_: UnicodeString; function _GetnextSampleTime: Double; function _GetnumSamples: LongInt; function _GetbufferSize: LongInt; function _Getevictable: LongInt; function _GetnextGetSampleIndex: LongInt; function _GetnextInsertionIndex: LongInt; function _Getranges: TJSBufferRangeDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _SetnextSampleTime(const aValue: Double); procedure _SetnumSamples(const aValue: LongInt); procedure _SetbufferSize(const aValue: LongInt); procedure _Setevictable(const aValue: LongInt); procedure _SetnextGetSampleIndex(const aValue: LongInt); procedure _SetnextInsertionIndex(const aValue: LongInt); procedure _Setranges(const aValue: TJSBufferRangeDynArray); property type_: UnicodeString read _Gettype_ write _Settype_; property nextSampleTime: Double read _GetnextSampleTime write _SetnextSampleTime; property numSamples: LongInt read _GetnumSamples write _SetnumSamples; property bufferSize: LongInt read _GetbufferSize write _SetbufferSize; property evictable: LongInt read _Getevictable write _Setevictable; property nextGetSampleIndex: LongInt read _GetnextGetSampleIndex write _SetnextGetSampleIndex; property nextInsertionIndex: LongInt read _GetnextInsertionIndex write _SetnextInsertionIndex; property ranges: TJSBufferRangeDynArray read _Getranges write _Setranges; end; TJSTrackBuffersManagerDebugInfo = class(TJSObject,IJSTrackBuffersManagerDebugInfo) Private Protected function _Gettype_: UnicodeString; function _GetnextSampleTime: Double; function _GetnumSamples: LongInt; function _GetbufferSize: LongInt; function _Getevictable: LongInt; function _GetnextGetSampleIndex: LongInt; function _GetnextInsertionIndex: LongInt; function _Getranges: TJSBufferRangeDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _SetnextSampleTime(const aValue: Double); procedure _SetnumSamples(const aValue: LongInt); procedure _SetbufferSize(const aValue: LongInt); procedure _Setevictable(const aValue: LongInt); procedure _SetnextGetSampleIndex(const aValue: LongInt); procedure _SetnextInsertionIndex(const aValue: LongInt); procedure _Setranges(const aValue: TJSBufferRangeDynArray); Public constructor create(const aDict : TJSTrackBuffersManagerDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrackBuffersManagerDebugInfo; property type_: UnicodeString read _Gettype_ write _Settype_; property nextSampleTime: Double read _GetnextSampleTime write _SetnextSampleTime; property numSamples: LongInt read _GetnumSamples write _SetnumSamples; property bufferSize: LongInt read _GetbufferSize write _SetbufferSize; property evictable: LongInt read _Getevictable write _Setevictable; property nextGetSampleIndex: LongInt read _GetnextGetSampleIndex write _SetnextGetSampleIndex; property nextInsertionIndex: LongInt read _GetnextInsertionIndex write _SetnextInsertionIndex; property ranges: TJSBufferRangeDynArray read _Getranges write _Setranges; end; { -------------------------------------------------------------------- TJSMediaSourceDemuxerDebugInfo --------------------------------------------------------------------} TJSMediaSourceDemuxerDebugInfoRec = record audioTrack: TJSTrackBuffersManagerDebugInfo; videoTrack: TJSTrackBuffersManagerDebugInfo; end; IJSMediaSourceDemuxerDebugInfo = interface(IJSObject) ['{0773A31B-74F0-3728-A008-DB8D1206797F}'] function _GetaudioTrack: IJSTrackBuffersManagerDebugInfo; function _GetvideoTrack: IJSTrackBuffersManagerDebugInfo; procedure _SetaudioTrack(const aValue: IJSTrackBuffersManagerDebugInfo); procedure _SetvideoTrack(const aValue: IJSTrackBuffersManagerDebugInfo); property audioTrack: IJSTrackBuffersManagerDebugInfo read _GetaudioTrack write _SetaudioTrack; property videoTrack: IJSTrackBuffersManagerDebugInfo read _GetvideoTrack write _SetvideoTrack; end; TJSMediaSourceDemuxerDebugInfo = class(TJSObject,IJSMediaSourceDemuxerDebugInfo) Private Protected function _GetaudioTrack: IJSTrackBuffersManagerDebugInfo; function _GetvideoTrack: IJSTrackBuffersManagerDebugInfo; procedure _SetaudioTrack(const aValue: IJSTrackBuffersManagerDebugInfo); procedure _SetvideoTrack(const aValue: IJSTrackBuffersManagerDebugInfo); Public constructor create(const aDict : TJSMediaSourceDemuxerDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSourceDemuxerDebugInfo; property audioTrack: IJSTrackBuffersManagerDebugInfo read _GetaudioTrack write _SetaudioTrack; property videoTrack: IJSTrackBuffersManagerDebugInfo read _GetvideoTrack write _SetvideoTrack; end; { -------------------------------------------------------------------- TJSMediaSourceDecoderDebugInfo --------------------------------------------------------------------} TJSMediaSourceDecoderDebugInfoRec = record reader: TJSMediaFormatReaderDebugInfo; demuxer: TJSMediaSourceDemuxerDebugInfo; end; IJSMediaSourceDecoderDebugInfo = interface(IJSObject) ['{0773A69D-CD88-3197-BD25-5143DE5E6CCF}'] function _Getreader: IJSMediaFormatReaderDebugInfo; function _Getdemuxer: IJSMediaSourceDemuxerDebugInfo; procedure _Setreader(const aValue: IJSMediaFormatReaderDebugInfo); procedure _Setdemuxer(const aValue: IJSMediaSourceDemuxerDebugInfo); property reader: IJSMediaFormatReaderDebugInfo read _Getreader write _Setreader; property demuxer: IJSMediaSourceDemuxerDebugInfo read _Getdemuxer write _Setdemuxer; end; TJSMediaSourceDecoderDebugInfo = class(TJSObject,IJSMediaSourceDecoderDebugInfo) Private Protected function _Getreader: IJSMediaFormatReaderDebugInfo; function _Getdemuxer: IJSMediaSourceDemuxerDebugInfo; procedure _Setreader(const aValue: IJSMediaFormatReaderDebugInfo); procedure _Setdemuxer(const aValue: IJSMediaSourceDemuxerDebugInfo); Public constructor create(const aDict : TJSMediaSourceDecoderDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSourceDecoderDebugInfo; property reader: IJSMediaFormatReaderDebugInfo read _Getreader write _Setreader; property demuxer: IJSMediaSourceDemuxerDebugInfo read _Getdemuxer write _Setdemuxer; end; { -------------------------------------------------------------------- TJSEMEDebugInfo --------------------------------------------------------------------} TJSEMEDebugInfoRec = record keySystem: UnicodeString; sessionsInfo: UnicodeString; end; IJSEMEDebugInfo = interface(IJSObject) ['{7027B7D7-6890-3871-9172-28447587190E}'] function _GetkeySystem: UnicodeString; function _GetsessionsInfo: UnicodeString; procedure _SetkeySystem(const aValue: UnicodeString); procedure _SetsessionsInfo(const aValue: UnicodeString); property keySystem: UnicodeString read _GetkeySystem write _SetkeySystem; property sessionsInfo: UnicodeString read _GetsessionsInfo write _SetsessionsInfo; end; TJSEMEDebugInfo = class(TJSObject,IJSEMEDebugInfo) Private Protected function _GetkeySystem: UnicodeString; function _GetsessionsInfo: UnicodeString; procedure _SetkeySystem(const aValue: UnicodeString); procedure _SetsessionsInfo(const aValue: UnicodeString); Public constructor create(const aDict : TJSEMEDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEMEDebugInfo; property keySystem: UnicodeString read _GetkeySystem write _SetkeySystem; property sessionsInfo: UnicodeString read _GetsessionsInfo write _SetsessionsInfo; end; { -------------------------------------------------------------------- TJSHTMLMediaElementDebugInfo --------------------------------------------------------------------} TJSHTMLMediaElementDebugInfoRec = record compositorDroppedFrames: Cardinal; EMEInfo: TJSEMEDebugInfo; decoder: TJSMediaDecoderDebugInfo; end; IJSHTMLMediaElementDebugInfo = interface(IJSObject) ['{20C78013-3CFA-3BAA-BFF6-4FDCB9DE4DFE}'] function _GetcompositorDroppedFrames: Cardinal; function _GetEMEInfo: IJSEMEDebugInfo; function _Getdecoder: IJSMediaDecoderDebugInfo; procedure _SetcompositorDroppedFrames(const aValue: Cardinal); procedure _SetEMEInfo(const aValue: IJSEMEDebugInfo); procedure _Setdecoder(const aValue: IJSMediaDecoderDebugInfo); property compositorDroppedFrames: Cardinal read _GetcompositorDroppedFrames write _SetcompositorDroppedFrames; property EMEInfo: IJSEMEDebugInfo read _GetEMEInfo write _SetEMEInfo; property decoder: IJSMediaDecoderDebugInfo read _Getdecoder write _Setdecoder; end; TJSHTMLMediaElementDebugInfo = class(TJSObject,IJSHTMLMediaElementDebugInfo) Private Protected function _GetcompositorDroppedFrames: Cardinal; function _GetEMEInfo: IJSEMEDebugInfo; function _Getdecoder: IJSMediaDecoderDebugInfo; procedure _SetcompositorDroppedFrames(const aValue: Cardinal); procedure _SetEMEInfo(const aValue: IJSEMEDebugInfo); procedure _Setdecoder(const aValue: IJSMediaDecoderDebugInfo); Public constructor create(const aDict : TJSHTMLMediaElementDebugInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMediaElementDebugInfo; property compositorDroppedFrames: Cardinal read _GetcompositorDroppedFrames write _SetcompositorDroppedFrames; property EMEInfo: IJSEMEDebugInfo read _GetEMEInfo write _SetEMEInfo; property decoder: IJSMediaDecoderDebugInfo read _Getdecoder write _Setdecoder; end; { -------------------------------------------------------------------- TJSAudioOutputOptions --------------------------------------------------------------------} TJSAudioOutputOptionsRec = record deviceId: UnicodeString; end; IJSAudioOutputOptions = interface(IJSObject) ['{3DC3EEA0-C12B-3802-8391-64CAD5EC8A70}'] function _GetdeviceId: UnicodeString; procedure _SetdeviceId(const aValue: UnicodeString); property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; end; TJSAudioOutputOptions = class(TJSObject,IJSAudioOutputOptions) Private Protected function _GetdeviceId: UnicodeString; procedure _SetdeviceId(const aValue: UnicodeString); Public constructor create(const aDict : TJSAudioOutputOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioOutputOptions; property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; end; { -------------------------------------------------------------------- TJSMediaElementAudioSourceOptions --------------------------------------------------------------------} TJSMediaElementAudioSourceOptionsRec = record mediaElement: TJSHTMLMediaElement; end; IJSMediaElementAudioSourceOptions = interface(IJSObject) ['{117F5CD6-0241-34AD-A48B-910A42B4BDBB}'] function _GetmediaElement: IJSHTMLMediaElement; procedure _SetmediaElement(const aValue: IJSHTMLMediaElement); property mediaElement: IJSHTMLMediaElement read _GetmediaElement write _SetmediaElement; end; TJSMediaElementAudioSourceOptions = class(TJSObject,IJSMediaElementAudioSourceOptions) Private Protected function _GetmediaElement: IJSHTMLMediaElement; procedure _SetmediaElement(const aValue: IJSHTMLMediaElement); Public constructor create(const aDict : TJSMediaElementAudioSourceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaElementAudioSourceOptions; property mediaElement: IJSHTMLMediaElement read _GetmediaElement write _SetmediaElement; end; { -------------------------------------------------------------------- TJSMediaKeysPolicy --------------------------------------------------------------------} TJSMediaKeysPolicyRec = record minHdcpVersion: THDCPVersion; end; IJSMediaKeysPolicy = interface(IJSObject) ['{3544AAD6-E6D5-3EF9-9D3C-9588211568F6}'] function _GetminHdcpVersion: THDCPVersion; procedure _SetminHdcpVersion(const aValue: THDCPVersion); property minHdcpVersion: THDCPVersion read _GetminHdcpVersion write _SetminHdcpVersion; end; TJSMediaKeysPolicy = class(TJSObject,IJSMediaKeysPolicy) Private Protected function _GetminHdcpVersion: THDCPVersion; procedure _SetminHdcpVersion(const aValue: THDCPVersion); Public constructor create(const aDict : TJSMediaKeysPolicyRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeysPolicy; property minHdcpVersion: THDCPVersion read _GetminHdcpVersion write _SetminHdcpVersion; end; { -------------------------------------------------------------------- TJSRequestMediaKeySystemAccessNotification --------------------------------------------------------------------} TJSRequestMediaKeySystemAccessNotificationRec = record keySystem: UnicodeString; status: TMediaKeySystemStatus; end; IJSRequestMediaKeySystemAccessNotification = interface(IJSObject) ['{03AEAF0C-231D-3269-AC5C-ED3B54452259}'] function _GetkeySystem: UnicodeString; function _Getstatus: TMediaKeySystemStatus; procedure _SetkeySystem(const aValue: UnicodeString); procedure _Setstatus(const aValue: TMediaKeySystemStatus); property keySystem: UnicodeString read _GetkeySystem write _SetkeySystem; property status: TMediaKeySystemStatus read _Getstatus write _Setstatus; end; TJSRequestMediaKeySystemAccessNotification = class(TJSObject,IJSRequestMediaKeySystemAccessNotification) Private Protected function _GetkeySystem: UnicodeString; function _Getstatus: TMediaKeySystemStatus; procedure _SetkeySystem(const aValue: UnicodeString); procedure _Setstatus(const aValue: TMediaKeySystemStatus); Public constructor create(const aDict : TJSRequestMediaKeySystemAccessNotificationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRequestMediaKeySystemAccessNotification; property keySystem: UnicodeString read _GetkeySystem write _SetkeySystem; property status: TMediaKeySystemStatus read _Getstatus write _Setstatus; end; { -------------------------------------------------------------------- TJSMediaKeySystemMediaCapability --------------------------------------------------------------------} TJSMediaKeySystemMediaCapabilityRec = record contentType: UnicodeString; robustness: UnicodeString; encryptionScheme: UnicodeString; end; IJSMediaKeySystemMediaCapability = interface(IJSObject) ['{30583260-374F-3FA9-97CA-8FE9C44D7A67}'] function _GetcontentType: UnicodeString; function _Getrobustness: UnicodeString; function _GetencryptionScheme: UnicodeString; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setrobustness(const aValue: UnicodeString); procedure _SetencryptionScheme(const aValue: UnicodeString); property contentType: UnicodeString read _GetcontentType write _SetcontentType; property robustness: UnicodeString read _Getrobustness write _Setrobustness; property encryptionScheme: UnicodeString read _GetencryptionScheme write _SetencryptionScheme; end; TJSMediaKeySystemMediaCapability = class(TJSObject,IJSMediaKeySystemMediaCapability) Private Protected function _GetcontentType: UnicodeString; function _Getrobustness: UnicodeString; function _GetencryptionScheme: UnicodeString; procedure _SetcontentType(const aValue: UnicodeString); procedure _Setrobustness(const aValue: UnicodeString); procedure _SetencryptionScheme(const aValue: UnicodeString); Public constructor create(const aDict : TJSMediaKeySystemMediaCapabilityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeySystemMediaCapability; property contentType: UnicodeString read _GetcontentType write _SetcontentType; property robustness: UnicodeString read _Getrobustness write _Setrobustness; property encryptionScheme: UnicodeString read _GetencryptionScheme write _SetencryptionScheme; end; { -------------------------------------------------------------------- TJSMediaKeySystemConfiguration --------------------------------------------------------------------} TJSMediaKeySystemMediaCapabilityDynArray = IJSArray; // array of MediaKeySystemMediaCapability TJSMediaKeySystemConfigurationRec = record label_: UnicodeString; initDataTypes: TUnicodeStringDynArray; audioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; videoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; distinctiveIdentifier: TMediaKeysRequirement; persistentState: TMediaKeysRequirement; sessionTypes: TUnicodeStringDynArray; end; IJSMediaKeySystemConfiguration = interface(IJSObject) ['{14C06B73-06D8-3B03-8CD9-B7B75F49F17D}'] function _Getlabel_: UnicodeString; function _GetinitDataTypes: TUnicodeStringDynArray; function _GetaudioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; function _GetvideoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; function _GetdistinctiveIdentifier: TMediaKeysRequirement; function _GetpersistentState: TMediaKeysRequirement; function _GetsessionTypes: TUnicodeStringDynArray; procedure _Setlabel_(const aValue: UnicodeString); procedure _SetinitDataTypes(const aValue: TUnicodeStringDynArray); procedure _SetaudioCapabilities(const aValue: TJSMediaKeySystemMediaCapabilityDynArray); procedure _SetvideoCapabilities(const aValue: TJSMediaKeySystemMediaCapabilityDynArray); procedure _SetdistinctiveIdentifier(const aValue: TMediaKeysRequirement); procedure _SetpersistentState(const aValue: TMediaKeysRequirement); procedure _SetsessionTypes(const aValue: TUnicodeStringDynArray); property label_: UnicodeString read _Getlabel_ write _Setlabel_; property initDataTypes: TUnicodeStringDynArray read _GetinitDataTypes write _SetinitDataTypes; property audioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray read _GetaudioCapabilities write _SetaudioCapabilities; property videoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray read _GetvideoCapabilities write _SetvideoCapabilities; property distinctiveIdentifier: TMediaKeysRequirement read _GetdistinctiveIdentifier write _SetdistinctiveIdentifier; property persistentState: TMediaKeysRequirement read _GetpersistentState write _SetpersistentState; property sessionTypes: TUnicodeStringDynArray read _GetsessionTypes write _SetsessionTypes; end; TJSMediaKeySystemConfiguration = class(TJSObject,IJSMediaKeySystemConfiguration) Private Protected function _Getlabel_: UnicodeString; function _GetinitDataTypes: TUnicodeStringDynArray; function _GetaudioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; function _GetvideoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; function _GetdistinctiveIdentifier: TMediaKeysRequirement; function _GetpersistentState: TMediaKeysRequirement; function _GetsessionTypes: TUnicodeStringDynArray; procedure _Setlabel_(const aValue: UnicodeString); procedure _SetinitDataTypes(const aValue: TUnicodeStringDynArray); procedure _SetaudioCapabilities(const aValue: TJSMediaKeySystemMediaCapabilityDynArray); procedure _SetvideoCapabilities(const aValue: TJSMediaKeySystemMediaCapabilityDynArray); procedure _SetdistinctiveIdentifier(const aValue: TMediaKeysRequirement); procedure _SetpersistentState(const aValue: TMediaKeysRequirement); procedure _SetsessionTypes(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSMediaKeySystemConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeySystemConfiguration; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property initDataTypes: TUnicodeStringDynArray read _GetinitDataTypes write _SetinitDataTypes; property audioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray read _GetaudioCapabilities write _SetaudioCapabilities; property videoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray read _GetvideoCapabilities write _SetvideoCapabilities; property distinctiveIdentifier: TMediaKeysRequirement read _GetdistinctiveIdentifier write _SetdistinctiveIdentifier; property persistentState: TMediaKeysRequirement read _GetpersistentState write _SetpersistentState; property sessionTypes: TUnicodeStringDynArray read _GetsessionTypes write _SetsessionTypes; end; { -------------------------------------------------------------------- TJSMediaRecorderOptions --------------------------------------------------------------------} TJSMediaRecorderOptionsRec = record mimeType: UnicodeString; audioBitsPerSecond: Cardinal; videoBitsPerSecond: Cardinal; bitsPerSecond: Cardinal; end; IJSMediaRecorderOptions = interface(IJSObject) ['{093155C8-755E-31DD-875E-DBD8852206D2}'] function _GetmimeType: UnicodeString; function _GetaudioBitsPerSecond: Cardinal; function _GetvideoBitsPerSecond: Cardinal; function _GetbitsPerSecond: Cardinal; procedure _SetmimeType(const aValue: UnicodeString); procedure _SetaudioBitsPerSecond(const aValue: Cardinal); procedure _SetvideoBitsPerSecond(const aValue: Cardinal); procedure _SetbitsPerSecond(const aValue: Cardinal); property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property audioBitsPerSecond: Cardinal read _GetaudioBitsPerSecond write _SetaudioBitsPerSecond; property videoBitsPerSecond: Cardinal read _GetvideoBitsPerSecond write _SetvideoBitsPerSecond; property bitsPerSecond: Cardinal read _GetbitsPerSecond write _SetbitsPerSecond; end; TJSMediaRecorderOptions = class(TJSObject,IJSMediaRecorderOptions) Private Protected function _GetmimeType: UnicodeString; function _GetaudioBitsPerSecond: Cardinal; function _GetvideoBitsPerSecond: Cardinal; function _GetbitsPerSecond: Cardinal; procedure _SetmimeType(const aValue: UnicodeString); procedure _SetaudioBitsPerSecond(const aValue: Cardinal); procedure _SetvideoBitsPerSecond(const aValue: Cardinal); procedure _SetbitsPerSecond(const aValue: Cardinal); Public constructor create(const aDict : TJSMediaRecorderOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaRecorderOptions; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property audioBitsPerSecond: Cardinal read _GetaudioBitsPerSecond write _SetaudioBitsPerSecond; property videoBitsPerSecond: Cardinal read _GetvideoBitsPerSecond write _SetvideoBitsPerSecond; property bitsPerSecond: Cardinal read _GetbitsPerSecond write _SetbitsPerSecond; end; { -------------------------------------------------------------------- TJSMediaMetadataInit --------------------------------------------------------------------} TJSMediaImageDynArray = IJSArray; // array of MediaImage TJSMediaMetadataInitRec = record title: UnicodeString; artist: UnicodeString; album: UnicodeString; artwork: TJSMediaImageDynArray; end; IJSMediaMetadataInit = interface(IJSObject) ['{745A258D-9CB4-3FA9-9A05-82EC82DA2C2B}'] function _Gettitle: UnicodeString; function _Getartist: UnicodeString; function _Getalbum: UnicodeString; function _Getartwork: TJSMediaImageDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Setartist(const aValue: UnicodeString); procedure _Setalbum(const aValue: UnicodeString); procedure _Setartwork(const aValue: TJSMediaImageDynArray); property title: UnicodeString read _Gettitle write _Settitle; property artist: UnicodeString read _Getartist write _Setartist; property album: UnicodeString read _Getalbum write _Setalbum; property artwork: TJSMediaImageDynArray read _Getartwork write _Setartwork; end; TJSMediaMetadataInit = class(TJSObject,IJSMediaMetadataInit) Private Protected function _Gettitle: UnicodeString; function _Getartist: UnicodeString; function _Getalbum: UnicodeString; function _Getartwork: TJSMediaImageDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Setartist(const aValue: UnicodeString); procedure _Setalbum(const aValue: UnicodeString); procedure _Setartwork(const aValue: TJSMediaImageDynArray); Public constructor create(const aDict : TJSMediaMetadataInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaMetadataInit; property title: UnicodeString read _Gettitle write _Settitle; property artist: UnicodeString read _Getartist write _Setartist; property album: UnicodeString read _Getalbum write _Setalbum; property artwork: TJSMediaImageDynArray read _Getartwork write _Setartwork; end; { -------------------------------------------------------------------- TJSMediaImage --------------------------------------------------------------------} TJSMediaImageRec = record src: UnicodeString; sizes: UnicodeString; type_: UnicodeString; end; IJSMediaImage = interface(IJSObject) ['{40F3CAC7-C20D-3E60-90A9-8C68DE304159}'] function _Getsrc: UnicodeString; function _Getsizes: UnicodeString; function _Gettype_: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); property src: UnicodeString read _Getsrc write _Setsrc; property sizes: UnicodeString read _Getsizes write _Setsizes; property type_: UnicodeString read _Gettype_ write _Settype_; end; TJSMediaImage = class(TJSObject,IJSMediaImage) Private Protected function _Getsrc: UnicodeString; function _Getsizes: UnicodeString; function _Gettype_: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); Public constructor create(const aDict : TJSMediaImageRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaImage; property src: UnicodeString read _Getsrc write _Setsrc; property sizes: UnicodeString read _Getsizes write _Setsizes; property type_: UnicodeString read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSMediaSessionActionDetails --------------------------------------------------------------------} TJSMediaSessionActionDetailsRec = record action: TMediaSessionAction; seekOffset: Double; seekTime: Double; fastSeek: Boolean; end; IJSMediaSessionActionDetails = interface(IJSObject) ['{72A780FA-8726-38C8-BF63-D507412DDB10}'] function _Getaction: TMediaSessionAction; function _GetseekOffset: Double; function _GetseekTime: Double; function _GetfastSeek: Boolean; procedure _Setaction(const aValue: TMediaSessionAction); procedure _SetseekOffset(const aValue: Double); procedure _SetseekTime(const aValue: Double); procedure _SetfastSeek(const aValue: Boolean); property action: TMediaSessionAction read _Getaction write _Setaction; property seekOffset: Double read _GetseekOffset write _SetseekOffset; property seekTime: Double read _GetseekTime write _SetseekTime; property fastSeek: Boolean read _GetfastSeek write _SetfastSeek; end; TJSMediaSessionActionDetails = class(TJSObject,IJSMediaSessionActionDetails) Private Protected function _Getaction: TMediaSessionAction; function _GetseekOffset: Double; function _GetseekTime: Double; function _GetfastSeek: Boolean; procedure _Setaction(const aValue: TMediaSessionAction); procedure _SetseekOffset(const aValue: Double); procedure _SetseekTime(const aValue: Double); procedure _SetfastSeek(const aValue: Boolean); Public constructor create(const aDict : TJSMediaSessionActionDetailsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSessionActionDetails; property action: TMediaSessionAction read _Getaction write _Setaction; property seekOffset: Double read _GetseekOffset write _SetseekOffset; property seekTime: Double read _GetseekTime write _SetseekTime; property fastSeek: Boolean read _GetfastSeek write _SetfastSeek; end; { -------------------------------------------------------------------- TJSMediaPositionState --------------------------------------------------------------------} TJSMediaPositionStateRec = record duration: Double; playbackRate: Double; position: Double; end; IJSMediaPositionState = interface(IJSObject) ['{90F19618-EB82-3F44-805C-5839F7B68D72}'] function _Getduration: Double; function _GetplaybackRate: Double; function _Getposition: Double; procedure _Setduration(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setposition(const aValue: Double); property duration: Double read _Getduration write _Setduration; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property position: Double read _Getposition write _Setposition; end; TJSMediaPositionState = class(TJSObject,IJSMediaPositionState) Private Protected function _Getduration: Double; function _GetplaybackRate: Double; function _Getposition: Double; procedure _Setduration(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setposition(const aValue: Double); Public constructor create(const aDict : TJSMediaPositionStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaPositionState; property duration: Double read _Getduration write _Setduration; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property position: Double read _Getposition write _Setposition; end; { -------------------------------------------------------------------- TJSMediaStreamConstraints --------------------------------------------------------------------} // Union of boolean, MediaTrackConstraints TMediaStreamConstraints_audio_Type = Variant; // Union of boolean, MediaTrackConstraints TMediaStreamConstraints_video_Type = Variant; TJSMediaStreamConstraintsRec = record audio: TMediaStreamConstraints_audio_Type; video: TMediaStreamConstraints_video_Type; picture: Boolean; fake: Boolean; peerIdentity: UnicodeString; end; IJSMediaStreamConstraints = interface(IJSObject) ['{B622873C-0A05-3AAE-8889-9E5EFEAD852B}'] function _Getaudio: TMediaStreamConstraints_audio_Type; function _Getvideo: TMediaStreamConstraints_video_Type; function _Getpicture: Boolean; function _Getfake: Boolean; function _GetpeerIdentity: UnicodeString; procedure _Setaudio(const aValue: TMediaStreamConstraints_audio_Type); procedure _Setvideo(const aValue: TMediaStreamConstraints_video_Type); procedure _Setpicture(const aValue: Boolean); procedure _Setfake(const aValue: Boolean); procedure _SetpeerIdentity(const aValue: UnicodeString); property audio: TMediaStreamConstraints_audio_Type read _Getaudio write _Setaudio; property video: TMediaStreamConstraints_video_Type read _Getvideo write _Setvideo; property picture: Boolean read _Getpicture write _Setpicture; property fake: Boolean read _Getfake write _Setfake; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; end; TJSMediaStreamConstraints = class(TJSObject,IJSMediaStreamConstraints) Private Protected function _Getaudio: TMediaStreamConstraints_audio_Type; function _Getvideo: TMediaStreamConstraints_video_Type; function _Getpicture: Boolean; function _Getfake: Boolean; function _GetpeerIdentity: UnicodeString; procedure _Setaudio(const aValue: TMediaStreamConstraints_audio_Type); procedure _Setvideo(const aValue: TMediaStreamConstraints_video_Type); procedure _Setpicture(const aValue: Boolean); procedure _Setfake(const aValue: Boolean); procedure _SetpeerIdentity(const aValue: UnicodeString); Public constructor create(const aDict : TJSMediaStreamConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamConstraints; property audio: TMediaStreamConstraints_audio_Type read _Getaudio write _Setaudio; property video: TMediaStreamConstraints_video_Type read _Getvideo write _Setvideo; property picture: Boolean read _Getpicture write _Setpicture; property fake: Boolean read _Getfake write _Setfake; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; end; { -------------------------------------------------------------------- TJSDisplayMediaStreamConstraints --------------------------------------------------------------------} // Union of boolean, MediaTrackConstraints TDisplayMediaStreamConstraints_video_Type = Variant; // Union of boolean, MediaTrackConstraints TDisplayMediaStreamConstraints_audio_Type = Variant; TJSDisplayMediaStreamConstraintsRec = record video: TDisplayMediaStreamConstraints_video_Type; audio: TDisplayMediaStreamConstraints_audio_Type; end; IJSDisplayMediaStreamConstraints = interface(IJSObject) ['{C5C306C5-AB22-3855-A38C-B8B4732CDF0F}'] function _Getvideo: TDisplayMediaStreamConstraints_video_Type; function _Getaudio: TDisplayMediaStreamConstraints_audio_Type; procedure _Setvideo(const aValue: TDisplayMediaStreamConstraints_video_Type); procedure _Setaudio(const aValue: TDisplayMediaStreamConstraints_audio_Type); property video: TDisplayMediaStreamConstraints_video_Type read _Getvideo write _Setvideo; property audio: TDisplayMediaStreamConstraints_audio_Type read _Getaudio write _Setaudio; end; TJSDisplayMediaStreamConstraints = class(TJSObject,IJSDisplayMediaStreamConstraints) Private Protected function _Getvideo: TDisplayMediaStreamConstraints_video_Type; function _Getaudio: TDisplayMediaStreamConstraints_audio_Type; procedure _Setvideo(const aValue: TDisplayMediaStreamConstraints_video_Type); procedure _Setaudio(const aValue: TDisplayMediaStreamConstraints_audio_Type); Public constructor create(const aDict : TJSDisplayMediaStreamConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDisplayMediaStreamConstraints; property video: TDisplayMediaStreamConstraints_video_Type read _Getvideo write _Setvideo; property audio: TDisplayMediaStreamConstraints_audio_Type read _Getaudio write _Setaudio; end; { -------------------------------------------------------------------- TJSMediaStreamAudioSourceOptions --------------------------------------------------------------------} TJSMediaStreamAudioSourceOptionsRec = record mediaStream: TJSMediaStream; end; IJSMediaStreamAudioSourceOptions = interface(IJSObject) ['{83F397CB-A0B1-3F30-B8E6-168794F53396}'] function _GetmediaStream: IJSMediaStream; procedure _SetmediaStream(const aValue: IJSMediaStream); property mediaStream: IJSMediaStream read _GetmediaStream write _SetmediaStream; end; TJSMediaStreamAudioSourceOptions = class(TJSObject,IJSMediaStreamAudioSourceOptions) Private Protected function _GetmediaStream: IJSMediaStream; procedure _SetmediaStream(const aValue: IJSMediaStream); Public constructor create(const aDict : TJSMediaStreamAudioSourceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamAudioSourceOptions; property mediaStream: IJSMediaStream read _GetmediaStream write _SetmediaStream; end; { -------------------------------------------------------------------- TJSConstrainLongRange --------------------------------------------------------------------} TJSConstrainLongRangeRec = record min: LongInt; max: LongInt; exact: LongInt; ideal: LongInt; end; IJSConstrainLongRange = interface(IJSObject) ['{BDCF0C34-E68A-3FD8-A368-52C85E1FE10E}'] function _Getmin: LongInt; function _Getmax: LongInt; function _Getexact: LongInt; function _Getideal: LongInt; procedure _Setmin(const aValue: LongInt); procedure _Setmax(const aValue: LongInt); procedure _Setexact(const aValue: LongInt); procedure _Setideal(const aValue: LongInt); property min: LongInt read _Getmin write _Setmin; property max: LongInt read _Getmax write _Setmax; property exact: LongInt read _Getexact write _Setexact; property ideal: LongInt read _Getideal write _Setideal; end; TJSConstrainLongRange = class(TJSObject,IJSConstrainLongRange) Private Protected function _Getmin: LongInt; function _Getmax: LongInt; function _Getexact: LongInt; function _Getideal: LongInt; procedure _Setmin(const aValue: LongInt); procedure _Setmax(const aValue: LongInt); procedure _Setexact(const aValue: LongInt); procedure _Setideal(const aValue: LongInt); Public constructor create(const aDict : TJSConstrainLongRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstrainLongRange; property min: LongInt read _Getmin write _Setmin; property max: LongInt read _Getmax write _Setmax; property exact: LongInt read _Getexact write _Setexact; property ideal: LongInt read _Getideal write _Setideal; end; { -------------------------------------------------------------------- TJSConstrainDoubleRange --------------------------------------------------------------------} TJSConstrainDoubleRangeRec = record min: Double; max: Double; exact: Double; ideal: Double; end; IJSConstrainDoubleRange = interface(IJSObject) ['{9D018D2D-0F2B-3FE1-BB48-CA54F15406B8}'] function _Getmin: Double; function _Getmax: Double; function _Getexact: Double; function _Getideal: Double; procedure _Setmin(const aValue: Double); procedure _Setmax(const aValue: Double); procedure _Setexact(const aValue: Double); procedure _Setideal(const aValue: Double); property min: Double read _Getmin write _Setmin; property max: Double read _Getmax write _Setmax; property exact: Double read _Getexact write _Setexact; property ideal: Double read _Getideal write _Setideal; end; TJSConstrainDoubleRange = class(TJSObject,IJSConstrainDoubleRange) Private Protected function _Getmin: Double; function _Getmax: Double; function _Getexact: Double; function _Getideal: Double; procedure _Setmin(const aValue: Double); procedure _Setmax(const aValue: Double); procedure _Setexact(const aValue: Double); procedure _Setideal(const aValue: Double); Public constructor create(const aDict : TJSConstrainDoubleRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstrainDoubleRange; property min: Double read _Getmin write _Setmin; property max: Double read _Getmax write _Setmax; property exact: Double read _Getexact write _Setexact; property ideal: Double read _Getideal write _Setideal; end; { -------------------------------------------------------------------- TJSConstrainBooleanParameters --------------------------------------------------------------------} TJSConstrainBooleanParametersRec = record exact: Boolean; ideal: Boolean; end; IJSConstrainBooleanParameters = interface(IJSObject) ['{D1408626-E20B-3EA6-AC7E-D6EAF8FECEEF}'] function _Getexact: Boolean; function _Getideal: Boolean; procedure _Setexact(const aValue: Boolean); procedure _Setideal(const aValue: Boolean); property exact: Boolean read _Getexact write _Setexact; property ideal: Boolean read _Getideal write _Setideal; end; TJSConstrainBooleanParameters = class(TJSObject,IJSConstrainBooleanParameters) Private Protected function _Getexact: Boolean; function _Getideal: Boolean; procedure _Setexact(const aValue: Boolean); procedure _Setideal(const aValue: Boolean); Public constructor create(const aDict : TJSConstrainBooleanParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstrainBooleanParameters; property exact: Boolean read _Getexact write _Setexact; property ideal: Boolean read _Getideal write _Setideal; end; { -------------------------------------------------------------------- TJSConstrainDOMStringParameters --------------------------------------------------------------------} // Union of DOMString, sequence TConstrainDOMStringParameters_exact_Type = Variant; // Union of DOMString, sequence TConstrainDOMStringParameters_ideal_Type = Variant; TJSConstrainDOMStringParametersRec = record exact: TConstrainDOMStringParameters_exact_Type; ideal: TConstrainDOMStringParameters_ideal_Type; end; IJSConstrainDOMStringParameters = interface(IJSObject) ['{D546690C-8CEA-3F28-AB2C-48FCC67BBC73}'] function _Getexact: TConstrainDOMStringParameters_exact_Type; function _Getideal: TConstrainDOMStringParameters_ideal_Type; procedure _Setexact(const aValue: TConstrainDOMStringParameters_exact_Type); procedure _Setideal(const aValue: TConstrainDOMStringParameters_ideal_Type); property exact: TConstrainDOMStringParameters_exact_Type read _Getexact write _Setexact; property ideal: TConstrainDOMStringParameters_ideal_Type read _Getideal write _Setideal; end; TJSConstrainDOMStringParameters = class(TJSObject,IJSConstrainDOMStringParameters) Private Protected function _Getexact: TConstrainDOMStringParameters_exact_Type; function _Getideal: TConstrainDOMStringParameters_ideal_Type; procedure _Setexact(const aValue: TConstrainDOMStringParameters_exact_Type); procedure _Setideal(const aValue: TConstrainDOMStringParameters_ideal_Type); Public constructor create(const aDict : TJSConstrainDOMStringParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstrainDOMStringParameters; property exact: TConstrainDOMStringParameters_exact_Type read _Getexact write _Setexact; property ideal: TConstrainDOMStringParameters_ideal_Type read _Getideal write _Setideal; end; { -------------------------------------------------------------------- TJSMediaTrackConstraintSet --------------------------------------------------------------------} TJSMediaTrackConstraintSetRec = record width: TConstrainLong; height: TConstrainLong; frameRate: TConstrainDouble; facingMode: TConstrainDOMString; mediaSource: UnicodeString; browserWindow: Int64; scrollWithPage: Boolean; deviceId: TConstrainDOMString; groupId: TConstrainDOMString; viewportOffsetX: TConstrainLong; viewportOffsetY: TConstrainLong; viewportWidth: TConstrainLong; viewportHeight: TConstrainLong; echoCancellation: TConstrainBoolean; noiseSuppression: TConstrainBoolean; autoGainControl: TConstrainBoolean; channelCount: TConstrainLong; end; IJSMediaTrackConstraintSet = interface(IJSObject) ['{1ABC619B-9E02-3A0F-B326-F489895C0C17}'] function _Getwidth: TConstrainLong; function _Getheight: TConstrainLong; function _GetframeRate: TConstrainDouble; function _GetfacingMode: TConstrainDOMString; function _GetmediaSource: UnicodeString; function _GetbrowserWindow: Int64; function _GetscrollWithPage: Boolean; function _GetdeviceId: TConstrainDOMString; function _GetgroupId: TConstrainDOMString; function _GetviewportOffsetX: TConstrainLong; function _GetviewportOffsetY: TConstrainLong; function _GetviewportWidth: TConstrainLong; function _GetviewportHeight: TConstrainLong; function _GetechoCancellation: TConstrainBoolean; function _GetnoiseSuppression: TConstrainBoolean; function _GetautoGainControl: TConstrainBoolean; function _GetchannelCount: TConstrainLong; procedure _Setwidth(const aValue: TConstrainLong); procedure _Setheight(const aValue: TConstrainLong); procedure _SetframeRate(const aValue: TConstrainDouble); procedure _SetfacingMode(const aValue: TConstrainDOMString); procedure _SetmediaSource(const aValue: UnicodeString); procedure _SetbrowserWindow(const aValue: Int64); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetdeviceId(const aValue: TConstrainDOMString); procedure _SetgroupId(const aValue: TConstrainDOMString); procedure _SetviewportOffsetX(const aValue: TConstrainLong); procedure _SetviewportOffsetY(const aValue: TConstrainLong); procedure _SetviewportWidth(const aValue: TConstrainLong); procedure _SetviewportHeight(const aValue: TConstrainLong); procedure _SetechoCancellation(const aValue: TConstrainBoolean); procedure _SetnoiseSuppression(const aValue: TConstrainBoolean); procedure _SetautoGainControl(const aValue: TConstrainBoolean); procedure _SetchannelCount(const aValue: TConstrainLong); property width: TConstrainLong read _Getwidth write _Setwidth; property height: TConstrainLong read _Getheight write _Setheight; property frameRate: TConstrainDouble read _GetframeRate write _SetframeRate; property facingMode: TConstrainDOMString read _GetfacingMode write _SetfacingMode; property mediaSource: UnicodeString read _GetmediaSource write _SetmediaSource; property browserWindow: Int64 read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property deviceId: TConstrainDOMString read _GetdeviceId write _SetdeviceId; property groupId: TConstrainDOMString read _GetgroupId write _SetgroupId; property viewportOffsetX: TConstrainLong read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: TConstrainLong read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: TConstrainLong read _GetviewportWidth write _SetviewportWidth; property viewportHeight: TConstrainLong read _GetviewportHeight write _SetviewportHeight; property echoCancellation: TConstrainBoolean read _GetechoCancellation write _SetechoCancellation; property noiseSuppression: TConstrainBoolean read _GetnoiseSuppression write _SetnoiseSuppression; property autoGainControl: TConstrainBoolean read _GetautoGainControl write _SetautoGainControl; property channelCount: TConstrainLong read _GetchannelCount write _SetchannelCount; end; TJSMediaTrackConstraintSet = class(TJSObject,IJSMediaTrackConstraintSet) Private Protected function _Getwidth: TConstrainLong; function _Getheight: TConstrainLong; function _GetframeRate: TConstrainDouble; function _GetfacingMode: TConstrainDOMString; function _GetmediaSource: UnicodeString; function _GetbrowserWindow: Int64; function _GetscrollWithPage: Boolean; function _GetdeviceId: TConstrainDOMString; function _GetgroupId: TConstrainDOMString; function _GetviewportOffsetX: TConstrainLong; function _GetviewportOffsetY: TConstrainLong; function _GetviewportWidth: TConstrainLong; function _GetviewportHeight: TConstrainLong; function _GetechoCancellation: TConstrainBoolean; function _GetnoiseSuppression: TConstrainBoolean; function _GetautoGainControl: TConstrainBoolean; function _GetchannelCount: TConstrainLong; procedure _Setwidth(const aValue: TConstrainLong); procedure _Setheight(const aValue: TConstrainLong); procedure _SetframeRate(const aValue: TConstrainDouble); procedure _SetfacingMode(const aValue: TConstrainDOMString); procedure _SetmediaSource(const aValue: UnicodeString); procedure _SetbrowserWindow(const aValue: Int64); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetdeviceId(const aValue: TConstrainDOMString); procedure _SetgroupId(const aValue: TConstrainDOMString); procedure _SetviewportOffsetX(const aValue: TConstrainLong); procedure _SetviewportOffsetY(const aValue: TConstrainLong); procedure _SetviewportWidth(const aValue: TConstrainLong); procedure _SetviewportHeight(const aValue: TConstrainLong); procedure _SetechoCancellation(const aValue: TConstrainBoolean); procedure _SetnoiseSuppression(const aValue: TConstrainBoolean); procedure _SetautoGainControl(const aValue: TConstrainBoolean); procedure _SetchannelCount(const aValue: TConstrainLong); Public constructor create(const aDict : TJSMediaTrackConstraintSetRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaTrackConstraintSet; property width: TConstrainLong read _Getwidth write _Setwidth; property height: TConstrainLong read _Getheight write _Setheight; property frameRate: TConstrainDouble read _GetframeRate write _SetframeRate; property facingMode: TConstrainDOMString read _GetfacingMode write _SetfacingMode; property mediaSource: UnicodeString read _GetmediaSource write _SetmediaSource; property browserWindow: Int64 read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property deviceId: TConstrainDOMString read _GetdeviceId write _SetdeviceId; property groupId: TConstrainDOMString read _GetgroupId write _SetgroupId; property viewportOffsetX: TConstrainLong read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: TConstrainLong read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: TConstrainLong read _GetviewportWidth write _SetviewportWidth; property viewportHeight: TConstrainLong read _GetviewportHeight write _SetviewportHeight; property echoCancellation: TConstrainBoolean read _GetechoCancellation write _SetechoCancellation; property noiseSuppression: TConstrainBoolean read _GetnoiseSuppression write _SetnoiseSuppression; property autoGainControl: TConstrainBoolean read _GetautoGainControl write _SetautoGainControl; property channelCount: TConstrainLong read _GetchannelCount write _SetchannelCount; end; { -------------------------------------------------------------------- TJSMediaStreamTrackAudioSourceOptions --------------------------------------------------------------------} TJSMediaStreamTrackAudioSourceOptionsRec = record mediaStreamTrack: TJSMediaStreamTrack; end; IJSMediaStreamTrackAudioSourceOptions = interface(IJSObject) ['{0043C9AD-E680-328C-B85C-F8F8EF1DAB8C}'] function _GetmediaStreamTrack: IJSMediaStreamTrack; procedure _SetmediaStreamTrack(const aValue: IJSMediaStreamTrack); property mediaStreamTrack: IJSMediaStreamTrack read _GetmediaStreamTrack write _SetmediaStreamTrack; end; TJSMediaStreamTrackAudioSourceOptions = class(TJSObject,IJSMediaStreamTrackAudioSourceOptions) Private Protected function _GetmediaStreamTrack: IJSMediaStreamTrack; procedure _SetmediaStreamTrack(const aValue: IJSMediaStreamTrack); Public constructor create(const aDict : TJSMediaStreamTrackAudioSourceOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamTrackAudioSourceOptions; property mediaStreamTrack: IJSMediaStreamTrack read _GetmediaStreamTrack write _SetmediaStreamTrack; end; { -------------------------------------------------------------------- TJSDoubleRange --------------------------------------------------------------------} TJSDoubleRangeRec = record max: Double; min: Double; end; IJSDoubleRange = interface(IJSObject) ['{EEDFCDA2-1549-3C48-8563-7827AA542131}'] function _Getmax: Double; function _Getmin: Double; procedure _Setmax(const aValue: Double); procedure _Setmin(const aValue: Double); property max: Double read _Getmax write _Setmax; property min: Double read _Getmin write _Setmin; end; TJSDoubleRange = class(TJSObject,IJSDoubleRange) Private Protected function _Getmax: Double; function _Getmin: Double; procedure _Setmax(const aValue: Double); procedure _Setmin(const aValue: Double); Public constructor create(const aDict : TJSDoubleRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDoubleRange; property max: Double read _Getmax write _Setmax; property min: Double read _Getmin write _Setmin; end; { -------------------------------------------------------------------- TJSULongRange --------------------------------------------------------------------} TJSULongRangeRec = record max: Cardinal; min: Cardinal; end; IJSULongRange = interface(IJSObject) ['{F0F43F73-6852-385F-888B-433589A48332}'] function _Getmax: Cardinal; function _Getmin: Cardinal; procedure _Setmax(const aValue: Cardinal); procedure _Setmin(const aValue: Cardinal); property max: Cardinal read _Getmax write _Setmax; property min: Cardinal read _Getmin write _Setmin; end; TJSULongRange = class(TJSObject,IJSULongRange) Private Protected function _Getmax: Cardinal; function _Getmin: Cardinal; procedure _Setmax(const aValue: Cardinal); procedure _Setmin(const aValue: Cardinal); Public constructor create(const aDict : TJSULongRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSULongRange; property max: Cardinal read _Getmax write _Setmax; property min: Cardinal read _Getmin write _Setmin; end; { -------------------------------------------------------------------- TJSMediaTrackCapabilities --------------------------------------------------------------------} TBooleanDynArray = IJSArray; // array of boolean TJSMediaTrackCapabilitiesRec = record width: TJSULongRange; height: TJSULongRange; aspectRatio: TJSDoubleRange; frameRate: TJSDoubleRange; facingMode: TUnicodeStringDynArray; resizeMode: TUnicodeStringDynArray; sampleRate: TJSULongRange; sampleSize: TJSULongRange; echoCancellation: TBooleanDynArray; autoGainControl: TBooleanDynArray; noiseSuppression: TBooleanDynArray; latency: TJSDoubleRange; channelCount: TJSULongRange; deviceId: UnicodeString; groupId: UnicodeString; end; IJSMediaTrackCapabilities = interface(IJSObject) ['{A9AD363F-60E3-33D6-A35B-3C0D140FFB10}'] function _Getwidth: IJSULongRange; function _Getheight: IJSULongRange; function _GetaspectRatio: IJSDoubleRange; function _GetframeRate: IJSDoubleRange; function _GetfacingMode: TUnicodeStringDynArray; function _GetresizeMode: TUnicodeStringDynArray; function _GetsampleRate: IJSULongRange; function _GetsampleSize: IJSULongRange; function _GetechoCancellation: TBooleanDynArray; function _GetautoGainControl: TBooleanDynArray; function _GetnoiseSuppression: TBooleanDynArray; function _Getlatency: IJSDoubleRange; function _GetchannelCount: IJSULongRange; function _GetdeviceId: UnicodeString; function _GetgroupId: UnicodeString; procedure _Setwidth(const aValue: IJSULongRange); procedure _Setheight(const aValue: IJSULongRange); procedure _SetaspectRatio(const aValue: IJSDoubleRange); procedure _SetframeRate(const aValue: IJSDoubleRange); procedure _SetfacingMode(const aValue: TUnicodeStringDynArray); procedure _SetresizeMode(const aValue: TUnicodeStringDynArray); procedure _SetsampleRate(const aValue: IJSULongRange); procedure _SetsampleSize(const aValue: IJSULongRange); procedure _SetechoCancellation(const aValue: TBooleanDynArray); procedure _SetautoGainControl(const aValue: TBooleanDynArray); procedure _SetnoiseSuppression(const aValue: TBooleanDynArray); procedure _Setlatency(const aValue: IJSDoubleRange); procedure _SetchannelCount(const aValue: IJSULongRange); procedure _SetdeviceId(const aValue: UnicodeString); procedure _SetgroupId(const aValue: UnicodeString); property width: IJSULongRange read _Getwidth write _Setwidth; property height: IJSULongRange read _Getheight write _Setheight; property aspectRatio: IJSDoubleRange read _GetaspectRatio write _SetaspectRatio; property frameRate: IJSDoubleRange read _GetframeRate write _SetframeRate; property facingMode: TUnicodeStringDynArray read _GetfacingMode write _SetfacingMode; property resizeMode: TUnicodeStringDynArray read _GetresizeMode write _SetresizeMode; property sampleRate: IJSULongRange read _GetsampleRate write _SetsampleRate; property sampleSize: IJSULongRange read _GetsampleSize write _SetsampleSize; property echoCancellation: TBooleanDynArray read _GetechoCancellation write _SetechoCancellation; property autoGainControl: TBooleanDynArray read _GetautoGainControl write _SetautoGainControl; property noiseSuppression: TBooleanDynArray read _GetnoiseSuppression write _SetnoiseSuppression; property latency: IJSDoubleRange read _Getlatency write _Setlatency; property channelCount: IJSULongRange read _GetchannelCount write _SetchannelCount; property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; property groupId: UnicodeString read _GetgroupId write _SetgroupId; end; TJSMediaTrackCapabilities = class(TJSObject,IJSMediaTrackCapabilities) Private Protected function _Getwidth: IJSULongRange; function _Getheight: IJSULongRange; function _GetaspectRatio: IJSDoubleRange; function _GetframeRate: IJSDoubleRange; function _GetfacingMode: TUnicodeStringDynArray; function _GetresizeMode: TUnicodeStringDynArray; function _GetsampleRate: IJSULongRange; function _GetsampleSize: IJSULongRange; function _GetechoCancellation: TBooleanDynArray; function _GetautoGainControl: TBooleanDynArray; function _GetnoiseSuppression: TBooleanDynArray; function _Getlatency: IJSDoubleRange; function _GetchannelCount: IJSULongRange; function _GetdeviceId: UnicodeString; function _GetgroupId: UnicodeString; procedure _Setwidth(const aValue: IJSULongRange); procedure _Setheight(const aValue: IJSULongRange); procedure _SetaspectRatio(const aValue: IJSDoubleRange); procedure _SetframeRate(const aValue: IJSDoubleRange); procedure _SetfacingMode(const aValue: TUnicodeStringDynArray); procedure _SetresizeMode(const aValue: TUnicodeStringDynArray); procedure _SetsampleRate(const aValue: IJSULongRange); procedure _SetsampleSize(const aValue: IJSULongRange); procedure _SetechoCancellation(const aValue: TBooleanDynArray); procedure _SetautoGainControl(const aValue: TBooleanDynArray); procedure _SetnoiseSuppression(const aValue: TBooleanDynArray); procedure _Setlatency(const aValue: IJSDoubleRange); procedure _SetchannelCount(const aValue: IJSULongRange); procedure _SetdeviceId(const aValue: UnicodeString); procedure _SetgroupId(const aValue: UnicodeString); Public constructor create(const aDict : TJSMediaTrackCapabilitiesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaTrackCapabilities; property width: IJSULongRange read _Getwidth write _Setwidth; property height: IJSULongRange read _Getheight write _Setheight; property aspectRatio: IJSDoubleRange read _GetaspectRatio write _SetaspectRatio; property frameRate: IJSDoubleRange read _GetframeRate write _SetframeRate; property facingMode: TUnicodeStringDynArray read _GetfacingMode write _SetfacingMode; property resizeMode: TUnicodeStringDynArray read _GetresizeMode write _SetresizeMode; property sampleRate: IJSULongRange read _GetsampleRate write _SetsampleRate; property sampleSize: IJSULongRange read _GetsampleSize write _SetsampleSize; property echoCancellation: TBooleanDynArray read _GetechoCancellation write _SetechoCancellation; property autoGainControl: TBooleanDynArray read _GetautoGainControl write _SetautoGainControl; property noiseSuppression: TBooleanDynArray read _GetnoiseSuppression write _SetnoiseSuppression; property latency: IJSDoubleRange read _Getlatency write _Setlatency; property channelCount: IJSULongRange read _GetchannelCount write _SetchannelCount; property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; property groupId: UnicodeString read _GetgroupId write _SetgroupId; end; { -------------------------------------------------------------------- TJSMediaTrackSettings --------------------------------------------------------------------} TJSMediaTrackSettingsRec = record width: LongInt; height: LongInt; frameRate: Double; facingMode: UnicodeString; echoCancellation: Boolean; autoGainControl: Boolean; noiseSuppression: Boolean; channelCount: LongInt; deviceId: UnicodeString; groupId: UnicodeString; mediaSource: UnicodeString; browserWindow: Int64; scrollWithPage: Boolean; viewportOffsetX: LongInt; viewportOffsetY: LongInt; viewportWidth: LongInt; viewportHeight: LongInt; end; IJSMediaTrackSettings = interface(IJSObject) ['{61729CAE-E6FF-3DF3-A8AD-F09A580D2AC7}'] function _Getwidth: LongInt; function _Getheight: LongInt; function _GetframeRate: Double; function _GetfacingMode: UnicodeString; function _GetechoCancellation: Boolean; function _GetautoGainControl: Boolean; function _GetnoiseSuppression: Boolean; function _GetchannelCount: LongInt; function _GetdeviceId: UnicodeString; function _GetgroupId: UnicodeString; function _GetmediaSource: UnicodeString; function _GetbrowserWindow: Int64; function _GetscrollWithPage: Boolean; function _GetviewportOffsetX: LongInt; function _GetviewportOffsetY: LongInt; function _GetviewportWidth: LongInt; function _GetviewportHeight: LongInt; procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); procedure _SetframeRate(const aValue: Double); procedure _SetfacingMode(const aValue: UnicodeString); procedure _SetechoCancellation(const aValue: Boolean); procedure _SetautoGainControl(const aValue: Boolean); procedure _SetnoiseSuppression(const aValue: Boolean); procedure _SetchannelCount(const aValue: LongInt); procedure _SetdeviceId(const aValue: UnicodeString); procedure _SetgroupId(const aValue: UnicodeString); procedure _SetmediaSource(const aValue: UnicodeString); procedure _SetbrowserWindow(const aValue: Int64); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetviewportOffsetX(const aValue: LongInt); procedure _SetviewportOffsetY(const aValue: LongInt); procedure _SetviewportWidth(const aValue: LongInt); procedure _SetviewportHeight(const aValue: LongInt); property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; property frameRate: Double read _GetframeRate write _SetframeRate; property facingMode: UnicodeString read _GetfacingMode write _SetfacingMode; property echoCancellation: Boolean read _GetechoCancellation write _SetechoCancellation; property autoGainControl: Boolean read _GetautoGainControl write _SetautoGainControl; property noiseSuppression: Boolean read _GetnoiseSuppression write _SetnoiseSuppression; property channelCount: LongInt read _GetchannelCount write _SetchannelCount; property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; property groupId: UnicodeString read _GetgroupId write _SetgroupId; property mediaSource: UnicodeString read _GetmediaSource write _SetmediaSource; property browserWindow: Int64 read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property viewportOffsetX: LongInt read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: LongInt read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: LongInt read _GetviewportWidth write _SetviewportWidth; property viewportHeight: LongInt read _GetviewportHeight write _SetviewportHeight; end; TJSMediaTrackSettings = class(TJSObject,IJSMediaTrackSettings) Private Protected function _Getwidth: LongInt; function _Getheight: LongInt; function _GetframeRate: Double; function _GetfacingMode: UnicodeString; function _GetechoCancellation: Boolean; function _GetautoGainControl: Boolean; function _GetnoiseSuppression: Boolean; function _GetchannelCount: LongInt; function _GetdeviceId: UnicodeString; function _GetgroupId: UnicodeString; function _GetmediaSource: UnicodeString; function _GetbrowserWindow: Int64; function _GetscrollWithPage: Boolean; function _GetviewportOffsetX: LongInt; function _GetviewportOffsetY: LongInt; function _GetviewportWidth: LongInt; function _GetviewportHeight: LongInt; procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); procedure _SetframeRate(const aValue: Double); procedure _SetfacingMode(const aValue: UnicodeString); procedure _SetechoCancellation(const aValue: Boolean); procedure _SetautoGainControl(const aValue: Boolean); procedure _SetnoiseSuppression(const aValue: Boolean); procedure _SetchannelCount(const aValue: LongInt); procedure _SetdeviceId(const aValue: UnicodeString); procedure _SetgroupId(const aValue: UnicodeString); procedure _SetmediaSource(const aValue: UnicodeString); procedure _SetbrowserWindow(const aValue: Int64); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetviewportOffsetX(const aValue: LongInt); procedure _SetviewportOffsetY(const aValue: LongInt); procedure _SetviewportWidth(const aValue: LongInt); procedure _SetviewportHeight(const aValue: LongInt); Public constructor create(const aDict : TJSMediaTrackSettingsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaTrackSettings; property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; property frameRate: Double read _GetframeRate write _SetframeRate; property facingMode: UnicodeString read _GetfacingMode write _SetfacingMode; property echoCancellation: Boolean read _GetechoCancellation write _SetechoCancellation; property autoGainControl: Boolean read _GetautoGainControl write _SetautoGainControl; property noiseSuppression: Boolean read _GetnoiseSuppression write _SetnoiseSuppression; property channelCount: LongInt read _GetchannelCount write _SetchannelCount; property deviceId: UnicodeString read _GetdeviceId write _SetdeviceId; property groupId: UnicodeString read _GetgroupId write _SetgroupId; property mediaSource: UnicodeString read _GetmediaSource write _SetmediaSource; property browserWindow: Int64 read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property viewportOffsetX: LongInt read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: LongInt read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: LongInt read _GetviewportWidth write _SetviewportWidth; property viewportHeight: LongInt read _GetviewportHeight write _SetviewportHeight; end; { -------------------------------------------------------------------- TJSMediaTrackSupportedConstraints --------------------------------------------------------------------} TJSMediaTrackSupportedConstraintsRec = record width: Boolean; height: Boolean; aspectRatio: Boolean; frameRate: Boolean; facingMode: Boolean; volume: Boolean; sampleRate: Boolean; sampleSize: Boolean; echoCancellation: Boolean; noiseSuppression: Boolean; autoGainControl: Boolean; latency: Boolean; channelCount: Boolean; deviceId: Boolean; groupId: Boolean; mediaSource: Boolean; browserWindow: Boolean; scrollWithPage: Boolean; viewportOffsetX: Boolean; viewportOffsetY: Boolean; viewportWidth: Boolean; viewportHeight: Boolean; end; IJSMediaTrackSupportedConstraints = interface(IJSObject) ['{C674D314-AA45-38EB-8169-F967F1F3407B}'] function _Getwidth: Boolean; function _Getheight: Boolean; function _GetaspectRatio: Boolean; function _GetframeRate: Boolean; function _GetfacingMode: Boolean; function _Getvolume: Boolean; function _GetsampleRate: Boolean; function _GetsampleSize: Boolean; function _GetechoCancellation: Boolean; function _GetnoiseSuppression: Boolean; function _GetautoGainControl: Boolean; function _Getlatency: Boolean; function _GetchannelCount: Boolean; function _GetdeviceId: Boolean; function _GetgroupId: Boolean; function _GetmediaSource: Boolean; function _GetbrowserWindow: Boolean; function _GetscrollWithPage: Boolean; function _GetviewportOffsetX: Boolean; function _GetviewportOffsetY: Boolean; function _GetviewportWidth: Boolean; function _GetviewportHeight: Boolean; procedure _Setwidth(const aValue: Boolean); procedure _Setheight(const aValue: Boolean); procedure _SetaspectRatio(const aValue: Boolean); procedure _SetframeRate(const aValue: Boolean); procedure _SetfacingMode(const aValue: Boolean); procedure _Setvolume(const aValue: Boolean); procedure _SetsampleRate(const aValue: Boolean); procedure _SetsampleSize(const aValue: Boolean); procedure _SetechoCancellation(const aValue: Boolean); procedure _SetnoiseSuppression(const aValue: Boolean); procedure _SetautoGainControl(const aValue: Boolean); procedure _Setlatency(const aValue: Boolean); procedure _SetchannelCount(const aValue: Boolean); procedure _SetdeviceId(const aValue: Boolean); procedure _SetgroupId(const aValue: Boolean); procedure _SetmediaSource(const aValue: Boolean); procedure _SetbrowserWindow(const aValue: Boolean); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetviewportOffsetX(const aValue: Boolean); procedure _SetviewportOffsetY(const aValue: Boolean); procedure _SetviewportWidth(const aValue: Boolean); procedure _SetviewportHeight(const aValue: Boolean); property width: Boolean read _Getwidth write _Setwidth; property height: Boolean read _Getheight write _Setheight; property aspectRatio: Boolean read _GetaspectRatio write _SetaspectRatio; property frameRate: Boolean read _GetframeRate write _SetframeRate; property facingMode: Boolean read _GetfacingMode write _SetfacingMode; property volume: Boolean read _Getvolume write _Setvolume; property sampleRate: Boolean read _GetsampleRate write _SetsampleRate; property sampleSize: Boolean read _GetsampleSize write _SetsampleSize; property echoCancellation: Boolean read _GetechoCancellation write _SetechoCancellation; property noiseSuppression: Boolean read _GetnoiseSuppression write _SetnoiseSuppression; property autoGainControl: Boolean read _GetautoGainControl write _SetautoGainControl; property latency: Boolean read _Getlatency write _Setlatency; property channelCount: Boolean read _GetchannelCount write _SetchannelCount; property deviceId: Boolean read _GetdeviceId write _SetdeviceId; property groupId: Boolean read _GetgroupId write _SetgroupId; property mediaSource: Boolean read _GetmediaSource write _SetmediaSource; property browserWindow: Boolean read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property viewportOffsetX: Boolean read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: Boolean read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: Boolean read _GetviewportWidth write _SetviewportWidth; property viewportHeight: Boolean read _GetviewportHeight write _SetviewportHeight; end; TJSMediaTrackSupportedConstraints = class(TJSObject,IJSMediaTrackSupportedConstraints) Private Protected function _Getwidth: Boolean; function _Getheight: Boolean; function _GetaspectRatio: Boolean; function _GetframeRate: Boolean; function _GetfacingMode: Boolean; function _Getvolume: Boolean; function _GetsampleRate: Boolean; function _GetsampleSize: Boolean; function _GetechoCancellation: Boolean; function _GetnoiseSuppression: Boolean; function _GetautoGainControl: Boolean; function _Getlatency: Boolean; function _GetchannelCount: Boolean; function _GetdeviceId: Boolean; function _GetgroupId: Boolean; function _GetmediaSource: Boolean; function _GetbrowserWindow: Boolean; function _GetscrollWithPage: Boolean; function _GetviewportOffsetX: Boolean; function _GetviewportOffsetY: Boolean; function _GetviewportWidth: Boolean; function _GetviewportHeight: Boolean; procedure _Setwidth(const aValue: Boolean); procedure _Setheight(const aValue: Boolean); procedure _SetaspectRatio(const aValue: Boolean); procedure _SetframeRate(const aValue: Boolean); procedure _SetfacingMode(const aValue: Boolean); procedure _Setvolume(const aValue: Boolean); procedure _SetsampleRate(const aValue: Boolean); procedure _SetsampleSize(const aValue: Boolean); procedure _SetechoCancellation(const aValue: Boolean); procedure _SetnoiseSuppression(const aValue: Boolean); procedure _SetautoGainControl(const aValue: Boolean); procedure _Setlatency(const aValue: Boolean); procedure _SetchannelCount(const aValue: Boolean); procedure _SetdeviceId(const aValue: Boolean); procedure _SetgroupId(const aValue: Boolean); procedure _SetmediaSource(const aValue: Boolean); procedure _SetbrowserWindow(const aValue: Boolean); procedure _SetscrollWithPage(const aValue: Boolean); procedure _SetviewportOffsetX(const aValue: Boolean); procedure _SetviewportOffsetY(const aValue: Boolean); procedure _SetviewportWidth(const aValue: Boolean); procedure _SetviewportHeight(const aValue: Boolean); Public constructor create(const aDict : TJSMediaTrackSupportedConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaTrackSupportedConstraints; property width: Boolean read _Getwidth write _Setwidth; property height: Boolean read _Getheight write _Setheight; property aspectRatio: Boolean read _GetaspectRatio write _SetaspectRatio; property frameRate: Boolean read _GetframeRate write _SetframeRate; property facingMode: Boolean read _GetfacingMode write _SetfacingMode; property volume: Boolean read _Getvolume write _Setvolume; property sampleRate: Boolean read _GetsampleRate write _SetsampleRate; property sampleSize: Boolean read _GetsampleSize write _SetsampleSize; property echoCancellation: Boolean read _GetechoCancellation write _SetechoCancellation; property noiseSuppression: Boolean read _GetnoiseSuppression write _SetnoiseSuppression; property autoGainControl: Boolean read _GetautoGainControl write _SetautoGainControl; property latency: Boolean read _Getlatency write _Setlatency; property channelCount: Boolean read _GetchannelCount write _SetchannelCount; property deviceId: Boolean read _GetdeviceId write _SetdeviceId; property groupId: Boolean read _GetgroupId write _SetgroupId; property mediaSource: Boolean read _GetmediaSource write _SetmediaSource; property browserWindow: Boolean read _GetbrowserWindow write _SetbrowserWindow; property scrollWithPage: Boolean read _GetscrollWithPage write _SetscrollWithPage; property viewportOffsetX: Boolean read _GetviewportOffsetX write _SetviewportOffsetX; property viewportOffsetY: Boolean read _GetviewportOffsetY write _SetviewportOffsetY; property viewportWidth: Boolean read _GetviewportWidth write _SetviewportWidth; property viewportHeight: Boolean read _GetviewportHeight write _SetviewportHeight; end; { -------------------------------------------------------------------- TJSStructuredSerializeOptions --------------------------------------------------------------------} TIJSObjectDynArray = IJSArray; // array of object TJSStructuredSerializeOptionsRec = record transfer: TIJSObjectDynArray; end; IJSStructuredSerializeOptions = interface(IJSObject) ['{250264B9-D3BE-3B26-9B44-F6E895479165}'] function _Gettransfer: TIJSObjectDynArray; procedure _Settransfer(const aValue: TIJSObjectDynArray); property transfer: TIJSObjectDynArray read _Gettransfer write _Settransfer; end; TJSStructuredSerializeOptions = class(TJSObject,IJSStructuredSerializeOptions) Private Protected function _Gettransfer: TIJSObjectDynArray; procedure _Settransfer(const aValue: TIJSObjectDynArray); Public constructor create(const aDict : TJSStructuredSerializeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStructuredSerializeOptions; property transfer: TIJSObjectDynArray read _Gettransfer write _Settransfer; end; { -------------------------------------------------------------------- TJSMIDIOptions --------------------------------------------------------------------} TJSMIDIOptionsRec = record sysex: Boolean; software: Boolean; end; IJSMIDIOptions = interface(IJSObject) ['{7ADF4ADB-D8AB-3C5D-83CE-89C3C620D75E}'] function _Getsysex: Boolean; function _Getsoftware: Boolean; procedure _Setsysex(const aValue: Boolean); procedure _Setsoftware(const aValue: Boolean); property sysex: Boolean read _Getsysex write _Setsysex; property software: Boolean read _Getsoftware write _Setsoftware; end; TJSMIDIOptions = class(TJSObject,IJSMIDIOptions) Private Protected function _Getsysex: Boolean; function _Getsoftware: Boolean; procedure _Setsysex(const aValue: Boolean); procedure _Setsoftware(const aValue: Boolean); Public constructor create(const aDict : TJSMIDIOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIOptions; property sysex: Boolean read _Getsysex write _Setsysex; property software: Boolean read _Getsoftware write _Setsoftware; end; { -------------------------------------------------------------------- TJSRemotenessOptions --------------------------------------------------------------------} TJSRemotenessOptionsRec = record remoteType: UTF8String; pendingSwitchID: QWord; switchingInProgressLoad: Boolean; end; IJSRemotenessOptions = interface(IJSObject) ['{F276C059-753B-3FD0-AF6F-4545D9BC3C21}'] function _GetremoteType: UTF8String; function _GetpendingSwitchID: QWord; function _GetswitchingInProgressLoad: Boolean; procedure _SetremoteType(const aValue: UTF8String); procedure _SetpendingSwitchID(const aValue: QWord); procedure _SetswitchingInProgressLoad(const aValue: Boolean); property remoteType: UTF8String read _GetremoteType write _SetremoteType; property pendingSwitchID: QWord read _GetpendingSwitchID write _SetpendingSwitchID; property switchingInProgressLoad: Boolean read _GetswitchingInProgressLoad write _SetswitchingInProgressLoad; end; TJSRemotenessOptions = class(TJSObject,IJSRemotenessOptions) Private Protected function _GetremoteType: UTF8String; function _GetpendingSwitchID: QWord; function _GetswitchingInProgressLoad: Boolean; procedure _SetremoteType(const aValue: UTF8String); procedure _SetpendingSwitchID(const aValue: QWord); procedure _SetswitchingInProgressLoad(const aValue: Boolean); Public constructor create(const aDict : TJSRemotenessOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRemotenessOptions; property remoteType: UTF8String read _GetremoteType write _SetremoteType; property pendingSwitchID: QWord read _GetpendingSwitchID write _SetpendingSwitchID; property switchingInProgressLoad: Boolean read _GetswitchingInProgressLoad write _SetswitchingInProgressLoad; end; { -------------------------------------------------------------------- TJSMutationObserverInit --------------------------------------------------------------------} TJSMutationObserverInitRec = record childList: Boolean; attributes: Boolean; characterData: Boolean; subtree: Boolean; attributeOldValue: Boolean; characterDataOldValue: Boolean; attributeFilter: TUnicodeStringDynArray; end; IJSMutationObserverInit = interface(IJSObject) ['{62BA9DA2-1266-3098-97C6-03B741D59665}'] function _GetchildList: Boolean; function _Getattributes: Boolean; function _GetcharacterData: Boolean; function _Getsubtree: Boolean; function _GetattributeOldValue: Boolean; function _GetcharacterDataOldValue: Boolean; function _GetattributeFilter: TUnicodeStringDynArray; procedure _SetchildList(const aValue: Boolean); procedure _Setattributes(const aValue: Boolean); procedure _SetcharacterData(const aValue: Boolean); procedure _Setsubtree(const aValue: Boolean); procedure _SetattributeOldValue(const aValue: Boolean); procedure _SetcharacterDataOldValue(const aValue: Boolean); procedure _SetattributeFilter(const aValue: TUnicodeStringDynArray); property childList: Boolean read _GetchildList write _SetchildList; property attributes: Boolean read _Getattributes write _Setattributes; property characterData: Boolean read _GetcharacterData write _SetcharacterData; property subtree: Boolean read _Getsubtree write _Setsubtree; property attributeOldValue: Boolean read _GetattributeOldValue write _SetattributeOldValue; property characterDataOldValue: Boolean read _GetcharacterDataOldValue write _SetcharacterDataOldValue; property attributeFilter: TUnicodeStringDynArray read _GetattributeFilter write _SetattributeFilter; end; TJSMutationObserverInit = class(TJSObject,IJSMutationObserverInit) Private Protected function _GetchildList: Boolean; function _Getattributes: Boolean; function _GetcharacterData: Boolean; function _Getsubtree: Boolean; function _GetattributeOldValue: Boolean; function _GetcharacterDataOldValue: Boolean; function _GetattributeFilter: TUnicodeStringDynArray; procedure _SetchildList(const aValue: Boolean); procedure _Setattributes(const aValue: Boolean); procedure _SetcharacterData(const aValue: Boolean); procedure _Setsubtree(const aValue: Boolean); procedure _SetattributeOldValue(const aValue: Boolean); procedure _SetcharacterDataOldValue(const aValue: Boolean); procedure _SetattributeFilter(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSMutationObserverInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMutationObserverInit; property childList: Boolean read _GetchildList write _SetchildList; property attributes: Boolean read _Getattributes write _Setattributes; property characterData: Boolean read _GetcharacterData write _SetcharacterData; property subtree: Boolean read _Getsubtree write _Setsubtree; property attributeOldValue: Boolean read _GetattributeOldValue write _SetattributeOldValue; property characterDataOldValue: Boolean read _GetcharacterDataOldValue write _SetcharacterDataOldValue; property attributeFilter: TUnicodeStringDynArray read _GetattributeFilter write _SetattributeFilter; end; { -------------------------------------------------------------------- TJSNavigationPreloadState --------------------------------------------------------------------} TJSNavigationPreloadStateRec = record enabled: Boolean; headerValue: UnicodeString; end; IJSNavigationPreloadState = interface(IJSObject) ['{E6733B75-06EE-3662-8070-88DA8305FF01}'] function _Getenabled: Boolean; function _GetheaderValue: UnicodeString; procedure _Setenabled(const aValue: Boolean); procedure _SetheaderValue(const aValue: UnicodeString); property enabled: Boolean read _Getenabled write _Setenabled; property headerValue: UnicodeString read _GetheaderValue write _SetheaderValue; end; TJSNavigationPreloadState = class(TJSObject,IJSNavigationPreloadState) Private Protected function _Getenabled: Boolean; function _GetheaderValue: UnicodeString; procedure _Setenabled(const aValue: Boolean); procedure _SetheaderValue(const aValue: UnicodeString); Public constructor create(const aDict : TJSNavigationPreloadStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigationPreloadState; property enabled: Boolean read _Getenabled write _Setenabled; property headerValue: UnicodeString read _GetheaderValue write _SetheaderValue; end; { -------------------------------------------------------------------- TJSShareData --------------------------------------------------------------------} TJSFileDynArray = IJSArray; // array of File TJSShareDataRec = record title: UnicodeString; text: UnicodeString; url: UnicodeString; files: TJSFileDynArray; end; IJSShareData = interface(IJSObject) ['{26C18B97-DA8C-34C6-84AE-AD43C23C7F80}'] function _Gettitle: UnicodeString; function _Gettext: UnicodeString; function _Geturl: UnicodeString; function _Getfiles: TJSFileDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _Seturl(const aValue: UnicodeString); procedure _Setfiles(const aValue: TJSFileDynArray); property title: UnicodeString read _Gettitle write _Settitle; property text: UnicodeString read _Gettext write _Settext; property url: UnicodeString read _Geturl write _Seturl; property files: TJSFileDynArray read _Getfiles write _Setfiles; end; TJSShareData = class(TJSObject,IJSShareData) Private Protected function _Gettitle: UnicodeString; function _Gettext: UnicodeString; function _Geturl: UnicodeString; function _Getfiles: TJSFileDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _Seturl(const aValue: UnicodeString); procedure _Setfiles(const aValue: TJSFileDynArray); Public constructor create(const aDict : TJSShareDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSShareData; property title: UnicodeString read _Gettitle write _Settitle; property text: UnicodeString read _Gettext write _Settext; property url: UnicodeString read _Geturl write _Seturl; property files: TJSFileDynArray read _Getfiles write _Setfiles; end; { -------------------------------------------------------------------- TJSNetErrorInfo --------------------------------------------------------------------} TJSNetErrorInfoRec = record errorCodeString: UnicodeString; end; IJSNetErrorInfo = interface(IJSObject) ['{3B13A407-3DFB-3271-9145-5B0134E6E2D1}'] function _GeterrorCodeString: UnicodeString; procedure _SeterrorCodeString(const aValue: UnicodeString); property errorCodeString: UnicodeString read _GeterrorCodeString write _SeterrorCodeString; end; TJSNetErrorInfo = class(TJSObject,IJSNetErrorInfo) Private Protected function _GeterrorCodeString: UnicodeString; procedure _SeterrorCodeString(const aValue: UnicodeString); Public constructor create(const aDict : TJSNetErrorInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNetErrorInfo; property errorCodeString: UnicodeString read _GeterrorCodeString write _SeterrorCodeString; end; { -------------------------------------------------------------------- TJSNetworkCommandOptions --------------------------------------------------------------------} TJSNetworkCommandOptionsRec = record id: LongInt; cmd: UnicodeString; ifname: UnicodeString; ip: UnicodeString; prefixLength: Cardinal; domain: UnicodeString; dnses: TUnicodeStringDynArray; gateway: UnicodeString; gateways: TUnicodeStringDynArray; mode: UnicodeString; report: Boolean; enabled: Boolean; wifictrlinterfacename: UnicodeString; internalIfname: UnicodeString; externalIfname: UnicodeString; enable: Boolean; ssid: UnicodeString; security: UnicodeString; key: UnicodeString; prefix: UnicodeString; link: UnicodeString; interfaceList: TUnicodeStringDynArray; wifiStartIp: UnicodeString; wifiEndIp: UnicodeString; usbStartIp: UnicodeString; usbEndIp: UnicodeString; dns1: UnicodeString; dns2: UnicodeString; threshold: Int64; startIp: UnicodeString; endIp: UnicodeString; serverIp: UnicodeString; maskLength: UnicodeString; preInternalIfname: UnicodeString; preExternalIfname: UnicodeString; curInternalIfname: UnicodeString; curExternalIfname: UnicodeString; ipaddr: LongInt; mask: LongInt; gateway_long: LongInt; dns1_long: LongInt; dns2_long: LongInt; mtu: LongInt; end; IJSNetworkCommandOptions = interface(IJSObject) ['{A82D88E2-F6B3-3A6D-80DE-04B513762C55}'] function _Getid: LongInt; function _Getcmd: UnicodeString; function _Getifname: UnicodeString; function _Getip: UnicodeString; function _GetprefixLength: Cardinal; function _Getdomain: UnicodeString; function _Getdnses: TUnicodeStringDynArray; function _Getgateway: UnicodeString; function _Getgateways: TUnicodeStringDynArray; function _Getmode: UnicodeString; function _Getreport: Boolean; function _Getenabled: Boolean; function _Getwifictrlinterfacename: UnicodeString; function _GetinternalIfname: UnicodeString; function _GetexternalIfname: UnicodeString; function _Getenable: Boolean; function _Getssid: UnicodeString; function _Getsecurity: UnicodeString; function _Getkey: UnicodeString; function _Getprefix: UnicodeString; function _Getlink: UnicodeString; function _GetinterfaceList: TUnicodeStringDynArray; function _GetwifiStartIp: UnicodeString; function _GetwifiEndIp: UnicodeString; function _GetusbStartIp: UnicodeString; function _GetusbEndIp: UnicodeString; function _Getdns1: UnicodeString; function _Getdns2: UnicodeString; function _Getthreshold: Int64; function _GetstartIp: UnicodeString; function _GetendIp: UnicodeString; function _GetserverIp: UnicodeString; function _GetmaskLength: UnicodeString; function _GetpreInternalIfname: UnicodeString; function _GetpreExternalIfname: UnicodeString; function _GetcurInternalIfname: UnicodeString; function _GetcurExternalIfname: UnicodeString; function _Getipaddr: LongInt; function _Getmask: LongInt; function _Getgateway_long: LongInt; function _Getdns1_long: LongInt; function _Getdns2_long: LongInt; function _Getmtu: LongInt; procedure _Setid(const aValue: LongInt); procedure _Setcmd(const aValue: UnicodeString); procedure _Setifname(const aValue: UnicodeString); procedure _Setip(const aValue: UnicodeString); procedure _SetprefixLength(const aValue: Cardinal); procedure _Setdomain(const aValue: UnicodeString); procedure _Setdnses(const aValue: TUnicodeStringDynArray); procedure _Setgateway(const aValue: UnicodeString); procedure _Setgateways(const aValue: TUnicodeStringDynArray); procedure _Setmode(const aValue: UnicodeString); procedure _Setreport(const aValue: Boolean); procedure _Setenabled(const aValue: Boolean); procedure _Setwifictrlinterfacename(const aValue: UnicodeString); procedure _SetinternalIfname(const aValue: UnicodeString); procedure _SetexternalIfname(const aValue: UnicodeString); procedure _Setenable(const aValue: Boolean); procedure _Setssid(const aValue: UnicodeString); procedure _Setsecurity(const aValue: UnicodeString); procedure _Setkey(const aValue: UnicodeString); procedure _Setprefix(const aValue: UnicodeString); procedure _Setlink(const aValue: UnicodeString); procedure _SetinterfaceList(const aValue: TUnicodeStringDynArray); procedure _SetwifiStartIp(const aValue: UnicodeString); procedure _SetwifiEndIp(const aValue: UnicodeString); procedure _SetusbStartIp(const aValue: UnicodeString); procedure _SetusbEndIp(const aValue: UnicodeString); procedure _Setdns1(const aValue: UnicodeString); procedure _Setdns2(const aValue: UnicodeString); procedure _Setthreshold(const aValue: Int64); procedure _SetstartIp(const aValue: UnicodeString); procedure _SetendIp(const aValue: UnicodeString); procedure _SetserverIp(const aValue: UnicodeString); procedure _SetmaskLength(const aValue: UnicodeString); procedure _SetpreInternalIfname(const aValue: UnicodeString); procedure _SetpreExternalIfname(const aValue: UnicodeString); procedure _SetcurInternalIfname(const aValue: UnicodeString); procedure _SetcurExternalIfname(const aValue: UnicodeString); procedure _Setipaddr(const aValue: LongInt); procedure _Setmask(const aValue: LongInt); procedure _Setgateway_long(const aValue: LongInt); procedure _Setdns1_long(const aValue: LongInt); procedure _Setdns2_long(const aValue: LongInt); procedure _Setmtu(const aValue: LongInt); property id: LongInt read _Getid write _Setid; property cmd: UnicodeString read _Getcmd write _Setcmd; property ifname: UnicodeString read _Getifname write _Setifname; property ip: UnicodeString read _Getip write _Setip; property prefixLength: Cardinal read _GetprefixLength write _SetprefixLength; property domain: UnicodeString read _Getdomain write _Setdomain; property dnses: TUnicodeStringDynArray read _Getdnses write _Setdnses; property gateway: UnicodeString read _Getgateway write _Setgateway; property gateways: TUnicodeStringDynArray read _Getgateways write _Setgateways; property mode: UnicodeString read _Getmode write _Setmode; property report: Boolean read _Getreport write _Setreport; property enabled: Boolean read _Getenabled write _Setenabled; property wifictrlinterfacename: UnicodeString read _Getwifictrlinterfacename write _Setwifictrlinterfacename; property internalIfname: UnicodeString read _GetinternalIfname write _SetinternalIfname; property externalIfname: UnicodeString read _GetexternalIfname write _SetexternalIfname; property enable: Boolean read _Getenable write _Setenable; property ssid: UnicodeString read _Getssid write _Setssid; property security: UnicodeString read _Getsecurity write _Setsecurity; property key: UnicodeString read _Getkey write _Setkey; property prefix: UnicodeString read _Getprefix write _Setprefix; property link: UnicodeString read _Getlink write _Setlink; property interfaceList: TUnicodeStringDynArray read _GetinterfaceList write _SetinterfaceList; property wifiStartIp: UnicodeString read _GetwifiStartIp write _SetwifiStartIp; property wifiEndIp: UnicodeString read _GetwifiEndIp write _SetwifiEndIp; property usbStartIp: UnicodeString read _GetusbStartIp write _SetusbStartIp; property usbEndIp: UnicodeString read _GetusbEndIp write _SetusbEndIp; property dns1: UnicodeString read _Getdns1 write _Setdns1; property dns2: UnicodeString read _Getdns2 write _Setdns2; property threshold: Int64 read _Getthreshold write _Setthreshold; property startIp: UnicodeString read _GetstartIp write _SetstartIp; property endIp: UnicodeString read _GetendIp write _SetendIp; property serverIp: UnicodeString read _GetserverIp write _SetserverIp; property maskLength: UnicodeString read _GetmaskLength write _SetmaskLength; property preInternalIfname: UnicodeString read _GetpreInternalIfname write _SetpreInternalIfname; property preExternalIfname: UnicodeString read _GetpreExternalIfname write _SetpreExternalIfname; property curInternalIfname: UnicodeString read _GetcurInternalIfname write _SetcurInternalIfname; property curExternalIfname: UnicodeString read _GetcurExternalIfname write _SetcurExternalIfname; property ipaddr: LongInt read _Getipaddr write _Setipaddr; property mask: LongInt read _Getmask write _Setmask; property gateway_long: LongInt read _Getgateway_long write _Setgateway_long; property dns1_long: LongInt read _Getdns1_long write _Setdns1_long; property dns2_long: LongInt read _Getdns2_long write _Setdns2_long; property mtu: LongInt read _Getmtu write _Setmtu; end; TJSNetworkCommandOptions = class(TJSObject,IJSNetworkCommandOptions) Private Protected function _Getid: LongInt; function _Getcmd: UnicodeString; function _Getifname: UnicodeString; function _Getip: UnicodeString; function _GetprefixLength: Cardinal; function _Getdomain: UnicodeString; function _Getdnses: TUnicodeStringDynArray; function _Getgateway: UnicodeString; function _Getgateways: TUnicodeStringDynArray; function _Getmode: UnicodeString; function _Getreport: Boolean; function _Getenabled: Boolean; function _Getwifictrlinterfacename: UnicodeString; function _GetinternalIfname: UnicodeString; function _GetexternalIfname: UnicodeString; function _Getenable: Boolean; function _Getssid: UnicodeString; function _Getsecurity: UnicodeString; function _Getkey: UnicodeString; function _Getprefix: UnicodeString; function _Getlink: UnicodeString; function _GetinterfaceList: TUnicodeStringDynArray; function _GetwifiStartIp: UnicodeString; function _GetwifiEndIp: UnicodeString; function _GetusbStartIp: UnicodeString; function _GetusbEndIp: UnicodeString; function _Getdns1: UnicodeString; function _Getdns2: UnicodeString; function _Getthreshold: Int64; function _GetstartIp: UnicodeString; function _GetendIp: UnicodeString; function _GetserverIp: UnicodeString; function _GetmaskLength: UnicodeString; function _GetpreInternalIfname: UnicodeString; function _GetpreExternalIfname: UnicodeString; function _GetcurInternalIfname: UnicodeString; function _GetcurExternalIfname: UnicodeString; function _Getipaddr: LongInt; function _Getmask: LongInt; function _Getgateway_long: LongInt; function _Getdns1_long: LongInt; function _Getdns2_long: LongInt; function _Getmtu: LongInt; procedure _Setid(const aValue: LongInt); procedure _Setcmd(const aValue: UnicodeString); procedure _Setifname(const aValue: UnicodeString); procedure _Setip(const aValue: UnicodeString); procedure _SetprefixLength(const aValue: Cardinal); procedure _Setdomain(const aValue: UnicodeString); procedure _Setdnses(const aValue: TUnicodeStringDynArray); procedure _Setgateway(const aValue: UnicodeString); procedure _Setgateways(const aValue: TUnicodeStringDynArray); procedure _Setmode(const aValue: UnicodeString); procedure _Setreport(const aValue: Boolean); procedure _Setenabled(const aValue: Boolean); procedure _Setwifictrlinterfacename(const aValue: UnicodeString); procedure _SetinternalIfname(const aValue: UnicodeString); procedure _SetexternalIfname(const aValue: UnicodeString); procedure _Setenable(const aValue: Boolean); procedure _Setssid(const aValue: UnicodeString); procedure _Setsecurity(const aValue: UnicodeString); procedure _Setkey(const aValue: UnicodeString); procedure _Setprefix(const aValue: UnicodeString); procedure _Setlink(const aValue: UnicodeString); procedure _SetinterfaceList(const aValue: TUnicodeStringDynArray); procedure _SetwifiStartIp(const aValue: UnicodeString); procedure _SetwifiEndIp(const aValue: UnicodeString); procedure _SetusbStartIp(const aValue: UnicodeString); procedure _SetusbEndIp(const aValue: UnicodeString); procedure _Setdns1(const aValue: UnicodeString); procedure _Setdns2(const aValue: UnicodeString); procedure _Setthreshold(const aValue: Int64); procedure _SetstartIp(const aValue: UnicodeString); procedure _SetendIp(const aValue: UnicodeString); procedure _SetserverIp(const aValue: UnicodeString); procedure _SetmaskLength(const aValue: UnicodeString); procedure _SetpreInternalIfname(const aValue: UnicodeString); procedure _SetpreExternalIfname(const aValue: UnicodeString); procedure _SetcurInternalIfname(const aValue: UnicodeString); procedure _SetcurExternalIfname(const aValue: UnicodeString); procedure _Setipaddr(const aValue: LongInt); procedure _Setmask(const aValue: LongInt); procedure _Setgateway_long(const aValue: LongInt); procedure _Setdns1_long(const aValue: LongInt); procedure _Setdns2_long(const aValue: LongInt); procedure _Setmtu(const aValue: LongInt); Public constructor create(const aDict : TJSNetworkCommandOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNetworkCommandOptions; property id: LongInt read _Getid write _Setid; property cmd: UnicodeString read _Getcmd write _Setcmd; property ifname: UnicodeString read _Getifname write _Setifname; property ip: UnicodeString read _Getip write _Setip; property prefixLength: Cardinal read _GetprefixLength write _SetprefixLength; property domain: UnicodeString read _Getdomain write _Setdomain; property dnses: TUnicodeStringDynArray read _Getdnses write _Setdnses; property gateway: UnicodeString read _Getgateway write _Setgateway; property gateways: TUnicodeStringDynArray read _Getgateways write _Setgateways; property mode: UnicodeString read _Getmode write _Setmode; property report: Boolean read _Getreport write _Setreport; property enabled: Boolean read _Getenabled write _Setenabled; property wifictrlinterfacename: UnicodeString read _Getwifictrlinterfacename write _Setwifictrlinterfacename; property internalIfname: UnicodeString read _GetinternalIfname write _SetinternalIfname; property externalIfname: UnicodeString read _GetexternalIfname write _SetexternalIfname; property enable: Boolean read _Getenable write _Setenable; property ssid: UnicodeString read _Getssid write _Setssid; property security: UnicodeString read _Getsecurity write _Setsecurity; property key: UnicodeString read _Getkey write _Setkey; property prefix: UnicodeString read _Getprefix write _Setprefix; property link: UnicodeString read _Getlink write _Setlink; property interfaceList: TUnicodeStringDynArray read _GetinterfaceList write _SetinterfaceList; property wifiStartIp: UnicodeString read _GetwifiStartIp write _SetwifiStartIp; property wifiEndIp: UnicodeString read _GetwifiEndIp write _SetwifiEndIp; property usbStartIp: UnicodeString read _GetusbStartIp write _SetusbStartIp; property usbEndIp: UnicodeString read _GetusbEndIp write _SetusbEndIp; property dns1: UnicodeString read _Getdns1 write _Setdns1; property dns2: UnicodeString read _Getdns2 write _Setdns2; property threshold: Int64 read _Getthreshold write _Setthreshold; property startIp: UnicodeString read _GetstartIp write _SetstartIp; property endIp: UnicodeString read _GetendIp write _SetendIp; property serverIp: UnicodeString read _GetserverIp write _SetserverIp; property maskLength: UnicodeString read _GetmaskLength write _SetmaskLength; property preInternalIfname: UnicodeString read _GetpreInternalIfname write _SetpreInternalIfname; property preExternalIfname: UnicodeString read _GetpreExternalIfname write _SetpreExternalIfname; property curInternalIfname: UnicodeString read _GetcurInternalIfname write _SetcurInternalIfname; property curExternalIfname: UnicodeString read _GetcurExternalIfname write _SetcurExternalIfname; property ipaddr: LongInt read _Getipaddr write _Setipaddr; property mask: LongInt read _Getmask write _Setmask; property gateway_long: LongInt read _Getgateway_long write _Setgateway_long; property dns1_long: LongInt read _Getdns1_long write _Setdns1_long; property dns2_long: LongInt read _Getdns2_long write _Setdns2_long; property mtu: LongInt read _Getmtu write _Setmtu; end; { -------------------------------------------------------------------- TJSNetworkResultOptions --------------------------------------------------------------------} TJSNetworkResultOptionsRec = record id: LongInt; ret: Boolean; broadcast: Boolean; topic: UnicodeString; reason: UnicodeString; resultCode: LongInt; resultReason: UnicodeString; error: Boolean; enable: Boolean; result: Boolean; success: Boolean; curExternalIfname: UnicodeString; curInternalIfname: UnicodeString; reply: UnicodeString; route: UnicodeString; ipaddr_str: UnicodeString; gateway_str: UnicodeString; dns1_str: UnicodeString; dns2_str: UnicodeString; mask_str: UnicodeString; server_str: UnicodeString; vendor_str: UnicodeString; lease: LongInt; prefixLength: LongInt; mask: LongInt; gateway: LongInt; dns1: LongInt; dns2: LongInt; server: LongInt; netId: UnicodeString; interfaceList: TUnicodeStringDynArray; flag: UnicodeString; macAddr: UnicodeString; ipAddr: UnicodeString; end; IJSNetworkResultOptions = interface(IJSObject) ['{5AFDD509-50DE-3D6F-8461-F6CF59ED262A}'] function _Getid: LongInt; function _Getret: Boolean; function _Getbroadcast: Boolean; function _Gettopic: UnicodeString; function _Getreason: UnicodeString; function _GetresultCode: LongInt; function _GetresultReason: UnicodeString; function _Geterror: Boolean; function _Getenable: Boolean; function _Getresult: Boolean; function _Getsuccess: Boolean; function _GetcurExternalIfname: UnicodeString; function _GetcurInternalIfname: UnicodeString; function _Getreply: UnicodeString; function _Getroute: UnicodeString; function _Getipaddr_str: UnicodeString; function _Getgateway_str: UnicodeString; function _Getdns1_str: UnicodeString; function _Getdns2_str: UnicodeString; function _Getmask_str: UnicodeString; function _Getserver_str: UnicodeString; function _Getvendor_str: UnicodeString; function _Getlease: LongInt; function _GetprefixLength: LongInt; function _Getmask: LongInt; function _Getgateway: LongInt; function _Getdns1: LongInt; function _Getdns2: LongInt; function _Getserver: LongInt; function _GetnetId: UnicodeString; function _GetinterfaceList: TUnicodeStringDynArray; function _Getflag: UnicodeString; function _GetmacAddr: UnicodeString; function _GetipAddr: UnicodeString; procedure _Setid(const aValue: LongInt); procedure _Setret(const aValue: Boolean); procedure _Setbroadcast(const aValue: Boolean); procedure _Settopic(const aValue: UnicodeString); procedure _Setreason(const aValue: UnicodeString); procedure _SetresultCode(const aValue: LongInt); procedure _SetresultReason(const aValue: UnicodeString); procedure _Seterror(const aValue: Boolean); procedure _Setenable(const aValue: Boolean); procedure _Setresult(const aValue: Boolean); procedure _Setsuccess(const aValue: Boolean); procedure _SetcurExternalIfname(const aValue: UnicodeString); procedure _SetcurInternalIfname(const aValue: UnicodeString); procedure _Setreply(const aValue: UnicodeString); procedure _Setroute(const aValue: UnicodeString); procedure _Setipaddr_str(const aValue: UnicodeString); procedure _Setgateway_str(const aValue: UnicodeString); procedure _Setdns1_str(const aValue: UnicodeString); procedure _Setdns2_str(const aValue: UnicodeString); procedure _Setmask_str(const aValue: UnicodeString); procedure _Setserver_str(const aValue: UnicodeString); procedure _Setvendor_str(const aValue: UnicodeString); procedure _Setlease(const aValue: LongInt); procedure _SetprefixLength(const aValue: LongInt); procedure _Setmask(const aValue: LongInt); procedure _Setgateway(const aValue: LongInt); procedure _Setdns1(const aValue: LongInt); procedure _Setdns2(const aValue: LongInt); procedure _Setserver(const aValue: LongInt); procedure _SetnetId(const aValue: UnicodeString); procedure _SetinterfaceList(const aValue: TUnicodeStringDynArray); procedure _Setflag(const aValue: UnicodeString); procedure _SetmacAddr(const aValue: UnicodeString); procedure _SetipAddr(const aValue: UnicodeString); property id: LongInt read _Getid write _Setid; property ret: Boolean read _Getret write _Setret; property broadcast: Boolean read _Getbroadcast write _Setbroadcast; property topic: UnicodeString read _Gettopic write _Settopic; property reason: UnicodeString read _Getreason write _Setreason; property resultCode: LongInt read _GetresultCode write _SetresultCode; property resultReason: UnicodeString read _GetresultReason write _SetresultReason; property error: Boolean read _Geterror write _Seterror; property enable: Boolean read _Getenable write _Setenable; property result: Boolean read _Getresult write _Setresult; property success: Boolean read _Getsuccess write _Setsuccess; property curExternalIfname: UnicodeString read _GetcurExternalIfname write _SetcurExternalIfname; property curInternalIfname: UnicodeString read _GetcurInternalIfname write _SetcurInternalIfname; property reply: UnicodeString read _Getreply write _Setreply; property route: UnicodeString read _Getroute write _Setroute; property ipaddr_str: UnicodeString read _Getipaddr_str write _Setipaddr_str; property gateway_str: UnicodeString read _Getgateway_str write _Setgateway_str; property dns1_str: UnicodeString read _Getdns1_str write _Setdns1_str; property dns2_str: UnicodeString read _Getdns2_str write _Setdns2_str; property mask_str: UnicodeString read _Getmask_str write _Setmask_str; property server_str: UnicodeString read _Getserver_str write _Setserver_str; property vendor_str: UnicodeString read _Getvendor_str write _Setvendor_str; property lease: LongInt read _Getlease write _Setlease; property prefixLength: LongInt read _GetprefixLength write _SetprefixLength; property mask: LongInt read _Getmask write _Setmask; property gateway: LongInt read _Getgateway write _Setgateway; property dns1: LongInt read _Getdns1 write _Setdns1; property dns2: LongInt read _Getdns2 write _Setdns2; property server: LongInt read _Getserver write _Setserver; property netId: UnicodeString read _GetnetId write _SetnetId; property interfaceList: TUnicodeStringDynArray read _GetinterfaceList write _SetinterfaceList; property flag: UnicodeString read _Getflag write _Setflag; property macAddr: UnicodeString read _GetmacAddr write _SetmacAddr; property ipAddr: UnicodeString read _GetipAddr write _SetipAddr; end; TJSNetworkResultOptions = class(TJSObject,IJSNetworkResultOptions) Private Protected function _Getid: LongInt; function _Getret: Boolean; function _Getbroadcast: Boolean; function _Gettopic: UnicodeString; function _Getreason: UnicodeString; function _GetresultCode: LongInt; function _GetresultReason: UnicodeString; function _Geterror: Boolean; function _Getenable: Boolean; function _Getresult: Boolean; function _Getsuccess: Boolean; function _GetcurExternalIfname: UnicodeString; function _GetcurInternalIfname: UnicodeString; function _Getreply: UnicodeString; function _Getroute: UnicodeString; function _Getipaddr_str: UnicodeString; function _Getgateway_str: UnicodeString; function _Getdns1_str: UnicodeString; function _Getdns2_str: UnicodeString; function _Getmask_str: UnicodeString; function _Getserver_str: UnicodeString; function _Getvendor_str: UnicodeString; function _Getlease: LongInt; function _GetprefixLength: LongInt; function _Getmask: LongInt; function _Getgateway: LongInt; function _Getdns1: LongInt; function _Getdns2: LongInt; function _Getserver: LongInt; function _GetnetId: UnicodeString; function _GetinterfaceList: TUnicodeStringDynArray; function _Getflag: UnicodeString; function _GetmacAddr: UnicodeString; function _GetipAddr: UnicodeString; procedure _Setid(const aValue: LongInt); procedure _Setret(const aValue: Boolean); procedure _Setbroadcast(const aValue: Boolean); procedure _Settopic(const aValue: UnicodeString); procedure _Setreason(const aValue: UnicodeString); procedure _SetresultCode(const aValue: LongInt); procedure _SetresultReason(const aValue: UnicodeString); procedure _Seterror(const aValue: Boolean); procedure _Setenable(const aValue: Boolean); procedure _Setresult(const aValue: Boolean); procedure _Setsuccess(const aValue: Boolean); procedure _SetcurExternalIfname(const aValue: UnicodeString); procedure _SetcurInternalIfname(const aValue: UnicodeString); procedure _Setreply(const aValue: UnicodeString); procedure _Setroute(const aValue: UnicodeString); procedure _Setipaddr_str(const aValue: UnicodeString); procedure _Setgateway_str(const aValue: UnicodeString); procedure _Setdns1_str(const aValue: UnicodeString); procedure _Setdns2_str(const aValue: UnicodeString); procedure _Setmask_str(const aValue: UnicodeString); procedure _Setserver_str(const aValue: UnicodeString); procedure _Setvendor_str(const aValue: UnicodeString); procedure _Setlease(const aValue: LongInt); procedure _SetprefixLength(const aValue: LongInt); procedure _Setmask(const aValue: LongInt); procedure _Setgateway(const aValue: LongInt); procedure _Setdns1(const aValue: LongInt); procedure _Setdns2(const aValue: LongInt); procedure _Setserver(const aValue: LongInt); procedure _SetnetId(const aValue: UnicodeString); procedure _SetinterfaceList(const aValue: TUnicodeStringDynArray); procedure _Setflag(const aValue: UnicodeString); procedure _SetmacAddr(const aValue: UnicodeString); procedure _SetipAddr(const aValue: UnicodeString); Public constructor create(const aDict : TJSNetworkResultOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNetworkResultOptions; property id: LongInt read _Getid write _Setid; property ret: Boolean read _Getret write _Setret; property broadcast: Boolean read _Getbroadcast write _Setbroadcast; property topic: UnicodeString read _Gettopic write _Settopic; property reason: UnicodeString read _Getreason write _Setreason; property resultCode: LongInt read _GetresultCode write _SetresultCode; property resultReason: UnicodeString read _GetresultReason write _SetresultReason; property error: Boolean read _Geterror write _Seterror; property enable: Boolean read _Getenable write _Setenable; property result: Boolean read _Getresult write _Setresult; property success: Boolean read _Getsuccess write _Setsuccess; property curExternalIfname: UnicodeString read _GetcurExternalIfname write _SetcurExternalIfname; property curInternalIfname: UnicodeString read _GetcurInternalIfname write _SetcurInternalIfname; property reply: UnicodeString read _Getreply write _Setreply; property route: UnicodeString read _Getroute write _Setroute; property ipaddr_str: UnicodeString read _Getipaddr_str write _Setipaddr_str; property gateway_str: UnicodeString read _Getgateway_str write _Setgateway_str; property dns1_str: UnicodeString read _Getdns1_str write _Setdns1_str; property dns2_str: UnicodeString read _Getdns2_str write _Setdns2_str; property mask_str: UnicodeString read _Getmask_str write _Setmask_str; property server_str: UnicodeString read _Getserver_str write _Setserver_str; property vendor_str: UnicodeString read _Getvendor_str write _Setvendor_str; property lease: LongInt read _Getlease write _Setlease; property prefixLength: LongInt read _GetprefixLength write _SetprefixLength; property mask: LongInt read _Getmask write _Setmask; property gateway: LongInt read _Getgateway write _Setgateway; property dns1: LongInt read _Getdns1 write _Setdns1; property dns2: LongInt read _Getdns2 write _Setdns2; property server: LongInt read _Getserver write _Setserver; property netId: UnicodeString read _GetnetId write _SetnetId; property interfaceList: TUnicodeStringDynArray read _GetinterfaceList write _SetinterfaceList; property flag: UnicodeString read _Getflag write _Setflag; property macAddr: UnicodeString read _GetmacAddr write _SetmacAddr; property ipAddr: UnicodeString read _GetipAddr write _SetipAddr; end; { -------------------------------------------------------------------- TJSGetRootNodeOptions --------------------------------------------------------------------} TJSGetRootNodeOptionsRec = record composed: Boolean; end; IJSGetRootNodeOptions = interface(IJSObject) ['{2BC346DD-E12C-3BEA-8791-64CAD5D64448}'] function _Getcomposed: Boolean; procedure _Setcomposed(const aValue: Boolean); property composed: Boolean read _Getcomposed write _Setcomposed; end; TJSGetRootNodeOptions = class(TJSObject,IJSGetRootNodeOptions) Private Protected function _Getcomposed: Boolean; procedure _Setcomposed(const aValue: Boolean); Public constructor create(const aDict : TJSGetRootNodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGetRootNodeOptions; property composed: Boolean read _Getcomposed write _Setcomposed; end; { -------------------------------------------------------------------- TJSNotificationOptions --------------------------------------------------------------------} TJSNotificationOptionsRec = record dir: TNotificationDirection; lang: UnicodeString; body: UnicodeString; tag: UnicodeString; icon: UnicodeString; requireInteraction: Boolean; silent: Boolean; vibrate: TVibratePattern; data: Variant; mozbehavior: TJSNotificationBehavior; end; IJSNotificationOptions = interface(IJSObject) ['{CAD1062C-BF05-359A-B803-7A6E7F223F51}'] function _Getdir: TNotificationDirection; function _Getlang: UnicodeString; function _Getbody: UnicodeString; function _Gettag: UnicodeString; function _Geticon: UnicodeString; function _GetrequireInteraction: Boolean; function _Getsilent: Boolean; function _Getvibrate: TVibratePattern; function _Getdata: Variant; function _Getmozbehavior: IJSNotificationBehavior; procedure _Setdir(const aValue: TNotificationDirection); procedure _Setlang(const aValue: UnicodeString); procedure _Setbody(const aValue: UnicodeString); procedure _Settag(const aValue: UnicodeString); procedure _Seticon(const aValue: UnicodeString); procedure _SetrequireInteraction(const aValue: Boolean); procedure _Setsilent(const aValue: Boolean); procedure _Setvibrate(const aValue: TVibratePattern); procedure _Setdata(const aValue: Variant); procedure _Setmozbehavior(const aValue: IJSNotificationBehavior); property dir: TNotificationDirection read _Getdir write _Setdir; property lang: UnicodeString read _Getlang write _Setlang; property body: UnicodeString read _Getbody write _Setbody; property tag: UnicodeString read _Gettag write _Settag; property icon: UnicodeString read _Geticon write _Seticon; property requireInteraction: Boolean read _GetrequireInteraction write _SetrequireInteraction; property silent: Boolean read _Getsilent write _Setsilent; property vibrate: TVibratePattern read _Getvibrate write _Setvibrate; property data: Variant read _Getdata write _Setdata; property mozbehavior: IJSNotificationBehavior read _Getmozbehavior write _Setmozbehavior; end; TJSNotificationOptions = class(TJSObject,IJSNotificationOptions) Private Protected function _Getdir: TNotificationDirection; function _Getlang: UnicodeString; function _Getbody: UnicodeString; function _Gettag: UnicodeString; function _Geticon: UnicodeString; function _GetrequireInteraction: Boolean; function _Getsilent: Boolean; function _Getvibrate: TVibratePattern; function _Getdata: Variant; function _Getmozbehavior: IJSNotificationBehavior; procedure _Setdir(const aValue: TNotificationDirection); procedure _Setlang(const aValue: UnicodeString); procedure _Setbody(const aValue: UnicodeString); procedure _Settag(const aValue: UnicodeString); procedure _Seticon(const aValue: UnicodeString); procedure _SetrequireInteraction(const aValue: Boolean); procedure _Setsilent(const aValue: Boolean); procedure _Setvibrate(const aValue: TVibratePattern); procedure _Setdata(const aValue: Variant); procedure _Setmozbehavior(const aValue: IJSNotificationBehavior); Public constructor create(const aDict : TJSNotificationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNotificationOptions; property dir: TNotificationDirection read _Getdir write _Setdir; property lang: UnicodeString read _Getlang write _Setlang; property body: UnicodeString read _Getbody write _Setbody; property tag: UnicodeString read _Gettag write _Settag; property icon: UnicodeString read _Geticon write _Seticon; property requireInteraction: Boolean read _GetrequireInteraction write _SetrequireInteraction; property silent: Boolean read _Getsilent write _Setsilent; property vibrate: TVibratePattern read _Getvibrate write _Setvibrate; property data: Variant read _Getdata write _Setdata; property mozbehavior: IJSNotificationBehavior read _Getmozbehavior write _Setmozbehavior; end; { -------------------------------------------------------------------- TJSGetNotificationOptions --------------------------------------------------------------------} TJSGetNotificationOptionsRec = record tag: UnicodeString; end; IJSGetNotificationOptions = interface(IJSObject) ['{19DFE83E-D902-35EA-BC95-1DF7555AB98E}'] function _Gettag: UnicodeString; procedure _Settag(const aValue: UnicodeString); property tag: UnicodeString read _Gettag write _Settag; end; TJSGetNotificationOptions = class(TJSObject,IJSGetNotificationOptions) Private Protected function _Gettag: UnicodeString; procedure _Settag(const aValue: UnicodeString); Public constructor create(const aDict : TJSGetNotificationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGetNotificationOptions; property tag: UnicodeString read _Gettag write _Settag; end; { -------------------------------------------------------------------- TJSNotificationBehavior --------------------------------------------------------------------} TCardinalDynArray = IJSArray; // array of unsigned long TJSNotificationBehaviorRec = record noscreen: Boolean; noclear: Boolean; showOnlyOnce: Boolean; soundFile: UnicodeString; vibrationPattern: TCardinalDynArray; end; IJSNotificationBehavior = interface(IJSObject) ['{1125E9DB-E893-39FE-BF14-1B8BED9B0880}'] function _Getnoscreen: Boolean; function _Getnoclear: Boolean; function _GetshowOnlyOnce: Boolean; function _GetsoundFile: UnicodeString; function _GetvibrationPattern: TCardinalDynArray; procedure _Setnoscreen(const aValue: Boolean); procedure _Setnoclear(const aValue: Boolean); procedure _SetshowOnlyOnce(const aValue: Boolean); procedure _SetsoundFile(const aValue: UnicodeString); procedure _SetvibrationPattern(const aValue: TCardinalDynArray); property noscreen: Boolean read _Getnoscreen write _Setnoscreen; property noclear: Boolean read _Getnoclear write _Setnoclear; property showOnlyOnce: Boolean read _GetshowOnlyOnce write _SetshowOnlyOnce; property soundFile: UnicodeString read _GetsoundFile write _SetsoundFile; property vibrationPattern: TCardinalDynArray read _GetvibrationPattern write _SetvibrationPattern; end; TJSNotificationBehavior = class(TJSObject,IJSNotificationBehavior) Private Protected function _Getnoscreen: Boolean; function _Getnoclear: Boolean; function _GetshowOnlyOnce: Boolean; function _GetsoundFile: UnicodeString; function _GetvibrationPattern: TCardinalDynArray; procedure _Setnoscreen(const aValue: Boolean); procedure _Setnoclear(const aValue: Boolean); procedure _SetshowOnlyOnce(const aValue: Boolean); procedure _SetsoundFile(const aValue: UnicodeString); procedure _SetvibrationPattern(const aValue: TCardinalDynArray); Public constructor create(const aDict : TJSNotificationBehaviorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNotificationBehavior; property noscreen: Boolean read _Getnoscreen write _Setnoscreen; property noclear: Boolean read _Getnoclear write _Setnoclear; property showOnlyOnce: Boolean read _GetshowOnlyOnce write _SetshowOnlyOnce; property soundFile: UnicodeString read _GetsoundFile write _SetsoundFile; property vibrationPattern: TCardinalDynArray read _GetvibrationPattern write _SetvibrationPattern; end; { -------------------------------------------------------------------- TJSOfflineAudioContextOptions --------------------------------------------------------------------} TJSOfflineAudioContextOptionsRec = record numberOfChannels: Cardinal; length_: Cardinal; sampleRate: Single; end; IJSOfflineAudioContextOptions = interface(IJSObject) ['{63C194CE-7520-3D33-9D7E-4D51B60FE25E}'] function _GetnumberOfChannels: Cardinal; function _Getlength_: Cardinal; function _GetsampleRate: Single; procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetsampleRate(const aValue: Single); property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property length_: Cardinal read _Getlength_ write _Setlength_; property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; TJSOfflineAudioContextOptions = class(TJSObject,IJSOfflineAudioContextOptions) Private Protected function _GetnumberOfChannels: Cardinal; function _Getlength_: Cardinal; function _GetsampleRate: Single; procedure _SetnumberOfChannels(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetsampleRate(const aValue: Single); Public constructor create(const aDict : TJSOfflineAudioContextOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOfflineAudioContextOptions; property numberOfChannels: Cardinal read _GetnumberOfChannels write _SetnumberOfChannels; property length_: Cardinal read _Getlength_ write _Setlength_; property sampleRate: Single read _GetsampleRate write _SetsampleRate; end; { -------------------------------------------------------------------- TJSImageEncodeOptions --------------------------------------------------------------------} TJSImageEncodeOptionsRec = record type_: UnicodeString; quality: Double; end; IJSImageEncodeOptions = interface(IJSObject) ['{45F1632C-B7D9-35EA-8791-64CAD79CE33D}'] function _Gettype_: UnicodeString; function _Getquality: Double; procedure _Settype_(const aValue: UnicodeString); procedure _Setquality(const aValue: Double); property type_: UnicodeString read _Gettype_ write _Settype_; property quality: Double read _Getquality write _Setquality; end; TJSImageEncodeOptions = class(TJSObject,IJSImageEncodeOptions) Private Protected function _Gettype_: UnicodeString; function _Getquality: Double; procedure _Settype_(const aValue: UnicodeString); procedure _Setquality(const aValue: Double); Public constructor create(const aDict : TJSImageEncodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageEncodeOptions; property type_: UnicodeString read _Gettype_ write _Settype_; property quality: Double read _Getquality write _Setquality; end; { -------------------------------------------------------------------- TJSPaymentMethodData --------------------------------------------------------------------} TJSPaymentMethodDataRec = record supportedMethods: UnicodeString; data: IJSObject; end; IJSPaymentMethodData = interface(IJSObject) ['{B34C12EF-6469-350E-8F39-8C04BD8C7C7A}'] function _GetsupportedMethods: UnicodeString; function _Getdata: IJSObject; procedure _SetsupportedMethods(const aValue: UnicodeString); procedure _Setdata(const aValue: IJSObject); property supportedMethods: UnicodeString read _GetsupportedMethods write _SetsupportedMethods; property data: IJSObject read _Getdata write _Setdata; end; TJSPaymentMethodData = class(TJSObject,IJSPaymentMethodData) Private Protected function _GetsupportedMethods: UnicodeString; function _Getdata: IJSObject; procedure _SetsupportedMethods(const aValue: UnicodeString); procedure _Setdata(const aValue: IJSObject); Public constructor create(const aDict : TJSPaymentMethodDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentMethodData; property supportedMethods: UnicodeString read _GetsupportedMethods write _SetsupportedMethods; property data: IJSObject read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSPaymentCurrencyAmount --------------------------------------------------------------------} TJSPaymentCurrencyAmountRec = record currency: UnicodeString; value: UnicodeString; end; IJSPaymentCurrencyAmount = interface(IJSObject) ['{39933056-3FDF-3257-A79E-91495CADACC1}'] function _Getcurrency: UnicodeString; function _Getvalue: UnicodeString; procedure _Setcurrency(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); property currency: UnicodeString read _Getcurrency write _Setcurrency; property value: UnicodeString read _Getvalue write _Setvalue; end; TJSPaymentCurrencyAmount = class(TJSObject,IJSPaymentCurrencyAmount) Private Protected function _Getcurrency: UnicodeString; function _Getvalue: UnicodeString; procedure _Setcurrency(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); Public constructor create(const aDict : TJSPaymentCurrencyAmountRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentCurrencyAmount; property currency: UnicodeString read _Getcurrency write _Setcurrency; property value: UnicodeString read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSPaymentItem --------------------------------------------------------------------} TJSPaymentItemRec = record label_: UnicodeString; amount: TJSPaymentCurrencyAmount; pending: Boolean; end; IJSPaymentItem = interface(IJSObject) ['{E682AA16-BC9A-3DA7-99C0-CB3D2F354A4C}'] function _Getlabel_: UnicodeString; function _Getamount: IJSPaymentCurrencyAmount; function _Getpending: Boolean; procedure _Setlabel_(const aValue: UnicodeString); procedure _Setamount(const aValue: IJSPaymentCurrencyAmount); procedure _Setpending(const aValue: Boolean); property label_: UnicodeString read _Getlabel_ write _Setlabel_; property amount: IJSPaymentCurrencyAmount read _Getamount write _Setamount; property pending: Boolean read _Getpending write _Setpending; end; TJSPaymentItem = class(TJSObject,IJSPaymentItem) Private Protected function _Getlabel_: UnicodeString; function _Getamount: IJSPaymentCurrencyAmount; function _Getpending: Boolean; procedure _Setlabel_(const aValue: UnicodeString); procedure _Setamount(const aValue: IJSPaymentCurrencyAmount); procedure _Setpending(const aValue: Boolean); Public constructor create(const aDict : TJSPaymentItemRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentItem; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property amount: IJSPaymentCurrencyAmount read _Getamount write _Setamount; property pending: Boolean read _Getpending write _Setpending; end; { -------------------------------------------------------------------- TJSPaymentShippingOption --------------------------------------------------------------------} TJSPaymentShippingOptionRec = record id: UnicodeString; label_: UnicodeString; amount: TJSPaymentCurrencyAmount; selected: Boolean; end; IJSPaymentShippingOption = interface(IJSObject) ['{0B38B9E4-AC89-35ED-9E8B-D601741DC630}'] function _Getid: UnicodeString; function _Getlabel_: UnicodeString; function _Getamount: IJSPaymentCurrencyAmount; function _Getselected: Boolean; procedure _Setid(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setamount(const aValue: IJSPaymentCurrencyAmount); procedure _Setselected(const aValue: Boolean); property id: UnicodeString read _Getid write _Setid; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property amount: IJSPaymentCurrencyAmount read _Getamount write _Setamount; property selected: Boolean read _Getselected write _Setselected; end; TJSPaymentShippingOption = class(TJSObject,IJSPaymentShippingOption) Private Protected function _Getid: UnicodeString; function _Getlabel_: UnicodeString; function _Getamount: IJSPaymentCurrencyAmount; function _Getselected: Boolean; procedure _Setid(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setamount(const aValue: IJSPaymentCurrencyAmount); procedure _Setselected(const aValue: Boolean); Public constructor create(const aDict : TJSPaymentShippingOptionRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentShippingOption; property id: UnicodeString read _Getid write _Setid; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property amount: IJSPaymentCurrencyAmount read _Getamount write _Setamount; property selected: Boolean read _Getselected write _Setselected; end; { -------------------------------------------------------------------- TJSPaymentDetailsModifier --------------------------------------------------------------------} TJSPaymentItemDynArray = IJSArray; // array of PaymentItem TJSPaymentDetailsModifierRec = record supportedMethods: UnicodeString; total: TJSPaymentItem; additionalDisplayItems: TJSPaymentItemDynArray; data: IJSObject; end; IJSPaymentDetailsModifier = interface(IJSObject) ['{86E6FBD0-5258-31C8-8A90-D18C361079D1}'] function _GetsupportedMethods: UnicodeString; function _Gettotal: IJSPaymentItem; function _GetadditionalDisplayItems: TJSPaymentItemDynArray; function _Getdata: IJSObject; procedure _SetsupportedMethods(const aValue: UnicodeString); procedure _Settotal(const aValue: IJSPaymentItem); procedure _SetadditionalDisplayItems(const aValue: TJSPaymentItemDynArray); procedure _Setdata(const aValue: IJSObject); property supportedMethods: UnicodeString read _GetsupportedMethods write _SetsupportedMethods; property total: IJSPaymentItem read _Gettotal write _Settotal; property additionalDisplayItems: TJSPaymentItemDynArray read _GetadditionalDisplayItems write _SetadditionalDisplayItems; property data: IJSObject read _Getdata write _Setdata; end; TJSPaymentDetailsModifier = class(TJSObject,IJSPaymentDetailsModifier) Private Protected function _GetsupportedMethods: UnicodeString; function _Gettotal: IJSPaymentItem; function _GetadditionalDisplayItems: TJSPaymentItemDynArray; function _Getdata: IJSObject; procedure _SetsupportedMethods(const aValue: UnicodeString); procedure _Settotal(const aValue: IJSPaymentItem); procedure _SetadditionalDisplayItems(const aValue: TJSPaymentItemDynArray); procedure _Setdata(const aValue: IJSObject); Public constructor create(const aDict : TJSPaymentDetailsModifierRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentDetailsModifier; property supportedMethods: UnicodeString read _GetsupportedMethods write _SetsupportedMethods; property total: IJSPaymentItem read _Gettotal write _Settotal; property additionalDisplayItems: TJSPaymentItemDynArray read _GetadditionalDisplayItems write _SetadditionalDisplayItems; property data: IJSObject read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSPaymentDetailsBase --------------------------------------------------------------------} TJSPaymentShippingOptionDynArray = IJSArray; // array of PaymentShippingOption TJSPaymentDetailsModifierDynArray = IJSArray; // array of PaymentDetailsModifier TJSPaymentDetailsBaseRec = record displayItems: TJSPaymentItemDynArray; shippingOptions: TJSPaymentShippingOptionDynArray; modifiers: TJSPaymentDetailsModifierDynArray; end; IJSPaymentDetailsBase = interface(IJSObject) ['{DFDB1D1B-852B-35D8-9DF8-98C8878C4D54}'] function _GetdisplayItems: TJSPaymentItemDynArray; function _GetshippingOptions: TJSPaymentShippingOptionDynArray; function _Getmodifiers: TJSPaymentDetailsModifierDynArray; procedure _SetdisplayItems(const aValue: TJSPaymentItemDynArray); procedure _SetshippingOptions(const aValue: TJSPaymentShippingOptionDynArray); procedure _Setmodifiers(const aValue: TJSPaymentDetailsModifierDynArray); property displayItems: TJSPaymentItemDynArray read _GetdisplayItems write _SetdisplayItems; property shippingOptions: TJSPaymentShippingOptionDynArray read _GetshippingOptions write _SetshippingOptions; property modifiers: TJSPaymentDetailsModifierDynArray read _Getmodifiers write _Setmodifiers; end; TJSPaymentDetailsBase = class(TJSObject,IJSPaymentDetailsBase) Private Protected function _GetdisplayItems: TJSPaymentItemDynArray; function _GetshippingOptions: TJSPaymentShippingOptionDynArray; function _Getmodifiers: TJSPaymentDetailsModifierDynArray; procedure _SetdisplayItems(const aValue: TJSPaymentItemDynArray); procedure _SetshippingOptions(const aValue: TJSPaymentShippingOptionDynArray); procedure _Setmodifiers(const aValue: TJSPaymentDetailsModifierDynArray); Public constructor create(const aDict : TJSPaymentDetailsBaseRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentDetailsBase; property displayItems: TJSPaymentItemDynArray read _GetdisplayItems write _SetdisplayItems; property shippingOptions: TJSPaymentShippingOptionDynArray read _GetshippingOptions write _SetshippingOptions; property modifiers: TJSPaymentDetailsModifierDynArray read _Getmodifiers write _Setmodifiers; end; { -------------------------------------------------------------------- TJSAddressErrors --------------------------------------------------------------------} TJSAddressErrorsRec = record addressLine: UnicodeString; city: UnicodeString; country: UnicodeString; dependentLocality: UnicodeString; organization: UnicodeString; phone: UnicodeString; postalCode: UnicodeString; recipient: UnicodeString; region: UnicodeString; regionCode: UnicodeString; sortingCode: UnicodeString; end; IJSAddressErrors = interface(IJSObject) ['{67276967-A252-3188-A344-6D0B895D056D}'] function _GetaddressLine: UnicodeString; function _Getcity: UnicodeString; function _Getcountry: UnicodeString; function _GetdependentLocality: UnicodeString; function _Getorganization: UnicodeString; function _Getphone: UnicodeString; function _GetpostalCode: UnicodeString; function _Getrecipient: UnicodeString; function _Getregion: UnicodeString; function _GetregionCode: UnicodeString; function _GetsortingCode: UnicodeString; procedure _SetaddressLine(const aValue: UnicodeString); procedure _Setcity(const aValue: UnicodeString); procedure _Setcountry(const aValue: UnicodeString); procedure _SetdependentLocality(const aValue: UnicodeString); procedure _Setorganization(const aValue: UnicodeString); procedure _Setphone(const aValue: UnicodeString); procedure _SetpostalCode(const aValue: UnicodeString); procedure _Setrecipient(const aValue: UnicodeString); procedure _Setregion(const aValue: UnicodeString); procedure _SetregionCode(const aValue: UnicodeString); procedure _SetsortingCode(const aValue: UnicodeString); property addressLine: UnicodeString read _GetaddressLine write _SetaddressLine; property city: UnicodeString read _Getcity write _Setcity; property country: UnicodeString read _Getcountry write _Setcountry; property dependentLocality: UnicodeString read _GetdependentLocality write _SetdependentLocality; property organization: UnicodeString read _Getorganization write _Setorganization; property phone: UnicodeString read _Getphone write _Setphone; property postalCode: UnicodeString read _GetpostalCode write _SetpostalCode; property recipient: UnicodeString read _Getrecipient write _Setrecipient; property region: UnicodeString read _Getregion write _Setregion; property regionCode: UnicodeString read _GetregionCode write _SetregionCode; property sortingCode: UnicodeString read _GetsortingCode write _SetsortingCode; end; TJSAddressErrors = class(TJSObject,IJSAddressErrors) Private Protected function _GetaddressLine: UnicodeString; function _Getcity: UnicodeString; function _Getcountry: UnicodeString; function _GetdependentLocality: UnicodeString; function _Getorganization: UnicodeString; function _Getphone: UnicodeString; function _GetpostalCode: UnicodeString; function _Getrecipient: UnicodeString; function _Getregion: UnicodeString; function _GetregionCode: UnicodeString; function _GetsortingCode: UnicodeString; procedure _SetaddressLine(const aValue: UnicodeString); procedure _Setcity(const aValue: UnicodeString); procedure _Setcountry(const aValue: UnicodeString); procedure _SetdependentLocality(const aValue: UnicodeString); procedure _Setorganization(const aValue: UnicodeString); procedure _Setphone(const aValue: UnicodeString); procedure _SetpostalCode(const aValue: UnicodeString); procedure _Setrecipient(const aValue: UnicodeString); procedure _Setregion(const aValue: UnicodeString); procedure _SetregionCode(const aValue: UnicodeString); procedure _SetsortingCode(const aValue: UnicodeString); Public constructor create(const aDict : TJSAddressErrorsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAddressErrors; property addressLine: UnicodeString read _GetaddressLine write _SetaddressLine; property city: UnicodeString read _Getcity write _Setcity; property country: UnicodeString read _Getcountry write _Setcountry; property dependentLocality: UnicodeString read _GetdependentLocality write _SetdependentLocality; property organization: UnicodeString read _Getorganization write _Setorganization; property phone: UnicodeString read _Getphone write _Setphone; property postalCode: UnicodeString read _GetpostalCode write _SetpostalCode; property recipient: UnicodeString read _Getrecipient write _Setrecipient; property region: UnicodeString read _Getregion write _Setregion; property regionCode: UnicodeString read _GetregionCode write _SetregionCode; property sortingCode: UnicodeString read _GetsortingCode write _SetsortingCode; end; { -------------------------------------------------------------------- TJSPaymentValidationErrors --------------------------------------------------------------------} TJSPaymentValidationErrorsRec = record payer: TJSPayerErrors; shippingAddress: TJSAddressErrors; error: UnicodeString; paymentMethod: IJSObject; end; IJSPaymentValidationErrors = interface(IJSObject) ['{BF4AD0F9-2832-34F8-8C96-A553A7E4E661}'] function _Getpayer: IJSPayerErrors; function _GetshippingAddress: IJSAddressErrors; function _Geterror: UnicodeString; function _GetpaymentMethod: IJSObject; procedure _Setpayer(const aValue: IJSPayerErrors); procedure _SetshippingAddress(const aValue: IJSAddressErrors); procedure _Seterror(const aValue: UnicodeString); procedure _SetpaymentMethod(const aValue: IJSObject); property payer: IJSPayerErrors read _Getpayer write _Setpayer; property shippingAddress: IJSAddressErrors read _GetshippingAddress write _SetshippingAddress; property error: UnicodeString read _Geterror write _Seterror; property paymentMethod: IJSObject read _GetpaymentMethod write _SetpaymentMethod; end; TJSPaymentValidationErrors = class(TJSObject,IJSPaymentValidationErrors) Private Protected function _Getpayer: IJSPayerErrors; function _GetshippingAddress: IJSAddressErrors; function _Geterror: UnicodeString; function _GetpaymentMethod: IJSObject; procedure _Setpayer(const aValue: IJSPayerErrors); procedure _SetshippingAddress(const aValue: IJSAddressErrors); procedure _Seterror(const aValue: UnicodeString); procedure _SetpaymentMethod(const aValue: IJSObject); Public constructor create(const aDict : TJSPaymentValidationErrorsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentValidationErrors; property payer: IJSPayerErrors read _Getpayer write _Setpayer; property shippingAddress: IJSAddressErrors read _GetshippingAddress write _SetshippingAddress; property error: UnicodeString read _Geterror write _Seterror; property paymentMethod: IJSObject read _GetpaymentMethod write _SetpaymentMethod; end; { -------------------------------------------------------------------- TJSPayerErrors --------------------------------------------------------------------} TJSPayerErrorsRec = record email: UnicodeString; name: UnicodeString; phone: UnicodeString; end; IJSPayerErrors = interface(IJSObject) ['{A62526B2-7B51-3E5F-B5BD-32F936E15418}'] function _Getemail: UnicodeString; function _Getname: UnicodeString; function _Getphone: UnicodeString; procedure _Setemail(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setphone(const aValue: UnicodeString); property email: UnicodeString read _Getemail write _Setemail; property name: UnicodeString read _Getname write _Setname; property phone: UnicodeString read _Getphone write _Setphone; end; TJSPayerErrors = class(TJSObject,IJSPayerErrors) Private Protected function _Getemail: UnicodeString; function _Getname: UnicodeString; function _Getphone: UnicodeString; procedure _Setemail(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setphone(const aValue: UnicodeString); Public constructor create(const aDict : TJSPayerErrorsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPayerErrors; property email: UnicodeString read _Getemail write _Setemail; property name: UnicodeString read _Getname write _Setname; property phone: UnicodeString read _Getphone write _Setphone; end; { -------------------------------------------------------------------- TJSPaymentOptions --------------------------------------------------------------------} TJSPaymentOptionsRec = record requestPayerName: Boolean; requestPayerEmail: Boolean; requestPayerPhone: Boolean; requestShipping: Boolean; requestBillingAddress: Boolean; shippingType: TPaymentShippingType; end; IJSPaymentOptions = interface(IJSObject) ['{77A0170B-94F7-394B-9208-974212882628}'] function _GetrequestPayerName: Boolean; function _GetrequestPayerEmail: Boolean; function _GetrequestPayerPhone: Boolean; function _GetrequestShipping: Boolean; function _GetrequestBillingAddress: Boolean; function _GetshippingType: TPaymentShippingType; procedure _SetrequestPayerName(const aValue: Boolean); procedure _SetrequestPayerEmail(const aValue: Boolean); procedure _SetrequestPayerPhone(const aValue: Boolean); procedure _SetrequestShipping(const aValue: Boolean); procedure _SetrequestBillingAddress(const aValue: Boolean); procedure _SetshippingType(const aValue: TPaymentShippingType); property requestPayerName: Boolean read _GetrequestPayerName write _SetrequestPayerName; property requestPayerEmail: Boolean read _GetrequestPayerEmail write _SetrequestPayerEmail; property requestPayerPhone: Boolean read _GetrequestPayerPhone write _SetrequestPayerPhone; property requestShipping: Boolean read _GetrequestShipping write _SetrequestShipping; property requestBillingAddress: Boolean read _GetrequestBillingAddress write _SetrequestBillingAddress; property shippingType: TPaymentShippingType read _GetshippingType write _SetshippingType; end; TJSPaymentOptions = class(TJSObject,IJSPaymentOptions) Private Protected function _GetrequestPayerName: Boolean; function _GetrequestPayerEmail: Boolean; function _GetrequestPayerPhone: Boolean; function _GetrequestShipping: Boolean; function _GetrequestBillingAddress: Boolean; function _GetshippingType: TPaymentShippingType; procedure _SetrequestPayerName(const aValue: Boolean); procedure _SetrequestPayerEmail(const aValue: Boolean); procedure _SetrequestPayerPhone(const aValue: Boolean); procedure _SetrequestShipping(const aValue: Boolean); procedure _SetrequestBillingAddress(const aValue: Boolean); procedure _SetshippingType(const aValue: TPaymentShippingType); Public constructor create(const aDict : TJSPaymentOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentOptions; property requestPayerName: Boolean read _GetrequestPayerName write _SetrequestPayerName; property requestPayerEmail: Boolean read _GetrequestPayerEmail write _SetrequestPayerEmail; property requestPayerPhone: Boolean read _GetrequestPayerPhone write _SetrequestPayerPhone; property requestShipping: Boolean read _GetrequestShipping write _SetrequestShipping; property requestBillingAddress: Boolean read _GetrequestBillingAddress write _SetrequestBillingAddress; property shippingType: TPaymentShippingType read _GetshippingType write _SetshippingType; end; { -------------------------------------------------------------------- TJSPCErrorData --------------------------------------------------------------------} TJSPCErrorDataRec = record name: TPCError; message: UnicodeString; end; IJSPCErrorData = interface(IJSObject) ['{EEE077E4-1BA1-3280-B581-C6668B42443B}'] function _Getname: TPCError; function _Getmessage: UnicodeString; procedure _Setname(const aValue: TPCError); procedure _Setmessage(const aValue: UnicodeString); property name: TPCError read _Getname write _Setname; property message: UnicodeString read _Getmessage write _Setmessage; end; TJSPCErrorData = class(TJSObject,IJSPCErrorData) Private Protected function _Getname: TPCError; function _Getmessage: UnicodeString; procedure _Setname(const aValue: TPCError); procedure _Setmessage(const aValue: UnicodeString); Public constructor create(const aDict : TJSPCErrorDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPCErrorData; property name: TPCError read _Getname write _Setname; property message: UnicodeString read _Getmessage write _Setmessage; end; { -------------------------------------------------------------------- TJSPerformanceMarkOptions --------------------------------------------------------------------} TJSPerformanceMarkOptionsRec = record detail: Variant; startTime: TDOMHighResTimeStamp; end; IJSPerformanceMarkOptions = interface(IJSObject) ['{60F004B6-883C-3423-88ED-3537555AB96F}'] function _Getdetail: Variant; function _GetstartTime: TDOMHighResTimeStamp; procedure _Setdetail(const aValue: Variant); procedure _SetstartTime(const aValue: TDOMHighResTimeStamp); property detail: Variant read _Getdetail write _Setdetail; property startTime: TDOMHighResTimeStamp read _GetstartTime write _SetstartTime; end; TJSPerformanceMarkOptions = class(TJSObject,IJSPerformanceMarkOptions) Private Protected function _Getdetail: Variant; function _GetstartTime: TDOMHighResTimeStamp; procedure _Setdetail(const aValue: Variant); procedure _SetstartTime(const aValue: TDOMHighResTimeStamp); Public constructor create(const aDict : TJSPerformanceMarkOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceMarkOptions; property detail: Variant read _Getdetail write _Setdetail; property startTime: TDOMHighResTimeStamp read _GetstartTime write _SetstartTime; end; { -------------------------------------------------------------------- TJSPerformanceMeasureOptions --------------------------------------------------------------------} // Union of DOMString, DOMHighResTimeStamp TPerformanceMeasureOptions_start_Type = Variant; // Union of DOMString, DOMHighResTimeStamp TPerformanceMeasureOptions_end_Type = Variant; TJSPerformanceMeasureOptionsRec = record detail: Variant; start: TPerformanceMeasureOptions_start_Type; duration: TDOMHighResTimeStamp; end_: TPerformanceMeasureOptions_end_Type; end; IJSPerformanceMeasureOptions = interface(IJSObject) ['{A3073EDF-D76E-3D42-9C7C-F3AA8CEC5702}'] function _Getdetail: Variant; function _Getstart: TPerformanceMeasureOptions_start_Type; function _Getduration: TDOMHighResTimeStamp; function _Getend_: TPerformanceMeasureOptions_end_Type; procedure _Setdetail(const aValue: Variant); procedure _Setstart(const aValue: TPerformanceMeasureOptions_start_Type); procedure _Setduration(const aValue: TDOMHighResTimeStamp); procedure _Setend_(const aValue: TPerformanceMeasureOptions_end_Type); property detail: Variant read _Getdetail write _Setdetail; property start: TPerformanceMeasureOptions_start_Type read _Getstart write _Setstart; property duration: TDOMHighResTimeStamp read _Getduration write _Setduration; property end_: TPerformanceMeasureOptions_end_Type read _Getend_ write _Setend_; end; TJSPerformanceMeasureOptions = class(TJSObject,IJSPerformanceMeasureOptions) Private Protected function _Getdetail: Variant; function _Getstart: TPerformanceMeasureOptions_start_Type; function _Getduration: TDOMHighResTimeStamp; function _Getend_: TPerformanceMeasureOptions_end_Type; procedure _Setdetail(const aValue: Variant); procedure _Setstart(const aValue: TPerformanceMeasureOptions_start_Type); procedure _Setduration(const aValue: TDOMHighResTimeStamp); procedure _Setend_(const aValue: TPerformanceMeasureOptions_end_Type); Public constructor create(const aDict : TJSPerformanceMeasureOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceMeasureOptions; property detail: Variant read _Getdetail write _Setdetail; property start: TPerformanceMeasureOptions_start_Type read _Getstart write _Setstart; property duration: TDOMHighResTimeStamp read _Getduration write _Setduration; property end_: TPerformanceMeasureOptions_end_Type read _Getend_ write _Setend_; end; { -------------------------------------------------------------------- TJSPerformanceObserverInit --------------------------------------------------------------------} TJSPerformanceObserverInitRec = record entryTypes: TUnicodeStringDynArray; type_: UnicodeString; buffered: Boolean; durationThreshold: TDOMHighResTimeStamp; end; IJSPerformanceObserverInit = interface(IJSObject) ['{B33EC5A8-FC3B-3E48-99FD-9F2ED7D7C6B5}'] function _GetentryTypes: TUnicodeStringDynArray; function _Gettype_: UnicodeString; function _Getbuffered: Boolean; function _GetdurationThreshold: TDOMHighResTimeStamp; procedure _SetentryTypes(const aValue: TUnicodeStringDynArray); procedure _Settype_(const aValue: UnicodeString); procedure _Setbuffered(const aValue: Boolean); procedure _SetdurationThreshold(const aValue: TDOMHighResTimeStamp); property entryTypes: TUnicodeStringDynArray read _GetentryTypes write _SetentryTypes; property type_: UnicodeString read _Gettype_ write _Settype_; property buffered: Boolean read _Getbuffered write _Setbuffered; property durationThreshold: TDOMHighResTimeStamp read _GetdurationThreshold write _SetdurationThreshold; end; TJSPerformanceObserverInit = class(TJSObject,IJSPerformanceObserverInit) Private Protected function _GetentryTypes: TUnicodeStringDynArray; function _Gettype_: UnicodeString; function _Getbuffered: Boolean; function _GetdurationThreshold: TDOMHighResTimeStamp; procedure _SetentryTypes(const aValue: TUnicodeStringDynArray); procedure _Settype_(const aValue: UnicodeString); procedure _Setbuffered(const aValue: Boolean); procedure _SetdurationThreshold(const aValue: TDOMHighResTimeStamp); Public constructor create(const aDict : TJSPerformanceObserverInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceObserverInit; property entryTypes: TUnicodeStringDynArray read _GetentryTypes write _SetentryTypes; property type_: UnicodeString read _Gettype_ write _Settype_; property buffered: Boolean read _Getbuffered write _Setbuffered; property durationThreshold: TDOMHighResTimeStamp read _GetdurationThreshold write _SetdurationThreshold; end; { -------------------------------------------------------------------- TJSPerformanceEntryFilterOptions --------------------------------------------------------------------} TJSPerformanceEntryFilterOptionsRec = record name: UnicodeString; entryType: UnicodeString; initiatorType: UnicodeString; end; IJSPerformanceEntryFilterOptions = interface(IJSObject) ['{75594349-642A-3EE6-87F5-8F8DAAF65C48}'] function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetinitiatorType: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SetentryType(const aValue: UnicodeString); procedure _SetinitiatorType(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property entryType: UnicodeString read _GetentryType write _SetentryType; property initiatorType: UnicodeString read _GetinitiatorType write _SetinitiatorType; end; TJSPerformanceEntryFilterOptions = class(TJSObject,IJSPerformanceEntryFilterOptions) Private Protected function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetinitiatorType: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SetentryType(const aValue: UnicodeString); procedure _SetinitiatorType(const aValue: UnicodeString); Public constructor create(const aDict : TJSPerformanceEntryFilterOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceEntryFilterOptions; property name: UnicodeString read _Getname write _Setname; property entryType: UnicodeString read _GetentryType write _SetentryType; property initiatorType: UnicodeString read _GetinitiatorType write _SetinitiatorType; end; { -------------------------------------------------------------------- TJSPeriodicWaveConstraints --------------------------------------------------------------------} TJSPeriodicWaveConstraintsRec = record disableNormalization: Boolean; end; IJSPeriodicWaveConstraints = interface(IJSObject) ['{D1646603-B6B5-3D45-9392-6C0BD965E11B}'] function _GetdisableNormalization: Boolean; procedure _SetdisableNormalization(const aValue: Boolean); property disableNormalization: Boolean read _GetdisableNormalization write _SetdisableNormalization; end; TJSPeriodicWaveConstraints = class(TJSObject,IJSPeriodicWaveConstraints) Private Protected function _GetdisableNormalization: Boolean; procedure _SetdisableNormalization(const aValue: Boolean); Public constructor create(const aDict : TJSPeriodicWaveConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPeriodicWaveConstraints; property disableNormalization: Boolean read _GetdisableNormalization write _SetdisableNormalization; end; { -------------------------------------------------------------------- TJSPermissionDescriptor --------------------------------------------------------------------} TJSPermissionDescriptorRec = record name: TPermissionName; end; IJSPermissionDescriptor = interface(IJSObject) ['{8345D4FB-2A41-3CD9-8B3D-84C3E476E910}'] function _Getname: TPermissionName; procedure _Setname(const aValue: TPermissionName); property name: TPermissionName read _Getname write _Setname; end; TJSPermissionDescriptor = class(TJSObject,IJSPermissionDescriptor) Private Protected function _Getname: TPermissionName; procedure _Setname(const aValue: TPermissionName); Public constructor create(const aDict : TJSPermissionDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPermissionDescriptor; property name: TPermissionName read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSPushSubscriptionOptionsInit --------------------------------------------------------------------} // Union of BufferSource, DOMString TPushSubscriptionOptionsInit_applicationServerKey_Type = Variant; TJSPushSubscriptionOptionsInitRec = record applicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type; end; IJSPushSubscriptionOptionsInit = interface(IJSObject) ['{07756F32-4DA5-31A7-A7D2-813A90912A9A}'] function _GetapplicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type; procedure _SetapplicationServerKey(const aValue: TPushSubscriptionOptionsInit_applicationServerKey_Type); property applicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type read _GetapplicationServerKey write _SetapplicationServerKey; end; TJSPushSubscriptionOptionsInit = class(TJSObject,IJSPushSubscriptionOptionsInit) Private Protected function _GetapplicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type; procedure _SetapplicationServerKey(const aValue: TPushSubscriptionOptionsInit_applicationServerKey_Type); Public constructor create(const aDict : TJSPushSubscriptionOptionsInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscriptionOptionsInit; property applicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type read _GetapplicationServerKey write _SetapplicationServerKey; end; { -------------------------------------------------------------------- TJSPushSubscriptionKeys --------------------------------------------------------------------} TJSPushSubscriptionKeysRec = record p256dh: UnicodeString; auth: UnicodeString; end; IJSPushSubscriptionKeys = interface(IJSObject) ['{C90C51C8-444C-301C-A19E-B30A8B1EA61E}'] function _Getp256dh: UnicodeString; function _Getauth: UnicodeString; procedure _Setp256dh(const aValue: UnicodeString); procedure _Setauth(const aValue: UnicodeString); property p256dh: UnicodeString read _Getp256dh write _Setp256dh; property auth: UnicodeString read _Getauth write _Setauth; end; TJSPushSubscriptionKeys = class(TJSObject,IJSPushSubscriptionKeys) Private Protected function _Getp256dh: UnicodeString; function _Getauth: UnicodeString; procedure _Setp256dh(const aValue: UnicodeString); procedure _Setauth(const aValue: UnicodeString); Public constructor create(const aDict : TJSPushSubscriptionKeysRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscriptionKeys; property p256dh: UnicodeString read _Getp256dh write _Setp256dh; property auth: UnicodeString read _Getauth write _Setauth; end; { -------------------------------------------------------------------- TJSPushSubscriptionJSON --------------------------------------------------------------------} TJSPushSubscriptionJSONRec = record endpoint: UnicodeString; keys: TJSPushSubscriptionKeys; expirationTime: TEpochTimeStamp; end; IJSPushSubscriptionJSON = interface(IJSObject) ['{6A771078-AB80-34B0-853F-274B3FE25D6F}'] function _Getendpoint: UnicodeString; function _Getkeys: IJSPushSubscriptionKeys; function _GetexpirationTime: TEpochTimeStamp; procedure _Setendpoint(const aValue: UnicodeString); procedure _Setkeys(const aValue: IJSPushSubscriptionKeys); procedure _SetexpirationTime(const aValue: TEpochTimeStamp); property endpoint: UnicodeString read _Getendpoint write _Setendpoint; property keys: IJSPushSubscriptionKeys read _Getkeys write _Setkeys; property expirationTime: TEpochTimeStamp read _GetexpirationTime write _SetexpirationTime; end; TJSPushSubscriptionJSON = class(TJSObject,IJSPushSubscriptionJSON) Private Protected function _Getendpoint: UnicodeString; function _Getkeys: IJSPushSubscriptionKeys; function _GetexpirationTime: TEpochTimeStamp; procedure _Setendpoint(const aValue: UnicodeString); procedure _Setkeys(const aValue: IJSPushSubscriptionKeys); procedure _SetexpirationTime(const aValue: TEpochTimeStamp); Public constructor create(const aDict : TJSPushSubscriptionJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscriptionJSON; property endpoint: UnicodeString read _Getendpoint write _Setendpoint; property keys: IJSPushSubscriptionKeys read _Getkeys write _Setkeys; property expirationTime: TEpochTimeStamp read _GetexpirationTime write _SetexpirationTime; end; { -------------------------------------------------------------------- TJSPushSubscriptionInit --------------------------------------------------------------------} TJSPushSubscriptionInitRec = record endpoint: UnicodeString; scope: UnicodeString; p256dhKey: IJSArrayBuffer; authSecret: IJSArrayBuffer; appServerKey: IJSBufferSource; expirationTime: TEpochTimeStamp; end; IJSPushSubscriptionInit = interface(IJSObject) ['{8CA36740-86E6-3694-97A2-5D78AA8FA5B7}'] function _Getendpoint: UnicodeString; function _Getscope: UnicodeString; function _Getp256dhKey: IJSArrayBuffer; function _GetauthSecret: IJSArrayBuffer; function _GetappServerKey: IJSBufferSource; function _GetexpirationTime: TEpochTimeStamp; procedure _Setendpoint(const aValue: UnicodeString); procedure _Setscope(const aValue: UnicodeString); procedure _Setp256dhKey(const aValue: IJSArrayBuffer); procedure _SetauthSecret(const aValue: IJSArrayBuffer); procedure _SetappServerKey(const aValue: IJSBufferSource); procedure _SetexpirationTime(const aValue: TEpochTimeStamp); property endpoint: UnicodeString read _Getendpoint write _Setendpoint; property scope: UnicodeString read _Getscope write _Setscope; property p256dhKey: IJSArrayBuffer read _Getp256dhKey write _Setp256dhKey; property authSecret: IJSArrayBuffer read _GetauthSecret write _SetauthSecret; property appServerKey: IJSBufferSource read _GetappServerKey write _SetappServerKey; property expirationTime: TEpochTimeStamp read _GetexpirationTime write _SetexpirationTime; end; TJSPushSubscriptionInit = class(TJSObject,IJSPushSubscriptionInit) Private Protected function _Getendpoint: UnicodeString; function _Getscope: UnicodeString; function _Getp256dhKey: IJSArrayBuffer; function _GetauthSecret: IJSArrayBuffer; function _GetappServerKey: IJSBufferSource; function _GetexpirationTime: TEpochTimeStamp; procedure _Setendpoint(const aValue: UnicodeString); procedure _Setscope(const aValue: UnicodeString); procedure _Setp256dhKey(const aValue: IJSArrayBuffer); procedure _SetauthSecret(const aValue: IJSArrayBuffer); procedure _SetappServerKey(const aValue: IJSBufferSource); procedure _SetexpirationTime(const aValue: TEpochTimeStamp); Public constructor create(const aDict : TJSPushSubscriptionInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscriptionInit; property endpoint: UnicodeString read _Getendpoint write _Setendpoint; property scope: UnicodeString read _Getscope write _Setscope; property p256dhKey: IJSArrayBuffer read _Getp256dhKey write _Setp256dhKey; property authSecret: IJSArrayBuffer read _GetauthSecret write _SetauthSecret; property appServerKey: IJSBufferSource read _GetappServerKey write _SetappServerKey; property expirationTime: TEpochTimeStamp read _GetexpirationTime write _SetexpirationTime; end; { -------------------------------------------------------------------- TJSQueuingStrategy --------------------------------------------------------------------} TJSQueuingStrategyRec = record highWaterMark: Double; size: TQueuingStrategySize; end; IJSQueuingStrategy = interface(IJSObject) ['{F27E0EE8-08C0-3219-A638-B53809085915}'] function _GethighWaterMark: Double; function _Getsize: TQueuingStrategySize; procedure _SethighWaterMark(const aValue: Double); procedure _Setsize(const aValue: TQueuingStrategySize); property highWaterMark: Double read _GethighWaterMark write _SethighWaterMark; property size: TQueuingStrategySize read _Getsize write _Setsize; end; TJSQueuingStrategy = class(TJSObject,IJSQueuingStrategy) Private Protected function _GethighWaterMark: Double; function _Getsize: TQueuingStrategySize; procedure _SethighWaterMark(const aValue: Double); procedure _Setsize(const aValue: TQueuingStrategySize); Public constructor create(const aDict : TJSQueuingStrategyRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSQueuingStrategy; property highWaterMark: Double read _GethighWaterMark write _SethighWaterMark; property size: TQueuingStrategySize read _Getsize write _Setsize; end; { -------------------------------------------------------------------- TJSQueuingStrategyInit --------------------------------------------------------------------} TJSQueuingStrategyInitRec = record highWaterMark: Double; end; IJSQueuingStrategyInit = interface(IJSObject) ['{1EFAB0C3-64CD-32CF-944E-642C493C9EAF}'] function _GethighWaterMark: Double; procedure _SethighWaterMark(const aValue: Double); property highWaterMark: Double read _GethighWaterMark write _SethighWaterMark; end; TJSQueuingStrategyInit = class(TJSObject,IJSQueuingStrategyInit) Private Protected function _GethighWaterMark: Double; procedure _SethighWaterMark(const aValue: Double); Public constructor create(const aDict : TJSQueuingStrategyInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSQueuingStrategyInit; property highWaterMark: Double read _GethighWaterMark write _SethighWaterMark; end; { -------------------------------------------------------------------- TJSClientRectsAndTexts --------------------------------------------------------------------} TJSClientRectsAndTextsRec = record rectList: TJSDOMRectList; textList: TUnicodeStringDynArray; end; IJSClientRectsAndTexts = interface(IJSObject) ['{72F7678A-76AE-3894-96F7-4326F0C27DC7}'] function _GetrectList: IJSDOMRectList; function _GettextList: TUnicodeStringDynArray; procedure _SetrectList(const aValue: IJSDOMRectList); procedure _SettextList(const aValue: TUnicodeStringDynArray); property rectList: IJSDOMRectList read _GetrectList write _SetrectList; property textList: TUnicodeStringDynArray read _GettextList write _SettextList; end; TJSClientRectsAndTexts = class(TJSObject,IJSClientRectsAndTexts) Private Protected function _GetrectList: IJSDOMRectList; function _GettextList: TUnicodeStringDynArray; procedure _SetrectList(const aValue: IJSDOMRectList); procedure _SettextList(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSClientRectsAndTextsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClientRectsAndTexts; property rectList: IJSDOMRectList read _GetrectList write _SetrectList; property textList: TUnicodeStringDynArray read _GettextList write _SettextList; end; { -------------------------------------------------------------------- TJSReadableStreamGetReaderOptions --------------------------------------------------------------------} TJSReadableStreamGetReaderOptionsRec = record mode: TReadableStreamReaderMode; end; IJSReadableStreamGetReaderOptions = interface(IJSObject) ['{517FACC9-62C9-37B1-B9AA-C1F3920A30CF}'] function _Getmode: TReadableStreamReaderMode; procedure _Setmode(const aValue: TReadableStreamReaderMode); property mode: TReadableStreamReaderMode read _Getmode write _Setmode; end; TJSReadableStreamGetReaderOptions = class(TJSObject,IJSReadableStreamGetReaderOptions) Private Protected function _Getmode: TReadableStreamReaderMode; procedure _Setmode(const aValue: TReadableStreamReaderMode); Public constructor create(const aDict : TJSReadableStreamGetReaderOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamGetReaderOptions; property mode: TReadableStreamReaderMode read _Getmode write _Setmode; end; { -------------------------------------------------------------------- TJSReadableStreamIteratorOptions --------------------------------------------------------------------} TJSReadableStreamIteratorOptionsRec = record preventCancel: Boolean; end; IJSReadableStreamIteratorOptions = interface(IJSObject) ['{83F4E7BF-DB3D-387B-966B-E9C2B62580FE}'] function _GetpreventCancel: Boolean; procedure _SetpreventCancel(const aValue: Boolean); property preventCancel: Boolean read _GetpreventCancel write _SetpreventCancel; end; TJSReadableStreamIteratorOptions = class(TJSObject,IJSReadableStreamIteratorOptions) Private Protected function _GetpreventCancel: Boolean; procedure _SetpreventCancel(const aValue: Boolean); Public constructor create(const aDict : TJSReadableStreamIteratorOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamIteratorOptions; property preventCancel: Boolean read _GetpreventCancel write _SetpreventCancel; end; { -------------------------------------------------------------------- TJSReadableWritablePair --------------------------------------------------------------------} TJSReadableWritablePairRec = record readable: TJSReadableStream; writable: TJSWritableStream; end; IJSReadableWritablePair = interface(IJSObject) ['{A35BD933-AC82-3408-890B-7B39D9DE0AF8}'] function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; procedure _Setreadable(const aValue: IJSReadableStream); procedure _Setwritable(const aValue: IJSWritableStream); property readable: IJSReadableStream read _Getreadable write _Setreadable; property writable: IJSWritableStream read _Getwritable write _Setwritable; end; TJSReadableWritablePair = class(TJSObject,IJSReadableWritablePair) Private Protected function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; procedure _Setreadable(const aValue: IJSReadableStream); procedure _Setwritable(const aValue: IJSWritableStream); Public constructor create(const aDict : TJSReadableWritablePairRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableWritablePair; property readable: IJSReadableStream read _Getreadable write _Setreadable; property writable: IJSWritableStream read _Getwritable write _Setwritable; end; { -------------------------------------------------------------------- TJSStreamPipeOptions --------------------------------------------------------------------} TJSStreamPipeOptionsRec = record preventClose: Boolean; preventAbort: Boolean; preventCancel: Boolean; signal: TJSAbortSignal; end; IJSStreamPipeOptions = interface(IJSObject) ['{D257C9F0-A081-3BDE-B832-C99ABB398443}'] function _GetpreventClose: Boolean; function _GetpreventAbort: Boolean; function _GetpreventCancel: Boolean; function _Getsignal: IJSAbortSignal; procedure _SetpreventClose(const aValue: Boolean); procedure _SetpreventAbort(const aValue: Boolean); procedure _SetpreventCancel(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); property preventClose: Boolean read _GetpreventClose write _SetpreventClose; property preventAbort: Boolean read _GetpreventAbort write _SetpreventAbort; property preventCancel: Boolean read _GetpreventCancel write _SetpreventCancel; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; TJSStreamPipeOptions = class(TJSObject,IJSStreamPipeOptions) Private Protected function _GetpreventClose: Boolean; function _GetpreventAbort: Boolean; function _GetpreventCancel: Boolean; function _Getsignal: IJSAbortSignal; procedure _SetpreventClose(const aValue: Boolean); procedure _SetpreventAbort(const aValue: Boolean); procedure _SetpreventCancel(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); Public constructor create(const aDict : TJSStreamPipeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStreamPipeOptions; property preventClose: Boolean read _GetpreventClose write _SetpreventClose; property preventAbort: Boolean read _GetpreventAbort write _SetpreventAbort; property preventCancel: Boolean read _GetpreventCancel write _SetpreventCancel; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; { -------------------------------------------------------------------- TJSReadableStreamReadResult --------------------------------------------------------------------} TJSReadableStreamReadResultRec = record value: Variant; done: Boolean; end; IJSReadableStreamReadResult = interface(IJSObject) ['{3613841C-E350-3383-9C5B-A771F657BE5E}'] function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; TJSReadableStreamReadResult = class(TJSObject,IJSReadableStreamReadResult) Private Protected function _Getvalue: Variant; function _Getdone: Boolean; procedure _Setvalue(const aValue: Variant); procedure _Setdone(const aValue: Boolean); Public constructor create(const aDict : TJSReadableStreamReadResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamReadResult; property value: Variant read _Getvalue write _Setvalue; property done: Boolean read _Getdone write _Setdone; end; { -------------------------------------------------------------------- TJSReportingObserverOptions --------------------------------------------------------------------} TJSReportingObserverOptionsRec = record types: TUnicodeStringDynArray; buffered: Boolean; end; IJSReportingObserverOptions = interface(IJSObject) ['{B32A851F-5C3A-323F-A2E0-D872FB51932E}'] function _Gettypes: TUnicodeStringDynArray; function _Getbuffered: Boolean; procedure _Settypes(const aValue: TUnicodeStringDynArray); procedure _Setbuffered(const aValue: Boolean); property types: TUnicodeStringDynArray read _Gettypes write _Settypes; property buffered: Boolean read _Getbuffered write _Setbuffered; end; TJSReportingObserverOptions = class(TJSObject,IJSReportingObserverOptions) Private Protected function _Gettypes: TUnicodeStringDynArray; function _Getbuffered: Boolean; procedure _Settypes(const aValue: TUnicodeStringDynArray); procedure _Setbuffered(const aValue: Boolean); Public constructor create(const aDict : TJSReportingObserverOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportingObserverOptions; property types: TUnicodeStringDynArray read _Gettypes write _Settypes; property buffered: Boolean read _Getbuffered write _Setbuffered; end; { -------------------------------------------------------------------- TJSReportingHeaderValue --------------------------------------------------------------------} TJSReportingItemDynArray = IJSArray; // array of ReportingItem TJSReportingHeaderValueRec = record items: TJSReportingItemDynArray; end; IJSReportingHeaderValue = interface(IJSObject) ['{3CC5F4F3-7346-3747-8FAE-949CF08C25C1}'] function _Getitems: TJSReportingItemDynArray; procedure _Setitems(const aValue: TJSReportingItemDynArray); property items: TJSReportingItemDynArray read _Getitems write _Setitems; end; TJSReportingHeaderValue = class(TJSObject,IJSReportingHeaderValue) Private Protected function _Getitems: TJSReportingItemDynArray; procedure _Setitems(const aValue: TJSReportingItemDynArray); Public constructor create(const aDict : TJSReportingHeaderValueRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportingHeaderValue; property items: TJSReportingItemDynArray read _Getitems write _Setitems; end; { -------------------------------------------------------------------- TJSReportingItem --------------------------------------------------------------------} TJSReportingItemRec = record max_age: Variant; endpoints: Variant; group: Variant; include_subdomains: Boolean; end; IJSReportingItem = interface(IJSObject) ['{22B9B1E5-057A-35CE-BD36-83C891CE385C}'] function _Getmax_age: Variant; function _Getendpoints: Variant; function _Getgroup: Variant; function _Getinclude_subdomains: Boolean; procedure _Setmax_age(const aValue: Variant); procedure _Setendpoints(const aValue: Variant); procedure _Setgroup(const aValue: Variant); procedure _Setinclude_subdomains(const aValue: Boolean); property max_age: Variant read _Getmax_age write _Setmax_age; property endpoints: Variant read _Getendpoints write _Setendpoints; property group: Variant read _Getgroup write _Setgroup; property include_subdomains: Boolean read _Getinclude_subdomains write _Setinclude_subdomains; end; TJSReportingItem = class(TJSObject,IJSReportingItem) Private Protected function _Getmax_age: Variant; function _Getendpoints: Variant; function _Getgroup: Variant; function _Getinclude_subdomains: Boolean; procedure _Setmax_age(const aValue: Variant); procedure _Setendpoints(const aValue: Variant); procedure _Setgroup(const aValue: Variant); procedure _Setinclude_subdomains(const aValue: Boolean); Public constructor create(const aDict : TJSReportingItemRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportingItem; property max_age: Variant read _Getmax_age write _Setmax_age; property endpoints: Variant read _Getendpoints write _Setendpoints; property group: Variant read _Getgroup write _Setgroup; property include_subdomains: Boolean read _Getinclude_subdomains write _Setinclude_subdomains; end; { -------------------------------------------------------------------- TJSReportingEndpoint --------------------------------------------------------------------} TJSReportingEndpointRec = record url: Variant; priority: Variant; weight: Variant; end; IJSReportingEndpoint = interface(IJSObject) ['{A7BDF47D-9817-331B-A925-E6F91FA1FEE6}'] function _Geturl: Variant; function _Getpriority: Variant; function _Getweight: Variant; procedure _Seturl(const aValue: Variant); procedure _Setpriority(const aValue: Variant); procedure _Setweight(const aValue: Variant); property url: Variant read _Geturl write _Seturl; property priority: Variant read _Getpriority write _Setpriority; property weight: Variant read _Getweight write _Setweight; end; TJSReportingEndpoint = class(TJSObject,IJSReportingEndpoint) Private Protected function _Geturl: Variant; function _Getpriority: Variant; function _Getweight: Variant; procedure _Seturl(const aValue: Variant); procedure _Setpriority(const aValue: Variant); procedure _Setweight(const aValue: Variant); Public constructor create(const aDict : TJSReportingEndpointRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportingEndpoint; property url: Variant read _Geturl write _Seturl; property priority: Variant read _Getpriority write _Setpriority; property weight: Variant read _Getweight write _Setweight; end; { -------------------------------------------------------------------- TJSRequestInit --------------------------------------------------------------------} TJSRequestInitRec = record method: UnicodeString; headers: THeadersInit; body: TBodyInit; referrer: UTF8String; referrerPolicy: TReferrerPolicy; mode: TRequestMode; credentials: TRequestCredentials; cache: TRequestCache; redirect: TRequestRedirect; integrity: UnicodeString; keepalive: Boolean; signal: TJSAbortSignal; priority: TRequestPriority; observe: TObserverCallback; end; IJSRequestInit = interface(IJSObject) ['{55B2048F-D51C-3E14-AEBF-25123747A133}'] function _Getmethod: UnicodeString; function _Getheaders: THeadersInit; function _Getbody: TBodyInit; function _Getreferrer: UTF8String; function _GetreferrerPolicy: TReferrerPolicy; function _Getmode: TRequestMode; function _Getcredentials: TRequestCredentials; function _Getcache: TRequestCache; function _Getredirect: TRequestRedirect; function _Getintegrity: UnicodeString; function _Getkeepalive: Boolean; function _Getsignal: IJSAbortSignal; function _Getpriority: TRequestPriority; function _Getobserve: TObserverCallback; procedure _Setmethod(const aValue: UnicodeString); procedure _Setheaders(const aValue: THeadersInit); procedure _Setbody(const aValue: TBodyInit); procedure _Setreferrer(const aValue: UTF8String); procedure _SetreferrerPolicy(const aValue: TReferrerPolicy); procedure _Setmode(const aValue: TRequestMode); procedure _Setcredentials(const aValue: TRequestCredentials); procedure _Setcache(const aValue: TRequestCache); procedure _Setredirect(const aValue: TRequestRedirect); procedure _Setintegrity(const aValue: UnicodeString); procedure _Setkeepalive(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); procedure _Setpriority(const aValue: TRequestPriority); procedure _Setobserve(const aValue: TObserverCallback); property method: UnicodeString read _Getmethod write _Setmethod; property headers: THeadersInit read _Getheaders write _Setheaders; property body: TBodyInit read _Getbody write _Setbody; property referrer: UTF8String read _Getreferrer write _Setreferrer; property referrerPolicy: TReferrerPolicy read _GetreferrerPolicy write _SetreferrerPolicy; property mode: TRequestMode read _Getmode write _Setmode; property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; property cache: TRequestCache read _Getcache write _Setcache; property redirect: TRequestRedirect read _Getredirect write _Setredirect; property integrity: UnicodeString read _Getintegrity write _Setintegrity; property keepalive: Boolean read _Getkeepalive write _Setkeepalive; property signal: IJSAbortSignal read _Getsignal write _Setsignal; property priority: TRequestPriority read _Getpriority write _Setpriority; property observe: TObserverCallback read _Getobserve write _Setobserve; end; TJSRequestInit = class(TJSObject,IJSRequestInit) Private Protected function _Getmethod: UnicodeString; function _Getheaders: THeadersInit; function _Getbody: TBodyInit; function _Getreferrer: UTF8String; function _GetreferrerPolicy: TReferrerPolicy; function _Getmode: TRequestMode; function _Getcredentials: TRequestCredentials; function _Getcache: TRequestCache; function _Getredirect: TRequestRedirect; function _Getintegrity: UnicodeString; function _Getkeepalive: Boolean; function _Getsignal: IJSAbortSignal; function _Getpriority: TRequestPriority; function _Getobserve: TObserverCallback; procedure _Setmethod(const aValue: UnicodeString); procedure _Setheaders(const aValue: THeadersInit); procedure _Setbody(const aValue: TBodyInit); procedure _Setreferrer(const aValue: UTF8String); procedure _SetreferrerPolicy(const aValue: TReferrerPolicy); procedure _Setmode(const aValue: TRequestMode); procedure _Setcredentials(const aValue: TRequestCredentials); procedure _Setcache(const aValue: TRequestCache); procedure _Setredirect(const aValue: TRequestRedirect); procedure _Setintegrity(const aValue: UnicodeString); procedure _Setkeepalive(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); procedure _Setpriority(const aValue: TRequestPriority); procedure _Setobserve(const aValue: TObserverCallback); Public constructor create(const aDict : TJSRequestInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRequestInit; property method: UnicodeString read _Getmethod write _Setmethod; property headers: THeadersInit read _Getheaders write _Setheaders; property body: TBodyInit read _Getbody write _Setbody; property referrer: UTF8String read _Getreferrer write _Setreferrer; property referrerPolicy: TReferrerPolicy read _GetreferrerPolicy write _SetreferrerPolicy; property mode: TRequestMode read _Getmode write _Setmode; property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; property cache: TRequestCache read _Getcache write _Setcache; property redirect: TRequestRedirect read _Getredirect write _Setredirect; property integrity: UnicodeString read _Getintegrity write _Setintegrity; property keepalive: Boolean read _Getkeepalive write _Setkeepalive; property signal: IJSAbortSignal read _Getsignal write _Setsignal; property priority: TRequestPriority read _Getpriority write _Setpriority; property observe: TObserverCallback read _Getobserve write _Setobserve; end; { -------------------------------------------------------------------- TJSResizeObserverOptions --------------------------------------------------------------------} TJSResizeObserverOptionsRec = record box: TResizeObserverBoxOptions; end; IJSResizeObserverOptions = interface(IJSObject) ['{60F22E6B-E247-3F8F-A9B6-FD28C995AB75}'] function _Getbox: TResizeObserverBoxOptions; procedure _Setbox(const aValue: TResizeObserverBoxOptions); property box: TResizeObserverBoxOptions read _Getbox write _Setbox; end; TJSResizeObserverOptions = class(TJSObject,IJSResizeObserverOptions) Private Protected function _Getbox: TResizeObserverBoxOptions; procedure _Setbox(const aValue: TResizeObserverBoxOptions); Public constructor create(const aDict : TJSResizeObserverOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResizeObserverOptions; property box: TResizeObserverBoxOptions read _Getbox write _Setbox; end; { -------------------------------------------------------------------- TJSResponseInit --------------------------------------------------------------------} TJSResponseInitRec = record status: Word; statusText: UnicodeString; headers: THeadersInit; end; IJSResponseInit = interface(IJSObject) ['{6120F7C1-CA66-3589-BEFA-F94A712E5BEB}'] function _Getstatus: Word; function _GetstatusText: UnicodeString; function _Getheaders: THeadersInit; procedure _Setstatus(const aValue: Word); procedure _SetstatusText(const aValue: UnicodeString); procedure _Setheaders(const aValue: THeadersInit); property status: Word read _Getstatus write _Setstatus; property statusText: UnicodeString read _GetstatusText write _SetstatusText; property headers: THeadersInit read _Getheaders write _Setheaders; end; TJSResponseInit = class(TJSObject,IJSResponseInit) Private Protected function _Getstatus: Word; function _GetstatusText: UnicodeString; function _Getheaders: THeadersInit; procedure _Setstatus(const aValue: Word); procedure _SetstatusText(const aValue: UnicodeString); procedure _Setheaders(const aValue: THeadersInit); Public constructor create(const aDict : TJSResponseInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResponseInit; property status: Word read _Getstatus write _Setstatus; property statusText: UnicodeString read _GetstatusText write _SetstatusText; property headers: THeadersInit read _Getheaders write _Setheaders; end; { -------------------------------------------------------------------- TJSRTCCertificateExpiration --------------------------------------------------------------------} TJSRTCCertificateExpirationRec = record expires: TDOMTimeStamp; end; IJSRTCCertificateExpiration = interface(IJSObject) ['{EAB7C04B-A4D8-39AC-A0EE-6458E8573EFF}'] function _Getexpires: TDOMTimeStamp; procedure _Setexpires(const aValue: TDOMTimeStamp); property expires: TDOMTimeStamp read _Getexpires write _Setexpires; end; TJSRTCCertificateExpiration = class(TJSObject,IJSRTCCertificateExpiration) Private Protected function _Getexpires: TDOMTimeStamp; procedure _Setexpires(const aValue: TDOMTimeStamp); Public constructor create(const aDict : TJSRTCCertificateExpirationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCCertificateExpiration; property expires: TDOMTimeStamp read _Getexpires write _Setexpires; end; { -------------------------------------------------------------------- TJSRTCIceServer --------------------------------------------------------------------} // Union of DOMString, sequence TRTCIceServer_urls_Type = Variant; TJSRTCIceServerRec = record urls: TRTCIceServer_urls_Type; url: UnicodeString; username: UnicodeString; credential: UnicodeString; credentialType: TRTCIceCredentialType; end; IJSRTCIceServer = interface(IJSObject) ['{711E045B-85D2-3A95-8186-97097308E809}'] function _Geturls: TRTCIceServer_urls_Type; function _Geturl: UnicodeString; function _Getusername: UnicodeString; function _Getcredential: UnicodeString; function _GetcredentialType: TRTCIceCredentialType; procedure _Seturls(const aValue: TRTCIceServer_urls_Type); procedure _Seturl(const aValue: UnicodeString); procedure _Setusername(const aValue: UnicodeString); procedure _Setcredential(const aValue: UnicodeString); procedure _SetcredentialType(const aValue: TRTCIceCredentialType); property urls: TRTCIceServer_urls_Type read _Geturls write _Seturls; property url: UnicodeString read _Geturl write _Seturl; property username: UnicodeString read _Getusername write _Setusername; property credential: UnicodeString read _Getcredential write _Setcredential; property credentialType: TRTCIceCredentialType read _GetcredentialType write _SetcredentialType; end; TJSRTCIceServer = class(TJSObject,IJSRTCIceServer) Private Protected function _Geturls: TRTCIceServer_urls_Type; function _Geturl: UnicodeString; function _Getusername: UnicodeString; function _Getcredential: UnicodeString; function _GetcredentialType: TRTCIceCredentialType; procedure _Seturls(const aValue: TRTCIceServer_urls_Type); procedure _Seturl(const aValue: UnicodeString); procedure _Setusername(const aValue: UnicodeString); procedure _Setcredential(const aValue: UnicodeString); procedure _SetcredentialType(const aValue: TRTCIceCredentialType); Public constructor create(const aDict : TJSRTCIceServerRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceServer; property urls: TRTCIceServer_urls_Type read _Geturls write _Seturls; property url: UnicodeString read _Geturl write _Seturl; property username: UnicodeString read _Getusername write _Setusername; property credential: UnicodeString read _Getcredential write _Setcredential; property credentialType: TRTCIceCredentialType read _GetcredentialType write _SetcredentialType; end; { -------------------------------------------------------------------- TJSRTCConfiguration --------------------------------------------------------------------} TJSRTCIceServerDynArray = IJSArray; // array of RTCIceServer TJSRTCCertificateDynArray = IJSArray; // array of RTCCertificate TJSRTCConfigurationRec = record iceServers: TJSRTCIceServerDynArray; iceTransportPolicy: TRTCIceTransportPolicy; bundlePolicy: TRTCBundlePolicy; peerIdentity: UnicodeString; certificates: TJSRTCCertificateDynArray; sdpSemantics: UnicodeString; end; IJSRTCConfiguration = interface(IJSObject) ['{5E7F867B-E8DB-34CA-96E9-D7A6BB8C109B}'] function _GeticeServers: TJSRTCIceServerDynArray; function _GeticeTransportPolicy: TRTCIceTransportPolicy; function _GetbundlePolicy: TRTCBundlePolicy; function _GetpeerIdentity: UnicodeString; function _Getcertificates: TJSRTCCertificateDynArray; function _GetsdpSemantics: UnicodeString; procedure _SeticeServers(const aValue: TJSRTCIceServerDynArray); procedure _SeticeTransportPolicy(const aValue: TRTCIceTransportPolicy); procedure _SetbundlePolicy(const aValue: TRTCBundlePolicy); procedure _SetpeerIdentity(const aValue: UnicodeString); procedure _Setcertificates(const aValue: TJSRTCCertificateDynArray); procedure _SetsdpSemantics(const aValue: UnicodeString); property iceServers: TJSRTCIceServerDynArray read _GeticeServers write _SeticeServers; property iceTransportPolicy: TRTCIceTransportPolicy read _GeticeTransportPolicy write _SeticeTransportPolicy; property bundlePolicy: TRTCBundlePolicy read _GetbundlePolicy write _SetbundlePolicy; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; property certificates: TJSRTCCertificateDynArray read _Getcertificates write _Setcertificates; property sdpSemantics: UnicodeString read _GetsdpSemantics write _SetsdpSemantics; end; TJSRTCConfiguration = class(TJSObject,IJSRTCConfiguration) Private Protected function _GeticeServers: TJSRTCIceServerDynArray; function _GeticeTransportPolicy: TRTCIceTransportPolicy; function _GetbundlePolicy: TRTCBundlePolicy; function _GetpeerIdentity: UnicodeString; function _Getcertificates: TJSRTCCertificateDynArray; function _GetsdpSemantics: UnicodeString; procedure _SeticeServers(const aValue: TJSRTCIceServerDynArray); procedure _SeticeTransportPolicy(const aValue: TRTCIceTransportPolicy); procedure _SetbundlePolicy(const aValue: TRTCBundlePolicy); procedure _SetpeerIdentity(const aValue: UnicodeString); procedure _Setcertificates(const aValue: TJSRTCCertificateDynArray); procedure _SetsdpSemantics(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCConfiguration; property iceServers: TJSRTCIceServerDynArray read _GeticeServers write _SeticeServers; property iceTransportPolicy: TRTCIceTransportPolicy read _GeticeTransportPolicy write _SeticeTransportPolicy; property bundlePolicy: TRTCBundlePolicy read _GetbundlePolicy write _SetbundlePolicy; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; property certificates: TJSRTCCertificateDynArray read _Getcertificates write _Setcertificates; property sdpSemantics: UnicodeString read _GetsdpSemantics write _SetsdpSemantics; end; { -------------------------------------------------------------------- TJSRTCEncodedAudioFrameMetadata --------------------------------------------------------------------} TJSRTCEncodedAudioFrameMetadataRec = record synchronizationSource: Cardinal; payloadType: Byte; contributingSources: TCardinalDynArray; sequenceNumber: SmallInt; end; IJSRTCEncodedAudioFrameMetadata = interface(IJSObject) ['{12B52F4E-E8FA-3CB9-A30E-9CCBED9093DA}'] function _GetsynchronizationSource: Cardinal; function _GetpayloadType: Byte; function _GetcontributingSources: TCardinalDynArray; function _GetsequenceNumber: SmallInt; procedure _SetsynchronizationSource(const aValue: Cardinal); procedure _SetpayloadType(const aValue: Byte); procedure _SetcontributingSources(const aValue: TCardinalDynArray); procedure _SetsequenceNumber(const aValue: SmallInt); property synchronizationSource: Cardinal read _GetsynchronizationSource write _SetsynchronizationSource; property payloadType: Byte read _GetpayloadType write _SetpayloadType; property contributingSources: TCardinalDynArray read _GetcontributingSources write _SetcontributingSources; property sequenceNumber: SmallInt read _GetsequenceNumber write _SetsequenceNumber; end; TJSRTCEncodedAudioFrameMetadata = class(TJSObject,IJSRTCEncodedAudioFrameMetadata) Private Protected function _GetsynchronizationSource: Cardinal; function _GetpayloadType: Byte; function _GetcontributingSources: TCardinalDynArray; function _GetsequenceNumber: SmallInt; procedure _SetsynchronizationSource(const aValue: Cardinal); procedure _SetpayloadType(const aValue: Byte); procedure _SetcontributingSources(const aValue: TCardinalDynArray); procedure _SetsequenceNumber(const aValue: SmallInt); Public constructor create(const aDict : TJSRTCEncodedAudioFrameMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCEncodedAudioFrameMetadata; property synchronizationSource: Cardinal read _GetsynchronizationSource write _SetsynchronizationSource; property payloadType: Byte read _GetpayloadType write _SetpayloadType; property contributingSources: TCardinalDynArray read _GetcontributingSources write _SetcontributingSources; property sequenceNumber: SmallInt read _GetsequenceNumber write _SetsequenceNumber; end; { -------------------------------------------------------------------- TJSRTCEncodedVideoFrameMetadata --------------------------------------------------------------------} TQWordDynArray = IJSArray; // array of unsigned long long TJSRTCEncodedVideoFrameMetadataRec = record frameId: QWord; dependencies: TQWordDynArray; width: Word; height: Word; spatialIndex: Cardinal; temporalIndex: Cardinal; synchronizationSource: Cardinal; payloadType: Byte; contributingSources: TCardinalDynArray; timestamp: Int64; end; IJSRTCEncodedVideoFrameMetadata = interface(IJSObject) ['{FE24B749-FCE5-3F46-A7ED-7B1D43C8F6FE}'] function _GetframeId: QWord; function _Getdependencies: TQWordDynArray; function _Getwidth: Word; function _Getheight: Word; function _GetspatialIndex: Cardinal; function _GettemporalIndex: Cardinal; function _GetsynchronizationSource: Cardinal; function _GetpayloadType: Byte; function _GetcontributingSources: TCardinalDynArray; function _Gettimestamp: Int64; procedure _SetframeId(const aValue: QWord); procedure _Setdependencies(const aValue: TQWordDynArray); procedure _Setwidth(const aValue: Word); procedure _Setheight(const aValue: Word); procedure _SetspatialIndex(const aValue: Cardinal); procedure _SettemporalIndex(const aValue: Cardinal); procedure _SetsynchronizationSource(const aValue: Cardinal); procedure _SetpayloadType(const aValue: Byte); procedure _SetcontributingSources(const aValue: TCardinalDynArray); procedure _Settimestamp(const aValue: Int64); property frameId: QWord read _GetframeId write _SetframeId; property dependencies: TQWordDynArray read _Getdependencies write _Setdependencies; property width: Word read _Getwidth write _Setwidth; property height: Word read _Getheight write _Setheight; property spatialIndex: Cardinal read _GetspatialIndex write _SetspatialIndex; property temporalIndex: Cardinal read _GettemporalIndex write _SettemporalIndex; property synchronizationSource: Cardinal read _GetsynchronizationSource write _SetsynchronizationSource; property payloadType: Byte read _GetpayloadType write _SetpayloadType; property contributingSources: TCardinalDynArray read _GetcontributingSources write _SetcontributingSources; property timestamp: Int64 read _Gettimestamp write _Settimestamp; end; TJSRTCEncodedVideoFrameMetadata = class(TJSObject,IJSRTCEncodedVideoFrameMetadata) Private Protected function _GetframeId: QWord; function _Getdependencies: TQWordDynArray; function _Getwidth: Word; function _Getheight: Word; function _GetspatialIndex: Cardinal; function _GettemporalIndex: Cardinal; function _GetsynchronizationSource: Cardinal; function _GetpayloadType: Byte; function _GetcontributingSources: TCardinalDynArray; function _Gettimestamp: Int64; procedure _SetframeId(const aValue: QWord); procedure _Setdependencies(const aValue: TQWordDynArray); procedure _Setwidth(const aValue: Word); procedure _Setheight(const aValue: Word); procedure _SetspatialIndex(const aValue: Cardinal); procedure _SettemporalIndex(const aValue: Cardinal); procedure _SetsynchronizationSource(const aValue: Cardinal); procedure _SetpayloadType(const aValue: Byte); procedure _SetcontributingSources(const aValue: TCardinalDynArray); procedure _Settimestamp(const aValue: Int64); Public constructor create(const aDict : TJSRTCEncodedVideoFrameMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCEncodedVideoFrameMetadata; property frameId: QWord read _GetframeId write _SetframeId; property dependencies: TQWordDynArray read _Getdependencies write _Setdependencies; property width: Word read _Getwidth write _Setwidth; property height: Word read _Getheight write _Setheight; property spatialIndex: Cardinal read _GetspatialIndex write _SetspatialIndex; property temporalIndex: Cardinal read _GettemporalIndex write _SettemporalIndex; property synchronizationSource: Cardinal read _GetsynchronizationSource write _SetsynchronizationSource; property payloadType: Byte read _GetpayloadType write _SetpayloadType; property contributingSources: TCardinalDynArray read _GetcontributingSources write _SetcontributingSources; property timestamp: Int64 read _Gettimestamp write _Settimestamp; end; { -------------------------------------------------------------------- TJSRTCIceCandidateInit --------------------------------------------------------------------} TJSRTCIceCandidateInitRec = record candidate: UnicodeString; sdpMid: UnicodeString; sdpMLineIndex: Word; usernameFragment: UnicodeString; end; IJSRTCIceCandidateInit = interface(IJSObject) ['{FD43C815-8A10-3F36-83B6-8DDE6E9AAEF5}'] function _Getcandidate: UnicodeString; function _GetsdpMid: UnicodeString; function _GetsdpMLineIndex: Word; function _GetusernameFragment: UnicodeString; procedure _Setcandidate(const aValue: UnicodeString); procedure _SetsdpMid(const aValue: UnicodeString); procedure _SetsdpMLineIndex(const aValue: Word); procedure _SetusernameFragment(const aValue: UnicodeString); property candidate: UnicodeString read _Getcandidate write _Setcandidate; property sdpMid: UnicodeString read _GetsdpMid write _SetsdpMid; property sdpMLineIndex: Word read _GetsdpMLineIndex write _SetsdpMLineIndex; property usernameFragment: UnicodeString read _GetusernameFragment write _SetusernameFragment; end; TJSRTCIceCandidateInit = class(TJSObject,IJSRTCIceCandidateInit) Private Protected function _Getcandidate: UnicodeString; function _GetsdpMid: UnicodeString; function _GetsdpMLineIndex: Word; function _GetusernameFragment: UnicodeString; procedure _Setcandidate(const aValue: UnicodeString); procedure _SetsdpMid(const aValue: UnicodeString); procedure _SetsdpMLineIndex(const aValue: Word); procedure _SetusernameFragment(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIceCandidateInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceCandidateInit; property candidate: UnicodeString read _Getcandidate write _Setcandidate; property sdpMid: UnicodeString read _GetsdpMid write _SetsdpMid; property sdpMLineIndex: Word read _GetsdpMLineIndex write _SetsdpMLineIndex; property usernameFragment: UnicodeString read _GetusernameFragment write _SetusernameFragment; end; { -------------------------------------------------------------------- TJSRTCIdentityAssertion --------------------------------------------------------------------} TJSRTCIdentityAssertionRec = record idp: UnicodeString; name: UnicodeString; end; IJSRTCIdentityAssertion = interface(IJSObject) ['{2AD7F1BB-A5CF-337D-9BBE-01951DF541D2}'] function _Getidp: UnicodeString; function _Getname: UnicodeString; procedure _Setidp(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); property idp: UnicodeString read _Getidp write _Setidp; property name: UnicodeString read _Getname write _Setname; end; TJSRTCIdentityAssertion = class(TJSObject,IJSRTCIdentityAssertion) Private Protected function _Getidp: UnicodeString; function _Getname: UnicodeString; procedure _Setidp(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIdentityAssertionRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityAssertion; property idp: UnicodeString read _Getidp write _Setidp; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSRTCIdentityProvider --------------------------------------------------------------------} TJSRTCIdentityProviderRec = record generateAssertion: TGenerateAssertionCallback; validateAssertion: TValidateAssertionCallback; end; IJSRTCIdentityProvider = interface(IJSObject) ['{25E3136B-4631-356E-AE24-97C83B6BADCE}'] function _GetgenerateAssertion: TGenerateAssertionCallback; function _GetvalidateAssertion: TValidateAssertionCallback; procedure _SetgenerateAssertion(const aValue: TGenerateAssertionCallback); procedure _SetvalidateAssertion(const aValue: TValidateAssertionCallback); property generateAssertion: TGenerateAssertionCallback read _GetgenerateAssertion write _SetgenerateAssertion; property validateAssertion: TValidateAssertionCallback read _GetvalidateAssertion write _SetvalidateAssertion; end; TJSRTCIdentityProvider = class(TJSObject,IJSRTCIdentityProvider) Private Protected function _GetgenerateAssertion: TGenerateAssertionCallback; function _GetvalidateAssertion: TValidateAssertionCallback; procedure _SetgenerateAssertion(const aValue: TGenerateAssertionCallback); procedure _SetvalidateAssertion(const aValue: TValidateAssertionCallback); Public constructor create(const aDict : TJSRTCIdentityProviderRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityProvider; property generateAssertion: TGenerateAssertionCallback read _GetgenerateAssertion write _SetgenerateAssertion; property validateAssertion: TValidateAssertionCallback read _GetvalidateAssertion write _SetvalidateAssertion; end; { -------------------------------------------------------------------- TJSRTCIdentityAssertionResult --------------------------------------------------------------------} TJSRTCIdentityAssertionResultRec = record idp: TJSRTCIdentityProviderDetails; assertion: UnicodeString; end; IJSRTCIdentityAssertionResult = interface(IJSObject) ['{B0E16487-1226-315B-90A5-47F43CF353EF}'] function _Getidp: IJSRTCIdentityProviderDetails; function _Getassertion: UnicodeString; procedure _Setidp(const aValue: IJSRTCIdentityProviderDetails); procedure _Setassertion(const aValue: UnicodeString); property idp: IJSRTCIdentityProviderDetails read _Getidp write _Setidp; property assertion: UnicodeString read _Getassertion write _Setassertion; end; TJSRTCIdentityAssertionResult = class(TJSObject,IJSRTCIdentityAssertionResult) Private Protected function _Getidp: IJSRTCIdentityProviderDetails; function _Getassertion: UnicodeString; procedure _Setidp(const aValue: IJSRTCIdentityProviderDetails); procedure _Setassertion(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIdentityAssertionResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityAssertionResult; property idp: IJSRTCIdentityProviderDetails read _Getidp write _Setidp; property assertion: UnicodeString read _Getassertion write _Setassertion; end; { -------------------------------------------------------------------- TJSRTCIdentityProviderDetails --------------------------------------------------------------------} TJSRTCIdentityProviderDetailsRec = record domain: UnicodeString; protocol: UnicodeString; end; IJSRTCIdentityProviderDetails = interface(IJSObject) ['{18E04056-00A7-351E-AD31-51213AFA2663}'] function _Getdomain: UnicodeString; function _Getprotocol: UnicodeString; procedure _Setdomain(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UnicodeString); property domain: UnicodeString read _Getdomain write _Setdomain; property protocol: UnicodeString read _Getprotocol write _Setprotocol; end; TJSRTCIdentityProviderDetails = class(TJSObject,IJSRTCIdentityProviderDetails) Private Protected function _Getdomain: UnicodeString; function _Getprotocol: UnicodeString; procedure _Setdomain(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIdentityProviderDetailsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityProviderDetails; property domain: UnicodeString read _Getdomain write _Setdomain; property protocol: UnicodeString read _Getprotocol write _Setprotocol; end; { -------------------------------------------------------------------- TJSRTCIdentityValidationResult --------------------------------------------------------------------} TJSRTCIdentityValidationResultRec = record identity: UnicodeString; contents: UnicodeString; end; IJSRTCIdentityValidationResult = interface(IJSObject) ['{DCE601E6-0CED-3FAB-B022-287699F3B7B6}'] function _Getidentity: UnicodeString; function _Getcontents: UnicodeString; procedure _Setidentity(const aValue: UnicodeString); procedure _Setcontents(const aValue: UnicodeString); property identity: UnicodeString read _Getidentity write _Setidentity; property contents: UnicodeString read _Getcontents write _Setcontents; end; TJSRTCIdentityValidationResult = class(TJSObject,IJSRTCIdentityValidationResult) Private Protected function _Getidentity: UnicodeString; function _Getcontents: UnicodeString; procedure _Setidentity(const aValue: UnicodeString); procedure _Setcontents(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIdentityValidationResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityValidationResult; property identity: UnicodeString read _Getidentity write _Setidentity; property contents: UnicodeString read _Getcontents write _Setcontents; end; { -------------------------------------------------------------------- TJSRTCIdentityProviderOptions --------------------------------------------------------------------} TJSRTCIdentityProviderOptionsRec = record protocol: UnicodeString; usernameHint: UnicodeString; peerIdentity: UnicodeString; end; IJSRTCIdentityProviderOptions = interface(IJSObject) ['{7D143E3B-73D5-3158-AF43-64EB292F2C5F}'] function _Getprotocol: UnicodeString; function _GetusernameHint: UnicodeString; function _GetpeerIdentity: UnicodeString; procedure _Setprotocol(const aValue: UnicodeString); procedure _SetusernameHint(const aValue: UnicodeString); procedure _SetpeerIdentity(const aValue: UnicodeString); property protocol: UnicodeString read _Getprotocol write _Setprotocol; property usernameHint: UnicodeString read _GetusernameHint write _SetusernameHint; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; end; TJSRTCIdentityProviderOptions = class(TJSObject,IJSRTCIdentityProviderOptions) Private Protected function _Getprotocol: UnicodeString; function _GetusernameHint: UnicodeString; function _GetpeerIdentity: UnicodeString; procedure _Setprotocol(const aValue: UnicodeString); procedure _SetusernameHint(const aValue: UnicodeString); procedure _SetpeerIdentity(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIdentityProviderOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityProviderOptions; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property usernameHint: UnicodeString read _GetusernameHint write _SetusernameHint; property peerIdentity: UnicodeString read _GetpeerIdentity write _SetpeerIdentity; end; { -------------------------------------------------------------------- TJSRTCDataChannelInit --------------------------------------------------------------------} TJSRTCDataChannelInitRec = record ordered: Boolean; maxPacketLifeTime: Word; maxRetransmits: Word; protocol: UnicodeString; negotiated: Boolean; id: Word; maxRetransmitTime: Word; end; IJSRTCDataChannelInit = interface(IJSObject) ['{0093652F-1255-31DA-A57F-3FB23FF5C4A7}'] function _Getordered: Boolean; function _GetmaxPacketLifeTime: Word; function _GetmaxRetransmits: Word; function _Getprotocol: UnicodeString; function _Getnegotiated: Boolean; function _Getid: Word; function _GetmaxRetransmitTime: Word; procedure _Setordered(const aValue: Boolean); procedure _SetmaxPacketLifeTime(const aValue: Word); procedure _SetmaxRetransmits(const aValue: Word); procedure _Setprotocol(const aValue: UnicodeString); procedure _Setnegotiated(const aValue: Boolean); procedure _Setid(const aValue: Word); procedure _SetmaxRetransmitTime(const aValue: Word); property ordered: Boolean read _Getordered write _Setordered; property maxPacketLifeTime: Word read _GetmaxPacketLifeTime write _SetmaxPacketLifeTime; property maxRetransmits: Word read _GetmaxRetransmits write _SetmaxRetransmits; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property negotiated: Boolean read _Getnegotiated write _Setnegotiated; property id: Word read _Getid write _Setid; property maxRetransmitTime: Word read _GetmaxRetransmitTime write _SetmaxRetransmitTime; end; TJSRTCDataChannelInit = class(TJSObject,IJSRTCDataChannelInit) Private Protected function _Getordered: Boolean; function _GetmaxPacketLifeTime: Word; function _GetmaxRetransmits: Word; function _Getprotocol: UnicodeString; function _Getnegotiated: Boolean; function _Getid: Word; function _GetmaxRetransmitTime: Word; procedure _Setordered(const aValue: Boolean); procedure _SetmaxPacketLifeTime(const aValue: Word); procedure _SetmaxRetransmits(const aValue: Word); procedure _Setprotocol(const aValue: UnicodeString); procedure _Setnegotiated(const aValue: Boolean); procedure _Setid(const aValue: Word); procedure _SetmaxRetransmitTime(const aValue: Word); Public constructor create(const aDict : TJSRTCDataChannelInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDataChannelInit; property ordered: Boolean read _Getordered write _Setordered; property maxPacketLifeTime: Word read _GetmaxPacketLifeTime write _SetmaxPacketLifeTime; property maxRetransmits: Word read _GetmaxRetransmits write _SetmaxRetransmits; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property negotiated: Boolean read _Getnegotiated write _Setnegotiated; property id: Word read _Getid write _Setid; property maxRetransmitTime: Word read _GetmaxRetransmitTime write _SetmaxRetransmitTime; end; { -------------------------------------------------------------------- TJSRTCOfferAnswerOptions --------------------------------------------------------------------} TJSRTCOfferAnswerOptionsRec = record end; IJSRTCOfferAnswerOptions = interface(IJSObject) ['{E0F22627-8E55-3C75-ADD6-FD28C995330F}'] end; TJSRTCOfferAnswerOptions = class(TJSObject,IJSRTCOfferAnswerOptions) Private Protected Public constructor create(const aDict : TJSRTCOfferAnswerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCOfferAnswerOptions; end; { -------------------------------------------------------------------- TJSRTCRtpCapabilities --------------------------------------------------------------------} TJSRTCRtpCodecCapabilityDynArray = IJSArray; // array of RTCRtpCodecCapability TJSRTCRtpHeaderExtensionCapabilityDynArray = IJSArray; // array of RTCRtpHeaderExtensionCapability TJSRTCRtpCapabilitiesRec = record codecs: TJSRTCRtpCodecCapabilityDynArray; headerExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray; end; IJSRTCRtpCapabilities = interface(IJSObject) ['{0E61EFD3-0EB3-3F06-B2F1-29FE45D6F970}'] function _Getcodecs: TJSRTCRtpCodecCapabilityDynArray; function _GetheaderExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray; procedure _Setcodecs(const aValue: TJSRTCRtpCodecCapabilityDynArray); procedure _SetheaderExtensions(const aValue: TJSRTCRtpHeaderExtensionCapabilityDynArray); property codecs: TJSRTCRtpCodecCapabilityDynArray read _Getcodecs write _Setcodecs; property headerExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray read _GetheaderExtensions write _SetheaderExtensions; end; TJSRTCRtpCapabilities = class(TJSObject,IJSRTCRtpCapabilities) Private Protected function _Getcodecs: TJSRTCRtpCodecCapabilityDynArray; function _GetheaderExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray; procedure _Setcodecs(const aValue: TJSRTCRtpCodecCapabilityDynArray); procedure _SetheaderExtensions(const aValue: TJSRTCRtpHeaderExtensionCapabilityDynArray); Public constructor create(const aDict : TJSRTCRtpCapabilitiesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpCapabilities; property codecs: TJSRTCRtpCodecCapabilityDynArray read _Getcodecs write _Setcodecs; property headerExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray read _GetheaderExtensions write _SetheaderExtensions; end; { -------------------------------------------------------------------- TJSRTCRtpCodec --------------------------------------------------------------------} TJSRTCRtpCodecRec = record mimeType: UnicodeString; clockRate: Cardinal; channels: Word; sdpFmtpLine: UnicodeString; end; IJSRTCRtpCodec = interface(IJSObject) ['{E8B4338B-FE64-37A0-8C34-9FFEDD9CF2DD}'] function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Word; function _GetsdpFmtpLine: UnicodeString; procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Word); procedure _SetsdpFmtpLine(const aValue: UnicodeString); property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Word read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; TJSRTCRtpCodec = class(TJSObject,IJSRTCRtpCodec) Private Protected function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Word; function _GetsdpFmtpLine: UnicodeString; procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Word); procedure _SetsdpFmtpLine(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCRtpCodecRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpCodec; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Word read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; { -------------------------------------------------------------------- TJSRTCRtpHeaderExtensionCapability --------------------------------------------------------------------} TJSRTCRtpHeaderExtensionCapabilityRec = record uri: UnicodeString; end; IJSRTCRtpHeaderExtensionCapability = interface(IJSObject) ['{D50DCF52-D19F-34F4-96CA-2F11327AB294}'] function _Geturi: UnicodeString; procedure _Seturi(const aValue: UnicodeString); property uri: UnicodeString read _Geturi write _Seturi; end; TJSRTCRtpHeaderExtensionCapability = class(TJSObject,IJSRTCRtpHeaderExtensionCapability) Private Protected function _Geturi: UnicodeString; procedure _Seturi(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCRtpHeaderExtensionCapabilityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpHeaderExtensionCapability; property uri: UnicodeString read _Geturi write _Seturi; end; { -------------------------------------------------------------------- TJSRTCRtpEncodingParameters --------------------------------------------------------------------} TJSRTCRtpEncodingParametersRec = record active: Boolean; priority: TRTCPriorityType; maxBitrate: Cardinal; rid: UnicodeString; scaleResolutionDownBy: Double; maxFramerate: Double; end; IJSRTCRtpEncodingParameters = interface(IJSObject) ['{E797EA80-8F71-322D-B2AA-9AD3B59D1AFB}'] function _Getactive: Boolean; function _Getpriority: TRTCPriorityType; function _GetmaxBitrate: Cardinal; function _Getrid: UnicodeString; function _GetscaleResolutionDownBy: Double; function _GetmaxFramerate: Double; procedure _Setactive(const aValue: Boolean); procedure _Setpriority(const aValue: TRTCPriorityType); procedure _SetmaxBitrate(const aValue: Cardinal); procedure _Setrid(const aValue: UnicodeString); procedure _SetscaleResolutionDownBy(const aValue: Double); procedure _SetmaxFramerate(const aValue: Double); property active: Boolean read _Getactive write _Setactive; property priority: TRTCPriorityType read _Getpriority write _Setpriority; property maxBitrate: Cardinal read _GetmaxBitrate write _SetmaxBitrate; property rid: UnicodeString read _Getrid write _Setrid; property scaleResolutionDownBy: Double read _GetscaleResolutionDownBy write _SetscaleResolutionDownBy; property maxFramerate: Double read _GetmaxFramerate write _SetmaxFramerate; end; TJSRTCRtpEncodingParameters = class(TJSObject,IJSRTCRtpEncodingParameters) Private Protected function _Getactive: Boolean; function _Getpriority: TRTCPriorityType; function _GetmaxBitrate: Cardinal; function _Getrid: UnicodeString; function _GetscaleResolutionDownBy: Double; function _GetmaxFramerate: Double; procedure _Setactive(const aValue: Boolean); procedure _Setpriority(const aValue: TRTCPriorityType); procedure _SetmaxBitrate(const aValue: Cardinal); procedure _Setrid(const aValue: UnicodeString); procedure _SetscaleResolutionDownBy(const aValue: Double); procedure _SetmaxFramerate(const aValue: Double); Public constructor create(const aDict : TJSRTCRtpEncodingParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpEncodingParameters; property active: Boolean read _Getactive write _Setactive; property priority: TRTCPriorityType read _Getpriority write _Setpriority; property maxBitrate: Cardinal read _GetmaxBitrate write _SetmaxBitrate; property rid: UnicodeString read _Getrid write _Setrid; property scaleResolutionDownBy: Double read _GetscaleResolutionDownBy write _SetscaleResolutionDownBy; property maxFramerate: Double read _GetmaxFramerate write _SetmaxFramerate; end; { -------------------------------------------------------------------- TJSRTCRtpHeaderExtensionParameters --------------------------------------------------------------------} TJSRTCRtpHeaderExtensionParametersRec = record uri: UnicodeString; id: Word; encrypted: Boolean; end; IJSRTCRtpHeaderExtensionParameters = interface(IJSObject) ['{D911404E-BF1D-3BAD-B39A-85C1DE3F05FC}'] function _Geturi: UnicodeString; function _Getid: Word; function _Getencrypted: Boolean; procedure _Seturi(const aValue: UnicodeString); procedure _Setid(const aValue: Word); procedure _Setencrypted(const aValue: Boolean); property uri: UnicodeString read _Geturi write _Seturi; property id: Word read _Getid write _Setid; property encrypted: Boolean read _Getencrypted write _Setencrypted; end; TJSRTCRtpHeaderExtensionParameters = class(TJSObject,IJSRTCRtpHeaderExtensionParameters) Private Protected function _Geturi: UnicodeString; function _Getid: Word; function _Getencrypted: Boolean; procedure _Seturi(const aValue: UnicodeString); procedure _Setid(const aValue: Word); procedure _Setencrypted(const aValue: Boolean); Public constructor create(const aDict : TJSRTCRtpHeaderExtensionParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpHeaderExtensionParameters; property uri: UnicodeString read _Geturi write _Seturi; property id: Word read _Getid write _Setid; property encrypted: Boolean read _Getencrypted write _Setencrypted; end; { -------------------------------------------------------------------- TJSRTCRtcpParameters --------------------------------------------------------------------} TJSRTCRtcpParametersRec = record cname: UnicodeString; reducedSize: Boolean; end; IJSRTCRtcpParameters = interface(IJSObject) ['{7D9DDD1C-B2DA-315E-B63A-0D01DA19EA2C}'] function _Getcname: UnicodeString; function _GetreducedSize: Boolean; procedure _Setcname(const aValue: UnicodeString); procedure _SetreducedSize(const aValue: Boolean); property cname: UnicodeString read _Getcname write _Setcname; property reducedSize: Boolean read _GetreducedSize write _SetreducedSize; end; TJSRTCRtcpParameters = class(TJSObject,IJSRTCRtcpParameters) Private Protected function _Getcname: UnicodeString; function _GetreducedSize: Boolean; procedure _Setcname(const aValue: UnicodeString); procedure _SetreducedSize(const aValue: Boolean); Public constructor create(const aDict : TJSRTCRtcpParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtcpParameters; property cname: UnicodeString read _Getcname write _Setcname; property reducedSize: Boolean read _GetreducedSize write _SetreducedSize; end; { -------------------------------------------------------------------- TJSRTCRtpCodecParameters --------------------------------------------------------------------} TJSRTCRtpCodecParametersRec = record payloadType: Word; mimeType: UnicodeString; clockRate: Cardinal; channels: Word; sdpFmtpLine: UnicodeString; end; IJSRTCRtpCodecParameters = interface(IJSObject) ['{F34FAE54-3385-36CE-9DE1-BCC45ECEA10B}'] function _GetpayloadType: Word; function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Word; function _GetsdpFmtpLine: UnicodeString; procedure _SetpayloadType(const aValue: Word); procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Word); procedure _SetsdpFmtpLine(const aValue: UnicodeString); property payloadType: Word read _GetpayloadType write _SetpayloadType; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Word read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; TJSRTCRtpCodecParameters = class(TJSObject,IJSRTCRtpCodecParameters) Private Protected function _GetpayloadType: Word; function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Word; function _GetsdpFmtpLine: UnicodeString; procedure _SetpayloadType(const aValue: Word); procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Word); procedure _SetsdpFmtpLine(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCRtpCodecParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpCodecParameters; property payloadType: Word read _GetpayloadType write _SetpayloadType; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Word read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; { -------------------------------------------------------------------- TJSRTCRtpParameters --------------------------------------------------------------------} TJSRTCRtpHeaderExtensionParametersDynArray = IJSArray; // array of RTCRtpHeaderExtensionParameters TJSRTCRtpCodecParametersDynArray = IJSArray; // array of RTCRtpCodecParameters TJSRTCRtpParametersRec = record headerExtensions: TJSRTCRtpHeaderExtensionParametersDynArray; rtcp: TJSRTCRtcpParameters; codecs: TJSRTCRtpCodecParametersDynArray; end; IJSRTCRtpParameters = interface(IJSObject) ['{37CB477F-4632-30CD-9727-D83536F2C3D8}'] function _GetheaderExtensions: TJSRTCRtpHeaderExtensionParametersDynArray; function _Getrtcp: IJSRTCRtcpParameters; function _Getcodecs: TJSRTCRtpCodecParametersDynArray; procedure _SetheaderExtensions(const aValue: TJSRTCRtpHeaderExtensionParametersDynArray); procedure _Setrtcp(const aValue: IJSRTCRtcpParameters); procedure _Setcodecs(const aValue: TJSRTCRtpCodecParametersDynArray); property headerExtensions: TJSRTCRtpHeaderExtensionParametersDynArray read _GetheaderExtensions write _SetheaderExtensions; property rtcp: IJSRTCRtcpParameters read _Getrtcp write _Setrtcp; property codecs: TJSRTCRtpCodecParametersDynArray read _Getcodecs write _Setcodecs; end; TJSRTCRtpParameters = class(TJSObject,IJSRTCRtpParameters) Private Protected function _GetheaderExtensions: TJSRTCRtpHeaderExtensionParametersDynArray; function _Getrtcp: IJSRTCRtcpParameters; function _Getcodecs: TJSRTCRtpCodecParametersDynArray; procedure _SetheaderExtensions(const aValue: TJSRTCRtpHeaderExtensionParametersDynArray); procedure _Setrtcp(const aValue: IJSRTCRtcpParameters); procedure _Setcodecs(const aValue: TJSRTCRtpCodecParametersDynArray); Public constructor create(const aDict : TJSRTCRtpParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpParameters; property headerExtensions: TJSRTCRtpHeaderExtensionParametersDynArray read _GetheaderExtensions write _SetheaderExtensions; property rtcp: IJSRTCRtcpParameters read _Getrtcp write _Setrtcp; property codecs: TJSRTCRtpCodecParametersDynArray read _Getcodecs write _Setcodecs; end; { -------------------------------------------------------------------- TJSRTCRtpContributingSource --------------------------------------------------------------------} TJSRTCRtpContributingSourceRec = record timestamp: TDOMHighResTimeStamp; source: Cardinal; audioLevel: Double; rtpTimestamp: Cardinal; end; IJSRTCRtpContributingSource = interface(IJSObject) ['{21BB71CE-B38E-3CDD-BA8C-B71C9C00223E}'] function _Gettimestamp: TDOMHighResTimeStamp; function _Getsource: Cardinal; function _GetaudioLevel: Double; function _GetrtpTimestamp: Cardinal; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _Setsource(const aValue: Cardinal); procedure _SetaudioLevel(const aValue: Double); procedure _SetrtpTimestamp(const aValue: Cardinal); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property source: Cardinal read _Getsource write _Setsource; property audioLevel: Double read _GetaudioLevel write _SetaudioLevel; property rtpTimestamp: Cardinal read _GetrtpTimestamp write _SetrtpTimestamp; end; TJSRTCRtpContributingSource = class(TJSObject,IJSRTCRtpContributingSource) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _Getsource: Cardinal; function _GetaudioLevel: Double; function _GetrtpTimestamp: Cardinal; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _Setsource(const aValue: Cardinal); procedure _SetaudioLevel(const aValue: Double); procedure _SetrtpTimestamp(const aValue: Cardinal); Public constructor create(const aDict : TJSRTCRtpContributingSourceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpContributingSource; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property source: Cardinal read _Getsource write _Setsource; property audioLevel: Double read _GetaudioLevel write _SetaudioLevel; property rtpTimestamp: Cardinal read _GetrtpTimestamp write _SetrtpTimestamp; end; { -------------------------------------------------------------------- TJSRTCRtpTransceiverInit --------------------------------------------------------------------} TJSMediaStreamDynArray = IJSArray; // array of MediaStream TJSRTCRtpEncodingParametersDynArray = IJSArray; // array of RTCRtpEncodingParameters TJSRTCRtpTransceiverInitRec = record direction: TRTCRtpTransceiverDirection; streams: TJSMediaStreamDynArray; sendEncodings: TJSRTCRtpEncodingParametersDynArray; end; IJSRTCRtpTransceiverInit = interface(IJSObject) ['{441F0FBC-DB04-323A-B4F9-3417EC0DBD3B}'] function _Getdirection: TRTCRtpTransceiverDirection; function _Getstreams: TJSMediaStreamDynArray; function _GetsendEncodings: TJSRTCRtpEncodingParametersDynArray; procedure _Setdirection(const aValue: TRTCRtpTransceiverDirection); procedure _Setstreams(const aValue: TJSMediaStreamDynArray); procedure _SetsendEncodings(const aValue: TJSRTCRtpEncodingParametersDynArray); property direction: TRTCRtpTransceiverDirection read _Getdirection write _Setdirection; property streams: TJSMediaStreamDynArray read _Getstreams write _Setstreams; property sendEncodings: TJSRTCRtpEncodingParametersDynArray read _GetsendEncodings write _SetsendEncodings; end; TJSRTCRtpTransceiverInit = class(TJSObject,IJSRTCRtpTransceiverInit) Private Protected function _Getdirection: TRTCRtpTransceiverDirection; function _Getstreams: TJSMediaStreamDynArray; function _GetsendEncodings: TJSRTCRtpEncodingParametersDynArray; procedure _Setdirection(const aValue: TRTCRtpTransceiverDirection); procedure _Setstreams(const aValue: TJSMediaStreamDynArray); procedure _SetsendEncodings(const aValue: TJSRTCRtpEncodingParametersDynArray); Public constructor create(const aDict : TJSRTCRtpTransceiverInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpTransceiverInit; property direction: TRTCRtpTransceiverDirection read _Getdirection write _Setdirection; property streams: TJSMediaStreamDynArray read _Getstreams write _Setstreams; property sendEncodings: TJSRTCRtpEncodingParametersDynArray read _GetsendEncodings write _SetsendEncodings; end; { -------------------------------------------------------------------- TJSRTCSessionDescriptionInit --------------------------------------------------------------------} TJSRTCSessionDescriptionInitRec = record type_: TRTCSdpType; sdp: UnicodeString; end; IJSRTCSessionDescriptionInit = interface(IJSObject) ['{895332FC-4BB8-3BB7-A165-0DB04F5683B8}'] function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; TJSRTCSessionDescriptionInit = class(TJSObject,IJSRTCSessionDescriptionInit) Private Protected function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCSessionDescriptionInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSessionDescriptionInit; property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; { -------------------------------------------------------------------- TJSRTCLocalSessionDescriptionInit --------------------------------------------------------------------} TJSRTCLocalSessionDescriptionInitRec = record type_: TRTCSdpType; sdp: UnicodeString; end; IJSRTCLocalSessionDescriptionInit = interface(IJSObject) ['{056C24A9-8324-30A1-98B3-DB71B2845527}'] function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; TJSRTCLocalSessionDescriptionInit = class(TJSObject,IJSRTCLocalSessionDescriptionInit) Private Protected function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCLocalSessionDescriptionInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCLocalSessionDescriptionInit; property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; { -------------------------------------------------------------------- TJSRTCStats --------------------------------------------------------------------} TJSRTCStatsRec = record timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCStats = interface(IJSObject) ['{B7CCFE19-7EC0-3C33-81F1-CA9421284553}'] function _Gettimestamp: TDOMHighResTimeStamp; function _Gettype_: TRTCStatsType; function _Getid: UnicodeString; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _Settype_(const aValue: TRTCStatsType); procedure _Setid(const aValue: UnicodeString); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property type_: TRTCStatsType read _Gettype_ write _Settype_; property id: UnicodeString read _Getid write _Setid; end; TJSRTCStats = class(TJSObject,IJSRTCStats) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _Gettype_: TRTCStatsType; function _Getid: UnicodeString; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _Settype_(const aValue: TRTCStatsType); procedure _Setid(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCStats; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property type_: TRTCStatsType read _Gettype_ write _Settype_; property id: UnicodeString read _Getid write _Setid; end; { -------------------------------------------------------------------- TJSRTCVideoFrameHistoryEntryInternal --------------------------------------------------------------------} TJSRTCVideoFrameHistoryEntryInternalRec = record width: Cardinal; height: Cardinal; rotationAngle: Cardinal; firstFrameTimestamp: TDOMHighResTimeStamp; lastFrameTimestamp: TDOMHighResTimeStamp; consecutiveFrames: QWord; localSsrc: Cardinal; remoteSsrc: Cardinal; end; IJSRTCVideoFrameHistoryEntryInternal = interface(IJSObject) ['{63461D45-A8AF-359E-94B4-45B6FB6F5970}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetrotationAngle: Cardinal; function _GetfirstFrameTimestamp: TDOMHighResTimeStamp; function _GetlastFrameTimestamp: TDOMHighResTimeStamp; function _GetconsecutiveFrames: QWord; function _GetlocalSsrc: Cardinal; function _GetremoteSsrc: Cardinal; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetrotationAngle(const aValue: Cardinal); procedure _SetfirstFrameTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetlastFrameTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetconsecutiveFrames(const aValue: QWord); procedure _SetlocalSsrc(const aValue: Cardinal); procedure _SetremoteSsrc(const aValue: Cardinal); property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property rotationAngle: Cardinal read _GetrotationAngle write _SetrotationAngle; property firstFrameTimestamp: TDOMHighResTimeStamp read _GetfirstFrameTimestamp write _SetfirstFrameTimestamp; property lastFrameTimestamp: TDOMHighResTimeStamp read _GetlastFrameTimestamp write _SetlastFrameTimestamp; property consecutiveFrames: QWord read _GetconsecutiveFrames write _SetconsecutiveFrames; property localSsrc: Cardinal read _GetlocalSsrc write _SetlocalSsrc; property remoteSsrc: Cardinal read _GetremoteSsrc write _SetremoteSsrc; end; TJSRTCVideoFrameHistoryEntryInternal = class(TJSObject,IJSRTCVideoFrameHistoryEntryInternal) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetrotationAngle: Cardinal; function _GetfirstFrameTimestamp: TDOMHighResTimeStamp; function _GetlastFrameTimestamp: TDOMHighResTimeStamp; function _GetconsecutiveFrames: QWord; function _GetlocalSsrc: Cardinal; function _GetremoteSsrc: Cardinal; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetrotationAngle(const aValue: Cardinal); procedure _SetfirstFrameTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetlastFrameTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetconsecutiveFrames(const aValue: QWord); procedure _SetlocalSsrc(const aValue: Cardinal); procedure _SetremoteSsrc(const aValue: Cardinal); Public constructor create(const aDict : TJSRTCVideoFrameHistoryEntryInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCVideoFrameHistoryEntryInternal; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property rotationAngle: Cardinal read _GetrotationAngle write _SetrotationAngle; property firstFrameTimestamp: TDOMHighResTimeStamp read _GetfirstFrameTimestamp write _SetfirstFrameTimestamp; property lastFrameTimestamp: TDOMHighResTimeStamp read _GetlastFrameTimestamp write _SetlastFrameTimestamp; property consecutiveFrames: QWord read _GetconsecutiveFrames write _SetconsecutiveFrames; property localSsrc: Cardinal read _GetlocalSsrc write _SetlocalSsrc; property remoteSsrc: Cardinal read _GetremoteSsrc write _SetremoteSsrc; end; { -------------------------------------------------------------------- TJSRTCVideoFrameHistoryInternal --------------------------------------------------------------------} TJSRTCVideoFrameHistoryEntryInternalDynArray = IJSArray; // array of RTCVideoFrameHistoryEntryInternal TJSRTCVideoFrameHistoryInternalRec = record trackIdentifier: UnicodeString; entries: TJSRTCVideoFrameHistoryEntryInternalDynArray; end; IJSRTCVideoFrameHistoryInternal = interface(IJSObject) ['{B76C87F9-8866-3EC7-B36F-4C810E936D72}'] function _GettrackIdentifier: UnicodeString; function _Getentries: TJSRTCVideoFrameHistoryEntryInternalDynArray; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _Setentries(const aValue: TJSRTCVideoFrameHistoryEntryInternalDynArray); property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property entries: TJSRTCVideoFrameHistoryEntryInternalDynArray read _Getentries write _Setentries; end; TJSRTCVideoFrameHistoryInternal = class(TJSObject,IJSRTCVideoFrameHistoryInternal) Private Protected function _GettrackIdentifier: UnicodeString; function _Getentries: TJSRTCVideoFrameHistoryEntryInternalDynArray; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _Setentries(const aValue: TJSRTCVideoFrameHistoryEntryInternalDynArray); Public constructor create(const aDict : TJSRTCVideoFrameHistoryInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCVideoFrameHistoryInternal; property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property entries: TJSRTCVideoFrameHistoryEntryInternalDynArray read _Getentries write _Setentries; end; { -------------------------------------------------------------------- TJSRTCBandwidthEstimationInternal --------------------------------------------------------------------} TJSRTCBandwidthEstimationInternalRec = record trackIdentifier: UnicodeString; sendBandwidthBps: LongInt; maxPaddingBps: LongInt; receiveBandwidthBps: LongInt; pacerDelayMs: LongInt; rttMs: LongInt; end; IJSRTCBandwidthEstimationInternal = interface(IJSObject) ['{9C894399-65A6-34B1-A307-178D750F8A38}'] function _GettrackIdentifier: UnicodeString; function _GetsendBandwidthBps: LongInt; function _GetmaxPaddingBps: LongInt; function _GetreceiveBandwidthBps: LongInt; function _GetpacerDelayMs: LongInt; function _GetrttMs: LongInt; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _SetsendBandwidthBps(const aValue: LongInt); procedure _SetmaxPaddingBps(const aValue: LongInt); procedure _SetreceiveBandwidthBps(const aValue: LongInt); procedure _SetpacerDelayMs(const aValue: LongInt); procedure _SetrttMs(const aValue: LongInt); property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property sendBandwidthBps: LongInt read _GetsendBandwidthBps write _SetsendBandwidthBps; property maxPaddingBps: LongInt read _GetmaxPaddingBps write _SetmaxPaddingBps; property receiveBandwidthBps: LongInt read _GetreceiveBandwidthBps write _SetreceiveBandwidthBps; property pacerDelayMs: LongInt read _GetpacerDelayMs write _SetpacerDelayMs; property rttMs: LongInt read _GetrttMs write _SetrttMs; end; TJSRTCBandwidthEstimationInternal = class(TJSObject,IJSRTCBandwidthEstimationInternal) Private Protected function _GettrackIdentifier: UnicodeString; function _GetsendBandwidthBps: LongInt; function _GetmaxPaddingBps: LongInt; function _GetreceiveBandwidthBps: LongInt; function _GetpacerDelayMs: LongInt; function _GetrttMs: LongInt; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _SetsendBandwidthBps(const aValue: LongInt); procedure _SetmaxPaddingBps(const aValue: LongInt); procedure _SetreceiveBandwidthBps(const aValue: LongInt); procedure _SetpacerDelayMs(const aValue: LongInt); procedure _SetrttMs(const aValue: LongInt); Public constructor create(const aDict : TJSRTCBandwidthEstimationInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCBandwidthEstimationInternal; property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property sendBandwidthBps: LongInt read _GetsendBandwidthBps write _SetsendBandwidthBps; property maxPaddingBps: LongInt read _GetmaxPaddingBps write _SetmaxPaddingBps; property receiveBandwidthBps: LongInt read _GetreceiveBandwidthBps write _SetreceiveBandwidthBps; property pacerDelayMs: LongInt read _GetpacerDelayMs write _SetpacerDelayMs; property rttMs: LongInt read _GetrttMs write _SetrttMs; end; { -------------------------------------------------------------------- TJSRTCSdpParsingErrorInternal --------------------------------------------------------------------} TJSRTCSdpParsingErrorInternalRec = record lineNumber: Cardinal; error: UnicodeString; end; IJSRTCSdpParsingErrorInternal = interface(IJSObject) ['{622EE381-CEF9-3422-8179-2D7BF1DB75EF}'] function _GetlineNumber: Cardinal; function _Geterror: UnicodeString; procedure _SetlineNumber(const aValue: Cardinal); procedure _Seterror(const aValue: UnicodeString); property lineNumber: Cardinal read _GetlineNumber write _SetlineNumber; property error: UnicodeString read _Geterror write _Seterror; end; TJSRTCSdpParsingErrorInternal = class(TJSObject,IJSRTCSdpParsingErrorInternal) Private Protected function _GetlineNumber: Cardinal; function _Geterror: UnicodeString; procedure _SetlineNumber(const aValue: Cardinal); procedure _Seterror(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCSdpParsingErrorInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSdpParsingErrorInternal; property lineNumber: Cardinal read _GetlineNumber write _SetlineNumber; property error: UnicodeString read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSRTCSdpHistoryEntryInternal --------------------------------------------------------------------} TJSRTCSdpParsingErrorInternalDynArray = IJSArray; // array of RTCSdpParsingErrorInternal TJSRTCSdpHistoryEntryInternalRec = record timestamp: TDOMHighResTimeStamp; isLocal: Boolean; sdp: UnicodeString; errors: TJSRTCSdpParsingErrorInternalDynArray; end; IJSRTCSdpHistoryEntryInternal = interface(IJSObject) ['{BC0F6781-D347-34BA-9E74-B01014D84EF1}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetisLocal: Boolean; function _Getsdp: UnicodeString; function _Geterrors: TJSRTCSdpParsingErrorInternalDynArray; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetisLocal(const aValue: Boolean); procedure _Setsdp(const aValue: UnicodeString); procedure _Seterrors(const aValue: TJSRTCSdpParsingErrorInternalDynArray); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property isLocal: Boolean read _GetisLocal write _SetisLocal; property sdp: UnicodeString read _Getsdp write _Setsdp; property errors: TJSRTCSdpParsingErrorInternalDynArray read _Geterrors write _Seterrors; end; TJSRTCSdpHistoryEntryInternal = class(TJSObject,IJSRTCSdpHistoryEntryInternal) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetisLocal: Boolean; function _Getsdp: UnicodeString; function _Geterrors: TJSRTCSdpParsingErrorInternalDynArray; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetisLocal(const aValue: Boolean); procedure _Setsdp(const aValue: UnicodeString); procedure _Seterrors(const aValue: TJSRTCSdpParsingErrorInternalDynArray); Public constructor create(const aDict : TJSRTCSdpHistoryEntryInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSdpHistoryEntryInternal; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property isLocal: Boolean read _GetisLocal write _SetisLocal; property sdp: UnicodeString read _Getsdp write _Setsdp; property errors: TJSRTCSdpParsingErrorInternalDynArray read _Geterrors write _Seterrors; end; { -------------------------------------------------------------------- TJSRTCStatsCollection --------------------------------------------------------------------} TJSRTCInboundRtpStreamStatsDynArray = IJSArray; // array of RTCInboundRtpStreamStats TJSRTCOutboundRtpStreamStatsDynArray = IJSArray; // array of RTCOutboundRtpStreamStats TJSRTCRemoteInboundRtpStreamStatsDynArray = IJSArray; // array of RTCRemoteInboundRtpStreamStats TJSRTCRemoteOutboundRtpStreamStatsDynArray = IJSArray; // array of RTCRemoteOutboundRtpStreamStats TJSRTCMediaSourceStatsDynArray = IJSArray; // array of RTCMediaSourceStats TJSRTCVideoSourceStatsDynArray = IJSArray; // array of RTCVideoSourceStats TJSRTCPeerConnectionStatsDynArray = IJSArray; // array of RTCPeerConnectionStats TJSRTCRTPContributingSourceStatsDynArray = IJSArray; // array of RTCRTPContributingSourceStats TJSRTCIceCandidatePairStatsDynArray = IJSArray; // array of RTCIceCandidatePairStats TJSRTCIceCandidateStatsDynArray = IJSArray; // array of RTCIceCandidateStats TJSRTCDataChannelStatsDynArray = IJSArray; // array of RTCDataChannelStats TJSRTCCodecStatsDynArray = IJSArray; // array of RTCCodecStats TJSRTCVideoFrameHistoryInternalDynArray = IJSArray; // array of RTCVideoFrameHistoryInternal TJSRTCBandwidthEstimationInternalDynArray = IJSArray; // array of RTCBandwidthEstimationInternal TJSRTCStatsCollectionRec = record inboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray; outboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray; remoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray; remoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray; mediaSourceStats: TJSRTCMediaSourceStatsDynArray; videoSourceStats: TJSRTCVideoSourceStatsDynArray; peerConnectionStats: TJSRTCPeerConnectionStatsDynArray; rtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray; iceCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray; iceCandidateStats: TJSRTCIceCandidateStatsDynArray; trickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray; dataChannelStats: TJSRTCDataChannelStatsDynArray; codecStats: TJSRTCCodecStatsDynArray; rawLocalCandidates: TUnicodeStringDynArray; rawRemoteCandidates: TUnicodeStringDynArray; videoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray; bandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray; end; IJSRTCStatsCollection = interface(IJSObject) ['{61DC747D-D8E8-3FA6-9260-9EB5A0A05723}'] function _GetinboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray; function _GetoutboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray; function _GetremoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray; function _GetremoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray; function _GetmediaSourceStats: TJSRTCMediaSourceStatsDynArray; function _GetvideoSourceStats: TJSRTCVideoSourceStatsDynArray; function _GetpeerConnectionStats: TJSRTCPeerConnectionStatsDynArray; function _GetrtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray; function _GeticeCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray; function _GeticeCandidateStats: TJSRTCIceCandidateStatsDynArray; function _GettrickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray; function _GetdataChannelStats: TJSRTCDataChannelStatsDynArray; function _GetcodecStats: TJSRTCCodecStatsDynArray; function _GetrawLocalCandidates: TUnicodeStringDynArray; function _GetrawRemoteCandidates: TUnicodeStringDynArray; function _GetvideoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray; function _GetbandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray; procedure _SetinboundRtpStreamStats(const aValue: TJSRTCInboundRtpStreamStatsDynArray); procedure _SetoutboundRtpStreamStats(const aValue: TJSRTCOutboundRtpStreamStatsDynArray); procedure _SetremoteInboundRtpStreamStats(const aValue: TJSRTCRemoteInboundRtpStreamStatsDynArray); procedure _SetremoteOutboundRtpStreamStats(const aValue: TJSRTCRemoteOutboundRtpStreamStatsDynArray); procedure _SetmediaSourceStats(const aValue: TJSRTCMediaSourceStatsDynArray); procedure _SetvideoSourceStats(const aValue: TJSRTCVideoSourceStatsDynArray); procedure _SetpeerConnectionStats(const aValue: TJSRTCPeerConnectionStatsDynArray); procedure _SetrtpContributingSourceStats(const aValue: TJSRTCRTPContributingSourceStatsDynArray); procedure _SeticeCandidatePairStats(const aValue: TJSRTCIceCandidatePairStatsDynArray); procedure _SeticeCandidateStats(const aValue: TJSRTCIceCandidateStatsDynArray); procedure _SettrickledIceCandidateStats(const aValue: TJSRTCIceCandidateStatsDynArray); procedure _SetdataChannelStats(const aValue: TJSRTCDataChannelStatsDynArray); procedure _SetcodecStats(const aValue: TJSRTCCodecStatsDynArray); procedure _SetrawLocalCandidates(const aValue: TUnicodeStringDynArray); procedure _SetrawRemoteCandidates(const aValue: TUnicodeStringDynArray); procedure _SetvideoFrameHistories(const aValue: TJSRTCVideoFrameHistoryInternalDynArray); procedure _SetbandwidthEstimations(const aValue: TJSRTCBandwidthEstimationInternalDynArray); property inboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray read _GetinboundRtpStreamStats write _SetinboundRtpStreamStats; property outboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray read _GetoutboundRtpStreamStats write _SetoutboundRtpStreamStats; property remoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray read _GetremoteInboundRtpStreamStats write _SetremoteInboundRtpStreamStats; property remoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray read _GetremoteOutboundRtpStreamStats write _SetremoteOutboundRtpStreamStats; property mediaSourceStats: TJSRTCMediaSourceStatsDynArray read _GetmediaSourceStats write _SetmediaSourceStats; property videoSourceStats: TJSRTCVideoSourceStatsDynArray read _GetvideoSourceStats write _SetvideoSourceStats; property peerConnectionStats: TJSRTCPeerConnectionStatsDynArray read _GetpeerConnectionStats write _SetpeerConnectionStats; property rtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray read _GetrtpContributingSourceStats write _SetrtpContributingSourceStats; property iceCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray read _GeticeCandidatePairStats write _SeticeCandidatePairStats; property iceCandidateStats: TJSRTCIceCandidateStatsDynArray read _GeticeCandidateStats write _SeticeCandidateStats; property trickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray read _GettrickledIceCandidateStats write _SettrickledIceCandidateStats; property dataChannelStats: TJSRTCDataChannelStatsDynArray read _GetdataChannelStats write _SetdataChannelStats; property codecStats: TJSRTCCodecStatsDynArray read _GetcodecStats write _SetcodecStats; property rawLocalCandidates: TUnicodeStringDynArray read _GetrawLocalCandidates write _SetrawLocalCandidates; property rawRemoteCandidates: TUnicodeStringDynArray read _GetrawRemoteCandidates write _SetrawRemoteCandidates; property videoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray read _GetvideoFrameHistories write _SetvideoFrameHistories; property bandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray read _GetbandwidthEstimations write _SetbandwidthEstimations; end; TJSRTCStatsCollection = class(TJSObject,IJSRTCStatsCollection) Private Protected function _GetinboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray; function _GetoutboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray; function _GetremoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray; function _GetremoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray; function _GetmediaSourceStats: TJSRTCMediaSourceStatsDynArray; function _GetvideoSourceStats: TJSRTCVideoSourceStatsDynArray; function _GetpeerConnectionStats: TJSRTCPeerConnectionStatsDynArray; function _GetrtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray; function _GeticeCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray; function _GeticeCandidateStats: TJSRTCIceCandidateStatsDynArray; function _GettrickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray; function _GetdataChannelStats: TJSRTCDataChannelStatsDynArray; function _GetcodecStats: TJSRTCCodecStatsDynArray; function _GetrawLocalCandidates: TUnicodeStringDynArray; function _GetrawRemoteCandidates: TUnicodeStringDynArray; function _GetvideoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray; function _GetbandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray; procedure _SetinboundRtpStreamStats(const aValue: TJSRTCInboundRtpStreamStatsDynArray); procedure _SetoutboundRtpStreamStats(const aValue: TJSRTCOutboundRtpStreamStatsDynArray); procedure _SetremoteInboundRtpStreamStats(const aValue: TJSRTCRemoteInboundRtpStreamStatsDynArray); procedure _SetremoteOutboundRtpStreamStats(const aValue: TJSRTCRemoteOutboundRtpStreamStatsDynArray); procedure _SetmediaSourceStats(const aValue: TJSRTCMediaSourceStatsDynArray); procedure _SetvideoSourceStats(const aValue: TJSRTCVideoSourceStatsDynArray); procedure _SetpeerConnectionStats(const aValue: TJSRTCPeerConnectionStatsDynArray); procedure _SetrtpContributingSourceStats(const aValue: TJSRTCRTPContributingSourceStatsDynArray); procedure _SeticeCandidatePairStats(const aValue: TJSRTCIceCandidatePairStatsDynArray); procedure _SeticeCandidateStats(const aValue: TJSRTCIceCandidateStatsDynArray); procedure _SettrickledIceCandidateStats(const aValue: TJSRTCIceCandidateStatsDynArray); procedure _SetdataChannelStats(const aValue: TJSRTCDataChannelStatsDynArray); procedure _SetcodecStats(const aValue: TJSRTCCodecStatsDynArray); procedure _SetrawLocalCandidates(const aValue: TUnicodeStringDynArray); procedure _SetrawRemoteCandidates(const aValue: TUnicodeStringDynArray); procedure _SetvideoFrameHistories(const aValue: TJSRTCVideoFrameHistoryInternalDynArray); procedure _SetbandwidthEstimations(const aValue: TJSRTCBandwidthEstimationInternalDynArray); Public constructor create(const aDict : TJSRTCStatsCollectionRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCStatsCollection; property inboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray read _GetinboundRtpStreamStats write _SetinboundRtpStreamStats; property outboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray read _GetoutboundRtpStreamStats write _SetoutboundRtpStreamStats; property remoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray read _GetremoteInboundRtpStreamStats write _SetremoteInboundRtpStreamStats; property remoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray read _GetremoteOutboundRtpStreamStats write _SetremoteOutboundRtpStreamStats; property mediaSourceStats: TJSRTCMediaSourceStatsDynArray read _GetmediaSourceStats write _SetmediaSourceStats; property videoSourceStats: TJSRTCVideoSourceStatsDynArray read _GetvideoSourceStats write _SetvideoSourceStats; property peerConnectionStats: TJSRTCPeerConnectionStatsDynArray read _GetpeerConnectionStats write _SetpeerConnectionStats; property rtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray read _GetrtpContributingSourceStats write _SetrtpContributingSourceStats; property iceCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray read _GeticeCandidatePairStats write _SeticeCandidatePairStats; property iceCandidateStats: TJSRTCIceCandidateStatsDynArray read _GeticeCandidateStats write _SeticeCandidateStats; property trickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray read _GettrickledIceCandidateStats write _SettrickledIceCandidateStats; property dataChannelStats: TJSRTCDataChannelStatsDynArray read _GetdataChannelStats write _SetdataChannelStats; property codecStats: TJSRTCCodecStatsDynArray read _GetcodecStats write _SetcodecStats; property rawLocalCandidates: TUnicodeStringDynArray read _GetrawLocalCandidates write _SetrawLocalCandidates; property rawRemoteCandidates: TUnicodeStringDynArray read _GetrawRemoteCandidates write _SetrawRemoteCandidates; property videoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray read _GetvideoFrameHistories write _SetvideoFrameHistories; property bandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray read _GetbandwidthEstimations write _SetbandwidthEstimations; end; { -------------------------------------------------------------------- TJSRTCIceServerInternal --------------------------------------------------------------------} TJSRTCIceServerInternalRec = record urls: TUnicodeStringDynArray; credentialProvided: Boolean; userNameProvided: Boolean; end; IJSRTCIceServerInternal = interface(IJSObject) ['{37917243-DE3D-3E92-9214-67F98D026687}'] function _Geturls: TUnicodeStringDynArray; function _GetcredentialProvided: Boolean; function _GetuserNameProvided: Boolean; procedure _Seturls(const aValue: TUnicodeStringDynArray); procedure _SetcredentialProvided(const aValue: Boolean); procedure _SetuserNameProvided(const aValue: Boolean); property urls: TUnicodeStringDynArray read _Geturls write _Seturls; property credentialProvided: Boolean read _GetcredentialProvided write _SetcredentialProvided; property userNameProvided: Boolean read _GetuserNameProvided write _SetuserNameProvided; end; TJSRTCIceServerInternal = class(TJSObject,IJSRTCIceServerInternal) Private Protected function _Geturls: TUnicodeStringDynArray; function _GetcredentialProvided: Boolean; function _GetuserNameProvided: Boolean; procedure _Seturls(const aValue: TUnicodeStringDynArray); procedure _SetcredentialProvided(const aValue: Boolean); procedure _SetuserNameProvided(const aValue: Boolean); Public constructor create(const aDict : TJSRTCIceServerInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceServerInternal; property urls: TUnicodeStringDynArray read _Geturls write _Seturls; property credentialProvided: Boolean read _GetcredentialProvided write _SetcredentialProvided; property userNameProvided: Boolean read _GetuserNameProvided write _SetuserNameProvided; end; { -------------------------------------------------------------------- TJSRTCConfigurationInternal --------------------------------------------------------------------} TJSRTCIceServerInternalDynArray = IJSArray; // array of RTCIceServerInternal TJSRTCConfigurationInternalRec = record bundlePolicy: TRTCBundlePolicy; certificatesProvided: Boolean; iceServers: TJSRTCIceServerInternalDynArray; iceTransportPolicy: TRTCIceTransportPolicy; peerIdentityProvided: Boolean; sdpSemantics: UnicodeString; end; IJSRTCConfigurationInternal = interface(IJSObject) ['{5EF3BF9F-435F-3DB5-807C-295F58B61779}'] function _GetbundlePolicy: TRTCBundlePolicy; function _GetcertificatesProvided: Boolean; function _GeticeServers: TJSRTCIceServerInternalDynArray; function _GeticeTransportPolicy: TRTCIceTransportPolicy; function _GetpeerIdentityProvided: Boolean; function _GetsdpSemantics: UnicodeString; procedure _SetbundlePolicy(const aValue: TRTCBundlePolicy); procedure _SetcertificatesProvided(const aValue: Boolean); procedure _SeticeServers(const aValue: TJSRTCIceServerInternalDynArray); procedure _SeticeTransportPolicy(const aValue: TRTCIceTransportPolicy); procedure _SetpeerIdentityProvided(const aValue: Boolean); procedure _SetsdpSemantics(const aValue: UnicodeString); property bundlePolicy: TRTCBundlePolicy read _GetbundlePolicy write _SetbundlePolicy; property certificatesProvided: Boolean read _GetcertificatesProvided write _SetcertificatesProvided; property iceServers: TJSRTCIceServerInternalDynArray read _GeticeServers write _SeticeServers; property iceTransportPolicy: TRTCIceTransportPolicy read _GeticeTransportPolicy write _SeticeTransportPolicy; property peerIdentityProvided: Boolean read _GetpeerIdentityProvided write _SetpeerIdentityProvided; property sdpSemantics: UnicodeString read _GetsdpSemantics write _SetsdpSemantics; end; TJSRTCConfigurationInternal = class(TJSObject,IJSRTCConfigurationInternal) Private Protected function _GetbundlePolicy: TRTCBundlePolicy; function _GetcertificatesProvided: Boolean; function _GeticeServers: TJSRTCIceServerInternalDynArray; function _GeticeTransportPolicy: TRTCIceTransportPolicy; function _GetpeerIdentityProvided: Boolean; function _GetsdpSemantics: UnicodeString; procedure _SetbundlePolicy(const aValue: TRTCBundlePolicy); procedure _SetcertificatesProvided(const aValue: Boolean); procedure _SeticeServers(const aValue: TJSRTCIceServerInternalDynArray); procedure _SeticeTransportPolicy(const aValue: TRTCIceTransportPolicy); procedure _SetpeerIdentityProvided(const aValue: Boolean); procedure _SetsdpSemantics(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCConfigurationInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCConfigurationInternal; property bundlePolicy: TRTCBundlePolicy read _GetbundlePolicy write _SetbundlePolicy; property certificatesProvided: Boolean read _GetcertificatesProvided write _SetcertificatesProvided; property iceServers: TJSRTCIceServerInternalDynArray read _GeticeServers write _SeticeServers; property iceTransportPolicy: TRTCIceTransportPolicy read _GeticeTransportPolicy write _SeticeTransportPolicy; property peerIdentityProvided: Boolean read _GetpeerIdentityProvided write _SetpeerIdentityProvided; property sdpSemantics: UnicodeString read _GetsdpSemantics write _SetsdpSemantics; end; { -------------------------------------------------------------------- TJSRTCSdpHistoryInternal --------------------------------------------------------------------} TJSRTCSdpHistoryEntryInternalDynArray = IJSArray; // array of RTCSdpHistoryEntryInternal TJSRTCSdpHistoryInternalRec = record pcid: UnicodeString; sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; end; IJSRTCSdpHistoryInternal = interface(IJSObject) ['{A2B0EABA-E509-3751-9D49-BDF0DE1008DC}'] function _Getpcid: UnicodeString; function _GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; procedure _Setpcid(const aValue: UnicodeString); procedure _SetsdpHistory(const aValue: TJSRTCSdpHistoryEntryInternalDynArray); property pcid: UnicodeString read _Getpcid write _Setpcid; property sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray read _GetsdpHistory write _SetsdpHistory; end; TJSRTCSdpHistoryInternal = class(TJSObject,IJSRTCSdpHistoryInternal) Private Protected function _Getpcid: UnicodeString; function _GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; procedure _Setpcid(const aValue: UnicodeString); procedure _SetsdpHistory(const aValue: TJSRTCSdpHistoryEntryInternalDynArray); Public constructor create(const aDict : TJSRTCSdpHistoryInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSdpHistoryInternal; property pcid: UnicodeString read _Getpcid write _Setpcid; property sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray read _GetsdpHistory write _SetsdpHistory; end; { -------------------------------------------------------------------- TJSSanitizerElementNamespace --------------------------------------------------------------------} TJSSanitizerElementNamespaceRec = record name: UnicodeString; namespace: UnicodeString; end; IJSSanitizerElementNamespace = interface(IJSObject) ['{3C4FE5E1-037E-37A2-A2E9-1CC325E548ED}'] function _Getname: UnicodeString; function _Getnamespace: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setnamespace(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property namespace: UnicodeString read _Getnamespace write _Setnamespace; end; TJSSanitizerElementNamespace = class(TJSObject,IJSSanitizerElementNamespace) Private Protected function _Getname: UnicodeString; function _Getnamespace: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setnamespace(const aValue: UnicodeString); Public constructor create(const aDict : TJSSanitizerElementNamespaceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSanitizerElementNamespace; property name: UnicodeString read _Getname write _Setname; property namespace: UnicodeString read _Getnamespace write _Setnamespace; end; { -------------------------------------------------------------------- TJSSanitizerAttributeNamespace --------------------------------------------------------------------} TJSSanitizerAttributeNamespaceRec = record name: UnicodeString; namespace: UnicodeString; end; IJSSanitizerAttributeNamespace = interface(IJSObject) ['{54A166A5-BB80-359A-B3EC-57A6C806F652}'] function _Getname: UnicodeString; function _Getnamespace: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setnamespace(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property namespace: UnicodeString read _Getnamespace write _Setnamespace; end; TJSSanitizerAttributeNamespace = class(TJSObject,IJSSanitizerAttributeNamespace) Private Protected function _Getname: UnicodeString; function _Getnamespace: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setnamespace(const aValue: UnicodeString); Public constructor create(const aDict : TJSSanitizerAttributeNamespaceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSanitizerAttributeNamespace; property name: UnicodeString read _Getname write _Setname; property namespace: UnicodeString read _Getnamespace write _Setnamespace; end; { -------------------------------------------------------------------- TJSSanitizerConfig --------------------------------------------------------------------} TSanitizerElementWithAttributesDynArray = IJSArray; // array of SanitizerElementWithAttributes TSanitizerElementDynArray = IJSArray; // array of SanitizerElement TSanitizerAttributeDynArray = IJSArray; // array of SanitizerAttribute TJSSanitizerConfigRec = record elements: TSanitizerElementWithAttributesDynArray; removeElements: TSanitizerElementDynArray; replaceWithChildrenElements: TSanitizerElementDynArray; attributes: TSanitizerAttributeDynArray; removeAttributes: TSanitizerAttributeDynArray; customElements: Boolean; unknownMarkup: Boolean; comments: Boolean; end; IJSSanitizerConfig = interface(IJSObject) ['{D8331B9A-B305-3D0A-A29A-2646B3E05CAA}'] function _Getelements: TSanitizerElementWithAttributesDynArray; function _GetremoveElements: TSanitizerElementDynArray; function _GetreplaceWithChildrenElements: TSanitizerElementDynArray; function _Getattributes: TSanitizerAttributeDynArray; function _GetremoveAttributes: TSanitizerAttributeDynArray; function _GetcustomElements: Boolean; function _GetunknownMarkup: Boolean; function _Getcomments: Boolean; procedure _Setelements(const aValue: TSanitizerElementWithAttributesDynArray); procedure _SetremoveElements(const aValue: TSanitizerElementDynArray); procedure _SetreplaceWithChildrenElements(const aValue: TSanitizerElementDynArray); procedure _Setattributes(const aValue: TSanitizerAttributeDynArray); procedure _SetremoveAttributes(const aValue: TSanitizerAttributeDynArray); procedure _SetcustomElements(const aValue: Boolean); procedure _SetunknownMarkup(const aValue: Boolean); procedure _Setcomments(const aValue: Boolean); property elements: TSanitizerElementWithAttributesDynArray read _Getelements write _Setelements; property removeElements: TSanitizerElementDynArray read _GetremoveElements write _SetremoveElements; property replaceWithChildrenElements: TSanitizerElementDynArray read _GetreplaceWithChildrenElements write _SetreplaceWithChildrenElements; property attributes: TSanitizerAttributeDynArray read _Getattributes write _Setattributes; property removeAttributes: TSanitizerAttributeDynArray read _GetremoveAttributes write _SetremoveAttributes; property customElements: Boolean read _GetcustomElements write _SetcustomElements; property unknownMarkup: Boolean read _GetunknownMarkup write _SetunknownMarkup; property comments: Boolean read _Getcomments write _Setcomments; end; TJSSanitizerConfig = class(TJSObject,IJSSanitizerConfig) Private Protected function _Getelements: TSanitizerElementWithAttributesDynArray; function _GetremoveElements: TSanitizerElementDynArray; function _GetreplaceWithChildrenElements: TSanitizerElementDynArray; function _Getattributes: TSanitizerAttributeDynArray; function _GetremoveAttributes: TSanitizerAttributeDynArray; function _GetcustomElements: Boolean; function _GetunknownMarkup: Boolean; function _Getcomments: Boolean; procedure _Setelements(const aValue: TSanitizerElementWithAttributesDynArray); procedure _SetremoveElements(const aValue: TSanitizerElementDynArray); procedure _SetreplaceWithChildrenElements(const aValue: TSanitizerElementDynArray); procedure _Setattributes(const aValue: TSanitizerAttributeDynArray); procedure _SetremoveAttributes(const aValue: TSanitizerAttributeDynArray); procedure _SetcustomElements(const aValue: Boolean); procedure _SetunknownMarkup(const aValue: Boolean); procedure _Setcomments(const aValue: Boolean); Public constructor create(const aDict : TJSSanitizerConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSanitizerConfig; property elements: TSanitizerElementWithAttributesDynArray read _Getelements write _Setelements; property removeElements: TSanitizerElementDynArray read _GetremoveElements write _SetremoveElements; property replaceWithChildrenElements: TSanitizerElementDynArray read _GetreplaceWithChildrenElements write _SetreplaceWithChildrenElements; property attributes: TSanitizerAttributeDynArray read _Getattributes write _Setattributes; property removeAttributes: TSanitizerAttributeDynArray read _GetremoveAttributes write _SetremoveAttributes; property customElements: Boolean read _GetcustomElements write _SetcustomElements; property unknownMarkup: Boolean read _GetunknownMarkup write _SetunknownMarkup; property comments: Boolean read _Getcomments write _Setcomments; end; { -------------------------------------------------------------------- TJSRegistrationOptions --------------------------------------------------------------------} TJSRegistrationOptionsRec = record scope: UnicodeString; updateViaCache: TServiceWorkerUpdateViaCache; end; IJSRegistrationOptions = interface(IJSObject) ['{E37F0A6F-93E5-3B8B-BD42-AB2C5DC370C0}'] function _Getscope: UnicodeString; function _GetupdateViaCache: TServiceWorkerUpdateViaCache; procedure _Setscope(const aValue: UnicodeString); procedure _SetupdateViaCache(const aValue: TServiceWorkerUpdateViaCache); property scope: UnicodeString read _Getscope write _Setscope; property updateViaCache: TServiceWorkerUpdateViaCache read _GetupdateViaCache write _SetupdateViaCache; end; TJSRegistrationOptions = class(TJSObject,IJSRegistrationOptions) Private Protected function _Getscope: UnicodeString; function _GetupdateViaCache: TServiceWorkerUpdateViaCache; procedure _Setscope(const aValue: UnicodeString); procedure _SetupdateViaCache(const aValue: TServiceWorkerUpdateViaCache); Public constructor create(const aDict : TJSRegistrationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRegistrationOptions; property scope: UnicodeString read _Getscope write _Setscope; property updateViaCache: TServiceWorkerUpdateViaCache read _GetupdateViaCache write _SetupdateViaCache; end; { -------------------------------------------------------------------- TJSStaticRangeInit --------------------------------------------------------------------} TJSStaticRangeInitRec = record startContainer: IJSNode; startOffset: Cardinal; endContainer: IJSNode; endOffset: Cardinal; end; IJSStaticRangeInit = interface(IJSObject) ['{B7206BCC-E38D-3AC5-AE0F-34203C142F51}'] function _GetstartContainer: IJSNode; function _GetstartOffset: Cardinal; function _GetendContainer: IJSNode; function _GetendOffset: Cardinal; procedure _SetstartContainer(const aValue: IJSNode); procedure _SetstartOffset(const aValue: Cardinal); procedure _SetendContainer(const aValue: IJSNode); procedure _SetendOffset(const aValue: Cardinal); property startContainer: IJSNode read _GetstartContainer write _SetstartContainer; property startOffset: Cardinal read _GetstartOffset write _SetstartOffset; property endContainer: IJSNode read _GetendContainer write _SetendContainer; property endOffset: Cardinal read _GetendOffset write _SetendOffset; end; TJSStaticRangeInit = class(TJSObject,IJSStaticRangeInit) Private Protected function _GetstartContainer: IJSNode; function _GetstartOffset: Cardinal; function _GetendContainer: IJSNode; function _GetendOffset: Cardinal; procedure _SetstartContainer(const aValue: IJSNode); procedure _SetstartOffset(const aValue: Cardinal); procedure _SetendContainer(const aValue: IJSNode); procedure _SetendOffset(const aValue: Cardinal); Public constructor create(const aDict : TJSStaticRangeInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStaticRangeInit; property startContainer: IJSNode read _GetstartContainer write _SetstartContainer; property startOffset: Cardinal read _GetstartOffset write _SetstartOffset; property endContainer: IJSNode read _GetendContainer write _SetendContainer; property endOffset: Cardinal read _GetendOffset write _SetendOffset; end; { -------------------------------------------------------------------- TJSStorageEstimate --------------------------------------------------------------------} TJSStorageEstimateRec = record usage: QWord; quota: QWord; end; IJSStorageEstimate = interface(IJSObject) ['{EF808313-06B5-360B-8554-18CE2B92B170}'] function _Getusage: QWord; function _Getquota: QWord; procedure _Setusage(const aValue: QWord); procedure _Setquota(const aValue: QWord); property usage: QWord read _Getusage write _Setusage; property quota: QWord read _Getquota write _Setquota; end; TJSStorageEstimate = class(TJSObject,IJSStorageEstimate) Private Protected function _Getusage: QWord; function _Getquota: QWord; procedure _Setusage(const aValue: QWord); procedure _Setquota(const aValue: QWord); Public constructor create(const aDict : TJSStorageEstimateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStorageEstimate; property usage: QWord read _Getusage write _Setusage; property quota: QWord read _Getquota write _Setquota; end; { -------------------------------------------------------------------- TJSAlgorithm --------------------------------------------------------------------} TJSAlgorithmRec = record name: UnicodeString; end; IJSAlgorithm = interface(IJSObject) ['{33815B4E-87BA-3CA5-8591-8DD15390C552}'] function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; end; TJSAlgorithm = class(TJSObject,IJSAlgorithm) Private Protected function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAlgorithm; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSRsaHashedImportParams --------------------------------------------------------------------} TJSRsaHashedImportParamsRec = record hash: TAlgorithmIdentifier; end; IJSRsaHashedImportParams = interface(IJSObject) ['{44F2351F-A9BF-3491-9500-07279EDD8DD9}'] function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; TJSRsaHashedImportParams = class(TJSObject,IJSRsaHashedImportParams) Private Protected function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); Public constructor create(const aDict : TJSRsaHashedImportParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaHashedImportParams; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSRsaOtherPrimesInfo --------------------------------------------------------------------} TJSRsaOtherPrimesInfoRec = record r: UnicodeString; d: UnicodeString; t: UnicodeString; end; IJSRsaOtherPrimesInfo = interface(IJSObject) ['{C8B4FD90-86EF-3201-9B46-54C853B35B4B}'] function _Getr: UnicodeString; function _Getd: UnicodeString; function _Gett: UnicodeString; procedure _Setr(const aValue: UnicodeString); procedure _Setd(const aValue: UnicodeString); procedure _Sett(const aValue: UnicodeString); property r: UnicodeString read _Getr write _Setr; property d: UnicodeString read _Getd write _Setd; property t: UnicodeString read _Gett write _Sett; end; TJSRsaOtherPrimesInfo = class(TJSObject,IJSRsaOtherPrimesInfo) Private Protected function _Getr: UnicodeString; function _Getd: UnicodeString; function _Gett: UnicodeString; procedure _Setr(const aValue: UnicodeString); procedure _Setd(const aValue: UnicodeString); procedure _Sett(const aValue: UnicodeString); Public constructor create(const aDict : TJSRsaOtherPrimesInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaOtherPrimesInfo; property r: UnicodeString read _Getr write _Setr; property d: UnicodeString read _Getd write _Setd; property t: UnicodeString read _Gett write _Sett; end; { -------------------------------------------------------------------- TJSJsonWebKey --------------------------------------------------------------------} TJSRsaOtherPrimesInfoDynArray = IJSArray; // array of RsaOtherPrimesInfo TJSJsonWebKeyRec = record kty: UnicodeString; use: UnicodeString; key_ops: TUnicodeStringDynArray; alg: UnicodeString; ext: Boolean; crv: UnicodeString; x: UnicodeString; y: UnicodeString; d: UnicodeString; n: UnicodeString; e: UnicodeString; p: UnicodeString; q: UnicodeString; dp: UnicodeString; dq: UnicodeString; qi: UnicodeString; oth: TJSRsaOtherPrimesInfoDynArray; k: UnicodeString; end; IJSJsonWebKey = interface(IJSObject) ['{C65DF81E-3C0A-34BE-923E-4E061A239E88}'] function _Getkty: UnicodeString; function _Getuse: UnicodeString; function _Getkey_ops: TUnicodeStringDynArray; function _Getalg: UnicodeString; function _Getext: Boolean; function _Getcrv: UnicodeString; function _Getx: UnicodeString; function _Gety: UnicodeString; function _Getd: UnicodeString; function _Getn: UnicodeString; function _Gete: UnicodeString; function _Getp: UnicodeString; function _Getq: UnicodeString; function _Getdp: UnicodeString; function _Getdq: UnicodeString; function _Getqi: UnicodeString; function _Getoth: TJSRsaOtherPrimesInfoDynArray; function _Getk: UnicodeString; procedure _Setkty(const aValue: UnicodeString); procedure _Setuse(const aValue: UnicodeString); procedure _Setkey_ops(const aValue: TUnicodeStringDynArray); procedure _Setalg(const aValue: UnicodeString); procedure _Setext(const aValue: Boolean); procedure _Setcrv(const aValue: UnicodeString); procedure _Setx(const aValue: UnicodeString); procedure _Sety(const aValue: UnicodeString); procedure _Setd(const aValue: UnicodeString); procedure _Setn(const aValue: UnicodeString); procedure _Sete(const aValue: UnicodeString); procedure _Setp(const aValue: UnicodeString); procedure _Setq(const aValue: UnicodeString); procedure _Setdp(const aValue: UnicodeString); procedure _Setdq(const aValue: UnicodeString); procedure _Setqi(const aValue: UnicodeString); procedure _Setoth(const aValue: TJSRsaOtherPrimesInfoDynArray); procedure _Setk(const aValue: UnicodeString); property kty: UnicodeString read _Getkty write _Setkty; property use: UnicodeString read _Getuse write _Setuse; property key_ops: TUnicodeStringDynArray read _Getkey_ops write _Setkey_ops; property alg: UnicodeString read _Getalg write _Setalg; property ext: Boolean read _Getext write _Setext; property crv: UnicodeString read _Getcrv write _Setcrv; property x: UnicodeString read _Getx write _Setx; property y: UnicodeString read _Gety write _Sety; property d: UnicodeString read _Getd write _Setd; property n: UnicodeString read _Getn write _Setn; property e: UnicodeString read _Gete write _Sete; property p: UnicodeString read _Getp write _Setp; property q: UnicodeString read _Getq write _Setq; property dp: UnicodeString read _Getdp write _Setdp; property dq: UnicodeString read _Getdq write _Setdq; property qi: UnicodeString read _Getqi write _Setqi; property oth: TJSRsaOtherPrimesInfoDynArray read _Getoth write _Setoth; property k: UnicodeString read _Getk write _Setk; end; TJSJsonWebKey = class(TJSObject,IJSJsonWebKey) Private Protected function _Getkty: UnicodeString; function _Getuse: UnicodeString; function _Getkey_ops: TUnicodeStringDynArray; function _Getalg: UnicodeString; function _Getext: Boolean; function _Getcrv: UnicodeString; function _Getx: UnicodeString; function _Gety: UnicodeString; function _Getd: UnicodeString; function _Getn: UnicodeString; function _Gete: UnicodeString; function _Getp: UnicodeString; function _Getq: UnicodeString; function _Getdp: UnicodeString; function _Getdq: UnicodeString; function _Getqi: UnicodeString; function _Getoth: TJSRsaOtherPrimesInfoDynArray; function _Getk: UnicodeString; procedure _Setkty(const aValue: UnicodeString); procedure _Setuse(const aValue: UnicodeString); procedure _Setkey_ops(const aValue: TUnicodeStringDynArray); procedure _Setalg(const aValue: UnicodeString); procedure _Setext(const aValue: Boolean); procedure _Setcrv(const aValue: UnicodeString); procedure _Setx(const aValue: UnicodeString); procedure _Sety(const aValue: UnicodeString); procedure _Setd(const aValue: UnicodeString); procedure _Setn(const aValue: UnicodeString); procedure _Sete(const aValue: UnicodeString); procedure _Setp(const aValue: UnicodeString); procedure _Setq(const aValue: UnicodeString); procedure _Setdp(const aValue: UnicodeString); procedure _Setdq(const aValue: UnicodeString); procedure _Setqi(const aValue: UnicodeString); procedure _Setoth(const aValue: TJSRsaOtherPrimesInfoDynArray); procedure _Setk(const aValue: UnicodeString); Public constructor create(const aDict : TJSJsonWebKeyRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSJsonWebKey; property kty: UnicodeString read _Getkty write _Setkty; property use: UnicodeString read _Getuse write _Setuse; property key_ops: TUnicodeStringDynArray read _Getkey_ops write _Setkey_ops; property alg: UnicodeString read _Getalg write _Setalg; property ext: Boolean read _Getext write _Setext; property crv: UnicodeString read _Getcrv write _Setcrv; property x: UnicodeString read _Getx write _Setx; property y: UnicodeString read _Gety write _Sety; property d: UnicodeString read _Getd write _Setd; property n: UnicodeString read _Getn write _Setn; property e: UnicodeString read _Gete write _Sete; property p: UnicodeString read _Getp write _Setp; property q: UnicodeString read _Getq write _Setq; property dp: UnicodeString read _Getdp write _Setdp; property dq: UnicodeString read _Getdq write _Setdq; property qi: UnicodeString read _Getqi write _Setqi; property oth: TJSRsaOtherPrimesInfoDynArray read _Getoth write _Setoth; property k: UnicodeString read _Getk write _Setk; end; { -------------------------------------------------------------------- TJSCryptoKeyPair --------------------------------------------------------------------} TJSCryptoKeyPairRec = record publicKey: TJSCryptoKey; privateKey: TJSCryptoKey; end; IJSCryptoKeyPair = interface(IJSObject) ['{5E6E43E5-6270-330D-9D0E-FA515AC1837D}'] function _GetpublicKey: IJSCryptoKey; function _GetprivateKey: IJSCryptoKey; procedure _SetpublicKey(const aValue: IJSCryptoKey); procedure _SetprivateKey(const aValue: IJSCryptoKey); property publicKey: IJSCryptoKey read _GetpublicKey write _SetpublicKey; property privateKey: IJSCryptoKey read _GetprivateKey write _SetprivateKey; end; TJSCryptoKeyPair = class(TJSObject,IJSCryptoKeyPair) Private Protected function _GetpublicKey: IJSCryptoKey; function _GetprivateKey: IJSCryptoKey; procedure _SetpublicKey(const aValue: IJSCryptoKey); procedure _SetprivateKey(const aValue: IJSCryptoKey); Public constructor create(const aDict : TJSCryptoKeyPairRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCryptoKeyPair; property publicKey: IJSCryptoKey read _GetpublicKey write _SetpublicKey; property privateKey: IJSCryptoKey read _GetprivateKey write _SetprivateKey; end; { -------------------------------------------------------------------- TJSSVGBoundingBoxOptions --------------------------------------------------------------------} TJSSVGBoundingBoxOptionsRec = record fill: Boolean; stroke: Boolean; markers: Boolean; clipped: Boolean; end; IJSSVGBoundingBoxOptions = interface(IJSObject) ['{A8BE3BB0-51C5-30F5-A2D1-86679D4147FE}'] function _Getfill: Boolean; function _Getstroke: Boolean; function _Getmarkers: Boolean; function _Getclipped: Boolean; procedure _Setfill(const aValue: Boolean); procedure _Setstroke(const aValue: Boolean); procedure _Setmarkers(const aValue: Boolean); procedure _Setclipped(const aValue: Boolean); property fill: Boolean read _Getfill write _Setfill; property stroke: Boolean read _Getstroke write _Setstroke; property markers: Boolean read _Getmarkers write _Setmarkers; property clipped: Boolean read _Getclipped write _Setclipped; end; TJSSVGBoundingBoxOptions = class(TJSObject,IJSSVGBoundingBoxOptions) Private Protected function _Getfill: Boolean; function _Getstroke: Boolean; function _Getmarkers: Boolean; function _Getclipped: Boolean; procedure _Setfill(const aValue: Boolean); procedure _Setstroke(const aValue: Boolean); procedure _Setmarkers(const aValue: Boolean); procedure _Setclipped(const aValue: Boolean); Public constructor create(const aDict : TJSSVGBoundingBoxOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGBoundingBoxOptions; property fill: Boolean read _Getfill write _Setfill; property stroke: Boolean read _Getstroke write _Setstroke; property markers: Boolean read _Getmarkers write _Setmarkers; property clipped: Boolean read _Getclipped write _Setclipped; end; { -------------------------------------------------------------------- TJSServerSocketOptions --------------------------------------------------------------------} TJSServerSocketOptionsRec = record binaryType: TTCPSocketBinaryType; end; IJSServerSocketOptions = interface(IJSObject) ['{DA7C479F-5639-39BB-A438-AB2C5DB2A063}'] function _GetbinaryType: TTCPSocketBinaryType; procedure _SetbinaryType(const aValue: TTCPSocketBinaryType); property binaryType: TTCPSocketBinaryType read _GetbinaryType write _SetbinaryType; end; TJSServerSocketOptions = class(TJSObject,IJSServerSocketOptions) Private Protected function _GetbinaryType: TTCPSocketBinaryType; procedure _SetbinaryType(const aValue: TTCPSocketBinaryType); Public constructor create(const aDict : TJSServerSocketOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSServerSocketOptions; property binaryType: TTCPSocketBinaryType read _GetbinaryType write _SetbinaryType; end; { -------------------------------------------------------------------- TJSSocketOptions --------------------------------------------------------------------} TJSSocketOptionsRec = record useSecureTransport: Boolean; binaryType: TTCPSocketBinaryType; end; IJSSocketOptions = interface(IJSObject) ['{61E887ED-075F-376A-A252-91671E50F615}'] function _GetuseSecureTransport: Boolean; function _GetbinaryType: TTCPSocketBinaryType; procedure _SetuseSecureTransport(const aValue: Boolean); procedure _SetbinaryType(const aValue: TTCPSocketBinaryType); property useSecureTransport: Boolean read _GetuseSecureTransport write _SetuseSecureTransport; property binaryType: TTCPSocketBinaryType read _GetbinaryType write _SetbinaryType; end; TJSSocketOptions = class(TJSObject,IJSSocketOptions) Private Protected function _GetuseSecureTransport: Boolean; function _GetbinaryType: TTCPSocketBinaryType; procedure _SetuseSecureTransport(const aValue: Boolean); procedure _SetbinaryType(const aValue: TTCPSocketBinaryType); Public constructor create(const aDict : TJSSocketOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSocketOptions; property useSecureTransport: Boolean read _GetuseSecureTransport write _SetuseSecureTransport; property binaryType: TTCPSocketBinaryType read _GetbinaryType write _SetbinaryType; end; { -------------------------------------------------------------------- TJSDictWithAllowSharedBufferSource --------------------------------------------------------------------} TJSDictWithAllowSharedBufferSourceRec = record arrayBuffer: IJSArrayBuffer; arrayBufferView: IJSArrayBufferView; allowSharedArrayBuffer: IJSArrayBuffer; allowSharedArrayBufferView: IJSArrayBufferView; end; IJSDictWithAllowSharedBufferSource = interface(IJSObject) ['{7F54897F-06AC-3B73-908C-7A4C4E253F60}'] function _GetarrayBuffer: IJSArrayBuffer; function _GetarrayBufferView: IJSArrayBufferView; function _GetallowSharedArrayBuffer: IJSArrayBuffer; function _GetallowSharedArrayBufferView: IJSArrayBufferView; procedure _SetarrayBuffer(const aValue: IJSArrayBuffer); procedure _SetarrayBufferView(const aValue: IJSArrayBufferView); procedure _SetallowSharedArrayBuffer(const aValue: IJSArrayBuffer); procedure _SetallowSharedArrayBufferView(const aValue: IJSArrayBufferView); property arrayBuffer: IJSArrayBuffer read _GetarrayBuffer write _SetarrayBuffer; property arrayBufferView: IJSArrayBufferView read _GetarrayBufferView write _SetarrayBufferView; property allowSharedArrayBuffer: IJSArrayBuffer read _GetallowSharedArrayBuffer write _SetallowSharedArrayBuffer; property allowSharedArrayBufferView: IJSArrayBufferView read _GetallowSharedArrayBufferView write _SetallowSharedArrayBufferView; end; TJSDictWithAllowSharedBufferSource = class(TJSObject,IJSDictWithAllowSharedBufferSource) Private Protected function _GetarrayBuffer: IJSArrayBuffer; function _GetarrayBufferView: IJSArrayBufferView; function _GetallowSharedArrayBuffer: IJSArrayBuffer; function _GetallowSharedArrayBufferView: IJSArrayBufferView; procedure _SetarrayBuffer(const aValue: IJSArrayBuffer); procedure _SetarrayBufferView(const aValue: IJSArrayBufferView); procedure _SetallowSharedArrayBuffer(const aValue: IJSArrayBuffer); procedure _SetallowSharedArrayBufferView(const aValue: IJSArrayBufferView); Public constructor create(const aDict : TJSDictWithAllowSharedBufferSourceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDictWithAllowSharedBufferSource; property arrayBuffer: IJSArrayBuffer read _GetarrayBuffer write _SetarrayBuffer; property arrayBufferView: IJSArrayBufferView read _GetarrayBufferView write _SetarrayBufferView; property allowSharedArrayBuffer: IJSArrayBuffer read _GetallowSharedArrayBuffer write _SetallowSharedArrayBuffer; property allowSharedArrayBufferView: IJSArrayBufferView read _GetallowSharedArrayBufferView write _SetallowSharedArrayBufferView; end; { -------------------------------------------------------------------- TJSTestInterfaceJSUnionableDictionary --------------------------------------------------------------------} TJSTestInterfaceJSUnionableDictionaryRec = record objectMember: IJSObject; anyMember: Variant; end; IJSTestInterfaceJSUnionableDictionary = interface(IJSObject) ['{4C6CB7D5-287C-39E9-AB39-D39B245CAE43}'] function _GetobjectMember: IJSObject; function _GetanyMember: Variant; procedure _SetobjectMember(const aValue: IJSObject); procedure _SetanyMember(const aValue: Variant); property objectMember: IJSObject read _GetobjectMember write _SetobjectMember; property anyMember: Variant read _GetanyMember write _SetanyMember; end; TJSTestInterfaceJSUnionableDictionary = class(TJSObject,IJSTestInterfaceJSUnionableDictionary) Private Protected function _GetobjectMember: IJSObject; function _GetanyMember: Variant; procedure _SetobjectMember(const aValue: IJSObject); procedure _SetanyMember(const aValue: Variant); Public constructor create(const aDict : TJSTestInterfaceJSUnionableDictionaryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceJSUnionableDictionary; property objectMember: IJSObject read _GetobjectMember write _SetobjectMember; property anyMember: Variant read _GetanyMember write _SetanyMember; end; { -------------------------------------------------------------------- TJSTestInterfaceJSDictionary2 --------------------------------------------------------------------} TJSTestInterfaceJSDictionary2Rec = record innerObject: IJSObject; end; IJSTestInterfaceJSDictionary2 = interface(IJSObject) ['{2B9287A3-561D-3FFA-B3F7-FA188907D033}'] function _GetinnerObject: IJSObject; procedure _SetinnerObject(const aValue: IJSObject); property innerObject: IJSObject read _GetinnerObject write _SetinnerObject; end; TJSTestInterfaceJSDictionary2 = class(TJSObject,IJSTestInterfaceJSDictionary2) Private Protected function _GetinnerObject: IJSObject; procedure _SetinnerObject(const aValue: IJSObject); Public constructor create(const aDict : TJSTestInterfaceJSDictionary2Rec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceJSDictionary2; property innerObject: IJSObject read _GetinnerObject write _SetinnerObject; end; { -------------------------------------------------------------------- TJSTestInterfaceJSDictionary --------------------------------------------------------------------} // Union of object, DOMString TTestInterfaceJSDictionary_objectOrStringMember_Type = Variant; TJSTestInterfaceJSDictionaryRec = record innerDictionary: TJSTestInterfaceJSDictionary2; objectMember: IJSObject; anyMember: Variant; objectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type; anySequenceMember: TVariantDynArray; objectRecordMember: IJSObject; end; IJSTestInterfaceJSDictionary = interface(IJSObject) ['{819148A4-49F7-356D-B649-6F740B55997F}'] function _GetinnerDictionary: IJSTestInterfaceJSDictionary2; function _GetobjectMember: IJSObject; function _GetanyMember: Variant; function _GetobjectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type; function _GetanySequenceMember: TVariantDynArray; function _GetobjectRecordMember: IJSObject; procedure _SetinnerDictionary(const aValue: IJSTestInterfaceJSDictionary2); procedure _SetobjectMember(const aValue: IJSObject); procedure _SetanyMember(const aValue: Variant); procedure _SetobjectOrStringMember(const aValue: TTestInterfaceJSDictionary_objectOrStringMember_Type); procedure _SetanySequenceMember(const aValue: TVariantDynArray); procedure _SetobjectRecordMember(const aValue: IJSObject); property innerDictionary: IJSTestInterfaceJSDictionary2 read _GetinnerDictionary write _SetinnerDictionary; property objectMember: IJSObject read _GetobjectMember write _SetobjectMember; property anyMember: Variant read _GetanyMember write _SetanyMember; property objectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type read _GetobjectOrStringMember write _SetobjectOrStringMember; property anySequenceMember: TVariantDynArray read _GetanySequenceMember write _SetanySequenceMember; property objectRecordMember: IJSObject read _GetobjectRecordMember write _SetobjectRecordMember; end; TJSTestInterfaceJSDictionary = class(TJSObject,IJSTestInterfaceJSDictionary) Private Protected function _GetinnerDictionary: IJSTestInterfaceJSDictionary2; function _GetobjectMember: IJSObject; function _GetanyMember: Variant; function _GetobjectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type; function _GetanySequenceMember: TVariantDynArray; function _GetobjectRecordMember: IJSObject; procedure _SetinnerDictionary(const aValue: IJSTestInterfaceJSDictionary2); procedure _SetobjectMember(const aValue: IJSObject); procedure _SetanyMember(const aValue: Variant); procedure _SetobjectOrStringMember(const aValue: TTestInterfaceJSDictionary_objectOrStringMember_Type); procedure _SetanySequenceMember(const aValue: TVariantDynArray); procedure _SetobjectRecordMember(const aValue: IJSObject); Public constructor create(const aDict : TJSTestInterfaceJSDictionaryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceJSDictionary; property innerDictionary: IJSTestInterfaceJSDictionary2 read _GetinnerDictionary write _SetinnerDictionary; property objectMember: IJSObject read _GetobjectMember write _SetobjectMember; property anyMember: Variant read _GetanyMember write _SetanyMember; property objectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type read _GetobjectOrStringMember write _SetobjectOrStringMember; property anySequenceMember: TVariantDynArray read _GetanySequenceMember write _SetanySequenceMember; property objectRecordMember: IJSObject read _GetobjectRecordMember write _SetobjectRecordMember; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIterableSingleOptions --------------------------------------------------------------------} TJSTestInterfaceAsyncIterableSingleOptionsRec = record failToInit: Boolean; end; IJSTestInterfaceAsyncIterableSingleOptions = interface(IJSObject) ['{A536944C-80B1-3904-B2AF-B9CA97704DC4}'] function _GetfailToInit: Boolean; procedure _SetfailToInit(const aValue: Boolean); property failToInit: Boolean read _GetfailToInit write _SetfailToInit; end; TJSTestInterfaceAsyncIterableSingleOptions = class(TJSObject,IJSTestInterfaceAsyncIterableSingleOptions) Private Protected function _GetfailToInit: Boolean; procedure _SetfailToInit(const aValue: Boolean); Public constructor create(const aDict : TJSTestInterfaceAsyncIterableSingleOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingleOptions; property failToInit: Boolean read _GetfailToInit write _SetfailToInit; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIteratorOptions --------------------------------------------------------------------} TPromiseDynArray = IJSArray; // array of Promise TJSTestInterfaceAsyncIteratorOptionsRec = record multiplier: Cardinal; blockingPromises: TPromiseDynArray; failNextAfter: Cardinal; throwFromNext: Boolean; throwFromReturn: TTestThrowingCallback; end; IJSTestInterfaceAsyncIteratorOptions = interface(IJSObject) ['{CF120A38-E32C-362A-A9BE-DC63082E63FD}'] function _Getmultiplier: Cardinal; function _GetblockingPromises: TPromiseDynArray; function _GetfailNextAfter: Cardinal; function _GetthrowFromNext: Boolean; function _GetthrowFromReturn: TTestThrowingCallback; procedure _Setmultiplier(const aValue: Cardinal); procedure _SetblockingPromises(const aValue: TPromiseDynArray); procedure _SetfailNextAfter(const aValue: Cardinal); procedure _SetthrowFromNext(const aValue: Boolean); procedure _SetthrowFromReturn(const aValue: TTestThrowingCallback); property multiplier: Cardinal read _Getmultiplier write _Setmultiplier; property blockingPromises: TPromiseDynArray read _GetblockingPromises write _SetblockingPromises; property failNextAfter: Cardinal read _GetfailNextAfter write _SetfailNextAfter; property throwFromNext: Boolean read _GetthrowFromNext write _SetthrowFromNext; property throwFromReturn: TTestThrowingCallback read _GetthrowFromReturn write _SetthrowFromReturn; end; TJSTestInterfaceAsyncIteratorOptions = class(TJSObject,IJSTestInterfaceAsyncIteratorOptions) Private Protected function _Getmultiplier: Cardinal; function _GetblockingPromises: TPromiseDynArray; function _GetfailNextAfter: Cardinal; function _GetthrowFromNext: Boolean; function _GetthrowFromReturn: TTestThrowingCallback; procedure _Setmultiplier(const aValue: Cardinal); procedure _SetblockingPromises(const aValue: TPromiseDynArray); procedure _SetfailNextAfter(const aValue: Cardinal); procedure _SetthrowFromNext(const aValue: Boolean); procedure _SetthrowFromReturn(const aValue: TTestThrowingCallback); Public constructor create(const aDict : TJSTestInterfaceAsyncIteratorOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIteratorOptions; property multiplier: Cardinal read _Getmultiplier write _Setmultiplier; property blockingPromises: TPromiseDynArray read _GetblockingPromises write _SetblockingPromises; property failNextAfter: Cardinal read _GetfailNextAfter write _SetfailNextAfter; property throwFromNext: Boolean read _GetthrowFromNext write _SetthrowFromNext; property throwFromReturn: TTestThrowingCallback read _GetthrowFromReturn write _SetthrowFromReturn; end; { -------------------------------------------------------------------- TJSObservableArrayCallbacks --------------------------------------------------------------------} TJSObservableArrayCallbacksRec = record setObjectCallback: TSetDeleteObjectCallback; deleteObjectCallback: TSetDeleteObjectCallback; setBooleanCallback: TSetDeleteBooleanCallback; deleteBooleanCallback: TSetDeleteBooleanCallback; setInterfaceCallback: TSetDeleteInterfaceCallback; deleteInterfaceCallback: TSetDeleteInterfaceCallback; end; IJSObservableArrayCallbacks = interface(IJSObject) ['{C729F896-4186-363A-AB21-318D3D009E72}'] function _GetsetObjectCallback: TSetDeleteObjectCallback; function _GetdeleteObjectCallback: TSetDeleteObjectCallback; function _GetsetBooleanCallback: TSetDeleteBooleanCallback; function _GetdeleteBooleanCallback: TSetDeleteBooleanCallback; function _GetsetInterfaceCallback: TSetDeleteInterfaceCallback; function _GetdeleteInterfaceCallback: TSetDeleteInterfaceCallback; procedure _SetsetObjectCallback(const aValue: TSetDeleteObjectCallback); procedure _SetdeleteObjectCallback(const aValue: TSetDeleteObjectCallback); procedure _SetsetBooleanCallback(const aValue: TSetDeleteBooleanCallback); procedure _SetdeleteBooleanCallback(const aValue: TSetDeleteBooleanCallback); procedure _SetsetInterfaceCallback(const aValue: TSetDeleteInterfaceCallback); procedure _SetdeleteInterfaceCallback(const aValue: TSetDeleteInterfaceCallback); property setObjectCallback: TSetDeleteObjectCallback read _GetsetObjectCallback write _SetsetObjectCallback; property deleteObjectCallback: TSetDeleteObjectCallback read _GetdeleteObjectCallback write _SetdeleteObjectCallback; property setBooleanCallback: TSetDeleteBooleanCallback read _GetsetBooleanCallback write _SetsetBooleanCallback; property deleteBooleanCallback: TSetDeleteBooleanCallback read _GetdeleteBooleanCallback write _SetdeleteBooleanCallback; property setInterfaceCallback: TSetDeleteInterfaceCallback read _GetsetInterfaceCallback write _SetsetInterfaceCallback; property deleteInterfaceCallback: TSetDeleteInterfaceCallback read _GetdeleteInterfaceCallback write _SetdeleteInterfaceCallback; end; TJSObservableArrayCallbacks = class(TJSObject,IJSObservableArrayCallbacks) Private Protected function _GetsetObjectCallback: TSetDeleteObjectCallback; function _GetdeleteObjectCallback: TSetDeleteObjectCallback; function _GetsetBooleanCallback: TSetDeleteBooleanCallback; function _GetdeleteBooleanCallback: TSetDeleteBooleanCallback; function _GetsetInterfaceCallback: TSetDeleteInterfaceCallback; function _GetdeleteInterfaceCallback: TSetDeleteInterfaceCallback; procedure _SetsetObjectCallback(const aValue: TSetDeleteObjectCallback); procedure _SetdeleteObjectCallback(const aValue: TSetDeleteObjectCallback); procedure _SetsetBooleanCallback(const aValue: TSetDeleteBooleanCallback); procedure _SetdeleteBooleanCallback(const aValue: TSetDeleteBooleanCallback); procedure _SetsetInterfaceCallback(const aValue: TSetDeleteInterfaceCallback); procedure _SetdeleteInterfaceCallback(const aValue: TSetDeleteInterfaceCallback); Public constructor create(const aDict : TJSObservableArrayCallbacksRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSObservableArrayCallbacks; property setObjectCallback: TSetDeleteObjectCallback read _GetsetObjectCallback write _SetsetObjectCallback; property deleteObjectCallback: TSetDeleteObjectCallback read _GetdeleteObjectCallback write _SetdeleteObjectCallback; property setBooleanCallback: TSetDeleteBooleanCallback read _GetsetBooleanCallback write _SetsetBooleanCallback; property deleteBooleanCallback: TSetDeleteBooleanCallback read _GetdeleteBooleanCallback write _SetdeleteBooleanCallback; property setInterfaceCallback: TSetDeleteInterfaceCallback read _GetsetInterfaceCallback write _SetsetInterfaceCallback; property deleteInterfaceCallback: TSetDeleteInterfaceCallback read _GetdeleteInterfaceCallback write _SetdeleteInterfaceCallback; end; { -------------------------------------------------------------------- TJSTextDecoderOptions --------------------------------------------------------------------} TJSTextDecoderOptionsRec = record fatal: Boolean; ignoreBOM: Boolean; end; IJSTextDecoderOptions = interface(IJSObject) ['{BDDD459B-BFED-3D3A-BB91-64CAD528787E}'] function _Getfatal: Boolean; function _GetignoreBOM: Boolean; procedure _Setfatal(const aValue: Boolean); procedure _SetignoreBOM(const aValue: Boolean); property fatal: Boolean read _Getfatal write _Setfatal; property ignoreBOM: Boolean read _GetignoreBOM write _SetignoreBOM; end; TJSTextDecoderOptions = class(TJSObject,IJSTextDecoderOptions) Private Protected function _Getfatal: Boolean; function _GetignoreBOM: Boolean; procedure _Setfatal(const aValue: Boolean); procedure _SetignoreBOM(const aValue: Boolean); Public constructor create(const aDict : TJSTextDecoderOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextDecoderOptions; property fatal: Boolean read _Getfatal write _Setfatal; property ignoreBOM: Boolean read _GetignoreBOM write _SetignoreBOM; end; { -------------------------------------------------------------------- TJSTextDecodeOptions --------------------------------------------------------------------} TJSTextDecodeOptionsRec = record stream: Boolean; end; IJSTextDecodeOptions = interface(IJSObject) ['{2B7E0233-1619-3B88-AFA9-B8791BEAA9A7}'] function _Getstream: Boolean; procedure _Setstream(const aValue: Boolean); property stream: Boolean read _Getstream write _Setstream; end; TJSTextDecodeOptions = class(TJSObject,IJSTextDecodeOptions) Private Protected function _Getstream: Boolean; procedure _Setstream(const aValue: Boolean); Public constructor create(const aDict : TJSTextDecodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextDecodeOptions; property stream: Boolean read _Getstream write _Setstream; end; { -------------------------------------------------------------------- TJSTextEncoderEncodeIntoResult --------------------------------------------------------------------} TJSTextEncoderEncodeIntoResultRec = record read: QWord; written: QWord; end; IJSTextEncoderEncodeIntoResult = interface(IJSObject) ['{DCE638EC-EAA6-3B5B-AA5B-C843CA8858B6}'] function _Getread: QWord; function _Getwritten: QWord; procedure _Setread(const aValue: QWord); procedure _Setwritten(const aValue: QWord); property read: QWord read _Getread write _Setread; property written: QWord read _Getwritten write _Setwritten; end; TJSTextEncoderEncodeIntoResult = class(TJSObject,IJSTextEncoderEncodeIntoResult) Private Protected function _Getread: QWord; function _Getwritten: QWord; procedure _Setread(const aValue: QWord); procedure _Setwritten(const aValue: QWord); Public constructor create(const aDict : TJSTextEncoderEncodeIntoResultRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextEncoderEncodeIntoResult; property read: QWord read _Getread write _Setread; property written: QWord read _Getwritten write _Setwritten; end; { -------------------------------------------------------------------- TJSTouchInit --------------------------------------------------------------------} TJSTouchInitRec = record identifier: LongInt; target: TJSEventTarget; clientX: LongInt; clientY: LongInt; screenX: LongInt; screenY: LongInt; pageX: LongInt; pageY: LongInt; radiusX: Single; radiusY: Single; rotationAngle: Single; force: Single; end; IJSTouchInit = interface(IJSObject) ['{0B2C5C85-1AF9-3593-AF8B-62E8CC376895}'] function _Getidentifier: LongInt; function _Gettarget: IJSEventTarget; function _GetclientX: LongInt; function _GetclientY: LongInt; function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetradiusX: Single; function _GetradiusY: Single; function _GetrotationAngle: Single; function _Getforce: Single; procedure _Setidentifier(const aValue: LongInt); procedure _Settarget(const aValue: IJSEventTarget); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); procedure _SetscreenX(const aValue: LongInt); procedure _SetscreenY(const aValue: LongInt); procedure _SetpageX(const aValue: LongInt); procedure _SetpageY(const aValue: LongInt); procedure _SetradiusX(const aValue: Single); procedure _SetradiusY(const aValue: Single); procedure _SetrotationAngle(const aValue: Single); procedure _Setforce(const aValue: Single); property identifier: LongInt read _Getidentifier write _Setidentifier; property target: IJSEventTarget read _Gettarget write _Settarget; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; property screenX: LongInt read _GetscreenX write _SetscreenX; property screenY: LongInt read _GetscreenY write _SetscreenY; property pageX: LongInt read _GetpageX write _SetpageX; property pageY: LongInt read _GetpageY write _SetpageY; property radiusX: Single read _GetradiusX write _SetradiusX; property radiusY: Single read _GetradiusY write _SetradiusY; property rotationAngle: Single read _GetrotationAngle write _SetrotationAngle; property force: Single read _Getforce write _Setforce; end; TJSTouchInit = class(TJSObject,IJSTouchInit) Private Protected function _Getidentifier: LongInt; function _Gettarget: IJSEventTarget; function _GetclientX: LongInt; function _GetclientY: LongInt; function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetradiusX: Single; function _GetradiusY: Single; function _GetrotationAngle: Single; function _Getforce: Single; procedure _Setidentifier(const aValue: LongInt); procedure _Settarget(const aValue: IJSEventTarget); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); procedure _SetscreenX(const aValue: LongInt); procedure _SetscreenY(const aValue: LongInt); procedure _SetpageX(const aValue: LongInt); procedure _SetpageY(const aValue: LongInt); procedure _SetradiusX(const aValue: Single); procedure _SetradiusY(const aValue: Single); procedure _SetrotationAngle(const aValue: Single); procedure _Setforce(const aValue: Single); Public constructor create(const aDict : TJSTouchInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouchInit; property identifier: LongInt read _Getidentifier write _Setidentifier; property target: IJSEventTarget read _Gettarget write _Settarget; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; property screenX: LongInt read _GetscreenX write _SetscreenX; property screenY: LongInt read _GetscreenY write _SetscreenY; property pageX: LongInt read _GetpageX write _SetpageX; property pageY: LongInt read _GetpageY write _SetpageY; property radiusX: Single read _GetradiusX write _SetradiusX; property radiusY: Single read _GetradiusY write _SetradiusY; property rotationAngle: Single read _GetrotationAngle write _SetrotationAngle; property force: Single read _Getforce write _Setforce; end; { -------------------------------------------------------------------- TJSTransformer --------------------------------------------------------------------} TJSTransformerRec = record start: TTransformerStartCallback; transform: TTransformerTransformCallback; flush: TTransformerFlushCallback; readableType: Variant; writableType: Variant; end; IJSTransformer = interface(IJSObject) ['{3D41D8F6-515D-34E3-AF03-60DF98C84E91}'] function _Getstart: TTransformerStartCallback; function _Gettransform: TTransformerTransformCallback; function _Getflush: TTransformerFlushCallback; function _GetreadableType: Variant; function _GetwritableType: Variant; procedure _Setstart(const aValue: TTransformerStartCallback); procedure _Settransform(const aValue: TTransformerTransformCallback); procedure _Setflush(const aValue: TTransformerFlushCallback); procedure _SetreadableType(const aValue: Variant); procedure _SetwritableType(const aValue: Variant); property start: TTransformerStartCallback read _Getstart write _Setstart; property transform: TTransformerTransformCallback read _Gettransform write _Settransform; property flush: TTransformerFlushCallback read _Getflush write _Setflush; property readableType: Variant read _GetreadableType write _SetreadableType; property writableType: Variant read _GetwritableType write _SetwritableType; end; TJSTransformer = class(TJSObject,IJSTransformer) Private Protected function _Getstart: TTransformerStartCallback; function _Gettransform: TTransformerTransformCallback; function _Getflush: TTransformerFlushCallback; function _GetreadableType: Variant; function _GetwritableType: Variant; procedure _Setstart(const aValue: TTransformerStartCallback); procedure _Settransform(const aValue: TTransformerTransformCallback); procedure _Setflush(const aValue: TTransformerFlushCallback); procedure _SetreadableType(const aValue: Variant); procedure _SetwritableType(const aValue: Variant); Public constructor create(const aDict : TJSTransformerRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTransformer; property start: TTransformerStartCallback read _Getstart write _Setstart; property transform: TTransformerTransformCallback read _Gettransform write _Settransform; property flush: TTransformerFlushCallback read _Getflush write _Setflush; property readableType: Variant read _GetreadableType write _SetreadableType; property writableType: Variant read _GetwritableType write _SetwritableType; end; { -------------------------------------------------------------------- TJSTrustedTypePolicyOptions --------------------------------------------------------------------} TJSTrustedTypePolicyOptionsRec = record createHTML: TCreateHTMLCallback; createScript: TCreateScriptCallback; createScriptURL: TCreateScriptURLCallback; end; IJSTrustedTypePolicyOptions = interface(IJSObject) ['{089F4115-CB84-3A80-A8D2-16063DB57D20}'] function _GetcreateHTML: TCreateHTMLCallback; function _GetcreateScript: TCreateScriptCallback; function _GetcreateScriptURL: TCreateScriptURLCallback; procedure _SetcreateHTML(const aValue: TCreateHTMLCallback); procedure _SetcreateScript(const aValue: TCreateScriptCallback); procedure _SetcreateScriptURL(const aValue: TCreateScriptURLCallback); property createHTML: TCreateHTMLCallback read _GetcreateHTML write _SetcreateHTML; property createScript: TCreateScriptCallback read _GetcreateScript write _SetcreateScript; property createScriptURL: TCreateScriptURLCallback read _GetcreateScriptURL write _SetcreateScriptURL; end; TJSTrustedTypePolicyOptions = class(TJSObject,IJSTrustedTypePolicyOptions) Private Protected function _GetcreateHTML: TCreateHTMLCallback; function _GetcreateScript: TCreateScriptCallback; function _GetcreateScriptURL: TCreateScriptURLCallback; procedure _SetcreateHTML(const aValue: TCreateHTMLCallback); procedure _SetcreateScript(const aValue: TCreateScriptCallback); procedure _SetcreateScriptURL(const aValue: TCreateScriptURLCallback); Public constructor create(const aDict : TJSTrustedTypePolicyOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedTypePolicyOptions; property createHTML: TCreateHTMLCallback read _GetcreateHTML write _SetcreateHTML; property createScript: TCreateScriptCallback read _GetcreateScript write _SetcreateScript; property createScriptURL: TCreateScriptURLCallback read _GetcreateScriptURL write _SetcreateScriptURL; end; { -------------------------------------------------------------------- TJSUDPOptions --------------------------------------------------------------------} TJSUDPOptionsRec = record localAddress: UnicodeString; localPort: Word; remoteAddress: UnicodeString; remotePort: Word; addressReuse: Boolean; loopback: Boolean; end; IJSUDPOptions = interface(IJSObject) ['{24426033-B3F9-3999-9501-9CF92CB41B55}'] function _GetlocalAddress: UnicodeString; function _GetlocalPort: Word; function _GetremoteAddress: UnicodeString; function _GetremotePort: Word; function _GetaddressReuse: Boolean; function _Getloopback: Boolean; procedure _SetlocalAddress(const aValue: UnicodeString); procedure _SetlocalPort(const aValue: Word); procedure _SetremoteAddress(const aValue: UnicodeString); procedure _SetremotePort(const aValue: Word); procedure _SetaddressReuse(const aValue: Boolean); procedure _Setloopback(const aValue: Boolean); property localAddress: UnicodeString read _GetlocalAddress write _SetlocalAddress; property localPort: Word read _GetlocalPort write _SetlocalPort; property remoteAddress: UnicodeString read _GetremoteAddress write _SetremoteAddress; property remotePort: Word read _GetremotePort write _SetremotePort; property addressReuse: Boolean read _GetaddressReuse write _SetaddressReuse; property loopback: Boolean read _Getloopback write _Setloopback; end; TJSUDPOptions = class(TJSObject,IJSUDPOptions) Private Protected function _GetlocalAddress: UnicodeString; function _GetlocalPort: Word; function _GetremoteAddress: UnicodeString; function _GetremotePort: Word; function _GetaddressReuse: Boolean; function _Getloopback: Boolean; procedure _SetlocalAddress(const aValue: UnicodeString); procedure _SetlocalPort(const aValue: Word); procedure _SetremoteAddress(const aValue: UnicodeString); procedure _SetremotePort(const aValue: Word); procedure _SetaddressReuse(const aValue: Boolean); procedure _Setloopback(const aValue: Boolean); Public constructor create(const aDict : TJSUDPOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUDPOptions; property localAddress: UnicodeString read _GetlocalAddress write _SetlocalAddress; property localPort: Word read _GetlocalPort write _SetlocalPort; property remoteAddress: UnicodeString read _GetremoteAddress write _SetremoteAddress; property remotePort: Word read _GetremotePort write _SetremotePort; property addressReuse: Boolean read _GetaddressReuse write _SetaddressReuse; property loopback: Boolean read _Getloopback write _Setloopback; end; { -------------------------------------------------------------------- TJSUnderlyingSink --------------------------------------------------------------------} TJSUnderlyingSinkRec = record start: TUnderlyingSinkStartCallback; write: TUnderlyingSinkWriteCallback; close: TUnderlyingSinkCloseCallback; abort: TUnderlyingSinkAbortCallback; type_: Variant; end; IJSUnderlyingSink = interface(IJSObject) ['{05CD842B-2802-3C93-80A3-F2678AF2188E}'] function _Getstart: TUnderlyingSinkStartCallback; function _Getwrite: TUnderlyingSinkWriteCallback; function _Getclose: TUnderlyingSinkCloseCallback; function _Getabort: TUnderlyingSinkAbortCallback; function _Gettype_: Variant; procedure _Setstart(const aValue: TUnderlyingSinkStartCallback); procedure _Setwrite(const aValue: TUnderlyingSinkWriteCallback); procedure _Setclose(const aValue: TUnderlyingSinkCloseCallback); procedure _Setabort(const aValue: TUnderlyingSinkAbortCallback); procedure _Settype_(const aValue: Variant); property start: TUnderlyingSinkStartCallback read _Getstart write _Setstart; property write: TUnderlyingSinkWriteCallback read _Getwrite write _Setwrite; property close: TUnderlyingSinkCloseCallback read _Getclose write _Setclose; property abort: TUnderlyingSinkAbortCallback read _Getabort write _Setabort; property type_: Variant read _Gettype_ write _Settype_; end; TJSUnderlyingSink = class(TJSObject,IJSUnderlyingSink) Private Protected function _Getstart: TUnderlyingSinkStartCallback; function _Getwrite: TUnderlyingSinkWriteCallback; function _Getclose: TUnderlyingSinkCloseCallback; function _Getabort: TUnderlyingSinkAbortCallback; function _Gettype_: Variant; procedure _Setstart(const aValue: TUnderlyingSinkStartCallback); procedure _Setwrite(const aValue: TUnderlyingSinkWriteCallback); procedure _Setclose(const aValue: TUnderlyingSinkCloseCallback); procedure _Setabort(const aValue: TUnderlyingSinkAbortCallback); procedure _Settype_(const aValue: Variant); Public constructor create(const aDict : TJSUnderlyingSinkRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUnderlyingSink; property start: TUnderlyingSinkStartCallback read _Getstart write _Setstart; property write: TUnderlyingSinkWriteCallback read _Getwrite write _Setwrite; property close: TUnderlyingSinkCloseCallback read _Getclose write _Setclose; property abort: TUnderlyingSinkAbortCallback read _Getabort write _Setabort; property type_: Variant read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSUnderlyingSource --------------------------------------------------------------------} TJSUnderlyingSourceRec = record start: TUnderlyingSourceStartCallback; pull: TUnderlyingSourcePullCallback; cancel: TUnderlyingSourceCancelCallback; type_: TReadableStreamType; autoAllocateChunkSize: QWord; end; IJSUnderlyingSource = interface(IJSObject) ['{65A3AA01-57B0-3762-8FCB-8A158C78A28E}'] function _Getstart: TUnderlyingSourceStartCallback; function _Getpull: TUnderlyingSourcePullCallback; function _Getcancel: TUnderlyingSourceCancelCallback; function _Gettype_: TReadableStreamType; function _GetautoAllocateChunkSize: QWord; procedure _Setstart(const aValue: TUnderlyingSourceStartCallback); procedure _Setpull(const aValue: TUnderlyingSourcePullCallback); procedure _Setcancel(const aValue: TUnderlyingSourceCancelCallback); procedure _Settype_(const aValue: TReadableStreamType); procedure _SetautoAllocateChunkSize(const aValue: QWord); property start: TUnderlyingSourceStartCallback read _Getstart write _Setstart; property pull: TUnderlyingSourcePullCallback read _Getpull write _Setpull; property cancel: TUnderlyingSourceCancelCallback read _Getcancel write _Setcancel; property type_: TReadableStreamType read _Gettype_ write _Settype_; property autoAllocateChunkSize: QWord read _GetautoAllocateChunkSize write _SetautoAllocateChunkSize; end; TJSUnderlyingSource = class(TJSObject,IJSUnderlyingSource) Private Protected function _Getstart: TUnderlyingSourceStartCallback; function _Getpull: TUnderlyingSourcePullCallback; function _Getcancel: TUnderlyingSourceCancelCallback; function _Gettype_: TReadableStreamType; function _GetautoAllocateChunkSize: QWord; procedure _Setstart(const aValue: TUnderlyingSourceStartCallback); procedure _Setpull(const aValue: TUnderlyingSourcePullCallback); procedure _Setcancel(const aValue: TUnderlyingSourceCancelCallback); procedure _Settype_(const aValue: TReadableStreamType); procedure _SetautoAllocateChunkSize(const aValue: QWord); Public constructor create(const aDict : TJSUnderlyingSourceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUnderlyingSource; property start: TUnderlyingSourceStartCallback read _Getstart write _Setstart; property pull: TUnderlyingSourcePullCallback read _Getpull write _Setpull; property cancel: TUnderlyingSourceCancelCallback read _Getcancel write _Setcancel; property type_: TReadableStreamType read _Gettype_ write _Settype_; property autoAllocateChunkSize: QWord read _GetautoAllocateChunkSize write _SetautoAllocateChunkSize; end; { -------------------------------------------------------------------- TJSVideoColorSpaceInit --------------------------------------------------------------------} TJSVideoColorSpaceInitRec = record primaries: TVideoColorPrimaries; transfer: TVideoTransferCharacteristics; matrix: TVideoMatrixCoefficients; fullRange: Boolean; end; IJSVideoColorSpaceInit = interface(IJSObject) ['{15A97238-4A41-36AB-B923-3F81CEDDF048}'] function _Getprimaries: TVideoColorPrimaries; function _Gettransfer: TVideoTransferCharacteristics; function _Getmatrix: TVideoMatrixCoefficients; function _GetfullRange: Boolean; procedure _Setprimaries(const aValue: TVideoColorPrimaries); procedure _Settransfer(const aValue: TVideoTransferCharacteristics); procedure _Setmatrix(const aValue: TVideoMatrixCoefficients); procedure _SetfullRange(const aValue: Boolean); property primaries: TVideoColorPrimaries read _Getprimaries write _Setprimaries; property transfer: TVideoTransferCharacteristics read _Gettransfer write _Settransfer; property matrix: TVideoMatrixCoefficients read _Getmatrix write _Setmatrix; property fullRange: Boolean read _GetfullRange write _SetfullRange; end; TJSVideoColorSpaceInit = class(TJSObject,IJSVideoColorSpaceInit) Private Protected function _Getprimaries: TVideoColorPrimaries; function _Gettransfer: TVideoTransferCharacteristics; function _Getmatrix: TVideoMatrixCoefficients; function _GetfullRange: Boolean; procedure _Setprimaries(const aValue: TVideoColorPrimaries); procedure _Settransfer(const aValue: TVideoTransferCharacteristics); procedure _Setmatrix(const aValue: TVideoMatrixCoefficients); procedure _SetfullRange(const aValue: Boolean); Public constructor create(const aDict : TJSVideoColorSpaceInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoColorSpaceInit; property primaries: TVideoColorPrimaries read _Getprimaries write _Setprimaries; property transfer: TVideoTransferCharacteristics read _Gettransfer write _Settransfer; property matrix: TVideoMatrixCoefficients read _Getmatrix write _Setmatrix; property fullRange: Boolean read _GetfullRange write _SetfullRange; end; { -------------------------------------------------------------------- TJSVideoDecoderInit --------------------------------------------------------------------} TJSVideoDecoderInitRec = record output: TVideoFrameOutputCallback; error: TWebCodecsErrorCallback; end; IJSVideoDecoderInit = interface(IJSObject) ['{0E8BC0E4-6963-3DD7-A533-241C74BC299E}'] function _Getoutput: TVideoFrameOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TVideoFrameOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); property output: TVideoFrameOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; TJSVideoDecoderInit = class(TJSObject,IJSVideoDecoderInit) Private Protected function _Getoutput: TVideoFrameOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TVideoFrameOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); Public constructor create(const aDict : TJSVideoDecoderInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoDecoderInit; property output: TVideoFrameOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSVideoDecoderSupport --------------------------------------------------------------------} TJSVideoDecoderSupportRec = record supported: Boolean; config: TJSVideoDecoderConfig; end; IJSVideoDecoderSupport = interface(IJSObject) ['{41DDBDD9-2527-31F8-A4FD-D23A5FB7D06D}'] function _Getsupported: Boolean; function _Getconfig: IJSVideoDecoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSVideoDecoderConfig); property supported: Boolean read _Getsupported write _Setsupported; property config: IJSVideoDecoderConfig read _Getconfig write _Setconfig; end; TJSVideoDecoderSupport = class(TJSObject,IJSVideoDecoderSupport) Private Protected function _Getsupported: Boolean; function _Getconfig: IJSVideoDecoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSVideoDecoderConfig); Public constructor create(const aDict : TJSVideoDecoderSupportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoDecoderSupport; property supported: Boolean read _Getsupported write _Setsupported; property config: IJSVideoDecoderConfig read _Getconfig write _Setconfig; end; { -------------------------------------------------------------------- TJSVideoDecoderConfig --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TVideoDecoderConfig_description_Type = Variant; TJSVideoDecoderConfigRec = record codec: UnicodeString; description: TVideoDecoderConfig_description_Type; codedWidth: Cardinal; codedHeight: Cardinal; displayAspectWidth: Cardinal; displayAspectHeight: Cardinal; colorSpace: TJSVideoColorSpaceInit; hardwareAcceleration: THardwareAcceleration; optimizeForLatency: Boolean; end; IJSVideoDecoderConfig = interface(IJSObject) ['{F2FC613A-3232-314A-BB0C-862304C0C517}'] function _Getcodec: UnicodeString; function _Getdescription: TVideoDecoderConfig_description_Type; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _GetdisplayAspectWidth: Cardinal; function _GetdisplayAspectHeight: Cardinal; function _GetcolorSpace: IJSVideoColorSpaceInit; function _GethardwareAcceleration: THardwareAcceleration; function _GetoptimizeForLatency: Boolean; procedure _Setcodec(const aValue: UnicodeString); procedure _Setdescription(const aValue: TVideoDecoderConfig_description_Type); procedure _SetcodedWidth(const aValue: Cardinal); procedure _SetcodedHeight(const aValue: Cardinal); procedure _SetdisplayAspectWidth(const aValue: Cardinal); procedure _SetdisplayAspectHeight(const aValue: Cardinal); procedure _SetcolorSpace(const aValue: IJSVideoColorSpaceInit); procedure _SethardwareAcceleration(const aValue: THardwareAcceleration); procedure _SetoptimizeForLatency(const aValue: Boolean); property codec: UnicodeString read _Getcodec write _Setcodec; property description: TVideoDecoderConfig_description_Type read _Getdescription write _Setdescription; property codedWidth: Cardinal read _GetcodedWidth write _SetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight write _SetcodedHeight; property displayAspectWidth: Cardinal read _GetdisplayAspectWidth write _SetdisplayAspectWidth; property displayAspectHeight: Cardinal read _GetdisplayAspectHeight write _SetdisplayAspectHeight; property colorSpace: IJSVideoColorSpaceInit read _GetcolorSpace write _SetcolorSpace; property hardwareAcceleration: THardwareAcceleration read _GethardwareAcceleration write _SethardwareAcceleration; property optimizeForLatency: Boolean read _GetoptimizeForLatency write _SetoptimizeForLatency; end; TJSVideoDecoderConfig = class(TJSObject,IJSVideoDecoderConfig) Private Protected function _Getcodec: UnicodeString; function _Getdescription: TVideoDecoderConfig_description_Type; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _GetdisplayAspectWidth: Cardinal; function _GetdisplayAspectHeight: Cardinal; function _GetcolorSpace: IJSVideoColorSpaceInit; function _GethardwareAcceleration: THardwareAcceleration; function _GetoptimizeForLatency: Boolean; procedure _Setcodec(const aValue: UnicodeString); procedure _Setdescription(const aValue: TVideoDecoderConfig_description_Type); procedure _SetcodedWidth(const aValue: Cardinal); procedure _SetcodedHeight(const aValue: Cardinal); procedure _SetdisplayAspectWidth(const aValue: Cardinal); procedure _SetdisplayAspectHeight(const aValue: Cardinal); procedure _SetcolorSpace(const aValue: IJSVideoColorSpaceInit); procedure _SethardwareAcceleration(const aValue: THardwareAcceleration); procedure _SetoptimizeForLatency(const aValue: Boolean); Public constructor create(const aDict : TJSVideoDecoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoDecoderConfig; property codec: UnicodeString read _Getcodec write _Setcodec; property description: TVideoDecoderConfig_description_Type read _Getdescription write _Setdescription; property codedWidth: Cardinal read _GetcodedWidth write _SetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight write _SetcodedHeight; property displayAspectWidth: Cardinal read _GetdisplayAspectWidth write _SetdisplayAspectWidth; property displayAspectHeight: Cardinal read _GetdisplayAspectHeight write _SetdisplayAspectHeight; property colorSpace: IJSVideoColorSpaceInit read _GetcolorSpace write _SetcolorSpace; property hardwareAcceleration: THardwareAcceleration read _GethardwareAcceleration write _SethardwareAcceleration; property optimizeForLatency: Boolean read _GetoptimizeForLatency write _SetoptimizeForLatency; end; { -------------------------------------------------------------------- TJSVideoEncoderInit --------------------------------------------------------------------} TJSVideoEncoderInitRec = record output: TEncodedVideoChunkOutputCallback; error: TWebCodecsErrorCallback; end; IJSVideoEncoderInit = interface(IJSObject) ['{0E8BC0E4-696E-3DD7-A533-241C74BC299E}'] function _Getoutput: TEncodedVideoChunkOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TEncodedVideoChunkOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); property output: TEncodedVideoChunkOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; TJSVideoEncoderInit = class(TJSObject,IJSVideoEncoderInit) Private Protected function _Getoutput: TEncodedVideoChunkOutputCallback; function _Geterror: TWebCodecsErrorCallback; procedure _Setoutput(const aValue: TEncodedVideoChunkOutputCallback); procedure _Seterror(const aValue: TWebCodecsErrorCallback); Public constructor create(const aDict : TJSVideoEncoderInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoderInit; property output: TEncodedVideoChunkOutputCallback read _Getoutput write _Setoutput; property error: TWebCodecsErrorCallback read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSAvcEncoderConfig --------------------------------------------------------------------} TJSAvcEncoderConfigRec = record format: TAvcBitstreamFormat; end; IJSAvcEncoderConfig = interface(IJSObject) ['{84BA645C-685E-3F3D-9CF8-E403E8BAB3B9}'] function _Getformat: TAvcBitstreamFormat; procedure _Setformat(const aValue: TAvcBitstreamFormat); property format: TAvcBitstreamFormat read _Getformat write _Setformat; end; TJSAvcEncoderConfig = class(TJSObject,IJSAvcEncoderConfig) Private Protected function _Getformat: TAvcBitstreamFormat; procedure _Setformat(const aValue: TAvcBitstreamFormat); Public constructor create(const aDict : TJSAvcEncoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAvcEncoderConfig; property format: TAvcBitstreamFormat read _Getformat write _Setformat; end; { -------------------------------------------------------------------- TJSVideoEncoderConfig --------------------------------------------------------------------} TJSVideoEncoderConfigRec = record codec: UnicodeString; width: Cardinal; height: Cardinal; displayWidth: Cardinal; displayHeight: Cardinal; bitrate: QWord; framerate: Double; hardwareAcceleration: THardwareAcceleration; alpha: TAlphaOption; scalabilityMode: UnicodeString; bitrateMode: TVideoEncoderBitrateMode; latencyMode: TLatencyMode; contentHint: UnicodeString; avc: TJSAvcEncoderConfig; end; IJSVideoEncoderConfig = interface(IJSObject) ['{A67F6801-0570-3636-9B70-16621073ACE0}'] function _Getcodec: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _Getbitrate: QWord; function _Getframerate: Double; function _GethardwareAcceleration: THardwareAcceleration; function _Getalpha: TAlphaOption; function _GetscalabilityMode: UnicodeString; function _GetbitrateMode: TVideoEncoderBitrateMode; function _GetlatencyMode: TLatencyMode; function _GetcontentHint: UnicodeString; function _Getavc: IJSAvcEncoderConfig; procedure _Setcodec(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _Setframerate(const aValue: Double); procedure _SethardwareAcceleration(const aValue: THardwareAcceleration); procedure _Setalpha(const aValue: TAlphaOption); procedure _SetscalabilityMode(const aValue: UnicodeString); procedure _SetbitrateMode(const aValue: TVideoEncoderBitrateMode); procedure _SetlatencyMode(const aValue: TLatencyMode); procedure _SetcontentHint(const aValue: UnicodeString); procedure _Setavc(const aValue: IJSAvcEncoderConfig); property codec: UnicodeString read _Getcodec write _Setcodec; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; property bitrate: QWord read _Getbitrate write _Setbitrate; property framerate: Double read _Getframerate write _Setframerate; property hardwareAcceleration: THardwareAcceleration read _GethardwareAcceleration write _SethardwareAcceleration; property alpha: TAlphaOption read _Getalpha write _Setalpha; property scalabilityMode: UnicodeString read _GetscalabilityMode write _SetscalabilityMode; property bitrateMode: TVideoEncoderBitrateMode read _GetbitrateMode write _SetbitrateMode; property latencyMode: TLatencyMode read _GetlatencyMode write _SetlatencyMode; property contentHint: UnicodeString read _GetcontentHint write _SetcontentHint; property avc: IJSAvcEncoderConfig read _Getavc write _Setavc; end; TJSVideoEncoderConfig = class(TJSObject,IJSVideoEncoderConfig) Private Protected function _Getcodec: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _Getbitrate: QWord; function _Getframerate: Double; function _GethardwareAcceleration: THardwareAcceleration; function _Getalpha: TAlphaOption; function _GetscalabilityMode: UnicodeString; function _GetbitrateMode: TVideoEncoderBitrateMode; function _GetlatencyMode: TLatencyMode; function _GetcontentHint: UnicodeString; function _Getavc: IJSAvcEncoderConfig; procedure _Setcodec(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); procedure _Setbitrate(const aValue: QWord); procedure _Setframerate(const aValue: Double); procedure _SethardwareAcceleration(const aValue: THardwareAcceleration); procedure _Setalpha(const aValue: TAlphaOption); procedure _SetscalabilityMode(const aValue: UnicodeString); procedure _SetbitrateMode(const aValue: TVideoEncoderBitrateMode); procedure _SetlatencyMode(const aValue: TLatencyMode); procedure _SetcontentHint(const aValue: UnicodeString); procedure _Setavc(const aValue: IJSAvcEncoderConfig); Public constructor create(const aDict : TJSVideoEncoderConfigRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoderConfig; property codec: UnicodeString read _Getcodec write _Setcodec; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; property bitrate: QWord read _Getbitrate write _Setbitrate; property framerate: Double read _Getframerate write _Setframerate; property hardwareAcceleration: THardwareAcceleration read _GethardwareAcceleration write _SethardwareAcceleration; property alpha: TAlphaOption read _Getalpha write _Setalpha; property scalabilityMode: UnicodeString read _GetscalabilityMode write _SetscalabilityMode; property bitrateMode: TVideoEncoderBitrateMode read _GetbitrateMode write _SetbitrateMode; property latencyMode: TLatencyMode read _GetlatencyMode write _SetlatencyMode; property contentHint: UnicodeString read _GetcontentHint write _SetcontentHint; property avc: IJSAvcEncoderConfig read _Getavc write _Setavc; end; { -------------------------------------------------------------------- TJSVideoEncoderEncodeOptions --------------------------------------------------------------------} TJSVideoEncoderEncodeOptionsRec = record keyFrame: Boolean; avc: TJSVideoEncoderEncodeOptionsForAvc; end; IJSVideoEncoderEncodeOptions = interface(IJSObject) ['{D3FEAF00-2DC7-3340-8FD7-61FB886FA9B9}'] function _GetkeyFrame: Boolean; function _Getavc: IJSVideoEncoderEncodeOptionsForAvc; procedure _SetkeyFrame(const aValue: Boolean); procedure _Setavc(const aValue: IJSVideoEncoderEncodeOptionsForAvc); property keyFrame: Boolean read _GetkeyFrame write _SetkeyFrame; property avc: IJSVideoEncoderEncodeOptionsForAvc read _Getavc write _Setavc; end; TJSVideoEncoderEncodeOptions = class(TJSObject,IJSVideoEncoderEncodeOptions) Private Protected function _GetkeyFrame: Boolean; function _Getavc: IJSVideoEncoderEncodeOptionsForAvc; procedure _SetkeyFrame(const aValue: Boolean); procedure _Setavc(const aValue: IJSVideoEncoderEncodeOptionsForAvc); Public constructor create(const aDict : TJSVideoEncoderEncodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoderEncodeOptions; property keyFrame: Boolean read _GetkeyFrame write _SetkeyFrame; property avc: IJSVideoEncoderEncodeOptionsForAvc read _Getavc write _Setavc; end; { -------------------------------------------------------------------- TJSVideoEncoderEncodeOptionsForAvc --------------------------------------------------------------------} TJSVideoEncoderEncodeOptionsForAvcRec = record quantizer: Word; end; IJSVideoEncoderEncodeOptionsForAvc = interface(IJSObject) ['{521E32F0-3791-3E08-BD1B-FAE58B13D9C9}'] function _Getquantizer: Word; procedure _Setquantizer(const aValue: Word); property quantizer: Word read _Getquantizer write _Setquantizer; end; TJSVideoEncoderEncodeOptionsForAvc = class(TJSObject,IJSVideoEncoderEncodeOptionsForAvc) Private Protected function _Getquantizer: Word; procedure _Setquantizer(const aValue: Word); Public constructor create(const aDict : TJSVideoEncoderEncodeOptionsForAvcRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoderEncodeOptionsForAvc; property quantizer: Word read _Getquantizer write _Setquantizer; end; { -------------------------------------------------------------------- TJSVideoEncoderSupport --------------------------------------------------------------------} TJSVideoEncoderSupportRec = record supported: Boolean; config: TJSVideoEncoderConfig; end; IJSVideoEncoderSupport = interface(IJSObject) ['{41DDBDD9-2531-31F8-A4FD-D23A5FB7D06D}'] function _Getsupported: Boolean; function _Getconfig: IJSVideoEncoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSVideoEncoderConfig); property supported: Boolean read _Getsupported write _Setsupported; property config: IJSVideoEncoderConfig read _Getconfig write _Setconfig; end; TJSVideoEncoderSupport = class(TJSObject,IJSVideoEncoderSupport) Private Protected function _Getsupported: Boolean; function _Getconfig: IJSVideoEncoderConfig; procedure _Setsupported(const aValue: Boolean); procedure _Setconfig(const aValue: IJSVideoEncoderConfig); Public constructor create(const aDict : TJSVideoEncoderSupportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoderSupport; property supported: Boolean read _Getsupported write _Setsupported; property config: IJSVideoEncoderConfig read _Getconfig write _Setconfig; end; { -------------------------------------------------------------------- TJSEncodedVideoChunkMetadata --------------------------------------------------------------------} TJSEncodedVideoChunkMetadataRec = record decoderConfig: TJSVideoDecoderConfig; svc: TJSSvcOutputMetadata; end; IJSEncodedVideoChunkMetadata = interface(IJSObject) ['{5EE78293-A253-3F79-8894-A106EBC7168D}'] function _GetdecoderConfig: IJSVideoDecoderConfig; function _Getsvc: IJSSvcOutputMetadata; procedure _SetdecoderConfig(const aValue: IJSVideoDecoderConfig); procedure _Setsvc(const aValue: IJSSvcOutputMetadata); property decoderConfig: IJSVideoDecoderConfig read _GetdecoderConfig write _SetdecoderConfig; property svc: IJSSvcOutputMetadata read _Getsvc write _Setsvc; end; TJSEncodedVideoChunkMetadata = class(TJSObject,IJSEncodedVideoChunkMetadata) Private Protected function _GetdecoderConfig: IJSVideoDecoderConfig; function _Getsvc: IJSSvcOutputMetadata; procedure _SetdecoderConfig(const aValue: IJSVideoDecoderConfig); procedure _Setsvc(const aValue: IJSSvcOutputMetadata); Public constructor create(const aDict : TJSEncodedVideoChunkMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedVideoChunkMetadata; property decoderConfig: IJSVideoDecoderConfig read _GetdecoderConfig write _SetdecoderConfig; property svc: IJSSvcOutputMetadata read _Getsvc write _Setsvc; end; { -------------------------------------------------------------------- TJSSvcOutputMetadata --------------------------------------------------------------------} TJSSvcOutputMetadataRec = record temporalLayerId: Cardinal; end; IJSSvcOutputMetadata = interface(IJSObject) ['{71BB949F-BFD6-387B-8716-8C04FD050537}'] function _GettemporalLayerId: Cardinal; procedure _SettemporalLayerId(const aValue: Cardinal); property temporalLayerId: Cardinal read _GettemporalLayerId write _SettemporalLayerId; end; TJSSvcOutputMetadata = class(TJSObject,IJSSvcOutputMetadata) Private Protected function _GettemporalLayerId: Cardinal; procedure _SettemporalLayerId(const aValue: Cardinal); Public constructor create(const aDict : TJSSvcOutputMetadataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSvcOutputMetadata; property temporalLayerId: Cardinal read _GettemporalLayerId write _SettemporalLayerId; end; { -------------------------------------------------------------------- TJSVideoFrameInit --------------------------------------------------------------------} TJSVideoFrameInitRec = record duration: QWord; timestamp: Int64; alpha: TAlphaOption; visibleRect: TJSDOMRectInit; displayWidth: Cardinal; displayHeight: Cardinal; end; IJSVideoFrameInit = interface(IJSObject) ['{2F558967-CA42-3BBB-977A-7C8716577025}'] function _Getduration: QWord; function _Gettimestamp: Int64; function _Getalpha: TAlphaOption; function _GetvisibleRect: IJSDOMRectInit; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; procedure _Setduration(const aValue: QWord); procedure _Settimestamp(const aValue: Int64); procedure _Setalpha(const aValue: TAlphaOption); procedure _SetvisibleRect(const aValue: IJSDOMRectInit); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); property duration: QWord read _Getduration write _Setduration; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property alpha: TAlphaOption read _Getalpha write _Setalpha; property visibleRect: IJSDOMRectInit read _GetvisibleRect write _SetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; end; TJSVideoFrameInit = class(TJSObject,IJSVideoFrameInit) Private Protected function _Getduration: QWord; function _Gettimestamp: Int64; function _Getalpha: TAlphaOption; function _GetvisibleRect: IJSDOMRectInit; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; procedure _Setduration(const aValue: QWord); procedure _Settimestamp(const aValue: Int64); procedure _Setalpha(const aValue: TAlphaOption); procedure _SetvisibleRect(const aValue: IJSDOMRectInit); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); Public constructor create(const aDict : TJSVideoFrameInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoFrameInit; property duration: QWord read _Getduration write _Setduration; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property alpha: TAlphaOption read _Getalpha write _Setalpha; property visibleRect: IJSDOMRectInit read _GetvisibleRect write _SetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; end; { -------------------------------------------------------------------- TJSVideoFrameBufferInit --------------------------------------------------------------------} TJSPlaneLayoutDynArray = IJSArray; // array of PlaneLayout TJSVideoFrameBufferInitRec = record format: TVideoPixelFormat; codedWidth: Cardinal; codedHeight: Cardinal; timestamp: Int64; duration: QWord; layout: TJSPlaneLayoutDynArray; visibleRect: TJSDOMRectInit; displayWidth: Cardinal; displayHeight: Cardinal; colorSpace: TJSVideoColorSpaceInit; end; IJSVideoFrameBufferInit = interface(IJSObject) ['{0D805B2A-88DE-3454-B171-22998A49AE94}'] function _Getformat: TVideoPixelFormat; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getlayout: TJSPlaneLayoutDynArray; function _GetvisibleRect: IJSDOMRectInit; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _GetcolorSpace: IJSVideoColorSpaceInit; procedure _Setformat(const aValue: TVideoPixelFormat); procedure _SetcodedWidth(const aValue: Cardinal); procedure _SetcodedHeight(const aValue: Cardinal); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setlayout(const aValue: TJSPlaneLayoutDynArray); procedure _SetvisibleRect(const aValue: IJSDOMRectInit); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); procedure _SetcolorSpace(const aValue: IJSVideoColorSpaceInit); property format: TVideoPixelFormat read _Getformat write _Setformat; property codedWidth: Cardinal read _GetcodedWidth write _SetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight write _SetcodedHeight; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property layout: TJSPlaneLayoutDynArray read _Getlayout write _Setlayout; property visibleRect: IJSDOMRectInit read _GetvisibleRect write _SetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; property colorSpace: IJSVideoColorSpaceInit read _GetcolorSpace write _SetcolorSpace; end; TJSVideoFrameBufferInit = class(TJSObject,IJSVideoFrameBufferInit) Private Protected function _Getformat: TVideoPixelFormat; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _Gettimestamp: Int64; function _Getduration: QWord; function _Getlayout: TJSPlaneLayoutDynArray; function _GetvisibleRect: IJSDOMRectInit; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _GetcolorSpace: IJSVideoColorSpaceInit; procedure _Setformat(const aValue: TVideoPixelFormat); procedure _SetcodedWidth(const aValue: Cardinal); procedure _SetcodedHeight(const aValue: Cardinal); procedure _Settimestamp(const aValue: Int64); procedure _Setduration(const aValue: QWord); procedure _Setlayout(const aValue: TJSPlaneLayoutDynArray); procedure _SetvisibleRect(const aValue: IJSDOMRectInit); procedure _SetdisplayWidth(const aValue: Cardinal); procedure _SetdisplayHeight(const aValue: Cardinal); procedure _SetcolorSpace(const aValue: IJSVideoColorSpaceInit); Public constructor create(const aDict : TJSVideoFrameBufferInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoFrameBufferInit; property format: TVideoPixelFormat read _Getformat write _Setformat; property codedWidth: Cardinal read _GetcodedWidth write _SetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight write _SetcodedHeight; property timestamp: Int64 read _Gettimestamp write _Settimestamp; property duration: QWord read _Getduration write _Setduration; property layout: TJSPlaneLayoutDynArray read _Getlayout write _Setlayout; property visibleRect: IJSDOMRectInit read _GetvisibleRect write _SetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth write _SetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight write _SetdisplayHeight; property colorSpace: IJSVideoColorSpaceInit read _GetcolorSpace write _SetcolorSpace; end; { -------------------------------------------------------------------- TJSVideoFrameCopyToOptions --------------------------------------------------------------------} TJSVideoFrameCopyToOptionsRec = record rect: TJSDOMRectInit; layout: TJSPlaneLayoutDynArray; end; IJSVideoFrameCopyToOptions = interface(IJSObject) ['{4D7D9AFB-3D20-391B-A2B5-4237C9B1E2EC}'] function _Getrect: IJSDOMRectInit; function _Getlayout: TJSPlaneLayoutDynArray; procedure _Setrect(const aValue: IJSDOMRectInit); procedure _Setlayout(const aValue: TJSPlaneLayoutDynArray); property rect: IJSDOMRectInit read _Getrect write _Setrect; property layout: TJSPlaneLayoutDynArray read _Getlayout write _Setlayout; end; TJSVideoFrameCopyToOptions = class(TJSObject,IJSVideoFrameCopyToOptions) Private Protected function _Getrect: IJSDOMRectInit; function _Getlayout: TJSPlaneLayoutDynArray; procedure _Setrect(const aValue: IJSDOMRectInit); procedure _Setlayout(const aValue: TJSPlaneLayoutDynArray); Public constructor create(const aDict : TJSVideoFrameCopyToOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoFrameCopyToOptions; property rect: IJSDOMRectInit read _Getrect write _Setrect; property layout: TJSPlaneLayoutDynArray read _Getlayout write _Setlayout; end; { -------------------------------------------------------------------- TJSPlaneLayout --------------------------------------------------------------------} TJSPlaneLayoutRec = record offset: Cardinal; stride: Cardinal; end; IJSPlaneLayout = interface(IJSObject) ['{3EE08CD3-8E85-3C5F-8386-86AD3028CB40}'] function _Getoffset: Cardinal; function _Getstride: Cardinal; procedure _Setoffset(const aValue: Cardinal); procedure _Setstride(const aValue: Cardinal); property offset: Cardinal read _Getoffset write _Setoffset; property stride: Cardinal read _Getstride write _Setstride; end; TJSPlaneLayout = class(TJSObject,IJSPlaneLayout) Private Protected function _Getoffset: Cardinal; function _Getstride: Cardinal; procedure _Setoffset(const aValue: Cardinal); procedure _Setstride(const aValue: Cardinal); Public constructor create(const aDict : TJSPlaneLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPlaneLayout; property offset: Cardinal read _Getoffset write _Setoffset; property stride: Cardinal read _Getstride write _Setstride; end; { -------------------------------------------------------------------- TJSVRLayer --------------------------------------------------------------------} TSingleDynArray = IJSArray; // array of float TJSVRLayerRec = record source: TJSHTMLCanvasElement; leftBounds: TSingleDynArray; rightBounds: TSingleDynArray; end; IJSVRLayer = interface(IJSObject) ['{16E14DB3-D9CE-3ACC-B3C9-66CB7FC29B51}'] function _Getsource: IJSHTMLCanvasElement; function _GetleftBounds: TSingleDynArray; function _GetrightBounds: TSingleDynArray; procedure _Setsource(const aValue: IJSHTMLCanvasElement); procedure _SetleftBounds(const aValue: TSingleDynArray); procedure _SetrightBounds(const aValue: TSingleDynArray); property source: IJSHTMLCanvasElement read _Getsource write _Setsource; property leftBounds: TSingleDynArray read _GetleftBounds write _SetleftBounds; property rightBounds: TSingleDynArray read _GetrightBounds write _SetrightBounds; end; TJSVRLayer = class(TJSObject,IJSVRLayer) Private Protected function _Getsource: IJSHTMLCanvasElement; function _GetleftBounds: TSingleDynArray; function _GetrightBounds: TSingleDynArray; procedure _Setsource(const aValue: IJSHTMLCanvasElement); procedure _SetleftBounds(const aValue: TSingleDynArray); procedure _SetrightBounds(const aValue: TSingleDynArray); Public constructor create(const aDict : TJSVRLayerRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRLayer; property source: IJSHTMLCanvasElement read _Getsource write _Setsource; property leftBounds: TSingleDynArray read _GetleftBounds write _SetleftBounds; property rightBounds: TSingleDynArray read _GetrightBounds write _SetrightBounds; end; { -------------------------------------------------------------------- TJSRegistrationResponseJSON --------------------------------------------------------------------} TJSRegistrationResponseJSONRec = record id: TBase64URLString; rawId: TBase64URLString; response: TJSAuthenticatorAttestationResponseJSON; authenticatorAttachment: UnicodeString; clientExtensionResults: TJSAuthenticationExtensionsClientOutputsJSON; type_: UnicodeString; end; IJSRegistrationResponseJSON = interface(IJSObject) ['{86FBDF85-171A-334B-B8CD-CB14053EC1F8}'] function _Getid: TBase64URLString; function _GetrawId: TBase64URLString; function _Getresponse: IJSAuthenticatorAttestationResponseJSON; function _GetauthenticatorAttachment: UnicodeString; function _GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; function _Gettype_: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _SetrawId(const aValue: TBase64URLString); procedure _Setresponse(const aValue: IJSAuthenticatorAttestationResponseJSON); procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetclientExtensionResults(const aValue: IJSAuthenticationExtensionsClientOutputsJSON); procedure _Settype_(const aValue: UnicodeString); property id: TBase64URLString read _Getid write _Setid; property rawId: TBase64URLString read _GetrawId write _SetrawId; property response: IJSAuthenticatorAttestationResponseJSON read _Getresponse write _Setresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property clientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON read _GetclientExtensionResults write _SetclientExtensionResults; property type_: UnicodeString read _Gettype_ write _Settype_; end; TJSRegistrationResponseJSON = class(TJSObject,IJSRegistrationResponseJSON) Private Protected function _Getid: TBase64URLString; function _GetrawId: TBase64URLString; function _Getresponse: IJSAuthenticatorAttestationResponseJSON; function _GetauthenticatorAttachment: UnicodeString; function _GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; function _Gettype_: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _SetrawId(const aValue: TBase64URLString); procedure _Setresponse(const aValue: IJSAuthenticatorAttestationResponseJSON); procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetclientExtensionResults(const aValue: IJSAuthenticationExtensionsClientOutputsJSON); procedure _Settype_(const aValue: UnicodeString); Public constructor create(const aDict : TJSRegistrationResponseJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRegistrationResponseJSON; property id: TBase64URLString read _Getid write _Setid; property rawId: TBase64URLString read _GetrawId write _SetrawId; property response: IJSAuthenticatorAttestationResponseJSON read _Getresponse write _Setresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property clientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON read _GetclientExtensionResults write _SetclientExtensionResults; property type_: UnicodeString read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSAuthenticatorAttestationResponseJSON --------------------------------------------------------------------} TJSAuthenticatorAttestationResponseJSONRec = record clientDataJSON: TBase64URLString; authenticatorData: TBase64URLString; transports: TUnicodeStringDynArray; publicKey: TBase64URLString; publicKeyAlgorithm: Int64; attestationObject: TBase64URLString; end; IJSAuthenticatorAttestationResponseJSON = interface(IJSObject) ['{12CA6E76-E519-3E35-965C-F65C8F1E670E}'] function _GetclientDataJSON: TBase64URLString; function _GetauthenticatorData: TBase64URLString; function _Gettransports: TUnicodeStringDynArray; function _GetpublicKey: TBase64URLString; function _GetpublicKeyAlgorithm: Int64; function _GetattestationObject: TBase64URLString; procedure _SetclientDataJSON(const aValue: TBase64URLString); procedure _SetauthenticatorData(const aValue: TBase64URLString); procedure _Settransports(const aValue: TUnicodeStringDynArray); procedure _SetpublicKey(const aValue: TBase64URLString); procedure _SetpublicKeyAlgorithm(const aValue: Int64); procedure _SetattestationObject(const aValue: TBase64URLString); property clientDataJSON: TBase64URLString read _GetclientDataJSON write _SetclientDataJSON; property authenticatorData: TBase64URLString read _GetauthenticatorData write _SetauthenticatorData; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; property publicKey: TBase64URLString read _GetpublicKey write _SetpublicKey; property publicKeyAlgorithm: Int64 read _GetpublicKeyAlgorithm write _SetpublicKeyAlgorithm; property attestationObject: TBase64URLString read _GetattestationObject write _SetattestationObject; end; TJSAuthenticatorAttestationResponseJSON = class(TJSObject,IJSAuthenticatorAttestationResponseJSON) Private Protected function _GetclientDataJSON: TBase64URLString; function _GetauthenticatorData: TBase64URLString; function _Gettransports: TUnicodeStringDynArray; function _GetpublicKey: TBase64URLString; function _GetpublicKeyAlgorithm: Int64; function _GetattestationObject: TBase64URLString; procedure _SetclientDataJSON(const aValue: TBase64URLString); procedure _SetauthenticatorData(const aValue: TBase64URLString); procedure _Settransports(const aValue: TUnicodeStringDynArray); procedure _SetpublicKey(const aValue: TBase64URLString); procedure _SetpublicKeyAlgorithm(const aValue: Int64); procedure _SetattestationObject(const aValue: TBase64URLString); Public constructor create(const aDict : TJSAuthenticatorAttestationResponseJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorAttestationResponseJSON; property clientDataJSON: TBase64URLString read _GetclientDataJSON write _SetclientDataJSON; property authenticatorData: TBase64URLString read _GetauthenticatorData write _SetauthenticatorData; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; property publicKey: TBase64URLString read _GetpublicKey write _SetpublicKey; property publicKeyAlgorithm: Int64 read _GetpublicKeyAlgorithm write _SetpublicKeyAlgorithm; property attestationObject: TBase64URLString read _GetattestationObject write _SetattestationObject; end; { -------------------------------------------------------------------- TJSAuthenticationResponseJSON --------------------------------------------------------------------} TJSAuthenticationResponseJSONRec = record id: TBase64URLString; rawId: TBase64URLString; response: TJSAuthenticatorAssertionResponseJSON; authenticatorAttachment: UnicodeString; clientExtensionResults: TJSAuthenticationExtensionsClientOutputsJSON; type_: UnicodeString; end; IJSAuthenticationResponseJSON = interface(IJSObject) ['{9472FBBC-BA29-3A37-8FAA-ADED41BDCAB0}'] function _Getid: TBase64URLString; function _GetrawId: TBase64URLString; function _Getresponse: IJSAuthenticatorAssertionResponseJSON; function _GetauthenticatorAttachment: UnicodeString; function _GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; function _Gettype_: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _SetrawId(const aValue: TBase64URLString); procedure _Setresponse(const aValue: IJSAuthenticatorAssertionResponseJSON); procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetclientExtensionResults(const aValue: IJSAuthenticationExtensionsClientOutputsJSON); procedure _Settype_(const aValue: UnicodeString); property id: TBase64URLString read _Getid write _Setid; property rawId: TBase64URLString read _GetrawId write _SetrawId; property response: IJSAuthenticatorAssertionResponseJSON read _Getresponse write _Setresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property clientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON read _GetclientExtensionResults write _SetclientExtensionResults; property type_: UnicodeString read _Gettype_ write _Settype_; end; TJSAuthenticationResponseJSON = class(TJSObject,IJSAuthenticationResponseJSON) Private Protected function _Getid: TBase64URLString; function _GetrawId: TBase64URLString; function _Getresponse: IJSAuthenticatorAssertionResponseJSON; function _GetauthenticatorAttachment: UnicodeString; function _GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; function _Gettype_: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _SetrawId(const aValue: TBase64URLString); procedure _Setresponse(const aValue: IJSAuthenticatorAssertionResponseJSON); procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetclientExtensionResults(const aValue: IJSAuthenticationExtensionsClientOutputsJSON); procedure _Settype_(const aValue: UnicodeString); Public constructor create(const aDict : TJSAuthenticationResponseJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticationResponseJSON; property id: TBase64URLString read _Getid write _Setid; property rawId: TBase64URLString read _GetrawId write _SetrawId; property response: IJSAuthenticatorAssertionResponseJSON read _Getresponse write _Setresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property clientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON read _GetclientExtensionResults write _SetclientExtensionResults; property type_: UnicodeString read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSAuthenticatorAssertionResponseJSON --------------------------------------------------------------------} TJSAuthenticatorAssertionResponseJSONRec = record clientDataJSON: TBase64URLString; authenticatorData: TBase64URLString; signature: TBase64URLString; userHandle: TBase64URLString; attestationObject: TBase64URLString; end; IJSAuthenticatorAssertionResponseJSON = interface(IJSObject) ['{E68D05B4-53D3-3244-AC9D-13D06F3A6297}'] function _GetclientDataJSON: TBase64URLString; function _GetauthenticatorData: TBase64URLString; function _Getsignature: TBase64URLString; function _GetuserHandle: TBase64URLString; function _GetattestationObject: TBase64URLString; procedure _SetclientDataJSON(const aValue: TBase64URLString); procedure _SetauthenticatorData(const aValue: TBase64URLString); procedure _Setsignature(const aValue: TBase64URLString); procedure _SetuserHandle(const aValue: TBase64URLString); procedure _SetattestationObject(const aValue: TBase64URLString); property clientDataJSON: TBase64URLString read _GetclientDataJSON write _SetclientDataJSON; property authenticatorData: TBase64URLString read _GetauthenticatorData write _SetauthenticatorData; property signature: TBase64URLString read _Getsignature write _Setsignature; property userHandle: TBase64URLString read _GetuserHandle write _SetuserHandle; property attestationObject: TBase64URLString read _GetattestationObject write _SetattestationObject; end; TJSAuthenticatorAssertionResponseJSON = class(TJSObject,IJSAuthenticatorAssertionResponseJSON) Private Protected function _GetclientDataJSON: TBase64URLString; function _GetauthenticatorData: TBase64URLString; function _Getsignature: TBase64URLString; function _GetuserHandle: TBase64URLString; function _GetattestationObject: TBase64URLString; procedure _SetclientDataJSON(const aValue: TBase64URLString); procedure _SetauthenticatorData(const aValue: TBase64URLString); procedure _Setsignature(const aValue: TBase64URLString); procedure _SetuserHandle(const aValue: TBase64URLString); procedure _SetattestationObject(const aValue: TBase64URLString); Public constructor create(const aDict : TJSAuthenticatorAssertionResponseJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorAssertionResponseJSON; property clientDataJSON: TBase64URLString read _GetclientDataJSON write _SetclientDataJSON; property authenticatorData: TBase64URLString read _GetauthenticatorData write _SetauthenticatorData; property signature: TBase64URLString read _Getsignature write _Setsignature; property userHandle: TBase64URLString read _GetuserHandle write _SetuserHandle; property attestationObject: TBase64URLString read _GetattestationObject write _SetattestationObject; end; { -------------------------------------------------------------------- TJSAuthenticationExtensionsClientOutputsJSON --------------------------------------------------------------------} TJSAuthenticationExtensionsClientOutputsJSONRec = record appid: Boolean; credProps: TJSCredentialPropertiesOutput; hmacCreateSecret: Boolean; end; IJSAuthenticationExtensionsClientOutputsJSON = interface(IJSObject) ['{B7F16B65-3844-3610-AFCA-17AC1ABB3ECD}'] function _Getappid: Boolean; function _GetcredProps: IJSCredentialPropertiesOutput; function _GethmacCreateSecret: Boolean; procedure _Setappid(const aValue: Boolean); procedure _SetcredProps(const aValue: IJSCredentialPropertiesOutput); procedure _SethmacCreateSecret(const aValue: Boolean); property appid: Boolean read _Getappid write _Setappid; property credProps: IJSCredentialPropertiesOutput read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; end; TJSAuthenticationExtensionsClientOutputsJSON = class(TJSObject,IJSAuthenticationExtensionsClientOutputsJSON) Private Protected function _Getappid: Boolean; function _GetcredProps: IJSCredentialPropertiesOutput; function _GethmacCreateSecret: Boolean; procedure _Setappid(const aValue: Boolean); procedure _SetcredProps(const aValue: IJSCredentialPropertiesOutput); procedure _SethmacCreateSecret(const aValue: Boolean); Public constructor create(const aDict : TJSAuthenticationExtensionsClientOutputsJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientOutputsJSON; property appid: Boolean read _Getappid write _Setappid; property credProps: IJSCredentialPropertiesOutput read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialCreationOptionsJSON --------------------------------------------------------------------} TJSPublicKeyCredentialParametersDynArray = IJSArray; // array of PublicKeyCredentialParameters TJSPublicKeyCredentialDescriptorJSONDynArray = IJSArray; // array of PublicKeyCredentialDescriptorJSON TJSPublicKeyCredentialCreationOptionsJSONRec = record rp: TJSPublicKeyCredentialRpEntity; user: TJSPublicKeyCredentialUserEntityJSON; challenge: TBase64URLString; pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; timeout: Cardinal; excludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; authenticatorSelection: TJSAuthenticatorSelectionCriteria; hints: TUnicodeStringDynArray; attestation: UnicodeString; attestationFormats: TUnicodeStringDynArray; extensions: TJSAuthenticationExtensionsClientInputsJSON; end; IJSPublicKeyCredentialCreationOptionsJSON = interface(IJSObject) ['{C2FA120C-3C67-32B0-8A2D-8B82B51076E5}'] function _Getrp: IJSPublicKeyCredentialRpEntity; function _Getuser: IJSPublicKeyCredentialUserEntityJSON; function _Getchallenge: TBase64URLString; function _GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; function _Gettimeout: Cardinal; function _GetexcludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; function _GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; function _Gethints: TUnicodeStringDynArray; function _Getattestation: UnicodeString; function _GetattestationFormats: TUnicodeStringDynArray; function _Getextensions: IJSAuthenticationExtensionsClientInputsJSON; procedure _Setrp(const aValue: IJSPublicKeyCredentialRpEntity); procedure _Setuser(const aValue: IJSPublicKeyCredentialUserEntityJSON); procedure _Setchallenge(const aValue: TBase64URLString); procedure _SetpubKeyCredParams(const aValue: TJSPublicKeyCredentialParametersDynArray); procedure _Settimeout(const aValue: Cardinal); procedure _SetexcludeCredentials(const aValue: TJSPublicKeyCredentialDescriptorJSONDynArray); procedure _SetauthenticatorSelection(const aValue: IJSAuthenticatorSelectionCriteria); procedure _Sethints(const aValue: TUnicodeStringDynArray); procedure _Setattestation(const aValue: UnicodeString); procedure _SetattestationFormats(const aValue: TUnicodeStringDynArray); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputsJSON); property rp: IJSPublicKeyCredentialRpEntity read _Getrp write _Setrp; property user: IJSPublicKeyCredentialUserEntityJSON read _Getuser write _Setuser; property challenge: TBase64URLString read _Getchallenge write _Setchallenge; property pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray read _GetpubKeyCredParams write _SetpubKeyCredParams; property timeout: Cardinal read _Gettimeout write _Settimeout; property excludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray read _GetexcludeCredentials write _SetexcludeCredentials; property authenticatorSelection: IJSAuthenticatorSelectionCriteria read _GetauthenticatorSelection write _SetauthenticatorSelection; property hints: TUnicodeStringDynArray read _Gethints write _Sethints; property attestation: UnicodeString read _Getattestation write _Setattestation; property attestationFormats: TUnicodeStringDynArray read _GetattestationFormats write _SetattestationFormats; property extensions: IJSAuthenticationExtensionsClientInputsJSON read _Getextensions write _Setextensions; end; TJSPublicKeyCredentialCreationOptionsJSON = class(TJSObject,IJSPublicKeyCredentialCreationOptionsJSON) Private Protected function _Getrp: IJSPublicKeyCredentialRpEntity; function _Getuser: IJSPublicKeyCredentialUserEntityJSON; function _Getchallenge: TBase64URLString; function _GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; function _Gettimeout: Cardinal; function _GetexcludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; function _GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; function _Gethints: TUnicodeStringDynArray; function _Getattestation: UnicodeString; function _GetattestationFormats: TUnicodeStringDynArray; function _Getextensions: IJSAuthenticationExtensionsClientInputsJSON; procedure _Setrp(const aValue: IJSPublicKeyCredentialRpEntity); procedure _Setuser(const aValue: IJSPublicKeyCredentialUserEntityJSON); procedure _Setchallenge(const aValue: TBase64URLString); procedure _SetpubKeyCredParams(const aValue: TJSPublicKeyCredentialParametersDynArray); procedure _Settimeout(const aValue: Cardinal); procedure _SetexcludeCredentials(const aValue: TJSPublicKeyCredentialDescriptorJSONDynArray); procedure _SetauthenticatorSelection(const aValue: IJSAuthenticatorSelectionCriteria); procedure _Sethints(const aValue: TUnicodeStringDynArray); procedure _Setattestation(const aValue: UnicodeString); procedure _SetattestationFormats(const aValue: TUnicodeStringDynArray); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputsJSON); Public constructor create(const aDict : TJSPublicKeyCredentialCreationOptionsJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialCreationOptionsJSON; property rp: IJSPublicKeyCredentialRpEntity read _Getrp write _Setrp; property user: IJSPublicKeyCredentialUserEntityJSON read _Getuser write _Setuser; property challenge: TBase64URLString read _Getchallenge write _Setchallenge; property pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray read _GetpubKeyCredParams write _SetpubKeyCredParams; property timeout: Cardinal read _Gettimeout write _Settimeout; property excludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray read _GetexcludeCredentials write _SetexcludeCredentials; property authenticatorSelection: IJSAuthenticatorSelectionCriteria read _GetauthenticatorSelection write _SetauthenticatorSelection; property hints: TUnicodeStringDynArray read _Gethints write _Sethints; property attestation: UnicodeString read _Getattestation write _Setattestation; property attestationFormats: TUnicodeStringDynArray read _GetattestationFormats write _SetattestationFormats; property extensions: IJSAuthenticationExtensionsClientInputsJSON read _Getextensions write _Setextensions; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialUserEntityJSON --------------------------------------------------------------------} TJSPublicKeyCredentialUserEntityJSONRec = record id: TBase64URLString; name: UnicodeString; displayName: UnicodeString; end; IJSPublicKeyCredentialUserEntityJSON = interface(IJSObject) ['{53609143-A263-3E3C-985A-CB5255796F14}'] function _Getid: TBase64URLString; function _Getname: UnicodeString; function _GetdisplayName: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _Setname(const aValue: UnicodeString); procedure _SetdisplayName(const aValue: UnicodeString); property id: TBase64URLString read _Getid write _Setid; property name: UnicodeString read _Getname write _Setname; property displayName: UnicodeString read _GetdisplayName write _SetdisplayName; end; TJSPublicKeyCredentialUserEntityJSON = class(TJSObject,IJSPublicKeyCredentialUserEntityJSON) Private Protected function _Getid: TBase64URLString; function _Getname: UnicodeString; function _GetdisplayName: UnicodeString; procedure _Setid(const aValue: TBase64URLString); procedure _Setname(const aValue: UnicodeString); procedure _SetdisplayName(const aValue: UnicodeString); Public constructor create(const aDict : TJSPublicKeyCredentialUserEntityJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialUserEntityJSON; property id: TBase64URLString read _Getid write _Setid; property name: UnicodeString read _Getname write _Setname; property displayName: UnicodeString read _GetdisplayName write _SetdisplayName; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialDescriptorJSON --------------------------------------------------------------------} TJSPublicKeyCredentialDescriptorJSONRec = record id: TBase64URLString; type_: UnicodeString; transports: TUnicodeStringDynArray; end; IJSPublicKeyCredentialDescriptorJSON = interface(IJSObject) ['{A8A8BC9C-A263-3255-BAD9-2E0FA2B95606}'] function _Getid: TBase64URLString; function _Gettype_: UnicodeString; function _Gettransports: TUnicodeStringDynArray; procedure _Setid(const aValue: TBase64URLString); procedure _Settype_(const aValue: UnicodeString); procedure _Settransports(const aValue: TUnicodeStringDynArray); property id: TBase64URLString read _Getid write _Setid; property type_: UnicodeString read _Gettype_ write _Settype_; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; end; TJSPublicKeyCredentialDescriptorJSON = class(TJSObject,IJSPublicKeyCredentialDescriptorJSON) Private Protected function _Getid: TBase64URLString; function _Gettype_: UnicodeString; function _Gettransports: TUnicodeStringDynArray; procedure _Setid(const aValue: TBase64URLString); procedure _Settype_(const aValue: UnicodeString); procedure _Settransports(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSPublicKeyCredentialDescriptorJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialDescriptorJSON; property id: TBase64URLString read _Getid write _Setid; property type_: UnicodeString read _Gettype_ write _Settype_; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; end; { -------------------------------------------------------------------- TJSAuthenticationExtensionsClientInputsJSON --------------------------------------------------------------------} TJSAuthenticationExtensionsClientInputsJSONRec = record appid: UnicodeString; credProps: Boolean; hmacCreateSecret: Boolean; minPinLength: Boolean; end; IJSAuthenticationExtensionsClientInputsJSON = interface(IJSObject) ['{FDB577A0-7BE5-3AF6-8120-6E681D50A5D1}'] function _Getappid: UnicodeString; function _GetcredProps: Boolean; function _GethmacCreateSecret: Boolean; function _GetminPinLength: Boolean; procedure _Setappid(const aValue: UnicodeString); procedure _SetcredProps(const aValue: Boolean); procedure _SethmacCreateSecret(const aValue: Boolean); procedure _SetminPinLength(const aValue: Boolean); property appid: UnicodeString read _Getappid write _Setappid; property credProps: Boolean read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; property minPinLength: Boolean read _GetminPinLength write _SetminPinLength; end; TJSAuthenticationExtensionsClientInputsJSON = class(TJSObject,IJSAuthenticationExtensionsClientInputsJSON) Private Protected function _Getappid: UnicodeString; function _GetcredProps: Boolean; function _GethmacCreateSecret: Boolean; function _GetminPinLength: Boolean; procedure _Setappid(const aValue: UnicodeString); procedure _SetcredProps(const aValue: Boolean); procedure _SethmacCreateSecret(const aValue: Boolean); procedure _SetminPinLength(const aValue: Boolean); Public constructor create(const aDict : TJSAuthenticationExtensionsClientInputsJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientInputsJSON; property appid: UnicodeString read _Getappid write _Setappid; property credProps: Boolean read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; property minPinLength: Boolean read _GetminPinLength write _SetminPinLength; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialRequestOptionsJSON --------------------------------------------------------------------} TJSPublicKeyCredentialRequestOptionsJSONRec = record challenge: TBase64URLString; timeout: Cardinal; rpId: UnicodeString; allowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; userVerification: UnicodeString; hints: TUnicodeStringDynArray; attestation: UnicodeString; attestationFormats: TUnicodeStringDynArray; extensions: TJSAuthenticationExtensionsClientInputsJSON; end; IJSPublicKeyCredentialRequestOptionsJSON = interface(IJSObject) ['{EE7E9E87-FEC9-3065-B10A-0757C8901FB4}'] function _Getchallenge: TBase64URLString; function _Gettimeout: Cardinal; function _GetrpId: UnicodeString; function _GetallowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; function _GetuserVerification: UnicodeString; function _Gethints: TUnicodeStringDynArray; function _Getattestation: UnicodeString; function _GetattestationFormats: TUnicodeStringDynArray; function _Getextensions: IJSAuthenticationExtensionsClientInputsJSON; procedure _Setchallenge(const aValue: TBase64URLString); procedure _Settimeout(const aValue: Cardinal); procedure _SetrpId(const aValue: UnicodeString); procedure _SetallowCredentials(const aValue: TJSPublicKeyCredentialDescriptorJSONDynArray); procedure _SetuserVerification(const aValue: UnicodeString); procedure _Sethints(const aValue: TUnicodeStringDynArray); procedure _Setattestation(const aValue: UnicodeString); procedure _SetattestationFormats(const aValue: TUnicodeStringDynArray); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputsJSON); property challenge: TBase64URLString read _Getchallenge write _Setchallenge; property timeout: Cardinal read _Gettimeout write _Settimeout; property rpId: UnicodeString read _GetrpId write _SetrpId; property allowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray read _GetallowCredentials write _SetallowCredentials; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; property hints: TUnicodeStringDynArray read _Gethints write _Sethints; property attestation: UnicodeString read _Getattestation write _Setattestation; property attestationFormats: TUnicodeStringDynArray read _GetattestationFormats write _SetattestationFormats; property extensions: IJSAuthenticationExtensionsClientInputsJSON read _Getextensions write _Setextensions; end; TJSPublicKeyCredentialRequestOptionsJSON = class(TJSObject,IJSPublicKeyCredentialRequestOptionsJSON) Private Protected function _Getchallenge: TBase64URLString; function _Gettimeout: Cardinal; function _GetrpId: UnicodeString; function _GetallowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; function _GetuserVerification: UnicodeString; function _Gethints: TUnicodeStringDynArray; function _Getattestation: UnicodeString; function _GetattestationFormats: TUnicodeStringDynArray; function _Getextensions: IJSAuthenticationExtensionsClientInputsJSON; procedure _Setchallenge(const aValue: TBase64URLString); procedure _Settimeout(const aValue: Cardinal); procedure _SetrpId(const aValue: UnicodeString); procedure _SetallowCredentials(const aValue: TJSPublicKeyCredentialDescriptorJSONDynArray); procedure _SetuserVerification(const aValue: UnicodeString); procedure _Sethints(const aValue: TUnicodeStringDynArray); procedure _Setattestation(const aValue: UnicodeString); procedure _SetattestationFormats(const aValue: TUnicodeStringDynArray); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputsJSON); Public constructor create(const aDict : TJSPublicKeyCredentialRequestOptionsJSONRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialRequestOptionsJSON; property challenge: TBase64URLString read _Getchallenge write _Setchallenge; property timeout: Cardinal read _Gettimeout write _Settimeout; property rpId: UnicodeString read _GetrpId write _SetrpId; property allowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray read _GetallowCredentials write _SetallowCredentials; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; property hints: TUnicodeStringDynArray read _Gethints write _Sethints; property attestation: UnicodeString read _Getattestation write _Setattestation; property attestationFormats: TUnicodeStringDynArray read _GetattestationFormats write _SetattestationFormats; property extensions: IJSAuthenticationExtensionsClientInputsJSON read _Getextensions write _Setextensions; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialParameters --------------------------------------------------------------------} TJSPublicKeyCredentialParametersRec = record type_: UnicodeString; alg: TCOSEAlgorithmIdentifier; end; IJSPublicKeyCredentialParameters = interface(IJSObject) ['{FC0A2841-1737-371D-8E4C-4FD2EDCDF202}'] function _Gettype_: UnicodeString; function _Getalg: TCOSEAlgorithmIdentifier; procedure _Settype_(const aValue: UnicodeString); procedure _Setalg(const aValue: TCOSEAlgorithmIdentifier); property type_: UnicodeString read _Gettype_ write _Settype_; property alg: TCOSEAlgorithmIdentifier read _Getalg write _Setalg; end; TJSPublicKeyCredentialParameters = class(TJSObject,IJSPublicKeyCredentialParameters) Private Protected function _Gettype_: UnicodeString; function _Getalg: TCOSEAlgorithmIdentifier; procedure _Settype_(const aValue: UnicodeString); procedure _Setalg(const aValue: TCOSEAlgorithmIdentifier); Public constructor create(const aDict : TJSPublicKeyCredentialParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialParameters; property type_: UnicodeString read _Gettype_ write _Settype_; property alg: TCOSEAlgorithmIdentifier read _Getalg write _Setalg; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialCreationOptions --------------------------------------------------------------------} TJSPublicKeyCredentialDescriptorDynArray = IJSArray; // array of PublicKeyCredentialDescriptor TJSPublicKeyCredentialCreationOptionsRec = record rp: TJSPublicKeyCredentialRpEntity; user: TJSPublicKeyCredentialUserEntity; challenge: IJSBufferSource; pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; timeout: Cardinal; excludeCredentials: TJSPublicKeyCredentialDescriptorDynArray; authenticatorSelection: TJSAuthenticatorSelectionCriteria; attestation: UnicodeString; extensions: TJSAuthenticationExtensionsClientInputs; end; IJSPublicKeyCredentialCreationOptions = interface(IJSObject) ['{B153BF14-A7E1-3984-980E-8B69A519DDD9}'] function _Getrp: IJSPublicKeyCredentialRpEntity; function _Getuser: IJSPublicKeyCredentialUserEntity; function _Getchallenge: IJSBufferSource; function _GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; function _Gettimeout: Cardinal; function _GetexcludeCredentials: TJSPublicKeyCredentialDescriptorDynArray; function _GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; function _Getattestation: UnicodeString; function _Getextensions: IJSAuthenticationExtensionsClientInputs; procedure _Setrp(const aValue: IJSPublicKeyCredentialRpEntity); procedure _Setuser(const aValue: IJSPublicKeyCredentialUserEntity); procedure _Setchallenge(const aValue: IJSBufferSource); procedure _SetpubKeyCredParams(const aValue: TJSPublicKeyCredentialParametersDynArray); procedure _Settimeout(const aValue: Cardinal); procedure _SetexcludeCredentials(const aValue: TJSPublicKeyCredentialDescriptorDynArray); procedure _SetauthenticatorSelection(const aValue: IJSAuthenticatorSelectionCriteria); procedure _Setattestation(const aValue: UnicodeString); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputs); property rp: IJSPublicKeyCredentialRpEntity read _Getrp write _Setrp; property user: IJSPublicKeyCredentialUserEntity read _Getuser write _Setuser; property challenge: IJSBufferSource read _Getchallenge write _Setchallenge; property pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray read _GetpubKeyCredParams write _SetpubKeyCredParams; property timeout: Cardinal read _Gettimeout write _Settimeout; property excludeCredentials: TJSPublicKeyCredentialDescriptorDynArray read _GetexcludeCredentials write _SetexcludeCredentials; property authenticatorSelection: IJSAuthenticatorSelectionCriteria read _GetauthenticatorSelection write _SetauthenticatorSelection; property attestation: UnicodeString read _Getattestation write _Setattestation; property extensions: IJSAuthenticationExtensionsClientInputs read _Getextensions write _Setextensions; end; TJSPublicKeyCredentialCreationOptions = class(TJSObject,IJSPublicKeyCredentialCreationOptions) Private Protected function _Getrp: IJSPublicKeyCredentialRpEntity; function _Getuser: IJSPublicKeyCredentialUserEntity; function _Getchallenge: IJSBufferSource; function _GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; function _Gettimeout: Cardinal; function _GetexcludeCredentials: TJSPublicKeyCredentialDescriptorDynArray; function _GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; function _Getattestation: UnicodeString; function _Getextensions: IJSAuthenticationExtensionsClientInputs; procedure _Setrp(const aValue: IJSPublicKeyCredentialRpEntity); procedure _Setuser(const aValue: IJSPublicKeyCredentialUserEntity); procedure _Setchallenge(const aValue: IJSBufferSource); procedure _SetpubKeyCredParams(const aValue: TJSPublicKeyCredentialParametersDynArray); procedure _Settimeout(const aValue: Cardinal); procedure _SetexcludeCredentials(const aValue: TJSPublicKeyCredentialDescriptorDynArray); procedure _SetauthenticatorSelection(const aValue: IJSAuthenticatorSelectionCriteria); procedure _Setattestation(const aValue: UnicodeString); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputs); Public constructor create(const aDict : TJSPublicKeyCredentialCreationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialCreationOptions; property rp: IJSPublicKeyCredentialRpEntity read _Getrp write _Setrp; property user: IJSPublicKeyCredentialUserEntity read _Getuser write _Setuser; property challenge: IJSBufferSource read _Getchallenge write _Setchallenge; property pubKeyCredParams: TJSPublicKeyCredentialParametersDynArray read _GetpubKeyCredParams write _SetpubKeyCredParams; property timeout: Cardinal read _Gettimeout write _Settimeout; property excludeCredentials: TJSPublicKeyCredentialDescriptorDynArray read _GetexcludeCredentials write _SetexcludeCredentials; property authenticatorSelection: IJSAuthenticatorSelectionCriteria read _GetauthenticatorSelection write _SetauthenticatorSelection; property attestation: UnicodeString read _Getattestation write _Setattestation; property extensions: IJSAuthenticationExtensionsClientInputs read _Getextensions write _Setextensions; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialEntity --------------------------------------------------------------------} TJSPublicKeyCredentialEntityRec = record name: UnicodeString; end; IJSPublicKeyCredentialEntity = interface(IJSObject) ['{5F8FBFA6-76FB-3441-9956-1CC6D5DD430F}'] function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; end; TJSPublicKeyCredentialEntity = class(TJSObject,IJSPublicKeyCredentialEntity) Private Protected function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSPublicKeyCredentialEntityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialEntity; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSAuthenticatorSelectionCriteria --------------------------------------------------------------------} TJSAuthenticatorSelectionCriteriaRec = record authenticatorAttachment: UnicodeString; residentKey: UnicodeString; requireResidentKey: Boolean; userVerification: UnicodeString; end; IJSAuthenticatorSelectionCriteria = interface(IJSObject) ['{1A7E1175-000D-391D-97D1-71BB367606D3}'] function _GetauthenticatorAttachment: UnicodeString; function _GetresidentKey: UnicodeString; function _GetrequireResidentKey: Boolean; function _GetuserVerification: UnicodeString; procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetresidentKey(const aValue: UnicodeString); procedure _SetrequireResidentKey(const aValue: Boolean); procedure _SetuserVerification(const aValue: UnicodeString); property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property residentKey: UnicodeString read _GetresidentKey write _SetresidentKey; property requireResidentKey: Boolean read _GetrequireResidentKey write _SetrequireResidentKey; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; end; TJSAuthenticatorSelectionCriteria = class(TJSObject,IJSAuthenticatorSelectionCriteria) Private Protected function _GetauthenticatorAttachment: UnicodeString; function _GetresidentKey: UnicodeString; function _GetrequireResidentKey: Boolean; function _GetuserVerification: UnicodeString; procedure _SetauthenticatorAttachment(const aValue: UnicodeString); procedure _SetresidentKey(const aValue: UnicodeString); procedure _SetrequireResidentKey(const aValue: Boolean); procedure _SetuserVerification(const aValue: UnicodeString); Public constructor create(const aDict : TJSAuthenticatorSelectionCriteriaRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorSelectionCriteria; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment write _SetauthenticatorAttachment; property residentKey: UnicodeString read _GetresidentKey write _SetresidentKey; property requireResidentKey: Boolean read _GetrequireResidentKey write _SetrequireResidentKey; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialRequestOptions --------------------------------------------------------------------} TJSPublicKeyCredentialRequestOptionsRec = record challenge: IJSBufferSource; timeout: Cardinal; rpId: UnicodeString; allowCredentials: TJSPublicKeyCredentialDescriptorDynArray; userVerification: UnicodeString; extensions: TJSAuthenticationExtensionsClientInputs; end; IJSPublicKeyCredentialRequestOptions = interface(IJSObject) ['{AC2C6C23-8AF8-346C-8D07-E9B7F7230AF6}'] function _Getchallenge: IJSBufferSource; function _Gettimeout: Cardinal; function _GetrpId: UnicodeString; function _GetallowCredentials: TJSPublicKeyCredentialDescriptorDynArray; function _GetuserVerification: UnicodeString; function _Getextensions: IJSAuthenticationExtensionsClientInputs; procedure _Setchallenge(const aValue: IJSBufferSource); procedure _Settimeout(const aValue: Cardinal); procedure _SetrpId(const aValue: UnicodeString); procedure _SetallowCredentials(const aValue: TJSPublicKeyCredentialDescriptorDynArray); procedure _SetuserVerification(const aValue: UnicodeString); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputs); property challenge: IJSBufferSource read _Getchallenge write _Setchallenge; property timeout: Cardinal read _Gettimeout write _Settimeout; property rpId: UnicodeString read _GetrpId write _SetrpId; property allowCredentials: TJSPublicKeyCredentialDescriptorDynArray read _GetallowCredentials write _SetallowCredentials; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; property extensions: IJSAuthenticationExtensionsClientInputs read _Getextensions write _Setextensions; end; TJSPublicKeyCredentialRequestOptions = class(TJSObject,IJSPublicKeyCredentialRequestOptions) Private Protected function _Getchallenge: IJSBufferSource; function _Gettimeout: Cardinal; function _GetrpId: UnicodeString; function _GetallowCredentials: TJSPublicKeyCredentialDescriptorDynArray; function _GetuserVerification: UnicodeString; function _Getextensions: IJSAuthenticationExtensionsClientInputs; procedure _Setchallenge(const aValue: IJSBufferSource); procedure _Settimeout(const aValue: Cardinal); procedure _SetrpId(const aValue: UnicodeString); procedure _SetallowCredentials(const aValue: TJSPublicKeyCredentialDescriptorDynArray); procedure _SetuserVerification(const aValue: UnicodeString); procedure _Setextensions(const aValue: IJSAuthenticationExtensionsClientInputs); Public constructor create(const aDict : TJSPublicKeyCredentialRequestOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialRequestOptions; property challenge: IJSBufferSource read _Getchallenge write _Setchallenge; property timeout: Cardinal read _Gettimeout write _Settimeout; property rpId: UnicodeString read _GetrpId write _SetrpId; property allowCredentials: TJSPublicKeyCredentialDescriptorDynArray read _GetallowCredentials write _SetallowCredentials; property userVerification: UnicodeString read _GetuserVerification write _SetuserVerification; property extensions: IJSAuthenticationExtensionsClientInputs read _Getextensions write _Setextensions; end; { -------------------------------------------------------------------- TJSAuthenticationExtensionsClientInputs --------------------------------------------------------------------} TJSAuthenticationExtensionsClientInputsRec = record appid: UnicodeString; credProps: Boolean; hmacCreateSecret: Boolean; minPinLength: Boolean; end; IJSAuthenticationExtensionsClientInputs = interface(IJSObject) ['{C3125911-B86F-3D23-ADE6-702161469929}'] function _Getappid: UnicodeString; function _GetcredProps: Boolean; function _GethmacCreateSecret: Boolean; function _GetminPinLength: Boolean; procedure _Setappid(const aValue: UnicodeString); procedure _SetcredProps(const aValue: Boolean); procedure _SethmacCreateSecret(const aValue: Boolean); procedure _SetminPinLength(const aValue: Boolean); property appid: UnicodeString read _Getappid write _Setappid; property credProps: Boolean read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; property minPinLength: Boolean read _GetminPinLength write _SetminPinLength; end; TJSAuthenticationExtensionsClientInputs = class(TJSObject,IJSAuthenticationExtensionsClientInputs) Private Protected function _Getappid: UnicodeString; function _GetcredProps: Boolean; function _GethmacCreateSecret: Boolean; function _GetminPinLength: Boolean; procedure _Setappid(const aValue: UnicodeString); procedure _SetcredProps(const aValue: Boolean); procedure _SethmacCreateSecret(const aValue: Boolean); procedure _SetminPinLength(const aValue: Boolean); Public constructor create(const aDict : TJSAuthenticationExtensionsClientInputsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientInputs; property appid: UnicodeString read _Getappid write _Setappid; property credProps: Boolean read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; property minPinLength: Boolean read _GetminPinLength write _SetminPinLength; end; { -------------------------------------------------------------------- TJSAuthenticationExtensionsClientOutputs --------------------------------------------------------------------} TJSAuthenticationExtensionsClientOutputsRec = record appid: Boolean; credProps: TJSCredentialPropertiesOutput; hmacCreateSecret: Boolean; end; IJSAuthenticationExtensionsClientOutputs = interface(IJSObject) ['{F23107DB-B55A-3AB3-9727-56B8D1011ED9}'] function _Getappid: Boolean; function _GetcredProps: IJSCredentialPropertiesOutput; function _GethmacCreateSecret: Boolean; procedure _Setappid(const aValue: Boolean); procedure _SetcredProps(const aValue: IJSCredentialPropertiesOutput); procedure _SethmacCreateSecret(const aValue: Boolean); property appid: Boolean read _Getappid write _Setappid; property credProps: IJSCredentialPropertiesOutput read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; end; TJSAuthenticationExtensionsClientOutputs = class(TJSObject,IJSAuthenticationExtensionsClientOutputs) Private Protected function _Getappid: Boolean; function _GetcredProps: IJSCredentialPropertiesOutput; function _GethmacCreateSecret: Boolean; procedure _Setappid(const aValue: Boolean); procedure _SetcredProps(const aValue: IJSCredentialPropertiesOutput); procedure _SethmacCreateSecret(const aValue: Boolean); Public constructor create(const aDict : TJSAuthenticationExtensionsClientOutputsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientOutputs; property appid: Boolean read _Getappid write _Setappid; property credProps: IJSCredentialPropertiesOutput read _GetcredProps write _SetcredProps; property hmacCreateSecret: Boolean read _GethmacCreateSecret write _SethmacCreateSecret; end; { -------------------------------------------------------------------- TJSCollectedClientData --------------------------------------------------------------------} TJSCollectedClientDataRec = record type_: UnicodeString; challenge: UnicodeString; origin: UnicodeString; tokenBinding: TJSTokenBinding; end; IJSCollectedClientData = interface(IJSObject) ['{507128D9-C18E-37A3-BB8A-21F70EA5B7BF}'] function _Gettype_: UnicodeString; function _Getchallenge: UnicodeString; function _Getorigin: UnicodeString; function _GettokenBinding: IJSTokenBinding; procedure _Settype_(const aValue: UnicodeString); procedure _Setchallenge(const aValue: UnicodeString); procedure _Setorigin(const aValue: UnicodeString); procedure _SettokenBinding(const aValue: IJSTokenBinding); property type_: UnicodeString read _Gettype_ write _Settype_; property challenge: UnicodeString read _Getchallenge write _Setchallenge; property origin: UnicodeString read _Getorigin write _Setorigin; property tokenBinding: IJSTokenBinding read _GettokenBinding write _SettokenBinding; end; TJSCollectedClientData = class(TJSObject,IJSCollectedClientData) Private Protected function _Gettype_: UnicodeString; function _Getchallenge: UnicodeString; function _Getorigin: UnicodeString; function _GettokenBinding: IJSTokenBinding; procedure _Settype_(const aValue: UnicodeString); procedure _Setchallenge(const aValue: UnicodeString); procedure _Setorigin(const aValue: UnicodeString); procedure _SettokenBinding(const aValue: IJSTokenBinding); Public constructor create(const aDict : TJSCollectedClientDataRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCollectedClientData; property type_: UnicodeString read _Gettype_ write _Settype_; property challenge: UnicodeString read _Getchallenge write _Setchallenge; property origin: UnicodeString read _Getorigin write _Setorigin; property tokenBinding: IJSTokenBinding read _GettokenBinding write _SettokenBinding; end; { -------------------------------------------------------------------- TJSTokenBinding --------------------------------------------------------------------} TJSTokenBindingRec = record status: UnicodeString; id: UnicodeString; end; IJSTokenBinding = interface(IJSObject) ['{E6CF29E7-387A-3C1D-B061-5042AD973E21}'] function _Getstatus: UnicodeString; function _Getid: UnicodeString; procedure _Setstatus(const aValue: UnicodeString); procedure _Setid(const aValue: UnicodeString); property status: UnicodeString read _Getstatus write _Setstatus; property id: UnicodeString read _Getid write _Setid; end; TJSTokenBinding = class(TJSObject,IJSTokenBinding) Private Protected function _Getstatus: UnicodeString; function _Getid: UnicodeString; procedure _Setstatus(const aValue: UnicodeString); procedure _Setid(const aValue: UnicodeString); Public constructor create(const aDict : TJSTokenBindingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTokenBinding; property status: UnicodeString read _Getstatus write _Setstatus; property id: UnicodeString read _Getid write _Setid; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialDescriptor --------------------------------------------------------------------} TJSPublicKeyCredentialDescriptorRec = record type_: UnicodeString; id: IJSBufferSource; transports: TUnicodeStringDynArray; end; IJSPublicKeyCredentialDescriptor = interface(IJSObject) ['{864863E2-03AB-3C1B-9A31-A9A4E1AF400B}'] function _Gettype_: UnicodeString; function _Getid: IJSBufferSource; function _Gettransports: TUnicodeStringDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _Setid(const aValue: IJSBufferSource); procedure _Settransports(const aValue: TUnicodeStringDynArray); property type_: UnicodeString read _Gettype_ write _Settype_; property id: IJSBufferSource read _Getid write _Setid; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; end; TJSPublicKeyCredentialDescriptor = class(TJSObject,IJSPublicKeyCredentialDescriptor) Private Protected function _Gettype_: UnicodeString; function _Getid: IJSBufferSource; function _Gettransports: TUnicodeStringDynArray; procedure _Settype_(const aValue: UnicodeString); procedure _Setid(const aValue: IJSBufferSource); procedure _Settransports(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSPublicKeyCredentialDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialDescriptor; property type_: UnicodeString read _Gettype_ write _Settype_; property id: IJSBufferSource read _Getid write _Setid; property transports: TUnicodeStringDynArray read _Gettransports write _Settransports; end; { -------------------------------------------------------------------- TJSCredentialPropertiesOutput --------------------------------------------------------------------} TJSCredentialPropertiesOutputRec = record rk: Boolean; end; IJSCredentialPropertiesOutput = interface(IJSObject) ['{E7739C60-49FC-31EA-91E1-2FF43CCCF06F}'] function _Getrk: Boolean; procedure _Setrk(const aValue: Boolean); property rk: Boolean read _Getrk write _Setrk; end; TJSCredentialPropertiesOutput = class(TJSObject,IJSCredentialPropertiesOutput) Private Protected function _Getrk: Boolean; procedure _Setrk(const aValue: Boolean); Public constructor create(const aDict : TJSCredentialPropertiesOutputRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCredentialPropertiesOutput; property rk: Boolean read _Getrk write _Setrk; end; { -------------------------------------------------------------------- TJSWebGLContextAttributes --------------------------------------------------------------------} TJSWebGLContextAttributesRec = record alpha: TGLboolean; depth: TGLboolean; stencil: TGLboolean; antialias: TGLboolean; premultipliedAlpha: TGLboolean; preserveDrawingBuffer: TGLboolean; failIfMajorPerformanceCaveat: TGLboolean; powerPreference: TWebGLPowerPreference; colorSpace: TPredefinedColorSpace; xrCompatible: Boolean; end; IJSWebGLContextAttributes = interface(IJSObject) ['{DE62754C-64F0-3239-AFCD-6C5C143D8F42}'] function _Getalpha: TGLboolean; function _Getdepth: TGLboolean; function _Getstencil: TGLboolean; function _Getantialias: TGLboolean; function _GetpremultipliedAlpha: TGLboolean; function _GetpreserveDrawingBuffer: TGLboolean; function _GetfailIfMajorPerformanceCaveat: TGLboolean; function _GetpowerPreference: TWebGLPowerPreference; function _GetcolorSpace: TPredefinedColorSpace; function _GetxrCompatible: Boolean; procedure _Setalpha(const aValue: TGLboolean); procedure _Setdepth(const aValue: TGLboolean); procedure _Setstencil(const aValue: TGLboolean); procedure _Setantialias(const aValue: TGLboolean); procedure _SetpremultipliedAlpha(const aValue: TGLboolean); procedure _SetpreserveDrawingBuffer(const aValue: TGLboolean); procedure _SetfailIfMajorPerformanceCaveat(const aValue: TGLboolean); procedure _SetpowerPreference(const aValue: TWebGLPowerPreference); procedure _SetcolorSpace(const aValue: TPredefinedColorSpace); procedure _SetxrCompatible(const aValue: Boolean); property alpha: TGLboolean read _Getalpha write _Setalpha; property depth: TGLboolean read _Getdepth write _Setdepth; property stencil: TGLboolean read _Getstencil write _Setstencil; property antialias: TGLboolean read _Getantialias write _Setantialias; property premultipliedAlpha: TGLboolean read _GetpremultipliedAlpha write _SetpremultipliedAlpha; property preserveDrawingBuffer: TGLboolean read _GetpreserveDrawingBuffer write _SetpreserveDrawingBuffer; property failIfMajorPerformanceCaveat: TGLboolean read _GetfailIfMajorPerformanceCaveat write _SetfailIfMajorPerformanceCaveat; property powerPreference: TWebGLPowerPreference read _GetpowerPreference write _SetpowerPreference; property colorSpace: TPredefinedColorSpace read _GetcolorSpace write _SetcolorSpace; property xrCompatible: Boolean read _GetxrCompatible write _SetxrCompatible; end; TJSWebGLContextAttributes = class(TJSObject,IJSWebGLContextAttributes) Private Protected function _Getalpha: TGLboolean; function _Getdepth: TGLboolean; function _Getstencil: TGLboolean; function _Getantialias: TGLboolean; function _GetpremultipliedAlpha: TGLboolean; function _GetpreserveDrawingBuffer: TGLboolean; function _GetfailIfMajorPerformanceCaveat: TGLboolean; function _GetpowerPreference: TWebGLPowerPreference; function _GetcolorSpace: TPredefinedColorSpace; function _GetxrCompatible: Boolean; procedure _Setalpha(const aValue: TGLboolean); procedure _Setdepth(const aValue: TGLboolean); procedure _Setstencil(const aValue: TGLboolean); procedure _Setantialias(const aValue: TGLboolean); procedure _SetpremultipliedAlpha(const aValue: TGLboolean); procedure _SetpreserveDrawingBuffer(const aValue: TGLboolean); procedure _SetfailIfMajorPerformanceCaveat(const aValue: TGLboolean); procedure _SetpowerPreference(const aValue: TWebGLPowerPreference); procedure _SetcolorSpace(const aValue: TPredefinedColorSpace); procedure _SetxrCompatible(const aValue: Boolean); Public constructor create(const aDict : TJSWebGLContextAttributesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLContextAttributes; property alpha: TGLboolean read _Getalpha write _Setalpha; property depth: TGLboolean read _Getdepth write _Setdepth; property stencil: TGLboolean read _Getstencil write _Setstencil; property antialias: TGLboolean read _Getantialias write _Setantialias; property premultipliedAlpha: TGLboolean read _GetpremultipliedAlpha write _SetpremultipliedAlpha; property preserveDrawingBuffer: TGLboolean read _GetpreserveDrawingBuffer write _SetpreserveDrawingBuffer; property failIfMajorPerformanceCaveat: TGLboolean read _GetfailIfMajorPerformanceCaveat write _SetfailIfMajorPerformanceCaveat; property powerPreference: TWebGLPowerPreference read _GetpowerPreference write _SetpowerPreference; property colorSpace: TPredefinedColorSpace read _GetcolorSpace write _SetcolorSpace; property xrCompatible: Boolean read _GetxrCompatible write _SetxrCompatible; end; { -------------------------------------------------------------------- TJSGPUObjectDescriptorBase --------------------------------------------------------------------} TJSGPUObjectDescriptorBaseRec = record label_: UnicodeString; end; IJSGPUObjectDescriptorBase = interface(IJSObject) ['{CD1E5691-86BB-3E7B-AB28-0E7C1724F410}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUObjectDescriptorBase = class(TJSObject,IJSGPUObjectDescriptorBase) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public constructor create(const aDict : TJSGPUObjectDescriptorBaseRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUObjectDescriptorBase; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPURequestAdapterOptions --------------------------------------------------------------------} TJSGPURequestAdapterOptionsRec = record powerPreference: TGPUPowerPreference; forceFallbackAdapter: Boolean; end; IJSGPURequestAdapterOptions = interface(IJSObject) ['{07858976-FA09-3A05-804A-10CF0DCD78D1}'] function _GetpowerPreference: TGPUPowerPreference; function _GetforceFallbackAdapter: Boolean; procedure _SetpowerPreference(const aValue: TGPUPowerPreference); procedure _SetforceFallbackAdapter(const aValue: Boolean); property powerPreference: TGPUPowerPreference read _GetpowerPreference write _SetpowerPreference; property forceFallbackAdapter: Boolean read _GetforceFallbackAdapter write _SetforceFallbackAdapter; end; TJSGPURequestAdapterOptions = class(TJSObject,IJSGPURequestAdapterOptions) Private Protected function _GetpowerPreference: TGPUPowerPreference; function _GetforceFallbackAdapter: Boolean; procedure _SetpowerPreference(const aValue: TGPUPowerPreference); procedure _SetforceFallbackAdapter(const aValue: Boolean); Public constructor create(const aDict : TJSGPURequestAdapterOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURequestAdapterOptions; property powerPreference: TGPUPowerPreference read _GetpowerPreference write _SetpowerPreference; property forceFallbackAdapter: Boolean read _GetforceFallbackAdapter write _SetforceFallbackAdapter; end; { -------------------------------------------------------------------- TJSGPUBindGroupLayoutEntry --------------------------------------------------------------------} TJSGPUBindGroupLayoutEntryRec = record binding: TGPUIndex32; visibility: TGPUShaderStageFlags; buffer: TJSGPUBufferBindingLayout; sampler: TJSGPUSamplerBindingLayout; texture: TJSGPUTextureBindingLayout; storageTexture: TJSGPUStorageTextureBindingLayout; end; IJSGPUBindGroupLayoutEntry = interface(IJSObject) ['{113A62EB-C619-3012-9856-B36C8DE9D998}'] function _Getbinding: TGPUIndex32; function _Getvisibility: TGPUShaderStageFlags; function _Getbuffer: IJSGPUBufferBindingLayout; function _Getsampler: IJSGPUSamplerBindingLayout; function _Gettexture: IJSGPUTextureBindingLayout; function _GetstorageTexture: IJSGPUStorageTextureBindingLayout; procedure _Setbinding(const aValue: TGPUIndex32); procedure _Setvisibility(const aValue: TGPUShaderStageFlags); procedure _Setbuffer(const aValue: IJSGPUBufferBindingLayout); procedure _Setsampler(const aValue: IJSGPUSamplerBindingLayout); procedure _Settexture(const aValue: IJSGPUTextureBindingLayout); procedure _SetstorageTexture(const aValue: IJSGPUStorageTextureBindingLayout); property binding: TGPUIndex32 read _Getbinding write _Setbinding; property visibility: TGPUShaderStageFlags read _Getvisibility write _Setvisibility; property buffer: IJSGPUBufferBindingLayout read _Getbuffer write _Setbuffer; property sampler: IJSGPUSamplerBindingLayout read _Getsampler write _Setsampler; property texture: IJSGPUTextureBindingLayout read _Gettexture write _Settexture; property storageTexture: IJSGPUStorageTextureBindingLayout read _GetstorageTexture write _SetstorageTexture; end; TJSGPUBindGroupLayoutEntry = class(TJSObject,IJSGPUBindGroupLayoutEntry) Private Protected function _Getbinding: TGPUIndex32; function _Getvisibility: TGPUShaderStageFlags; function _Getbuffer: IJSGPUBufferBindingLayout; function _Getsampler: IJSGPUSamplerBindingLayout; function _Gettexture: IJSGPUTextureBindingLayout; function _GetstorageTexture: IJSGPUStorageTextureBindingLayout; procedure _Setbinding(const aValue: TGPUIndex32); procedure _Setvisibility(const aValue: TGPUShaderStageFlags); procedure _Setbuffer(const aValue: IJSGPUBufferBindingLayout); procedure _Setsampler(const aValue: IJSGPUSamplerBindingLayout); procedure _Settexture(const aValue: IJSGPUTextureBindingLayout); procedure _SetstorageTexture(const aValue: IJSGPUStorageTextureBindingLayout); Public constructor create(const aDict : TJSGPUBindGroupLayoutEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroupLayoutEntry; property binding: TGPUIndex32 read _Getbinding write _Setbinding; property visibility: TGPUShaderStageFlags read _Getvisibility write _Setvisibility; property buffer: IJSGPUBufferBindingLayout read _Getbuffer write _Setbuffer; property sampler: IJSGPUSamplerBindingLayout read _Getsampler write _Setsampler; property texture: IJSGPUTextureBindingLayout read _Gettexture write _Settexture; property storageTexture: IJSGPUStorageTextureBindingLayout read _GetstorageTexture write _SetstorageTexture; end; { -------------------------------------------------------------------- TJSGPUBufferBindingLayout --------------------------------------------------------------------} TJSGPUBufferBindingLayoutRec = record type_: TGPUBufferBindingType; hasDynamicOffset: Boolean; minBindingSize: TGPUSize64; end; IJSGPUBufferBindingLayout = interface(IJSObject) ['{F9989F54-3E7D-389D-A02F-F165B3A39991}'] function _Gettype_: TGPUBufferBindingType; function _GethasDynamicOffset: Boolean; function _GetminBindingSize: TGPUSize64; procedure _Settype_(const aValue: TGPUBufferBindingType); procedure _SethasDynamicOffset(const aValue: Boolean); procedure _SetminBindingSize(const aValue: TGPUSize64); property type_: TGPUBufferBindingType read _Gettype_ write _Settype_; property hasDynamicOffset: Boolean read _GethasDynamicOffset write _SethasDynamicOffset; property minBindingSize: TGPUSize64 read _GetminBindingSize write _SetminBindingSize; end; TJSGPUBufferBindingLayout = class(TJSObject,IJSGPUBufferBindingLayout) Private Protected function _Gettype_: TGPUBufferBindingType; function _GethasDynamicOffset: Boolean; function _GetminBindingSize: TGPUSize64; procedure _Settype_(const aValue: TGPUBufferBindingType); procedure _SethasDynamicOffset(const aValue: Boolean); procedure _SetminBindingSize(const aValue: TGPUSize64); Public constructor create(const aDict : TJSGPUBufferBindingLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBufferBindingLayout; property type_: TGPUBufferBindingType read _Gettype_ write _Settype_; property hasDynamicOffset: Boolean read _GethasDynamicOffset write _SethasDynamicOffset; property minBindingSize: TGPUSize64 read _GetminBindingSize write _SetminBindingSize; end; { -------------------------------------------------------------------- TJSGPUSamplerBindingLayout --------------------------------------------------------------------} TJSGPUSamplerBindingLayoutRec = record type_: TGPUSamplerBindingType; end; IJSGPUSamplerBindingLayout = interface(IJSObject) ['{1956EA92-06D6-30A2-9EF2-9E773667E224}'] function _Gettype_: TGPUSamplerBindingType; procedure _Settype_(const aValue: TGPUSamplerBindingType); property type_: TGPUSamplerBindingType read _Gettype_ write _Settype_; end; TJSGPUSamplerBindingLayout = class(TJSObject,IJSGPUSamplerBindingLayout) Private Protected function _Gettype_: TGPUSamplerBindingType; procedure _Settype_(const aValue: TGPUSamplerBindingType); Public constructor create(const aDict : TJSGPUSamplerBindingLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUSamplerBindingLayout; property type_: TGPUSamplerBindingType read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSGPUTextureBindingLayout --------------------------------------------------------------------} TJSGPUTextureBindingLayoutRec = record sampleType: TGPUTextureSampleType; viewDimension: TGPUTextureViewDimension; multisampled: Boolean; end; IJSGPUTextureBindingLayout = interface(IJSObject) ['{CA6C9653-6498-3017-8F13-D4152F0181B9}'] function _GetsampleType: TGPUTextureSampleType; function _GetviewDimension: TGPUTextureViewDimension; function _Getmultisampled: Boolean; procedure _SetsampleType(const aValue: TGPUTextureSampleType); procedure _SetviewDimension(const aValue: TGPUTextureViewDimension); procedure _Setmultisampled(const aValue: Boolean); property sampleType: TGPUTextureSampleType read _GetsampleType write _SetsampleType; property viewDimension: TGPUTextureViewDimension read _GetviewDimension write _SetviewDimension; property multisampled: Boolean read _Getmultisampled write _Setmultisampled; end; TJSGPUTextureBindingLayout = class(TJSObject,IJSGPUTextureBindingLayout) Private Protected function _GetsampleType: TGPUTextureSampleType; function _GetviewDimension: TGPUTextureViewDimension; function _Getmultisampled: Boolean; procedure _SetsampleType(const aValue: TGPUTextureSampleType); procedure _SetviewDimension(const aValue: TGPUTextureViewDimension); procedure _Setmultisampled(const aValue: Boolean); Public constructor create(const aDict : TJSGPUTextureBindingLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTextureBindingLayout; property sampleType: TGPUTextureSampleType read _GetsampleType write _SetsampleType; property viewDimension: TGPUTextureViewDimension read _GetviewDimension write _SetviewDimension; property multisampled: Boolean read _Getmultisampled write _Setmultisampled; end; { -------------------------------------------------------------------- TJSGPUStorageTextureBindingLayout --------------------------------------------------------------------} TJSGPUStorageTextureBindingLayoutRec = record access: TGPUStorageTextureAccess; format: TGPUTextureFormat; viewDimension: TGPUTextureViewDimension; end; IJSGPUStorageTextureBindingLayout = interface(IJSObject) ['{2F3A3FB7-6B71-30BC-BB27-5C9F46E6E280}'] function _Getaccess: TGPUStorageTextureAccess; function _Getformat: TGPUTextureFormat; function _GetviewDimension: TGPUTextureViewDimension; procedure _Setaccess(const aValue: TGPUStorageTextureAccess); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _SetviewDimension(const aValue: TGPUTextureViewDimension); property access: TGPUStorageTextureAccess read _Getaccess write _Setaccess; property format: TGPUTextureFormat read _Getformat write _Setformat; property viewDimension: TGPUTextureViewDimension read _GetviewDimension write _SetviewDimension; end; TJSGPUStorageTextureBindingLayout = class(TJSObject,IJSGPUStorageTextureBindingLayout) Private Protected function _Getaccess: TGPUStorageTextureAccess; function _Getformat: TGPUTextureFormat; function _GetviewDimension: TGPUTextureViewDimension; procedure _Setaccess(const aValue: TGPUStorageTextureAccess); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _SetviewDimension(const aValue: TGPUTextureViewDimension); Public constructor create(const aDict : TJSGPUStorageTextureBindingLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUStorageTextureBindingLayout; property access: TGPUStorageTextureAccess read _Getaccess write _Setaccess; property format: TGPUTextureFormat read _Getformat write _Setformat; property viewDimension: TGPUTextureViewDimension read _GetviewDimension write _SetviewDimension; end; { -------------------------------------------------------------------- TJSGPUBindGroupEntry --------------------------------------------------------------------} TJSGPUBindGroupEntryRec = record binding: TGPUIndex32; resource: TGPUBindingResource; end; IJSGPUBindGroupEntry = interface(IJSObject) ['{B1513BB7-25C5-3C6C-877A-E2C13686A3AF}'] function _Getbinding: TGPUIndex32; function _Getresource: TGPUBindingResource; procedure _Setbinding(const aValue: TGPUIndex32); procedure _Setresource(const aValue: TGPUBindingResource); property binding: TGPUIndex32 read _Getbinding write _Setbinding; property resource: TGPUBindingResource read _Getresource write _Setresource; end; TJSGPUBindGroupEntry = class(TJSObject,IJSGPUBindGroupEntry) Private Protected function _Getbinding: TGPUIndex32; function _Getresource: TGPUBindingResource; procedure _Setbinding(const aValue: TGPUIndex32); procedure _Setresource(const aValue: TGPUBindingResource); Public constructor create(const aDict : TJSGPUBindGroupEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroupEntry; property binding: TGPUIndex32 read _Getbinding write _Setbinding; property resource: TGPUBindingResource read _Getresource write _Setresource; end; { -------------------------------------------------------------------- TJSGPUBufferBinding --------------------------------------------------------------------} TJSGPUBufferBindingRec = record buffer: TJSGPUBuffer; offset: TGPUSize64; size: TGPUSize64; end; IJSGPUBufferBinding = interface(IJSObject) ['{A76275CF-FC41-36F6-B4CE-FE41FE33D398}'] function _Getbuffer: IJSGPUBuffer; function _Getoffset: TGPUSize64; function _Getsize: TGPUSize64; procedure _Setbuffer(const aValue: IJSGPUBuffer); procedure _Setoffset(const aValue: TGPUSize64); procedure _Setsize(const aValue: TGPUSize64); property buffer: IJSGPUBuffer read _Getbuffer write _Setbuffer; property offset: TGPUSize64 read _Getoffset write _Setoffset; property size: TGPUSize64 read _Getsize write _Setsize; end; TJSGPUBufferBinding = class(TJSObject,IJSGPUBufferBinding) Private Protected function _Getbuffer: IJSGPUBuffer; function _Getoffset: TGPUSize64; function _Getsize: TGPUSize64; procedure _Setbuffer(const aValue: IJSGPUBuffer); procedure _Setoffset(const aValue: TGPUSize64); procedure _Setsize(const aValue: TGPUSize64); Public constructor create(const aDict : TJSGPUBufferBindingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBufferBinding; property buffer: IJSGPUBuffer read _Getbuffer write _Setbuffer; property offset: TGPUSize64 read _Getoffset write _Setoffset; property size: TGPUSize64 read _Getsize write _Setsize; end; { -------------------------------------------------------------------- TJSGPUProgrammableStage --------------------------------------------------------------------} TJSGPUProgrammableStageRec = record module: TJSGPUShaderModule; entryPoint: UnicodeString; end; IJSGPUProgrammableStage = interface(IJSObject) ['{8F128391-F125-3D04-97AC-CA5719D4045F}'] function _Getmodule: IJSGPUShaderModule; function _GetentryPoint: UnicodeString; procedure _Setmodule(const aValue: IJSGPUShaderModule); procedure _SetentryPoint(const aValue: UnicodeString); property module: IJSGPUShaderModule read _Getmodule write _Setmodule; property entryPoint: UnicodeString read _GetentryPoint write _SetentryPoint; end; TJSGPUProgrammableStage = class(TJSObject,IJSGPUProgrammableStage) Private Protected function _Getmodule: IJSGPUShaderModule; function _GetentryPoint: UnicodeString; procedure _Setmodule(const aValue: IJSGPUShaderModule); procedure _SetentryPoint(const aValue: UnicodeString); Public constructor create(const aDict : TJSGPUProgrammableStageRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUProgrammableStage; property module: IJSGPUShaderModule read _Getmodule write _Setmodule; property entryPoint: UnicodeString read _GetentryPoint write _SetentryPoint; end; { -------------------------------------------------------------------- TJSGPUPrimitiveState --------------------------------------------------------------------} TJSGPUPrimitiveStateRec = record topology: TGPUPrimitiveTopology; stripIndexFormat: TGPUIndexFormat; frontFace: TGPUFrontFace; cullMode: TGPUCullMode; unclippedDepth: Boolean; end; IJSGPUPrimitiveState = interface(IJSObject) ['{454DD79C-680A-3028-AE24-11C6B856E228}'] function _Gettopology: TGPUPrimitiveTopology; function _GetstripIndexFormat: TGPUIndexFormat; function _GetfrontFace: TGPUFrontFace; function _GetcullMode: TGPUCullMode; function _GetunclippedDepth: Boolean; procedure _Settopology(const aValue: TGPUPrimitiveTopology); procedure _SetstripIndexFormat(const aValue: TGPUIndexFormat); procedure _SetfrontFace(const aValue: TGPUFrontFace); procedure _SetcullMode(const aValue: TGPUCullMode); procedure _SetunclippedDepth(const aValue: Boolean); property topology: TGPUPrimitiveTopology read _Gettopology write _Settopology; property stripIndexFormat: TGPUIndexFormat read _GetstripIndexFormat write _SetstripIndexFormat; property frontFace: TGPUFrontFace read _GetfrontFace write _SetfrontFace; property cullMode: TGPUCullMode read _GetcullMode write _SetcullMode; property unclippedDepth: Boolean read _GetunclippedDepth write _SetunclippedDepth; end; TJSGPUPrimitiveState = class(TJSObject,IJSGPUPrimitiveState) Private Protected function _Gettopology: TGPUPrimitiveTopology; function _GetstripIndexFormat: TGPUIndexFormat; function _GetfrontFace: TGPUFrontFace; function _GetcullMode: TGPUCullMode; function _GetunclippedDepth: Boolean; procedure _Settopology(const aValue: TGPUPrimitiveTopology); procedure _SetstripIndexFormat(const aValue: TGPUIndexFormat); procedure _SetfrontFace(const aValue: TGPUFrontFace); procedure _SetcullMode(const aValue: TGPUCullMode); procedure _SetunclippedDepth(const aValue: Boolean); Public constructor create(const aDict : TJSGPUPrimitiveStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUPrimitiveState; property topology: TGPUPrimitiveTopology read _Gettopology write _Settopology; property stripIndexFormat: TGPUIndexFormat read _GetstripIndexFormat write _SetstripIndexFormat; property frontFace: TGPUFrontFace read _GetfrontFace write _SetfrontFace; property cullMode: TGPUCullMode read _GetcullMode write _SetcullMode; property unclippedDepth: Boolean read _GetunclippedDepth write _SetunclippedDepth; end; { -------------------------------------------------------------------- TJSGPUMultisampleState --------------------------------------------------------------------} TJSGPUMultisampleStateRec = record count: TGPUSize32; mask: TGPUSampleMask; alphaToCoverageEnabled: Boolean; end; IJSGPUMultisampleState = interface(IJSObject) ['{C92DBC47-7056-3BC4-A533-CBBE4F3D24E7}'] function _Getcount: TGPUSize32; function _Getmask: TGPUSampleMask; function _GetalphaToCoverageEnabled: Boolean; procedure _Setcount(const aValue: TGPUSize32); procedure _Setmask(const aValue: TGPUSampleMask); procedure _SetalphaToCoverageEnabled(const aValue: Boolean); property count: TGPUSize32 read _Getcount write _Setcount; property mask: TGPUSampleMask read _Getmask write _Setmask; property alphaToCoverageEnabled: Boolean read _GetalphaToCoverageEnabled write _SetalphaToCoverageEnabled; end; TJSGPUMultisampleState = class(TJSObject,IJSGPUMultisampleState) Private Protected function _Getcount: TGPUSize32; function _Getmask: TGPUSampleMask; function _GetalphaToCoverageEnabled: Boolean; procedure _Setcount(const aValue: TGPUSize32); procedure _Setmask(const aValue: TGPUSampleMask); procedure _SetalphaToCoverageEnabled(const aValue: Boolean); Public constructor create(const aDict : TJSGPUMultisampleStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUMultisampleState; property count: TGPUSize32 read _Getcount write _Setcount; property mask: TGPUSampleMask read _Getmask write _Setmask; property alphaToCoverageEnabled: Boolean read _GetalphaToCoverageEnabled write _SetalphaToCoverageEnabled; end; { -------------------------------------------------------------------- TJSGPUColorTargetState --------------------------------------------------------------------} TJSGPUColorTargetStateRec = record format: TGPUTextureFormat; blend: TJSGPUBlendState; writeMask: TGPUColorWriteFlags; end; IJSGPUColorTargetState = interface(IJSObject) ['{D3433FFD-2A0B-335A-91B7-2682807AB63C}'] function _Getformat: TGPUTextureFormat; function _Getblend: IJSGPUBlendState; function _GetwriteMask: TGPUColorWriteFlags; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setblend(const aValue: IJSGPUBlendState); procedure _SetwriteMask(const aValue: TGPUColorWriteFlags); property format: TGPUTextureFormat read _Getformat write _Setformat; property blend: IJSGPUBlendState read _Getblend write _Setblend; property writeMask: TGPUColorWriteFlags read _GetwriteMask write _SetwriteMask; end; TJSGPUColorTargetState = class(TJSObject,IJSGPUColorTargetState) Private Protected function _Getformat: TGPUTextureFormat; function _Getblend: IJSGPUBlendState; function _GetwriteMask: TGPUColorWriteFlags; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setblend(const aValue: IJSGPUBlendState); procedure _SetwriteMask(const aValue: TGPUColorWriteFlags); Public constructor create(const aDict : TJSGPUColorTargetStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUColorTargetState; property format: TGPUTextureFormat read _Getformat write _Setformat; property blend: IJSGPUBlendState read _Getblend write _Setblend; property writeMask: TGPUColorWriteFlags read _GetwriteMask write _SetwriteMask; end; { -------------------------------------------------------------------- TJSGPUBlendState --------------------------------------------------------------------} TJSGPUBlendStateRec = record color: TJSGPUBlendComponent; alpha: TJSGPUBlendComponent; end; IJSGPUBlendState = interface(IJSObject) ['{868EC5EF-3C9D-3EBF-9E5D-2EBA51BFA52D}'] function _Getcolor: IJSGPUBlendComponent; function _Getalpha: IJSGPUBlendComponent; procedure _Setcolor(const aValue: IJSGPUBlendComponent); procedure _Setalpha(const aValue: IJSGPUBlendComponent); property color: IJSGPUBlendComponent read _Getcolor write _Setcolor; property alpha: IJSGPUBlendComponent read _Getalpha write _Setalpha; end; TJSGPUBlendState = class(TJSObject,IJSGPUBlendState) Private Protected function _Getcolor: IJSGPUBlendComponent; function _Getalpha: IJSGPUBlendComponent; procedure _Setcolor(const aValue: IJSGPUBlendComponent); procedure _Setalpha(const aValue: IJSGPUBlendComponent); Public constructor create(const aDict : TJSGPUBlendStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBlendState; property color: IJSGPUBlendComponent read _Getcolor write _Setcolor; property alpha: IJSGPUBlendComponent read _Getalpha write _Setalpha; end; { -------------------------------------------------------------------- TJSGPUBlendComponent --------------------------------------------------------------------} TJSGPUBlendComponentRec = record operation: TGPUBlendOperation; srcFactor: TGPUBlendFactor; dstFactor: TGPUBlendFactor; end; IJSGPUBlendComponent = interface(IJSObject) ['{A2CA17BB-2866-35CA-A44F-308AC361319A}'] function _Getoperation: TGPUBlendOperation; function _GetsrcFactor: TGPUBlendFactor; function _GetdstFactor: TGPUBlendFactor; procedure _Setoperation(const aValue: TGPUBlendOperation); procedure _SetsrcFactor(const aValue: TGPUBlendFactor); procedure _SetdstFactor(const aValue: TGPUBlendFactor); property operation: TGPUBlendOperation read _Getoperation write _Setoperation; property srcFactor: TGPUBlendFactor read _GetsrcFactor write _SetsrcFactor; property dstFactor: TGPUBlendFactor read _GetdstFactor write _SetdstFactor; end; TJSGPUBlendComponent = class(TJSObject,IJSGPUBlendComponent) Private Protected function _Getoperation: TGPUBlendOperation; function _GetsrcFactor: TGPUBlendFactor; function _GetdstFactor: TGPUBlendFactor; procedure _Setoperation(const aValue: TGPUBlendOperation); procedure _SetsrcFactor(const aValue: TGPUBlendFactor); procedure _SetdstFactor(const aValue: TGPUBlendFactor); Public constructor create(const aDict : TJSGPUBlendComponentRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBlendComponent; property operation: TGPUBlendOperation read _Getoperation write _Setoperation; property srcFactor: TGPUBlendFactor read _GetsrcFactor write _SetsrcFactor; property dstFactor: TGPUBlendFactor read _GetdstFactor write _SetdstFactor; end; { -------------------------------------------------------------------- TJSGPUDepthStencilState --------------------------------------------------------------------} TJSGPUDepthStencilStateRec = record format: TGPUTextureFormat; depthWriteEnabled: Boolean; depthCompare: TGPUCompareFunction; stencilFront: TJSGPUStencilFaceState; stencilBack: TJSGPUStencilFaceState; stencilReadMask: TGPUStencilValue; stencilWriteMask: TGPUStencilValue; depthBias: TGPUDepthBias; depthBiasSlopeScale: Single; depthBiasClamp: Single; end; IJSGPUDepthStencilState = interface(IJSObject) ['{1A3F59CB-2B85-300F-BF39-8A4EAD4820FA}'] function _Getformat: TGPUTextureFormat; function _GetdepthWriteEnabled: Boolean; function _GetdepthCompare: TGPUCompareFunction; function _GetstencilFront: IJSGPUStencilFaceState; function _GetstencilBack: IJSGPUStencilFaceState; function _GetstencilReadMask: TGPUStencilValue; function _GetstencilWriteMask: TGPUStencilValue; function _GetdepthBias: TGPUDepthBias; function _GetdepthBiasSlopeScale: Single; function _GetdepthBiasClamp: Single; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _SetdepthWriteEnabled(const aValue: Boolean); procedure _SetdepthCompare(const aValue: TGPUCompareFunction); procedure _SetstencilFront(const aValue: IJSGPUStencilFaceState); procedure _SetstencilBack(const aValue: IJSGPUStencilFaceState); procedure _SetstencilReadMask(const aValue: TGPUStencilValue); procedure _SetstencilWriteMask(const aValue: TGPUStencilValue); procedure _SetdepthBias(const aValue: TGPUDepthBias); procedure _SetdepthBiasSlopeScale(const aValue: Single); procedure _SetdepthBiasClamp(const aValue: Single); property format: TGPUTextureFormat read _Getformat write _Setformat; property depthWriteEnabled: Boolean read _GetdepthWriteEnabled write _SetdepthWriteEnabled; property depthCompare: TGPUCompareFunction read _GetdepthCompare write _SetdepthCompare; property stencilFront: IJSGPUStencilFaceState read _GetstencilFront write _SetstencilFront; property stencilBack: IJSGPUStencilFaceState read _GetstencilBack write _SetstencilBack; property stencilReadMask: TGPUStencilValue read _GetstencilReadMask write _SetstencilReadMask; property stencilWriteMask: TGPUStencilValue read _GetstencilWriteMask write _SetstencilWriteMask; property depthBias: TGPUDepthBias read _GetdepthBias write _SetdepthBias; property depthBiasSlopeScale: Single read _GetdepthBiasSlopeScale write _SetdepthBiasSlopeScale; property depthBiasClamp: Single read _GetdepthBiasClamp write _SetdepthBiasClamp; end; TJSGPUDepthStencilState = class(TJSObject,IJSGPUDepthStencilState) Private Protected function _Getformat: TGPUTextureFormat; function _GetdepthWriteEnabled: Boolean; function _GetdepthCompare: TGPUCompareFunction; function _GetstencilFront: IJSGPUStencilFaceState; function _GetstencilBack: IJSGPUStencilFaceState; function _GetstencilReadMask: TGPUStencilValue; function _GetstencilWriteMask: TGPUStencilValue; function _GetdepthBias: TGPUDepthBias; function _GetdepthBiasSlopeScale: Single; function _GetdepthBiasClamp: Single; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _SetdepthWriteEnabled(const aValue: Boolean); procedure _SetdepthCompare(const aValue: TGPUCompareFunction); procedure _SetstencilFront(const aValue: IJSGPUStencilFaceState); procedure _SetstencilBack(const aValue: IJSGPUStencilFaceState); procedure _SetstencilReadMask(const aValue: TGPUStencilValue); procedure _SetstencilWriteMask(const aValue: TGPUStencilValue); procedure _SetdepthBias(const aValue: TGPUDepthBias); procedure _SetdepthBiasSlopeScale(const aValue: Single); procedure _SetdepthBiasClamp(const aValue: Single); Public constructor create(const aDict : TJSGPUDepthStencilStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUDepthStencilState; property format: TGPUTextureFormat read _Getformat write _Setformat; property depthWriteEnabled: Boolean read _GetdepthWriteEnabled write _SetdepthWriteEnabled; property depthCompare: TGPUCompareFunction read _GetdepthCompare write _SetdepthCompare; property stencilFront: IJSGPUStencilFaceState read _GetstencilFront write _SetstencilFront; property stencilBack: IJSGPUStencilFaceState read _GetstencilBack write _SetstencilBack; property stencilReadMask: TGPUStencilValue read _GetstencilReadMask write _SetstencilReadMask; property stencilWriteMask: TGPUStencilValue read _GetstencilWriteMask write _SetstencilWriteMask; property depthBias: TGPUDepthBias read _GetdepthBias write _SetdepthBias; property depthBiasSlopeScale: Single read _GetdepthBiasSlopeScale write _SetdepthBiasSlopeScale; property depthBiasClamp: Single read _GetdepthBiasClamp write _SetdepthBiasClamp; end; { -------------------------------------------------------------------- TJSGPUStencilFaceState --------------------------------------------------------------------} TJSGPUStencilFaceStateRec = record compare: TGPUCompareFunction; failOp: TGPUStencilOperation; depthFailOp: TGPUStencilOperation; passOp: TGPUStencilOperation; end; IJSGPUStencilFaceState = interface(IJSObject) ['{1C87D1C3-F47A-32A8-BA4A-D9344F06B68A}'] function _Getcompare: TGPUCompareFunction; function _GetfailOp: TGPUStencilOperation; function _GetdepthFailOp: TGPUStencilOperation; function _GetpassOp: TGPUStencilOperation; procedure _Setcompare(const aValue: TGPUCompareFunction); procedure _SetfailOp(const aValue: TGPUStencilOperation); procedure _SetdepthFailOp(const aValue: TGPUStencilOperation); procedure _SetpassOp(const aValue: TGPUStencilOperation); property compare: TGPUCompareFunction read _Getcompare write _Setcompare; property failOp: TGPUStencilOperation read _GetfailOp write _SetfailOp; property depthFailOp: TGPUStencilOperation read _GetdepthFailOp write _SetdepthFailOp; property passOp: TGPUStencilOperation read _GetpassOp write _SetpassOp; end; TJSGPUStencilFaceState = class(TJSObject,IJSGPUStencilFaceState) Private Protected function _Getcompare: TGPUCompareFunction; function _GetfailOp: TGPUStencilOperation; function _GetdepthFailOp: TGPUStencilOperation; function _GetpassOp: TGPUStencilOperation; procedure _Setcompare(const aValue: TGPUCompareFunction); procedure _SetfailOp(const aValue: TGPUStencilOperation); procedure _SetdepthFailOp(const aValue: TGPUStencilOperation); procedure _SetpassOp(const aValue: TGPUStencilOperation); Public constructor create(const aDict : TJSGPUStencilFaceStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUStencilFaceState; property compare: TGPUCompareFunction read _Getcompare write _Setcompare; property failOp: TGPUStencilOperation read _GetfailOp write _SetfailOp; property depthFailOp: TGPUStencilOperation read _GetdepthFailOp write _SetdepthFailOp; property passOp: TGPUStencilOperation read _GetpassOp write _SetpassOp; end; { -------------------------------------------------------------------- TJSGPUVertexBufferLayout --------------------------------------------------------------------} TJSGPUVertexAttributeDynArray = IJSArray; // array of GPUVertexAttribute TJSGPUVertexBufferLayoutRec = record arrayStride: TGPUSize64; stepMode: TGPUVertexStepMode; attributes: TJSGPUVertexAttributeDynArray; end; IJSGPUVertexBufferLayout = interface(IJSObject) ['{7944481A-7C20-38C3-9DC1-28422D4B5D61}'] function _GetarrayStride: TGPUSize64; function _GetstepMode: TGPUVertexStepMode; function _Getattributes: TJSGPUVertexAttributeDynArray; procedure _SetarrayStride(const aValue: TGPUSize64); procedure _SetstepMode(const aValue: TGPUVertexStepMode); procedure _Setattributes(const aValue: TJSGPUVertexAttributeDynArray); property arrayStride: TGPUSize64 read _GetarrayStride write _SetarrayStride; property stepMode: TGPUVertexStepMode read _GetstepMode write _SetstepMode; property attributes: TJSGPUVertexAttributeDynArray read _Getattributes write _Setattributes; end; TJSGPUVertexBufferLayout = class(TJSObject,IJSGPUVertexBufferLayout) Private Protected function _GetarrayStride: TGPUSize64; function _GetstepMode: TGPUVertexStepMode; function _Getattributes: TJSGPUVertexAttributeDynArray; procedure _SetarrayStride(const aValue: TGPUSize64); procedure _SetstepMode(const aValue: TGPUVertexStepMode); procedure _Setattributes(const aValue: TJSGPUVertexAttributeDynArray); Public constructor create(const aDict : TJSGPUVertexBufferLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUVertexBufferLayout; property arrayStride: TGPUSize64 read _GetarrayStride write _SetarrayStride; property stepMode: TGPUVertexStepMode read _GetstepMode write _SetstepMode; property attributes: TJSGPUVertexAttributeDynArray read _Getattributes write _Setattributes; end; { -------------------------------------------------------------------- TJSGPUVertexAttribute --------------------------------------------------------------------} TJSGPUVertexAttributeRec = record format: TGPUVertexFormat; offset: TGPUSize64; shaderLocation: TGPUIndex32; end; IJSGPUVertexAttribute = interface(IJSObject) ['{1E7B6292-823E-37EC-8C51-2C2917C9EB6D}'] function _Getformat: TGPUVertexFormat; function _Getoffset: TGPUSize64; function _GetshaderLocation: TGPUIndex32; procedure _Setformat(const aValue: TGPUVertexFormat); procedure _Setoffset(const aValue: TGPUSize64); procedure _SetshaderLocation(const aValue: TGPUIndex32); property format: TGPUVertexFormat read _Getformat write _Setformat; property offset: TGPUSize64 read _Getoffset write _Setoffset; property shaderLocation: TGPUIndex32 read _GetshaderLocation write _SetshaderLocation; end; TJSGPUVertexAttribute = class(TJSObject,IJSGPUVertexAttribute) Private Protected function _Getformat: TGPUVertexFormat; function _Getoffset: TGPUSize64; function _GetshaderLocation: TGPUIndex32; procedure _Setformat(const aValue: TGPUVertexFormat); procedure _Setoffset(const aValue: TGPUSize64); procedure _SetshaderLocation(const aValue: TGPUIndex32); Public constructor create(const aDict : TJSGPUVertexAttributeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUVertexAttribute; property format: TGPUVertexFormat read _Getformat write _Setformat; property offset: TGPUSize64 read _Getoffset write _Setoffset; property shaderLocation: TGPUIndex32 read _GetshaderLocation write _SetshaderLocation; end; { -------------------------------------------------------------------- TJSGPUImageDataLayout --------------------------------------------------------------------} TJSGPUImageDataLayoutRec = record offset: TGPUSize64; bytesPerRow: TGPUSize32; rowsPerImage: TGPUSize32; end; IJSGPUImageDataLayout = interface(IJSObject) ['{7B05EBA3-A44B-3F4C-8312-7A9758A38131}'] function _Getoffset: TGPUSize64; function _GetbytesPerRow: TGPUSize32; function _GetrowsPerImage: TGPUSize32; procedure _Setoffset(const aValue: TGPUSize64); procedure _SetbytesPerRow(const aValue: TGPUSize32); procedure _SetrowsPerImage(const aValue: TGPUSize32); property offset: TGPUSize64 read _Getoffset write _Setoffset; property bytesPerRow: TGPUSize32 read _GetbytesPerRow write _SetbytesPerRow; property rowsPerImage: TGPUSize32 read _GetrowsPerImage write _SetrowsPerImage; end; TJSGPUImageDataLayout = class(TJSObject,IJSGPUImageDataLayout) Private Protected function _Getoffset: TGPUSize64; function _GetbytesPerRow: TGPUSize32; function _GetrowsPerImage: TGPUSize32; procedure _Setoffset(const aValue: TGPUSize64); procedure _SetbytesPerRow(const aValue: TGPUSize32); procedure _SetrowsPerImage(const aValue: TGPUSize32); Public constructor create(const aDict : TJSGPUImageDataLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUImageDataLayout; property offset: TGPUSize64 read _Getoffset write _Setoffset; property bytesPerRow: TGPUSize32 read _GetbytesPerRow write _SetbytesPerRow; property rowsPerImage: TGPUSize32 read _GetrowsPerImage write _SetrowsPerImage; end; { -------------------------------------------------------------------- TJSGPUImageCopyTexture --------------------------------------------------------------------} TJSGPUImageCopyTextureRec = record texture: TJSGPUTexture; mipLevel: TGPUIntegerCoordinate; origin: TGPUOrigin3D; aspect: TGPUTextureAspect; end; IJSGPUImageCopyTexture = interface(IJSObject) ['{675BF611-9048-39AC-BCF1-1B03A456E33D}'] function _Gettexture: IJSGPUTexture; function _GetmipLevel: TGPUIntegerCoordinate; function _Getorigin: TGPUOrigin3D; function _Getaspect: TGPUTextureAspect; procedure _Settexture(const aValue: IJSGPUTexture); procedure _SetmipLevel(const aValue: TGPUIntegerCoordinate); procedure _Setorigin(const aValue: TGPUOrigin3D); procedure _Setaspect(const aValue: TGPUTextureAspect); property texture: IJSGPUTexture read _Gettexture write _Settexture; property mipLevel: TGPUIntegerCoordinate read _GetmipLevel write _SetmipLevel; property origin: TGPUOrigin3D read _Getorigin write _Setorigin; property aspect: TGPUTextureAspect read _Getaspect write _Setaspect; end; TJSGPUImageCopyTexture = class(TJSObject,IJSGPUImageCopyTexture) Private Protected function _Gettexture: IJSGPUTexture; function _GetmipLevel: TGPUIntegerCoordinate; function _Getorigin: TGPUOrigin3D; function _Getaspect: TGPUTextureAspect; procedure _Settexture(const aValue: IJSGPUTexture); procedure _SetmipLevel(const aValue: TGPUIntegerCoordinate); procedure _Setorigin(const aValue: TGPUOrigin3D); procedure _Setaspect(const aValue: TGPUTextureAspect); Public constructor create(const aDict : TJSGPUImageCopyTextureRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUImageCopyTexture; property texture: IJSGPUTexture read _Gettexture write _Settexture; property mipLevel: TGPUIntegerCoordinate read _GetmipLevel write _SetmipLevel; property origin: TGPUOrigin3D read _Getorigin write _Setorigin; property aspect: TGPUTextureAspect read _Getaspect write _Setaspect; end; { -------------------------------------------------------------------- TJSGPUImageCopyExternalImage --------------------------------------------------------------------} // Union of ImageBitmap, HTMLCanvasElement, OffscreenCanvas TGPUImageCopyExternalImage_source_Type = Variant; TJSGPUImageCopyExternalImageRec = record source: TGPUImageCopyExternalImage_source_Type; origin: TGPUOrigin2D; flipY: Boolean; end; IJSGPUImageCopyExternalImage = interface(IJSObject) ['{4430795C-B91B-3240-8FA5-E17C3136FED5}'] function _Getsource: TGPUImageCopyExternalImage_source_Type; function _Getorigin: TGPUOrigin2D; function _GetflipY: Boolean; procedure _Setsource(const aValue: TGPUImageCopyExternalImage_source_Type); procedure _Setorigin(const aValue: TGPUOrigin2D); procedure _SetflipY(const aValue: Boolean); property source: TGPUImageCopyExternalImage_source_Type read _Getsource write _Setsource; property origin: TGPUOrigin2D read _Getorigin write _Setorigin; property flipY: Boolean read _GetflipY write _SetflipY; end; TJSGPUImageCopyExternalImage = class(TJSObject,IJSGPUImageCopyExternalImage) Private Protected function _Getsource: TGPUImageCopyExternalImage_source_Type; function _Getorigin: TGPUOrigin2D; function _GetflipY: Boolean; procedure _Setsource(const aValue: TGPUImageCopyExternalImage_source_Type); procedure _Setorigin(const aValue: TGPUOrigin2D); procedure _SetflipY(const aValue: Boolean); Public constructor create(const aDict : TJSGPUImageCopyExternalImageRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUImageCopyExternalImage; property source: TGPUImageCopyExternalImage_source_Type read _Getsource write _Setsource; property origin: TGPUOrigin2D read _Getorigin write _Setorigin; property flipY: Boolean read _GetflipY write _SetflipY; end; { -------------------------------------------------------------------- TJSGPURenderPassColorAttachment --------------------------------------------------------------------} TJSGPURenderPassColorAttachmentRec = record view: TJSGPUTextureView; resolveTarget: TJSGPUTextureView; clearValue: TGPUColor; loadOp: TGPULoadOp; storeOp: TGPUStoreOp; end; IJSGPURenderPassColorAttachment = interface(IJSObject) ['{A4CDC7FA-B9CD-3C2B-9FE5-817F745D78FB}'] function _Getview: IJSGPUTextureView; function _GetresolveTarget: IJSGPUTextureView; function _GetclearValue: TGPUColor; function _GetloadOp: TGPULoadOp; function _GetstoreOp: TGPUStoreOp; procedure _Setview(const aValue: IJSGPUTextureView); procedure _SetresolveTarget(const aValue: IJSGPUTextureView); procedure _SetclearValue(const aValue: TGPUColor); procedure _SetloadOp(const aValue: TGPULoadOp); procedure _SetstoreOp(const aValue: TGPUStoreOp); property view: IJSGPUTextureView read _Getview write _Setview; property resolveTarget: IJSGPUTextureView read _GetresolveTarget write _SetresolveTarget; property clearValue: TGPUColor read _GetclearValue write _SetclearValue; property loadOp: TGPULoadOp read _GetloadOp write _SetloadOp; property storeOp: TGPUStoreOp read _GetstoreOp write _SetstoreOp; end; TJSGPURenderPassColorAttachment = class(TJSObject,IJSGPURenderPassColorAttachment) Private Protected function _Getview: IJSGPUTextureView; function _GetresolveTarget: IJSGPUTextureView; function _GetclearValue: TGPUColor; function _GetloadOp: TGPULoadOp; function _GetstoreOp: TGPUStoreOp; procedure _Setview(const aValue: IJSGPUTextureView); procedure _SetresolveTarget(const aValue: IJSGPUTextureView); procedure _SetclearValue(const aValue: TGPUColor); procedure _SetloadOp(const aValue: TGPULoadOp); procedure _SetstoreOp(const aValue: TGPUStoreOp); Public constructor create(const aDict : TJSGPURenderPassColorAttachmentRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPassColorAttachment; property view: IJSGPUTextureView read _Getview write _Setview; property resolveTarget: IJSGPUTextureView read _GetresolveTarget write _SetresolveTarget; property clearValue: TGPUColor read _GetclearValue write _SetclearValue; property loadOp: TGPULoadOp read _GetloadOp write _SetloadOp; property storeOp: TGPUStoreOp read _GetstoreOp write _SetstoreOp; end; { -------------------------------------------------------------------- TJSGPURenderPassDepthStencilAttachment --------------------------------------------------------------------} TJSGPURenderPassDepthStencilAttachmentRec = record view: TJSGPUTextureView; depthClearValue: Single; depthLoadOp: TGPULoadOp; depthStoreOp: TGPUStoreOp; depthReadOnly: Boolean; stencilClearValue: TGPUStencilValue; stencilLoadOp: TGPULoadOp; stencilStoreOp: TGPUStoreOp; stencilReadOnly: Boolean; end; IJSGPURenderPassDepthStencilAttachment = interface(IJSObject) ['{419C6D6B-33B2-3434-9F1C-FDD4429C5B6D}'] function _Getview: IJSGPUTextureView; function _GetdepthClearValue: Single; function _GetdepthLoadOp: TGPULoadOp; function _GetdepthStoreOp: TGPUStoreOp; function _GetdepthReadOnly: Boolean; function _GetstencilClearValue: TGPUStencilValue; function _GetstencilLoadOp: TGPULoadOp; function _GetstencilStoreOp: TGPUStoreOp; function _GetstencilReadOnly: Boolean; procedure _Setview(const aValue: IJSGPUTextureView); procedure _SetdepthClearValue(const aValue: Single); procedure _SetdepthLoadOp(const aValue: TGPULoadOp); procedure _SetdepthStoreOp(const aValue: TGPUStoreOp); procedure _SetdepthReadOnly(const aValue: Boolean); procedure _SetstencilClearValue(const aValue: TGPUStencilValue); procedure _SetstencilLoadOp(const aValue: TGPULoadOp); procedure _SetstencilStoreOp(const aValue: TGPUStoreOp); procedure _SetstencilReadOnly(const aValue: Boolean); property view: IJSGPUTextureView read _Getview write _Setview; property depthClearValue: Single read _GetdepthClearValue write _SetdepthClearValue; property depthLoadOp: TGPULoadOp read _GetdepthLoadOp write _SetdepthLoadOp; property depthStoreOp: TGPUStoreOp read _GetdepthStoreOp write _SetdepthStoreOp; property depthReadOnly: Boolean read _GetdepthReadOnly write _SetdepthReadOnly; property stencilClearValue: TGPUStencilValue read _GetstencilClearValue write _SetstencilClearValue; property stencilLoadOp: TGPULoadOp read _GetstencilLoadOp write _SetstencilLoadOp; property stencilStoreOp: TGPUStoreOp read _GetstencilStoreOp write _SetstencilStoreOp; property stencilReadOnly: Boolean read _GetstencilReadOnly write _SetstencilReadOnly; end; TJSGPURenderPassDepthStencilAttachment = class(TJSObject,IJSGPURenderPassDepthStencilAttachment) Private Protected function _Getview: IJSGPUTextureView; function _GetdepthClearValue: Single; function _GetdepthLoadOp: TGPULoadOp; function _GetdepthStoreOp: TGPUStoreOp; function _GetdepthReadOnly: Boolean; function _GetstencilClearValue: TGPUStencilValue; function _GetstencilLoadOp: TGPULoadOp; function _GetstencilStoreOp: TGPUStoreOp; function _GetstencilReadOnly: Boolean; procedure _Setview(const aValue: IJSGPUTextureView); procedure _SetdepthClearValue(const aValue: Single); procedure _SetdepthLoadOp(const aValue: TGPULoadOp); procedure _SetdepthStoreOp(const aValue: TGPUStoreOp); procedure _SetdepthReadOnly(const aValue: Boolean); procedure _SetstencilClearValue(const aValue: TGPUStencilValue); procedure _SetstencilLoadOp(const aValue: TGPULoadOp); procedure _SetstencilStoreOp(const aValue: TGPUStoreOp); procedure _SetstencilReadOnly(const aValue: Boolean); Public constructor create(const aDict : TJSGPURenderPassDepthStencilAttachmentRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPassDepthStencilAttachment; property view: IJSGPUTextureView read _Getview write _Setview; property depthClearValue: Single read _GetdepthClearValue write _SetdepthClearValue; property depthLoadOp: TGPULoadOp read _GetdepthLoadOp write _SetdepthLoadOp; property depthStoreOp: TGPUStoreOp read _GetdepthStoreOp write _SetdepthStoreOp; property depthReadOnly: Boolean read _GetdepthReadOnly write _SetdepthReadOnly; property stencilClearValue: TGPUStencilValue read _GetstencilClearValue write _SetstencilClearValue; property stencilLoadOp: TGPULoadOp read _GetstencilLoadOp write _SetstencilLoadOp; property stencilStoreOp: TGPUStoreOp read _GetstencilStoreOp write _SetstencilStoreOp; property stencilReadOnly: Boolean read _GetstencilReadOnly write _SetstencilReadOnly; end; { -------------------------------------------------------------------- TJSGPUCanvasConfiguration --------------------------------------------------------------------} TGPUTextureFormatDynArray = IJSArray; // array of GPUTextureFormat TJSGPUCanvasConfigurationRec = record device: TJSGPUDevice; format: TGPUTextureFormat; usage: TGPUTextureUsageFlags; viewFormats: TGPUTextureFormatDynArray; alphaMode: TGPUCanvasAlphaMode; end; IJSGPUCanvasConfiguration = interface(IJSObject) ['{F6D716E3-CB91-3BC8-8B71-84D96BB1EBA2}'] function _Getdevice: IJSGPUDevice; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUTextureUsageFlags; function _GetviewFormats: TGPUTextureFormatDynArray; function _GetalphaMode: TGPUCanvasAlphaMode; procedure _Setdevice(const aValue: IJSGPUDevice); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setusage(const aValue: TGPUTextureUsageFlags); procedure _SetviewFormats(const aValue: TGPUTextureFormatDynArray); procedure _SetalphaMode(const aValue: TGPUCanvasAlphaMode); property device: IJSGPUDevice read _Getdevice write _Setdevice; property format: TGPUTextureFormat read _Getformat write _Setformat; property usage: TGPUTextureUsageFlags read _Getusage write _Setusage; property viewFormats: TGPUTextureFormatDynArray read _GetviewFormats write _SetviewFormats; property alphaMode: TGPUCanvasAlphaMode read _GetalphaMode write _SetalphaMode; end; TJSGPUCanvasConfiguration = class(TJSObject,IJSGPUCanvasConfiguration) Private Protected function _Getdevice: IJSGPUDevice; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUTextureUsageFlags; function _GetviewFormats: TGPUTextureFormatDynArray; function _GetalphaMode: TGPUCanvasAlphaMode; procedure _Setdevice(const aValue: IJSGPUDevice); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setusage(const aValue: TGPUTextureUsageFlags); procedure _SetviewFormats(const aValue: TGPUTextureFormatDynArray); procedure _SetalphaMode(const aValue: TGPUCanvasAlphaMode); Public constructor create(const aDict : TJSGPUCanvasConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCanvasConfiguration; property device: IJSGPUDevice read _Getdevice write _Setdevice; property format: TGPUTextureFormat read _Getformat write _Setformat; property usage: TGPUTextureUsageFlags read _Getusage write _Setusage; property viewFormats: TGPUTextureFormatDynArray read _GetviewFormats write _SetviewFormats; property alphaMode: TGPUCanvasAlphaMode read _GetalphaMode write _SetalphaMode; end; { -------------------------------------------------------------------- TJSGPUColorDict --------------------------------------------------------------------} TJSGPUColorDictRec = record r: Double; g: Double; b: Double; a: Double; end; IJSGPUColorDict = interface(IJSObject) ['{E6CF4A0B-F9CB-321D-86B3-B7CB58E2A621}'] function _Getr: Double; function _Getg: Double; function _Getb: Double; function _Geta: Double; procedure _Setr(const aValue: Double); procedure _Setg(const aValue: Double); procedure _Setb(const aValue: Double); procedure _Seta(const aValue: Double); property r: Double read _Getr write _Setr; property g: Double read _Getg write _Setg; property b: Double read _Getb write _Setb; property a: Double read _Geta write _Seta; end; TJSGPUColorDict = class(TJSObject,IJSGPUColorDict) Private Protected function _Getr: Double; function _Getg: Double; function _Getb: Double; function _Geta: Double; procedure _Setr(const aValue: Double); procedure _Setg(const aValue: Double); procedure _Setb(const aValue: Double); procedure _Seta(const aValue: Double); Public constructor create(const aDict : TJSGPUColorDictRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUColorDict; property r: Double read _Getr write _Setr; property g: Double read _Getg write _Setg; property b: Double read _Getb write _Setb; property a: Double read _Geta write _Seta; end; { -------------------------------------------------------------------- TJSGPUOrigin2DDict --------------------------------------------------------------------} TJSGPUOrigin2DDictRec = record x: TGPUIntegerCoordinate; y: TGPUIntegerCoordinate; end; IJSGPUOrigin2DDict = interface(IJSObject) ['{AC6CB1A6-B7C5-3D99-AC3C-94D9C4B13444}'] function _Getx: TGPUIntegerCoordinate; function _Gety: TGPUIntegerCoordinate; procedure _Setx(const aValue: TGPUIntegerCoordinate); procedure _Sety(const aValue: TGPUIntegerCoordinate); property x: TGPUIntegerCoordinate read _Getx write _Setx; property y: TGPUIntegerCoordinate read _Gety write _Sety; end; TJSGPUOrigin2DDict = class(TJSObject,IJSGPUOrigin2DDict) Private Protected function _Getx: TGPUIntegerCoordinate; function _Gety: TGPUIntegerCoordinate; procedure _Setx(const aValue: TGPUIntegerCoordinate); procedure _Sety(const aValue: TGPUIntegerCoordinate); Public constructor create(const aDict : TJSGPUOrigin2DDictRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUOrigin2DDict; property x: TGPUIntegerCoordinate read _Getx write _Setx; property y: TGPUIntegerCoordinate read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSGPUOrigin3DDict --------------------------------------------------------------------} TJSGPUOrigin3DDictRec = record x: TGPUIntegerCoordinate; y: TGPUIntegerCoordinate; z: TGPUIntegerCoordinate; end; IJSGPUOrigin3DDict = interface(IJSObject) ['{AC6CB1A6-B7C5-3D99-AC3C-94D9CAAB3444}'] function _Getx: TGPUIntegerCoordinate; function _Gety: TGPUIntegerCoordinate; function _Getz: TGPUIntegerCoordinate; procedure _Setx(const aValue: TGPUIntegerCoordinate); procedure _Sety(const aValue: TGPUIntegerCoordinate); procedure _Setz(const aValue: TGPUIntegerCoordinate); property x: TGPUIntegerCoordinate read _Getx write _Setx; property y: TGPUIntegerCoordinate read _Gety write _Sety; property z: TGPUIntegerCoordinate read _Getz write _Setz; end; TJSGPUOrigin3DDict = class(TJSObject,IJSGPUOrigin3DDict) Private Protected function _Getx: TGPUIntegerCoordinate; function _Gety: TGPUIntegerCoordinate; function _Getz: TGPUIntegerCoordinate; procedure _Setx(const aValue: TGPUIntegerCoordinate); procedure _Sety(const aValue: TGPUIntegerCoordinate); procedure _Setz(const aValue: TGPUIntegerCoordinate); Public constructor create(const aDict : TJSGPUOrigin3DDictRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUOrigin3DDict; property x: TGPUIntegerCoordinate read _Getx write _Setx; property y: TGPUIntegerCoordinate read _Gety write _Sety; property z: TGPUIntegerCoordinate read _Getz write _Setz; end; { -------------------------------------------------------------------- TJSGPUExtent3DDict --------------------------------------------------------------------} TJSGPUExtent3DDictRec = record width: TGPUIntegerCoordinate; height: TGPUIntegerCoordinate; depthOrArrayLayers: TGPUIntegerCoordinate; end; IJSGPUExtent3DDict = interface(IJSObject) ['{05FF1DCB-8E76-355E-8DD3-E99FB353C84D}'] function _Getwidth: TGPUIntegerCoordinate; function _Getheight: TGPUIntegerCoordinate; function _GetdepthOrArrayLayers: TGPUIntegerCoordinate; procedure _Setwidth(const aValue: TGPUIntegerCoordinate); procedure _Setheight(const aValue: TGPUIntegerCoordinate); procedure _SetdepthOrArrayLayers(const aValue: TGPUIntegerCoordinate); property width: TGPUIntegerCoordinate read _Getwidth write _Setwidth; property height: TGPUIntegerCoordinate read _Getheight write _Setheight; property depthOrArrayLayers: TGPUIntegerCoordinate read _GetdepthOrArrayLayers write _SetdepthOrArrayLayers; end; TJSGPUExtent3DDict = class(TJSObject,IJSGPUExtent3DDict) Private Protected function _Getwidth: TGPUIntegerCoordinate; function _Getheight: TGPUIntegerCoordinate; function _GetdepthOrArrayLayers: TGPUIntegerCoordinate; procedure _Setwidth(const aValue: TGPUIntegerCoordinate); procedure _Setheight(const aValue: TGPUIntegerCoordinate); procedure _SetdepthOrArrayLayers(const aValue: TGPUIntegerCoordinate); Public constructor create(const aDict : TJSGPUExtent3DDictRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUExtent3DDict; property width: TGPUIntegerCoordinate read _Getwidth write _Setwidth; property height: TGPUIntegerCoordinate read _Getheight write _Setheight; property depthOrArrayLayers: TGPUIntegerCoordinate read _GetdepthOrArrayLayers write _SetdepthOrArrayLayers; end; { -------------------------------------------------------------------- TJSWebrtcGlobalStatisticsReport --------------------------------------------------------------------} TJSRTCStatsReportInternalDynArray = IJSArray; // array of RTCStatsReportInternal TJSRTCSdpHistoryInternalDynArray = IJSArray; // array of RTCSdpHistoryInternal TJSWebrtcGlobalStatisticsReportRec = record reports: TJSRTCStatsReportInternalDynArray; sdpHistories: TJSRTCSdpHistoryInternalDynArray; end; IJSWebrtcGlobalStatisticsReport = interface(IJSObject) ['{150DA45F-CA2B-374F-A8D8-F92D6AB6C02C}'] function _Getreports: TJSRTCStatsReportInternalDynArray; function _GetsdpHistories: TJSRTCSdpHistoryInternalDynArray; procedure _Setreports(const aValue: TJSRTCStatsReportInternalDynArray); procedure _SetsdpHistories(const aValue: TJSRTCSdpHistoryInternalDynArray); property reports: TJSRTCStatsReportInternalDynArray read _Getreports write _Setreports; property sdpHistories: TJSRTCSdpHistoryInternalDynArray read _GetsdpHistories write _SetsdpHistories; end; TJSWebrtcGlobalStatisticsReport = class(TJSObject,IJSWebrtcGlobalStatisticsReport) Private Protected function _Getreports: TJSRTCStatsReportInternalDynArray; function _GetsdpHistories: TJSRTCSdpHistoryInternalDynArray; procedure _Setreports(const aValue: TJSRTCStatsReportInternalDynArray); procedure _SetsdpHistories(const aValue: TJSRTCSdpHistoryInternalDynArray); Public constructor create(const aDict : TJSWebrtcGlobalStatisticsReportRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebrtcGlobalStatisticsReport; property reports: TJSRTCStatsReportInternalDynArray read _Getreports write _Setreports; property sdpHistories: TJSRTCSdpHistoryInternalDynArray read _GetsdpHistories write _SetsdpHistories; end; { -------------------------------------------------------------------- TJSWebrtcGlobalMediaContext --------------------------------------------------------------------} TJSWebrtcGlobalMediaContextRec = record hasH264Hardware: Boolean; end; IJSWebrtcGlobalMediaContext = interface(IJSObject) ['{38DD5741-5903-3231-BD71-6CF9E54CDEE1}'] function _GethasH264Hardware: Boolean; procedure _SethasH264Hardware(const aValue: Boolean); property hasH264Hardware: Boolean read _GethasH264Hardware write _SethasH264Hardware; end; TJSWebrtcGlobalMediaContext = class(TJSObject,IJSWebrtcGlobalMediaContext) Private Protected function _GethasH264Hardware: Boolean; procedure _SethasH264Hardware(const aValue: Boolean); Public constructor create(const aDict : TJSWebrtcGlobalMediaContextRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebrtcGlobalMediaContext; property hasH264Hardware: Boolean read _GethasH264Hardware write _SethasH264Hardware; end; { -------------------------------------------------------------------- TJSSchedulerPostTaskOptions --------------------------------------------------------------------} TJSSchedulerPostTaskOptionsRec = record signal: TJSAbortSignal; priority: TTaskPriority; delay: QWord; end; IJSSchedulerPostTaskOptions = interface(IJSObject) ['{B4EA4F8D-A642-3B0A-90CF-4777ACB1932E}'] function _Getsignal: IJSAbortSignal; function _Getpriority: TTaskPriority; function _Getdelay: QWord; procedure _Setsignal(const aValue: IJSAbortSignal); procedure _Setpriority(const aValue: TTaskPriority); procedure _Setdelay(const aValue: QWord); property signal: IJSAbortSignal read _Getsignal write _Setsignal; property priority: TTaskPriority read _Getpriority write _Setpriority; property delay: QWord read _Getdelay write _Setdelay; end; TJSSchedulerPostTaskOptions = class(TJSObject,IJSSchedulerPostTaskOptions) Private Protected function _Getsignal: IJSAbortSignal; function _Getpriority: TTaskPriority; function _Getdelay: QWord; procedure _Setsignal(const aValue: IJSAbortSignal); procedure _Setpriority(const aValue: TTaskPriority); procedure _Setdelay(const aValue: QWord); Public constructor create(const aDict : TJSSchedulerPostTaskOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSchedulerPostTaskOptions; property signal: IJSAbortSignal read _Getsignal write _Setsignal; property priority: TTaskPriority read _Getpriority write _Setpriority; property delay: QWord read _Getdelay write _Setdelay; end; { -------------------------------------------------------------------- TJSTaskControllerInit --------------------------------------------------------------------} TJSTaskControllerInitRec = record priority: TTaskPriority; end; IJSTaskControllerInit = interface(IJSObject) ['{929814DC-D52A-381F-A726-4CC888F9240E}'] function _Getpriority: TTaskPriority; procedure _Setpriority(const aValue: TTaskPriority); property priority: TTaskPriority read _Getpriority write _Setpriority; end; TJSTaskControllerInit = class(TJSObject,IJSTaskControllerInit) Private Protected function _Getpriority: TTaskPriority; procedure _Setpriority(const aValue: TTaskPriority); Public constructor create(const aDict : TJSTaskControllerInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTaskControllerInit; property priority: TTaskPriority read _Getpriority write _Setpriority; end; { -------------------------------------------------------------------- TJSWebTransportHash --------------------------------------------------------------------} TJSWebTransportHashRec = record algorithm: UnicodeString; value: IJSBufferSource; end; IJSWebTransportHash = interface(IJSObject) ['{3BFBDB57-564E-3EEB-9972-BF825A5C38E8}'] function _Getalgorithm: UnicodeString; function _Getvalue: IJSBufferSource; procedure _Setalgorithm(const aValue: UnicodeString); procedure _Setvalue(const aValue: IJSBufferSource); property algorithm: UnicodeString read _Getalgorithm write _Setalgorithm; property value: IJSBufferSource read _Getvalue write _Setvalue; end; TJSWebTransportHash = class(TJSObject,IJSWebTransportHash) Private Protected function _Getalgorithm: UnicodeString; function _Getvalue: IJSBufferSource; procedure _Setalgorithm(const aValue: UnicodeString); procedure _Setvalue(const aValue: IJSBufferSource); Public constructor create(const aDict : TJSWebTransportHashRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportHash; property algorithm: UnicodeString read _Getalgorithm write _Setalgorithm; property value: IJSBufferSource read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSWebTransportOptions --------------------------------------------------------------------} TJSWebTransportHashDynArray = IJSArray; // array of WebTransportHash TJSWebTransportOptionsRec = record allowPooling: Boolean; requireUnreliable: Boolean; serverCertificateHashes: TJSWebTransportHashDynArray; congestionControl: TWebTransportCongestionControl; end; IJSWebTransportOptions = interface(IJSObject) ['{98BAC044-DF1E-38C0-98CA-8F38DD6A3576}'] function _GetallowPooling: Boolean; function _GetrequireUnreliable: Boolean; function _GetserverCertificateHashes: TJSWebTransportHashDynArray; function _GetcongestionControl: TWebTransportCongestionControl; procedure _SetallowPooling(const aValue: Boolean); procedure _SetrequireUnreliable(const aValue: Boolean); procedure _SetserverCertificateHashes(const aValue: TJSWebTransportHashDynArray); procedure _SetcongestionControl(const aValue: TWebTransportCongestionControl); property allowPooling: Boolean read _GetallowPooling write _SetallowPooling; property requireUnreliable: Boolean read _GetrequireUnreliable write _SetrequireUnreliable; property serverCertificateHashes: TJSWebTransportHashDynArray read _GetserverCertificateHashes write _SetserverCertificateHashes; property congestionControl: TWebTransportCongestionControl read _GetcongestionControl write _SetcongestionControl; end; TJSWebTransportOptions = class(TJSObject,IJSWebTransportOptions) Private Protected function _GetallowPooling: Boolean; function _GetrequireUnreliable: Boolean; function _GetserverCertificateHashes: TJSWebTransportHashDynArray; function _GetcongestionControl: TWebTransportCongestionControl; procedure _SetallowPooling(const aValue: Boolean); procedure _SetrequireUnreliable(const aValue: Boolean); procedure _SetserverCertificateHashes(const aValue: TJSWebTransportHashDynArray); procedure _SetcongestionControl(const aValue: TWebTransportCongestionControl); Public constructor create(const aDict : TJSWebTransportOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportOptions; property allowPooling: Boolean read _GetallowPooling write _SetallowPooling; property requireUnreliable: Boolean read _GetrequireUnreliable write _SetrequireUnreliable; property serverCertificateHashes: TJSWebTransportHashDynArray read _GetserverCertificateHashes write _SetserverCertificateHashes; property congestionControl: TWebTransportCongestionControl read _GetcongestionControl write _SetcongestionControl; end; { -------------------------------------------------------------------- TJSWebTransportCloseInfo --------------------------------------------------------------------} TJSWebTransportCloseInfoRec = record closeCode: Cardinal; reason: UTF8String; end; IJSWebTransportCloseInfo = interface(IJSObject) ['{0A0E4D5D-D982-3333-9953-D52DC990A7AE}'] function _GetcloseCode: Cardinal; function _Getreason: UTF8String; procedure _SetcloseCode(const aValue: Cardinal); procedure _Setreason(const aValue: UTF8String); property closeCode: Cardinal read _GetcloseCode write _SetcloseCode; property reason: UTF8String read _Getreason write _Setreason; end; TJSWebTransportCloseInfo = class(TJSObject,IJSWebTransportCloseInfo) Private Protected function _GetcloseCode: Cardinal; function _Getreason: UTF8String; procedure _SetcloseCode(const aValue: Cardinal); procedure _Setreason(const aValue: UTF8String); Public constructor create(const aDict : TJSWebTransportCloseInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportCloseInfo; property closeCode: Cardinal read _GetcloseCode write _SetcloseCode; property reason: UTF8String read _Getreason write _Setreason; end; { -------------------------------------------------------------------- TJSWebTransportSendStreamOptions --------------------------------------------------------------------} TJSWebTransportSendStreamOptionsRec = record sendOrder: Int64; end; IJSWebTransportSendStreamOptions = interface(IJSObject) ['{83F637C1-92BB-3EB7-AC9B-4FB1986791D6}'] function _GetsendOrder: Int64; procedure _SetsendOrder(const aValue: Int64); property sendOrder: Int64 read _GetsendOrder write _SetsendOrder; end; TJSWebTransportSendStreamOptions = class(TJSObject,IJSWebTransportSendStreamOptions) Private Protected function _GetsendOrder: Int64; procedure _SetsendOrder(const aValue: Int64); Public constructor create(const aDict : TJSWebTransportSendStreamOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportSendStreamOptions; property sendOrder: Int64 read _GetsendOrder write _SetsendOrder; end; { -------------------------------------------------------------------- TJSWebTransportStats --------------------------------------------------------------------} TJSWebTransportStatsRec = record timestamp: TDOMHighResTimeStamp; bytesSent: QWord; packetsSent: QWord; packetsLost: QWord; numOutgoingStreamsCreated: Cardinal; numIncomingStreamsCreated: Cardinal; bytesReceived: QWord; packetsReceived: QWord; smoothedRtt: TDOMHighResTimeStamp; rttVariation: TDOMHighResTimeStamp; minRtt: TDOMHighResTimeStamp; datagrams: TJSWebTransportDatagramStats; end; IJSWebTransportStats = interface(IJSObject) ['{E2FEED25-13E7-3AEB-96DB-A2912150EAE4}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesSent: QWord; function _GetpacketsSent: QWord; function _GetpacketsLost: QWord; function _GetnumOutgoingStreamsCreated: Cardinal; function _GetnumIncomingStreamsCreated: Cardinal; function _GetbytesReceived: QWord; function _GetpacketsReceived: QWord; function _GetsmoothedRtt: TDOMHighResTimeStamp; function _GetrttVariation: TDOMHighResTimeStamp; function _GetminRtt: TDOMHighResTimeStamp; function _Getdatagrams: IJSWebTransportDatagramStats; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesSent(const aValue: QWord); procedure _SetpacketsSent(const aValue: QWord); procedure _SetpacketsLost(const aValue: QWord); procedure _SetnumOutgoingStreamsCreated(const aValue: Cardinal); procedure _SetnumIncomingStreamsCreated(const aValue: Cardinal); procedure _SetbytesReceived(const aValue: QWord); procedure _SetpacketsReceived(const aValue: QWord); procedure _SetsmoothedRtt(const aValue: TDOMHighResTimeStamp); procedure _SetrttVariation(const aValue: TDOMHighResTimeStamp); procedure _SetminRtt(const aValue: TDOMHighResTimeStamp); procedure _Setdatagrams(const aValue: IJSWebTransportDatagramStats); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property packetsSent: QWord read _GetpacketsSent write _SetpacketsSent; property packetsLost: QWord read _GetpacketsLost write _SetpacketsLost; property numOutgoingStreamsCreated: Cardinal read _GetnumOutgoingStreamsCreated write _SetnumOutgoingStreamsCreated; property numIncomingStreamsCreated: Cardinal read _GetnumIncomingStreamsCreated write _SetnumIncomingStreamsCreated; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property packetsReceived: QWord read _GetpacketsReceived write _SetpacketsReceived; property smoothedRtt: TDOMHighResTimeStamp read _GetsmoothedRtt write _SetsmoothedRtt; property rttVariation: TDOMHighResTimeStamp read _GetrttVariation write _SetrttVariation; property minRtt: TDOMHighResTimeStamp read _GetminRtt write _SetminRtt; property datagrams: IJSWebTransportDatagramStats read _Getdatagrams write _Setdatagrams; end; TJSWebTransportStats = class(TJSObject,IJSWebTransportStats) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesSent: QWord; function _GetpacketsSent: QWord; function _GetpacketsLost: QWord; function _GetnumOutgoingStreamsCreated: Cardinal; function _GetnumIncomingStreamsCreated: Cardinal; function _GetbytesReceived: QWord; function _GetpacketsReceived: QWord; function _GetsmoothedRtt: TDOMHighResTimeStamp; function _GetrttVariation: TDOMHighResTimeStamp; function _GetminRtt: TDOMHighResTimeStamp; function _Getdatagrams: IJSWebTransportDatagramStats; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesSent(const aValue: QWord); procedure _SetpacketsSent(const aValue: QWord); procedure _SetpacketsLost(const aValue: QWord); procedure _SetnumOutgoingStreamsCreated(const aValue: Cardinal); procedure _SetnumIncomingStreamsCreated(const aValue: Cardinal); procedure _SetbytesReceived(const aValue: QWord); procedure _SetpacketsReceived(const aValue: QWord); procedure _SetsmoothedRtt(const aValue: TDOMHighResTimeStamp); procedure _SetrttVariation(const aValue: TDOMHighResTimeStamp); procedure _SetminRtt(const aValue: TDOMHighResTimeStamp); procedure _Setdatagrams(const aValue: IJSWebTransportDatagramStats); Public constructor create(const aDict : TJSWebTransportStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportStats; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property packetsSent: QWord read _GetpacketsSent write _SetpacketsSent; property packetsLost: QWord read _GetpacketsLost write _SetpacketsLost; property numOutgoingStreamsCreated: Cardinal read _GetnumOutgoingStreamsCreated write _SetnumOutgoingStreamsCreated; property numIncomingStreamsCreated: Cardinal read _GetnumIncomingStreamsCreated write _SetnumIncomingStreamsCreated; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property packetsReceived: QWord read _GetpacketsReceived write _SetpacketsReceived; property smoothedRtt: TDOMHighResTimeStamp read _GetsmoothedRtt write _SetsmoothedRtt; property rttVariation: TDOMHighResTimeStamp read _GetrttVariation write _SetrttVariation; property minRtt: TDOMHighResTimeStamp read _GetminRtt write _SetminRtt; property datagrams: IJSWebTransportDatagramStats read _Getdatagrams write _Setdatagrams; end; { -------------------------------------------------------------------- TJSWebTransportDatagramStats --------------------------------------------------------------------} TJSWebTransportDatagramStatsRec = record timestamp: TDOMHighResTimeStamp; expiredOutgoing: QWord; droppedIncoming: QWord; lostOutgoing: QWord; end; IJSWebTransportDatagramStats = interface(IJSObject) ['{9514FB39-D616-384A-8EAD-CD5171893E97}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetexpiredOutgoing: QWord; function _GetdroppedIncoming: QWord; function _GetlostOutgoing: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetexpiredOutgoing(const aValue: QWord); procedure _SetdroppedIncoming(const aValue: QWord); procedure _SetlostOutgoing(const aValue: QWord); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property expiredOutgoing: QWord read _GetexpiredOutgoing write _SetexpiredOutgoing; property droppedIncoming: QWord read _GetdroppedIncoming write _SetdroppedIncoming; property lostOutgoing: QWord read _GetlostOutgoing write _SetlostOutgoing; end; TJSWebTransportDatagramStats = class(TJSObject,IJSWebTransportDatagramStats) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetexpiredOutgoing: QWord; function _GetdroppedIncoming: QWord; function _GetlostOutgoing: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetexpiredOutgoing(const aValue: QWord); procedure _SetdroppedIncoming(const aValue: QWord); procedure _SetlostOutgoing(const aValue: QWord); Public constructor create(const aDict : TJSWebTransportDatagramStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportDatagramStats; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property expiredOutgoing: QWord read _GetexpiredOutgoing write _SetexpiredOutgoing; property droppedIncoming: QWord read _GetdroppedIncoming write _SetdroppedIncoming; property lostOutgoing: QWord read _GetlostOutgoing write _SetlostOutgoing; end; { -------------------------------------------------------------------- TJSWebTransportErrorInit --------------------------------------------------------------------} TJSWebTransportErrorInitRec = record streamErrorCode: Byte; message: UnicodeString; end; IJSWebTransportErrorInit = interface(IJSObject) ['{4A03C3A0-E982-3349-95BB-482F7E910F21}'] function _GetstreamErrorCode: Byte; function _Getmessage: UnicodeString; procedure _SetstreamErrorCode(const aValue: Byte); procedure _Setmessage(const aValue: UnicodeString); property streamErrorCode: Byte read _GetstreamErrorCode write _SetstreamErrorCode; property message: UnicodeString read _Getmessage write _Setmessage; end; TJSWebTransportErrorInit = class(TJSObject,IJSWebTransportErrorInit) Private Protected function _GetstreamErrorCode: Byte; function _Getmessage: UnicodeString; procedure _SetstreamErrorCode(const aValue: Byte); procedure _Setmessage(const aValue: UnicodeString); Public constructor create(const aDict : TJSWebTransportErrorInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportErrorInit; property streamErrorCode: Byte read _GetstreamErrorCode write _SetstreamErrorCode; property message: UnicodeString read _Getmessage write _Setmessage; end; { -------------------------------------------------------------------- TJSWebTransportSendStreamStats --------------------------------------------------------------------} TJSWebTransportSendStreamStatsRec = record timestamp: TDOMHighResTimeStamp; bytesWritten: QWord; bytesSent: QWord; bytesAcknowledged: QWord; end; IJSWebTransportSendStreamStats = interface(IJSObject) ['{40EFE192-3AF4-3B2E-A51D-FB977EAF6D58}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesWritten: QWord; function _GetbytesSent: QWord; function _GetbytesAcknowledged: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesWritten(const aValue: QWord); procedure _SetbytesSent(const aValue: QWord); procedure _SetbytesAcknowledged(const aValue: QWord); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesWritten: QWord read _GetbytesWritten write _SetbytesWritten; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property bytesAcknowledged: QWord read _GetbytesAcknowledged write _SetbytesAcknowledged; end; TJSWebTransportSendStreamStats = class(TJSObject,IJSWebTransportSendStreamStats) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesWritten: QWord; function _GetbytesSent: QWord; function _GetbytesAcknowledged: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesWritten(const aValue: QWord); procedure _SetbytesSent(const aValue: QWord); procedure _SetbytesAcknowledged(const aValue: QWord); Public constructor create(const aDict : TJSWebTransportSendStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportSendStreamStats; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesWritten: QWord read _GetbytesWritten write _SetbytesWritten; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property bytesAcknowledged: QWord read _GetbytesAcknowledged write _SetbytesAcknowledged; end; { -------------------------------------------------------------------- TJSWebTransportReceiveStreamStats --------------------------------------------------------------------} TJSWebTransportReceiveStreamStatsRec = record timestamp: TDOMHighResTimeStamp; bytesReceived: QWord; bytesRead: QWord; end; IJSWebTransportReceiveStreamStats = interface(IJSObject) ['{6765D2FF-248B-3752-9B86-79E6D9B5D096}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesReceived: QWord; function _GetbytesRead: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesReceived(const aValue: QWord); procedure _SetbytesRead(const aValue: QWord); property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property bytesRead: QWord read _GetbytesRead write _SetbytesRead; end; TJSWebTransportReceiveStreamStats = class(TJSObject,IJSWebTransportReceiveStreamStats) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetbytesReceived: QWord; function _GetbytesRead: QWord; procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetbytesReceived(const aValue: QWord); procedure _SetbytesRead(const aValue: QWord); Public constructor create(const aDict : TJSWebTransportReceiveStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportReceiveStreamStats; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property bytesRead: QWord read _GetbytesRead write _SetbytesRead; end; { -------------------------------------------------------------------- TJSXRSessionInit --------------------------------------------------------------------} TJSXRSessionInitRec = record requiredFeatures: TUnicodeStringDynArray; optionalFeatures: TUnicodeStringDynArray; end; IJSXRSessionInit = interface(IJSObject) ['{B0727B8E-8E95-36EB-92A2-375923424398}'] function _GetrequiredFeatures: TUnicodeStringDynArray; function _GetoptionalFeatures: TUnicodeStringDynArray; procedure _SetrequiredFeatures(const aValue: TUnicodeStringDynArray); procedure _SetoptionalFeatures(const aValue: TUnicodeStringDynArray); property requiredFeatures: TUnicodeStringDynArray read _GetrequiredFeatures write _SetrequiredFeatures; property optionalFeatures: TUnicodeStringDynArray read _GetoptionalFeatures write _SetoptionalFeatures; end; TJSXRSessionInit = class(TJSObject,IJSXRSessionInit) Private Protected function _GetrequiredFeatures: TUnicodeStringDynArray; function _GetoptionalFeatures: TUnicodeStringDynArray; procedure _SetrequiredFeatures(const aValue: TUnicodeStringDynArray); procedure _SetoptionalFeatures(const aValue: TUnicodeStringDynArray); Public constructor create(const aDict : TJSXRSessionInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSessionInit; property requiredFeatures: TUnicodeStringDynArray read _GetrequiredFeatures write _SetrequiredFeatures; property optionalFeatures: TUnicodeStringDynArray read _GetoptionalFeatures write _SetoptionalFeatures; end; { -------------------------------------------------------------------- TJSXRRenderStateInit --------------------------------------------------------------------} TJSXRRenderStateInitRec = record depthNear: Double; depthFar: Double; inlineVerticalFieldOfView: Double; baseLayer: TJSXRWebGLLayer; end; IJSXRRenderStateInit = interface(IJSObject) ['{9FF0E688-C3CD-3E35-8133-758A47547D6C}'] function _GetdepthNear: Double; function _GetdepthFar: Double; function _GetinlineVerticalFieldOfView: Double; function _GetbaseLayer: IJSXRWebGLLayer; procedure _SetdepthNear(const aValue: Double); procedure _SetdepthFar(const aValue: Double); procedure _SetinlineVerticalFieldOfView(const aValue: Double); procedure _SetbaseLayer(const aValue: IJSXRWebGLLayer); property depthNear: Double read _GetdepthNear write _SetdepthNear; property depthFar: Double read _GetdepthFar write _SetdepthFar; property inlineVerticalFieldOfView: Double read _GetinlineVerticalFieldOfView write _SetinlineVerticalFieldOfView; property baseLayer: IJSXRWebGLLayer read _GetbaseLayer write _SetbaseLayer; end; TJSXRRenderStateInit = class(TJSObject,IJSXRRenderStateInit) Private Protected function _GetdepthNear: Double; function _GetdepthFar: Double; function _GetinlineVerticalFieldOfView: Double; function _GetbaseLayer: IJSXRWebGLLayer; procedure _SetdepthNear(const aValue: Double); procedure _SetdepthFar(const aValue: Double); procedure _SetinlineVerticalFieldOfView(const aValue: Double); procedure _SetbaseLayer(const aValue: IJSXRWebGLLayer); Public constructor create(const aDict : TJSXRRenderStateInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRRenderStateInit; property depthNear: Double read _GetdepthNear write _SetdepthNear; property depthFar: Double read _GetdepthFar write _SetdepthFar; property inlineVerticalFieldOfView: Double read _GetinlineVerticalFieldOfView write _SetinlineVerticalFieldOfView; property baseLayer: IJSXRWebGLLayer read _GetbaseLayer write _SetbaseLayer; end; { -------------------------------------------------------------------- TJSXRWebGLLayerInit --------------------------------------------------------------------} TJSXRWebGLLayerInitRec = record antialias: Boolean; depth: Boolean; stencil: Boolean; alpha: Boolean; ignoreDepthValues: Boolean; framebufferScaleFactor: Double; end; IJSXRWebGLLayerInit = interface(IJSObject) ['{EB72E6CC-68E9-36EE-841D-C83EA2269E9D}'] function _Getantialias: Boolean; function _Getdepth: Boolean; function _Getstencil: Boolean; function _Getalpha: Boolean; function _GetignoreDepthValues: Boolean; function _GetframebufferScaleFactor: Double; procedure _Setantialias(const aValue: Boolean); procedure _Setdepth(const aValue: Boolean); procedure _Setstencil(const aValue: Boolean); procedure _Setalpha(const aValue: Boolean); procedure _SetignoreDepthValues(const aValue: Boolean); procedure _SetframebufferScaleFactor(const aValue: Double); property antialias: Boolean read _Getantialias write _Setantialias; property depth: Boolean read _Getdepth write _Setdepth; property stencil: Boolean read _Getstencil write _Setstencil; property alpha: Boolean read _Getalpha write _Setalpha; property ignoreDepthValues: Boolean read _GetignoreDepthValues write _SetignoreDepthValues; property framebufferScaleFactor: Double read _GetframebufferScaleFactor write _SetframebufferScaleFactor; end; TJSXRWebGLLayerInit = class(TJSObject,IJSXRWebGLLayerInit) Private Protected function _Getantialias: Boolean; function _Getdepth: Boolean; function _Getstencil: Boolean; function _Getalpha: Boolean; function _GetignoreDepthValues: Boolean; function _GetframebufferScaleFactor: Double; procedure _Setantialias(const aValue: Boolean); procedure _Setdepth(const aValue: Boolean); procedure _Setstencil(const aValue: Boolean); procedure _Setalpha(const aValue: Boolean); procedure _SetignoreDepthValues(const aValue: Boolean); procedure _SetframebufferScaleFactor(const aValue: Double); Public constructor create(const aDict : TJSXRWebGLLayerInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRWebGLLayerInit; property antialias: Boolean read _Getantialias write _Setantialias; property depth: Boolean read _Getdepth write _Setdepth; property stencil: Boolean read _Getstencil write _Setstencil; property alpha: Boolean read _Getalpha write _Setalpha; property ignoreDepthValues: Boolean read _GetignoreDepthValues write _SetignoreDepthValues; property framebufferScaleFactor: Double read _GetframebufferScaleFactor write _SetframebufferScaleFactor; end; { -------------------------------------------------------------------- TJSScrollOptions --------------------------------------------------------------------} TJSScrollOptionsRec = record behavior: TScrollBehavior; end; IJSScrollOptions = interface(IJSObject) ['{668F8EE8-DCCD-38C9-95AB-60372C6BA248}'] function _Getbehavior: TScrollBehavior; procedure _Setbehavior(const aValue: TScrollBehavior); property behavior: TScrollBehavior read _Getbehavior write _Setbehavior; end; TJSScrollOptions = class(TJSObject,IJSScrollOptions) Private Protected function _Getbehavior: TScrollBehavior; procedure _Setbehavior(const aValue: TScrollBehavior); Public constructor create(const aDict : TJSScrollOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollOptions; property behavior: TScrollBehavior read _Getbehavior write _Setbehavior; end; { -------------------------------------------------------------------- TJSSizeToContentConstraints --------------------------------------------------------------------} TJSSizeToContentConstraintsRec = record maxWidth: LongInt; maxHeight: LongInt; prefWidth: LongInt; end; IJSSizeToContentConstraints = interface(IJSObject) ['{5644B944-C26D-3134-BF26-D8690F8044CC}'] function _GetmaxWidth: LongInt; function _GetmaxHeight: LongInt; function _GetprefWidth: LongInt; procedure _SetmaxWidth(const aValue: LongInt); procedure _SetmaxHeight(const aValue: LongInt); procedure _SetprefWidth(const aValue: LongInt); property maxWidth: LongInt read _GetmaxWidth write _SetmaxWidth; property maxHeight: LongInt read _GetmaxHeight write _SetmaxHeight; property prefWidth: LongInt read _GetprefWidth write _SetprefWidth; end; TJSSizeToContentConstraints = class(TJSObject,IJSSizeToContentConstraints) Private Protected function _GetmaxWidth: LongInt; function _GetmaxHeight: LongInt; function _GetprefWidth: LongInt; procedure _SetmaxWidth(const aValue: LongInt); procedure _SetmaxHeight(const aValue: LongInt); procedure _SetprefWidth(const aValue: LongInt); Public constructor create(const aDict : TJSSizeToContentConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSizeToContentConstraints; property maxWidth: LongInt read _GetmaxWidth write _SetmaxWidth; property maxHeight: LongInt read _GetmaxHeight write _SetmaxHeight; property prefWidth: LongInt read _GetprefWidth write _SetprefWidth; end; { -------------------------------------------------------------------- TJSIdleRequestOptions --------------------------------------------------------------------} TJSIdleRequestOptionsRec = record timeout: Cardinal; end; IJSIdleRequestOptions = interface(IJSObject) ['{52B3663F-24DA-3A51-8391-64CAD7F04189}'] function _Gettimeout: Cardinal; procedure _Settimeout(const aValue: Cardinal); property timeout: Cardinal read _Gettimeout write _Settimeout; end; TJSIdleRequestOptions = class(TJSObject,IJSIdleRequestOptions) Private Protected function _Gettimeout: Cardinal; procedure _Settimeout(const aValue: Cardinal); Public constructor create(const aDict : TJSIdleRequestOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdleRequestOptions; property timeout: Cardinal read _Gettimeout write _Settimeout; end; { -------------------------------------------------------------------- TJSWorkerOptions --------------------------------------------------------------------} TJSWorkerOptionsRec = record type_: TWorkerType; credentials: TRequestCredentials; name: UnicodeString; end; IJSWorkerOptions = interface(IJSObject) ['{AC53611B-46C5-3CC9-95AB-B90869107267}'] function _Gettype_: TWorkerType; function _Getcredentials: TRequestCredentials; function _Getname: UnicodeString; procedure _Settype_(const aValue: TWorkerType); procedure _Setcredentials(const aValue: TRequestCredentials); procedure _Setname(const aValue: UnicodeString); property type_: TWorkerType read _Gettype_ write _Settype_; property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; property name: UnicodeString read _Getname write _Setname; end; TJSWorkerOptions = class(TJSObject,IJSWorkerOptions) Private Protected function _Gettype_: TWorkerType; function _Getcredentials: TRequestCredentials; function _Getname: UnicodeString; procedure _Settype_(const aValue: TWorkerType); procedure _Setcredentials(const aValue: TRequestCredentials); procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSWorkerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerOptions; property type_: TWorkerType read _Gettype_ write _Settype_; property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSWorkletOptions --------------------------------------------------------------------} TJSWorkletOptionsRec = record credentials: TRequestCredentials; end; IJSWorkletOptions = interface(IJSObject) ['{9C0ED0BF-78D0-3755-9AB9-6DCE50549FB2}'] function _Getcredentials: TRequestCredentials; procedure _Setcredentials(const aValue: TRequestCredentials); property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; end; TJSWorkletOptions = class(TJSObject,IJSWorkletOptions) Private Protected function _Getcredentials: TRequestCredentials; procedure _Setcredentials(const aValue: TRequestCredentials); Public constructor create(const aDict : TJSWorkletOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkletOptions; property credentials: TRequestCredentials read _Getcredentials write _Setcredentials; end; { -------------------------------------------------------------------- TJSMozXMLHttpRequestParameters --------------------------------------------------------------------} TJSMozXMLHttpRequestParametersRec = record mozAnon: Boolean; mozSystem: Boolean; end; IJSMozXMLHttpRequestParameters = interface(IJSObject) ['{DDE9C446-70AD-3FBA-8B70-1F3FCBD40A8E}'] function _GetmozAnon: Boolean; function _GetmozSystem: Boolean; procedure _SetmozAnon(const aValue: Boolean); procedure _SetmozSystem(const aValue: Boolean); property mozAnon: Boolean read _GetmozAnon write _SetmozAnon; property mozSystem: Boolean read _GetmozSystem write _SetmozSystem; end; TJSMozXMLHttpRequestParameters = class(TJSObject,IJSMozXMLHttpRequestParameters) Private Protected function _GetmozAnon: Boolean; function _GetmozSystem: Boolean; procedure _SetmozAnon(const aValue: Boolean); procedure _SetmozSystem(const aValue: Boolean); Public constructor create(const aDict : TJSMozXMLHttpRequestParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozXMLHttpRequestParameters; property mozAnon: Boolean read _GetmozAnon write _SetmozAnon; property mozSystem: Boolean read _GetmozSystem write _SetmozSystem; end; { -------------------------------------------------------------------- TJSAddonEventInit --------------------------------------------------------------------} TJSAddonEventInitRec = record id: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSAddonEventInit = interface(IJSEventInit) ['{A28C6B07-F777-37F3-BF8E-FD52E4C6E5A9}'] function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); property id: UnicodeString read _Getid write _Setid; end; TJSAddonEventInit = class(TJSEventInit,IJSAddonEventInit) Private Protected function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); Public constructor create(const aDict : TJSAddonEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAddonEventInit; property id: UnicodeString read _Getid write _Setid; end; { -------------------------------------------------------------------- TJSAnalyserOptions --------------------------------------------------------------------} TJSAnalyserOptionsRec = record fftSize: Cardinal; maxDecibels: Double; minDecibels: Double; smoothingTimeConstant: Double; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSAnalyserOptions = interface(IJSAudioNodeOptions) ['{0366BDAB-DF3A-3907-9AF3-C2B631890135}'] function _GetfftSize: Cardinal; function _GetmaxDecibels: Double; function _GetminDecibels: Double; function _GetsmoothingTimeConstant: Double; procedure _SetfftSize(const aValue: Cardinal); procedure _SetmaxDecibels(const aValue: Double); procedure _SetminDecibels(const aValue: Double); procedure _SetsmoothingTimeConstant(const aValue: Double); property fftSize: Cardinal read _GetfftSize write _SetfftSize; property maxDecibels: Double read _GetmaxDecibels write _SetmaxDecibels; property minDecibels: Double read _GetminDecibels write _SetminDecibels; property smoothingTimeConstant: Double read _GetsmoothingTimeConstant write _SetsmoothingTimeConstant; end; TJSAnalyserOptions = class(TJSAudioNodeOptions,IJSAnalyserOptions) Private Protected function _GetfftSize: Cardinal; function _GetmaxDecibels: Double; function _GetminDecibels: Double; function _GetsmoothingTimeConstant: Double; procedure _SetfftSize(const aValue: Cardinal); procedure _SetmaxDecibels(const aValue: Double); procedure _SetminDecibels(const aValue: Double); procedure _SetsmoothingTimeConstant(const aValue: Double); Public constructor create(const aDict : TJSAnalyserOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnalyserOptions; property fftSize: Cardinal read _GetfftSize write _SetfftSize; property maxDecibels: Double read _GetmaxDecibels write _SetmaxDecibels; property minDecibels: Double read _GetminDecibels write _SetminDecibels; property smoothingTimeConstant: Double read _GetsmoothingTimeConstant write _SetsmoothingTimeConstant; end; { -------------------------------------------------------------------- TJSComputedEffectTiming --------------------------------------------------------------------} TJSComputedEffectTimingRec = record endTime: Double; activeDuration: Double; localTime: Double; progress: Double; currentIteration: Double; delay: Double; endDelay: Double; fill: TFillMode; iterationStart: Double; iterations: Double; duration: TEffectTiming_duration_Type; direction: TPlaybackDirection; easing: UTF8String; end; IJSComputedEffectTiming = interface(IJSEffectTiming) ['{01AF1524-9147-310C-9C74-3ACCA397FCE5}'] function _GetendTime: Double; function _GetactiveDuration: Double; function _GetlocalTime: Double; function _Getprogress: Double; function _GetcurrentIteration: Double; procedure _SetendTime(const aValue: Double); procedure _SetactiveDuration(const aValue: Double); procedure _SetlocalTime(const aValue: Double); procedure _Setprogress(const aValue: Double); procedure _SetcurrentIteration(const aValue: Double); property endTime: Double read _GetendTime write _SetendTime; property activeDuration: Double read _GetactiveDuration write _SetactiveDuration; property localTime: Double read _GetlocalTime write _SetlocalTime; property progress: Double read _Getprogress write _Setprogress; property currentIteration: Double read _GetcurrentIteration write _SetcurrentIteration; end; TJSComputedEffectTiming = class(TJSEffectTiming,IJSComputedEffectTiming) Private Protected function _GetendTime: Double; function _GetactiveDuration: Double; function _GetlocalTime: Double; function _Getprogress: Double; function _GetcurrentIteration: Double; procedure _SetendTime(const aValue: Double); procedure _SetactiveDuration(const aValue: Double); procedure _SetlocalTime(const aValue: Double); procedure _Setprogress(const aValue: Double); procedure _SetcurrentIteration(const aValue: Double); Public constructor create(const aDict : TJSComputedEffectTimingRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSComputedEffectTiming; property endTime: Double read _GetendTime write _SetendTime; property activeDuration: Double read _GetactiveDuration write _SetactiveDuration; property localTime: Double read _GetlocalTime write _SetlocalTime; property progress: Double read _Getprogress write _Setprogress; property currentIteration: Double read _GetcurrentIteration write _SetcurrentIteration; end; { -------------------------------------------------------------------- TJSAnimationEventInit --------------------------------------------------------------------} TJSAnimationEventInitRec = record animationName: UnicodeString; elapsedTime: Single; pseudoElement: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSAnimationEventInit = interface(IJSEventInit) ['{B2CA5EE5-DCB8-3B8A-81C2-AD510854D7C0}'] function _GetanimationName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; procedure _SetanimationName(const aValue: UnicodeString); procedure _SetelapsedTime(const aValue: Single); procedure _SetpseudoElement(const aValue: UnicodeString); property animationName: UnicodeString read _GetanimationName write _SetanimationName; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; TJSAnimationEventInit = class(TJSEventInit,IJSAnimationEventInit) Private Protected function _GetanimationName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; procedure _SetanimationName(const aValue: UnicodeString); procedure _SetelapsedTime(const aValue: Single); procedure _SetpseudoElement(const aValue: UnicodeString); Public constructor create(const aDict : TJSAnimationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationEventInit; property animationName: UnicodeString read _GetanimationName write _SetanimationName; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; { -------------------------------------------------------------------- TJSAnimationPlaybackEventInit --------------------------------------------------------------------} TJSAnimationPlaybackEventInitRec = record currentTime: Double; timelineTime: Double; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSAnimationPlaybackEventInit = interface(IJSEventInit) ['{6ED643EA-1681-3FE0-BAEC-24B302CC745E}'] function _GetcurrentTime: Double; function _GettimelineTime: Double; procedure _SetcurrentTime(const aValue: Double); procedure _SettimelineTime(const aValue: Double); property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property timelineTime: Double read _GettimelineTime write _SettimelineTime; end; TJSAnimationPlaybackEventInit = class(TJSEventInit,IJSAnimationPlaybackEventInit) Private Protected function _GetcurrentTime: Double; function _GettimelineTime: Double; procedure _SetcurrentTime(const aValue: Double); procedure _SettimelineTime(const aValue: Double); Public constructor create(const aDict : TJSAnimationPlaybackEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationPlaybackEventInit; property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property timelineTime: Double read _GettimelineTime write _SettimelineTime; end; { -------------------------------------------------------------------- TJSAudioWorkletNodeOptions --------------------------------------------------------------------} TJSAudioWorkletNodeOptionsRec = record numberOfInputs: Cardinal; numberOfOutputs: Cardinal; outputChannelCount: TCardinalDynArray; parameterData: IJSObject; processorOptions: IJSObject; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSAudioWorkletNodeOptions = interface(IJSAudioNodeOptions) ['{BD88DCDC-9509-3C34-BFB1-73ABFD828748}'] function _GetnumberOfInputs: Cardinal; function _GetnumberOfOutputs: Cardinal; function _GetoutputChannelCount: TCardinalDynArray; function _GetparameterData: IJSObject; function _GetprocessorOptions: IJSObject; procedure _SetnumberOfInputs(const aValue: Cardinal); procedure _SetnumberOfOutputs(const aValue: Cardinal); procedure _SetoutputChannelCount(const aValue: TCardinalDynArray); procedure _SetparameterData(const aValue: IJSObject); procedure _SetprocessorOptions(const aValue: IJSObject); property numberOfInputs: Cardinal read _GetnumberOfInputs write _SetnumberOfInputs; property numberOfOutputs: Cardinal read _GetnumberOfOutputs write _SetnumberOfOutputs; property outputChannelCount: TCardinalDynArray read _GetoutputChannelCount write _SetoutputChannelCount; property parameterData: IJSObject read _GetparameterData write _SetparameterData; property processorOptions: IJSObject read _GetprocessorOptions write _SetprocessorOptions; end; TJSAudioWorkletNodeOptions = class(TJSAudioNodeOptions,IJSAudioWorkletNodeOptions) Private Protected function _GetnumberOfInputs: Cardinal; function _GetnumberOfOutputs: Cardinal; function _GetoutputChannelCount: TCardinalDynArray; function _GetparameterData: IJSObject; function _GetprocessorOptions: IJSObject; procedure _SetnumberOfInputs(const aValue: Cardinal); procedure _SetnumberOfOutputs(const aValue: Cardinal); procedure _SetoutputChannelCount(const aValue: TCardinalDynArray); procedure _SetparameterData(const aValue: IJSObject); procedure _SetprocessorOptions(const aValue: IJSObject); Public constructor create(const aDict : TJSAudioWorkletNodeOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioWorkletNodeOptions; property numberOfInputs: Cardinal read _GetnumberOfInputs write _SetnumberOfInputs; property numberOfOutputs: Cardinal read _GetnumberOfOutputs write _SetnumberOfOutputs; property outputChannelCount: TCardinalDynArray read _GetoutputChannelCount write _SetoutputChannelCount; property parameterData: IJSObject read _GetparameterData write _SetparameterData; property processorOptions: IJSObject read _GetprocessorOptions write _SetprocessorOptions; end; { -------------------------------------------------------------------- TJSBaseComputedKeyframe --------------------------------------------------------------------} TJSBaseComputedKeyframeRec = record computedOffset: Double; offset: Double; easing: UTF8String; composite: TCompositeOperationOrAuto; end; IJSBaseComputedKeyframe = interface(IJSBaseKeyframe) ['{D901C182-F592-3683-8F82-14F5C172E4FC}'] function _GetcomputedOffset: Double; procedure _SetcomputedOffset(const aValue: Double); property computedOffset: Double read _GetcomputedOffset write _SetcomputedOffset; end; TJSBaseComputedKeyframe = class(TJSBaseKeyframe,IJSBaseComputedKeyframe) Private Protected function _GetcomputedOffset: Double; procedure _SetcomputedOffset(const aValue: Double); Public constructor create(const aDict : TJSBaseComputedKeyframeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBaseComputedKeyframe; property computedOffset: Double read _GetcomputedOffset write _SetcomputedOffset; end; { -------------------------------------------------------------------- TJSBiquadFilterOptions --------------------------------------------------------------------} TJSBiquadFilterOptionsRec = record type_: TBiquadFilterType; Q: Single; detune: Single; frequency: Single; gain: Single; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSBiquadFilterOptions = interface(IJSAudioNodeOptions) ['{E13E72E5-36BF-311A-841A-0B116792AF38}'] function _Gettype_: TBiquadFilterType; function _GetQ: Single; function _Getdetune: Single; function _Getfrequency: Single; function _Getgain: Single; procedure _Settype_(const aValue: TBiquadFilterType); procedure _SetQ(const aValue: Single); procedure _Setdetune(const aValue: Single); procedure _Setfrequency(const aValue: Single); procedure _Setgain(const aValue: Single); property type_: TBiquadFilterType read _Gettype_ write _Settype_; property Q: Single read _GetQ write _SetQ; property detune: Single read _Getdetune write _Setdetune; property frequency: Single read _Getfrequency write _Setfrequency; property gain: Single read _Getgain write _Setgain; end; TJSBiquadFilterOptions = class(TJSAudioNodeOptions,IJSBiquadFilterOptions) Private Protected function _Gettype_: TBiquadFilterType; function _GetQ: Single; function _Getdetune: Single; function _Getfrequency: Single; function _Getgain: Single; procedure _Settype_(const aValue: TBiquadFilterType); procedure _SetQ(const aValue: Single); procedure _Setdetune(const aValue: Single); procedure _Setfrequency(const aValue: Single); procedure _Setgain(const aValue: Single); Public constructor create(const aDict : TJSBiquadFilterOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBiquadFilterOptions; property type_: TBiquadFilterType read _Gettype_ write _Settype_; property Q: Single read _GetQ write _SetQ; property detune: Single read _Getdetune write _Setdetune; property frequency: Single read _Getfrequency write _Setfrequency; property gain: Single read _Getgain write _Setgain; end; { -------------------------------------------------------------------- TJSBlobEventInit --------------------------------------------------------------------} TJSBlobEventInitRec = record data: TJSBlob; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSBlobEventInit = interface(IJSEventInit) ['{668E845B-CB1A-3D96-AE3E-AA785ABD1248}'] function _Getdata: IJSBlob; procedure _Setdata(const aValue: IJSBlob); property data: IJSBlob read _Getdata write _Setdata; end; TJSBlobEventInit = class(TJSEventInit,IJSBlobEventInit) Private Protected function _Getdata: IJSBlob; procedure _Setdata(const aValue: IJSBlob); Public constructor create(const aDict : TJSBlobEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBlobEventInit; property data: IJSBlob read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSMultiCacheQueryOptions --------------------------------------------------------------------} TJSMultiCacheQueryOptionsRec = record cacheName: UnicodeString; ignoreSearch: Boolean; ignoreMethod: Boolean; ignoreVary: Boolean; end; IJSMultiCacheQueryOptions = interface(IJSCacheQueryOptions) ['{FE3BDFB0-A74E-375E-9590-7D5DD8469317}'] function _GetcacheName: UnicodeString; procedure _SetcacheName(const aValue: UnicodeString); property cacheName: UnicodeString read _GetcacheName write _SetcacheName; end; TJSMultiCacheQueryOptions = class(TJSCacheQueryOptions,IJSMultiCacheQueryOptions) Private Protected function _GetcacheName: UnicodeString; procedure _SetcacheName(const aValue: UnicodeString); Public constructor create(const aDict : TJSMultiCacheQueryOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMultiCacheQueryOptions; property cacheName: UnicodeString read _GetcacheName write _SetcacheName; end; { -------------------------------------------------------------------- TJSCaretStateChangedEventInit --------------------------------------------------------------------} TJSCaretStateChangedEventInitRec = record collapsed: Boolean; boundingClientRect: TJSDOMRectReadOnly; reason: TCaretChangedReason; caretVisible: Boolean; caretVisuallyVisible: Boolean; selectionVisible: Boolean; selectionEditable: Boolean; selectedTextContent: UnicodeString; clientX: LongInt; clientY: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSCaretStateChangedEventInit = interface(IJSEventInit) ['{99AB811E-675D-340E-8DF8-647B38736C9F}'] function _Getcollapsed: Boolean; function _GetboundingClientRect: IJSDOMRectReadOnly; function _Getreason: TCaretChangedReason; function _GetcaretVisible: Boolean; function _GetcaretVisuallyVisible: Boolean; function _GetselectionVisible: Boolean; function _GetselectionEditable: Boolean; function _GetselectedTextContent: UnicodeString; function _GetclientX: LongInt; function _GetclientY: LongInt; procedure _Setcollapsed(const aValue: Boolean); procedure _SetboundingClientRect(const aValue: IJSDOMRectReadOnly); procedure _Setreason(const aValue: TCaretChangedReason); procedure _SetcaretVisible(const aValue: Boolean); procedure _SetcaretVisuallyVisible(const aValue: Boolean); procedure _SetselectionVisible(const aValue: Boolean); procedure _SetselectionEditable(const aValue: Boolean); procedure _SetselectedTextContent(const aValue: UnicodeString); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); property collapsed: Boolean read _Getcollapsed write _Setcollapsed; property boundingClientRect: IJSDOMRectReadOnly read _GetboundingClientRect write _SetboundingClientRect; property reason: TCaretChangedReason read _Getreason write _Setreason; property caretVisible: Boolean read _GetcaretVisible write _SetcaretVisible; property caretVisuallyVisible: Boolean read _GetcaretVisuallyVisible write _SetcaretVisuallyVisible; property selectionVisible: Boolean read _GetselectionVisible write _SetselectionVisible; property selectionEditable: Boolean read _GetselectionEditable write _SetselectionEditable; property selectedTextContent: UnicodeString read _GetselectedTextContent write _SetselectedTextContent; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; end; TJSCaretStateChangedEventInit = class(TJSEventInit,IJSCaretStateChangedEventInit) Private Protected function _Getcollapsed: Boolean; function _GetboundingClientRect: IJSDOMRectReadOnly; function _Getreason: TCaretChangedReason; function _GetcaretVisible: Boolean; function _GetcaretVisuallyVisible: Boolean; function _GetselectionVisible: Boolean; function _GetselectionEditable: Boolean; function _GetselectedTextContent: UnicodeString; function _GetclientX: LongInt; function _GetclientY: LongInt; procedure _Setcollapsed(const aValue: Boolean); procedure _SetboundingClientRect(const aValue: IJSDOMRectReadOnly); procedure _Setreason(const aValue: TCaretChangedReason); procedure _SetcaretVisible(const aValue: Boolean); procedure _SetcaretVisuallyVisible(const aValue: Boolean); procedure _SetselectionVisible(const aValue: Boolean); procedure _SetselectionEditable(const aValue: Boolean); procedure _SetselectedTextContent(const aValue: UnicodeString); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); Public constructor create(const aDict : TJSCaretStateChangedEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCaretStateChangedEventInit; property collapsed: Boolean read _Getcollapsed write _Setcollapsed; property boundingClientRect: IJSDOMRectReadOnly read _GetboundingClientRect write _SetboundingClientRect; property reason: TCaretChangedReason read _Getreason write _Setreason; property caretVisible: Boolean read _GetcaretVisible write _SetcaretVisible; property caretVisuallyVisible: Boolean read _GetcaretVisuallyVisible write _SetcaretVisuallyVisible; property selectionVisible: Boolean read _GetselectionVisible write _SetselectionVisible; property selectionEditable: Boolean read _GetselectionEditable write _SetselectionEditable; property selectedTextContent: UnicodeString read _GetselectedTextContent write _SetselectedTextContent; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; end; { -------------------------------------------------------------------- TJSChannelMergerOptions --------------------------------------------------------------------} TJSChannelMergerOptionsRec = record numberOfInputs: Cardinal; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSChannelMergerOptions = interface(IJSAudioNodeOptions) ['{FA8A8FA2-3356-394E-9BEC-85E8822B14DE}'] function _GetnumberOfInputs: Cardinal; procedure _SetnumberOfInputs(const aValue: Cardinal); property numberOfInputs: Cardinal read _GetnumberOfInputs write _SetnumberOfInputs; end; TJSChannelMergerOptions = class(TJSAudioNodeOptions,IJSChannelMergerOptions) Private Protected function _GetnumberOfInputs: Cardinal; procedure _SetnumberOfInputs(const aValue: Cardinal); Public constructor create(const aDict : TJSChannelMergerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChannelMergerOptions; property numberOfInputs: Cardinal read _GetnumberOfInputs write _SetnumberOfInputs; end; { -------------------------------------------------------------------- TJSChannelSplitterOptions --------------------------------------------------------------------} TJSChannelSplitterOptionsRec = record numberOfOutputs: Cardinal; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSChannelSplitterOptions = interface(IJSAudioNodeOptions) ['{1010F919-7282-3061-A1C0-FCFC70A56D85}'] function _GetnumberOfOutputs: Cardinal; procedure _SetnumberOfOutputs(const aValue: Cardinal); property numberOfOutputs: Cardinal read _GetnumberOfOutputs write _SetnumberOfOutputs; end; TJSChannelSplitterOptions = class(TJSAudioNodeOptions,IJSChannelSplitterOptions) Private Protected function _GetnumberOfOutputs: Cardinal; procedure _SetnumberOfOutputs(const aValue: Cardinal); Public constructor create(const aDict : TJSChannelSplitterOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChannelSplitterOptions; property numberOfOutputs: Cardinal read _GetnumberOfOutputs write _SetnumberOfOutputs; end; { -------------------------------------------------------------------- TJSClipboardEventInit --------------------------------------------------------------------} TJSClipboardEventInitRec = record data: UnicodeString; dataType: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSClipboardEventInit = interface(IJSEventInit) ['{39EFEBED-83EE-3705-899B-4B371FD3392D}'] function _Getdata: UnicodeString; function _GetdataType: UnicodeString; procedure _Setdata(const aValue: UnicodeString); procedure _SetdataType(const aValue: UnicodeString); property data: UnicodeString read _Getdata write _Setdata; property dataType: UnicodeString read _GetdataType write _SetdataType; end; TJSClipboardEventInit = class(TJSEventInit,IJSClipboardEventInit) Private Protected function _Getdata: UnicodeString; function _GetdataType: UnicodeString; procedure _Setdata(const aValue: UnicodeString); procedure _SetdataType(const aValue: UnicodeString); Public constructor create(const aDict : TJSClipboardEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClipboardEventInit; property data: UnicodeString read _Getdata write _Setdata; property dataType: UnicodeString read _GetdataType write _SetdataType; end; { -------------------------------------------------------------------- TJSCloseEventInit --------------------------------------------------------------------} TJSCloseEventInitRec = record wasClean: Boolean; code: Word; reason: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSCloseEventInit = interface(IJSEventInit) ['{23E6DDB2-F7C9-34F4-AF8E-FD52CE8A1893}'] function _GetwasClean: Boolean; function _Getcode: Word; function _Getreason: UnicodeString; procedure _SetwasClean(const aValue: Boolean); procedure _Setcode(const aValue: Word); procedure _Setreason(const aValue: UnicodeString); property wasClean: Boolean read _GetwasClean write _SetwasClean; property code: Word read _Getcode write _Setcode; property reason: UnicodeString read _Getreason write _Setreason; end; TJSCloseEventInit = class(TJSEventInit,IJSCloseEventInit) Private Protected function _GetwasClean: Boolean; function _Getcode: Word; function _Getreason: UnicodeString; procedure _SetwasClean(const aValue: Boolean); procedure _Setcode(const aValue: Word); procedure _Setreason(const aValue: UnicodeString); Public constructor create(const aDict : TJSCloseEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCloseEventInit; property wasClean: Boolean read _GetwasClean write _SetwasClean; property code: Word read _Getcode write _Setcode; property reason: UnicodeString read _Getreason write _Setreason; end; { -------------------------------------------------------------------- TJSContentVisibilityAutoStateChangeEventInit --------------------------------------------------------------------} TJSContentVisibilityAutoStateChangeEventInitRec = record skipped: Boolean; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSContentVisibilityAutoStateChangeEventInit = interface(IJSEventInit) ['{16ACC5F9-486E-3278-962F-9D29547E15BE}'] function _Getskipped: Boolean; procedure _Setskipped(const aValue: Boolean); property skipped: Boolean read _Getskipped write _Setskipped; end; TJSContentVisibilityAutoStateChangeEventInit = class(TJSEventInit,IJSContentVisibilityAutoStateChangeEventInit) Private Protected function _Getskipped: Boolean; procedure _Setskipped(const aValue: Boolean); Public constructor create(const aDict : TJSContentVisibilityAutoStateChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSContentVisibilityAutoStateChangeEventInit; property skipped: Boolean read _Getskipped write _Setskipped; end; { -------------------------------------------------------------------- TJSConvolverOptions --------------------------------------------------------------------} TJSConvolverOptionsRec = record buffer: TJSAudioBuffer; disableNormalization: Boolean; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSConvolverOptions = interface(IJSAudioNodeOptions) ['{8705A458-DADD-38F7-BDD3-98A91919FBF2}'] function _Getbuffer: IJSAudioBuffer; function _GetdisableNormalization: Boolean; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _SetdisableNormalization(const aValue: Boolean); property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property disableNormalization: Boolean read _GetdisableNormalization write _SetdisableNormalization; end; TJSConvolverOptions = class(TJSAudioNodeOptions,IJSConvolverOptions) Private Protected function _Getbuffer: IJSAudioBuffer; function _GetdisableNormalization: Boolean; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _SetdisableNormalization(const aValue: Boolean); Public constructor create(const aDict : TJSConvolverOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConvolverOptions; property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property disableNormalization: Boolean read _GetdisableNormalization write _SetdisableNormalization; end; { -------------------------------------------------------------------- TJSCustomEventInit --------------------------------------------------------------------} TJSCustomEventInitRec = record detail: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSCustomEventInit = interface(IJSEventInit) ['{6C6B83A3-54CA-35CE-A218-8FE99D96EC5D}'] function _Getdetail: Variant; procedure _Setdetail(const aValue: Variant); property detail: Variant read _Getdetail write _Setdetail; end; TJSCustomEventInit = class(TJSEventInit,IJSCustomEventInit) Private Protected function _Getdetail: Variant; procedure _Setdetail(const aValue: Variant); Public constructor create(const aDict : TJSCustomEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCustomEventInit; property detail: Variant read _Getdetail write _Setdetail; end; { -------------------------------------------------------------------- TJSDelayOptions --------------------------------------------------------------------} TJSDelayOptionsRec = record maxDelayTime: Double; delayTime: Double; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSDelayOptions = interface(IJSAudioNodeOptions) ['{6C619840-6763-38D3-AEDE-9951662B11F0}'] function _GetmaxDelayTime: Double; function _GetdelayTime: Double; procedure _SetmaxDelayTime(const aValue: Double); procedure _SetdelayTime(const aValue: Double); property maxDelayTime: Double read _GetmaxDelayTime write _SetmaxDelayTime; property delayTime: Double read _GetdelayTime write _SetdelayTime; end; TJSDelayOptions = class(TJSAudioNodeOptions,IJSDelayOptions) Private Protected function _GetmaxDelayTime: Double; function _GetdelayTime: Double; procedure _SetmaxDelayTime(const aValue: Double); procedure _SetdelayTime(const aValue: Double); Public constructor create(const aDict : TJSDelayOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDelayOptions; property maxDelayTime: Double read _GetmaxDelayTime write _SetmaxDelayTime; property delayTime: Double read _GetdelayTime write _SetdelayTime; end; { -------------------------------------------------------------------- TJSDeviceLightEventInit --------------------------------------------------------------------} TJSDeviceLightEventInitRec = record value: Double; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSDeviceLightEventInit = interface(IJSEventInit) ['{C382190B-A3C8-3D57-BDDF-66D10C46F34F}'] function _Getvalue: Double; procedure _Setvalue(const aValue: Double); property value: Double read _Getvalue write _Setvalue; end; TJSDeviceLightEventInit = class(TJSEventInit,IJSDeviceLightEventInit) Private Protected function _Getvalue: Double; procedure _Setvalue(const aValue: Double); Public constructor create(const aDict : TJSDeviceLightEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceLightEventInit; property value: Double read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSDeviceMotionEventInit --------------------------------------------------------------------} TJSDeviceMotionEventInitRec = record acceleration: TJSDeviceAccelerationInit; accelerationIncludingGravity: TJSDeviceAccelerationInit; rotationRate: TJSDeviceRotationRateInit; interval: Double; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSDeviceMotionEventInit = interface(IJSEventInit) ['{F4C15B75-0548-32DE-ADD3-B90861BEA806}'] function _Getacceleration: IJSDeviceAccelerationInit; function _GetaccelerationIncludingGravity: IJSDeviceAccelerationInit; function _GetrotationRate: IJSDeviceRotationRateInit; function _Getinterval: Double; procedure _Setacceleration(const aValue: IJSDeviceAccelerationInit); procedure _SetaccelerationIncludingGravity(const aValue: IJSDeviceAccelerationInit); procedure _SetrotationRate(const aValue: IJSDeviceRotationRateInit); procedure _Setinterval(const aValue: Double); property acceleration: IJSDeviceAccelerationInit read _Getacceleration write _Setacceleration; property accelerationIncludingGravity: IJSDeviceAccelerationInit read _GetaccelerationIncludingGravity write _SetaccelerationIncludingGravity; property rotationRate: IJSDeviceRotationRateInit read _GetrotationRate write _SetrotationRate; property interval: Double read _Getinterval write _Setinterval; end; TJSDeviceMotionEventInit = class(TJSEventInit,IJSDeviceMotionEventInit) Private Protected function _Getacceleration: IJSDeviceAccelerationInit; function _GetaccelerationIncludingGravity: IJSDeviceAccelerationInit; function _GetrotationRate: IJSDeviceRotationRateInit; function _Getinterval: Double; procedure _Setacceleration(const aValue: IJSDeviceAccelerationInit); procedure _SetaccelerationIncludingGravity(const aValue: IJSDeviceAccelerationInit); procedure _SetrotationRate(const aValue: IJSDeviceRotationRateInit); procedure _Setinterval(const aValue: Double); Public constructor create(const aDict : TJSDeviceMotionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceMotionEventInit; property acceleration: IJSDeviceAccelerationInit read _Getacceleration write _Setacceleration; property accelerationIncludingGravity: IJSDeviceAccelerationInit read _GetaccelerationIncludingGravity write _SetaccelerationIncludingGravity; property rotationRate: IJSDeviceRotationRateInit read _GetrotationRate write _SetrotationRate; property interval: Double read _Getinterval write _Setinterval; end; { -------------------------------------------------------------------- TJSDeviceOrientationEventInit --------------------------------------------------------------------} TJSDeviceOrientationEventInitRec = record alpha: Double; beta: Double; gamma: Double; absolute_: Boolean; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSDeviceOrientationEventInit = interface(IJSEventInit) ['{39D7C6DE-F110-327A-BCDC-4899F1B2C971}'] function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; function _Getabsolute_: Boolean; procedure _Setalpha(const aValue: Double); procedure _Setbeta(const aValue: Double); procedure _Setgamma(const aValue: Double); procedure _Setabsolute_(const aValue: Boolean); property alpha: Double read _Getalpha write _Setalpha; property beta: Double read _Getbeta write _Setbeta; property gamma: Double read _Getgamma write _Setgamma; property absolute_: Boolean read _Getabsolute_ write _Setabsolute_; end; TJSDeviceOrientationEventInit = class(TJSEventInit,IJSDeviceOrientationEventInit) Private Protected function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; function _Getabsolute_: Boolean; procedure _Setalpha(const aValue: Double); procedure _Setbeta(const aValue: Double); procedure _Setgamma(const aValue: Double); procedure _Setabsolute_(const aValue: Boolean); Public constructor create(const aDict : TJSDeviceOrientationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceOrientationEventInit; property alpha: Double read _Getalpha write _Setalpha; property beta: Double read _Getbeta write _Setbeta; property gamma: Double read _Getgamma write _Setgamma; property absolute_: Boolean read _Getabsolute_ write _Setabsolute_; end; { -------------------------------------------------------------------- TJSDOMMatrixInit --------------------------------------------------------------------} TJSDOMMatrixInitRec = record m13: Double; m14: Double; m23: Double; m24: Double; m31: Double; m32: Double; m33: Double; m34: Double; m43: Double; m44: Double; is2D: Boolean; a: Double; b: Double; c: Double; d: Double; e: Double; f: Double; m11: Double; m12: Double; m21: Double; m22: Double; m41: Double; m42: Double; end; IJSDOMMatrixInit = interface(IJSDOMMatrix2DInit) ['{FD912603-3C59-3C9C-AA68-D52267291B0B}'] function _Getm13: Double; function _Getm14: Double; function _Getm23: Double; function _Getm24: Double; function _Getm31: Double; function _Getm32: Double; function _Getm33: Double; function _Getm34: Double; function _Getm43: Double; function _Getm44: Double; function _Getis2D: Boolean; procedure _Setm13(const aValue: Double); procedure _Setm14(const aValue: Double); procedure _Setm23(const aValue: Double); procedure _Setm24(const aValue: Double); procedure _Setm31(const aValue: Double); procedure _Setm32(const aValue: Double); procedure _Setm33(const aValue: Double); procedure _Setm34(const aValue: Double); procedure _Setm43(const aValue: Double); procedure _Setm44(const aValue: Double); procedure _Setis2D(const aValue: Boolean); property m13: Double read _Getm13 write _Setm13; property m14: Double read _Getm14 write _Setm14; property m23: Double read _Getm23 write _Setm23; property m24: Double read _Getm24 write _Setm24; property m31: Double read _Getm31 write _Setm31; property m32: Double read _Getm32 write _Setm32; property m33: Double read _Getm33 write _Setm33; property m34: Double read _Getm34 write _Setm34; property m43: Double read _Getm43 write _Setm43; property m44: Double read _Getm44 write _Setm44; property is2D: Boolean read _Getis2D write _Setis2D; end; TJSDOMMatrixInit = class(TJSDOMMatrix2DInit,IJSDOMMatrixInit) Private Protected function _Getm13: Double; function _Getm14: Double; function _Getm23: Double; function _Getm24: Double; function _Getm31: Double; function _Getm32: Double; function _Getm33: Double; function _Getm34: Double; function _Getm43: Double; function _Getm44: Double; function _Getis2D: Boolean; procedure _Setm13(const aValue: Double); procedure _Setm14(const aValue: Double); procedure _Setm23(const aValue: Double); procedure _Setm24(const aValue: Double); procedure _Setm31(const aValue: Double); procedure _Setm32(const aValue: Double); procedure _Setm33(const aValue: Double); procedure _Setm34(const aValue: Double); procedure _Setm43(const aValue: Double); procedure _Setm44(const aValue: Double); procedure _Setis2D(const aValue: Boolean); Public constructor create(const aDict : TJSDOMMatrixInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMMatrixInit; property m13: Double read _Getm13 write _Setm13; property m14: Double read _Getm14 write _Setm14; property m23: Double read _Getm23 write _Setm23; property m24: Double read _Getm24 write _Setm24; property m31: Double read _Getm31 write _Setm31; property m32: Double read _Getm32 write _Setm32; property m33: Double read _Getm33 write _Setm33; property m34: Double read _Getm34 write _Setm34; property m43: Double read _Getm43 write _Setm43; property m44: Double read _Getm44 write _Setm44; property is2D: Boolean read _Getis2D write _Setis2D; end; { -------------------------------------------------------------------- TJSDynamicsCompressorOptions --------------------------------------------------------------------} TJSDynamicsCompressorOptionsRec = record attack: Single; knee: Single; ratio: Single; release: Single; threshold: Single; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSDynamicsCompressorOptions = interface(IJSAudioNodeOptions) ['{CCC36461-AF88-3855-9BDF-DCA8D0759E19}'] function _Getattack: Single; function _Getknee: Single; function _Getratio: Single; function _Getrelease: Single; function _Getthreshold: Single; procedure _Setattack(const aValue: Single); procedure _Setknee(const aValue: Single); procedure _Setratio(const aValue: Single); procedure _Setrelease(const aValue: Single); procedure _Setthreshold(const aValue: Single); property attack: Single read _Getattack write _Setattack; property knee: Single read _Getknee write _Setknee; property ratio: Single read _Getratio write _Setratio; property release: Single read _Getrelease write _Setrelease; property threshold: Single read _Getthreshold write _Setthreshold; end; TJSDynamicsCompressorOptions = class(TJSAudioNodeOptions,IJSDynamicsCompressorOptions) Private Protected function _Getattack: Single; function _Getknee: Single; function _Getratio: Single; function _Getrelease: Single; function _Getthreshold: Single; procedure _Setattack(const aValue: Single); procedure _Setknee(const aValue: Single); procedure _Setratio(const aValue: Single); procedure _Setrelease(const aValue: Single); procedure _Setthreshold(const aValue: Single); Public constructor create(const aDict : TJSDynamicsCompressorOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDynamicsCompressorOptions; property attack: Single read _Getattack write _Setattack; property knee: Single read _Getknee write _Setknee; property ratio: Single read _Getratio write _Setratio; property release: Single read _Getrelease write _Setrelease; property threshold: Single read _Getthreshold write _Setthreshold; end; { -------------------------------------------------------------------- TJSScrollIntoViewOptions --------------------------------------------------------------------} TJSScrollIntoViewOptionsRec = record block: TScrollLogicalPosition; inline_: TScrollLogicalPosition; behavior: TScrollBehavior; end; IJSScrollIntoViewOptions = interface(IJSScrollOptions) ['{FA1BE992-78E4-3433-B258-C6CD2E99ED34}'] function _Getblock: TScrollLogicalPosition; function _Getinline_: TScrollLogicalPosition; procedure _Setblock(const aValue: TScrollLogicalPosition); procedure _Setinline_(const aValue: TScrollLogicalPosition); property block: TScrollLogicalPosition read _Getblock write _Setblock; property inline_: TScrollLogicalPosition read _Getinline_ write _Setinline_; end; TJSScrollIntoViewOptions = class(TJSScrollOptions,IJSScrollIntoViewOptions) Private Protected function _Getblock: TScrollLogicalPosition; function _Getinline_: TScrollLogicalPosition; procedure _Setblock(const aValue: TScrollLogicalPosition); procedure _Setinline_(const aValue: TScrollLogicalPosition); Public constructor create(const aDict : TJSScrollIntoViewOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollIntoViewOptions; property block: TScrollLogicalPosition read _Getblock write _Setblock; property inline_: TScrollLogicalPosition read _Getinline_ write _Setinline_; end; { -------------------------------------------------------------------- TJSErrorEventInit --------------------------------------------------------------------} TJSErrorEventInitRec = record message: UnicodeString; filename: UnicodeString; lineno: Cardinal; colno: Cardinal; error: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSErrorEventInit = interface(IJSEventInit) ['{3CA804B9-546A-3C80-B26D-C4F4FD0D8230}'] function _Getmessage: UnicodeString; function _Getfilename: UnicodeString; function _Getlineno: Cardinal; function _Getcolno: Cardinal; function _Geterror: Variant; procedure _Setmessage(const aValue: UnicodeString); procedure _Setfilename(const aValue: UnicodeString); procedure _Setlineno(const aValue: Cardinal); procedure _Setcolno(const aValue: Cardinal); procedure _Seterror(const aValue: Variant); property message: UnicodeString read _Getmessage write _Setmessage; property filename: UnicodeString read _Getfilename write _Setfilename; property lineno: Cardinal read _Getlineno write _Setlineno; property colno: Cardinal read _Getcolno write _Setcolno; property error: Variant read _Geterror write _Seterror; end; TJSErrorEventInit = class(TJSEventInit,IJSErrorEventInit) Private Protected function _Getmessage: UnicodeString; function _Getfilename: UnicodeString; function _Getlineno: Cardinal; function _Getcolno: Cardinal; function _Geterror: Variant; procedure _Setmessage(const aValue: UnicodeString); procedure _Setfilename(const aValue: UnicodeString); procedure _Setlineno(const aValue: Cardinal); procedure _Setcolno(const aValue: Cardinal); procedure _Seterror(const aValue: Variant); Public constructor create(const aDict : TJSErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSErrorEventInit; property message: UnicodeString read _Getmessage write _Setmessage; property filename: UnicodeString read _Getfilename write _Setfilename; property lineno: Cardinal read _Getlineno write _Setlineno; property colno: Cardinal read _Getcolno write _Setcolno; property error: Variant read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSAddEventListenerOptions --------------------------------------------------------------------} TJSAddEventListenerOptionsRec = record passive: Boolean; once: Boolean; signal: TJSAbortSignal; capture: Boolean; mozSystemGroup: Boolean; end; IJSAddEventListenerOptions = interface(IJSEventListenerOptions) ['{2376D6B1-09A4-3D0E-8366-20CC115E8DCE}'] function _Getpassive: Boolean; function _Getonce: Boolean; function _Getsignal: IJSAbortSignal; procedure _Setpassive(const aValue: Boolean); procedure _Setonce(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); property passive: Boolean read _Getpassive write _Setpassive; property once: Boolean read _Getonce write _Setonce; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; TJSAddEventListenerOptions = class(TJSEventListenerOptions,IJSAddEventListenerOptions) Private Protected function _Getpassive: Boolean; function _Getonce: Boolean; function _Getsignal: IJSAbortSignal; procedure _Setpassive(const aValue: Boolean); procedure _Setonce(const aValue: Boolean); procedure _Setsignal(const aValue: IJSAbortSignal); Public constructor create(const aDict : TJSAddEventListenerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAddEventListenerOptions; property passive: Boolean read _Getpassive write _Setpassive; property once: Boolean read _Getonce write _Setonce; property signal: IJSAbortSignal read _Getsignal write _Setsignal; end; { -------------------------------------------------------------------- TJSExtendableEventInit --------------------------------------------------------------------} TJSExtendableEventInitRec = record bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSExtendableEventInit = interface(IJSEventInit) ['{7D9DE1FD-3FCC-3F47-B869-FA5FC6FD9D1A}'] end; TJSExtendableEventInit = class(TJSEventInit,IJSExtendableEventInit) Private Protected Public constructor create(const aDict : TJSExtendableEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtendableEventInit; end; { -------------------------------------------------------------------- TJSFetchEventInit --------------------------------------------------------------------} TJSFetchEventInitRec = record request: TJSRequest; clientId: UnicodeString; resultingClientId: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSFetchEventInit = interface(IJSEventInit) ['{94CB606B-82E1-3698-B4AE-7197F0A93930}'] function _Getrequest: IJSRequest; function _GetclientId: UnicodeString; function _GetresultingClientId: UnicodeString; procedure _Setrequest(const aValue: IJSRequest); procedure _SetclientId(const aValue: UnicodeString); procedure _SetresultingClientId(const aValue: UnicodeString); property request: IJSRequest read _Getrequest write _Setrequest; property clientId: UnicodeString read _GetclientId write _SetclientId; property resultingClientId: UnicodeString read _GetresultingClientId write _SetresultingClientId; end; TJSFetchEventInit = class(TJSEventInit,IJSFetchEventInit) Private Protected function _Getrequest: IJSRequest; function _GetclientId: UnicodeString; function _GetresultingClientId: UnicodeString; procedure _Setrequest(const aValue: IJSRequest); procedure _SetclientId(const aValue: UnicodeString); procedure _SetresultingClientId(const aValue: UnicodeString); Public constructor create(const aDict : TJSFetchEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFetchEventInit; property request: IJSRequest read _Getrequest write _Setrequest; property clientId: UnicodeString read _GetclientId write _SetclientId; property resultingClientId: UnicodeString read _GetresultingClientId write _SetresultingClientId; end; { -------------------------------------------------------------------- TJSFilePropertyBag --------------------------------------------------------------------} TJSFilePropertyBagRec = record lastModified: Int64; type_: UnicodeString; endings: TEndingType; end; IJSFilePropertyBag = interface(IJSBlobPropertyBag) ['{A2FF8109-E4B9-3F9F-91F6-F25DCC5276DF}'] function _GetlastModified: Int64; procedure _SetlastModified(const aValue: Int64); property lastModified: Int64 read _GetlastModified write _SetlastModified; end; TJSFilePropertyBag = class(TJSBlobPropertyBag,IJSFilePropertyBag) Private Protected function _GetlastModified: Int64; procedure _SetlastModified(const aValue: Int64); Public constructor create(const aDict : TJSFilePropertyBagRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFilePropertyBag; property lastModified: Int64 read _GetlastModified write _SetlastModified; end; { -------------------------------------------------------------------- TJSFontFaceSetLoadEventInit --------------------------------------------------------------------} TJSFontFaceDynArray = IJSArray; // array of FontFace TJSFontFaceSetLoadEventInitRec = record fontfaces: TJSFontFaceDynArray; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSFontFaceSetLoadEventInit = interface(IJSEventInit) ['{D87F8A67-EDDA-388D-A149-4B1C347A2DE3}'] function _Getfontfaces: TJSFontFaceDynArray; procedure _Setfontfaces(const aValue: TJSFontFaceDynArray); property fontfaces: TJSFontFaceDynArray read _Getfontfaces write _Setfontfaces; end; TJSFontFaceSetLoadEventInit = class(TJSEventInit,IJSFontFaceSetLoadEventInit) Private Protected function _Getfontfaces: TJSFontFaceDynArray; procedure _Setfontfaces(const aValue: TJSFontFaceDynArray); Public constructor create(const aDict : TJSFontFaceSetLoadEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSetLoadEventInit; property fontfaces: TJSFontFaceDynArray read _Getfontfaces write _Setfontfaces; end; { -------------------------------------------------------------------- TJSFormDataEventInit --------------------------------------------------------------------} TJSFormDataEventInitRec = record formData: TJSFormData; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSFormDataEventInit = interface(IJSEventInit) ['{1D0F081A-36FE-39F0-AFE6-8523FAA4B537}'] function _GetformData: IJSFormData; procedure _SetformData(const aValue: IJSFormData); property formData: IJSFormData read _GetformData write _SetformData; end; TJSFormDataEventInit = class(TJSEventInit,IJSFormDataEventInit) Private Protected function _GetformData: IJSFormData; procedure _SetformData(const aValue: IJSFormData); Public constructor create(const aDict : TJSFormDataEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFormDataEventInit; property formData: IJSFormData read _GetformData write _SetformData; end; { -------------------------------------------------------------------- TJSFrameCrashedEventInit --------------------------------------------------------------------} TJSFrameCrashedEventInitRec = record browsingContextId: QWord; isTopFrame: Boolean; childID: QWord; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSFrameCrashedEventInit = interface(IJSEventInit) ['{8E5A89F9-0864-3CC5-B9F7-DCF95ED10B5C}'] function _GetbrowsingContextId: QWord; function _GetisTopFrame: Boolean; function _GetchildID: QWord; procedure _SetbrowsingContextId(const aValue: QWord); procedure _SetisTopFrame(const aValue: Boolean); procedure _SetchildID(const aValue: QWord); property browsingContextId: QWord read _GetbrowsingContextId write _SetbrowsingContextId; property isTopFrame: Boolean read _GetisTopFrame write _SetisTopFrame; property childID: QWord read _GetchildID write _SetchildID; end; TJSFrameCrashedEventInit = class(TJSEventInit,IJSFrameCrashedEventInit) Private Protected function _GetbrowsingContextId: QWord; function _GetisTopFrame: Boolean; function _GetchildID: QWord; procedure _SetbrowsingContextId(const aValue: QWord); procedure _SetisTopFrame(const aValue: Boolean); procedure _SetchildID(const aValue: QWord); Public constructor create(const aDict : TJSFrameCrashedEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFrameCrashedEventInit; property browsingContextId: QWord read _GetbrowsingContextId write _SetbrowsingContextId; property isTopFrame: Boolean read _GetisTopFrame write _SetisTopFrame; property childID: QWord read _GetchildID write _SetchildID; end; { -------------------------------------------------------------------- TJSGainOptions --------------------------------------------------------------------} TJSGainOptionsRec = record gain: Single; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSGainOptions = interface(IJSAudioNodeOptions) ['{B5DFF4C6-49C0-3F44-BFDA-F34A43A09ABA}'] function _Getgain: Single; procedure _Setgain(const aValue: Single); property gain: Single read _Getgain write _Setgain; end; TJSGainOptions = class(TJSAudioNodeOptions,IJSGainOptions) Private Protected function _Getgain: Single; procedure _Setgain(const aValue: Single); Public constructor create(const aDict : TJSGainOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGainOptions; property gain: Single read _Getgain write _Setgain; end; { -------------------------------------------------------------------- TJSGamepadEventInit --------------------------------------------------------------------} TJSGamepadEventInitRec = record gamepad: TJSGamepad; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSGamepadEventInit = interface(IJSEventInit) ['{B5CBB808-6A4B-3C34-BA2D-E37E53F4B1CA}'] function _Getgamepad: IJSGamepad; procedure _Setgamepad(const aValue: IJSGamepad); property gamepad: IJSGamepad read _Getgamepad write _Setgamepad; end; TJSGamepadEventInit = class(TJSEventInit,IJSGamepadEventInit) Private Protected function _Getgamepad: IJSGamepad; procedure _Setgamepad(const aValue: IJSGamepad); Public constructor create(const aDict : TJSGamepadEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadEventInit; property gamepad: IJSGamepad read _Getgamepad write _Setgamepad; end; { -------------------------------------------------------------------- TJSGPUUncapturedErrorEventInit --------------------------------------------------------------------} TJSGPUUncapturedErrorEventInitRec = record error: TJSGPUError; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSGPUUncapturedErrorEventInit = interface(IJSEventInit) ['{BAF29506-F9AC-340F-B535-D81F7D3869FA}'] function _Geterror: IJSGPUError; procedure _Seterror(const aValue: IJSGPUError); property error: IJSGPUError read _Geterror write _Seterror; end; TJSGPUUncapturedErrorEventInit = class(TJSEventInit,IJSGPUUncapturedErrorEventInit) Private Protected function _Geterror: IJSGPUError; procedure _Seterror(const aValue: IJSGPUError); Public constructor create(const aDict : TJSGPUUncapturedErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUUncapturedErrorEventInit; property error: IJSGPUError read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSHashChangeEventInit --------------------------------------------------------------------} TJSHashChangeEventInitRec = record oldURL: UnicodeString; newURL: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSHashChangeEventInit = interface(IJSEventInit) ['{097B91F6-1357-3977-B869-FA5FC6FDA8FC}'] function _GetoldURL: UnicodeString; function _GetnewURL: UnicodeString; procedure _SetoldURL(const aValue: UnicodeString); procedure _SetnewURL(const aValue: UnicodeString); property oldURL: UnicodeString read _GetoldURL write _SetoldURL; property newURL: UnicodeString read _GetnewURL write _SetnewURL; end; TJSHashChangeEventInit = class(TJSEventInit,IJSHashChangeEventInit) Private Protected function _GetoldURL: UnicodeString; function _GetnewURL: UnicodeString; procedure _SetoldURL(const aValue: UnicodeString); procedure _SetnewURL(const aValue: UnicodeString); Public constructor create(const aDict : TJSHashChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHashChangeEventInit; property oldURL: UnicodeString read _GetoldURL write _SetoldURL; property newURL: UnicodeString read _GetnewURL write _SetnewURL; end; { -------------------------------------------------------------------- TJSIDBVersionChangeEventInit --------------------------------------------------------------------} TJSIDBVersionChangeEventInitRec = record oldVersion: QWord; newVersion: QWord; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSIDBVersionChangeEventInit = interface(IJSEventInit) ['{7D245604-E510-3280-B292-887C155C7FAD}'] function _GetoldVersion: QWord; function _GetnewVersion: QWord; procedure _SetoldVersion(const aValue: QWord); procedure _SetnewVersion(const aValue: QWord); property oldVersion: QWord read _GetoldVersion write _SetoldVersion; property newVersion: QWord read _GetnewVersion write _SetnewVersion; end; TJSIDBVersionChangeEventInit = class(TJSEventInit,IJSIDBVersionChangeEventInit) Private Protected function _GetoldVersion: QWord; function _GetnewVersion: QWord; procedure _SetoldVersion(const aValue: QWord); procedure _SetnewVersion(const aValue: QWord); Public constructor create(const aDict : TJSIDBVersionChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBVersionChangeEventInit; property oldVersion: QWord read _GetoldVersion write _SetoldVersion; property newVersion: QWord read _GetnewVersion write _SetnewVersion; end; { -------------------------------------------------------------------- TJSIIRFilterOptions --------------------------------------------------------------------} TDoubleDynArray = IJSArray; // array of double TJSIIRFilterOptionsRec = record feedforward: TDoubleDynArray; feedback: TDoubleDynArray; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSIIRFilterOptions = interface(IJSAudioNodeOptions) ['{2A78F2D9-4DE8-3C4A-9E83-B936AD9F2222}'] function _Getfeedforward: TDoubleDynArray; function _Getfeedback: TDoubleDynArray; procedure _Setfeedforward(const aValue: TDoubleDynArray); procedure _Setfeedback(const aValue: TDoubleDynArray); property feedforward: TDoubleDynArray read _Getfeedforward write _Setfeedforward; property feedback: TDoubleDynArray read _Getfeedback write _Setfeedback; end; TJSIIRFilterOptions = class(TJSAudioNodeOptions,IJSIIRFilterOptions) Private Protected function _Getfeedforward: TDoubleDynArray; function _Getfeedback: TDoubleDynArray; procedure _Setfeedforward(const aValue: TDoubleDynArray); procedure _Setfeedback(const aValue: TDoubleDynArray); Public constructor create(const aDict : TJSIIRFilterOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIIRFilterOptions; property feedforward: TDoubleDynArray read _Getfeedforward write _Setfeedforward; property feedback: TDoubleDynArray read _Getfeedback write _Setfeedback; end; { -------------------------------------------------------------------- TJSImageCaptureErrorEventInit --------------------------------------------------------------------} TJSImageCaptureErrorEventInitRec = record imageCaptureError: TJSImageCaptureError; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSImageCaptureErrorEventInit = interface(IJSEventInit) ['{9149994A-C8E2-3CDF-B408-95D1971E1B4B}'] function _GetimageCaptureError: IJSImageCaptureError; procedure _SetimageCaptureError(const aValue: IJSImageCaptureError); property imageCaptureError: IJSImageCaptureError read _GetimageCaptureError write _SetimageCaptureError; end; TJSImageCaptureErrorEventInit = class(TJSEventInit,IJSImageCaptureErrorEventInit) Private Protected function _GetimageCaptureError: IJSImageCaptureError; procedure _SetimageCaptureError(const aValue: IJSImageCaptureError); Public constructor create(const aDict : TJSImageCaptureErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageCaptureErrorEventInit; property imageCaptureError: IJSImageCaptureError read _GetimageCaptureError write _SetimageCaptureError; end; { -------------------------------------------------------------------- TJSInvokeEventInit --------------------------------------------------------------------} TJSInvokeEventInitRec = record invoker: TJSElement; action: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSInvokeEventInit = interface(IJSEventInit) ['{A21E16C1-40AA-35CE-A218-8FE99C34EE69}'] function _Getinvoker: IJSElement; function _Getaction: UnicodeString; procedure _Setinvoker(const aValue: IJSElement); procedure _Setaction(const aValue: UnicodeString); property invoker: IJSElement read _Getinvoker write _Setinvoker; property action: UnicodeString read _Getaction write _Setaction; end; TJSInvokeEventInit = class(TJSEventInit,IJSInvokeEventInit) Private Protected function _Getinvoker: IJSElement; function _Getaction: UnicodeString; procedure _Setinvoker(const aValue: IJSElement); procedure _Setaction(const aValue: UnicodeString); Public constructor create(const aDict : TJSInvokeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInvokeEventInit; property invoker: IJSElement read _Getinvoker write _Setinvoker; property action: UnicodeString read _Getaction write _Setaction; end; { -------------------------------------------------------------------- TJSAesKeyAlgorithm --------------------------------------------------------------------} TJSAesKeyAlgorithmRec = record length_: Word; name: UnicodeString; end; IJSAesKeyAlgorithm = interface(IJSKeyAlgorithm) ['{BFC85B9E-2A34-3B38-BC28-B4F799FDAF15}'] function _Getlength_: Word; procedure _Setlength_(const aValue: Word); property length_: Word read _Getlength_ write _Setlength_; end; TJSAesKeyAlgorithm = class(TJSKeyAlgorithm,IJSAesKeyAlgorithm) Private Protected function _Getlength_: Word; procedure _Setlength_(const aValue: Word); Public constructor create(const aDict : TJSAesKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesKeyAlgorithm; property length_: Word read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSEcKeyAlgorithm --------------------------------------------------------------------} TJSEcKeyAlgorithmRec = record namedCurve: UnicodeString; name: UnicodeString; end; IJSEcKeyAlgorithm = interface(IJSKeyAlgorithm) ['{24A8BCEC-03B5-3466-8192-9E325DF26DC9}'] function _GetnamedCurve: UnicodeString; procedure _SetnamedCurve(const aValue: UnicodeString); property namedCurve: UnicodeString read _GetnamedCurve write _SetnamedCurve; end; TJSEcKeyAlgorithm = class(TJSKeyAlgorithm,IJSEcKeyAlgorithm) Private Protected function _GetnamedCurve: UnicodeString; procedure _SetnamedCurve(const aValue: UnicodeString); Public constructor create(const aDict : TJSEcKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEcKeyAlgorithm; property namedCurve: UnicodeString read _GetnamedCurve write _SetnamedCurve; end; { -------------------------------------------------------------------- TJSHmacKeyAlgorithm --------------------------------------------------------------------} TJSHmacKeyAlgorithmRec = record hash: TJSKeyAlgorithm; length_: Cardinal; name: UnicodeString; end; IJSHmacKeyAlgorithm = interface(IJSKeyAlgorithm) ['{CEE1BA1B-5AE5-3B5F-96FD-65A6CBD6F98F}'] function _Gethash: IJSKeyAlgorithm; function _Getlength_: Cardinal; procedure _Sethash(const aValue: IJSKeyAlgorithm); procedure _Setlength_(const aValue: Cardinal); property hash: IJSKeyAlgorithm read _Gethash write _Sethash; property length_: Cardinal read _Getlength_ write _Setlength_; end; TJSHmacKeyAlgorithm = class(TJSKeyAlgorithm,IJSHmacKeyAlgorithm) Private Protected function _Gethash: IJSKeyAlgorithm; function _Getlength_: Cardinal; procedure _Sethash(const aValue: IJSKeyAlgorithm); procedure _Setlength_(const aValue: Cardinal); Public constructor create(const aDict : TJSHmacKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHmacKeyAlgorithm; property hash: IJSKeyAlgorithm read _Gethash write _Sethash; property length_: Cardinal read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSRsaHashedKeyAlgorithm --------------------------------------------------------------------} TJSRsaHashedKeyAlgorithmRec = record modulusLength: Word; publicExponent: IJSUint8Array; hash: TJSKeyAlgorithm; name: UnicodeString; end; IJSRsaHashedKeyAlgorithm = interface(IJSKeyAlgorithm) ['{82AA632B-6357-3187-B4FD-A23052FABA67}'] function _GetmodulusLength: Word; function _GetpublicExponent: IJSUint8Array; function _Gethash: IJSKeyAlgorithm; procedure _SetmodulusLength(const aValue: Word); procedure _SetpublicExponent(const aValue: IJSUint8Array); procedure _Sethash(const aValue: IJSKeyAlgorithm); property modulusLength: Word read _GetmodulusLength write _SetmodulusLength; property publicExponent: IJSUint8Array read _GetpublicExponent write _SetpublicExponent; property hash: IJSKeyAlgorithm read _Gethash write _Sethash; end; TJSRsaHashedKeyAlgorithm = class(TJSKeyAlgorithm,IJSRsaHashedKeyAlgorithm) Private Protected function _GetmodulusLength: Word; function _GetpublicExponent: IJSUint8Array; function _Gethash: IJSKeyAlgorithm; procedure _SetmodulusLength(const aValue: Word); procedure _SetpublicExponent(const aValue: IJSUint8Array); procedure _Sethash(const aValue: IJSKeyAlgorithm); Public constructor create(const aDict : TJSRsaHashedKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaHashedKeyAlgorithm; property modulusLength: Word read _GetmodulusLength write _SetmodulusLength; property publicExponent: IJSUint8Array read _GetpublicExponent write _SetpublicExponent; property hash: IJSKeyAlgorithm read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSDhKeyAlgorithm --------------------------------------------------------------------} TJSDhKeyAlgorithmRec = record prime: IJSUint8Array; generator: IJSUint8Array; name: UnicodeString; end; IJSDhKeyAlgorithm = interface(IJSKeyAlgorithm) ['{2B1F8C3D-AA0A-3506-8192-9E325DF236CB}'] function _Getprime: IJSUint8Array; function _Getgenerator: IJSUint8Array; procedure _Setprime(const aValue: IJSUint8Array); procedure _Setgenerator(const aValue: IJSUint8Array); property prime: IJSUint8Array read _Getprime write _Setprime; property generator: IJSUint8Array read _Getgenerator write _Setgenerator; end; TJSDhKeyAlgorithm = class(TJSKeyAlgorithm,IJSDhKeyAlgorithm) Private Protected function _Getprime: IJSUint8Array; function _Getgenerator: IJSUint8Array; procedure _Setprime(const aValue: IJSUint8Array); procedure _Setgenerator(const aValue: IJSUint8Array); Public constructor create(const aDict : TJSDhKeyAlgorithmRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDhKeyAlgorithm; property prime: IJSUint8Array read _Getprime write _Setprime; property generator: IJSUint8Array read _Getgenerator write _Setgenerator; end; { -------------------------------------------------------------------- TJSKeyframeEffectOptions --------------------------------------------------------------------} TJSKeyframeEffectOptionsRec = record iterationComposite: TIterationCompositeOperation; composite: TCompositeOperation; pseudoElement: UnicodeString; delay: Double; endDelay: Double; fill: TFillMode; iterationStart: Double; iterations: Double; duration: TEffectTiming_duration_Type; direction: TPlaybackDirection; easing: UTF8String; end; IJSKeyframeEffectOptions = interface(IJSEffectTiming) ['{B37A07E2-9931-3AD1-8266-CFC957C6C258}'] function _GetiterationComposite: TIterationCompositeOperation; function _Getcomposite: TCompositeOperation; function _GetpseudoElement: UnicodeString; procedure _SetiterationComposite(const aValue: TIterationCompositeOperation); procedure _Setcomposite(const aValue: TCompositeOperation); procedure _SetpseudoElement(const aValue: UnicodeString); property iterationComposite: TIterationCompositeOperation read _GetiterationComposite write _SetiterationComposite; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; TJSKeyframeEffectOptions = class(TJSEffectTiming,IJSKeyframeEffectOptions) Private Protected function _GetiterationComposite: TIterationCompositeOperation; function _Getcomposite: TCompositeOperation; function _GetpseudoElement: UnicodeString; procedure _SetiterationComposite(const aValue: TIterationCompositeOperation); procedure _Setcomposite(const aValue: TCompositeOperation); procedure _SetpseudoElement(const aValue: UnicodeString); Public constructor create(const aDict : TJSKeyframeEffectOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyframeEffectOptions; property iterationComposite: TIterationCompositeOperation read _GetiterationComposite write _SetiterationComposite; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; { -------------------------------------------------------------------- TJSMediaDecodingConfiguration --------------------------------------------------------------------} TJSMediaDecodingConfigurationRec = record type_: TMediaDecodingType; video: TJSVideoConfiguration; audio: TJSAudioConfiguration; end; IJSMediaDecodingConfiguration = interface(IJSMediaConfiguration) ['{5AF610A2-2D1C-3FAF-9F49-9200542E72F2}'] function _Gettype_: TMediaDecodingType; procedure _Settype_(const aValue: TMediaDecodingType); property type_: TMediaDecodingType read _Gettype_ write _Settype_; end; TJSMediaDecodingConfiguration = class(TJSMediaConfiguration,IJSMediaDecodingConfiguration) Private Protected function _Gettype_: TMediaDecodingType; procedure _Settype_(const aValue: TMediaDecodingType); Public constructor create(const aDict : TJSMediaDecodingConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDecodingConfiguration; property type_: TMediaDecodingType read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSMediaEncodingConfiguration --------------------------------------------------------------------} TJSMediaEncodingConfigurationRec = record type_: TMediaEncodingType; video: TJSVideoConfiguration; audio: TJSAudioConfiguration; end; IJSMediaEncodingConfiguration = interface(IJSMediaConfiguration) ['{5AF610A2-2D26-3FAF-9F49-9200542E72F2}'] function _Gettype_: TMediaEncodingType; procedure _Settype_(const aValue: TMediaEncodingType); property type_: TMediaEncodingType read _Gettype_ write _Settype_; end; TJSMediaEncodingConfiguration = class(TJSMediaConfiguration,IJSMediaEncodingConfiguration) Private Protected function _Gettype_: TMediaEncodingType; procedure _Settype_(const aValue: TMediaEncodingType); Public constructor create(const aDict : TJSMediaEncodingConfigurationRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaEncodingConfiguration; property type_: TMediaEncodingType read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSMediaKeyNeededEventInit --------------------------------------------------------------------} TJSMediaKeyNeededEventInitRec = record initDataType: UnicodeString; initData: IJSArrayBuffer; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaKeyNeededEventInit = interface(IJSEventInit) ['{43C741B6-530D-3014-B375-F3214286E290}'] function _GetinitDataType: UnicodeString; function _GetinitData: IJSArrayBuffer; procedure _SetinitDataType(const aValue: UnicodeString); procedure _SetinitData(const aValue: IJSArrayBuffer); property initDataType: UnicodeString read _GetinitDataType write _SetinitDataType; property initData: IJSArrayBuffer read _GetinitData write _SetinitData; end; TJSMediaKeyNeededEventInit = class(TJSEventInit,IJSMediaKeyNeededEventInit) Private Protected function _GetinitDataType: UnicodeString; function _GetinitData: IJSArrayBuffer; procedure _SetinitDataType(const aValue: UnicodeString); procedure _SetinitData(const aValue: IJSArrayBuffer); Public constructor create(const aDict : TJSMediaKeyNeededEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeyNeededEventInit; property initDataType: UnicodeString read _GetinitDataType write _SetinitDataType; property initData: IJSArrayBuffer read _GetinitData write _SetinitData; end; { -------------------------------------------------------------------- TJSMediaKeyMessageEventInit --------------------------------------------------------------------} TJSMediaKeyMessageEventInitRec = record messageType: TMediaKeyMessageType; message: IJSArrayBuffer; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaKeyMessageEventInit = interface(IJSEventInit) ['{D87DFCEF-E6DF-3F07-A6C7-BF7A2D136DE3}'] function _GetmessageType: TMediaKeyMessageType; function _Getmessage: IJSArrayBuffer; procedure _SetmessageType(const aValue: TMediaKeyMessageType); procedure _Setmessage(const aValue: IJSArrayBuffer); property messageType: TMediaKeyMessageType read _GetmessageType write _SetmessageType; property message: IJSArrayBuffer read _Getmessage write _Setmessage; end; TJSMediaKeyMessageEventInit = class(TJSEventInit,IJSMediaKeyMessageEventInit) Private Protected function _GetmessageType: TMediaKeyMessageType; function _Getmessage: IJSArrayBuffer; procedure _SetmessageType(const aValue: TMediaKeyMessageType); procedure _Setmessage(const aValue: IJSArrayBuffer); Public constructor create(const aDict : TJSMediaKeyMessageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeyMessageEventInit; property messageType: TMediaKeyMessageType read _GetmessageType write _SetmessageType; property message: IJSArrayBuffer read _Getmessage write _Setmessage; end; { -------------------------------------------------------------------- TJSMediaQueryListEventInit --------------------------------------------------------------------} TJSMediaQueryListEventInitRec = record media: UTF8String; matches: Boolean; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaQueryListEventInit = interface(IJSEventInit) ['{43C8B40A-5D80-307A-81FA-02C5CEA21890}'] function _Getmedia: UTF8String; function _Getmatches: Boolean; procedure _Setmedia(const aValue: UTF8String); procedure _Setmatches(const aValue: Boolean); property media: UTF8String read _Getmedia write _Setmedia; property matches: Boolean read _Getmatches write _Setmatches; end; TJSMediaQueryListEventInit = class(TJSEventInit,IJSMediaQueryListEventInit) Private Protected function _Getmedia: UTF8String; function _Getmatches: Boolean; procedure _Setmedia(const aValue: UTF8String); procedure _Setmatches(const aValue: Boolean); Public constructor create(const aDict : TJSMediaQueryListEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaQueryListEventInit; property media: UTF8String read _Getmedia write _Setmedia; property matches: Boolean read _Getmatches write _Setmatches; end; { -------------------------------------------------------------------- TJSMediaRecorderErrorEventInit --------------------------------------------------------------------} TJSMediaRecorderErrorEventInitRec = record error: IJSError; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaRecorderErrorEventInit = interface(IJSEventInit) ['{BAF0FFC5-6C25-38BE-BD43-D81F7D3869FA}'] function _Geterror: IJSDOMException; procedure _Seterror(const aValue: IJSDOMException); property error: IJSDOMException read _Geterror write _Seterror; end; TJSMediaRecorderErrorEventInit = class(TJSEventInit,IJSMediaRecorderErrorEventInit) Private Protected function _Geterror: IJSDOMException; procedure _Seterror(const aValue: IJSDOMException); Public constructor create(const aDict : TJSMediaRecorderErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaRecorderErrorEventInit; property error: IJSDOMException read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSMediaStreamEventInit --------------------------------------------------------------------} TJSMediaStreamEventInitRec = record stream: TJSMediaStream; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaStreamEventInit = interface(IJSEventInit) ['{9D19A52B-A242-3F32-A1DF-66D10C46F34F}'] function _Getstream: IJSMediaStream; procedure _Setstream(const aValue: IJSMediaStream); property stream: IJSMediaStream read _Getstream write _Setstream; end; TJSMediaStreamEventInit = class(TJSEventInit,IJSMediaStreamEventInit) Private Protected function _Getstream: IJSMediaStream; procedure _Setstream(const aValue: IJSMediaStream); Public constructor create(const aDict : TJSMediaStreamEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamEventInit; property stream: IJSMediaStream read _Getstream write _Setstream; end; { -------------------------------------------------------------------- TJSMediaTrackConstraints --------------------------------------------------------------------} TJSMediaTrackConstraintSetDynArray = IJSArray; // array of MediaTrackConstraintSet TJSMediaTrackConstraintsRec = record advanced: TJSMediaTrackConstraintSetDynArray; width: TConstrainLong; height: TConstrainLong; frameRate: TConstrainDouble; facingMode: TConstrainDOMString; mediaSource: UnicodeString; browserWindow: Int64; scrollWithPage: Boolean; deviceId: TConstrainDOMString; groupId: TConstrainDOMString; viewportOffsetX: TConstrainLong; viewportOffsetY: TConstrainLong; viewportWidth: TConstrainLong; viewportHeight: TConstrainLong; echoCancellation: TConstrainBoolean; noiseSuppression: TConstrainBoolean; autoGainControl: TConstrainBoolean; channelCount: TConstrainLong; end; IJSMediaTrackConstraints = interface(IJSMediaTrackConstraintSet) ['{07CCD052-ED32-3F3B-9798-3F3B4528255C}'] function _Getadvanced: TJSMediaTrackConstraintSetDynArray; procedure _Setadvanced(const aValue: TJSMediaTrackConstraintSetDynArray); property advanced: TJSMediaTrackConstraintSetDynArray read _Getadvanced write _Setadvanced; end; TJSMediaTrackConstraints = class(TJSMediaTrackConstraintSet,IJSMediaTrackConstraints) Private Protected function _Getadvanced: TJSMediaTrackConstraintSetDynArray; procedure _Setadvanced(const aValue: TJSMediaTrackConstraintSetDynArray); Public constructor create(const aDict : TJSMediaTrackConstraintsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaTrackConstraints; property advanced: TJSMediaTrackConstraintSetDynArray read _Getadvanced write _Setadvanced; end; { -------------------------------------------------------------------- TJSMediaStreamTrackEventInit --------------------------------------------------------------------} TJSMediaStreamTrackEventInitRec = record track: TJSMediaStreamTrack; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMediaStreamTrackEventInit = interface(IJSEventInit) ['{7D24A642-56EC-3D10-8344-F9EDF0AFE686}'] function _Gettrack: IJSMediaStreamTrack; procedure _Settrack(const aValue: IJSMediaStreamTrack); property track: IJSMediaStreamTrack read _Gettrack write _Settrack; end; TJSMediaStreamTrackEventInit = class(TJSEventInit,IJSMediaStreamTrackEventInit) Private Protected function _Gettrack: IJSMediaStreamTrack; procedure _Settrack(const aValue: IJSMediaStreamTrack); Public constructor create(const aDict : TJSMediaStreamTrackEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamTrackEventInit; property track: IJSMediaStreamTrack read _Gettrack write _Settrack; end; { -------------------------------------------------------------------- TJSConstrainULongRange --------------------------------------------------------------------} TJSConstrainULongRangeRec = record exact: Cardinal; ideal: Cardinal; max: Cardinal; min: Cardinal; end; IJSConstrainULongRange = interface(IJSULongRange) ['{092D90E1-13BD-3D61-A9E1-9F98575D9078}'] function _Getexact: Cardinal; function _Getideal: Cardinal; procedure _Setexact(const aValue: Cardinal); procedure _Setideal(const aValue: Cardinal); property exact: Cardinal read _Getexact write _Setexact; property ideal: Cardinal read _Getideal write _Setideal; end; TJSConstrainULongRange = class(TJSULongRange,IJSConstrainULongRange) Private Protected function _Getexact: Cardinal; function _Getideal: Cardinal; procedure _Setexact(const aValue: Cardinal); procedure _Setideal(const aValue: Cardinal); Public constructor create(const aDict : TJSConstrainULongRangeRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstrainULongRange; property exact: Cardinal read _Getexact write _Setexact; property ideal: Cardinal read _Getideal write _Setideal; end; { -------------------------------------------------------------------- TJSMerchantValidationEventInit --------------------------------------------------------------------} TJSMerchantValidationEventInitRec = record methodName: UnicodeString; validationURL: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMerchantValidationEventInit = interface(IJSEventInit) ['{0405A2FC-C2D0-3E28-A6D6-20710799336F}'] function _GetmethodName: UnicodeString; function _GetvalidationURL: UnicodeString; procedure _SetmethodName(const aValue: UnicodeString); procedure _SetvalidationURL(const aValue: UnicodeString); property methodName: UnicodeString read _GetmethodName write _SetmethodName; property validationURL: UnicodeString read _GetvalidationURL write _SetvalidationURL; end; TJSMerchantValidationEventInit = class(TJSEventInit,IJSMerchantValidationEventInit) Private Protected function _GetmethodName: UnicodeString; function _GetvalidationURL: UnicodeString; procedure _SetmethodName(const aValue: UnicodeString); procedure _SetvalidationURL(const aValue: UnicodeString); Public constructor create(const aDict : TJSMerchantValidationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMerchantValidationEventInit; property methodName: UnicodeString read _GetmethodName write _SetmethodName; property validationURL: UnicodeString read _GetvalidationURL write _SetvalidationURL; end; { -------------------------------------------------------------------- TJSMessageEventInit --------------------------------------------------------------------} TJSMessagePortDynArray = IJSArray; // array of MessagePort TJSMessageEventInitRec = record data: Variant; origin: UnicodeString; lastEventId: UnicodeString; source: TMessageEventSource; ports: TJSMessagePortDynArray; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMessageEventInit = interface(IJSEventInit) ['{54A197F1-6C96-3CE0-8E86-87BB438622C4}'] function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TMessageEventSource; function _Getports: TJSMessagePortDynArray; procedure _Setdata(const aValue: Variant); procedure _Setorigin(const aValue: UnicodeString); procedure _SetlastEventId(const aValue: UnicodeString); procedure _Setsource(const aValue: TMessageEventSource); procedure _Setports(const aValue: TJSMessagePortDynArray); property data: Variant read _Getdata write _Setdata; property origin: UnicodeString read _Getorigin write _Setorigin; property lastEventId: UnicodeString read _GetlastEventId write _SetlastEventId; property source: TMessageEventSource read _Getsource write _Setsource; property ports: TJSMessagePortDynArray read _Getports write _Setports; end; TJSMessageEventInit = class(TJSEventInit,IJSMessageEventInit) Private Protected function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TMessageEventSource; function _Getports: TJSMessagePortDynArray; procedure _Setdata(const aValue: Variant); procedure _Setorigin(const aValue: UnicodeString); procedure _SetlastEventId(const aValue: UnicodeString); procedure _Setsource(const aValue: TMessageEventSource); procedure _Setports(const aValue: TJSMessagePortDynArray); Public constructor create(const aDict : TJSMessageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMessageEventInit; property data: Variant read _Getdata write _Setdata; property origin: UnicodeString read _Getorigin write _Setorigin; property lastEventId: UnicodeString read _GetlastEventId write _SetlastEventId; property source: TMessageEventSource read _Getsource write _Setsource; property ports: TJSMessagePortDynArray read _Getports write _Setports; end; { -------------------------------------------------------------------- TJSMIDIConnectionEventInit --------------------------------------------------------------------} TJSMIDIConnectionEventInitRec = record port: TJSMIDIPort; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMIDIConnectionEventInit = interface(IJSEventInit) ['{43C8157A-A8E5-349A-A6F4-D2C5CEA21890}'] function _Getport: IJSMIDIPort; procedure _Setport(const aValue: IJSMIDIPort); property port: IJSMIDIPort read _Getport write _Setport; end; TJSMIDIConnectionEventInit = class(TJSEventInit,IJSMIDIConnectionEventInit) Private Protected function _Getport: IJSMIDIPort; procedure _Setport(const aValue: IJSMIDIPort); Public constructor create(const aDict : TJSMIDIConnectionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIConnectionEventInit; property port: IJSMIDIPort read _Getport write _Setport; end; { -------------------------------------------------------------------- TJSMIDIMessageEventInit --------------------------------------------------------------------} TJSMIDIMessageEventInitRec = record data: IJSUint8Array; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMIDIMessageEventInit = interface(IJSEventInit) ['{A3A0B63F-8ED1-30F5-81DF-66D10C46F34E}'] function _Getdata: IJSUint8Array; procedure _Setdata(const aValue: IJSUint8Array); property data: IJSUint8Array read _Getdata write _Setdata; end; TJSMIDIMessageEventInit = class(TJSEventInit,IJSMIDIMessageEventInit) Private Protected function _Getdata: IJSUint8Array; procedure _Setdata(const aValue: IJSUint8Array); Public constructor create(const aDict : TJSMIDIMessageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIMessageEventInit; property data: IJSUint8Array read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSMozApplicationEventInit --------------------------------------------------------------------} TJSMozApplicationEventInitRec = record application: IJSObject; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMozApplicationEventInit = interface(IJSEventInit) ['{43C6493F-AE4D-3608-96F4-D2C5CEA21890}'] function _Getapplication: IJSObject; procedure _Setapplication(const aValue: IJSObject); property application: IJSObject read _Getapplication write _Setapplication; end; TJSMozApplicationEventInit = class(TJSEventInit,IJSMozApplicationEventInit) Private Protected function _Getapplication: IJSObject; procedure _Setapplication(const aValue: IJSObject); Public constructor create(const aDict : TJSMozApplicationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozApplicationEventInit; property application: IJSObject read _Getapplication write _Setapplication; end; { -------------------------------------------------------------------- TJSMutationObservingInfo --------------------------------------------------------------------} TJSMutationObservingInfoRec = record observedNode: IJSNode; childList: Boolean; attributes: Boolean; characterData: Boolean; subtree: Boolean; attributeOldValue: Boolean; characterDataOldValue: Boolean; attributeFilter: TUnicodeStringDynArray; end; IJSMutationObservingInfo = interface(IJSMutationObserverInit) ['{69D6F8D2-35C3-393E-982A-530C1423897C}'] function _GetobservedNode: IJSNode; procedure _SetobservedNode(const aValue: IJSNode); property observedNode: IJSNode read _GetobservedNode write _SetobservedNode; end; TJSMutationObservingInfo = class(TJSMutationObserverInit,IJSMutationObservingInfo) Private Protected function _GetobservedNode: IJSNode; procedure _SetobservedNode(const aValue: IJSNode); Public constructor create(const aDict : TJSMutationObservingInfoRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMutationObservingInfo; property observedNode: IJSNode read _GetobservedNode write _SetobservedNode; end; { -------------------------------------------------------------------- TJSOfflineAudioCompletionEventInit --------------------------------------------------------------------} TJSOfflineAudioCompletionEventInitRec = record renderedBuffer: TJSAudioBuffer; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSOfflineAudioCompletionEventInit = interface(IJSEventInit) ['{1FF8C5BD-7973-37D9-AE3A-3780C0F045F2}'] function _GetrenderedBuffer: IJSAudioBuffer; procedure _SetrenderedBuffer(const aValue: IJSAudioBuffer); property renderedBuffer: IJSAudioBuffer read _GetrenderedBuffer write _SetrenderedBuffer; end; TJSOfflineAudioCompletionEventInit = class(TJSEventInit,IJSOfflineAudioCompletionEventInit) Private Protected function _GetrenderedBuffer: IJSAudioBuffer; procedure _SetrenderedBuffer(const aValue: IJSAudioBuffer); Public constructor create(const aDict : TJSOfflineAudioCompletionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOfflineAudioCompletionEventInit; property renderedBuffer: IJSAudioBuffer read _GetrenderedBuffer write _SetrenderedBuffer; end; { -------------------------------------------------------------------- TJSOscillatorOptions --------------------------------------------------------------------} TJSOscillatorOptionsRec = record type_: TOscillatorType; frequency: Single; detune: Single; periodicWave: TJSPeriodicWave; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSOscillatorOptions = interface(IJSAudioNodeOptions) ['{8C366D56-3542-3BE3-B830-4EB05606F7F7}'] function _Gettype_: TOscillatorType; function _Getfrequency: Single; function _Getdetune: Single; function _GetperiodicWave: IJSPeriodicWave; procedure _Settype_(const aValue: TOscillatorType); procedure _Setfrequency(const aValue: Single); procedure _Setdetune(const aValue: Single); procedure _SetperiodicWave(const aValue: IJSPeriodicWave); property type_: TOscillatorType read _Gettype_ write _Settype_; property frequency: Single read _Getfrequency write _Setfrequency; property detune: Single read _Getdetune write _Setdetune; property periodicWave: IJSPeriodicWave read _GetperiodicWave write _SetperiodicWave; end; TJSOscillatorOptions = class(TJSAudioNodeOptions,IJSOscillatorOptions) Private Protected function _Gettype_: TOscillatorType; function _Getfrequency: Single; function _Getdetune: Single; function _GetperiodicWave: IJSPeriodicWave; procedure _Settype_(const aValue: TOscillatorType); procedure _Setfrequency(const aValue: Single); procedure _Setdetune(const aValue: Single); procedure _SetperiodicWave(const aValue: IJSPeriodicWave); Public constructor create(const aDict : TJSOscillatorOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOscillatorOptions; property type_: TOscillatorType read _Gettype_ write _Settype_; property frequency: Single read _Getfrequency write _Setfrequency; property detune: Single read _Getdetune write _Setdetune; property periodicWave: IJSPeriodicWave read _GetperiodicWave write _SetperiodicWave; end; { -------------------------------------------------------------------- TJSPageTransitionEventInit --------------------------------------------------------------------} TJSPageTransitionEventInitRec = record persisted: Boolean; inFrameSwap: Boolean; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPageTransitionEventInit = interface(IJSEventInit) ['{43C96FA8-82FC-3FBE-B1DB-5B9E615B2090}'] function _Getpersisted: Boolean; function _GetinFrameSwap: Boolean; procedure _Setpersisted(const aValue: Boolean); procedure _SetinFrameSwap(const aValue: Boolean); property persisted: Boolean read _Getpersisted write _Setpersisted; property inFrameSwap: Boolean read _GetinFrameSwap write _SetinFrameSwap; end; TJSPageTransitionEventInit = class(TJSEventInit,IJSPageTransitionEventInit) Private Protected function _Getpersisted: Boolean; function _GetinFrameSwap: Boolean; procedure _Setpersisted(const aValue: Boolean); procedure _SetinFrameSwap(const aValue: Boolean); Public constructor create(const aDict : TJSPageTransitionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPageTransitionEventInit; property persisted: Boolean read _Getpersisted write _Setpersisted; property inFrameSwap: Boolean read _GetinFrameSwap write _SetinFrameSwap; end; { -------------------------------------------------------------------- TJSPannerOptions --------------------------------------------------------------------} TJSPannerOptionsRec = record panningModel: TPanningModelType; distanceModel: TDistanceModelType; positionX: Single; positionY: Single; positionZ: Single; orientationX: Single; orientationY: Single; orientationZ: Single; refDistance: Double; maxDistance: Double; rolloffFactor: Double; coneInnerAngle: Double; coneOuterAngle: Double; coneOuterGain: Double; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSPannerOptions = interface(IJSAudioNodeOptions) ['{95858366-0367-365A-AAEC-3DEB31A88E4A}'] function _GetpanningModel: TPanningModelType; function _GetdistanceModel: TDistanceModelType; function _GetpositionX: Single; function _GetpositionY: Single; function _GetpositionZ: Single; function _GetorientationX: Single; function _GetorientationY: Single; function _GetorientationZ: Single; function _GetrefDistance: Double; function _GetmaxDistance: Double; function _GetrolloffFactor: Double; function _GetconeInnerAngle: Double; function _GetconeOuterAngle: Double; function _GetconeOuterGain: Double; procedure _SetpanningModel(const aValue: TPanningModelType); procedure _SetdistanceModel(const aValue: TDistanceModelType); procedure _SetpositionX(const aValue: Single); procedure _SetpositionY(const aValue: Single); procedure _SetpositionZ(const aValue: Single); procedure _SetorientationX(const aValue: Single); procedure _SetorientationY(const aValue: Single); procedure _SetorientationZ(const aValue: Single); procedure _SetrefDistance(const aValue: Double); procedure _SetmaxDistance(const aValue: Double); procedure _SetrolloffFactor(const aValue: Double); procedure _SetconeInnerAngle(const aValue: Double); procedure _SetconeOuterAngle(const aValue: Double); procedure _SetconeOuterGain(const aValue: Double); property panningModel: TPanningModelType read _GetpanningModel write _SetpanningModel; property distanceModel: TDistanceModelType read _GetdistanceModel write _SetdistanceModel; property positionX: Single read _GetpositionX write _SetpositionX; property positionY: Single read _GetpositionY write _SetpositionY; property positionZ: Single read _GetpositionZ write _SetpositionZ; property orientationX: Single read _GetorientationX write _SetorientationX; property orientationY: Single read _GetorientationY write _SetorientationY; property orientationZ: Single read _GetorientationZ write _SetorientationZ; property refDistance: Double read _GetrefDistance write _SetrefDistance; property maxDistance: Double read _GetmaxDistance write _SetmaxDistance; property rolloffFactor: Double read _GetrolloffFactor write _SetrolloffFactor; property coneInnerAngle: Double read _GetconeInnerAngle write _SetconeInnerAngle; property coneOuterAngle: Double read _GetconeOuterAngle write _SetconeOuterAngle; property coneOuterGain: Double read _GetconeOuterGain write _SetconeOuterGain; end; TJSPannerOptions = class(TJSAudioNodeOptions,IJSPannerOptions) Private Protected function _GetpanningModel: TPanningModelType; function _GetdistanceModel: TDistanceModelType; function _GetpositionX: Single; function _GetpositionY: Single; function _GetpositionZ: Single; function _GetorientationX: Single; function _GetorientationY: Single; function _GetorientationZ: Single; function _GetrefDistance: Double; function _GetmaxDistance: Double; function _GetrolloffFactor: Double; function _GetconeInnerAngle: Double; function _GetconeOuterAngle: Double; function _GetconeOuterGain: Double; procedure _SetpanningModel(const aValue: TPanningModelType); procedure _SetdistanceModel(const aValue: TDistanceModelType); procedure _SetpositionX(const aValue: Single); procedure _SetpositionY(const aValue: Single); procedure _SetpositionZ(const aValue: Single); procedure _SetorientationX(const aValue: Single); procedure _SetorientationY(const aValue: Single); procedure _SetorientationZ(const aValue: Single); procedure _SetrefDistance(const aValue: Double); procedure _SetmaxDistance(const aValue: Double); procedure _SetrolloffFactor(const aValue: Double); procedure _SetconeInnerAngle(const aValue: Double); procedure _SetconeOuterAngle(const aValue: Double); procedure _SetconeOuterGain(const aValue: Double); Public constructor create(const aDict : TJSPannerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPannerOptions; property panningModel: TPanningModelType read _GetpanningModel write _SetpanningModel; property distanceModel: TDistanceModelType read _GetdistanceModel write _SetdistanceModel; property positionX: Single read _GetpositionX write _SetpositionX; property positionY: Single read _GetpositionY write _SetpositionY; property positionZ: Single read _GetpositionZ write _SetpositionZ; property orientationX: Single read _GetorientationX write _SetorientationX; property orientationY: Single read _GetorientationY write _SetorientationY; property orientationZ: Single read _GetorientationZ write _SetorientationZ; property refDistance: Double read _GetrefDistance write _SetrefDistance; property maxDistance: Double read _GetmaxDistance write _SetmaxDistance; property rolloffFactor: Double read _GetrolloffFactor write _SetrolloffFactor; property coneInnerAngle: Double read _GetconeInnerAngle write _SetconeInnerAngle; property coneOuterAngle: Double read _GetconeOuterAngle write _SetconeOuterAngle; property coneOuterGain: Double read _GetconeOuterGain write _SetconeOuterGain; end; { -------------------------------------------------------------------- TJSPaymentDetailsInit --------------------------------------------------------------------} TJSPaymentDetailsInitRec = record id: UnicodeString; total: TJSPaymentItem; displayItems: TJSPaymentItemDynArray; shippingOptions: TJSPaymentShippingOptionDynArray; modifiers: TJSPaymentDetailsModifierDynArray; end; IJSPaymentDetailsInit = interface(IJSPaymentDetailsBase) ['{190D9D5F-0F7A-36AA-8D0D-CD846D68234D}'] function _Getid: UnicodeString; function _Gettotal: IJSPaymentItem; procedure _Setid(const aValue: UnicodeString); procedure _Settotal(const aValue: IJSPaymentItem); property id: UnicodeString read _Getid write _Setid; property total: IJSPaymentItem read _Gettotal write _Settotal; end; TJSPaymentDetailsInit = class(TJSPaymentDetailsBase,IJSPaymentDetailsInit) Private Protected function _Getid: UnicodeString; function _Gettotal: IJSPaymentItem; procedure _Setid(const aValue: UnicodeString); procedure _Settotal(const aValue: IJSPaymentItem); Public constructor create(const aDict : TJSPaymentDetailsInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentDetailsInit; property id: UnicodeString read _Getid write _Setid; property total: IJSPaymentItem read _Gettotal write _Settotal; end; { -------------------------------------------------------------------- TJSPaymentDetailsUpdate --------------------------------------------------------------------} TJSPaymentDetailsUpdateRec = record error: UnicodeString; shippingAddressErrors: TJSAddressErrors; payerErrors: TJSPayerErrors; paymentMethodErrors: IJSObject; total: TJSPaymentItem; displayItems: TJSPaymentItemDynArray; shippingOptions: TJSPaymentShippingOptionDynArray; modifiers: TJSPaymentDetailsModifierDynArray; end; IJSPaymentDetailsUpdate = interface(IJSPaymentDetailsBase) ['{D3C490CC-AE60-3672-BF78-7CDD1E2092AF}'] function _Geterror: UnicodeString; function _GetshippingAddressErrors: IJSAddressErrors; function _GetpayerErrors: IJSPayerErrors; function _GetpaymentMethodErrors: IJSObject; function _Gettotal: IJSPaymentItem; procedure _Seterror(const aValue: UnicodeString); procedure _SetshippingAddressErrors(const aValue: IJSAddressErrors); procedure _SetpayerErrors(const aValue: IJSPayerErrors); procedure _SetpaymentMethodErrors(const aValue: IJSObject); procedure _Settotal(const aValue: IJSPaymentItem); property error: UnicodeString read _Geterror write _Seterror; property shippingAddressErrors: IJSAddressErrors read _GetshippingAddressErrors write _SetshippingAddressErrors; property payerErrors: IJSPayerErrors read _GetpayerErrors write _SetpayerErrors; property paymentMethodErrors: IJSObject read _GetpaymentMethodErrors write _SetpaymentMethodErrors; property total: IJSPaymentItem read _Gettotal write _Settotal; end; TJSPaymentDetailsUpdate = class(TJSPaymentDetailsBase,IJSPaymentDetailsUpdate) Private Protected function _Geterror: UnicodeString; function _GetshippingAddressErrors: IJSAddressErrors; function _GetpayerErrors: IJSPayerErrors; function _GetpaymentMethodErrors: IJSObject; function _Gettotal: IJSPaymentItem; procedure _Seterror(const aValue: UnicodeString); procedure _SetshippingAddressErrors(const aValue: IJSAddressErrors); procedure _SetpayerErrors(const aValue: IJSPayerErrors); procedure _SetpaymentMethodErrors(const aValue: IJSObject); procedure _Settotal(const aValue: IJSPaymentItem); Public constructor create(const aDict : TJSPaymentDetailsUpdateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentDetailsUpdate; property error: UnicodeString read _Geterror write _Seterror; property shippingAddressErrors: IJSAddressErrors read _GetshippingAddressErrors write _SetshippingAddressErrors; property payerErrors: IJSPayerErrors read _GetpayerErrors write _SetpayerErrors; property paymentMethodErrors: IJSObject read _GetpaymentMethodErrors write _SetpaymentMethodErrors; property total: IJSPaymentItem read _Gettotal write _Settotal; end; { -------------------------------------------------------------------- TJSPaymentRequestUpdateEventInit --------------------------------------------------------------------} TJSPaymentRequestUpdateEventInitRec = record bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPaymentRequestUpdateEventInit = interface(IJSEventInit) ['{97C19EAF-AC14-3165-B25B-C18A9DEF2B1A}'] end; TJSPaymentRequestUpdateEventInit = class(TJSEventInit,IJSPaymentRequestUpdateEventInit) Private Protected Public constructor create(const aDict : TJSPaymentRequestUpdateEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentRequestUpdateEventInit; end; { -------------------------------------------------------------------- TJSPerformanceEntryEventInit --------------------------------------------------------------------} TJSPerformanceEntryEventInitRec = record name: UnicodeString; entryType: UnicodeString; startTime: TDOMHighResTimeStamp; duration: TDOMHighResTimeStamp; epoch: Double; origin: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPerformanceEntryEventInit = interface(IJSEventInit) ['{45EC5243-E903-3F51-B379-E99996F84A22}'] function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetstartTime: TDOMHighResTimeStamp; function _Getduration: TDOMHighResTimeStamp; function _Getepoch: Double; function _Getorigin: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SetentryType(const aValue: UnicodeString); procedure _SetstartTime(const aValue: TDOMHighResTimeStamp); procedure _Setduration(const aValue: TDOMHighResTimeStamp); procedure _Setepoch(const aValue: Double); procedure _Setorigin(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property entryType: UnicodeString read _GetentryType write _SetentryType; property startTime: TDOMHighResTimeStamp read _GetstartTime write _SetstartTime; property duration: TDOMHighResTimeStamp read _Getduration write _Setduration; property epoch: Double read _Getepoch write _Setepoch; property origin: UnicodeString read _Getorigin write _Setorigin; end; TJSPerformanceEntryEventInit = class(TJSEventInit,IJSPerformanceEntryEventInit) Private Protected function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetstartTime: TDOMHighResTimeStamp; function _Getduration: TDOMHighResTimeStamp; function _Getepoch: Double; function _Getorigin: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SetentryType(const aValue: UnicodeString); procedure _SetstartTime(const aValue: TDOMHighResTimeStamp); procedure _Setduration(const aValue: TDOMHighResTimeStamp); procedure _Setepoch(const aValue: Double); procedure _Setorigin(const aValue: UnicodeString); Public constructor create(const aDict : TJSPerformanceEntryEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceEntryEventInit; property name: UnicodeString read _Getname write _Setname; property entryType: UnicodeString read _GetentryType write _SetentryType; property startTime: TDOMHighResTimeStamp read _GetstartTime write _SetstartTime; property duration: TDOMHighResTimeStamp read _Getduration write _Setduration; property epoch: Double read _Getepoch write _Setepoch; property origin: UnicodeString read _Getorigin write _Setorigin; end; { -------------------------------------------------------------------- TJSPeriodicWaveOptions --------------------------------------------------------------------} TJSPeriodicWaveOptionsRec = record real: TSingleDynArray; imag: TSingleDynArray; disableNormalization: Boolean; end; IJSPeriodicWaveOptions = interface(IJSPeriodicWaveConstraints) ['{A4787999-E448-3AA2-ACA2-48203F7106E7}'] function _Getreal: TSingleDynArray; function _Getimag: TSingleDynArray; procedure _Setreal(const aValue: TSingleDynArray); procedure _Setimag(const aValue: TSingleDynArray); property real: TSingleDynArray read _Getreal write _Setreal; property imag: TSingleDynArray read _Getimag write _Setimag; end; TJSPeriodicWaveOptions = class(TJSPeriodicWaveConstraints,IJSPeriodicWaveOptions) Private Protected function _Getreal: TSingleDynArray; function _Getimag: TSingleDynArray; procedure _Setreal(const aValue: TSingleDynArray); procedure _Setimag(const aValue: TSingleDynArray); Public constructor create(const aDict : TJSPeriodicWaveOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPeriodicWaveOptions; property real: TSingleDynArray read _Getreal write _Setreal; property imag: TSingleDynArray read _Getimag write _Setimag; end; { -------------------------------------------------------------------- TJSMidiPermissionDescriptor --------------------------------------------------------------------} TJSMidiPermissionDescriptorRec = record sysex: Boolean; name: TPermissionName; end; IJSMidiPermissionDescriptor = interface(IJSPermissionDescriptor) ['{276424DF-82A8-3C4A-8CD8-7526B65E4554}'] function _Getsysex: Boolean; procedure _Setsysex(const aValue: Boolean); property sysex: Boolean read _Getsysex write _Setsysex; end; TJSMidiPermissionDescriptor = class(TJSPermissionDescriptor,IJSMidiPermissionDescriptor) Private Protected function _Getsysex: Boolean; procedure _Setsysex(const aValue: Boolean); Public constructor create(const aDict : TJSMidiPermissionDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMidiPermissionDescriptor; property sysex: Boolean read _Getsysex write _Setsysex; end; { -------------------------------------------------------------------- TJSPopStateEventInit --------------------------------------------------------------------} TJSPopStateEventInitRec = record state: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPopStateEventInit = interface(IJSEventInit) ['{9DFEC70F-26FE-31F0-AFE6-8523FAA41E56}'] function _Getstate: Variant; procedure _Setstate(const aValue: Variant); property state: Variant read _Getstate write _Setstate; end; TJSPopStateEventInit = class(TJSEventInit,IJSPopStateEventInit) Private Protected function _Getstate: Variant; procedure _Setstate(const aValue: Variant); Public constructor create(const aDict : TJSPopStateEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPopStateEventInit; property state: Variant read _Getstate write _Setstate; end; { -------------------------------------------------------------------- TJSPopupBlockedEventInit --------------------------------------------------------------------} TJSPopupBlockedEventInitRec = record requestingWindow: TJSWindow; popupWindowURI: TJSURI; popupWindowName: UnicodeString; popupWindowFeatures: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPopupBlockedEventInit = interface(IJSEventInit) ['{338FF432-5E18-3DED-AC8C-EC6D5DBD5E5B}'] function _GetrequestingWindow: IJSWindow; function _GetpopupWindowURI: IJSURI; function _GetpopupWindowName: UnicodeString; function _GetpopupWindowFeatures: UnicodeString; procedure _SetrequestingWindow(const aValue: IJSWindow); procedure _SetpopupWindowURI(const aValue: IJSURI); procedure _SetpopupWindowName(const aValue: UnicodeString); procedure _SetpopupWindowFeatures(const aValue: UnicodeString); property requestingWindow: IJSWindow read _GetrequestingWindow write _SetrequestingWindow; property popupWindowURI: IJSURI read _GetpopupWindowURI write _SetpopupWindowURI; property popupWindowName: UnicodeString read _GetpopupWindowName write _SetpopupWindowName; property popupWindowFeatures: UnicodeString read _GetpopupWindowFeatures write _SetpopupWindowFeatures; end; TJSPopupBlockedEventInit = class(TJSEventInit,IJSPopupBlockedEventInit) Private Protected function _GetrequestingWindow: IJSWindow; function _GetpopupWindowURI: IJSURI; function _GetpopupWindowName: UnicodeString; function _GetpopupWindowFeatures: UnicodeString; procedure _SetrequestingWindow(const aValue: IJSWindow); procedure _SetpopupWindowURI(const aValue: IJSURI); procedure _SetpopupWindowName(const aValue: UnicodeString); procedure _SetpopupWindowFeatures(const aValue: UnicodeString); Public constructor create(const aDict : TJSPopupBlockedEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPopupBlockedEventInit; property requestingWindow: IJSWindow read _GetrequestingWindow write _SetrequestingWindow; property popupWindowURI: IJSURI read _GetpopupWindowURI write _SetpopupWindowURI; property popupWindowName: UnicodeString read _GetpopupWindowName write _SetpopupWindowName; property popupWindowFeatures: UnicodeString read _GetpopupWindowFeatures write _SetpopupWindowFeatures; end; { -------------------------------------------------------------------- TJSPositionStateEventInit --------------------------------------------------------------------} TJSPositionStateEventInitRec = record duration: Double; playbackRate: Double; position: Double; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPositionStateEventInit = interface(IJSEventInit) ['{0692F3FF-16D2-31FF-A298-B90E94782D35}'] function _Getduration: Double; function _GetplaybackRate: Double; function _Getposition: Double; procedure _Setduration(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setposition(const aValue: Double); property duration: Double read _Getduration write _Setduration; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property position: Double read _Getposition write _Setposition; end; TJSPositionStateEventInit = class(TJSEventInit,IJSPositionStateEventInit) Private Protected function _Getduration: Double; function _GetplaybackRate: Double; function _Getposition: Double; procedure _Setduration(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setposition(const aValue: Double); Public constructor create(const aDict : TJSPositionStateEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPositionStateEventInit; property duration: Double read _Getduration write _Setduration; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property position: Double read _Getposition write _Setposition; end; { -------------------------------------------------------------------- TJSProgressEventInit --------------------------------------------------------------------} TJSProgressEventInitRec = record lengthComputable: Boolean; loaded: QWord; total: QWord; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSProgressEventInit = interface(IJSEventInit) ['{D5279911-958E-33D5-AACA-C7C4A66090F5}'] function _GetlengthComputable: Boolean; function _Getloaded: QWord; function _Gettotal: QWord; procedure _SetlengthComputable(const aValue: Boolean); procedure _Setloaded(const aValue: QWord); procedure _Settotal(const aValue: QWord); property lengthComputable: Boolean read _GetlengthComputable write _SetlengthComputable; property loaded: QWord read _Getloaded write _Setloaded; property total: QWord read _Gettotal write _Settotal; end; TJSProgressEventInit = class(TJSEventInit,IJSProgressEventInit) Private Protected function _GetlengthComputable: Boolean; function _Getloaded: QWord; function _Gettotal: QWord; procedure _SetlengthComputable(const aValue: Boolean); procedure _Setloaded(const aValue: QWord); procedure _Settotal(const aValue: QWord); Public constructor create(const aDict : TJSProgressEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSProgressEventInit; property lengthComputable: Boolean read _GetlengthComputable write _SetlengthComputable; property loaded: QWord read _Getloaded write _Setloaded; property total: QWord read _Gettotal write _Settotal; end; { -------------------------------------------------------------------- TJSPromiseRejectionEventInit --------------------------------------------------------------------} TJSPromiseRejectionEventInitRec = record promise: IJSPromise; reason: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPromiseRejectionEventInit = interface(IJSEventInit) ['{7D24DDCF-FB87-35E2-8E2F-A42BF0AFE686}'] function _Getpromise: IJSPromise; function _Getreason: Variant; procedure _Setpromise(const aValue: IJSPromise); procedure _Setreason(const aValue: Variant); property promise: IJSPromise read _Getpromise write _Setpromise; property reason: Variant read _Getreason write _Setreason; end; TJSPromiseRejectionEventInit = class(TJSEventInit,IJSPromiseRejectionEventInit) Private Protected function _Getpromise: IJSPromise; function _Getreason: Variant; procedure _Setpromise(const aValue: IJSPromise); procedure _Setreason(const aValue: Variant); Public constructor create(const aDict : TJSPromiseRejectionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPromiseRejectionEventInit; property promise: IJSPromise read _Getpromise write _Setpromise; property reason: Variant read _Getreason write _Setreason; end; { -------------------------------------------------------------------- TJSRTCDataChannelEventInit --------------------------------------------------------------------} TJSRTCDataChannelEventInitRec = record channel: TJSRTCDataChannel; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSRTCDataChannelEventInit = interface(IJSEventInit) ['{43C8C36B-8890-3EC9-8E8A-C2C5CEA21890}'] function _Getchannel: IJSRTCDataChannel; procedure _Setchannel(const aValue: IJSRTCDataChannel); property channel: IJSRTCDataChannel read _Getchannel write _Setchannel; end; TJSRTCDataChannelEventInit = class(TJSEventInit,IJSRTCDataChannelEventInit) Private Protected function _Getchannel: IJSRTCDataChannel; procedure _Setchannel(const aValue: IJSRTCDataChannel); Public constructor create(const aDict : TJSRTCDataChannelEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDataChannelEventInit; property channel: IJSRTCDataChannel read _Getchannel write _Setchannel; end; { -------------------------------------------------------------------- TJSRTCDTMFToneChangeEventInit --------------------------------------------------------------------} TJSRTCDTMFToneChangeEventInitRec = record tone: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSRTCDTMFToneChangeEventInit = interface(IJSEventInit) ['{914A1D51-1CFA-37CB-9FFA-B91D15899B4B}'] function _Gettone: UnicodeString; procedure _Settone(const aValue: UnicodeString); property tone: UnicodeString read _Gettone write _Settone; end; TJSRTCDTMFToneChangeEventInit = class(TJSEventInit,IJSRTCDTMFToneChangeEventInit) Private Protected function _Gettone: UnicodeString; procedure _Settone(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCDTMFToneChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDTMFToneChangeEventInit; property tone: UnicodeString read _Gettone write _Settone; end; { -------------------------------------------------------------------- TJSRTCAnswerOptions --------------------------------------------------------------------} TJSRTCAnswerOptionsRec = record end; IJSRTCAnswerOptions = interface(IJSRTCOfferAnswerOptions) ['{F905952F-E9E0-3B5D-9432-BBAFF8523260}'] end; TJSRTCAnswerOptions = class(TJSRTCOfferAnswerOptions,IJSRTCAnswerOptions) Private Protected Public constructor create(const aDict : TJSRTCAnswerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCAnswerOptions; end; { -------------------------------------------------------------------- TJSRTCOfferOptions --------------------------------------------------------------------} TJSRTCOfferOptionsRec = record offerToReceiveVideo: Boolean; offerToReceiveAudio: Boolean; iceRestart: Boolean; end; IJSRTCOfferOptions = interface(IJSRTCOfferAnswerOptions) ['{0AD82307-CD32-3D80-8F92-3DD518157BB0}'] function _GetofferToReceiveVideo: Boolean; function _GetofferToReceiveAudio: Boolean; function _GeticeRestart: Boolean; procedure _SetofferToReceiveVideo(const aValue: Boolean); procedure _SetofferToReceiveAudio(const aValue: Boolean); procedure _SeticeRestart(const aValue: Boolean); property offerToReceiveVideo: Boolean read _GetofferToReceiveVideo write _SetofferToReceiveVideo; property offerToReceiveAudio: Boolean read _GetofferToReceiveAudio write _SetofferToReceiveAudio; property iceRestart: Boolean read _GeticeRestart write _SeticeRestart; end; TJSRTCOfferOptions = class(TJSRTCOfferAnswerOptions,IJSRTCOfferOptions) Private Protected function _GetofferToReceiveVideo: Boolean; function _GetofferToReceiveAudio: Boolean; function _GeticeRestart: Boolean; procedure _SetofferToReceiveVideo(const aValue: Boolean); procedure _SetofferToReceiveAudio(const aValue: Boolean); procedure _SeticeRestart(const aValue: Boolean); Public constructor create(const aDict : TJSRTCOfferOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCOfferOptions; property offerToReceiveVideo: Boolean read _GetofferToReceiveVideo write _SetofferToReceiveVideo; property offerToReceiveAudio: Boolean read _GetofferToReceiveAudio write _SetofferToReceiveAudio; property iceRestart: Boolean read _GeticeRestart write _SeticeRestart; end; { -------------------------------------------------------------------- TJSRTCPeerConnectionIceEventInit --------------------------------------------------------------------} TJSRTCPeerConnectionIceEventInitRec = record candidate: TJSRTCIceCandidate; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSRTCPeerConnectionIceEventInit = interface(IJSEventInit) ['{97C1B854-0FBC-3428-B715-390831AB2B1A}'] function _Getcandidate: IJSRTCIceCandidate; procedure _Setcandidate(const aValue: IJSRTCIceCandidate); property candidate: IJSRTCIceCandidate read _Getcandidate write _Setcandidate; end; TJSRTCPeerConnectionIceEventInit = class(TJSEventInit,IJSRTCPeerConnectionIceEventInit) Private Protected function _Getcandidate: IJSRTCIceCandidate; procedure _Setcandidate(const aValue: IJSRTCIceCandidate); Public constructor create(const aDict : TJSRTCPeerConnectionIceEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCPeerConnectionIceEventInit; property candidate: IJSRTCIceCandidate read _Getcandidate write _Setcandidate; end; { -------------------------------------------------------------------- TJSRTCRtpCodecCapability --------------------------------------------------------------------} TJSRTCRtpCodecCapabilityRec = record mimeType: UnicodeString; clockRate: Cardinal; channels: Word; sdpFmtpLine: UnicodeString; end; IJSRTCRtpCodecCapability = interface(IJSRTCRtpCodec) ['{86F22628-FC9C-389F-A766-23648F813218}'] end; TJSRTCRtpCodecCapability = class(TJSRTCRtpCodec,IJSRTCRtpCodecCapability) Private Protected Public constructor create(const aDict : TJSRTCRtpCodecCapabilityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpCodecCapability; end; { -------------------------------------------------------------------- TJSRTCRtpSendParameters --------------------------------------------------------------------} TJSRTCRtpSendParametersRec = record transactionId: UnicodeString; encodings: TJSRTCRtpEncodingParametersDynArray; headerExtensions: TJSRTCRtpHeaderExtensionParametersDynArray; rtcp: TJSRTCRtcpParameters; codecs: TJSRTCRtpCodecParametersDynArray; end; IJSRTCRtpSendParameters = interface(IJSRTCRtpParameters) ['{EFA59527-A632-3DAD-88EB-885D4C98B176}'] function _GettransactionId: UnicodeString; function _Getencodings: TJSRTCRtpEncodingParametersDynArray; procedure _SettransactionId(const aValue: UnicodeString); procedure _Setencodings(const aValue: TJSRTCRtpEncodingParametersDynArray); property transactionId: UnicodeString read _GettransactionId write _SettransactionId; property encodings: TJSRTCRtpEncodingParametersDynArray read _Getencodings write _Setencodings; end; TJSRTCRtpSendParameters = class(TJSRTCRtpParameters,IJSRTCRtpSendParameters) Private Protected function _GettransactionId: UnicodeString; function _Getencodings: TJSRTCRtpEncodingParametersDynArray; procedure _SettransactionId(const aValue: UnicodeString); procedure _Setencodings(const aValue: TJSRTCRtpEncodingParametersDynArray); Public constructor create(const aDict : TJSRTCRtpSendParametersRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpSendParameters; property transactionId: UnicodeString read _GettransactionId write _SettransactionId; property encodings: TJSRTCRtpEncodingParametersDynArray read _Getencodings write _Setencodings; end; { -------------------------------------------------------------------- TJSRTCRtpSynchronizationSource --------------------------------------------------------------------} TJSRTCRtpSynchronizationSourceRec = record voiceActivityFlag: Boolean; timestamp: TDOMHighResTimeStamp; source: Cardinal; audioLevel: Double; rtpTimestamp: Cardinal; end; IJSRTCRtpSynchronizationSource = interface(IJSRTCRtpContributingSource) ['{48495131-A42E-38AD-8391-7008ECC2DFE4}'] function _GetvoiceActivityFlag: Boolean; procedure _SetvoiceActivityFlag(const aValue: Boolean); property voiceActivityFlag: Boolean read _GetvoiceActivityFlag write _SetvoiceActivityFlag; end; TJSRTCRtpSynchronizationSource = class(TJSRTCRtpContributingSource,IJSRTCRtpSynchronizationSource) Private Protected function _GetvoiceActivityFlag: Boolean; procedure _SetvoiceActivityFlag(const aValue: Boolean); Public constructor create(const aDict : TJSRTCRtpSynchronizationSourceRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpSynchronizationSource; property voiceActivityFlag: Boolean read _GetvoiceActivityFlag write _SetvoiceActivityFlag; end; { -------------------------------------------------------------------- TJSRTCRtpStreamStats --------------------------------------------------------------------} TJSRTCRtpStreamStatsRec = record ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCRtpStreamStats = interface(IJSRTCStats) ['{11C760E9-B573-3993-A1A4-19B1498419D6}'] function _Getssrc: Cardinal; function _Getkind: UnicodeString; function _GetmediaType: UnicodeString; function _GettransportId: UnicodeString; function _GetcodecId: UnicodeString; procedure _Setssrc(const aValue: Cardinal); procedure _Setkind(const aValue: UnicodeString); procedure _SetmediaType(const aValue: UnicodeString); procedure _SettransportId(const aValue: UnicodeString); procedure _SetcodecId(const aValue: UnicodeString); property ssrc: Cardinal read _Getssrc write _Setssrc; property kind: UnicodeString read _Getkind write _Setkind; property mediaType: UnicodeString read _GetmediaType write _SetmediaType; property transportId: UnicodeString read _GettransportId write _SettransportId; property codecId: UnicodeString read _GetcodecId write _SetcodecId; end; TJSRTCRtpStreamStats = class(TJSRTCStats,IJSRTCRtpStreamStats) Private Protected function _Getssrc: Cardinal; function _Getkind: UnicodeString; function _GetmediaType: UnicodeString; function _GettransportId: UnicodeString; function _GetcodecId: UnicodeString; procedure _Setssrc(const aValue: Cardinal); procedure _Setkind(const aValue: UnicodeString); procedure _SetmediaType(const aValue: UnicodeString); procedure _SettransportId(const aValue: UnicodeString); procedure _SetcodecId(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpStreamStats; property ssrc: Cardinal read _Getssrc write _Setssrc; property kind: UnicodeString read _Getkind write _Setkind; property mediaType: UnicodeString read _GetmediaType write _SetmediaType; property transportId: UnicodeString read _GettransportId write _SettransportId; property codecId: UnicodeString read _GetcodecId write _SetcodecId; end; { -------------------------------------------------------------------- TJSRTCCodecStats --------------------------------------------------------------------} TJSRTCCodecStatsRec = record payloadType: Cardinal; codecType: TRTCCodecType; transportId: UnicodeString; mimeType: UnicodeString; clockRate: Cardinal; channels: Cardinal; sdpFmtpLine: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCCodecStats = interface(IJSRTCStats) ['{6FAF2024-5E6D-3323-A4B7-C22670BB9B5D}'] function _GetpayloadType: Cardinal; function _GetcodecType: TRTCCodecType; function _GettransportId: UnicodeString; function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Cardinal; function _GetsdpFmtpLine: UnicodeString; procedure _SetpayloadType(const aValue: Cardinal); procedure _SetcodecType(const aValue: TRTCCodecType); procedure _SettransportId(const aValue: UnicodeString); procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Cardinal); procedure _SetsdpFmtpLine(const aValue: UnicodeString); property payloadType: Cardinal read _GetpayloadType write _SetpayloadType; property codecType: TRTCCodecType read _GetcodecType write _SetcodecType; property transportId: UnicodeString read _GettransportId write _SettransportId; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Cardinal read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; TJSRTCCodecStats = class(TJSRTCStats,IJSRTCCodecStats) Private Protected function _GetpayloadType: Cardinal; function _GetcodecType: TRTCCodecType; function _GettransportId: UnicodeString; function _GetmimeType: UnicodeString; function _GetclockRate: Cardinal; function _Getchannels: Cardinal; function _GetsdpFmtpLine: UnicodeString; procedure _SetpayloadType(const aValue: Cardinal); procedure _SetcodecType(const aValue: TRTCCodecType); procedure _SettransportId(const aValue: UnicodeString); procedure _SetmimeType(const aValue: UnicodeString); procedure _SetclockRate(const aValue: Cardinal); procedure _Setchannels(const aValue: Cardinal); procedure _SetsdpFmtpLine(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCCodecStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCCodecStats; property payloadType: Cardinal read _GetpayloadType write _SetpayloadType; property codecType: TRTCCodecType read _GetcodecType write _SetcodecType; property transportId: UnicodeString read _GettransportId write _SettransportId; property mimeType: UnicodeString read _GetmimeType write _SetmimeType; property clockRate: Cardinal read _GetclockRate write _SetclockRate; property channels: Cardinal read _Getchannels write _Setchannels; property sdpFmtpLine: UnicodeString read _GetsdpFmtpLine write _SetsdpFmtpLine; end; { -------------------------------------------------------------------- TJSRTCMediaSourceStats --------------------------------------------------------------------} TJSRTCMediaSourceStatsRec = record trackIdentifier: UnicodeString; kind: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCMediaSourceStats = interface(IJSRTCStats) ['{8F5C9056-D190-3EF1-9828-73F81B1CB7B3}'] function _GettrackIdentifier: UnicodeString; function _Getkind: UnicodeString; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _Setkind(const aValue: UnicodeString); property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property kind: UnicodeString read _Getkind write _Setkind; end; TJSRTCMediaSourceStats = class(TJSRTCStats,IJSRTCMediaSourceStats) Private Protected function _GettrackIdentifier: UnicodeString; function _Getkind: UnicodeString; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _Setkind(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCMediaSourceStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCMediaSourceStats; property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property kind: UnicodeString read _Getkind write _Setkind; end; { -------------------------------------------------------------------- TJSRTCPeerConnectionStats --------------------------------------------------------------------} TJSRTCPeerConnectionStatsRec = record dataChannelsOpened: Cardinal; dataChannelsClosed: Cardinal; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCPeerConnectionStats = interface(IJSRTCStats) ['{5A20B418-FF44-3463-A196-48924915FC9F}'] function _GetdataChannelsOpened: Cardinal; function _GetdataChannelsClosed: Cardinal; procedure _SetdataChannelsOpened(const aValue: Cardinal); procedure _SetdataChannelsClosed(const aValue: Cardinal); property dataChannelsOpened: Cardinal read _GetdataChannelsOpened write _SetdataChannelsOpened; property dataChannelsClosed: Cardinal read _GetdataChannelsClosed write _SetdataChannelsClosed; end; TJSRTCPeerConnectionStats = class(TJSRTCStats,IJSRTCPeerConnectionStats) Private Protected function _GetdataChannelsOpened: Cardinal; function _GetdataChannelsClosed: Cardinal; procedure _SetdataChannelsOpened(const aValue: Cardinal); procedure _SetdataChannelsClosed(const aValue: Cardinal); Public constructor create(const aDict : TJSRTCPeerConnectionStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCPeerConnectionStats; property dataChannelsOpened: Cardinal read _GetdataChannelsOpened write _SetdataChannelsOpened; property dataChannelsClosed: Cardinal read _GetdataChannelsClosed write _SetdataChannelsClosed; end; { -------------------------------------------------------------------- TJSRTCRTPContributingSourceStats --------------------------------------------------------------------} TJSRTCRTPContributingSourceStatsRec = record contributorSsrc: Cardinal; inboundRtpStreamId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCRTPContributingSourceStats = interface(IJSRTCStats) ['{E97D5807-79D9-3429-A6FF-498E141518FC}'] function _GetcontributorSsrc: Cardinal; function _GetinboundRtpStreamId: UnicodeString; procedure _SetcontributorSsrc(const aValue: Cardinal); procedure _SetinboundRtpStreamId(const aValue: UnicodeString); property contributorSsrc: Cardinal read _GetcontributorSsrc write _SetcontributorSsrc; property inboundRtpStreamId: UnicodeString read _GetinboundRtpStreamId write _SetinboundRtpStreamId; end; TJSRTCRTPContributingSourceStats = class(TJSRTCStats,IJSRTCRTPContributingSourceStats) Private Protected function _GetcontributorSsrc: Cardinal; function _GetinboundRtpStreamId: UnicodeString; procedure _SetcontributorSsrc(const aValue: Cardinal); procedure _SetinboundRtpStreamId(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCRTPContributingSourceStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRTPContributingSourceStats; property contributorSsrc: Cardinal read _GetcontributorSsrc write _SetcontributorSsrc; property inboundRtpStreamId: UnicodeString read _GetinboundRtpStreamId write _SetinboundRtpStreamId; end; { -------------------------------------------------------------------- TJSRTCDataChannelStats --------------------------------------------------------------------} TJSRTCDataChannelStatsRec = record label_: UnicodeString; protocol: UnicodeString; dataChannelIdentifier: LongInt; state: TRTCDataChannelState; messagesSent: Cardinal; bytesSent: QWord; messagesReceived: Cardinal; bytesReceived: QWord; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCDataChannelStats = interface(IJSRTCStats) ['{29641C0A-D434-31CE-AE37-F6BAF988AB8A}'] function _Getlabel_: UnicodeString; function _Getprotocol: UnicodeString; function _GetdataChannelIdentifier: LongInt; function _Getstate: TRTCDataChannelState; function _GetmessagesSent: Cardinal; function _GetbytesSent: QWord; function _GetmessagesReceived: Cardinal; function _GetbytesReceived: QWord; procedure _Setlabel_(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UnicodeString); procedure _SetdataChannelIdentifier(const aValue: LongInt); procedure _Setstate(const aValue: TRTCDataChannelState); procedure _SetmessagesSent(const aValue: Cardinal); procedure _SetbytesSent(const aValue: QWord); procedure _SetmessagesReceived(const aValue: Cardinal); procedure _SetbytesReceived(const aValue: QWord); property label_: UnicodeString read _Getlabel_ write _Setlabel_; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property dataChannelIdentifier: LongInt read _GetdataChannelIdentifier write _SetdataChannelIdentifier; property state: TRTCDataChannelState read _Getstate write _Setstate; property messagesSent: Cardinal read _GetmessagesSent write _SetmessagesSent; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property messagesReceived: Cardinal read _GetmessagesReceived write _SetmessagesReceived; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; end; TJSRTCDataChannelStats = class(TJSRTCStats,IJSRTCDataChannelStats) Private Protected function _Getlabel_: UnicodeString; function _Getprotocol: UnicodeString; function _GetdataChannelIdentifier: LongInt; function _Getstate: TRTCDataChannelState; function _GetmessagesSent: Cardinal; function _GetbytesSent: QWord; function _GetmessagesReceived: Cardinal; function _GetbytesReceived: QWord; procedure _Setlabel_(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UnicodeString); procedure _SetdataChannelIdentifier(const aValue: LongInt); procedure _Setstate(const aValue: TRTCDataChannelState); procedure _SetmessagesSent(const aValue: Cardinal); procedure _SetbytesSent(const aValue: QWord); procedure _SetmessagesReceived(const aValue: Cardinal); procedure _SetbytesReceived(const aValue: QWord); Public constructor create(const aDict : TJSRTCDataChannelStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDataChannelStats; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property dataChannelIdentifier: LongInt read _GetdataChannelIdentifier write _SetdataChannelIdentifier; property state: TRTCDataChannelState read _Getstate write _Setstate; property messagesSent: Cardinal read _GetmessagesSent write _SetmessagesSent; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property messagesReceived: Cardinal read _GetmessagesReceived write _SetmessagesReceived; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; end; { -------------------------------------------------------------------- TJSRTCIceCandidatePairStats --------------------------------------------------------------------} TJSRTCIceCandidatePairStatsRec = record transportId: UnicodeString; localCandidateId: UnicodeString; remoteCandidateId: UnicodeString; state: TRTCStatsIceCandidatePairState; priority: QWord; nominated: Boolean; writable: Boolean; readable: Boolean; bytesSent: QWord; bytesReceived: QWord; lastPacketSentTimestamp: TDOMHighResTimeStamp; lastPacketReceivedTimestamp: TDOMHighResTimeStamp; selected: Boolean; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCIceCandidatePairStats = interface(IJSRTCStats) ['{4ECE7FE3-FBC4-3C05-AE3C-115A641D1A85}'] function _GettransportId: UnicodeString; function _GetlocalCandidateId: UnicodeString; function _GetremoteCandidateId: UnicodeString; function _Getstate: TRTCStatsIceCandidatePairState; function _Getpriority: QWord; function _Getnominated: Boolean; function _Getwritable: Boolean; function _Getreadable: Boolean; function _GetbytesSent: QWord; function _GetbytesReceived: QWord; function _GetlastPacketSentTimestamp: TDOMHighResTimeStamp; function _GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; function _Getselected: Boolean; procedure _SettransportId(const aValue: UnicodeString); procedure _SetlocalCandidateId(const aValue: UnicodeString); procedure _SetremoteCandidateId(const aValue: UnicodeString); procedure _Setstate(const aValue: TRTCStatsIceCandidatePairState); procedure _Setpriority(const aValue: QWord); procedure _Setnominated(const aValue: Boolean); procedure _Setwritable(const aValue: Boolean); procedure _Setreadable(const aValue: Boolean); procedure _SetbytesSent(const aValue: QWord); procedure _SetbytesReceived(const aValue: QWord); procedure _SetlastPacketSentTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetlastPacketReceivedTimestamp(const aValue: TDOMHighResTimeStamp); procedure _Setselected(const aValue: Boolean); property transportId: UnicodeString read _GettransportId write _SettransportId; property localCandidateId: UnicodeString read _GetlocalCandidateId write _SetlocalCandidateId; property remoteCandidateId: UnicodeString read _GetremoteCandidateId write _SetremoteCandidateId; property state: TRTCStatsIceCandidatePairState read _Getstate write _Setstate; property priority: QWord read _Getpriority write _Setpriority; property nominated: Boolean read _Getnominated write _Setnominated; property writable: Boolean read _Getwritable write _Setwritable; property readable: Boolean read _Getreadable write _Setreadable; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property lastPacketSentTimestamp: TDOMHighResTimeStamp read _GetlastPacketSentTimestamp write _SetlastPacketSentTimestamp; property lastPacketReceivedTimestamp: TDOMHighResTimeStamp read _GetlastPacketReceivedTimestamp write _SetlastPacketReceivedTimestamp; property selected: Boolean read _Getselected write _Setselected; end; TJSRTCIceCandidatePairStats = class(TJSRTCStats,IJSRTCIceCandidatePairStats) Private Protected function _GettransportId: UnicodeString; function _GetlocalCandidateId: UnicodeString; function _GetremoteCandidateId: UnicodeString; function _Getstate: TRTCStatsIceCandidatePairState; function _Getpriority: QWord; function _Getnominated: Boolean; function _Getwritable: Boolean; function _Getreadable: Boolean; function _GetbytesSent: QWord; function _GetbytesReceived: QWord; function _GetlastPacketSentTimestamp: TDOMHighResTimeStamp; function _GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; function _Getselected: Boolean; procedure _SettransportId(const aValue: UnicodeString); procedure _SetlocalCandidateId(const aValue: UnicodeString); procedure _SetremoteCandidateId(const aValue: UnicodeString); procedure _Setstate(const aValue: TRTCStatsIceCandidatePairState); procedure _Setpriority(const aValue: QWord); procedure _Setnominated(const aValue: Boolean); procedure _Setwritable(const aValue: Boolean); procedure _Setreadable(const aValue: Boolean); procedure _SetbytesSent(const aValue: QWord); procedure _SetbytesReceived(const aValue: QWord); procedure _SetlastPacketSentTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetlastPacketReceivedTimestamp(const aValue: TDOMHighResTimeStamp); procedure _Setselected(const aValue: Boolean); Public constructor create(const aDict : TJSRTCIceCandidatePairStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceCandidatePairStats; property transportId: UnicodeString read _GettransportId write _SettransportId; property localCandidateId: UnicodeString read _GetlocalCandidateId write _SetlocalCandidateId; property remoteCandidateId: UnicodeString read _GetremoteCandidateId write _SetremoteCandidateId; property state: TRTCStatsIceCandidatePairState read _Getstate write _Setstate; property priority: QWord read _Getpriority write _Setpriority; property nominated: Boolean read _Getnominated write _Setnominated; property writable: Boolean read _Getwritable write _Setwritable; property readable: Boolean read _Getreadable write _Setreadable; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property lastPacketSentTimestamp: TDOMHighResTimeStamp read _GetlastPacketSentTimestamp write _SetlastPacketSentTimestamp; property lastPacketReceivedTimestamp: TDOMHighResTimeStamp read _GetlastPacketReceivedTimestamp write _SetlastPacketReceivedTimestamp; property selected: Boolean read _Getselected write _Setselected; end; { -------------------------------------------------------------------- TJSRTCIceCandidateStats --------------------------------------------------------------------} TJSRTCIceCandidateStatsRec = record address: UnicodeString; port: LongInt; protocol: UnicodeString; candidateType: TRTCIceCandidateType; priority: LongInt; relayProtocol: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCIceCandidateStats = interface(IJSRTCStats) ['{65065D6F-C19E-3C83-81A8-7A27ED6331A7}'] function _Getaddress: UnicodeString; function _Getport: LongInt; function _Getprotocol: UnicodeString; function _GetcandidateType: TRTCIceCandidateType; function _Getpriority: LongInt; function _GetrelayProtocol: UnicodeString; procedure _Setaddress(const aValue: UnicodeString); procedure _Setport(const aValue: LongInt); procedure _Setprotocol(const aValue: UnicodeString); procedure _SetcandidateType(const aValue: TRTCIceCandidateType); procedure _Setpriority(const aValue: LongInt); procedure _SetrelayProtocol(const aValue: UnicodeString); property address: UnicodeString read _Getaddress write _Setaddress; property port: LongInt read _Getport write _Setport; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property candidateType: TRTCIceCandidateType read _GetcandidateType write _SetcandidateType; property priority: LongInt read _Getpriority write _Setpriority; property relayProtocol: UnicodeString read _GetrelayProtocol write _SetrelayProtocol; end; TJSRTCIceCandidateStats = class(TJSRTCStats,IJSRTCIceCandidateStats) Private Protected function _Getaddress: UnicodeString; function _Getport: LongInt; function _Getprotocol: UnicodeString; function _GetcandidateType: TRTCIceCandidateType; function _Getpriority: LongInt; function _GetrelayProtocol: UnicodeString; procedure _Setaddress(const aValue: UnicodeString); procedure _Setport(const aValue: LongInt); procedure _Setprotocol(const aValue: UnicodeString); procedure _SetcandidateType(const aValue: TRTCIceCandidateType); procedure _Setpriority(const aValue: LongInt); procedure _SetrelayProtocol(const aValue: UnicodeString); Public constructor create(const aDict : TJSRTCIceCandidateStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceCandidateStats; property address: UnicodeString read _Getaddress write _Setaddress; property port: LongInt read _Getport write _Setport; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property candidateType: TRTCIceCandidateType read _GetcandidateType write _SetcandidateType; property priority: LongInt read _Getpriority write _Setpriority; property relayProtocol: UnicodeString read _GetrelayProtocol write _SetrelayProtocol; end; { -------------------------------------------------------------------- TJSRTCStatsReportInternal --------------------------------------------------------------------} TJSRTCStatsReportInternalRec = record pcid: UnicodeString; browserId: Cardinal; configuration: TJSRTCConfigurationInternal; jsepSessionErrors: UnicodeString; sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; timestamp: TDOMHighResTimeStamp; callDurationMs: Double; iceRestarts: Cardinal; iceRollbacks: Cardinal; offerer: Boolean; closed: Boolean; inboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray; outboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray; remoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray; remoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray; mediaSourceStats: TJSRTCMediaSourceStatsDynArray; videoSourceStats: TJSRTCVideoSourceStatsDynArray; peerConnectionStats: TJSRTCPeerConnectionStatsDynArray; rtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray; iceCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray; iceCandidateStats: TJSRTCIceCandidateStatsDynArray; trickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray; dataChannelStats: TJSRTCDataChannelStatsDynArray; codecStats: TJSRTCCodecStatsDynArray; rawLocalCandidates: TUnicodeStringDynArray; rawRemoteCandidates: TUnicodeStringDynArray; videoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray; bandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray; end; IJSRTCStatsReportInternal = interface(IJSRTCStatsCollection) ['{1E83601D-32F6-3CDF-BBBF-A470A591227F}'] function _Getpcid: UnicodeString; function _GetbrowserId: Cardinal; function _Getconfiguration: IJSRTCConfigurationInternal; function _GetjsepSessionErrors: UnicodeString; function _GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; function _Gettimestamp: TDOMHighResTimeStamp; function _GetcallDurationMs: Double; function _GeticeRestarts: Cardinal; function _GeticeRollbacks: Cardinal; function _Getofferer: Boolean; function _Getclosed: Boolean; procedure _Setpcid(const aValue: UnicodeString); procedure _SetbrowserId(const aValue: Cardinal); procedure _Setconfiguration(const aValue: IJSRTCConfigurationInternal); procedure _SetjsepSessionErrors(const aValue: UnicodeString); procedure _SetsdpHistory(const aValue: TJSRTCSdpHistoryEntryInternalDynArray); procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetcallDurationMs(const aValue: Double); procedure _SeticeRestarts(const aValue: Cardinal); procedure _SeticeRollbacks(const aValue: Cardinal); procedure _Setofferer(const aValue: Boolean); procedure _Setclosed(const aValue: Boolean); property pcid: UnicodeString read _Getpcid write _Setpcid; property browserId: Cardinal read _GetbrowserId write _SetbrowserId; property configuration: IJSRTCConfigurationInternal read _Getconfiguration write _Setconfiguration; property jsepSessionErrors: UnicodeString read _GetjsepSessionErrors write _SetjsepSessionErrors; property sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray read _GetsdpHistory write _SetsdpHistory; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property callDurationMs: Double read _GetcallDurationMs write _SetcallDurationMs; property iceRestarts: Cardinal read _GeticeRestarts write _SeticeRestarts; property iceRollbacks: Cardinal read _GeticeRollbacks write _SeticeRollbacks; property offerer: Boolean read _Getofferer write _Setofferer; property closed: Boolean read _Getclosed write _Setclosed; end; TJSRTCStatsReportInternal = class(TJSRTCStatsCollection,IJSRTCStatsReportInternal) Private Protected function _Getpcid: UnicodeString; function _GetbrowserId: Cardinal; function _Getconfiguration: IJSRTCConfigurationInternal; function _GetjsepSessionErrors: UnicodeString; function _GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; function _Gettimestamp: TDOMHighResTimeStamp; function _GetcallDurationMs: Double; function _GeticeRestarts: Cardinal; function _GeticeRollbacks: Cardinal; function _Getofferer: Boolean; function _Getclosed: Boolean; procedure _Setpcid(const aValue: UnicodeString); procedure _SetbrowserId(const aValue: Cardinal); procedure _Setconfiguration(const aValue: IJSRTCConfigurationInternal); procedure _SetjsepSessionErrors(const aValue: UnicodeString); procedure _SetsdpHistory(const aValue: TJSRTCSdpHistoryEntryInternalDynArray); procedure _Settimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetcallDurationMs(const aValue: Double); procedure _SeticeRestarts(const aValue: Cardinal); procedure _SeticeRollbacks(const aValue: Cardinal); procedure _Setofferer(const aValue: Boolean); procedure _Setclosed(const aValue: Boolean); Public constructor create(const aDict : TJSRTCStatsReportInternalRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCStatsReportInternal; property pcid: UnicodeString read _Getpcid write _Setpcid; property browserId: Cardinal read _GetbrowserId write _SetbrowserId; property configuration: IJSRTCConfigurationInternal read _Getconfiguration write _Setconfiguration; property jsepSessionErrors: UnicodeString read _GetjsepSessionErrors write _SetjsepSessionErrors; property sdpHistory: TJSRTCSdpHistoryEntryInternalDynArray read _GetsdpHistory write _SetsdpHistory; property timestamp: TDOMHighResTimeStamp read _Gettimestamp write _Settimestamp; property callDurationMs: Double read _GetcallDurationMs write _SetcallDurationMs; property iceRestarts: Cardinal read _GeticeRestarts write _SeticeRestarts; property iceRollbacks: Cardinal read _GeticeRollbacks write _SeticeRollbacks; property offerer: Boolean read _Getofferer write _Setofferer; property closed: Boolean read _Getclosed write _Setclosed; end; { -------------------------------------------------------------------- TJSRTCTrackEventInit --------------------------------------------------------------------} TJSRTCTrackEventInitRec = record receiver: TJSRTCRtpReceiver; track: TJSMediaStreamTrack; streams: TJSMediaStreamDynArray; transceiver: TJSRTCRtpTransceiver; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSRTCTrackEventInit = interface(IJSEventInit) ['{D17930D8-F44C-3F03-ACD0-C655EE4C35FB}'] function _Getreceiver: IJSRTCRtpReceiver; function _Gettrack: IJSMediaStreamTrack; function _Getstreams: TJSMediaStreamDynArray; function _Gettransceiver: IJSRTCRtpTransceiver; procedure _Setreceiver(const aValue: IJSRTCRtpReceiver); procedure _Settrack(const aValue: IJSMediaStreamTrack); procedure _Setstreams(const aValue: TJSMediaStreamDynArray); procedure _Settransceiver(const aValue: IJSRTCRtpTransceiver); property receiver: IJSRTCRtpReceiver read _Getreceiver write _Setreceiver; property track: IJSMediaStreamTrack read _Gettrack write _Settrack; property streams: TJSMediaStreamDynArray read _Getstreams write _Setstreams; property transceiver: IJSRTCRtpTransceiver read _Gettransceiver write _Settransceiver; end; TJSRTCTrackEventInit = class(TJSEventInit,IJSRTCTrackEventInit) Private Protected function _Getreceiver: IJSRTCRtpReceiver; function _Gettrack: IJSMediaStreamTrack; function _Getstreams: TJSMediaStreamDynArray; function _Gettransceiver: IJSRTCRtpTransceiver; procedure _Setreceiver(const aValue: IJSRTCRtpReceiver); procedure _Settrack(const aValue: IJSMediaStreamTrack); procedure _Setstreams(const aValue: TJSMediaStreamDynArray); procedure _Settransceiver(const aValue: IJSRTCRtpTransceiver); Public constructor create(const aDict : TJSRTCTrackEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCTrackEventInit; property receiver: IJSRTCRtpReceiver read _Getreceiver write _Setreceiver; property track: IJSMediaStreamTrack read _Gettrack write _Settrack; property streams: TJSMediaStreamDynArray read _Getstreams write _Setstreams; property transceiver: IJSRTCRtpTransceiver read _Gettransceiver write _Settransceiver; end; { -------------------------------------------------------------------- TJSRTCTransformEventInit --------------------------------------------------------------------} TJSRTCTransformEventInitRec = record transformer: TJSRTCRtpScriptTransformer; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSRTCTransformEventInit = interface(IJSEventInit) ['{DAC6B4D9-9F86-3304-A82B-1A3D966E3EAA}'] function _Gettransformer: IJSRTCRtpScriptTransformer; procedure _Settransformer(const aValue: IJSRTCRtpScriptTransformer); property transformer: IJSRTCRtpScriptTransformer read _Gettransformer write _Settransformer; end; TJSRTCTransformEventInit = class(TJSEventInit,IJSRTCTransformEventInit) Private Protected function _Gettransformer: IJSRTCRtpScriptTransformer; procedure _Settransformer(const aValue: IJSRTCRtpScriptTransformer); Public constructor create(const aDict : TJSRTCTransformEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCTransformEventInit; property transformer: IJSRTCRtpScriptTransformer read _Gettransformer write _Settransformer; end; { -------------------------------------------------------------------- TJSSanitizerElementNamespaceWithAttributes --------------------------------------------------------------------} TJSSanitizerElementNamespaceWithAttributesRec = record attributes: TSanitizerAttributeDynArray; removeAttributes: TSanitizerAttributeDynArray; name: UnicodeString; namespace: UnicodeString; end; IJSSanitizerElementNamespaceWithAttributes = interface(IJSSanitizerElementNamespace) ['{AC4CE6DF-AD3D-33FD-91D5-2A0143520196}'] function _Getattributes: TSanitizerAttributeDynArray; function _GetremoveAttributes: TSanitizerAttributeDynArray; procedure _Setattributes(const aValue: TSanitizerAttributeDynArray); procedure _SetremoveAttributes(const aValue: TSanitizerAttributeDynArray); property attributes: TSanitizerAttributeDynArray read _Getattributes write _Setattributes; property removeAttributes: TSanitizerAttributeDynArray read _GetremoveAttributes write _SetremoveAttributes; end; TJSSanitizerElementNamespaceWithAttributes = class(TJSSanitizerElementNamespace,IJSSanitizerElementNamespaceWithAttributes) Private Protected function _Getattributes: TSanitizerAttributeDynArray; function _GetremoveAttributes: TSanitizerAttributeDynArray; procedure _Setattributes(const aValue: TSanitizerAttributeDynArray); procedure _SetremoveAttributes(const aValue: TSanitizerAttributeDynArray); Public constructor create(const aDict : TJSSanitizerElementNamespaceWithAttributesRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSanitizerElementNamespaceWithAttributes; property attributes: TSanitizerAttributeDynArray read _Getattributes write _Setattributes; property removeAttributes: TSanitizerAttributeDynArray read _GetremoveAttributes write _SetremoveAttributes; end; { -------------------------------------------------------------------- TJSScrollViewChangeEventInit --------------------------------------------------------------------} TJSScrollViewChangeEventInitRec = record state: TScrollState; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSScrollViewChangeEventInit = interface(IJSEventInit) ['{7D240573-A2B9-3B1B-9EB3-62E1F0AFE686}'] function _Getstate: TScrollState; procedure _Setstate(const aValue: TScrollState); property state: TScrollState read _Getstate write _Setstate; end; TJSScrollViewChangeEventInit = class(TJSEventInit,IJSScrollViewChangeEventInit) Private Protected function _Getstate: TScrollState; procedure _Setstate(const aValue: TScrollState); Public constructor create(const aDict : TJSScrollViewChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollViewChangeEventInit; property state: TScrollState read _Getstate write _Setstate; end; { -------------------------------------------------------------------- TJSSecurityPolicyViolationEventInit --------------------------------------------------------------------} TJSSecurityPolicyViolationEventInitRec = record documentURI: UnicodeString; referrer: UnicodeString; blockedURI: UnicodeString; violatedDirective: UnicodeString; effectiveDirective: UnicodeString; originalPolicy: UnicodeString; sourceFile: UnicodeString; sample: UnicodeString; disposition: TSecurityPolicyViolationEventDisposition; statusCode: Word; lineNumber: Cardinal; columnNumber: Cardinal; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSecurityPolicyViolationEventInit = interface(IJSEventInit) ['{32F596A6-8370-392E-A1DB-277D13AEF490}'] function _GetdocumentURI: UnicodeString; function _Getreferrer: UnicodeString; function _GetblockedURI: UnicodeString; function _GetviolatedDirective: UnicodeString; function _GeteffectiveDirective: UnicodeString; function _GetoriginalPolicy: UnicodeString; function _GetsourceFile: UnicodeString; function _Getsample: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _GetstatusCode: Word; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; procedure _SetdocumentURI(const aValue: UnicodeString); procedure _Setreferrer(const aValue: UnicodeString); procedure _SetblockedURI(const aValue: UnicodeString); procedure _SetviolatedDirective(const aValue: UnicodeString); procedure _SeteffectiveDirective(const aValue: UnicodeString); procedure _SetoriginalPolicy(const aValue: UnicodeString); procedure _SetsourceFile(const aValue: UnicodeString); procedure _Setsample(const aValue: UnicodeString); procedure _Setdisposition(const aValue: TSecurityPolicyViolationEventDisposition); procedure _SetstatusCode(const aValue: Word); procedure _SetlineNumber(const aValue: Cardinal); procedure _SetcolumnNumber(const aValue: Cardinal); property documentURI: UnicodeString read _GetdocumentURI write _SetdocumentURI; property referrer: UnicodeString read _Getreferrer write _Setreferrer; property blockedURI: UnicodeString read _GetblockedURI write _SetblockedURI; property violatedDirective: UnicodeString read _GetviolatedDirective write _SetviolatedDirective; property effectiveDirective: UnicodeString read _GeteffectiveDirective write _SeteffectiveDirective; property originalPolicy: UnicodeString read _GetoriginalPolicy write _SetoriginalPolicy; property sourceFile: UnicodeString read _GetsourceFile write _SetsourceFile; property sample: UnicodeString read _Getsample write _Setsample; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition write _Setdisposition; property statusCode: Word read _GetstatusCode write _SetstatusCode; property lineNumber: Cardinal read _GetlineNumber write _SetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber write _SetcolumnNumber; end; TJSSecurityPolicyViolationEventInit = class(TJSEventInit,IJSSecurityPolicyViolationEventInit) Private Protected function _GetdocumentURI: UnicodeString; function _Getreferrer: UnicodeString; function _GetblockedURI: UnicodeString; function _GetviolatedDirective: UnicodeString; function _GeteffectiveDirective: UnicodeString; function _GetoriginalPolicy: UnicodeString; function _GetsourceFile: UnicodeString; function _Getsample: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _GetstatusCode: Word; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; procedure _SetdocumentURI(const aValue: UnicodeString); procedure _Setreferrer(const aValue: UnicodeString); procedure _SetblockedURI(const aValue: UnicodeString); procedure _SetviolatedDirective(const aValue: UnicodeString); procedure _SeteffectiveDirective(const aValue: UnicodeString); procedure _SetoriginalPolicy(const aValue: UnicodeString); procedure _SetsourceFile(const aValue: UnicodeString); procedure _Setsample(const aValue: UnicodeString); procedure _Setdisposition(const aValue: TSecurityPolicyViolationEventDisposition); procedure _SetstatusCode(const aValue: Word); procedure _SetlineNumber(const aValue: Cardinal); procedure _SetcolumnNumber(const aValue: Cardinal); Public constructor create(const aDict : TJSSecurityPolicyViolationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSecurityPolicyViolationEventInit; property documentURI: UnicodeString read _GetdocumentURI write _SetdocumentURI; property referrer: UnicodeString read _Getreferrer write _Setreferrer; property blockedURI: UnicodeString read _GetblockedURI write _SetblockedURI; property violatedDirective: UnicodeString read _GetviolatedDirective write _SetviolatedDirective; property effectiveDirective: UnicodeString read _GeteffectiveDirective write _SeteffectiveDirective; property originalPolicy: UnicodeString read _GetoriginalPolicy write _SetoriginalPolicy; property sourceFile: UnicodeString read _GetsourceFile write _SetsourceFile; property sample: UnicodeString read _Getsample write _Setsample; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition write _Setdisposition; property statusCode: Word read _GetstatusCode write _SetstatusCode; property lineNumber: Cardinal read _GetlineNumber write _SetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber write _SetcolumnNumber; end; { -------------------------------------------------------------------- TJSSpeechRecognitionErrorInit --------------------------------------------------------------------} TJSSpeechRecognitionErrorInitRec = record error: TSpeechRecognitionErrorCode; message: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSpeechRecognitionErrorInit = interface(IJSEventInit) ['{914B3CD9-911A-36F8-B107-9401A57B3C3B}'] function _Geterror: TSpeechRecognitionErrorCode; function _Getmessage: UnicodeString; procedure _Seterror(const aValue: TSpeechRecognitionErrorCode); procedure _Setmessage(const aValue: UnicodeString); property error: TSpeechRecognitionErrorCode read _Geterror write _Seterror; property message: UnicodeString read _Getmessage write _Setmessage; end; TJSSpeechRecognitionErrorInit = class(TJSEventInit,IJSSpeechRecognitionErrorInit) Private Protected function _Geterror: TSpeechRecognitionErrorCode; function _Getmessage: UnicodeString; procedure _Seterror(const aValue: TSpeechRecognitionErrorCode); procedure _Setmessage(const aValue: UnicodeString); Public constructor create(const aDict : TJSSpeechRecognitionErrorInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionErrorInit; property error: TSpeechRecognitionErrorCode read _Geterror write _Seterror; property message: UnicodeString read _Getmessage write _Setmessage; end; { -------------------------------------------------------------------- TJSSpeechRecognitionEventInit --------------------------------------------------------------------} TJSSpeechRecognitionEventInitRec = record resultIndex: Cardinal; results: TJSSpeechRecognitionResultList; interpretation: Variant; emma: IJSDocument; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSpeechRecognitionEventInit = interface(IJSEventInit) ['{655EFFC6-4E5F-3E15-B6F1-C8838643C041}'] function _GetresultIndex: Cardinal; function _Getresults: IJSSpeechRecognitionResultList; function _Getinterpretation: Variant; function _Getemma: IJSDocument; procedure _SetresultIndex(const aValue: Cardinal); procedure _Setresults(const aValue: IJSSpeechRecognitionResultList); procedure _Setinterpretation(const aValue: Variant); procedure _Setemma(const aValue: IJSDocument); property resultIndex: Cardinal read _GetresultIndex write _SetresultIndex; property results: IJSSpeechRecognitionResultList read _Getresults write _Setresults; property interpretation: Variant read _Getinterpretation write _Setinterpretation; property emma: IJSDocument read _Getemma write _Setemma; end; TJSSpeechRecognitionEventInit = class(TJSEventInit,IJSSpeechRecognitionEventInit) Private Protected function _GetresultIndex: Cardinal; function _Getresults: IJSSpeechRecognitionResultList; function _Getinterpretation: Variant; function _Getemma: IJSDocument; procedure _SetresultIndex(const aValue: Cardinal); procedure _Setresults(const aValue: IJSSpeechRecognitionResultList); procedure _Setinterpretation(const aValue: Variant); procedure _Setemma(const aValue: IJSDocument); Public constructor create(const aDict : TJSSpeechRecognitionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionEventInit; property resultIndex: Cardinal read _GetresultIndex write _SetresultIndex; property results: IJSSpeechRecognitionResultList read _Getresults write _Setresults; property interpretation: Variant read _Getinterpretation write _Setinterpretation; property emma: IJSDocument read _Getemma write _Setemma; end; { -------------------------------------------------------------------- TJSSpeechSynthesisEventInit --------------------------------------------------------------------} TJSSpeechSynthesisEventInitRec = record utterance: TJSSpeechSynthesisUtterance; charIndex: Cardinal; charLength: Cardinal; elapsedTime: Single; name: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSpeechSynthesisEventInit = interface(IJSEventInit) ['{140E0994-5987-30D4-8D69-B90C871712EA}'] function _Getutterance: IJSSpeechSynthesisUtterance; function _GetcharIndex: Cardinal; function _GetcharLength: Cardinal; function _GetelapsedTime: Single; function _Getname: UnicodeString; procedure _Setutterance(const aValue: IJSSpeechSynthesisUtterance); procedure _SetcharIndex(const aValue: Cardinal); procedure _SetcharLength(const aValue: Cardinal); procedure _SetelapsedTime(const aValue: Single); procedure _Setname(const aValue: UnicodeString); property utterance: IJSSpeechSynthesisUtterance read _Getutterance write _Setutterance; property charIndex: Cardinal read _GetcharIndex write _SetcharIndex; property charLength: Cardinal read _GetcharLength write _SetcharLength; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property name: UnicodeString read _Getname write _Setname; end; TJSSpeechSynthesisEventInit = class(TJSEventInit,IJSSpeechSynthesisEventInit) Private Protected function _Getutterance: IJSSpeechSynthesisUtterance; function _GetcharIndex: Cardinal; function _GetcharLength: Cardinal; function _GetelapsedTime: Single; function _Getname: UnicodeString; procedure _Setutterance(const aValue: IJSSpeechSynthesisUtterance); procedure _SetcharIndex(const aValue: Cardinal); procedure _SetcharLength(const aValue: Cardinal); procedure _SetelapsedTime(const aValue: Single); procedure _Setname(const aValue: UnicodeString); Public constructor create(const aDict : TJSSpeechSynthesisEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisEventInit; property utterance: IJSSpeechSynthesisUtterance read _Getutterance write _Setutterance; property charIndex: Cardinal read _GetcharIndex write _SetcharIndex; property charLength: Cardinal read _GetcharLength write _SetcharLength; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSStereoPannerOptions --------------------------------------------------------------------} TJSStereoPannerOptionsRec = record pan: Single; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSStereoPannerOptions = interface(IJSAudioNodeOptions) ['{A46E0B3F-9F01-3D6B-B7C9-C0EF44BFDAF3}'] function _Getpan: Single; procedure _Setpan(const aValue: Single); property pan: Single read _Getpan write _Setpan; end; TJSStereoPannerOptions = class(TJSAudioNodeOptions,IJSStereoPannerOptions) Private Protected function _Getpan: Single; procedure _Setpan(const aValue: Single); Public constructor create(const aDict : TJSStereoPannerOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStereoPannerOptions; property pan: Single read _Getpan write _Setpan; end; { -------------------------------------------------------------------- TJSStorageEventInit --------------------------------------------------------------------} TJSStorageEventInitRec = record key: UnicodeString; oldValue: UnicodeString; newValue: UnicodeString; url: UnicodeString; storageArea: TJSStorage; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSStorageEventInit = interface(IJSEventInit) ['{EB23213A-C873-380A-9D1E-495842A1E8C9}'] function _Getkey: UnicodeString; function _GetoldValue: UnicodeString; function _GetnewValue: UnicodeString; function _Geturl: UnicodeString; function _GetstorageArea: IJSStorage; procedure _Setkey(const aValue: UnicodeString); procedure _SetoldValue(const aValue: UnicodeString); procedure _SetnewValue(const aValue: UnicodeString); procedure _Seturl(const aValue: UnicodeString); procedure _SetstorageArea(const aValue: IJSStorage); property key: UnicodeString read _Getkey write _Setkey; property oldValue: UnicodeString read _GetoldValue write _SetoldValue; property newValue: UnicodeString read _GetnewValue write _SetnewValue; property url: UnicodeString read _Geturl write _Seturl; property storageArea: IJSStorage read _GetstorageArea write _SetstorageArea; end; TJSStorageEventInit = class(TJSEventInit,IJSStorageEventInit) Private Protected function _Getkey: UnicodeString; function _GetoldValue: UnicodeString; function _GetnewValue: UnicodeString; function _Geturl: UnicodeString; function _GetstorageArea: IJSStorage; procedure _Setkey(const aValue: UnicodeString); procedure _SetoldValue(const aValue: UnicodeString); procedure _SetnewValue(const aValue: UnicodeString); procedure _Seturl(const aValue: UnicodeString); procedure _SetstorageArea(const aValue: IJSStorage); Public constructor create(const aDict : TJSStorageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStorageEventInit; property key: UnicodeString read _Getkey write _Setkey; property oldValue: UnicodeString read _GetoldValue write _SetoldValue; property newValue: UnicodeString read _GetnewValue write _SetnewValue; property url: UnicodeString read _Geturl write _Seturl; property storageArea: IJSStorage read _GetstorageArea write _SetstorageArea; end; { -------------------------------------------------------------------- TJSStreamFilterDataEventInit --------------------------------------------------------------------} TJSStreamFilterDataEventInitRec = record data: IJSArrayBuffer; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSStreamFilterDataEventInit = interface(IJSEventInit) ['{7D240E75-BC5A-3B8B-A7D6-FE19F0AFE686}'] function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); property data: IJSArrayBuffer read _Getdata write _Setdata; end; TJSStreamFilterDataEventInit = class(TJSEventInit,IJSStreamFilterDataEventInit) Private Protected function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); Public constructor create(const aDict : TJSStreamFilterDataEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStreamFilterDataEventInit; property data: IJSArrayBuffer read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSSubmitEventInit --------------------------------------------------------------------} TJSSubmitEventInitRec = record submitter: TJSHTMLElement; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSubmitEventInit = interface(IJSEventInit) ['{260EC35E-6E02-35CE-A218-8FE99F865F5D}'] function _Getsubmitter: IJSHTMLElement; procedure _Setsubmitter(const aValue: IJSHTMLElement); property submitter: IJSHTMLElement read _Getsubmitter write _Setsubmitter; end; TJSSubmitEventInit = class(TJSEventInit,IJSSubmitEventInit) Private Protected function _Getsubmitter: IJSHTMLElement; procedure _Setsubmitter(const aValue: IJSHTMLElement); Public constructor create(const aDict : TJSSubmitEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSubmitEventInit; property submitter: IJSHTMLElement read _Getsubmitter write _Setsubmitter; end; { -------------------------------------------------------------------- TJSAesCbcParams --------------------------------------------------------------------} TJSAesCbcParamsRec = record iv: IJSBufferSource; name: UnicodeString; end; IJSAesCbcParams = interface(IJSAlgorithm) ['{E6CEF4F5-3BD1-3DAD-AFD3-4FA31AA2A621}'] function _Getiv: IJSBufferSource; procedure _Setiv(const aValue: IJSBufferSource); property iv: IJSBufferSource read _Getiv write _Setiv; end; TJSAesCbcParams = class(TJSAlgorithm,IJSAesCbcParams) Private Protected function _Getiv: IJSBufferSource; procedure _Setiv(const aValue: IJSBufferSource); Public constructor create(const aDict : TJSAesCbcParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesCbcParams; property iv: IJSBufferSource read _Getiv write _Setiv; end; { -------------------------------------------------------------------- TJSAesCtrParams --------------------------------------------------------------------} TJSAesCtrParamsRec = record counter: IJSBufferSource; length_: Byte; name: UnicodeString; end; IJSAesCtrParams = interface(IJSAlgorithm) ['{D9134835-4E49-3DAD-AFD3-4F3F7CD6EA00}'] function _Getcounter: IJSBufferSource; function _Getlength_: Byte; procedure _Setcounter(const aValue: IJSBufferSource); procedure _Setlength_(const aValue: Byte); property counter: IJSBufferSource read _Getcounter write _Setcounter; property length_: Byte read _Getlength_ write _Setlength_; end; TJSAesCtrParams = class(TJSAlgorithm,IJSAesCtrParams) Private Protected function _Getcounter: IJSBufferSource; function _Getlength_: Byte; procedure _Setcounter(const aValue: IJSBufferSource); procedure _Setlength_(const aValue: Byte); Public constructor create(const aDict : TJSAesCtrParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesCtrParams; property counter: IJSBufferSource read _Getcounter write _Setcounter; property length_: Byte read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSAesGcmParams --------------------------------------------------------------------} TJSAesGcmParamsRec = record iv: IJSBufferSource; additionalData: IJSBufferSource; tagLength: Byte; name: UnicodeString; end; IJSAesGcmParams = interface(IJSAlgorithm) ['{2CEB8808-9697-3934-A9F5-F8BAB73609C3}'] function _Getiv: IJSBufferSource; function _GetadditionalData: IJSBufferSource; function _GettagLength: Byte; procedure _Setiv(const aValue: IJSBufferSource); procedure _SetadditionalData(const aValue: IJSBufferSource); procedure _SettagLength(const aValue: Byte); property iv: IJSBufferSource read _Getiv write _Setiv; property additionalData: IJSBufferSource read _GetadditionalData write _SetadditionalData; property tagLength: Byte read _GettagLength write _SettagLength; end; TJSAesGcmParams = class(TJSAlgorithm,IJSAesGcmParams) Private Protected function _Getiv: IJSBufferSource; function _GetadditionalData: IJSBufferSource; function _GettagLength: Byte; procedure _Setiv(const aValue: IJSBufferSource); procedure _SetadditionalData(const aValue: IJSBufferSource); procedure _SettagLength(const aValue: Byte); Public constructor create(const aDict : TJSAesGcmParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesGcmParams; property iv: IJSBufferSource read _Getiv write _Setiv; property additionalData: IJSBufferSource read _GetadditionalData write _SetadditionalData; property tagLength: Byte read _GettagLength write _SettagLength; end; { -------------------------------------------------------------------- TJSHmacImportParams --------------------------------------------------------------------} TJSHmacImportParamsRec = record hash: TAlgorithmIdentifier; name: UnicodeString; end; IJSHmacImportParams = interface(IJSAlgorithm) ['{84BBCED8-04AE-3B04-9EF7-F90C53F5B349}'] function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; TJSHmacImportParams = class(TJSAlgorithm,IJSHmacImportParams) Private Protected function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); Public constructor create(const aDict : TJSHmacImportParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHmacImportParams; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSPbkdf2Params --------------------------------------------------------------------} TJSPbkdf2ParamsRec = record salt: IJSBufferSource; iterations: Cardinal; hash: TAlgorithmIdentifier; name: UnicodeString; end; IJSPbkdf2Params = interface(IJSAlgorithm) ['{372D73E6-7FA9-3C2D-AFD3-4F8873CE0BF3}'] function _Getsalt: IJSBufferSource; function _Getiterations: Cardinal; function _Gethash: TAlgorithmIdentifier; procedure _Setsalt(const aValue: IJSBufferSource); procedure _Setiterations(const aValue: Cardinal); procedure _Sethash(const aValue: TAlgorithmIdentifier); property salt: IJSBufferSource read _Getsalt write _Setsalt; property iterations: Cardinal read _Getiterations write _Setiterations; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; TJSPbkdf2Params = class(TJSAlgorithm,IJSPbkdf2Params) Private Protected function _Getsalt: IJSBufferSource; function _Getiterations: Cardinal; function _Gethash: TAlgorithmIdentifier; procedure _Setsalt(const aValue: IJSBufferSource); procedure _Setiterations(const aValue: Cardinal); procedure _Sethash(const aValue: TAlgorithmIdentifier); Public constructor create(const aDict : TJSPbkdf2ParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPbkdf2Params; property salt: IJSBufferSource read _Getsalt write _Setsalt; property iterations: Cardinal read _Getiterations write _Setiterations; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSAesKeyGenParams --------------------------------------------------------------------} TJSAesKeyGenParamsRec = record length_: Word; name: UnicodeString; end; IJSAesKeyGenParams = interface(IJSAlgorithm) ['{2C6B5B9E-2A22-3352-BB5B-60A99E96BEF3}'] function _Getlength_: Word; procedure _Setlength_(const aValue: Word); property length_: Word read _Getlength_ write _Setlength_; end; TJSAesKeyGenParams = class(TJSAlgorithm,IJSAesKeyGenParams) Private Protected function _Getlength_: Word; procedure _Setlength_(const aValue: Word); Public constructor create(const aDict : TJSAesKeyGenParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesKeyGenParams; property length_: Word read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSHmacKeyGenParams --------------------------------------------------------------------} TJSHmacKeyGenParamsRec = record hash: TAlgorithmIdentifier; length_: Cardinal; name: UnicodeString; end; IJSHmacKeyGenParams = interface(IJSAlgorithm) ['{7A5DF592-0570-3A31-9EF7-F90C53F5B34C}'] function _Gethash: TAlgorithmIdentifier; function _Getlength_: Cardinal; procedure _Sethash(const aValue: TAlgorithmIdentifier); procedure _Setlength_(const aValue: Cardinal); property hash: TAlgorithmIdentifier read _Gethash write _Sethash; property length_: Cardinal read _Getlength_ write _Setlength_; end; TJSHmacKeyGenParams = class(TJSAlgorithm,IJSHmacKeyGenParams) Private Protected function _Gethash: TAlgorithmIdentifier; function _Getlength_: Cardinal; procedure _Sethash(const aValue: TAlgorithmIdentifier); procedure _Setlength_(const aValue: Cardinal); Public constructor create(const aDict : TJSHmacKeyGenParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHmacKeyGenParams; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; property length_: Cardinal read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSRsaHashedKeyGenParams --------------------------------------------------------------------} TJSRsaHashedKeyGenParamsRec = record modulusLength: Cardinal; publicExponent: TBigInteger; hash: TAlgorithmIdentifier; name: UnicodeString; end; IJSRsaHashedKeyGenParams = interface(IJSAlgorithm) ['{77F491EB-E739-33A5-AFAC-C2F5EC3AE46C}'] function _GetmodulusLength: Cardinal; function _GetpublicExponent: TBigInteger; function _Gethash: TAlgorithmIdentifier; procedure _SetmodulusLength(const aValue: Cardinal); procedure _SetpublicExponent(const aValue: TBigInteger); procedure _Sethash(const aValue: TAlgorithmIdentifier); property modulusLength: Cardinal read _GetmodulusLength write _SetmodulusLength; property publicExponent: TBigInteger read _GetpublicExponent write _SetpublicExponent; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; TJSRsaHashedKeyGenParams = class(TJSAlgorithm,IJSRsaHashedKeyGenParams) Private Protected function _GetmodulusLength: Cardinal; function _GetpublicExponent: TBigInteger; function _Gethash: TAlgorithmIdentifier; procedure _SetmodulusLength(const aValue: Cardinal); procedure _SetpublicExponent(const aValue: TBigInteger); procedure _Sethash(const aValue: TAlgorithmIdentifier); Public constructor create(const aDict : TJSRsaHashedKeyGenParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaHashedKeyGenParams; property modulusLength: Cardinal read _GetmodulusLength write _SetmodulusLength; property publicExponent: TBigInteger read _GetpublicExponent write _SetpublicExponent; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSRsaOaepParams --------------------------------------------------------------------} TJSRsaOaepParamsRec = record label_: IJSBufferSource; name: UnicodeString; end; IJSRsaOaepParams = interface(IJSAlgorithm) ['{668F86A0-6419-3FFC-B985-AA7C58817248}'] function _Getlabel_: IJSBufferSource; procedure _Setlabel_(const aValue: IJSBufferSource); property label_: IJSBufferSource read _Getlabel_ write _Setlabel_; end; TJSRsaOaepParams = class(TJSAlgorithm,IJSRsaOaepParams) Private Protected function _Getlabel_: IJSBufferSource; procedure _Setlabel_(const aValue: IJSBufferSource); Public constructor create(const aDict : TJSRsaOaepParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaOaepParams; property label_: IJSBufferSource read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSRsaPssParams --------------------------------------------------------------------} TJSRsaPssParamsRec = record saltLength: Cardinal; name: UnicodeString; end; IJSRsaPssParams = interface(IJSAlgorithm) ['{5ACF0BAF-ED51-3DAD-AFD3-5038596EE977}'] function _GetsaltLength: Cardinal; procedure _SetsaltLength(const aValue: Cardinal); property saltLength: Cardinal read _GetsaltLength write _SetsaltLength; end; TJSRsaPssParams = class(TJSAlgorithm,IJSRsaPssParams) Private Protected function _GetsaltLength: Cardinal; procedure _SetsaltLength(const aValue: Cardinal); Public constructor create(const aDict : TJSRsaPssParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRsaPssParams; property saltLength: Cardinal read _GetsaltLength write _SetsaltLength; end; { -------------------------------------------------------------------- TJSEcKeyGenParams --------------------------------------------------------------------} TJSEcKeyGenParamsRec = record namedCurve: TNamedCurve; name: UnicodeString; end; IJSEcKeyGenParams = interface(IJSAlgorithm) ['{2B724A22-C16F-3885-A8E8-3552F8D32636}'] function _GetnamedCurve: TNamedCurve; procedure _SetnamedCurve(const aValue: TNamedCurve); property namedCurve: TNamedCurve read _GetnamedCurve write _SetnamedCurve; end; TJSEcKeyGenParams = class(TJSAlgorithm,IJSEcKeyGenParams) Private Protected function _GetnamedCurve: TNamedCurve; procedure _SetnamedCurve(const aValue: TNamedCurve); Public constructor create(const aDict : TJSEcKeyGenParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEcKeyGenParams; property namedCurve: TNamedCurve read _GetnamedCurve write _SetnamedCurve; end; { -------------------------------------------------------------------- TJSAesDerivedKeyParams --------------------------------------------------------------------} TJSAesDerivedKeyParamsRec = record length_: Cardinal; name: UnicodeString; end; IJSAesDerivedKeyParams = interface(IJSAlgorithm) ['{04477F75-163E-37D6-846D-42F4F319A8F8}'] function _Getlength_: Cardinal; procedure _Setlength_(const aValue: Cardinal); property length_: Cardinal read _Getlength_ write _Setlength_; end; TJSAesDerivedKeyParams = class(TJSAlgorithm,IJSAesDerivedKeyParams) Private Protected function _Getlength_: Cardinal; procedure _Setlength_(const aValue: Cardinal); Public constructor create(const aDict : TJSAesDerivedKeyParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAesDerivedKeyParams; property length_: Cardinal read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSEcdhKeyDeriveParams --------------------------------------------------------------------} TJSEcdhKeyDeriveParamsRec = record public: TJSCryptoKey; name: UnicodeString; end; IJSEcdhKeyDeriveParams = interface(IJSAlgorithm) ['{FE5A583E-7CDB-33DD-BE79-42F4F319A801}'] function _Getpublic: IJSCryptoKey; procedure _Setpublic(const aValue: IJSCryptoKey); property public: IJSCryptoKey read _Getpublic write _Setpublic; end; TJSEcdhKeyDeriveParams = class(TJSAlgorithm,IJSEcdhKeyDeriveParams) Private Protected function _Getpublic: IJSCryptoKey; procedure _Setpublic(const aValue: IJSCryptoKey); Public constructor create(const aDict : TJSEcdhKeyDeriveParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEcdhKeyDeriveParams; property public: IJSCryptoKey read _Getpublic write _Setpublic; end; { -------------------------------------------------------------------- TJSDhImportKeyParams --------------------------------------------------------------------} TJSDhImportKeyParamsRec = record prime: TBigInteger; generator: TBigInteger; name: UnicodeString; end; IJSDhImportKeyParams = interface(IJSAlgorithm) ['{B40FF391-49C2-3DBF-BD0B-D6D76AA4BAAF}'] function _Getprime: TBigInteger; function _Getgenerator: TBigInteger; procedure _Setprime(const aValue: TBigInteger); procedure _Setgenerator(const aValue: TBigInteger); property prime: TBigInteger read _Getprime write _Setprime; property generator: TBigInteger read _Getgenerator write _Setgenerator; end; TJSDhImportKeyParams = class(TJSAlgorithm,IJSDhImportKeyParams) Private Protected function _Getprime: TBigInteger; function _Getgenerator: TBigInteger; procedure _Setprime(const aValue: TBigInteger); procedure _Setgenerator(const aValue: TBigInteger); Public constructor create(const aDict : TJSDhImportKeyParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDhImportKeyParams; property prime: TBigInteger read _Getprime write _Setprime; property generator: TBigInteger read _Getgenerator write _Setgenerator; end; { -------------------------------------------------------------------- TJSEcdsaParams --------------------------------------------------------------------} TJSEcdsaParamsRec = record hash: TAlgorithmIdentifier; name: UnicodeString; end; IJSEcdsaParams = interface(IJSAlgorithm) ['{EEDFD5AA-1542-34F3-99A8-F06C92542131}'] function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; TJSEcdsaParams = class(TJSAlgorithm,IJSEcdsaParams) Private Protected function _Gethash: TAlgorithmIdentifier; procedure _Sethash(const aValue: TAlgorithmIdentifier); Public constructor create(const aDict : TJSEcdsaParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEcdsaParams; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSEcKeyImportParams --------------------------------------------------------------------} TJSEcKeyImportParamsRec = record namedCurve: TNamedCurve; name: UnicodeString; end; IJSEcKeyImportParams = interface(IJSAlgorithm) ['{AD972446-AB3C-3666-A90B-D6D76AA4F1AD}'] function _GetnamedCurve: TNamedCurve; procedure _SetnamedCurve(const aValue: TNamedCurve); property namedCurve: TNamedCurve read _GetnamedCurve write _SetnamedCurve; end; TJSEcKeyImportParams = class(TJSAlgorithm,IJSEcKeyImportParams) Private Protected function _GetnamedCurve: TNamedCurve; procedure _SetnamedCurve(const aValue: TNamedCurve); Public constructor create(const aDict : TJSEcKeyImportParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEcKeyImportParams; property namedCurve: TNamedCurve read _GetnamedCurve write _SetnamedCurve; end; { -------------------------------------------------------------------- TJSHkdfParams --------------------------------------------------------------------} TJSHkdfParamsRec = record hash: TAlgorithmIdentifier; salt: IJSBufferSource; info: IJSBufferSource; name: UnicodeString; end; IJSHkdfParams = interface(IJSAlgorithm) ['{5132C603-A47D-3CC2-933A-2CD24632CE52}'] function _Gethash: TAlgorithmIdentifier; function _Getsalt: IJSBufferSource; function _Getinfo: IJSBufferSource; procedure _Sethash(const aValue: TAlgorithmIdentifier); procedure _Setsalt(const aValue: IJSBufferSource); procedure _Setinfo(const aValue: IJSBufferSource); property hash: TAlgorithmIdentifier read _Gethash write _Sethash; property salt: IJSBufferSource read _Getsalt write _Setsalt; property info: IJSBufferSource read _Getinfo write _Setinfo; end; TJSHkdfParams = class(TJSAlgorithm,IJSHkdfParams) Private Protected function _Gethash: TAlgorithmIdentifier; function _Getsalt: IJSBufferSource; function _Getinfo: IJSBufferSource; procedure _Sethash(const aValue: TAlgorithmIdentifier); procedure _Setsalt(const aValue: IJSBufferSource); procedure _Setinfo(const aValue: IJSBufferSource); Public constructor create(const aDict : TJSHkdfParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHkdfParams; property hash: TAlgorithmIdentifier read _Gethash write _Sethash; property salt: IJSBufferSource read _Getsalt write _Setsalt; property info: IJSBufferSource read _Getinfo write _Setinfo; end; { -------------------------------------------------------------------- TJSTaskPriorityChangeEventInit --------------------------------------------------------------------} TJSTaskPriorityChangeEventInitRec = record previousPriority: TTaskPriority; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTaskPriorityChangeEventInit = interface(IJSEventInit) ['{BAF26D01-B120-3C38-85FC-4122A076A9FA}'] function _GetpreviousPriority: TTaskPriority; procedure _SetpreviousPriority(const aValue: TTaskPriority); property previousPriority: TTaskPriority read _GetpreviousPriority write _SetpreviousPriority; end; TJSTaskPriorityChangeEventInit = class(TJSEventInit,IJSTaskPriorityChangeEventInit) Private Protected function _GetpreviousPriority: TTaskPriority; procedure _SetpreviousPriority(const aValue: TTaskPriority); Public constructor create(const aDict : TJSTaskPriorityChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTaskPriorityChangeEventInit; property previousPriority: TTaskPriority read _GetpreviousPriority write _SetpreviousPriority; end; { -------------------------------------------------------------------- TJSTCPServerSocketEventInit --------------------------------------------------------------------} TJSTCPServerSocketEventInitRec = record socket: TJSTCPSocket; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTCPServerSocketEventInit = interface(IJSEventInit) ['{D87E61E9-1B61-3161-9025-6F1C347A2DE3}'] function _Getsocket: IJSTCPSocket; procedure _Setsocket(const aValue: IJSTCPSocket); property socket: IJSTCPSocket read _Getsocket write _Setsocket; end; TJSTCPServerSocketEventInit = class(TJSEventInit,IJSTCPServerSocketEventInit) Private Protected function _Getsocket: IJSTCPSocket; procedure _Setsocket(const aValue: IJSTCPSocket); Public constructor create(const aDict : TJSTCPServerSocketEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPServerSocketEventInit; property socket: IJSTCPSocket read _Getsocket write _Setsocket; end; { -------------------------------------------------------------------- TJSTCPSocketErrorEventInit --------------------------------------------------------------------} TJSTCPSocketErrorEventInitRec = record name: UnicodeString; message: UnicodeString; errorCode: Cardinal; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTCPSocketErrorEventInit = interface(IJSEventInit) ['{43C725A9-BBEC-3F47-A042-53EE9A2A38E0}'] function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _GeterrorCode: Cardinal; procedure _Setname(const aValue: UnicodeString); procedure _Setmessage(const aValue: UnicodeString); procedure _SeterrorCode(const aValue: Cardinal); property name: UnicodeString read _Getname write _Setname; property message: UnicodeString read _Getmessage write _Setmessage; property errorCode: Cardinal read _GeterrorCode write _SeterrorCode; end; TJSTCPSocketErrorEventInit = class(TJSEventInit,IJSTCPSocketErrorEventInit) Private Protected function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _GeterrorCode: Cardinal; procedure _Setname(const aValue: UnicodeString); procedure _Setmessage(const aValue: UnicodeString); procedure _SeterrorCode(const aValue: Cardinal); Public constructor create(const aDict : TJSTCPSocketErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPSocketErrorEventInit; property name: UnicodeString read _Getname write _Setname; property message: UnicodeString read _Getmessage write _Setmessage; property errorCode: Cardinal read _GeterrorCode write _SeterrorCode; end; { -------------------------------------------------------------------- TJSTCPSocketEventInit --------------------------------------------------------------------} TJSTCPSocketEventInitRec = record data: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTCPSocketEventInit = interface(IJSEventInit) ['{3934054D-01C9-3A05-899B-4B371FD3392D}'] function _Getdata: Variant; procedure _Setdata(const aValue: Variant); property data: Variant read _Getdata write _Setdata; end; TJSTCPSocketEventInit = class(TJSEventInit,IJSTCPSocketEventInit) Private Protected function _Getdata: Variant; procedure _Setdata(const aValue: Variant); Public constructor create(const aDict : TJSTCPSocketEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPSocketEventInit; property data: Variant read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSToggleEventInit --------------------------------------------------------------------} TJSToggleEventInitRec = record oldState: UnicodeString; newState: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSToggleEventInit = interface(IJSEventInit) ['{F6067FEA-5DFB-326E-A218-8FE99ED601F2}'] function _GetoldState: UnicodeString; function _GetnewState: UnicodeString; procedure _SetoldState(const aValue: UnicodeString); procedure _SetnewState(const aValue: UnicodeString); property oldState: UnicodeString read _GetoldState write _SetoldState; property newState: UnicodeString read _GetnewState write _SetnewState; end; TJSToggleEventInit = class(TJSEventInit,IJSToggleEventInit) Private Protected function _GetoldState: UnicodeString; function _GetnewState: UnicodeString; procedure _SetoldState(const aValue: UnicodeString); procedure _SetnewState(const aValue: UnicodeString); Public constructor create(const aDict : TJSToggleEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSToggleEventInit; property oldState: UnicodeString read _GetoldState write _SetoldState; property newState: UnicodeString read _GetnewState write _SetnewState; end; { -------------------------------------------------------------------- TJSTrackEventInit --------------------------------------------------------------------} // Union of VideoTrack, AudioTrack, TextTrack TTrackEventInit_track_Type = Variant; TJSTrackEventInitRec = record track: TTrackEventInit_track_Type; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTrackEventInit = interface(IJSEventInit) ['{A28DA2FA-7477-37F3-BF8E-FD5212E71869}'] function _Gettrack: TTrackEventInit_track_Type; procedure _Settrack(const aValue: TTrackEventInit_track_Type); property track: TTrackEventInit_track_Type read _Gettrack write _Settrack; end; TJSTrackEventInit = class(TJSEventInit,IJSTrackEventInit) Private Protected function _Gettrack: TTrackEventInit_track_Type; procedure _Settrack(const aValue: TTrackEventInit_track_Type); Public constructor create(const aDict : TJSTrackEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrackEventInit; property track: TTrackEventInit_track_Type read _Gettrack write _Settrack; end; { -------------------------------------------------------------------- TJSTransitionEventInit --------------------------------------------------------------------} TJSTransitionEventInitRec = record propertyName: UnicodeString; elapsedTime: Single; pseudoElement: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTransitionEventInit = interface(IJSEventInit) ['{91F01D05-C41F-3FED-8C3B-544DE77E4724}'] function _GetpropertyName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; procedure _SetpropertyName(const aValue: UnicodeString); procedure _SetelapsedTime(const aValue: Single); procedure _SetpseudoElement(const aValue: UnicodeString); property propertyName: UnicodeString read _GetpropertyName write _SetpropertyName; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; TJSTransitionEventInit = class(TJSEventInit,IJSTransitionEventInit) Private Protected function _GetpropertyName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; procedure _SetpropertyName(const aValue: UnicodeString); procedure _SetelapsedTime(const aValue: Single); procedure _SetpseudoElement(const aValue: UnicodeString); Public constructor create(const aDict : TJSTransitionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTransitionEventInit; property propertyName: UnicodeString read _GetpropertyName write _SetpropertyName; property elapsedTime: Single read _GetelapsedTime write _SetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; end; { -------------------------------------------------------------------- TJSUDPMessageEventInit --------------------------------------------------------------------} TJSUDPMessageEventInitRec = record remoteAddress: UnicodeString; remotePort: Word; data: Variant; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSUDPMessageEventInit = interface(IJSEventInit) ['{1DA7B9AD-5BBB-3EDB-A197-4034D3927720}'] function _GetremoteAddress: UnicodeString; function _GetremotePort: Word; function _Getdata: Variant; procedure _SetremoteAddress(const aValue: UnicodeString); procedure _SetremotePort(const aValue: Word); procedure _Setdata(const aValue: Variant); property remoteAddress: UnicodeString read _GetremoteAddress write _SetremoteAddress; property remotePort: Word read _GetremotePort write _SetremotePort; property data: Variant read _Getdata write _Setdata; end; TJSUDPMessageEventInit = class(TJSEventInit,IJSUDPMessageEventInit) Private Protected function _GetremoteAddress: UnicodeString; function _GetremotePort: Word; function _Getdata: Variant; procedure _SetremoteAddress(const aValue: UnicodeString); procedure _SetremotePort(const aValue: Word); procedure _Setdata(const aValue: Variant); Public constructor create(const aDict : TJSUDPMessageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUDPMessageEventInit; property remoteAddress: UnicodeString read _GetremoteAddress write _SetremoteAddress; property remotePort: Word read _GetremotePort write _SetremotePort; property data: Variant read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSUIEventInit --------------------------------------------------------------------} TJSUIEventInitRec = record view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSUIEventInit = interface(IJSEventInit) ['{7A60C9B8-69FA-3FC6-BDA8-E8AD03E09E8A}'] function _Getview: IJSWindow; function _Getdetail: LongInt; procedure _Setview(const aValue: IJSWindow); procedure _Setdetail(const aValue: LongInt); property view: IJSWindow read _Getview write _Setview; property detail: LongInt read _Getdetail write _Setdetail; end; TJSUIEventInit = class(TJSEventInit,IJSUIEventInit) Private Protected function _Getview: IJSWindow; function _Getdetail: LongInt; procedure _Setview(const aValue: IJSWindow); procedure _Setdetail(const aValue: LongInt); Public constructor create(const aDict : TJSUIEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUIEventInit; property view: IJSWindow read _Getview write _Setview; property detail: LongInt read _Getdetail write _Setdetail; end; { -------------------------------------------------------------------- TJSUserProximityEventInit --------------------------------------------------------------------} TJSUserProximityEventInitRec = record near: Boolean; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSUserProximityEventInit = interface(IJSEventInit) ['{AC25D097-3AF3-39EF-9CA2-77D7F3BF8EFD}'] function _Getnear: Boolean; procedure _Setnear(const aValue: Boolean); property near: Boolean read _Getnear write _Setnear; end; TJSUserProximityEventInit = class(TJSEventInit,IJSUserProximityEventInit) Private Protected function _Getnear: Boolean; procedure _Setnear(const aValue: Boolean); Public constructor create(const aDict : TJSUserProximityEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUserProximityEventInit; property near: Boolean read _Getnear write _Setnear; end; { -------------------------------------------------------------------- TJSVRDisplayEventInit --------------------------------------------------------------------} TJSVRDisplayEventInitRec = record display: TJSVRDisplay; reason: TVRDisplayEventReason; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSVRDisplayEventInit = interface(IJSEventInit) ['{3070C61D-157C-3D15-899B-4B371FD3393C}'] function _Getdisplay: IJSVRDisplay; function _Getreason: TVRDisplayEventReason; procedure _Setdisplay(const aValue: IJSVRDisplay); procedure _Setreason(const aValue: TVRDisplayEventReason); property display: IJSVRDisplay read _Getdisplay write _Setdisplay; property reason: TVRDisplayEventReason read _Getreason write _Setreason; end; TJSVRDisplayEventInit = class(TJSEventInit,IJSVRDisplayEventInit) Private Protected function _Getdisplay: IJSVRDisplay; function _Getreason: TVRDisplayEventReason; procedure _Setdisplay(const aValue: IJSVRDisplay); procedure _Setreason(const aValue: TVRDisplayEventReason); Public constructor create(const aDict : TJSVRDisplayEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRDisplayEventInit; property display: IJSVRDisplay read _Getdisplay write _Setdisplay; property reason: TVRDisplayEventReason read _Getreason write _Setreason; end; { -------------------------------------------------------------------- TJSWaveShaperOptions --------------------------------------------------------------------} TJSWaveShaperOptionsRec = record curve: TSingleDynArray; oversample: TOverSampleType; channelCount: Cardinal; channelCountMode: TChannelCountMode; channelInterpretation: TChannelInterpretation; end; IJSWaveShaperOptions = interface(IJSAudioNodeOptions) ['{6FB313ED-B797-320E-A088-CFD1AA6CCD30}'] function _Getcurve: TSingleDynArray; function _Getoversample: TOverSampleType; procedure _Setcurve(const aValue: TSingleDynArray); procedure _Setoversample(const aValue: TOverSampleType); property curve: TSingleDynArray read _Getcurve write _Setcurve; property oversample: TOverSampleType read _Getoversample write _Setoversample; end; TJSWaveShaperOptions = class(TJSAudioNodeOptions,IJSWaveShaperOptions) Private Protected function _Getcurve: TSingleDynArray; function _Getoversample: TOverSampleType; procedure _Setcurve(const aValue: TSingleDynArray); procedure _Setoversample(const aValue: TOverSampleType); Public constructor create(const aDict : TJSWaveShaperOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWaveShaperOptions; property curve: TSingleDynArray read _Getcurve write _Setcurve; property oversample: TOverSampleType read _Getoversample write _Setoversample; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialRpEntity --------------------------------------------------------------------} TJSPublicKeyCredentialRpEntityRec = record id: UnicodeString; name: UnicodeString; end; IJSPublicKeyCredentialRpEntity = interface(IJSPublicKeyCredentialEntity) ['{1E1885FB-11D4-3187-A659-4B825F1AB35B}'] function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); property id: UnicodeString read _Getid write _Setid; end; TJSPublicKeyCredentialRpEntity = class(TJSPublicKeyCredentialEntity,IJSPublicKeyCredentialRpEntity) Private Protected function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); Public constructor create(const aDict : TJSPublicKeyCredentialRpEntityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialRpEntity; property id: UnicodeString read _Getid write _Setid; end; { -------------------------------------------------------------------- TJSPublicKeyCredentialUserEntity --------------------------------------------------------------------} TJSPublicKeyCredentialUserEntityRec = record id: IJSBufferSource; displayName: UnicodeString; name: UnicodeString; end; IJSPublicKeyCredentialUserEntity = interface(IJSPublicKeyCredentialEntity) ['{112B2A1E-B374-3622-8668-D6B0819F4B41}'] function _Getid: IJSBufferSource; function _GetdisplayName: UnicodeString; procedure _Setid(const aValue: IJSBufferSource); procedure _SetdisplayName(const aValue: UnicodeString); property id: IJSBufferSource read _Getid write _Setid; property displayName: UnicodeString read _GetdisplayName write _SetdisplayName; end; TJSPublicKeyCredentialUserEntity = class(TJSPublicKeyCredentialEntity,IJSPublicKeyCredentialUserEntity) Private Protected function _Getid: IJSBufferSource; function _GetdisplayName: UnicodeString; procedure _Setid(const aValue: IJSBufferSource); procedure _SetdisplayName(const aValue: UnicodeString); Public constructor create(const aDict : TJSPublicKeyCredentialUserEntityRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredentialUserEntity; property id: IJSBufferSource read _Getid write _Setid; property displayName: UnicodeString read _GetdisplayName write _SetdisplayName; end; { -------------------------------------------------------------------- TJSWebGLContextEventInit --------------------------------------------------------------------} TJSWebGLContextEventInitRec = record statusMessage: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSWebGLContextEventInit = interface(IJSEventInit) ['{DA4E12E7-D4C8-3F26-A90B-1A3D966E3EAA}'] function _GetstatusMessage: UnicodeString; procedure _SetstatusMessage(const aValue: UnicodeString); property statusMessage: UnicodeString read _GetstatusMessage write _SetstatusMessage; end; TJSWebGLContextEventInit = class(TJSEventInit,IJSWebGLContextEventInit) Private Protected function _GetstatusMessage: UnicodeString; procedure _SetstatusMessage(const aValue: UnicodeString); Public constructor create(const aDict : TJSWebGLContextEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLContextEventInit; property statusMessage: UnicodeString read _GetstatusMessage write _SetstatusMessage; end; { -------------------------------------------------------------------- TJSGPUDeviceDescriptor --------------------------------------------------------------------} TGPUFeatureNameDynArray = IJSArray; // array of GPUFeatureName TJSGPUDeviceDescriptorRec = record requiredFeatures: TGPUFeatureNameDynArray; requiredLimits: IJSObject; defaultQueue: TJSGPUQueueDescriptor; label_: UnicodeString; end; IJSGPUDeviceDescriptor = interface(IJSGPUObjectDescriptorBase) ['{907FCD77-E2E6-3C30-B51A-BDDD08EA0327}'] function _GetrequiredFeatures: TGPUFeatureNameDynArray; function _GetrequiredLimits: IJSObject; function _GetdefaultQueue: IJSGPUQueueDescriptor; procedure _SetrequiredFeatures(const aValue: TGPUFeatureNameDynArray); procedure _SetrequiredLimits(const aValue: IJSObject); procedure _SetdefaultQueue(const aValue: IJSGPUQueueDescriptor); property requiredFeatures: TGPUFeatureNameDynArray read _GetrequiredFeatures write _SetrequiredFeatures; property requiredLimits: IJSObject read _GetrequiredLimits write _SetrequiredLimits; property defaultQueue: IJSGPUQueueDescriptor read _GetdefaultQueue write _SetdefaultQueue; end; TJSGPUDeviceDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUDeviceDescriptor) Private Protected function _GetrequiredFeatures: TGPUFeatureNameDynArray; function _GetrequiredLimits: IJSObject; function _GetdefaultQueue: IJSGPUQueueDescriptor; procedure _SetrequiredFeatures(const aValue: TGPUFeatureNameDynArray); procedure _SetrequiredLimits(const aValue: IJSObject); procedure _SetdefaultQueue(const aValue: IJSGPUQueueDescriptor); Public constructor create(const aDict : TJSGPUDeviceDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUDeviceDescriptor; property requiredFeatures: TGPUFeatureNameDynArray read _GetrequiredFeatures write _SetrequiredFeatures; property requiredLimits: IJSObject read _GetrequiredLimits write _SetrequiredLimits; property defaultQueue: IJSGPUQueueDescriptor read _GetdefaultQueue write _SetdefaultQueue; end; { -------------------------------------------------------------------- TJSGPUBufferDescriptor --------------------------------------------------------------------} TJSGPUBufferDescriptorRec = record size: TGPUSize64; usage: TGPUBufferUsageFlags; mappedAtCreation: Boolean; label_: UnicodeString; end; IJSGPUBufferDescriptor = interface(IJSGPUObjectDescriptorBase) ['{843A58B7-027D-3365-9CA6-67112545D1F1}'] function _Getsize: TGPUSize64; function _Getusage: TGPUBufferUsageFlags; function _GetmappedAtCreation: Boolean; procedure _Setsize(const aValue: TGPUSize64); procedure _Setusage(const aValue: TGPUBufferUsageFlags); procedure _SetmappedAtCreation(const aValue: Boolean); property size: TGPUSize64 read _Getsize write _Setsize; property usage: TGPUBufferUsageFlags read _Getusage write _Setusage; property mappedAtCreation: Boolean read _GetmappedAtCreation write _SetmappedAtCreation; end; TJSGPUBufferDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUBufferDescriptor) Private Protected function _Getsize: TGPUSize64; function _Getusage: TGPUBufferUsageFlags; function _GetmappedAtCreation: Boolean; procedure _Setsize(const aValue: TGPUSize64); procedure _Setusage(const aValue: TGPUBufferUsageFlags); procedure _SetmappedAtCreation(const aValue: Boolean); Public constructor create(const aDict : TJSGPUBufferDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBufferDescriptor; property size: TGPUSize64 read _Getsize write _Setsize; property usage: TGPUBufferUsageFlags read _Getusage write _Setusage; property mappedAtCreation: Boolean read _GetmappedAtCreation write _SetmappedAtCreation; end; { -------------------------------------------------------------------- TJSGPUTextureDescriptor --------------------------------------------------------------------} TJSGPUTextureDescriptorRec = record size: TGPUExtent3D; mipLevelCount: TGPUIntegerCoordinate; sampleCount: TGPUSize32; dimension: TGPUTextureDimension; format: TGPUTextureFormat; usage: TGPUTextureUsageFlags; viewFormats: TGPUTextureFormatDynArray; label_: UnicodeString; end; IJSGPUTextureDescriptor = interface(IJSGPUObjectDescriptorBase) ['{7E7AC472-0C96-31BF-8DC3-580286EB0352}'] function _Getsize: TGPUExtent3D; function _GetmipLevelCount: TGPUIntegerCoordinate; function _GetsampleCount: TGPUSize32; function _Getdimension: TGPUTextureDimension; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUTextureUsageFlags; function _GetviewFormats: TGPUTextureFormatDynArray; procedure _Setsize(const aValue: TGPUExtent3D); procedure _SetmipLevelCount(const aValue: TGPUIntegerCoordinate); procedure _SetsampleCount(const aValue: TGPUSize32); procedure _Setdimension(const aValue: TGPUTextureDimension); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setusage(const aValue: TGPUTextureUsageFlags); procedure _SetviewFormats(const aValue: TGPUTextureFormatDynArray); property size: TGPUExtent3D read _Getsize write _Setsize; property mipLevelCount: TGPUIntegerCoordinate read _GetmipLevelCount write _SetmipLevelCount; property sampleCount: TGPUSize32 read _GetsampleCount write _SetsampleCount; property dimension: TGPUTextureDimension read _Getdimension write _Setdimension; property format: TGPUTextureFormat read _Getformat write _Setformat; property usage: TGPUTextureUsageFlags read _Getusage write _Setusage; property viewFormats: TGPUTextureFormatDynArray read _GetviewFormats write _SetviewFormats; end; TJSGPUTextureDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUTextureDescriptor) Private Protected function _Getsize: TGPUExtent3D; function _GetmipLevelCount: TGPUIntegerCoordinate; function _GetsampleCount: TGPUSize32; function _Getdimension: TGPUTextureDimension; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUTextureUsageFlags; function _GetviewFormats: TGPUTextureFormatDynArray; procedure _Setsize(const aValue: TGPUExtent3D); procedure _SetmipLevelCount(const aValue: TGPUIntegerCoordinate); procedure _SetsampleCount(const aValue: TGPUSize32); procedure _Setdimension(const aValue: TGPUTextureDimension); procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setusage(const aValue: TGPUTextureUsageFlags); procedure _SetviewFormats(const aValue: TGPUTextureFormatDynArray); Public constructor create(const aDict : TJSGPUTextureDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTextureDescriptor; property size: TGPUExtent3D read _Getsize write _Setsize; property mipLevelCount: TGPUIntegerCoordinate read _GetmipLevelCount write _SetmipLevelCount; property sampleCount: TGPUSize32 read _GetsampleCount write _SetsampleCount; property dimension: TGPUTextureDimension read _Getdimension write _Setdimension; property format: TGPUTextureFormat read _Getformat write _Setformat; property usage: TGPUTextureUsageFlags read _Getusage write _Setusage; property viewFormats: TGPUTextureFormatDynArray read _GetviewFormats write _SetviewFormats; end; { -------------------------------------------------------------------- TJSGPUTextureViewDescriptor --------------------------------------------------------------------} TJSGPUTextureViewDescriptorRec = record format: TGPUTextureFormat; dimension: TGPUTextureViewDimension; aspect: TGPUTextureAspect; baseMipLevel: TGPUIntegerCoordinate; mipLevelCount: TGPUIntegerCoordinate; baseArrayLayer: TGPUIntegerCoordinate; arrayLayerCount: TGPUIntegerCoordinate; label_: UnicodeString; end; IJSGPUTextureViewDescriptor = interface(IJSGPUObjectDescriptorBase) ['{998704CA-087B-3E11-B72C-7AA03D7FFC60}'] function _Getformat: TGPUTextureFormat; function _Getdimension: TGPUTextureViewDimension; function _Getaspect: TGPUTextureAspect; function _GetbaseMipLevel: TGPUIntegerCoordinate; function _GetmipLevelCount: TGPUIntegerCoordinate; function _GetbaseArrayLayer: TGPUIntegerCoordinate; function _GetarrayLayerCount: TGPUIntegerCoordinate; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setdimension(const aValue: TGPUTextureViewDimension); procedure _Setaspect(const aValue: TGPUTextureAspect); procedure _SetbaseMipLevel(const aValue: TGPUIntegerCoordinate); procedure _SetmipLevelCount(const aValue: TGPUIntegerCoordinate); procedure _SetbaseArrayLayer(const aValue: TGPUIntegerCoordinate); procedure _SetarrayLayerCount(const aValue: TGPUIntegerCoordinate); property format: TGPUTextureFormat read _Getformat write _Setformat; property dimension: TGPUTextureViewDimension read _Getdimension write _Setdimension; property aspect: TGPUTextureAspect read _Getaspect write _Setaspect; property baseMipLevel: TGPUIntegerCoordinate read _GetbaseMipLevel write _SetbaseMipLevel; property mipLevelCount: TGPUIntegerCoordinate read _GetmipLevelCount write _SetmipLevelCount; property baseArrayLayer: TGPUIntegerCoordinate read _GetbaseArrayLayer write _SetbaseArrayLayer; property arrayLayerCount: TGPUIntegerCoordinate read _GetarrayLayerCount write _SetarrayLayerCount; end; TJSGPUTextureViewDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUTextureViewDescriptor) Private Protected function _Getformat: TGPUTextureFormat; function _Getdimension: TGPUTextureViewDimension; function _Getaspect: TGPUTextureAspect; function _GetbaseMipLevel: TGPUIntegerCoordinate; function _GetmipLevelCount: TGPUIntegerCoordinate; function _GetbaseArrayLayer: TGPUIntegerCoordinate; function _GetarrayLayerCount: TGPUIntegerCoordinate; procedure _Setformat(const aValue: TGPUTextureFormat); procedure _Setdimension(const aValue: TGPUTextureViewDimension); procedure _Setaspect(const aValue: TGPUTextureAspect); procedure _SetbaseMipLevel(const aValue: TGPUIntegerCoordinate); procedure _SetmipLevelCount(const aValue: TGPUIntegerCoordinate); procedure _SetbaseArrayLayer(const aValue: TGPUIntegerCoordinate); procedure _SetarrayLayerCount(const aValue: TGPUIntegerCoordinate); Public constructor create(const aDict : TJSGPUTextureViewDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTextureViewDescriptor; property format: TGPUTextureFormat read _Getformat write _Setformat; property dimension: TGPUTextureViewDimension read _Getdimension write _Setdimension; property aspect: TGPUTextureAspect read _Getaspect write _Setaspect; property baseMipLevel: TGPUIntegerCoordinate read _GetbaseMipLevel write _SetbaseMipLevel; property mipLevelCount: TGPUIntegerCoordinate read _GetmipLevelCount write _SetmipLevelCount; property baseArrayLayer: TGPUIntegerCoordinate read _GetbaseArrayLayer write _SetbaseArrayLayer; property arrayLayerCount: TGPUIntegerCoordinate read _GetarrayLayerCount write _SetarrayLayerCount; end; { -------------------------------------------------------------------- TJSGPUSamplerDescriptor --------------------------------------------------------------------} TJSGPUSamplerDescriptorRec = record addressModeU: TGPUAddressMode; addressModeV: TGPUAddressMode; addressModeW: TGPUAddressMode; magFilter: TGPUFilterMode; minFilter: TGPUFilterMode; mipmapFilter: TGPUMipmapFilterMode; lodMinClamp: Single; lodMaxClamp: Single; compare: TGPUCompareFunction; maxAnisotropy: Word; label_: UnicodeString; end; IJSGPUSamplerDescriptor = interface(IJSGPUObjectDescriptorBase) ['{6A5ACBA9-5789-3322-BDE0-77C1911A85D7}'] function _GetaddressModeU: TGPUAddressMode; function _GetaddressModeV: TGPUAddressMode; function _GetaddressModeW: TGPUAddressMode; function _GetmagFilter: TGPUFilterMode; function _GetminFilter: TGPUFilterMode; function _GetmipmapFilter: TGPUMipmapFilterMode; function _GetlodMinClamp: Single; function _GetlodMaxClamp: Single; function _Getcompare: TGPUCompareFunction; function _GetmaxAnisotropy: Word; procedure _SetaddressModeU(const aValue: TGPUAddressMode); procedure _SetaddressModeV(const aValue: TGPUAddressMode); procedure _SetaddressModeW(const aValue: TGPUAddressMode); procedure _SetmagFilter(const aValue: TGPUFilterMode); procedure _SetminFilter(const aValue: TGPUFilterMode); procedure _SetmipmapFilter(const aValue: TGPUMipmapFilterMode); procedure _SetlodMinClamp(const aValue: Single); procedure _SetlodMaxClamp(const aValue: Single); procedure _Setcompare(const aValue: TGPUCompareFunction); procedure _SetmaxAnisotropy(const aValue: Word); property addressModeU: TGPUAddressMode read _GetaddressModeU write _SetaddressModeU; property addressModeV: TGPUAddressMode read _GetaddressModeV write _SetaddressModeV; property addressModeW: TGPUAddressMode read _GetaddressModeW write _SetaddressModeW; property magFilter: TGPUFilterMode read _GetmagFilter write _SetmagFilter; property minFilter: TGPUFilterMode read _GetminFilter write _SetminFilter; property mipmapFilter: TGPUMipmapFilterMode read _GetmipmapFilter write _SetmipmapFilter; property lodMinClamp: Single read _GetlodMinClamp write _SetlodMinClamp; property lodMaxClamp: Single read _GetlodMaxClamp write _SetlodMaxClamp; property compare: TGPUCompareFunction read _Getcompare write _Setcompare; property maxAnisotropy: Word read _GetmaxAnisotropy write _SetmaxAnisotropy; end; TJSGPUSamplerDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUSamplerDescriptor) Private Protected function _GetaddressModeU: TGPUAddressMode; function _GetaddressModeV: TGPUAddressMode; function _GetaddressModeW: TGPUAddressMode; function _GetmagFilter: TGPUFilterMode; function _GetminFilter: TGPUFilterMode; function _GetmipmapFilter: TGPUMipmapFilterMode; function _GetlodMinClamp: Single; function _GetlodMaxClamp: Single; function _Getcompare: TGPUCompareFunction; function _GetmaxAnisotropy: Word; procedure _SetaddressModeU(const aValue: TGPUAddressMode); procedure _SetaddressModeV(const aValue: TGPUAddressMode); procedure _SetaddressModeW(const aValue: TGPUAddressMode); procedure _SetmagFilter(const aValue: TGPUFilterMode); procedure _SetminFilter(const aValue: TGPUFilterMode); procedure _SetmipmapFilter(const aValue: TGPUMipmapFilterMode); procedure _SetlodMinClamp(const aValue: Single); procedure _SetlodMaxClamp(const aValue: Single); procedure _Setcompare(const aValue: TGPUCompareFunction); procedure _SetmaxAnisotropy(const aValue: Word); Public constructor create(const aDict : TJSGPUSamplerDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUSamplerDescriptor; property addressModeU: TGPUAddressMode read _GetaddressModeU write _SetaddressModeU; property addressModeV: TGPUAddressMode read _GetaddressModeV write _SetaddressModeV; property addressModeW: TGPUAddressMode read _GetaddressModeW write _SetaddressModeW; property magFilter: TGPUFilterMode read _GetmagFilter write _SetmagFilter; property minFilter: TGPUFilterMode read _GetminFilter write _SetminFilter; property mipmapFilter: TGPUMipmapFilterMode read _GetmipmapFilter write _SetmipmapFilter; property lodMinClamp: Single read _GetlodMinClamp write _SetlodMinClamp; property lodMaxClamp: Single read _GetlodMaxClamp write _SetlodMaxClamp; property compare: TGPUCompareFunction read _Getcompare write _Setcompare; property maxAnisotropy: Word read _GetmaxAnisotropy write _SetmaxAnisotropy; end; { -------------------------------------------------------------------- TJSGPUBindGroupLayoutDescriptor --------------------------------------------------------------------} TJSGPUBindGroupLayoutEntryDynArray = IJSArray; // array of GPUBindGroupLayoutEntry TJSGPUBindGroupLayoutDescriptorRec = record entries: TJSGPUBindGroupLayoutEntryDynArray; label_: UnicodeString; end; IJSGPUBindGroupLayoutDescriptor = interface(IJSGPUObjectDescriptorBase) ['{B81736F5-C5CB-316D-9C76-FCE3883CCB91}'] function _Getentries: TJSGPUBindGroupLayoutEntryDynArray; procedure _Setentries(const aValue: TJSGPUBindGroupLayoutEntryDynArray); property entries: TJSGPUBindGroupLayoutEntryDynArray read _Getentries write _Setentries; end; TJSGPUBindGroupLayoutDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUBindGroupLayoutDescriptor) Private Protected function _Getentries: TJSGPUBindGroupLayoutEntryDynArray; procedure _Setentries(const aValue: TJSGPUBindGroupLayoutEntryDynArray); Public constructor create(const aDict : TJSGPUBindGroupLayoutDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroupLayoutDescriptor; property entries: TJSGPUBindGroupLayoutEntryDynArray read _Getentries write _Setentries; end; { -------------------------------------------------------------------- TJSGPUBindGroupDescriptor --------------------------------------------------------------------} TJSGPUBindGroupEntryDynArray = IJSArray; // array of GPUBindGroupEntry TJSGPUBindGroupDescriptorRec = record layout: TJSGPUBindGroupLayout; entries: TJSGPUBindGroupEntryDynArray; label_: UnicodeString; end; IJSGPUBindGroupDescriptor = interface(IJSGPUObjectDescriptorBase) ['{D1CF27DE-3812-3945-9F4C-30E212374217}'] function _Getlayout: IJSGPUBindGroupLayout; function _Getentries: TJSGPUBindGroupEntryDynArray; procedure _Setlayout(const aValue: IJSGPUBindGroupLayout); procedure _Setentries(const aValue: TJSGPUBindGroupEntryDynArray); property layout: IJSGPUBindGroupLayout read _Getlayout write _Setlayout; property entries: TJSGPUBindGroupEntryDynArray read _Getentries write _Setentries; end; TJSGPUBindGroupDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUBindGroupDescriptor) Private Protected function _Getlayout: IJSGPUBindGroupLayout; function _Getentries: TJSGPUBindGroupEntryDynArray; procedure _Setlayout(const aValue: IJSGPUBindGroupLayout); procedure _Setentries(const aValue: TJSGPUBindGroupEntryDynArray); Public constructor create(const aDict : TJSGPUBindGroupDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroupDescriptor; property layout: IJSGPUBindGroupLayout read _Getlayout write _Setlayout; property entries: TJSGPUBindGroupEntryDynArray read _Getentries write _Setentries; end; { -------------------------------------------------------------------- TJSGPUPipelineLayoutDescriptor --------------------------------------------------------------------} TJSGPUBindGroupLayoutDynArray = IJSArray; // array of GPUBindGroupLayout TJSGPUPipelineLayoutDescriptorRec = record bindGroupLayouts: TJSGPUBindGroupLayoutDynArray; label_: UnicodeString; end; IJSGPUPipelineLayoutDescriptor = interface(IJSGPUObjectDescriptorBase) ['{AA123BA9-D774-320B-9E5C-DA9063FCA198}'] function _GetbindGroupLayouts: TJSGPUBindGroupLayoutDynArray; procedure _SetbindGroupLayouts(const aValue: TJSGPUBindGroupLayoutDynArray); property bindGroupLayouts: TJSGPUBindGroupLayoutDynArray read _GetbindGroupLayouts write _SetbindGroupLayouts; end; TJSGPUPipelineLayoutDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUPipelineLayoutDescriptor) Private Protected function _GetbindGroupLayouts: TJSGPUBindGroupLayoutDynArray; procedure _SetbindGroupLayouts(const aValue: TJSGPUBindGroupLayoutDynArray); Public constructor create(const aDict : TJSGPUPipelineLayoutDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUPipelineLayoutDescriptor; property bindGroupLayouts: TJSGPUBindGroupLayoutDynArray read _GetbindGroupLayouts write _SetbindGroupLayouts; end; { -------------------------------------------------------------------- TJSGPUShaderModuleDescriptor --------------------------------------------------------------------} TJSGPUShaderModuleDescriptorRec = record code: UTF8String; sourceMap: IJSObject; label_: UnicodeString; end; IJSGPUShaderModuleDescriptor = interface(IJSGPUObjectDescriptorBase) ['{0B1ADF04-AE2C-3F58-B2D3-F8DE22437455}'] function _Getcode: UTF8String; function _GetsourceMap: IJSObject; procedure _Setcode(const aValue: UTF8String); procedure _SetsourceMap(const aValue: IJSObject); property code: UTF8String read _Getcode write _Setcode; property sourceMap: IJSObject read _GetsourceMap write _SetsourceMap; end; TJSGPUShaderModuleDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUShaderModuleDescriptor) Private Protected function _Getcode: UTF8String; function _GetsourceMap: IJSObject; procedure _Setcode(const aValue: UTF8String); procedure _SetsourceMap(const aValue: IJSObject); Public constructor create(const aDict : TJSGPUShaderModuleDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUShaderModuleDescriptor; property code: UTF8String read _Getcode write _Setcode; property sourceMap: IJSObject read _GetsourceMap write _SetsourceMap; end; { -------------------------------------------------------------------- TJSGPUPipelineDescriptorBase --------------------------------------------------------------------} // Union of GPUPipelineLayout, GPUAutoLayoutMode TGPUPipelineDescriptorBase_layout_Type = Variant; TJSGPUPipelineDescriptorBaseRec = record layout: TGPUPipelineDescriptorBase_layout_Type; label_: UnicodeString; end; IJSGPUPipelineDescriptorBase = interface(IJSGPUObjectDescriptorBase) ['{F0A7A3FC-4FA4-3BD9-85C4-2FBC74B02DB8}'] function _Getlayout: TGPUPipelineDescriptorBase_layout_Type; procedure _Setlayout(const aValue: TGPUPipelineDescriptorBase_layout_Type); property layout: TGPUPipelineDescriptorBase_layout_Type read _Getlayout write _Setlayout; end; TJSGPUPipelineDescriptorBase = class(TJSGPUObjectDescriptorBase,IJSGPUPipelineDescriptorBase) Private Protected function _Getlayout: TGPUPipelineDescriptorBase_layout_Type; procedure _Setlayout(const aValue: TGPUPipelineDescriptorBase_layout_Type); Public constructor create(const aDict : TJSGPUPipelineDescriptorBaseRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUPipelineDescriptorBase; property layout: TGPUPipelineDescriptorBase_layout_Type read _Getlayout write _Setlayout; end; { -------------------------------------------------------------------- TJSGPUFragmentState --------------------------------------------------------------------} TJSGPUColorTargetStateDynArray = IJSArray; // array of GPUColorTargetState TJSGPUFragmentStateRec = record targets: TJSGPUColorTargetStateDynArray; module: TJSGPUShaderModule; entryPoint: UnicodeString; end; IJSGPUFragmentState = interface(IJSGPUProgrammableStage) ['{F5E4798F-7A95-31F9-A465-CF125E8F07A6}'] function _Gettargets: TJSGPUColorTargetStateDynArray; procedure _Settargets(const aValue: TJSGPUColorTargetStateDynArray); property targets: TJSGPUColorTargetStateDynArray read _Gettargets write _Settargets; end; TJSGPUFragmentState = class(TJSGPUProgrammableStage,IJSGPUFragmentState) Private Protected function _Gettargets: TJSGPUColorTargetStateDynArray; procedure _Settargets(const aValue: TJSGPUColorTargetStateDynArray); Public constructor create(const aDict : TJSGPUFragmentStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUFragmentState; property targets: TJSGPUColorTargetStateDynArray read _Gettargets write _Settargets; end; { -------------------------------------------------------------------- TJSGPUVertexState --------------------------------------------------------------------} TJSGPUVertexBufferLayoutDynArray = IJSArray; // array of GPUVertexBufferLayout TJSGPUVertexStateRec = record buffers: TJSGPUVertexBufferLayoutDynArray; module: TJSGPUShaderModule; entryPoint: UnicodeString; end; IJSGPUVertexState = interface(IJSGPUProgrammableStage) ['{45B76DF6-E1A5-3FDF-A33C-517C492B9A72}'] function _Getbuffers: TJSGPUVertexBufferLayoutDynArray; procedure _Setbuffers(const aValue: TJSGPUVertexBufferLayoutDynArray); property buffers: TJSGPUVertexBufferLayoutDynArray read _Getbuffers write _Setbuffers; end; TJSGPUVertexState = class(TJSGPUProgrammableStage,IJSGPUVertexState) Private Protected function _Getbuffers: TJSGPUVertexBufferLayoutDynArray; procedure _Setbuffers(const aValue: TJSGPUVertexBufferLayoutDynArray); Public constructor create(const aDict : TJSGPUVertexStateRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUVertexState; property buffers: TJSGPUVertexBufferLayoutDynArray read _Getbuffers write _Setbuffers; end; { -------------------------------------------------------------------- TJSGPUImageCopyBuffer --------------------------------------------------------------------} TJSGPUImageCopyBufferRec = record buffer: TJSGPUBuffer; offset: TGPUSize64; bytesPerRow: TGPUSize32; rowsPerImage: TGPUSize32; end; IJSGPUImageCopyBuffer = interface(IJSGPUImageDataLayout) ['{9015E54B-8B3B-3B1F-A4C6-C9F5251BDB2D}'] function _Getbuffer: IJSGPUBuffer; procedure _Setbuffer(const aValue: IJSGPUBuffer); property buffer: IJSGPUBuffer read _Getbuffer write _Setbuffer; end; TJSGPUImageCopyBuffer = class(TJSGPUImageDataLayout,IJSGPUImageCopyBuffer) Private Protected function _Getbuffer: IJSGPUBuffer; procedure _Setbuffer(const aValue: IJSGPUBuffer); Public constructor create(const aDict : TJSGPUImageCopyBufferRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUImageCopyBuffer; property buffer: IJSGPUBuffer read _Getbuffer write _Setbuffer; end; { -------------------------------------------------------------------- TJSGPUImageCopyTextureTagged --------------------------------------------------------------------} TJSGPUImageCopyTextureTaggedRec = record premultipliedAlpha: Boolean; texture: TJSGPUTexture; mipLevel: TGPUIntegerCoordinate; origin: TGPUOrigin3D; aspect: TGPUTextureAspect; end; IJSGPUImageCopyTextureTagged = interface(IJSGPUImageCopyTexture) ['{7C858555-626D-36C0-BFAD-72856041885B}'] function _GetpremultipliedAlpha: Boolean; procedure _SetpremultipliedAlpha(const aValue: Boolean); property premultipliedAlpha: Boolean read _GetpremultipliedAlpha write _SetpremultipliedAlpha; end; TJSGPUImageCopyTextureTagged = class(TJSGPUImageCopyTexture,IJSGPUImageCopyTextureTagged) Private Protected function _GetpremultipliedAlpha: Boolean; procedure _SetpremultipliedAlpha(const aValue: Boolean); Public constructor create(const aDict : TJSGPUImageCopyTextureTaggedRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUImageCopyTextureTagged; property premultipliedAlpha: Boolean read _GetpremultipliedAlpha write _SetpremultipliedAlpha; end; { -------------------------------------------------------------------- TJSGPUCommandBufferDescriptor --------------------------------------------------------------------} TJSGPUCommandBufferDescriptorRec = record label_: UnicodeString; end; IJSGPUCommandBufferDescriptor = interface(IJSGPUObjectDescriptorBase) ['{CAAB04CC-DEB9-3F08-8165-442118AD62BE}'] end; TJSGPUCommandBufferDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUCommandBufferDescriptor) Private Protected Public constructor create(const aDict : TJSGPUCommandBufferDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCommandBufferDescriptor; end; { -------------------------------------------------------------------- TJSGPUCommandEncoderDescriptor --------------------------------------------------------------------} TJSGPUCommandEncoderDescriptorRec = record label_: UnicodeString; end; IJSGPUCommandEncoderDescriptor = interface(IJSGPUObjectDescriptorBase) ['{54BDA8DE-76FA-3855-A29D-89B017D27F35}'] end; TJSGPUCommandEncoderDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUCommandEncoderDescriptor) Private Protected Public constructor create(const aDict : TJSGPUCommandEncoderDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCommandEncoderDescriptor; end; { -------------------------------------------------------------------- TJSGPUComputePassDescriptor --------------------------------------------------------------------} TJSGPUComputePassDescriptorRec = record label_: UnicodeString; end; IJSGPUComputePassDescriptor = interface(IJSGPUObjectDescriptorBase) ['{62EC6894-AF27-312C-8683-9469BF97F9C9}'] end; TJSGPUComputePassDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUComputePassDescriptor) Private Protected Public constructor create(const aDict : TJSGPUComputePassDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUComputePassDescriptor; end; { -------------------------------------------------------------------- TJSGPURenderPassDescriptor --------------------------------------------------------------------} TJSGPURenderPassColorAttachmentDynArray = IJSArray; // array of GPURenderPassColorAttachment TJSGPURenderPassDescriptorRec = record colorAttachments: TJSGPURenderPassColorAttachmentDynArray; depthStencilAttachment: TJSGPURenderPassDepthStencilAttachment; occlusionQuerySet: TJSGPUQuerySet; label_: UnicodeString; end; IJSGPURenderPassDescriptor = interface(IJSGPUObjectDescriptorBase) ['{1512CB5D-386C-3B47-A297-C6167DB655CA}'] function _GetcolorAttachments: TJSGPURenderPassColorAttachmentDynArray; function _GetdepthStencilAttachment: IJSGPURenderPassDepthStencilAttachment; function _GetocclusionQuerySet: IJSGPUQuerySet; procedure _SetcolorAttachments(const aValue: TJSGPURenderPassColorAttachmentDynArray); procedure _SetdepthStencilAttachment(const aValue: IJSGPURenderPassDepthStencilAttachment); procedure _SetocclusionQuerySet(const aValue: IJSGPUQuerySet); property colorAttachments: TJSGPURenderPassColorAttachmentDynArray read _GetcolorAttachments write _SetcolorAttachments; property depthStencilAttachment: IJSGPURenderPassDepthStencilAttachment read _GetdepthStencilAttachment write _SetdepthStencilAttachment; property occlusionQuerySet: IJSGPUQuerySet read _GetocclusionQuerySet write _SetocclusionQuerySet; end; TJSGPURenderPassDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPURenderPassDescriptor) Private Protected function _GetcolorAttachments: TJSGPURenderPassColorAttachmentDynArray; function _GetdepthStencilAttachment: IJSGPURenderPassDepthStencilAttachment; function _GetocclusionQuerySet: IJSGPUQuerySet; procedure _SetcolorAttachments(const aValue: TJSGPURenderPassColorAttachmentDynArray); procedure _SetdepthStencilAttachment(const aValue: IJSGPURenderPassDepthStencilAttachment); procedure _SetocclusionQuerySet(const aValue: IJSGPUQuerySet); Public constructor create(const aDict : TJSGPURenderPassDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPassDescriptor; property colorAttachments: TJSGPURenderPassColorAttachmentDynArray read _GetcolorAttachments write _SetcolorAttachments; property depthStencilAttachment: IJSGPURenderPassDepthStencilAttachment read _GetdepthStencilAttachment write _SetdepthStencilAttachment; property occlusionQuerySet: IJSGPUQuerySet read _GetocclusionQuerySet write _SetocclusionQuerySet; end; { -------------------------------------------------------------------- TJSGPURenderPassLayout --------------------------------------------------------------------} TJSGPURenderPassLayoutRec = record colorFormats: TGPUTextureFormatDynArray; depthStencilFormat: TGPUTextureFormat; sampleCount: TGPUSize32; label_: UnicodeString; end; IJSGPURenderPassLayout = interface(IJSGPUObjectDescriptorBase) ['{3EC0FECD-92C6-39BB-9B83-3DDC46B9E689}'] function _GetcolorFormats: TGPUTextureFormatDynArray; function _GetdepthStencilFormat: TGPUTextureFormat; function _GetsampleCount: TGPUSize32; procedure _SetcolorFormats(const aValue: TGPUTextureFormatDynArray); procedure _SetdepthStencilFormat(const aValue: TGPUTextureFormat); procedure _SetsampleCount(const aValue: TGPUSize32); property colorFormats: TGPUTextureFormatDynArray read _GetcolorFormats write _SetcolorFormats; property depthStencilFormat: TGPUTextureFormat read _GetdepthStencilFormat write _SetdepthStencilFormat; property sampleCount: TGPUSize32 read _GetsampleCount write _SetsampleCount; end; TJSGPURenderPassLayout = class(TJSGPUObjectDescriptorBase,IJSGPURenderPassLayout) Private Protected function _GetcolorFormats: TGPUTextureFormatDynArray; function _GetdepthStencilFormat: TGPUTextureFormat; function _GetsampleCount: TGPUSize32; procedure _SetcolorFormats(const aValue: TGPUTextureFormatDynArray); procedure _SetdepthStencilFormat(const aValue: TGPUTextureFormat); procedure _SetsampleCount(const aValue: TGPUSize32); Public constructor create(const aDict : TJSGPURenderPassLayoutRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPassLayout; property colorFormats: TGPUTextureFormatDynArray read _GetcolorFormats write _SetcolorFormats; property depthStencilFormat: TGPUTextureFormat read _GetdepthStencilFormat write _SetdepthStencilFormat; property sampleCount: TGPUSize32 read _GetsampleCount write _SetsampleCount; end; { -------------------------------------------------------------------- TJSGPURenderBundleDescriptor --------------------------------------------------------------------} TJSGPURenderBundleDescriptorRec = record label_: UnicodeString; end; IJSGPURenderBundleDescriptor = interface(IJSGPUObjectDescriptorBase) ['{A977A3FB-8B94-3F54-8B02-F8225309D4ED}'] end; TJSGPURenderBundleDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPURenderBundleDescriptor) Private Protected Public constructor create(const aDict : TJSGPURenderBundleDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderBundleDescriptor; end; { -------------------------------------------------------------------- TJSGPUQueueDescriptor --------------------------------------------------------------------} TJSGPUQueueDescriptorRec = record label_: UnicodeString; end; IJSGPUQueueDescriptor = interface(IJSGPUObjectDescriptorBase) ['{90918E0A-F440-3718-AD62-BF6F826C710E}'] end; TJSGPUQueueDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUQueueDescriptor) Private Protected Public constructor create(const aDict : TJSGPUQueueDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUQueueDescriptor; end; { -------------------------------------------------------------------- TJSGPUQuerySetDescriptor --------------------------------------------------------------------} TGPUPipelineStatisticNameDynArray = IJSArray; // array of GPUPipelineStatisticName TJSGPUQuerySetDescriptorRec = record type_: TGPUQueryType; count: TGPUSize32; pipelineStatistics: TGPUPipelineStatisticNameDynArray; label_: UnicodeString; end; IJSGPUQuerySetDescriptor = interface(IJSGPUObjectDescriptorBase) ['{F46BB9F5-FAFB-3D8D-B67B-D6B1297A2A67}'] function _Gettype_: TGPUQueryType; function _Getcount: TGPUSize32; function _GetpipelineStatistics: TGPUPipelineStatisticNameDynArray; procedure _Settype_(const aValue: TGPUQueryType); procedure _Setcount(const aValue: TGPUSize32); procedure _SetpipelineStatistics(const aValue: TGPUPipelineStatisticNameDynArray); property type_: TGPUQueryType read _Gettype_ write _Settype_; property count: TGPUSize32 read _Getcount write _Setcount; property pipelineStatistics: TGPUPipelineStatisticNameDynArray read _GetpipelineStatistics write _SetpipelineStatistics; end; TJSGPUQuerySetDescriptor = class(TJSGPUObjectDescriptorBase,IJSGPUQuerySetDescriptor) Private Protected function _Gettype_: TGPUQueryType; function _Getcount: TGPUSize32; function _GetpipelineStatistics: TGPUPipelineStatisticNameDynArray; procedure _Settype_(const aValue: TGPUQueryType); procedure _Setcount(const aValue: TGPUSize32); procedure _SetpipelineStatistics(const aValue: TGPUPipelineStatisticNameDynArray); Public constructor create(const aDict : TJSGPUQuerySetDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUQuerySetDescriptor; property type_: TGPUQueryType read _Gettype_ write _Settype_; property count: TGPUSize32 read _Getcount write _Setcount; property pipelineStatistics: TGPUPipelineStatisticNameDynArray read _GetpipelineStatistics write _SetpipelineStatistics; end; { -------------------------------------------------------------------- TJSScrollToOptions --------------------------------------------------------------------} TJSScrollToOptionsRec = record left: Double; top: Double; behavior: TScrollBehavior; end; IJSScrollToOptions = interface(IJSScrollOptions) ['{2F416E32-B1E2-3BF2-8923-7ACB273A9F22}'] function _Getleft: Double; function _Gettop: Double; procedure _Setleft(const aValue: Double); procedure _Settop(const aValue: Double); property left: Double read _Getleft write _Setleft; property top: Double read _Gettop write _Settop; end; TJSScrollToOptions = class(TJSScrollOptions,IJSScrollToOptions) Private Protected function _Getleft: Double; function _Gettop: Double; procedure _Setleft(const aValue: Double); procedure _Settop(const aValue: Double); Public constructor create(const aDict : TJSScrollToOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollToOptions; property left: Double read _Getleft write _Setleft; property top: Double read _Gettop write _Settop; end; { -------------------------------------------------------------------- TJSWindowPostMessageOptions --------------------------------------------------------------------} TJSWindowPostMessageOptionsRec = record targetOrigin: UnicodeString; transfer: TIJSObjectDynArray; end; IJSWindowPostMessageOptions = interface(IJSStructuredSerializeOptions) ['{9EF524CB-A8C4-33D2-8293-F4A7F909D160}'] function _GettargetOrigin: UnicodeString; procedure _SettargetOrigin(const aValue: UnicodeString); property targetOrigin: UnicodeString read _GettargetOrigin write _SettargetOrigin; end; TJSWindowPostMessageOptions = class(TJSStructuredSerializeOptions,IJSWindowPostMessageOptions) Private Protected function _GettargetOrigin: UnicodeString; procedure _SettargetOrigin(const aValue: UnicodeString); Public constructor create(const aDict : TJSWindowPostMessageOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowPostMessageOptions; property targetOrigin: UnicodeString read _GettargetOrigin write _SettargetOrigin; end; { -------------------------------------------------------------------- TJSXRInputSourceEventInit --------------------------------------------------------------------} TJSXRInputSourceEventInitRec = record frame: TJSXRFrame; inputSource: TJSXRInputSource; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSXRInputSourceEventInit = interface(IJSEventInit) ['{AC079098-78D4-3C67-B21F-C9EBF3BF8EFD}'] function _Getframe: IJSXRFrame; function _GetinputSource: IJSXRInputSource; procedure _Setframe(const aValue: IJSXRFrame); procedure _SetinputSource(const aValue: IJSXRInputSource); property frame: IJSXRFrame read _Getframe write _Setframe; property inputSource: IJSXRInputSource read _GetinputSource write _SetinputSource; end; TJSXRInputSourceEventInit = class(TJSEventInit,IJSXRInputSourceEventInit) Private Protected function _Getframe: IJSXRFrame; function _GetinputSource: IJSXRInputSource; procedure _Setframe(const aValue: IJSXRFrame); procedure _SetinputSource(const aValue: IJSXRInputSource); Public constructor create(const aDict : TJSXRInputSourceEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSourceEventInit; property frame: IJSXRFrame read _Getframe write _Setframe; property inputSource: IJSXRInputSource read _GetinputSource write _SetinputSource; end; { -------------------------------------------------------------------- TJSXRInputSourcesChangeEventInit --------------------------------------------------------------------} TJSXRInputSourceDynArray = IJSArray; // array of XRInputSource TJSXRInputSourcesChangeEventInitRec = record session: TJSXRSession; added: TJSXRInputSourceDynArray; removed: TJSXRInputSourceDynArray; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSXRInputSourcesChangeEventInit = interface(IJSEventInit) ['{F051876F-DB3C-3FEB-91F8-3B45996617A4}'] function _Getsession: IJSXRSession; function _Getadded: TJSXRInputSourceDynArray; function _Getremoved: TJSXRInputSourceDynArray; procedure _Setsession(const aValue: IJSXRSession); procedure _Setadded(const aValue: TJSXRInputSourceDynArray); procedure _Setremoved(const aValue: TJSXRInputSourceDynArray); property session: IJSXRSession read _Getsession write _Setsession; property added: TJSXRInputSourceDynArray read _Getadded write _Setadded; property removed: TJSXRInputSourceDynArray read _Getremoved write _Setremoved; end; TJSXRInputSourcesChangeEventInit = class(TJSEventInit,IJSXRInputSourcesChangeEventInit) Private Protected function _Getsession: IJSXRSession; function _Getadded: TJSXRInputSourceDynArray; function _Getremoved: TJSXRInputSourceDynArray; procedure _Setsession(const aValue: IJSXRSession); procedure _Setadded(const aValue: TJSXRInputSourceDynArray); procedure _Setremoved(const aValue: TJSXRInputSourceDynArray); Public constructor create(const aDict : TJSXRInputSourcesChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSourcesChangeEventInit; property session: IJSXRSession read _Getsession write _Setsession; property added: TJSXRInputSourceDynArray read _Getadded write _Setadded; property removed: TJSXRInputSourceDynArray read _Getremoved write _Setremoved; end; { -------------------------------------------------------------------- TJSXRReferenceSpaceEventInit --------------------------------------------------------------------} TJSXRReferenceSpaceEventInitRec = record referenceSpace: TJSXRReferenceSpace; transform: TJSXRRigidTransform; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSXRReferenceSpaceEventInit = interface(IJSEventInit) ['{47D24D66-A59E-35C4-9FC9-3BFBE45809E9}'] function _GetreferenceSpace: IJSXRReferenceSpace; function _Gettransform: IJSXRRigidTransform; procedure _SetreferenceSpace(const aValue: IJSXRReferenceSpace); procedure _Settransform(const aValue: IJSXRRigidTransform); property referenceSpace: IJSXRReferenceSpace read _GetreferenceSpace write _SetreferenceSpace; property transform: IJSXRRigidTransform read _Gettransform write _Settransform; end; TJSXRReferenceSpaceEventInit = class(TJSEventInit,IJSXRReferenceSpaceEventInit) Private Protected function _GetreferenceSpace: IJSXRReferenceSpace; function _Gettransform: IJSXRRigidTransform; procedure _SetreferenceSpace(const aValue: IJSXRReferenceSpace); procedure _Settransform(const aValue: IJSXRRigidTransform); Public constructor create(const aDict : TJSXRReferenceSpaceEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRReferenceSpaceEventInit; property referenceSpace: IJSXRReferenceSpace read _GetreferenceSpace write _SetreferenceSpace; property transform: IJSXRRigidTransform read _Gettransform write _Settransform; end; { -------------------------------------------------------------------- TJSXRSessionEventInit --------------------------------------------------------------------} TJSXRSessionEventInitRec = record session: TJSXRSession; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSXRSessionEventInit = interface(IJSEventInit) ['{32E69BDB-4548-3DA5-899B-4B371FD33DF4}'] function _Getsession: IJSXRSession; procedure _Setsession(const aValue: IJSXRSession); property session: IJSXRSession read _Getsession write _Setsession; end; TJSXRSessionEventInit = class(TJSEventInit,IJSXRSessionEventInit) Private Protected function _Getsession: IJSXRSession; procedure _Setsession(const aValue: IJSXRSession); Public constructor create(const aDict : TJSXRSessionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSessionEventInit; property session: IJSXRSession read _Getsession write _Setsession; end; { -------------------------------------------------------------------- TJSKeyframeAnimationOptions --------------------------------------------------------------------} TJSKeyframeAnimationOptionsRec = record id: UnicodeString; iterationComposite: TIterationCompositeOperation; composite: TCompositeOperation; pseudoElement: UnicodeString; delay: Double; endDelay: Double; fill: TFillMode; iterationStart: Double; iterations: Double; duration: TEffectTiming_duration_Type; direction: TPlaybackDirection; easing: UTF8String; end; IJSKeyframeAnimationOptions = interface(IJSKeyframeEffectOptions) ['{45EEF2B2-92C2-3893-8CBB-A60678800CA2}'] function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); property id: UnicodeString read _Getid write _Setid; end; TJSKeyframeAnimationOptions = class(TJSKeyframeEffectOptions,IJSKeyframeAnimationOptions) Private Protected function _Getid: UnicodeString; procedure _Setid(const aValue: UnicodeString); Public constructor create(const aDict : TJSKeyframeAnimationOptionsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyframeAnimationOptions; property id: UnicodeString read _Getid write _Setid; end; { -------------------------------------------------------------------- TJSCompositionEventInit --------------------------------------------------------------------} TJSCompositionEventInitRec = record data: UnicodeString; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSCompositionEventInit = interface(IJSUIEventInit) ['{09E09DF0-903E-3379-B56F-75F3A0400544}'] function _Getdata: UnicodeString; procedure _Setdata(const aValue: UnicodeString); property data: UnicodeString read _Getdata write _Setdata; end; TJSCompositionEventInit = class(TJSUIEventInit,IJSCompositionEventInit) Private Protected function _Getdata: UnicodeString; procedure _Setdata(const aValue: UnicodeString); Public constructor create(const aDict : TJSCompositionEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCompositionEventInit; property data: UnicodeString read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSExtendableMessageEventInit --------------------------------------------------------------------} // Union of Client, ServiceWorker, MessagePort TExtendableMessageEventInit_source_Type = Variant; TJSExtendableMessageEventInitRec = record data: Variant; origin: UnicodeString; lastEventId: UnicodeString; source: TExtendableMessageEventInit_source_Type; ports: TJSMessagePortDynArray; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSExtendableMessageEventInit = interface(IJSExtendableEventInit) ['{C2BEAB70-8B60-3F8E-B5DB-0D2CDEF508FB}'] function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TExtendableMessageEventInit_source_Type; function _Getports: TJSMessagePortDynArray; procedure _Setdata(const aValue: Variant); procedure _Setorigin(const aValue: UnicodeString); procedure _SetlastEventId(const aValue: UnicodeString); procedure _Setsource(const aValue: TExtendableMessageEventInit_source_Type); procedure _Setports(const aValue: TJSMessagePortDynArray); property data: Variant read _Getdata write _Setdata; property origin: UnicodeString read _Getorigin write _Setorigin; property lastEventId: UnicodeString read _GetlastEventId write _SetlastEventId; property source: TExtendableMessageEventInit_source_Type read _Getsource write _Setsource; property ports: TJSMessagePortDynArray read _Getports write _Setports; end; TJSExtendableMessageEventInit = class(TJSExtendableEventInit,IJSExtendableMessageEventInit) Private Protected function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TExtendableMessageEventInit_source_Type; function _Getports: TJSMessagePortDynArray; procedure _Setdata(const aValue: Variant); procedure _Setorigin(const aValue: UnicodeString); procedure _SetlastEventId(const aValue: UnicodeString); procedure _Setsource(const aValue: TExtendableMessageEventInit_source_Type); procedure _Setports(const aValue: TJSMessagePortDynArray); Public constructor create(const aDict : TJSExtendableMessageEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtendableMessageEventInit; property data: Variant read _Getdata write _Setdata; property origin: UnicodeString read _Getorigin write _Setorigin; property lastEventId: UnicodeString read _GetlastEventId write _SetlastEventId; property source: TExtendableMessageEventInit_source_Type read _Getsource write _Setsource; property ports: TJSMessagePortDynArray read _Getports write _Setports; end; { -------------------------------------------------------------------- TJSChromeFilePropertyBag --------------------------------------------------------------------} TJSChromeFilePropertyBagRec = record name: UnicodeString; existenceCheck: Boolean; lastModified: Int64; type_: UnicodeString; endings: TEndingType; end; IJSChromeFilePropertyBag = interface(IJSFilePropertyBag) ['{11824A52-66FA-3605-AA87-1B431D601482}'] function _Getname: UnicodeString; function _GetexistenceCheck: Boolean; procedure _Setname(const aValue: UnicodeString); procedure _SetexistenceCheck(const aValue: Boolean); property name: UnicodeString read _Getname write _Setname; property existenceCheck: Boolean read _GetexistenceCheck write _SetexistenceCheck; end; TJSChromeFilePropertyBag = class(TJSFilePropertyBag,IJSChromeFilePropertyBag) Private Protected function _Getname: UnicodeString; function _GetexistenceCheck: Boolean; procedure _Setname(const aValue: UnicodeString); procedure _SetexistenceCheck(const aValue: Boolean); Public constructor create(const aDict : TJSChromeFilePropertyBagRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChromeFilePropertyBag; property name: UnicodeString read _Getname write _Setname; property existenceCheck: Boolean read _GetexistenceCheck write _SetexistenceCheck; end; { -------------------------------------------------------------------- TJSFocusEventInit --------------------------------------------------------------------} TJSFocusEventInitRec = record relatedTarget: TJSEventTarget; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSFocusEventInit = interface(IJSUIEventInit) ['{15A8A12E-515B-3BBB-A58D-01D069382872}'] function _GetrelatedTarget: IJSEventTarget; procedure _SetrelatedTarget(const aValue: IJSEventTarget); property relatedTarget: IJSEventTarget read _GetrelatedTarget write _SetrelatedTarget; end; TJSFocusEventInit = class(TJSUIEventInit,IJSFocusEventInit) Private Protected function _GetrelatedTarget: IJSEventTarget; procedure _SetrelatedTarget(const aValue: IJSEventTarget); Public constructor create(const aDict : TJSFocusEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFocusEventInit; property relatedTarget: IJSEventTarget read _GetrelatedTarget write _SetrelatedTarget; end; { -------------------------------------------------------------------- TJSGamepadAxisMoveEventInit --------------------------------------------------------------------} TJSGamepadAxisMoveEventInitRec = record axis: Cardinal; value: Double; gamepad: TJSGamepad; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSGamepadAxisMoveEventInit = interface(IJSGamepadEventInit) ['{16907659-F3F1-3664-828A-84B1D756EA1B}'] function _Getaxis: Cardinal; function _Getvalue: Double; procedure _Setaxis(const aValue: Cardinal); procedure _Setvalue(const aValue: Double); property axis: Cardinal read _Getaxis write _Setaxis; property value: Double read _Getvalue write _Setvalue; end; TJSGamepadAxisMoveEventInit = class(TJSGamepadEventInit,IJSGamepadAxisMoveEventInit) Private Protected function _Getaxis: Cardinal; function _Getvalue: Double; procedure _Setaxis(const aValue: Cardinal); procedure _Setvalue(const aValue: Double); Public constructor create(const aDict : TJSGamepadAxisMoveEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadAxisMoveEventInit; property axis: Cardinal read _Getaxis write _Setaxis; property value: Double read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSGamepadButtonEventInit --------------------------------------------------------------------} TJSGamepadButtonEventInitRec = record button: Cardinal; gamepad: TJSGamepad; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSGamepadButtonEventInit = interface(IJSGamepadEventInit) ['{F0910FCF-545A-31A7-9B78-CE5266B56FF9}'] function _Getbutton: Cardinal; procedure _Setbutton(const aValue: Cardinal); property button: Cardinal read _Getbutton write _Setbutton; end; TJSGamepadButtonEventInit = class(TJSGamepadEventInit,IJSGamepadButtonEventInit) Private Protected function _Getbutton: Cardinal; procedure _Setbutton(const aValue: Cardinal); Public constructor create(const aDict : TJSGamepadButtonEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadButtonEventInit; property button: Cardinal read _Getbutton write _Setbutton; end; { -------------------------------------------------------------------- TJSInputEventInit --------------------------------------------------------------------} TJSStaticRangeDynArray = IJSArray; // array of StaticRange TJSInputEventInitRec = record isComposing: Boolean; inputType: UnicodeString; data: UnicodeString; dataTransfer: TJSDataTransfer; targetRanges: TJSStaticRangeDynArray; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSInputEventInit = interface(IJSUIEventInit) ['{2E6D6DA1-D0D6-34F2-B43A-90B8B4E9A838}'] function _GetisComposing: Boolean; function _GetinputType: UnicodeString; function _Getdata: UnicodeString; function _GetdataTransfer: IJSDataTransfer; function _GettargetRanges: TJSStaticRangeDynArray; procedure _SetisComposing(const aValue: Boolean); procedure _SetinputType(const aValue: UnicodeString); procedure _Setdata(const aValue: UnicodeString); procedure _SetdataTransfer(const aValue: IJSDataTransfer); procedure _SettargetRanges(const aValue: TJSStaticRangeDynArray); property isComposing: Boolean read _GetisComposing write _SetisComposing; property inputType: UnicodeString read _GetinputType write _SetinputType; property data: UnicodeString read _Getdata write _Setdata; property dataTransfer: IJSDataTransfer read _GetdataTransfer write _SetdataTransfer; property targetRanges: TJSStaticRangeDynArray read _GettargetRanges write _SettargetRanges; end; TJSInputEventInit = class(TJSUIEventInit,IJSInputEventInit) Private Protected function _GetisComposing: Boolean; function _GetinputType: UnicodeString; function _Getdata: UnicodeString; function _GetdataTransfer: IJSDataTransfer; function _GettargetRanges: TJSStaticRangeDynArray; procedure _SetisComposing(const aValue: Boolean); procedure _SetinputType(const aValue: UnicodeString); procedure _Setdata(const aValue: UnicodeString); procedure _SetdataTransfer(const aValue: IJSDataTransfer); procedure _SettargetRanges(const aValue: TJSStaticRangeDynArray); Public constructor create(const aDict : TJSInputEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInputEventInit; property isComposing: Boolean read _GetisComposing write _SetisComposing; property inputType: UnicodeString read _GetinputType write _SetinputType; property data: UnicodeString read _Getdata write _Setdata; property dataTransfer: IJSDataTransfer read _GetdataTransfer write _SetdataTransfer; property targetRanges: TJSStaticRangeDynArray read _GettargetRanges write _SettargetRanges; end; { -------------------------------------------------------------------- TJSNotificationEventInit --------------------------------------------------------------------} TJSNotificationEventInitRec = record notification: TJSNotification; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSNotificationEventInit = interface(IJSExtendableEventInit) ['{7338BCFA-F812-3BD0-965E-79BCE95A8DE1}'] function _Getnotification: IJSNotification; procedure _Setnotification(const aValue: IJSNotification); property notification: IJSNotification read _Getnotification write _Setnotification; end; TJSNotificationEventInit = class(TJSExtendableEventInit,IJSNotificationEventInit) Private Protected function _Getnotification: IJSNotification; procedure _Setnotification(const aValue: IJSNotification); Public constructor create(const aDict : TJSNotificationEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNotificationEventInit; property notification: IJSNotification read _Getnotification write _Setnotification; end; { -------------------------------------------------------------------- TJSPaymentMethodChangeEventInit --------------------------------------------------------------------} TJSPaymentMethodChangeEventInitRec = record methodName: UnicodeString; methodDetails: IJSObject; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPaymentMethodChangeEventInit = interface(IJSPaymentRequestUpdateEventInit) ['{23BACC8D-28EC-30B2-9779-0A2254BCA6F9}'] function _GetmethodName: UnicodeString; function _GetmethodDetails: IJSObject; procedure _SetmethodName(const aValue: UnicodeString); procedure _SetmethodDetails(const aValue: IJSObject); property methodName: UnicodeString read _GetmethodName write _SetmethodName; property methodDetails: IJSObject read _GetmethodDetails write _SetmethodDetails; end; TJSPaymentMethodChangeEventInit = class(TJSPaymentRequestUpdateEventInit,IJSPaymentMethodChangeEventInit) Private Protected function _GetmethodName: UnicodeString; function _GetmethodDetails: IJSObject; procedure _SetmethodName(const aValue: UnicodeString); procedure _SetmethodDetails(const aValue: IJSObject); Public constructor create(const aDict : TJSPaymentMethodChangeEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentMethodChangeEventInit; property methodName: UnicodeString read _GetmethodName write _SetmethodName; property methodDetails: IJSObject read _GetmethodDetails write _SetmethodDetails; end; { -------------------------------------------------------------------- TJSPushEventInit --------------------------------------------------------------------} TJSPushEventInitRec = record data: TPushMessageDataInit; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPushEventInit = interface(IJSExtendableEventInit) ['{0C4B48A4-CBB7-3A00-870D-E0190EA59C72}'] function _Getdata: TPushMessageDataInit; procedure _Setdata(const aValue: TPushMessageDataInit); property data: TPushMessageDataInit read _Getdata write _Setdata; end; TJSPushEventInit = class(TJSExtendableEventInit,IJSPushEventInit) Private Protected function _Getdata: TPushMessageDataInit; procedure _Setdata(const aValue: TPushMessageDataInit); Public constructor create(const aDict : TJSPushEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushEventInit; property data: TPushMessageDataInit read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSRTCRtpSourceEntry --------------------------------------------------------------------} TJSRTCRtpSourceEntryRec = record sourceType: TRTCRtpSourceEntryType; voiceActivityFlag: Boolean; timestamp: TDOMHighResTimeStamp; source: Cardinal; audioLevel: Double; rtpTimestamp: Cardinal; end; IJSRTCRtpSourceEntry = interface(IJSRTCRtpSynchronizationSource) ['{FBDB695F-ABF6-37AA-B58E-6606FE292436}'] function _GetsourceType: TRTCRtpSourceEntryType; procedure _SetsourceType(const aValue: TRTCRtpSourceEntryType); property sourceType: TRTCRtpSourceEntryType read _GetsourceType write _SetsourceType; end; TJSRTCRtpSourceEntry = class(TJSRTCRtpSynchronizationSource,IJSRTCRtpSourceEntry) Private Protected function _GetsourceType: TRTCRtpSourceEntryType; procedure _SetsourceType(const aValue: TRTCRtpSourceEntryType); Public constructor create(const aDict : TJSRTCRtpSourceEntryRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpSourceEntry; property sourceType: TRTCRtpSourceEntryType read _GetsourceType write _SetsourceType; end; { -------------------------------------------------------------------- TJSRTCReceivedRtpStreamStats --------------------------------------------------------------------} TJSRTCReceivedRtpStreamStatsRec = record packetsReceived: QWord; packetsLost: Int64; jitter: Double; discardedPackets: Cardinal; packetsDiscarded: Cardinal; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCReceivedRtpStreamStats = interface(IJSRTCRtpStreamStats) ['{8DCA51F3-9710-3D13-BBE1-AE7323DC602B}'] function _GetpacketsReceived: QWord; function _GetpacketsLost: Int64; function _Getjitter: Double; function _GetdiscardedPackets: Cardinal; function _GetpacketsDiscarded: Cardinal; procedure _SetpacketsReceived(const aValue: QWord); procedure _SetpacketsLost(const aValue: Int64); procedure _Setjitter(const aValue: Double); procedure _SetdiscardedPackets(const aValue: Cardinal); procedure _SetpacketsDiscarded(const aValue: Cardinal); property packetsReceived: QWord read _GetpacketsReceived write _SetpacketsReceived; property packetsLost: Int64 read _GetpacketsLost write _SetpacketsLost; property jitter: Double read _Getjitter write _Setjitter; property discardedPackets: Cardinal read _GetdiscardedPackets write _SetdiscardedPackets; property packetsDiscarded: Cardinal read _GetpacketsDiscarded write _SetpacketsDiscarded; end; TJSRTCReceivedRtpStreamStats = class(TJSRTCRtpStreamStats,IJSRTCReceivedRtpStreamStats) Private Protected function _GetpacketsReceived: QWord; function _GetpacketsLost: Int64; function _Getjitter: Double; function _GetdiscardedPackets: Cardinal; function _GetpacketsDiscarded: Cardinal; procedure _SetpacketsReceived(const aValue: QWord); procedure _SetpacketsLost(const aValue: Int64); procedure _Setjitter(const aValue: Double); procedure _SetdiscardedPackets(const aValue: Cardinal); procedure _SetpacketsDiscarded(const aValue: Cardinal); Public constructor create(const aDict : TJSRTCReceivedRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCReceivedRtpStreamStats; property packetsReceived: QWord read _GetpacketsReceived write _SetpacketsReceived; property packetsLost: Int64 read _GetpacketsLost write _SetpacketsLost; property jitter: Double read _Getjitter write _Setjitter; property discardedPackets: Cardinal read _GetdiscardedPackets write _SetdiscardedPackets; property packetsDiscarded: Cardinal read _GetpacketsDiscarded write _SetpacketsDiscarded; end; { -------------------------------------------------------------------- TJSRTCSentRtpStreamStats --------------------------------------------------------------------} TJSRTCSentRtpStreamStatsRec = record packetsSent: Cardinal; bytesSent: QWord; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCSentRtpStreamStats = interface(IJSRTCRtpStreamStats) ['{B25C5ACA-A88A-328A-9A28-E53795992D92}'] function _GetpacketsSent: Cardinal; function _GetbytesSent: QWord; procedure _SetpacketsSent(const aValue: Cardinal); procedure _SetbytesSent(const aValue: QWord); property packetsSent: Cardinal read _GetpacketsSent write _SetpacketsSent; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; end; TJSRTCSentRtpStreamStats = class(TJSRTCRtpStreamStats,IJSRTCSentRtpStreamStats) Private Protected function _GetpacketsSent: Cardinal; function _GetbytesSent: QWord; procedure _SetpacketsSent(const aValue: Cardinal); procedure _SetbytesSent(const aValue: QWord); Public constructor create(const aDict : TJSRTCSentRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSentRtpStreamStats; property packetsSent: Cardinal read _GetpacketsSent write _SetpacketsSent; property bytesSent: QWord read _GetbytesSent write _SetbytesSent; end; { -------------------------------------------------------------------- TJSRTCVideoSourceStats --------------------------------------------------------------------} TJSRTCVideoSourceStatsRec = record width: Cardinal; height: Cardinal; frames: Cardinal; framesPerSecond: Double; trackIdentifier: UnicodeString; kind: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCVideoSourceStats = interface(IJSRTCMediaSourceStats) ['{18C8BB38-A8F1-34F5-B0AE-C2B35E4BD2B0}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getframes: Cardinal; function _GetframesPerSecond: Double; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setframes(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property frames: Cardinal read _Getframes write _Setframes; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; end; TJSRTCVideoSourceStats = class(TJSRTCMediaSourceStats,IJSRTCVideoSourceStats) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getframes: Cardinal; function _GetframesPerSecond: Double; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setframes(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); Public constructor create(const aDict : TJSRTCVideoSourceStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCVideoSourceStats; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property frames: Cardinal read _Getframes write _Setframes; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; end; { -------------------------------------------------------------------- TJSSpeechSynthesisErrorEventInit --------------------------------------------------------------------} TJSSpeechSynthesisErrorEventInitRec = record error: TSpeechSynthesisErrorCode; utterance: TJSSpeechSynthesisUtterance; charIndex: Cardinal; charLength: Cardinal; elapsedTime: Single; name: UnicodeString; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSSpeechSynthesisErrorEventInit = interface(IJSSpeechSynthesisEventInit) ['{D50C86C1-E964-329C-877E-D5FA1BB09722}'] function _Geterror: TSpeechSynthesisErrorCode; procedure _Seterror(const aValue: TSpeechSynthesisErrorCode); property error: TSpeechSynthesisErrorCode read _Geterror write _Seterror; end; TJSSpeechSynthesisErrorEventInit = class(TJSSpeechSynthesisEventInit,IJSSpeechSynthesisErrorEventInit) Private Protected function _Geterror: TSpeechSynthesisErrorCode; procedure _Seterror(const aValue: TSpeechSynthesisErrorCode); Public constructor create(const aDict : TJSSpeechSynthesisErrorEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisErrorEventInit; property error: TSpeechSynthesisErrorCode read _Geterror write _Seterror; end; { -------------------------------------------------------------------- TJSHmacDerivedKeyParams --------------------------------------------------------------------} TJSHmacDerivedKeyParamsRec = record length_: Cardinal; hash: TAlgorithmIdentifier; name: UnicodeString; end; IJSHmacDerivedKeyParams = interface(IJSHmacImportParams) ['{8386E121-A457-382C-8146-E78F9E9434B9}'] function _Getlength_: Cardinal; procedure _Setlength_(const aValue: Cardinal); property length_: Cardinal read _Getlength_ write _Setlength_; end; TJSHmacDerivedKeyParams = class(TJSHmacImportParams,IJSHmacDerivedKeyParams) Private Protected function _Getlength_: Cardinal; procedure _Setlength_(const aValue: Cardinal); Public constructor create(const aDict : TJSHmacDerivedKeyParamsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHmacDerivedKeyParams; property length_: Cardinal read _Getlength_ write _Setlength_; end; { -------------------------------------------------------------------- TJSEventModifierInit --------------------------------------------------------------------} TJSEventModifierInitRec = record ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSEventModifierInit = interface(IJSUIEventInit) ['{2CEC0442-6DC0-3932-9972-C79F1BE13412}'] function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _GetmodifierAltGraph: Boolean; function _GetmodifierCapsLock: Boolean; function _GetmodifierFn: Boolean; function _GetmodifierFnLock: Boolean; function _GetmodifierNumLock: Boolean; function _GetmodifierOS: Boolean; function _GetmodifierScrollLock: Boolean; function _GetmodifierSymbol: Boolean; function _GetmodifierSymbolLock: Boolean; procedure _SetctrlKey(const aValue: Boolean); procedure _SetshiftKey(const aValue: Boolean); procedure _SetaltKey(const aValue: Boolean); procedure _SetmetaKey(const aValue: Boolean); procedure _SetmodifierAltGraph(const aValue: Boolean); procedure _SetmodifierCapsLock(const aValue: Boolean); procedure _SetmodifierFn(const aValue: Boolean); procedure _SetmodifierFnLock(const aValue: Boolean); procedure _SetmodifierNumLock(const aValue: Boolean); procedure _SetmodifierOS(const aValue: Boolean); procedure _SetmodifierScrollLock(const aValue: Boolean); procedure _SetmodifierSymbol(const aValue: Boolean); procedure _SetmodifierSymbolLock(const aValue: Boolean); property ctrlKey: Boolean read _GetctrlKey write _SetctrlKey; property shiftKey: Boolean read _GetshiftKey write _SetshiftKey; property altKey: Boolean read _GetaltKey write _SetaltKey; property metaKey: Boolean read _GetmetaKey write _SetmetaKey; property modifierAltGraph: Boolean read _GetmodifierAltGraph write _SetmodifierAltGraph; property modifierCapsLock: Boolean read _GetmodifierCapsLock write _SetmodifierCapsLock; property modifierFn: Boolean read _GetmodifierFn write _SetmodifierFn; property modifierFnLock: Boolean read _GetmodifierFnLock write _SetmodifierFnLock; property modifierNumLock: Boolean read _GetmodifierNumLock write _SetmodifierNumLock; property modifierOS: Boolean read _GetmodifierOS write _SetmodifierOS; property modifierScrollLock: Boolean read _GetmodifierScrollLock write _SetmodifierScrollLock; property modifierSymbol: Boolean read _GetmodifierSymbol write _SetmodifierSymbol; property modifierSymbolLock: Boolean read _GetmodifierSymbolLock write _SetmodifierSymbolLock; end; TJSEventModifierInit = class(TJSUIEventInit,IJSEventModifierInit) Private Protected function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _GetmodifierAltGraph: Boolean; function _GetmodifierCapsLock: Boolean; function _GetmodifierFn: Boolean; function _GetmodifierFnLock: Boolean; function _GetmodifierNumLock: Boolean; function _GetmodifierOS: Boolean; function _GetmodifierScrollLock: Boolean; function _GetmodifierSymbol: Boolean; function _GetmodifierSymbolLock: Boolean; procedure _SetctrlKey(const aValue: Boolean); procedure _SetshiftKey(const aValue: Boolean); procedure _SetaltKey(const aValue: Boolean); procedure _SetmetaKey(const aValue: Boolean); procedure _SetmodifierAltGraph(const aValue: Boolean); procedure _SetmodifierCapsLock(const aValue: Boolean); procedure _SetmodifierFn(const aValue: Boolean); procedure _SetmodifierFnLock(const aValue: Boolean); procedure _SetmodifierNumLock(const aValue: Boolean); procedure _SetmodifierOS(const aValue: Boolean); procedure _SetmodifierScrollLock(const aValue: Boolean); procedure _SetmodifierSymbol(const aValue: Boolean); procedure _SetmodifierSymbolLock(const aValue: Boolean); Public constructor create(const aDict : TJSEventModifierInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventModifierInit; property ctrlKey: Boolean read _GetctrlKey write _SetctrlKey; property shiftKey: Boolean read _GetshiftKey write _SetshiftKey; property altKey: Boolean read _GetaltKey write _SetaltKey; property metaKey: Boolean read _GetmetaKey write _SetmetaKey; property modifierAltGraph: Boolean read _GetmodifierAltGraph write _SetmodifierAltGraph; property modifierCapsLock: Boolean read _GetmodifierCapsLock write _SetmodifierCapsLock; property modifierFn: Boolean read _GetmodifierFn write _SetmodifierFn; property modifierFnLock: Boolean read _GetmodifierFnLock write _SetmodifierFnLock; property modifierNumLock: Boolean read _GetmodifierNumLock write _SetmodifierNumLock; property modifierOS: Boolean read _GetmodifierOS write _SetmodifierOS; property modifierScrollLock: Boolean read _GetmodifierScrollLock write _SetmodifierScrollLock; property modifierSymbol: Boolean read _GetmodifierSymbol write _SetmodifierSymbol; property modifierSymbolLock: Boolean read _GetmodifierSymbolLock write _SetmodifierSymbolLock; end; { -------------------------------------------------------------------- TJSGPUComputePipelineDescriptor --------------------------------------------------------------------} TJSGPUComputePipelineDescriptorRec = record compute: TJSGPUProgrammableStage; layout: TGPUPipelineDescriptorBase_layout_Type; label_: UnicodeString; end; IJSGPUComputePipelineDescriptor = interface(IJSGPUPipelineDescriptorBase) ['{BD7A0485-8DE6-35BE-9096-110F89960682}'] function _Getcompute: IJSGPUProgrammableStage; procedure _Setcompute(const aValue: IJSGPUProgrammableStage); property compute: IJSGPUProgrammableStage read _Getcompute write _Setcompute; end; TJSGPUComputePipelineDescriptor = class(TJSGPUPipelineDescriptorBase,IJSGPUComputePipelineDescriptor) Private Protected function _Getcompute: IJSGPUProgrammableStage; procedure _Setcompute(const aValue: IJSGPUProgrammableStage); Public constructor create(const aDict : TJSGPUComputePipelineDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUComputePipelineDescriptor; property compute: IJSGPUProgrammableStage read _Getcompute write _Setcompute; end; { -------------------------------------------------------------------- TJSGPURenderPipelineDescriptor --------------------------------------------------------------------} TJSGPURenderPipelineDescriptorRec = record vertex: TJSGPUVertexState; primitive: TJSGPUPrimitiveState; depthStencil: TJSGPUDepthStencilState; multisample: TJSGPUMultisampleState; fragment: TJSGPUFragmentState; layout: TGPUPipelineDescriptorBase_layout_Type; label_: UnicodeString; end; IJSGPURenderPipelineDescriptor = interface(IJSGPUPipelineDescriptorBase) ['{1ECEF9EE-C9D1-33AF-B67F-CA89E6DCC163}'] function _Getvertex: IJSGPUVertexState; function _Getprimitive: IJSGPUPrimitiveState; function _GetdepthStencil: IJSGPUDepthStencilState; function _Getmultisample: IJSGPUMultisampleState; function _Getfragment: IJSGPUFragmentState; procedure _Setvertex(const aValue: IJSGPUVertexState); procedure _Setprimitive(const aValue: IJSGPUPrimitiveState); procedure _SetdepthStencil(const aValue: IJSGPUDepthStencilState); procedure _Setmultisample(const aValue: IJSGPUMultisampleState); procedure _Setfragment(const aValue: IJSGPUFragmentState); property vertex: IJSGPUVertexState read _Getvertex write _Setvertex; property primitive: IJSGPUPrimitiveState read _Getprimitive write _Setprimitive; property depthStencil: IJSGPUDepthStencilState read _GetdepthStencil write _SetdepthStencil; property multisample: IJSGPUMultisampleState read _Getmultisample write _Setmultisample; property fragment: IJSGPUFragmentState read _Getfragment write _Setfragment; end; TJSGPURenderPipelineDescriptor = class(TJSGPUPipelineDescriptorBase,IJSGPURenderPipelineDescriptor) Private Protected function _Getvertex: IJSGPUVertexState; function _Getprimitive: IJSGPUPrimitiveState; function _GetdepthStencil: IJSGPUDepthStencilState; function _Getmultisample: IJSGPUMultisampleState; function _Getfragment: IJSGPUFragmentState; procedure _Setvertex(const aValue: IJSGPUVertexState); procedure _Setprimitive(const aValue: IJSGPUPrimitiveState); procedure _SetdepthStencil(const aValue: IJSGPUDepthStencilState); procedure _Setmultisample(const aValue: IJSGPUMultisampleState); procedure _Setfragment(const aValue: IJSGPUFragmentState); Public constructor create(const aDict : TJSGPURenderPipelineDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPipelineDescriptor; property vertex: IJSGPUVertexState read _Getvertex write _Setvertex; property primitive: IJSGPUPrimitiveState read _Getprimitive write _Setprimitive; property depthStencil: IJSGPUDepthStencilState read _GetdepthStencil write _SetdepthStencil; property multisample: IJSGPUMultisampleState read _Getmultisample write _Setmultisample; property fragment: IJSGPUFragmentState read _Getfragment write _Setfragment; end; { -------------------------------------------------------------------- TJSGPURenderBundleEncoderDescriptor --------------------------------------------------------------------} TJSGPURenderBundleEncoderDescriptorRec = record depthReadOnly: Boolean; stencilReadOnly: Boolean; colorFormats: TGPUTextureFormatDynArray; depthStencilFormat: TGPUTextureFormat; sampleCount: TGPUSize32; label_: UnicodeString; end; IJSGPURenderBundleEncoderDescriptor = interface(IJSGPURenderPassLayout) ['{6E90B31C-4861-34DC-8A7B-085A962D27E9}'] function _GetdepthReadOnly: Boolean; function _GetstencilReadOnly: Boolean; procedure _SetdepthReadOnly(const aValue: Boolean); procedure _SetstencilReadOnly(const aValue: Boolean); property depthReadOnly: Boolean read _GetdepthReadOnly write _SetdepthReadOnly; property stencilReadOnly: Boolean read _GetstencilReadOnly write _SetstencilReadOnly; end; TJSGPURenderBundleEncoderDescriptor = class(TJSGPURenderPassLayout,IJSGPURenderBundleEncoderDescriptor) Private Protected function _GetdepthReadOnly: Boolean; function _GetstencilReadOnly: Boolean; procedure _SetdepthReadOnly(const aValue: Boolean); procedure _SetstencilReadOnly(const aValue: Boolean); Public constructor create(const aDict : TJSGPURenderBundleEncoderDescriptorRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderBundleEncoderDescriptor; property depthReadOnly: Boolean read _GetdepthReadOnly write _SetdepthReadOnly; property stencilReadOnly: Boolean read _GetstencilReadOnly write _SetstencilReadOnly; end; { -------------------------------------------------------------------- TJSKeyboardEventInit --------------------------------------------------------------------} TJSKeyboardEventInitRec = record key: UnicodeString; code: UnicodeString; location: Cardinal; repeat_: Boolean; isComposing: Boolean; charCode: Cardinal; keyCode: Cardinal; which: Cardinal; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSKeyboardEventInit = interface(IJSEventModifierInit) ['{40F8318E-16C5-3E3D-8CFE-37F939DF7424}'] function _Getkey: UnicodeString; function _Getcode: UnicodeString; function _Getlocation: Cardinal; function _Getrepeat_: Boolean; function _GetisComposing: Boolean; function _GetcharCode: Cardinal; function _GetkeyCode: Cardinal; function _Getwhich: Cardinal; procedure _Setkey(const aValue: UnicodeString); procedure _Setcode(const aValue: UnicodeString); procedure _Setlocation(const aValue: Cardinal); procedure _Setrepeat_(const aValue: Boolean); procedure _SetisComposing(const aValue: Boolean); procedure _SetcharCode(const aValue: Cardinal); procedure _SetkeyCode(const aValue: Cardinal); procedure _Setwhich(const aValue: Cardinal); property key: UnicodeString read _Getkey write _Setkey; property code: UnicodeString read _Getcode write _Setcode; property location: Cardinal read _Getlocation write _Setlocation; property repeat_: Boolean read _Getrepeat_ write _Setrepeat_; property isComposing: Boolean read _GetisComposing write _SetisComposing; property charCode: Cardinal read _GetcharCode write _SetcharCode; property keyCode: Cardinal read _GetkeyCode write _SetkeyCode; property which: Cardinal read _Getwhich write _Setwhich; end; TJSKeyboardEventInit = class(TJSEventModifierInit,IJSKeyboardEventInit) Private Protected function _Getkey: UnicodeString; function _Getcode: UnicodeString; function _Getlocation: Cardinal; function _Getrepeat_: Boolean; function _GetisComposing: Boolean; function _GetcharCode: Cardinal; function _GetkeyCode: Cardinal; function _Getwhich: Cardinal; procedure _Setkey(const aValue: UnicodeString); procedure _Setcode(const aValue: UnicodeString); procedure _Setlocation(const aValue: Cardinal); procedure _Setrepeat_(const aValue: Boolean); procedure _SetisComposing(const aValue: Boolean); procedure _SetcharCode(const aValue: Cardinal); procedure _SetkeyCode(const aValue: Cardinal); procedure _Setwhich(const aValue: Cardinal); Public constructor create(const aDict : TJSKeyboardEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyboardEventInit; property key: UnicodeString read _Getkey write _Setkey; property code: UnicodeString read _Getcode write _Setcode; property location: Cardinal read _Getlocation write _Setlocation; property repeat_: Boolean read _Getrepeat_ write _Setrepeat_; property isComposing: Boolean read _GetisComposing write _SetisComposing; property charCode: Cardinal read _GetcharCode write _SetcharCode; property keyCode: Cardinal read _GetkeyCode write _SetkeyCode; property which: Cardinal read _Getwhich write _Setwhich; end; { -------------------------------------------------------------------- TJSMouseEventInit --------------------------------------------------------------------} TJSMouseEventInitRec = record screenX: LongInt; screenY: LongInt; clientX: LongInt; clientY: LongInt; button: SmallInt; buttons: Word; relatedTarget: TJSEventTarget; movementX: LongInt; movementY: LongInt; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSMouseEventInit = interface(IJSEventModifierInit) ['{AA62FC06-A487-33BE-81F6-2D34E48E438D}'] function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _Getbutton: SmallInt; function _Getbuttons: Word; function _GetrelatedTarget: IJSEventTarget; function _GetmovementX: LongInt; function _GetmovementY: LongInt; procedure _SetscreenX(const aValue: LongInt); procedure _SetscreenY(const aValue: LongInt); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); procedure _Setbutton(const aValue: SmallInt); procedure _Setbuttons(const aValue: Word); procedure _SetrelatedTarget(const aValue: IJSEventTarget); procedure _SetmovementX(const aValue: LongInt); procedure _SetmovementY(const aValue: LongInt); property screenX: LongInt read _GetscreenX write _SetscreenX; property screenY: LongInt read _GetscreenY write _SetscreenY; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; property button: SmallInt read _Getbutton write _Setbutton; property buttons: Word read _Getbuttons write _Setbuttons; property relatedTarget: IJSEventTarget read _GetrelatedTarget write _SetrelatedTarget; property movementX: LongInt read _GetmovementX write _SetmovementX; property movementY: LongInt read _GetmovementY write _SetmovementY; end; TJSMouseEventInit = class(TJSEventModifierInit,IJSMouseEventInit) Private Protected function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _Getbutton: SmallInt; function _Getbuttons: Word; function _GetrelatedTarget: IJSEventTarget; function _GetmovementX: LongInt; function _GetmovementY: LongInt; procedure _SetscreenX(const aValue: LongInt); procedure _SetscreenY(const aValue: LongInt); procedure _SetclientX(const aValue: LongInt); procedure _SetclientY(const aValue: LongInt); procedure _Setbutton(const aValue: SmallInt); procedure _Setbuttons(const aValue: Word); procedure _SetrelatedTarget(const aValue: IJSEventTarget); procedure _SetmovementX(const aValue: LongInt); procedure _SetmovementY(const aValue: LongInt); Public constructor create(const aDict : TJSMouseEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMouseEventInit; property screenX: LongInt read _GetscreenX write _SetscreenX; property screenY: LongInt read _GetscreenY write _SetscreenY; property clientX: LongInt read _GetclientX write _SetclientX; property clientY: LongInt read _GetclientY write _SetclientY; property button: SmallInt read _Getbutton write _Setbutton; property buttons: Word read _Getbuttons write _Setbuttons; property relatedTarget: IJSEventTarget read _GetrelatedTarget write _SetrelatedTarget; property movementX: LongInt read _GetmovementX write _SetmovementX; property movementY: LongInt read _GetmovementY write _SetmovementY; end; { -------------------------------------------------------------------- TJSRTCInboundRtpStreamStats --------------------------------------------------------------------} TJSRTCInboundRtpStreamStatsRec = record trackIdentifier: UnicodeString; remoteId: UnicodeString; framesDecoded: Cardinal; framesDropped: Cardinal; frameWidth: Cardinal; frameHeight: Cardinal; framesPerSecond: Double; qpSum: QWord; totalDecodeTime: Double; totalInterFrameDelay: Double; totalSquaredInterFrameDelay: Double; lastPacketReceivedTimestamp: TDOMHighResTimeStamp; headerBytesReceived: QWord; fecPacketsReceived: QWord; fecPacketsDiscarded: QWord; bytesReceived: QWord; nackCount: Cardinal; firCount: Cardinal; pliCount: Cardinal; totalProcessingDelay: Double; jitterBufferDelay: Double; jitterBufferEmittedCount: QWord; totalSamplesReceived: QWord; concealedSamples: QWord; silentConcealedSamples: QWord; concealmentEvents: QWord; insertedSamplesForDeceleration: QWord; removedSamplesForAcceleration: QWord; audioLevel: Double; totalAudioEnergy: Double; totalSamplesDuration: Double; framesReceived: Cardinal; packetsReceived: QWord; packetsLost: Int64; jitter: Double; discardedPackets: Cardinal; packetsDiscarded: Cardinal; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCInboundRtpStreamStats = interface(IJSRTCReceivedRtpStreamStats) ['{4EB2B8AC-E9E7-367A-85ED-6D914A661566}'] function _GettrackIdentifier: UnicodeString; function _GetremoteId: UnicodeString; function _GetframesDecoded: Cardinal; function _GetframesDropped: Cardinal; function _GetframeWidth: Cardinal; function _GetframeHeight: Cardinal; function _GetframesPerSecond: Double; function _GetqpSum: QWord; function _GettotalDecodeTime: Double; function _GettotalInterFrameDelay: Double; function _GettotalSquaredInterFrameDelay: Double; function _GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; function _GetheaderBytesReceived: QWord; function _GetfecPacketsReceived: QWord; function _GetfecPacketsDiscarded: QWord; function _GetbytesReceived: QWord; function _GetnackCount: Cardinal; function _GetfirCount: Cardinal; function _GetpliCount: Cardinal; function _GettotalProcessingDelay: Double; function _GetjitterBufferDelay: Double; function _GetjitterBufferEmittedCount: QWord; function _GettotalSamplesReceived: QWord; function _GetconcealedSamples: QWord; function _GetsilentConcealedSamples: QWord; function _GetconcealmentEvents: QWord; function _GetinsertedSamplesForDeceleration: QWord; function _GetremovedSamplesForAcceleration: QWord; function _GetaudioLevel: Double; function _GettotalAudioEnergy: Double; function _GettotalSamplesDuration: Double; function _GetframesReceived: Cardinal; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _SetremoteId(const aValue: UnicodeString); procedure _SetframesDecoded(const aValue: Cardinal); procedure _SetframesDropped(const aValue: Cardinal); procedure _SetframeWidth(const aValue: Cardinal); procedure _SetframeHeight(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); procedure _SetqpSum(const aValue: QWord); procedure _SettotalDecodeTime(const aValue: Double); procedure _SettotalInterFrameDelay(const aValue: Double); procedure _SettotalSquaredInterFrameDelay(const aValue: Double); procedure _SetlastPacketReceivedTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetheaderBytesReceived(const aValue: QWord); procedure _SetfecPacketsReceived(const aValue: QWord); procedure _SetfecPacketsDiscarded(const aValue: QWord); procedure _SetbytesReceived(const aValue: QWord); procedure _SetnackCount(const aValue: Cardinal); procedure _SetfirCount(const aValue: Cardinal); procedure _SetpliCount(const aValue: Cardinal); procedure _SettotalProcessingDelay(const aValue: Double); procedure _SetjitterBufferDelay(const aValue: Double); procedure _SetjitterBufferEmittedCount(const aValue: QWord); procedure _SettotalSamplesReceived(const aValue: QWord); procedure _SetconcealedSamples(const aValue: QWord); procedure _SetsilentConcealedSamples(const aValue: QWord); procedure _SetconcealmentEvents(const aValue: QWord); procedure _SetinsertedSamplesForDeceleration(const aValue: QWord); procedure _SetremovedSamplesForAcceleration(const aValue: QWord); procedure _SetaudioLevel(const aValue: Double); procedure _SettotalAudioEnergy(const aValue: Double); procedure _SettotalSamplesDuration(const aValue: Double); procedure _SetframesReceived(const aValue: Cardinal); property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property remoteId: UnicodeString read _GetremoteId write _SetremoteId; property framesDecoded: Cardinal read _GetframesDecoded write _SetframesDecoded; property framesDropped: Cardinal read _GetframesDropped write _SetframesDropped; property frameWidth: Cardinal read _GetframeWidth write _SetframeWidth; property frameHeight: Cardinal read _GetframeHeight write _SetframeHeight; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; property qpSum: QWord read _GetqpSum write _SetqpSum; property totalDecodeTime: Double read _GettotalDecodeTime write _SettotalDecodeTime; property totalInterFrameDelay: Double read _GettotalInterFrameDelay write _SettotalInterFrameDelay; property totalSquaredInterFrameDelay: Double read _GettotalSquaredInterFrameDelay write _SettotalSquaredInterFrameDelay; property lastPacketReceivedTimestamp: TDOMHighResTimeStamp read _GetlastPacketReceivedTimestamp write _SetlastPacketReceivedTimestamp; property headerBytesReceived: QWord read _GetheaderBytesReceived write _SetheaderBytesReceived; property fecPacketsReceived: QWord read _GetfecPacketsReceived write _SetfecPacketsReceived; property fecPacketsDiscarded: QWord read _GetfecPacketsDiscarded write _SetfecPacketsDiscarded; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property nackCount: Cardinal read _GetnackCount write _SetnackCount; property firCount: Cardinal read _GetfirCount write _SetfirCount; property pliCount: Cardinal read _GetpliCount write _SetpliCount; property totalProcessingDelay: Double read _GettotalProcessingDelay write _SettotalProcessingDelay; property jitterBufferDelay: Double read _GetjitterBufferDelay write _SetjitterBufferDelay; property jitterBufferEmittedCount: QWord read _GetjitterBufferEmittedCount write _SetjitterBufferEmittedCount; property totalSamplesReceived: QWord read _GettotalSamplesReceived write _SettotalSamplesReceived; property concealedSamples: QWord read _GetconcealedSamples write _SetconcealedSamples; property silentConcealedSamples: QWord read _GetsilentConcealedSamples write _SetsilentConcealedSamples; property concealmentEvents: QWord read _GetconcealmentEvents write _SetconcealmentEvents; property insertedSamplesForDeceleration: QWord read _GetinsertedSamplesForDeceleration write _SetinsertedSamplesForDeceleration; property removedSamplesForAcceleration: QWord read _GetremovedSamplesForAcceleration write _SetremovedSamplesForAcceleration; property audioLevel: Double read _GetaudioLevel write _SetaudioLevel; property totalAudioEnergy: Double read _GettotalAudioEnergy write _SettotalAudioEnergy; property totalSamplesDuration: Double read _GettotalSamplesDuration write _SettotalSamplesDuration; property framesReceived: Cardinal read _GetframesReceived write _SetframesReceived; end; TJSRTCInboundRtpStreamStats = class(TJSRTCReceivedRtpStreamStats,IJSRTCInboundRtpStreamStats) Private Protected function _GettrackIdentifier: UnicodeString; function _GetremoteId: UnicodeString; function _GetframesDecoded: Cardinal; function _GetframesDropped: Cardinal; function _GetframeWidth: Cardinal; function _GetframeHeight: Cardinal; function _GetframesPerSecond: Double; function _GetqpSum: QWord; function _GettotalDecodeTime: Double; function _GettotalInterFrameDelay: Double; function _GettotalSquaredInterFrameDelay: Double; function _GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; function _GetheaderBytesReceived: QWord; function _GetfecPacketsReceived: QWord; function _GetfecPacketsDiscarded: QWord; function _GetbytesReceived: QWord; function _GetnackCount: Cardinal; function _GetfirCount: Cardinal; function _GetpliCount: Cardinal; function _GettotalProcessingDelay: Double; function _GetjitterBufferDelay: Double; function _GetjitterBufferEmittedCount: QWord; function _GettotalSamplesReceived: QWord; function _GetconcealedSamples: QWord; function _GetsilentConcealedSamples: QWord; function _GetconcealmentEvents: QWord; function _GetinsertedSamplesForDeceleration: QWord; function _GetremovedSamplesForAcceleration: QWord; function _GetaudioLevel: Double; function _GettotalAudioEnergy: Double; function _GettotalSamplesDuration: Double; function _GetframesReceived: Cardinal; procedure _SettrackIdentifier(const aValue: UnicodeString); procedure _SetremoteId(const aValue: UnicodeString); procedure _SetframesDecoded(const aValue: Cardinal); procedure _SetframesDropped(const aValue: Cardinal); procedure _SetframeWidth(const aValue: Cardinal); procedure _SetframeHeight(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); procedure _SetqpSum(const aValue: QWord); procedure _SettotalDecodeTime(const aValue: Double); procedure _SettotalInterFrameDelay(const aValue: Double); procedure _SettotalSquaredInterFrameDelay(const aValue: Double); procedure _SetlastPacketReceivedTimestamp(const aValue: TDOMHighResTimeStamp); procedure _SetheaderBytesReceived(const aValue: QWord); procedure _SetfecPacketsReceived(const aValue: QWord); procedure _SetfecPacketsDiscarded(const aValue: QWord); procedure _SetbytesReceived(const aValue: QWord); procedure _SetnackCount(const aValue: Cardinal); procedure _SetfirCount(const aValue: Cardinal); procedure _SetpliCount(const aValue: Cardinal); procedure _SettotalProcessingDelay(const aValue: Double); procedure _SetjitterBufferDelay(const aValue: Double); procedure _SetjitterBufferEmittedCount(const aValue: QWord); procedure _SettotalSamplesReceived(const aValue: QWord); procedure _SetconcealedSamples(const aValue: QWord); procedure _SetsilentConcealedSamples(const aValue: QWord); procedure _SetconcealmentEvents(const aValue: QWord); procedure _SetinsertedSamplesForDeceleration(const aValue: QWord); procedure _SetremovedSamplesForAcceleration(const aValue: QWord); procedure _SetaudioLevel(const aValue: Double); procedure _SettotalAudioEnergy(const aValue: Double); procedure _SettotalSamplesDuration(const aValue: Double); procedure _SetframesReceived(const aValue: Cardinal); Public constructor create(const aDict : TJSRTCInboundRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCInboundRtpStreamStats; property trackIdentifier: UnicodeString read _GettrackIdentifier write _SettrackIdentifier; property remoteId: UnicodeString read _GetremoteId write _SetremoteId; property framesDecoded: Cardinal read _GetframesDecoded write _SetframesDecoded; property framesDropped: Cardinal read _GetframesDropped write _SetframesDropped; property frameWidth: Cardinal read _GetframeWidth write _SetframeWidth; property frameHeight: Cardinal read _GetframeHeight write _SetframeHeight; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; property qpSum: QWord read _GetqpSum write _SetqpSum; property totalDecodeTime: Double read _GettotalDecodeTime write _SettotalDecodeTime; property totalInterFrameDelay: Double read _GettotalInterFrameDelay write _SettotalInterFrameDelay; property totalSquaredInterFrameDelay: Double read _GettotalSquaredInterFrameDelay write _SettotalSquaredInterFrameDelay; property lastPacketReceivedTimestamp: TDOMHighResTimeStamp read _GetlastPacketReceivedTimestamp write _SetlastPacketReceivedTimestamp; property headerBytesReceived: QWord read _GetheaderBytesReceived write _SetheaderBytesReceived; property fecPacketsReceived: QWord read _GetfecPacketsReceived write _SetfecPacketsReceived; property fecPacketsDiscarded: QWord read _GetfecPacketsDiscarded write _SetfecPacketsDiscarded; property bytesReceived: QWord read _GetbytesReceived write _SetbytesReceived; property nackCount: Cardinal read _GetnackCount write _SetnackCount; property firCount: Cardinal read _GetfirCount write _SetfirCount; property pliCount: Cardinal read _GetpliCount write _SetpliCount; property totalProcessingDelay: Double read _GettotalProcessingDelay write _SettotalProcessingDelay; property jitterBufferDelay: Double read _GetjitterBufferDelay write _SetjitterBufferDelay; property jitterBufferEmittedCount: QWord read _GetjitterBufferEmittedCount write _SetjitterBufferEmittedCount; property totalSamplesReceived: QWord read _GettotalSamplesReceived write _SettotalSamplesReceived; property concealedSamples: QWord read _GetconcealedSamples write _SetconcealedSamples; property silentConcealedSamples: QWord read _GetsilentConcealedSamples write _SetsilentConcealedSamples; property concealmentEvents: QWord read _GetconcealmentEvents write _SetconcealmentEvents; property insertedSamplesForDeceleration: QWord read _GetinsertedSamplesForDeceleration write _SetinsertedSamplesForDeceleration; property removedSamplesForAcceleration: QWord read _GetremovedSamplesForAcceleration write _SetremovedSamplesForAcceleration; property audioLevel: Double read _GetaudioLevel write _SetaudioLevel; property totalAudioEnergy: Double read _GettotalAudioEnergy write _SettotalAudioEnergy; property totalSamplesDuration: Double read _GettotalSamplesDuration write _SettotalSamplesDuration; property framesReceived: Cardinal read _GetframesReceived write _SetframesReceived; end; { -------------------------------------------------------------------- TJSRTCRemoteInboundRtpStreamStats --------------------------------------------------------------------} TJSRTCRemoteInboundRtpStreamStatsRec = record localId: UnicodeString; roundTripTime: Double; totalRoundTripTime: Double; fractionLost: Double; roundTripTimeMeasurements: QWord; packetsReceived: QWord; packetsLost: Int64; jitter: Double; discardedPackets: Cardinal; packetsDiscarded: Cardinal; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCRemoteInboundRtpStreamStats = interface(IJSRTCReceivedRtpStreamStats) ['{0B8B4C7F-3215-3E93-A7FA-A30AD2B412AB}'] function _GetlocalId: UnicodeString; function _GetroundTripTime: Double; function _GettotalRoundTripTime: Double; function _GetfractionLost: Double; function _GetroundTripTimeMeasurements: QWord; procedure _SetlocalId(const aValue: UnicodeString); procedure _SetroundTripTime(const aValue: Double); procedure _SettotalRoundTripTime(const aValue: Double); procedure _SetfractionLost(const aValue: Double); procedure _SetroundTripTimeMeasurements(const aValue: QWord); property localId: UnicodeString read _GetlocalId write _SetlocalId; property roundTripTime: Double read _GetroundTripTime write _SetroundTripTime; property totalRoundTripTime: Double read _GettotalRoundTripTime write _SettotalRoundTripTime; property fractionLost: Double read _GetfractionLost write _SetfractionLost; property roundTripTimeMeasurements: QWord read _GetroundTripTimeMeasurements write _SetroundTripTimeMeasurements; end; TJSRTCRemoteInboundRtpStreamStats = class(TJSRTCReceivedRtpStreamStats,IJSRTCRemoteInboundRtpStreamStats) Private Protected function _GetlocalId: UnicodeString; function _GetroundTripTime: Double; function _GettotalRoundTripTime: Double; function _GetfractionLost: Double; function _GetroundTripTimeMeasurements: QWord; procedure _SetlocalId(const aValue: UnicodeString); procedure _SetroundTripTime(const aValue: Double); procedure _SettotalRoundTripTime(const aValue: Double); procedure _SetfractionLost(const aValue: Double); procedure _SetroundTripTimeMeasurements(const aValue: QWord); Public constructor create(const aDict : TJSRTCRemoteInboundRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRemoteInboundRtpStreamStats; property localId: UnicodeString read _GetlocalId write _SetlocalId; property roundTripTime: Double read _GetroundTripTime write _SetroundTripTime; property totalRoundTripTime: Double read _GettotalRoundTripTime write _SettotalRoundTripTime; property fractionLost: Double read _GetfractionLost write _SetfractionLost; property roundTripTimeMeasurements: QWord read _GetroundTripTimeMeasurements write _SetroundTripTimeMeasurements; end; { -------------------------------------------------------------------- TJSRTCOutboundRtpStreamStats --------------------------------------------------------------------} TJSRTCOutboundRtpStreamStatsRec = record remoteId: UnicodeString; framesEncoded: Cardinal; qpSum: QWord; nackCount: Cardinal; firCount: Cardinal; pliCount: Cardinal; headerBytesSent: QWord; retransmittedPacketsSent: QWord; retransmittedBytesSent: QWord; totalEncodedBytesTarget: QWord; frameWidth: Cardinal; frameHeight: Cardinal; framesPerSecond: Double; framesSent: Cardinal; hugeFramesSent: Cardinal; totalEncodeTime: Double; packetsSent: Cardinal; bytesSent: QWord; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCOutboundRtpStreamStats = interface(IJSRTCSentRtpStreamStats) ['{FE5624B4-DE5F-3683-B7BB-880F9E40BE3F}'] function _GetremoteId: UnicodeString; function _GetframesEncoded: Cardinal; function _GetqpSum: QWord; function _GetnackCount: Cardinal; function _GetfirCount: Cardinal; function _GetpliCount: Cardinal; function _GetheaderBytesSent: QWord; function _GetretransmittedPacketsSent: QWord; function _GetretransmittedBytesSent: QWord; function _GettotalEncodedBytesTarget: QWord; function _GetframeWidth: Cardinal; function _GetframeHeight: Cardinal; function _GetframesPerSecond: Double; function _GetframesSent: Cardinal; function _GethugeFramesSent: Cardinal; function _GettotalEncodeTime: Double; procedure _SetremoteId(const aValue: UnicodeString); procedure _SetframesEncoded(const aValue: Cardinal); procedure _SetqpSum(const aValue: QWord); procedure _SetnackCount(const aValue: Cardinal); procedure _SetfirCount(const aValue: Cardinal); procedure _SetpliCount(const aValue: Cardinal); procedure _SetheaderBytesSent(const aValue: QWord); procedure _SetretransmittedPacketsSent(const aValue: QWord); procedure _SetretransmittedBytesSent(const aValue: QWord); procedure _SettotalEncodedBytesTarget(const aValue: QWord); procedure _SetframeWidth(const aValue: Cardinal); procedure _SetframeHeight(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); procedure _SetframesSent(const aValue: Cardinal); procedure _SethugeFramesSent(const aValue: Cardinal); procedure _SettotalEncodeTime(const aValue: Double); property remoteId: UnicodeString read _GetremoteId write _SetremoteId; property framesEncoded: Cardinal read _GetframesEncoded write _SetframesEncoded; property qpSum: QWord read _GetqpSum write _SetqpSum; property nackCount: Cardinal read _GetnackCount write _SetnackCount; property firCount: Cardinal read _GetfirCount write _SetfirCount; property pliCount: Cardinal read _GetpliCount write _SetpliCount; property headerBytesSent: QWord read _GetheaderBytesSent write _SetheaderBytesSent; property retransmittedPacketsSent: QWord read _GetretransmittedPacketsSent write _SetretransmittedPacketsSent; property retransmittedBytesSent: QWord read _GetretransmittedBytesSent write _SetretransmittedBytesSent; property totalEncodedBytesTarget: QWord read _GettotalEncodedBytesTarget write _SettotalEncodedBytesTarget; property frameWidth: Cardinal read _GetframeWidth write _SetframeWidth; property frameHeight: Cardinal read _GetframeHeight write _SetframeHeight; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; property framesSent: Cardinal read _GetframesSent write _SetframesSent; property hugeFramesSent: Cardinal read _GethugeFramesSent write _SethugeFramesSent; property totalEncodeTime: Double read _GettotalEncodeTime write _SettotalEncodeTime; end; TJSRTCOutboundRtpStreamStats = class(TJSRTCSentRtpStreamStats,IJSRTCOutboundRtpStreamStats) Private Protected function _GetremoteId: UnicodeString; function _GetframesEncoded: Cardinal; function _GetqpSum: QWord; function _GetnackCount: Cardinal; function _GetfirCount: Cardinal; function _GetpliCount: Cardinal; function _GetheaderBytesSent: QWord; function _GetretransmittedPacketsSent: QWord; function _GetretransmittedBytesSent: QWord; function _GettotalEncodedBytesTarget: QWord; function _GetframeWidth: Cardinal; function _GetframeHeight: Cardinal; function _GetframesPerSecond: Double; function _GetframesSent: Cardinal; function _GethugeFramesSent: Cardinal; function _GettotalEncodeTime: Double; procedure _SetremoteId(const aValue: UnicodeString); procedure _SetframesEncoded(const aValue: Cardinal); procedure _SetqpSum(const aValue: QWord); procedure _SetnackCount(const aValue: Cardinal); procedure _SetfirCount(const aValue: Cardinal); procedure _SetpliCount(const aValue: Cardinal); procedure _SetheaderBytesSent(const aValue: QWord); procedure _SetretransmittedPacketsSent(const aValue: QWord); procedure _SetretransmittedBytesSent(const aValue: QWord); procedure _SettotalEncodedBytesTarget(const aValue: QWord); procedure _SetframeWidth(const aValue: Cardinal); procedure _SetframeHeight(const aValue: Cardinal); procedure _SetframesPerSecond(const aValue: Double); procedure _SetframesSent(const aValue: Cardinal); procedure _SethugeFramesSent(const aValue: Cardinal); procedure _SettotalEncodeTime(const aValue: Double); Public constructor create(const aDict : TJSRTCOutboundRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCOutboundRtpStreamStats; property remoteId: UnicodeString read _GetremoteId write _SetremoteId; property framesEncoded: Cardinal read _GetframesEncoded write _SetframesEncoded; property qpSum: QWord read _GetqpSum write _SetqpSum; property nackCount: Cardinal read _GetnackCount write _SetnackCount; property firCount: Cardinal read _GetfirCount write _SetfirCount; property pliCount: Cardinal read _GetpliCount write _SetpliCount; property headerBytesSent: QWord read _GetheaderBytesSent write _SetheaderBytesSent; property retransmittedPacketsSent: QWord read _GetretransmittedPacketsSent write _SetretransmittedPacketsSent; property retransmittedBytesSent: QWord read _GetretransmittedBytesSent write _SetretransmittedBytesSent; property totalEncodedBytesTarget: QWord read _GettotalEncodedBytesTarget write _SettotalEncodedBytesTarget; property frameWidth: Cardinal read _GetframeWidth write _SetframeWidth; property frameHeight: Cardinal read _GetframeHeight write _SetframeHeight; property framesPerSecond: Double read _GetframesPerSecond write _SetframesPerSecond; property framesSent: Cardinal read _GetframesSent write _SetframesSent; property hugeFramesSent: Cardinal read _GethugeFramesSent write _SethugeFramesSent; property totalEncodeTime: Double read _GettotalEncodeTime write _SettotalEncodeTime; end; { -------------------------------------------------------------------- TJSRTCRemoteOutboundRtpStreamStats --------------------------------------------------------------------} TJSRTCRemoteOutboundRtpStreamStatsRec = record localId: UnicodeString; remoteTimestamp: TDOMHighResTimeStamp; packetsSent: Cardinal; bytesSent: QWord; ssrc: Cardinal; kind: UnicodeString; mediaType: UnicodeString; transportId: UnicodeString; codecId: UnicodeString; timestamp: TDOMHighResTimeStamp; type_: TRTCStatsType; id: UnicodeString; end; IJSRTCRemoteOutboundRtpStreamStats = interface(IJSRTCSentRtpStreamStats) ['{1C125D96-58FC-3188-999E-B34E8B929746}'] function _GetlocalId: UnicodeString; function _GetremoteTimestamp: TDOMHighResTimeStamp; procedure _SetlocalId(const aValue: UnicodeString); procedure _SetremoteTimestamp(const aValue: TDOMHighResTimeStamp); property localId: UnicodeString read _GetlocalId write _SetlocalId; property remoteTimestamp: TDOMHighResTimeStamp read _GetremoteTimestamp write _SetremoteTimestamp; end; TJSRTCRemoteOutboundRtpStreamStats = class(TJSRTCSentRtpStreamStats,IJSRTCRemoteOutboundRtpStreamStats) Private Protected function _GetlocalId: UnicodeString; function _GetremoteTimestamp: TDOMHighResTimeStamp; procedure _SetlocalId(const aValue: UnicodeString); procedure _SetremoteTimestamp(const aValue: TDOMHighResTimeStamp); Public constructor create(const aDict : TJSRTCRemoteOutboundRtpStreamStatsRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRemoteOutboundRtpStreamStats; property localId: UnicodeString read _GetlocalId write _SetlocalId; property remoteTimestamp: TDOMHighResTimeStamp read _GetremoteTimestamp write _SetremoteTimestamp; end; { -------------------------------------------------------------------- TJSTouchEventInit --------------------------------------------------------------------} TJSTouchDynArray = IJSArray; // array of Touch TJSTouchEventInitRec = record touches: TJSTouchDynArray; targetTouches: TJSTouchDynArray; changedTouches: TJSTouchDynArray; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSTouchEventInit = interface(IJSEventModifierInit) ['{918BA442-2CFA-378E-998C-B5D02C19F928}'] function _Gettouches: TJSTouchDynArray; function _GettargetTouches: TJSTouchDynArray; function _GetchangedTouches: TJSTouchDynArray; procedure _Settouches(const aValue: TJSTouchDynArray); procedure _SettargetTouches(const aValue: TJSTouchDynArray); procedure _SetchangedTouches(const aValue: TJSTouchDynArray); property touches: TJSTouchDynArray read _Gettouches write _Settouches; property targetTouches: TJSTouchDynArray read _GettargetTouches write _SettargetTouches; property changedTouches: TJSTouchDynArray read _GetchangedTouches write _SetchangedTouches; end; TJSTouchEventInit = class(TJSEventModifierInit,IJSTouchEventInit) Private Protected function _Gettouches: TJSTouchDynArray; function _GettargetTouches: TJSTouchDynArray; function _GetchangedTouches: TJSTouchDynArray; procedure _Settouches(const aValue: TJSTouchDynArray); procedure _SettargetTouches(const aValue: TJSTouchDynArray); procedure _SetchangedTouches(const aValue: TJSTouchDynArray); Public constructor create(const aDict : TJSTouchEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouchEventInit; property touches: TJSTouchDynArray read _Gettouches write _Settouches; property targetTouches: TJSTouchDynArray read _GettargetTouches write _SettargetTouches; property changedTouches: TJSTouchDynArray read _GetchangedTouches write _SetchangedTouches; end; { -------------------------------------------------------------------- TJSDragEventInit --------------------------------------------------------------------} TJSDragEventInitRec = record dataTransfer: TJSDataTransfer; screenX: LongInt; screenY: LongInt; clientX: LongInt; clientY: LongInt; button: SmallInt; buttons: Word; relatedTarget: TJSEventTarget; movementX: LongInt; movementY: LongInt; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSDragEventInit = interface(IJSMouseEventInit) ['{D76C47B0-3B03-3507-AA21-A89B1C288B11}'] function _GetdataTransfer: IJSDataTransfer; procedure _SetdataTransfer(const aValue: IJSDataTransfer); property dataTransfer: IJSDataTransfer read _GetdataTransfer write _SetdataTransfer; end; TJSDragEventInit = class(TJSMouseEventInit,IJSDragEventInit) Private Protected function _GetdataTransfer: IJSDataTransfer; procedure _SetdataTransfer(const aValue: IJSDataTransfer); Public constructor create(const aDict : TJSDragEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDragEventInit; property dataTransfer: IJSDataTransfer read _GetdataTransfer write _SetdataTransfer; end; { -------------------------------------------------------------------- TJSPointerEventInit --------------------------------------------------------------------} TJSPointerEventDynArray = IJSArray; // array of PointerEvent TJSPointerEventInitRec = record pointerId: LongInt; width: LongInt; height: LongInt; pressure: Single; tangentialPressure: Single; tiltX: LongInt; tiltY: LongInt; twist: LongInt; pointerType: UnicodeString; isPrimary: Boolean; coalescedEvents: TJSPointerEventDynArray; predictedEvents: TJSPointerEventDynArray; screenX: LongInt; screenY: LongInt; clientX: LongInt; clientY: LongInt; button: SmallInt; buttons: Word; relatedTarget: TJSEventTarget; movementX: LongInt; movementY: LongInt; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSPointerEventInit = interface(IJSMouseEventInit) ['{EF28D1C0-3F8A-3469-9A91-D0B9B0899EA5}'] function _GetpointerId: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _Getpressure: Single; function _GettangentialPressure: Single; function _GettiltX: LongInt; function _GettiltY: LongInt; function _Gettwist: LongInt; function _GetpointerType: UnicodeString; function _GetisPrimary: Boolean; function _GetcoalescedEvents: TJSPointerEventDynArray; function _GetpredictedEvents: TJSPointerEventDynArray; procedure _SetpointerId(const aValue: LongInt); procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); procedure _Setpressure(const aValue: Single); procedure _SettangentialPressure(const aValue: Single); procedure _SettiltX(const aValue: LongInt); procedure _SettiltY(const aValue: LongInt); procedure _Settwist(const aValue: LongInt); procedure _SetpointerType(const aValue: UnicodeString); procedure _SetisPrimary(const aValue: Boolean); procedure _SetcoalescedEvents(const aValue: TJSPointerEventDynArray); procedure _SetpredictedEvents(const aValue: TJSPointerEventDynArray); property pointerId: LongInt read _GetpointerId write _SetpointerId; property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; property pressure: Single read _Getpressure write _Setpressure; property tangentialPressure: Single read _GettangentialPressure write _SettangentialPressure; property tiltX: LongInt read _GettiltX write _SettiltX; property tiltY: LongInt read _GettiltY write _SettiltY; property twist: LongInt read _Gettwist write _Settwist; property pointerType: UnicodeString read _GetpointerType write _SetpointerType; property isPrimary: Boolean read _GetisPrimary write _SetisPrimary; property coalescedEvents: TJSPointerEventDynArray read _GetcoalescedEvents write _SetcoalescedEvents; property predictedEvents: TJSPointerEventDynArray read _GetpredictedEvents write _SetpredictedEvents; end; TJSPointerEventInit = class(TJSMouseEventInit,IJSPointerEventInit) Private Protected function _GetpointerId: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _Getpressure: Single; function _GettangentialPressure: Single; function _GettiltX: LongInt; function _GettiltY: LongInt; function _Gettwist: LongInt; function _GetpointerType: UnicodeString; function _GetisPrimary: Boolean; function _GetcoalescedEvents: TJSPointerEventDynArray; function _GetpredictedEvents: TJSPointerEventDynArray; procedure _SetpointerId(const aValue: LongInt); procedure _Setwidth(const aValue: LongInt); procedure _Setheight(const aValue: LongInt); procedure _Setpressure(const aValue: Single); procedure _SettangentialPressure(const aValue: Single); procedure _SettiltX(const aValue: LongInt); procedure _SettiltY(const aValue: LongInt); procedure _Settwist(const aValue: LongInt); procedure _SetpointerType(const aValue: UnicodeString); procedure _SetisPrimary(const aValue: Boolean); procedure _SetcoalescedEvents(const aValue: TJSPointerEventDynArray); procedure _SetpredictedEvents(const aValue: TJSPointerEventDynArray); Public constructor create(const aDict : TJSPointerEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPointerEventInit; property pointerId: LongInt read _GetpointerId write _SetpointerId; property width: LongInt read _Getwidth write _Setwidth; property height: LongInt read _Getheight write _Setheight; property pressure: Single read _Getpressure write _Setpressure; property tangentialPressure: Single read _GettangentialPressure write _SettangentialPressure; property tiltX: LongInt read _GettiltX write _SettiltX; property tiltY: LongInt read _GettiltY write _SettiltY; property twist: LongInt read _Gettwist write _Settwist; property pointerType: UnicodeString read _GetpointerType write _SetpointerType; property isPrimary: Boolean read _GetisPrimary write _SetisPrimary; property coalescedEvents: TJSPointerEventDynArray read _GetcoalescedEvents write _SetcoalescedEvents; property predictedEvents: TJSPointerEventDynArray read _GetpredictedEvents write _SetpredictedEvents; end; { -------------------------------------------------------------------- TJSWheelEventInit --------------------------------------------------------------------} TJSWheelEventInitRec = record deltaX: Double; deltaY: Double; deltaZ: Double; deltaMode: Cardinal; screenX: LongInt; screenY: LongInt; clientX: LongInt; clientY: LongInt; button: SmallInt; buttons: Word; relatedTarget: TJSEventTarget; movementX: LongInt; movementY: LongInt; ctrlKey: Boolean; shiftKey: Boolean; altKey: Boolean; metaKey: Boolean; modifierAltGraph: Boolean; modifierCapsLock: Boolean; modifierFn: Boolean; modifierFnLock: Boolean; modifierNumLock: Boolean; modifierOS: Boolean; modifierScrollLock: Boolean; modifierSymbol: Boolean; modifierSymbolLock: Boolean; view: TJSWindow; detail: LongInt; bubbles: Boolean; cancelable: Boolean; composed: Boolean; end; IJSWheelEventInit = interface(IJSMouseEventInit) ['{04E43A9B-845C-3A2A-A5CB-8782C7C21EFD}'] function _GetdeltaX: Double; function _GetdeltaY: Double; function _GetdeltaZ: Double; function _GetdeltaMode: Cardinal; procedure _SetdeltaX(const aValue: Double); procedure _SetdeltaY(const aValue: Double); procedure _SetdeltaZ(const aValue: Double); procedure _SetdeltaMode(const aValue: Cardinal); property deltaX: Double read _GetdeltaX write _SetdeltaX; property deltaY: Double read _GetdeltaY write _SetdeltaY; property deltaZ: Double read _GetdeltaZ write _SetdeltaZ; property deltaMode: Cardinal read _GetdeltaMode write _SetdeltaMode; end; TJSWheelEventInit = class(TJSMouseEventInit,IJSWheelEventInit) Private Protected function _GetdeltaX: Double; function _GetdeltaY: Double; function _GetdeltaZ: Double; function _GetdeltaMode: Cardinal; procedure _SetdeltaX(const aValue: Double); procedure _SetdeltaY(const aValue: Double); procedure _SetdeltaZ(const aValue: Double); procedure _SetdeltaMode(const aValue: Cardinal); Public constructor create(const aDict : TJSWheelEventInitRec); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWheelEventInit; property deltaX: Double read _GetdeltaX write _SetdeltaX; property deltaY: Double read _GetdeltaY write _SetdeltaY; property deltaZ: Double read _GetdeltaZ write _SetdeltaZ; property deltaMode: Cardinal read _GetdeltaMode write _SetdeltaMode; end; { -------------------------------------------------------------------- TJSAbortController --------------------------------------------------------------------} IJSAbortController = interface(IJSObject) ['{3244E19B-3458-3D6C-91D8-49962A65A796}'] function _Getsignal: IJSAbortSignal; procedure abort(const aReason: Variant); procedure abort; property signal: IJSAbortSignal read _Getsignal; end; TJSAbortController = class(TJSObject,IJSAbortController) Private Protected function _Getsignal: IJSAbortSignal; Public constructor Create; overload; procedure abort(const aReason: Variant); overload; procedure abort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAbortController; property signal: IJSAbortSignal read _Getsignal; end; { -------------------------------------------------------------------- TJSAbstractRange --------------------------------------------------------------------} IJSAbstractRange = interface(IJSObject) ['{8E39D0ED-D143-37AA-8AE4-89FBFDC74148}'] function _GetstartContainer: IJSNode; function _GetstartOffset: Cardinal; function _GetendContainer: IJSNode; function _GetendOffset: Cardinal; function _Getcollapsed: Boolean; property startContainer: IJSNode read _GetstartContainer; property startOffset: Cardinal read _GetstartOffset; property endContainer: IJSNode read _GetendContainer; property endOffset: Cardinal read _GetendOffset; property collapsed: Boolean read _Getcollapsed; end; TJSAbstractRange = class(TJSObject,IJSAbstractRange) Private Protected function _GetstartContainer: IJSNode; function _GetstartOffset: Cardinal; function _GetendContainer: IJSNode; function _GetendOffset: Cardinal; function _Getcollapsed: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAbstractRange; property startContainer: IJSNode read _GetstartContainer; property startOffset: Cardinal read _GetstartOffset; property endContainer: IJSNode read _GetendContainer; property endOffset: Cardinal read _GetendOffset; property collapsed: Boolean read _Getcollapsed; end; { -------------------------------------------------------------------- TJSAbstractWorker --------------------------------------------------------------------} IJSAbstractWorker = interface(IJSObject) ['{35D23268-EC9E-38C1-BE30-7D8E8AF584BB}'] function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSAbstractWorker = class(TJSObject,IJSAbstractWorker) Private Protected function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAbstractWorker; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSAccessibleNode --------------------------------------------------------------------} IJSAccessibleNode = interface(IJSObject) ['{2F50359E-E423-3CAE-810B-D9BD10195D9B}'] function _GetcomputedRole: UnicodeString; function _Getstates: TUnicodeStringDynArray; function _Getattributes: TUnicodeStringDynArray; function _GetDOMNode: IJSNode; function _Getrole: UnicodeString; function _GetroleDescription: UnicodeString; function _Getlabel_: UnicodeString; function _Getcurrent: UnicodeString; function _Getautocomplete: UnicodeString; function _GetkeyShortcuts: UnicodeString; function _Getmodal: Boolean; function _Getmultiline: Boolean; function _Getmultiselectable: Boolean; function _Getorientation: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getsort: UnicodeString; function _Getplaceholder: UnicodeString; function _GetvalueMax: Double; function _GetvalueMin: Double; function _GetvalueNow: Double; function _GetvalueText: UnicodeString; function _Getchecked: UnicodeString; function _Getdisabled: Boolean; function _Getexpanded: Boolean; function _GethasPopUp: UnicodeString; function _Gethidden: Boolean; function _Getinvalid: UnicodeString; function _Getpressed: UnicodeString; function _Getselected: Boolean; function _Getatomic: Boolean; function _Getbusy: Boolean; function _Getlive: UnicodeString; function _Getrelevant: UnicodeString; function _GetactiveDescendant: IJSAccessibleNode; function _Getdetails: IJSAccessibleNode; function _GeterrorMessage: IJSAccessibleNode; function _GetcolCount: LongInt; function _GetcolIndex: Cardinal; function _GetcolSpan: Cardinal; function _Getlevel: Cardinal; function _GetposInSet: Cardinal; function _GetrowCount: LongInt; function _GetrowIndex: Cardinal; function _GetrowSpan: Cardinal; function _GetsetSize: LongInt; procedure _Setrole(const aValue: UnicodeString); procedure _SetroleDescription(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setcurrent(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _SetkeyShortcuts(const aValue: UnicodeString); procedure _Setmodal(const aValue: Boolean); procedure _Setmultiline(const aValue: Boolean); procedure _Setmultiselectable(const aValue: Boolean); procedure _Setorientation(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setsort(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetvalueMax(const aValue: Double); procedure _SetvalueMin(const aValue: Double); procedure _SetvalueNow(const aValue: Double); procedure _SetvalueText(const aValue: UnicodeString); procedure _Setchecked(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setexpanded(const aValue: Boolean); procedure _SethasPopUp(const aValue: UnicodeString); procedure _Sethidden(const aValue: Boolean); procedure _Setinvalid(const aValue: UnicodeString); procedure _Setpressed(const aValue: UnicodeString); procedure _Setselected(const aValue: Boolean); procedure _Setatomic(const aValue: Boolean); procedure _Setbusy(const aValue: Boolean); procedure _Setlive(const aValue: UnicodeString); procedure _Setrelevant(const aValue: UnicodeString); procedure _SetactiveDescendant(const aValue: IJSAccessibleNode); procedure _Setdetails(const aValue: IJSAccessibleNode); procedure _SeterrorMessage(const aValue: IJSAccessibleNode); procedure _SetcolCount(const aValue: LongInt); procedure _SetcolIndex(const aValue: Cardinal); procedure _SetcolSpan(const aValue: Cardinal); procedure _Setlevel(const aValue: Cardinal); procedure _SetposInSet(const aValue: Cardinal); procedure _SetrowCount(const aValue: LongInt); procedure _SetrowIndex(const aValue: Cardinal); procedure _SetrowSpan(const aValue: Cardinal); procedure _SetsetSize(const aValue: LongInt); function is_(const aStates: UnicodeString): Boolean{; ToDo:varargs}; function has(const aAttributes: UnicodeString): Boolean{; ToDo:varargs}; function get(const aAttribute: UnicodeString): Variant; property computedRole: UnicodeString read _GetcomputedRole; property states: TUnicodeStringDynArray read _Getstates; property attributes: TUnicodeStringDynArray read _Getattributes; property DOMNode: IJSNode read _GetDOMNode; property role: UnicodeString read _Getrole write _Setrole; property roleDescription: UnicodeString read _GetroleDescription write _SetroleDescription; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property current: UnicodeString read _Getcurrent write _Setcurrent; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property keyShortcuts: UnicodeString read _GetkeyShortcuts write _SetkeyShortcuts; property modal: Boolean read _Getmodal write _Setmodal; property multiline: Boolean read _Getmultiline write _Setmultiline; property multiselectable: Boolean read _Getmultiselectable write _Setmultiselectable; property orientation: UnicodeString read _Getorientation write _Setorientation; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property sort: UnicodeString read _Getsort write _Setsort; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property valueMax: Double read _GetvalueMax write _SetvalueMax; property valueMin: Double read _GetvalueMin write _SetvalueMin; property valueNow: Double read _GetvalueNow write _SetvalueNow; property valueText: UnicodeString read _GetvalueText write _SetvalueText; property checked: UnicodeString read _Getchecked write _Setchecked; property disabled: Boolean read _Getdisabled write _Setdisabled; property expanded: Boolean read _Getexpanded write _Setexpanded; property hasPopUp: UnicodeString read _GethasPopUp write _SethasPopUp; property hidden: Boolean read _Gethidden write _Sethidden; property invalid: UnicodeString read _Getinvalid write _Setinvalid; property pressed: UnicodeString read _Getpressed write _Setpressed; property selected: Boolean read _Getselected write _Setselected; property atomic: Boolean read _Getatomic write _Setatomic; property busy: Boolean read _Getbusy write _Setbusy; property live: UnicodeString read _Getlive write _Setlive; property relevant: UnicodeString read _Getrelevant write _Setrelevant; property activeDescendant: IJSAccessibleNode read _GetactiveDescendant write _SetactiveDescendant; property details: IJSAccessibleNode read _Getdetails write _Setdetails; property errorMessage: IJSAccessibleNode read _GeterrorMessage write _SeterrorMessage; property colCount: LongInt read _GetcolCount write _SetcolCount; property colIndex: Cardinal read _GetcolIndex write _SetcolIndex; property colSpan: Cardinal read _GetcolSpan write _SetcolSpan; property level: Cardinal read _Getlevel write _Setlevel; property posInSet: Cardinal read _GetposInSet write _SetposInSet; property rowCount: LongInt read _GetrowCount write _SetrowCount; property rowIndex: Cardinal read _GetrowIndex write _SetrowIndex; property rowSpan: Cardinal read _GetrowSpan write _SetrowSpan; property setSize: LongInt read _GetsetSize write _SetsetSize; end; TJSAccessibleNode = class(TJSObject,IJSAccessibleNode) Private Protected function _GetcomputedRole: UnicodeString; function _Getstates: TUnicodeStringDynArray; function _Getattributes: TUnicodeStringDynArray; function _GetDOMNode: IJSNode; function _Getrole: UnicodeString; function _GetroleDescription: UnicodeString; function _Getlabel_: UnicodeString; function _Getcurrent: UnicodeString; function _Getautocomplete: UnicodeString; function _GetkeyShortcuts: UnicodeString; function _Getmodal: Boolean; function _Getmultiline: Boolean; function _Getmultiselectable: Boolean; function _Getorientation: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getsort: UnicodeString; function _Getplaceholder: UnicodeString; function _GetvalueMax: Double; function _GetvalueMin: Double; function _GetvalueNow: Double; function _GetvalueText: UnicodeString; function _Getchecked: UnicodeString; function _Getdisabled: Boolean; function _Getexpanded: Boolean; function _GethasPopUp: UnicodeString; function _Gethidden: Boolean; function _Getinvalid: UnicodeString; function _Getpressed: UnicodeString; function _Getselected: Boolean; function _Getatomic: Boolean; function _Getbusy: Boolean; function _Getlive: UnicodeString; function _Getrelevant: UnicodeString; function _GetactiveDescendant: IJSAccessibleNode; function _Getdetails: IJSAccessibleNode; function _GeterrorMessage: IJSAccessibleNode; function _GetcolCount: LongInt; function _GetcolIndex: Cardinal; function _GetcolSpan: Cardinal; function _Getlevel: Cardinal; function _GetposInSet: Cardinal; function _GetrowCount: LongInt; function _GetrowIndex: Cardinal; function _GetrowSpan: Cardinal; function _GetsetSize: LongInt; procedure _Setrole(const aValue: UnicodeString); procedure _SetroleDescription(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setcurrent(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _SetkeyShortcuts(const aValue: UnicodeString); procedure _Setmodal(const aValue: Boolean); procedure _Setmultiline(const aValue: Boolean); procedure _Setmultiselectable(const aValue: Boolean); procedure _Setorientation(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setsort(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetvalueMax(const aValue: Double); procedure _SetvalueMin(const aValue: Double); procedure _SetvalueNow(const aValue: Double); procedure _SetvalueText(const aValue: UnicodeString); procedure _Setchecked(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setexpanded(const aValue: Boolean); procedure _SethasPopUp(const aValue: UnicodeString); procedure _Sethidden(const aValue: Boolean); procedure _Setinvalid(const aValue: UnicodeString); procedure _Setpressed(const aValue: UnicodeString); procedure _Setselected(const aValue: Boolean); procedure _Setatomic(const aValue: Boolean); procedure _Setbusy(const aValue: Boolean); procedure _Setlive(const aValue: UnicodeString); procedure _Setrelevant(const aValue: UnicodeString); procedure _SetactiveDescendant(const aValue: IJSAccessibleNode); procedure _Setdetails(const aValue: IJSAccessibleNode); procedure _SeterrorMessage(const aValue: IJSAccessibleNode); procedure _SetcolCount(const aValue: LongInt); procedure _SetcolIndex(const aValue: Cardinal); procedure _SetcolSpan(const aValue: Cardinal); procedure _Setlevel(const aValue: Cardinal); procedure _SetposInSet(const aValue: Cardinal); procedure _SetrowCount(const aValue: LongInt); procedure _SetrowIndex(const aValue: Cardinal); procedure _SetrowSpan(const aValue: Cardinal); procedure _SetsetSize(const aValue: LongInt); Public function is_(const aStates: UnicodeString): Boolean{; ToDo:varargs}; overload; function has(const aAttributes: UnicodeString): Boolean{; ToDo:varargs}; overload; function get(const aAttribute: UnicodeString): Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAccessibleNode; property computedRole: UnicodeString read _GetcomputedRole; property states: TUnicodeStringDynArray read _Getstates; property attributes: TUnicodeStringDynArray read _Getattributes; property DOMNode: IJSNode read _GetDOMNode; property role: UnicodeString read _Getrole write _Setrole; property roleDescription: UnicodeString read _GetroleDescription write _SetroleDescription; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property current: UnicodeString read _Getcurrent write _Setcurrent; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property keyShortcuts: UnicodeString read _GetkeyShortcuts write _SetkeyShortcuts; property modal: Boolean read _Getmodal write _Setmodal; property multiline: Boolean read _Getmultiline write _Setmultiline; property multiselectable: Boolean read _Getmultiselectable write _Setmultiselectable; property orientation: UnicodeString read _Getorientation write _Setorientation; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property sort: UnicodeString read _Getsort write _Setsort; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property valueMax: Double read _GetvalueMax write _SetvalueMax; property valueMin: Double read _GetvalueMin write _SetvalueMin; property valueNow: Double read _GetvalueNow write _SetvalueNow; property valueText: UnicodeString read _GetvalueText write _SetvalueText; property checked: UnicodeString read _Getchecked write _Setchecked; property disabled: Boolean read _Getdisabled write _Setdisabled; property expanded: Boolean read _Getexpanded write _Setexpanded; property hasPopUp: UnicodeString read _GethasPopUp write _SethasPopUp; property hidden: Boolean read _Gethidden write _Sethidden; property invalid: UnicodeString read _Getinvalid write _Setinvalid; property pressed: UnicodeString read _Getpressed write _Setpressed; property selected: Boolean read _Getselected write _Setselected; property atomic: Boolean read _Getatomic write _Setatomic; property busy: Boolean read _Getbusy write _Setbusy; property live: UnicodeString read _Getlive write _Setlive; property relevant: UnicodeString read _Getrelevant write _Setrelevant; property activeDescendant: IJSAccessibleNode read _GetactiveDescendant write _SetactiveDescendant; property details: IJSAccessibleNode read _Getdetails write _Setdetails; property errorMessage: IJSAccessibleNode read _GeterrorMessage write _SeterrorMessage; property colCount: LongInt read _GetcolCount write _SetcolCount; property colIndex: Cardinal read _GetcolIndex write _SetcolIndex; property colSpan: Cardinal read _GetcolSpan write _SetcolSpan; property level: Cardinal read _Getlevel write _Setlevel; property posInSet: Cardinal read _GetposInSet write _SetposInSet; property rowCount: LongInt read _GetrowCount write _SetrowCount; property rowIndex: Cardinal read _GetrowIndex write _SetrowIndex; property rowSpan: Cardinal read _GetrowSpan write _SetrowSpan; property setSize: LongInt read _GetsetSize write _SetsetSize; end; { -------------------------------------------------------------------- TJSAnimatable --------------------------------------------------------------------} TJSAnimationDynArray = IJSArray; // array of Animation IJSAnimatable = interface(IJSObject) ['{B705F8EE-A862-30AE-9523-6CE1C6E93355}'] function animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; function animate(aKeyframes: IJSObject): IJSAnimation; function animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; function getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; function getAnimations: TJSAnimationDynArray; end; TJSAnimatable = class(TJSObject,IJSAnimatable) Private Protected Public function animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; overload; function animate(aKeyframes: IJSObject): IJSAnimation; overload; function animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; overload; function getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; overload; function getAnimations: TJSAnimationDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimatable; end; { -------------------------------------------------------------------- TJSAnimationEffect --------------------------------------------------------------------} IJSAnimationEffect = interface(IJSObject) ['{FB12ACCA-88A4-32B6-B299-5A872E1981A7}'] function getTiming: IJSEffectTiming; function getComputedTiming: IJSComputedEffectTiming; procedure updateTiming(const aTiming: IJSOptionalEffectTiming); procedure updateTiming; end; TJSAnimationEffect = class(TJSObject,IJSAnimationEffect) Private Protected Public function getTiming: IJSEffectTiming; overload; function getComputedTiming: IJSComputedEffectTiming; overload; procedure updateTiming(const aTiming: IJSOptionalEffectTiming); overload; procedure updateTiming; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationEffect; end; { -------------------------------------------------------------------- TJSAnimationFrameProvider --------------------------------------------------------------------} IJSAnimationFrameProvider = interface(IJSObject) ['{7685FDC3-774D-3963-9FF2-0ED5389D80ED}'] function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; procedure cancelAnimationFrame(aHandle: LongInt); end; TJSAnimationFrameProvider = class(TJSObject,IJSAnimationFrameProvider) Private Protected Public function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; overload; procedure cancelAnimationFrame(aHandle: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationFrameProvider; end; { -------------------------------------------------------------------- TJSAnimationTimeline --------------------------------------------------------------------} IJSAnimationTimeline = interface(IJSObject) ['{952FDD5F-3814-37BF-963A-CEF8FB0A12B0}'] function _GetcurrentTime: Double; property currentTime: Double read _GetcurrentTime; end; TJSAnimationTimeline = class(TJSObject,IJSAnimationTimeline) Private Protected function _GetcurrentTime: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationTimeline; property currentTime: Double read _GetcurrentTime; end; { -------------------------------------------------------------------- TJSMozObserver --------------------------------------------------------------------} IJSMozObserver = interface(IJSObject) ['{EEDF5DB3-ABBE-30C2-8C3D-1A2372542131}'] end; TJSMozObserver = class(TJSObject,IJSMozObserver) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozObserver; end; { -------------------------------------------------------------------- TJSARIAMixin --------------------------------------------------------------------} IJSARIAMixin = interface(IJSObject) ['{F81FB63E-B58F-337A-8667-E62C0E47BE60}'] function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; TJSARIAMixin = class(TJSObject,IJSARIAMixin) Private Protected function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSARIAMixin; property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; { -------------------------------------------------------------------- TJSAudioBuffer --------------------------------------------------------------------} IJSAudioBuffer = interface(IJSObject) ['{96E1F302-0856-38F9-968C-E9E6D6BB7ABD}'] function _GetsampleRate: Single; function _Getlength_: Cardinal; function _Getduration: Double; function _GetnumberOfChannels: Cardinal; function getChannelData(aChannel: Cardinal): IJSFloat32Array; procedure copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); procedure copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal); procedure copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); procedure copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal); property sampleRate: Single read _GetsampleRate; property length_: Cardinal read _Getlength_; property duration: Double read _Getduration; property numberOfChannels: Cardinal read _GetnumberOfChannels; end; TJSAudioBuffer = class(TJSObject,IJSAudioBuffer) Private Protected function _GetsampleRate: Single; function _Getlength_: Cardinal; function _Getduration: Double; function _GetnumberOfChannels: Cardinal; Public constructor Create(const aOptions: IJSAudioBufferOptions); overload; function getChannelData(aChannel: Cardinal): IJSFloat32Array; overload; procedure copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); overload; procedure copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal); overload; procedure copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); overload; procedure copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioBuffer; property sampleRate: Single read _GetsampleRate; property length_: Cardinal read _Getlength_; property duration: Double read _Getduration; property numberOfChannels: Cardinal read _GetnumberOfChannels; end; { -------------------------------------------------------------------- TJSAudioData --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TAudioData_copyTo_destination_Type = Variant; IJSAudioData = interface(IJSObject) ['{CC4F1F64-A678-33C3-A116-51E5B7200E07}'] function _Getformat: TAudioSampleFormat; function _GetsampleRate: Single; function _GetnumberOfFrames: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getduration: QWord; function _Gettimestamp: Int64; function allocationSize(const aOptions: IJSAudioDataCopyToOptions): Cardinal; procedure copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSAudioDataCopyToOptions); procedure copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSAudioDataCopyToOptions); function clone: IJSAudioData; procedure close; property format: TAudioSampleFormat read _Getformat; property sampleRate: Single read _GetsampleRate; property numberOfFrames: Cardinal read _GetnumberOfFrames; property numberOfChannels: Cardinal read _GetnumberOfChannels; property duration: QWord read _Getduration; property timestamp: Int64 read _Gettimestamp; end; TJSAudioData = class(TJSObject,IJSAudioData) Private Protected function _Getformat: TAudioSampleFormat; function _GetsampleRate: Single; function _GetnumberOfFrames: Cardinal; function _GetnumberOfChannels: Cardinal; function _Getduration: QWord; function _Gettimestamp: Int64; Public constructor Create(const aInit: IJSAudioDataInit); overload; function allocationSize(const aOptions: IJSAudioDataCopyToOptions): Cardinal; overload; procedure copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSAudioDataCopyToOptions); overload; procedure copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSAudioDataCopyToOptions); overload; function clone: IJSAudioData; overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioData; property format: TAudioSampleFormat read _Getformat; property sampleRate: Single read _GetsampleRate; property numberOfFrames: Cardinal read _GetnumberOfFrames; property numberOfChannels: Cardinal read _GetnumberOfChannels; property duration: QWord read _Getduration; property timestamp: Int64 read _Gettimestamp; end; { -------------------------------------------------------------------- TJSAudioListener --------------------------------------------------------------------} IJSAudioListener = interface(IJSObject) ['{DBD86361-4C0C-375B-B42A-A0EE1C619F11}'] procedure setPosition(aX: Double; aY: Double; aZ: Double); procedure setOrientation(aX: Double; aY: Double; aZ: Double; aXUp: Double; aYUp: Double; aZUp: Double); end; TJSAudioListener = class(TJSObject,IJSAudioListener) Private Protected Public procedure setPosition(aX: Double; aY: Double; aZ: Double); overload; procedure setOrientation(aX: Double; aY: Double; aZ: Double; aXUp: Double; aYUp: Double; aZUp: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioListener; end; { -------------------------------------------------------------------- TJSAudioNodePassThrough --------------------------------------------------------------------} IJSAudioNodePassThrough = interface(IJSObject) ['{8DF39B85-43E9-3C76-821A-0B54D3D5B91D}'] end; TJSAudioNodePassThrough = class(TJSObject,IJSAudioNodePassThrough) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioNodePassThrough; end; { -------------------------------------------------------------------- TJSAudioParam --------------------------------------------------------------------} IJSAudioParam = interface(IJSObject) ['{D92F4F5C-4AD1-36A0-A153-42B8094AB8BA}'] function _Getvalue: Single; function _GetdefaultValue: Single; function _GetminValue: Single; function _GetmaxValue: Single; procedure _Setvalue(const aValue: Single); function setValueAtTime(aValue: Single; aStartTime: Double): IJSAudioParam; function linearRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; function exponentialRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; function setTargetAtTime(aTarget: Single; aStartTime: Double; aTimeConstant: Double): IJSAudioParam; function setValueCurveAtTime(const aValues: TSingleDynArray; aStartTime: Double; aDuration: Double): IJSAudioParam; function cancelScheduledValues(aStartTime: Double): IJSAudioParam; property value: Single read _Getvalue write _Setvalue; property defaultValue: Single read _GetdefaultValue; property minValue: Single read _GetminValue; property maxValue: Single read _GetmaxValue; end; TJSAudioParam = class(TJSObject,IJSAudioParam) Private Protected function _Getvalue: Single; function _GetdefaultValue: Single; function _GetminValue: Single; function _GetmaxValue: Single; procedure _Setvalue(const aValue: Single); Public function setValueAtTime(aValue: Single; aStartTime: Double): IJSAudioParam; overload; function linearRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; overload; function exponentialRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; overload; function setTargetAtTime(aTarget: Single; aStartTime: Double; aTimeConstant: Double): IJSAudioParam; overload; function setValueCurveAtTime(const aValues: TSingleDynArray; aStartTime: Double; aDuration: Double): IJSAudioParam; overload; function cancelScheduledValues(aStartTime: Double): IJSAudioParam; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioParam; property value: Single read _Getvalue write _Setvalue; property defaultValue: Single read _GetdefaultValue; property minValue: Single read _GetminValue; property maxValue: Single read _GetmaxValue; end; { -------------------------------------------------------------------- TJSAudioParamMap --------------------------------------------------------------------} IJSAudioParamMap = interface(IJSObject) ['{668E77B0-20F2-3B9B-8C90-0F86C7DC1248}'] function _Getsize : LongInt; function get(key: UnicodeString) : TJSAudioParam; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; property size : LongInt read _Getsize; end; TJSAudioParamMap = class(TJSObject,IJSAudioParamMap) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : TJSAudioParam; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioParamMap; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSAudioTrack --------------------------------------------------------------------} IJSAudioTrack = interface(IJSObject) ['{0D9091EE-72D5-3121-AF69-7BC27A64BC17}'] function _Getid: UnicodeString; function _Getkind: UnicodeString; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getenabled: Boolean; procedure _Setenabled(const aValue: Boolean); property id: UnicodeString read _Getid; property kind: UnicodeString read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property enabled: Boolean read _Getenabled write _Setenabled; end; TJSAudioTrack = class(TJSObject,IJSAudioTrack) Private Protected function _Getid: UnicodeString; function _Getkind: UnicodeString; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getenabled: Boolean; procedure _Setenabled(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioTrack; property id: UnicodeString read _Getid; property kind: UnicodeString read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property enabled: Boolean read _Getenabled write _Setenabled; end; { -------------------------------------------------------------------- TJSAudioWorkletProcessor --------------------------------------------------------------------} IJSAudioWorkletProcessor = interface(IJSObject) ['{66BF78DE-F968-369A-B146-5F0EDEA5C561}'] function _Getport: IJSMessagePort; property port: IJSMessagePort read _Getport; end; TJSAudioWorkletProcessor = class(TJSObject,IJSAudioWorkletProcessor) Private Protected function _Getport: IJSMessagePort; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioWorkletProcessor; property port: IJSMessagePort read _Getport; end; { -------------------------------------------------------------------- TJSBarProp --------------------------------------------------------------------} IJSBarProp = interface(IJSObject) ['{BE7FF026-C5F3-3839-B3AD-FEA98AFE6CE5}'] function _Getvisible: Boolean; procedure _Setvisible(const aValue: Boolean); property visible: Boolean read _Getvisible write _Setvisible; end; TJSBarProp = class(TJSObject,IJSBarProp) Private Protected function _Getvisible: Boolean; procedure _Setvisible(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBarProp; property visible: Boolean read _Getvisible write _Setvisible; end; { -------------------------------------------------------------------- TJSBlob --------------------------------------------------------------------} TBlobPartDynArray = IJSArray; // array of BlobPart IJSBlob = interface(IJSObject) ['{CC8FD59F-1B85-3D93-82A4-CA4E7EBB09E7}'] function _Getsize: QWord; function _Gettype_: UnicodeString; function slice(aStart: Int64; aEnd_: Int64; const aContentType: UnicodeString): IJSBlob; function slice: IJSBlob; function slice(aStart: Int64): IJSBlob; function slice(aStart: Int64; aEnd_: Int64): IJSBlob; function stream: IJSReadableStream; function text: IJSPromise; // Promise function arrayBuffer: IJSPromise; // Promise property size: QWord read _Getsize; property type_: UnicodeString read _Gettype_; end; TJSBlob = class(TJSObject,IJSBlob) Private Protected function _Getsize: QWord; function _Gettype_: UnicodeString; Public constructor Create(const aBlobParts: TBlobPartDynArray; const aOptions: IJSBlobPropertyBag); overload; constructor Create; overload; constructor Create(const aBlobParts: TBlobPartDynArray); overload; function slice(aStart: Int64; aEnd_: Int64; const aContentType: UnicodeString): IJSBlob; overload; function slice: IJSBlob; overload; function slice(aStart: Int64): IJSBlob; overload; function slice(aStart: Int64; aEnd_: Int64): IJSBlob; overload; function stream: IJSReadableStream; overload; function text: IJSPromise; overload; // Promise function arrayBuffer: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBlob; property size: QWord read _Getsize; property type_: UnicodeString read _Gettype_; end; { -------------------------------------------------------------------- TJSCache --------------------------------------------------------------------} TRequestInfoDynArray = IJSArray; // array of RequestInfo IJSCache = interface(IJSObject) ['{971E41E6-0B81-3959-B8C9-68B3F5D74C2F}'] function match(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function match(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function match(const aRequest: UTF8String): IJSPromise; // Promise function match(aRequest: IJSRequest): IJSPromise; // Promise function matchAll(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function matchAll: IJSPromise; // Promise function matchAll(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function matchAll(const aRequest: UTF8String): IJSPromise; // Promise function matchAll(aRequest: IJSRequest): IJSPromise; // Promise function add(aRequest: IJSRequest): IJSPromise; // Promise function add(const aRequest: UTF8String): IJSPromise; // Promise function addAll(const aRequests: TRequestInfoDynArray): IJSPromise; // Promise function put(aRequest: IJSRequest; aResponse: IJSResponse): IJSPromise; // Promise function put(const aRequest: UTF8String; aResponse: IJSResponse): IJSPromise; // Promise function delete(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function delete(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function delete(const aRequest: UTF8String): IJSPromise; // Promise function delete(aRequest: IJSRequest): IJSPromise; // Promise function keys(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function keys: IJSPromise; // Promise function keys(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise function keys(const aRequest: UTF8String): IJSPromise; // Promise function keys(aRequest: IJSRequest): IJSPromise; // Promise end; TJSCache = class(TJSObject,IJSCache) Private Protected Public function match(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function match(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function match(const aRequest: UTF8String): IJSPromise; overload; // Promise function match(aRequest: IJSRequest): IJSPromise; overload; // Promise function matchAll(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function matchAll: IJSPromise; overload; // Promise function matchAll(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function matchAll(const aRequest: UTF8String): IJSPromise; overload; // Promise function matchAll(aRequest: IJSRequest): IJSPromise; overload; // Promise function add(aRequest: IJSRequest): IJSPromise; overload; // Promise function add(const aRequest: UTF8String): IJSPromise; overload; // Promise function addAll(const aRequests: TRequestInfoDynArray): IJSPromise; overload; // Promise function put(aRequest: IJSRequest; aResponse: IJSResponse): IJSPromise; overload; // Promise function put(const aRequest: UTF8String; aResponse: IJSResponse): IJSPromise; overload; // Promise function delete(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function delete(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function delete(const aRequest: UTF8String): IJSPromise; overload; // Promise function delete(aRequest: IJSRequest): IJSPromise; overload; // Promise function keys(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function keys: IJSPromise; overload; // Promise function keys(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; overload; // Promise function keys(const aRequest: UTF8String): IJSPromise; overload; // Promise function keys(aRequest: IJSRequest): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCache; end; { -------------------------------------------------------------------- TJSPrincipal --------------------------------------------------------------------} IJSPrincipal = interface(IJSObject) ['{33824E56-58B9-38D0-B869-8DD15390C552}'] end; TJSPrincipal = class(TJSObject,IJSPrincipal) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPrincipal; end; { -------------------------------------------------------------------- TJSCacheStorage --------------------------------------------------------------------} IJSCacheStorage = interface(IJSObject) ['{C9409E48-BE6A-391E-97DF-419AB48ACA40}'] function match(aRequest: IJSRequest; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; // Promise function match(const aRequest: UTF8String; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; // Promise function match(const aRequest: UTF8String): IJSPromise; // Promise function match(aRequest: IJSRequest): IJSPromise; // Promise function has(const aCacheName: UnicodeString): IJSPromise; // Promise function open(const aCacheName: UnicodeString): IJSPromise; // Promise function delete(const aCacheName: UnicodeString): IJSPromise; // Promise function keys: IJSPromise; // Promise end; TJSCacheStorage = class(TJSObject,IJSCacheStorage) Private Protected Public function match(aRequest: IJSRequest; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; overload; // Promise function match(const aRequest: UTF8String; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; overload; // Promise function match(const aRequest: UTF8String): IJSPromise; overload; // Promise function match(aRequest: IJSRequest): IJSPromise; overload; // Promise function has(const aCacheName: UnicodeString): IJSPromise; overload; // Promise function open(const aCacheName: UnicodeString): IJSPromise; overload; // Promise function delete(const aCacheName: UnicodeString): IJSPromise; overload; // Promise function keys: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCacheStorage; end; { -------------------------------------------------------------------- TJSCanvasRenderingContext2D --------------------------------------------------------------------} // Union of unrestricted double, DOMPointInit, sequence TCanvasPathMethods_roundRect_radii_Type = Variant; TunionDynArray = IJSArray; // array of union // Union of UTF8String, CanvasGradient, CanvasPattern TCanvasFillStrokeStyles_strokeStyle_Type = Variant; // Union of UTF8String, CanvasGradient, CanvasPattern TCanvasFillStrokeStyles_fillStyle_Type = Variant; IJSCanvasRenderingContext2D = interface(IJSObject) ['{B60ADF08-7AE4-3C2B-9C44-7120F616992E}'] function _Getcanvas: IJSHTMLCanvasElement; function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; function _GetimageSmoothingEnabled: Boolean; function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; function _Getfilter: UTF8String; function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); procedure _SetimageSmoothingEnabled(const aValue: Boolean); procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); procedure _Setfilter(const aValue: UTF8String); procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); function getContextAttributes: IJSCanvasRenderingContext2DSettings; procedure drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String; aFlags: Cardinal); procedure drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String); procedure save; procedure restore; procedure reset; function isContextLost: Boolean; procedure scale(aX: Double; aY: Double); procedure rotate(aAngle: Double); procedure translate(aX: Double; aY: Double); procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); function getTransform: IJSDOMMatrix; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); procedure setTransform(const aTransform: IJSDOMMatrix2DInit); procedure setTransform; procedure resetTransform; function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure beginPath; procedure fill(aWinding: TCanvasWindingRule); procedure fill; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure fill(aPath: IJSPath2D); procedure stroke; procedure stroke(aPath: IJSPath2D); procedure clip(aWinding: TCanvasWindingRule); procedure clip; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure clip(aPath: IJSPath2D); function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aX: Double; aY: Double): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; function isPointInStroke(aX: Double; aY: Double): Boolean; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; procedure drawFocusIfNeeded(aElement: IJSElement); procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); function measureText(const aText: UnicodeString): IJSTextMetrics; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; function createImageData(aImagedata: IJSImageData): IJSImageData; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); procedure setLineDash(const aSegments: TDoubleDynArray); function getLineDash: TDoubleDynArray; procedure closePath; procedure moveTo(aX: Double; aY: Double); procedure lineTo(aX: Double; aY: Double); procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); property canvas: IJSHTMLCanvasElement read _Getcanvas; property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; property filter: UTF8String read _Getfilter write _Setfilter; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; TJSCanvasRenderingContext2D = class(TJSObject,IJSCanvasRenderingContext2D) Private Protected function _Getcanvas: IJSHTMLCanvasElement; function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; function _GetimageSmoothingEnabled: Boolean; function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; function _Getfilter: UTF8String; function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); procedure _SetimageSmoothingEnabled(const aValue: Boolean); procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); procedure _Setfilter(const aValue: UTF8String); procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); Public Const DRAWWINDOW_DRAW_CARET = $01; DRAWWINDOW_DO_NOT_FLUSH = $02; DRAWWINDOW_DRAW_VIEW = $04; DRAWWINDOW_USE_WIDGET_LAYERS = $08; DRAWWINDOW_ASYNC_DECODE_IMAGES = $10; Public function getContextAttributes: IJSCanvasRenderingContext2DSettings; overload; procedure drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String; aFlags: Cardinal); overload; procedure drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String); overload; procedure save; overload; procedure restore; overload; procedure reset; overload; function isContextLost: Boolean; overload; procedure scale(aX: Double; aY: Double); overload; procedure rotate(aAngle: Double); overload; procedure translate(aX: Double; aY: Double); overload; procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; function getTransform: IJSDOMMatrix; overload; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; procedure setTransform(const aTransform: IJSDOMMatrix2DInit); overload; procedure setTransform; overload; procedure resetTransform; overload; function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; overload; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; overload; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; overload; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; overload; procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure beginPath; overload; procedure fill(aWinding: TCanvasWindingRule); overload; procedure fill; overload; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure fill(aPath: IJSPath2D); overload; procedure stroke; overload; procedure stroke(aPath: IJSPath2D); overload; procedure clip(aWinding: TCanvasWindingRule); overload; procedure clip; overload; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure clip(aPath: IJSPath2D); overload; function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aX: Double; aY: Double): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; procedure drawFocusIfNeeded(aElement: IJSElement); overload; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); overload; function measureText(const aText: UnicodeString): IJSTextMetrics; overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; overload; function createImageData(aImagedata: IJSImageData): IJSImageData; overload; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); overload; procedure setLineDash(const aSegments: TDoubleDynArray); overload; function getLineDash: TDoubleDynArray; overload; procedure closePath; overload; procedure moveTo(aX: Double; aY: Double); overload; procedure lineTo(aX: Double; aY: Double); overload; procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); overload; procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); overload; procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); overload; procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasRenderingContext2D; property canvas: IJSHTMLCanvasElement read _Getcanvas; property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; property filter: UTF8String read _Getfilter write _Setfilter; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; { -------------------------------------------------------------------- TJSCanvasState --------------------------------------------------------------------} IJSCanvasState = interface(IJSObject) ['{44B4C9CD-E90B-3D6F-AB84-1FA1B5C89CDF}'] procedure save; procedure restore; procedure reset; function isContextLost: Boolean; end; TJSCanvasState = class(TJSObject,IJSCanvasState) Private Protected Public procedure save; overload; procedure restore; overload; procedure reset; overload; function isContextLost: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasState; end; { -------------------------------------------------------------------- TJSCanvasTransform --------------------------------------------------------------------} IJSCanvasTransform = interface(IJSObject) ['{3835CD5C-EBB1-359D-B3CD-C949F2E3C78B}'] procedure scale(aX: Double; aY: Double); procedure rotate(aAngle: Double); procedure translate(aX: Double; aY: Double); procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); function getTransform: IJSDOMMatrix; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); procedure setTransform(const aTransform: IJSDOMMatrix2DInit); procedure setTransform; procedure resetTransform; end; TJSCanvasTransform = class(TJSObject,IJSCanvasTransform) Private Protected Public procedure scale(aX: Double; aY: Double); overload; procedure rotate(aAngle: Double); overload; procedure translate(aX: Double; aY: Double); overload; procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; function getTransform: IJSDOMMatrix; overload; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; procedure setTransform(const aTransform: IJSDOMMatrix2DInit); overload; procedure setTransform; overload; procedure resetTransform; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasTransform; end; { -------------------------------------------------------------------- TJSCanvasCompositing --------------------------------------------------------------------} IJSCanvasCompositing = interface(IJSObject) ['{E9B62969-42F6-34C3-BE24-DD963E8116FF}'] function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; end; TJSCanvasCompositing = class(TJSObject,IJSCanvasCompositing) Private Protected function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasCompositing; property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; end; { -------------------------------------------------------------------- TJSCanvasImageSmoothing --------------------------------------------------------------------} IJSCanvasImageSmoothing = interface(IJSObject) ['{D51D1181-18FD-3903-AE57-650C0C83353F}'] function _GetimageSmoothingEnabled: Boolean; procedure _SetimageSmoothingEnabled(const aValue: Boolean); property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; end; TJSCanvasImageSmoothing = class(TJSObject,IJSCanvasImageSmoothing) Private Protected function _GetimageSmoothingEnabled: Boolean; procedure _SetimageSmoothingEnabled(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasImageSmoothing; property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; end; { -------------------------------------------------------------------- TJSCanvasFillStrokeStyles --------------------------------------------------------------------} IJSCanvasFillStrokeStyles = interface(IJSObject) ['{74D11FF1-F685-344C-A016-24871E1C41E5}'] function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; end; TJSCanvasFillStrokeStyles = class(TJSObject,IJSCanvasFillStrokeStyles) Private Protected function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); Public function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; overload; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; overload; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; overload; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasFillStrokeStyles; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; end; { -------------------------------------------------------------------- TJSCanvasShadowStyles --------------------------------------------------------------------} IJSCanvasShadowStyles = interface(IJSObject) ['{87949896-2BE9-3393-8841-BC2516A33B96}'] function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; end; TJSCanvasShadowStyles = class(TJSObject,IJSCanvasShadowStyles) Private Protected function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasShadowStyles; property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; end; { -------------------------------------------------------------------- TJSCanvasFilters --------------------------------------------------------------------} IJSCanvasFilters = interface(IJSObject) ['{10EC3663-7203-3A4F-AE2C-68806A56CFD7}'] function _Getfilter: UTF8String; procedure _Setfilter(const aValue: UTF8String); property filter: UTF8String read _Getfilter write _Setfilter; end; TJSCanvasFilters = class(TJSObject,IJSCanvasFilters) Private Protected function _Getfilter: UTF8String; procedure _Setfilter(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasFilters; property filter: UTF8String read _Getfilter write _Setfilter; end; { -------------------------------------------------------------------- TJSCanvasRect --------------------------------------------------------------------} IJSCanvasRect = interface(IJSObject) ['{D993FC6D-11AE-3E18-93A8-8CC1A450CD51}'] procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); end; TJSCanvasRect = class(TJSObject,IJSCanvasRect) Private Protected Public procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasRect; end; { -------------------------------------------------------------------- TJSCanvasDrawPath --------------------------------------------------------------------} IJSCanvasDrawPath = interface(IJSObject) ['{DD820417-E91C-3D22-9318-6FAFA454C1E9}'] procedure beginPath; procedure fill(aWinding: TCanvasWindingRule); procedure fill; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure fill(aPath: IJSPath2D); procedure stroke; procedure stroke(aPath: IJSPath2D); procedure clip(aWinding: TCanvasWindingRule); procedure clip; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure clip(aPath: IJSPath2D); function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aX: Double; aY: Double): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; function isPointInStroke(aX: Double; aY: Double): Boolean; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; end; TJSCanvasDrawPath = class(TJSObject,IJSCanvasDrawPath) Private Protected Public procedure beginPath; overload; procedure fill(aWinding: TCanvasWindingRule); overload; procedure fill; overload; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure fill(aPath: IJSPath2D); overload; procedure stroke; overload; procedure stroke(aPath: IJSPath2D); overload; procedure clip(aWinding: TCanvasWindingRule); overload; procedure clip; overload; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure clip(aPath: IJSPath2D); overload; function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aX: Double; aY: Double): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasDrawPath; end; { -------------------------------------------------------------------- TJSCanvasUserInterface --------------------------------------------------------------------} IJSCanvasUserInterface = interface(IJSObject) ['{15B7C8C8-74C4-3EE3-B39D-51A676FCE54C}'] procedure drawFocusIfNeeded(aElement: IJSElement); end; TJSCanvasUserInterface = class(TJSObject,IJSCanvasUserInterface) Private Protected Public procedure drawFocusIfNeeded(aElement: IJSElement); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasUserInterface; end; { -------------------------------------------------------------------- TJSCanvasText --------------------------------------------------------------------} IJSCanvasText = interface(IJSObject) ['{79910DCD-C1C2-3DC2-AD0C-CBFA5F91C360}'] procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); function measureText(const aText: UnicodeString): IJSTextMetrics; end; TJSCanvasText = class(TJSObject,IJSCanvasText) Private Protected Public procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); overload; function measureText(const aText: UnicodeString): IJSTextMetrics; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasText; end; { -------------------------------------------------------------------- TJSCanvasDrawImage --------------------------------------------------------------------} IJSCanvasDrawImage = interface(IJSObject) ['{12091A59-A651-39D0-AD87-760DB8DAB458}'] procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); end; TJSCanvasDrawImage = class(TJSObject,IJSCanvasDrawImage) Private Protected Public procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasDrawImage; end; { -------------------------------------------------------------------- TJSCanvasImageData --------------------------------------------------------------------} IJSCanvasImageData = interface(IJSObject) ['{5C778578-3067-3A14-961A-6A4E9A2B32D5}'] function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; function createImageData(aImagedata: IJSImageData): IJSImageData; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); end; TJSCanvasImageData = class(TJSObject,IJSCanvasImageData) Private Protected Public function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; overload; function createImageData(aImagedata: IJSImageData): IJSImageData; overload; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasImageData; end; { -------------------------------------------------------------------- TJSCanvasPathDrawingStyles --------------------------------------------------------------------} IJSCanvasPathDrawingStyles = interface(IJSObject) ['{FA4E1F69-1B59-31AE-B8D2-19E95E0FE50A}'] function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); procedure setLineDash(const aSegments: TDoubleDynArray); function getLineDash: TDoubleDynArray; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; end; TJSCanvasPathDrawingStyles = class(TJSObject,IJSCanvasPathDrawingStyles) Private Protected function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); Public procedure setLineDash(const aSegments: TDoubleDynArray); overload; function getLineDash: TDoubleDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasPathDrawingStyles; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; end; { -------------------------------------------------------------------- TJSCanvasTextDrawingStyles --------------------------------------------------------------------} IJSCanvasTextDrawingStyles = interface(IJSObject) ['{33DDE17F-9120-3E3A-B35C-A5D4C094CAD2}'] function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; TJSCanvasTextDrawingStyles = class(TJSObject,IJSCanvasTextDrawingStyles) Private Protected function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasTextDrawingStyles; property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; { -------------------------------------------------------------------- TJSCanvasPathMethods --------------------------------------------------------------------} IJSCanvasPathMethods = interface(IJSObject) ['{D46DD69E-18FC-354F-B5EF-9943EA942FF7}'] procedure closePath; procedure moveTo(aX: Double; aY: Double); procedure lineTo(aX: Double; aY: Double); procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); end; TJSCanvasPathMethods = class(TJSObject,IJSCanvasPathMethods) Private Protected Public procedure closePath; overload; procedure moveTo(aX: Double; aY: Double); overload; procedure lineTo(aX: Double; aY: Double); overload; procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); overload; procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); overload; procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); overload; procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasPathMethods; end; { -------------------------------------------------------------------- TJSCanvasGradient --------------------------------------------------------------------} IJSCanvasGradient = interface(IJSObject) ['{1ACC89B0-CD34-3C5D-9979-70EE4E927AD6}'] procedure addColorStop(aOffset: Single; const aColor: UTF8String); end; TJSCanvasGradient = class(TJSObject,IJSCanvasGradient) Private Protected Public procedure addColorStop(aOffset: Single; const aColor: UTF8String); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasGradient; end; { -------------------------------------------------------------------- TJSCanvasPattern --------------------------------------------------------------------} IJSCanvasPattern = interface(IJSObject) ['{BD0E8DD9-B207-3ACF-AE2A-A0F09B6AC3AD}'] procedure setTransform(const aMatrix: IJSDOMMatrix2DInit); procedure setTransform; end; TJSCanvasPattern = class(TJSObject,IJSCanvasPattern) Private Protected Public procedure setTransform(const aMatrix: IJSDOMMatrix2DInit); overload; procedure setTransform; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasPattern; end; { -------------------------------------------------------------------- TJSTextMetrics --------------------------------------------------------------------} IJSTextMetrics = interface(IJSObject) ['{E485774C-B8B2-31CC-9D95-D32C147C040C}'] function _Getwidth: Double; function _GetactualBoundingBoxLeft: Double; function _GetactualBoundingBoxRight: Double; function _GetfontBoundingBoxAscent: Double; function _GetfontBoundingBoxDescent: Double; function _GetactualBoundingBoxAscent: Double; function _GetactualBoundingBoxDescent: Double; function _GetemHeightAscent: Double; function _GetemHeightDescent: Double; function _GethangingBaseline: Double; function _GetalphabeticBaseline: Double; function _GetideographicBaseline: Double; property width: Double read _Getwidth; property actualBoundingBoxLeft: Double read _GetactualBoundingBoxLeft; property actualBoundingBoxRight: Double read _GetactualBoundingBoxRight; property fontBoundingBoxAscent: Double read _GetfontBoundingBoxAscent; property fontBoundingBoxDescent: Double read _GetfontBoundingBoxDescent; property actualBoundingBoxAscent: Double read _GetactualBoundingBoxAscent; property actualBoundingBoxDescent: Double read _GetactualBoundingBoxDescent; property emHeightAscent: Double read _GetemHeightAscent; property emHeightDescent: Double read _GetemHeightDescent; property hangingBaseline: Double read _GethangingBaseline; property alphabeticBaseline: Double read _GetalphabeticBaseline; property ideographicBaseline: Double read _GetideographicBaseline; end; TJSTextMetrics = class(TJSObject,IJSTextMetrics) Private Protected function _Getwidth: Double; function _GetactualBoundingBoxLeft: Double; function _GetactualBoundingBoxRight: Double; function _GetfontBoundingBoxAscent: Double; function _GetfontBoundingBoxDescent: Double; function _GetactualBoundingBoxAscent: Double; function _GetactualBoundingBoxDescent: Double; function _GetemHeightAscent: Double; function _GetemHeightDescent: Double; function _GethangingBaseline: Double; function _GetalphabeticBaseline: Double; function _GetideographicBaseline: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextMetrics; property width: Double read _Getwidth; property actualBoundingBoxLeft: Double read _GetactualBoundingBoxLeft; property actualBoundingBoxRight: Double read _GetactualBoundingBoxRight; property fontBoundingBoxAscent: Double read _GetfontBoundingBoxAscent; property fontBoundingBoxDescent: Double read _GetfontBoundingBoxDescent; property actualBoundingBoxAscent: Double read _GetactualBoundingBoxAscent; property actualBoundingBoxDescent: Double read _GetactualBoundingBoxDescent; property emHeightAscent: Double read _GetemHeightAscent; property emHeightDescent: Double read _GetemHeightDescent; property hangingBaseline: Double read _GethangingBaseline; property alphabeticBaseline: Double read _GetalphabeticBaseline; property ideographicBaseline: Double read _GetideographicBaseline; end; { -------------------------------------------------------------------- TJSCaretPosition --------------------------------------------------------------------} IJSCaretPosition = interface(IJSObject) ['{0D17C1D4-341A-32BE-BADC-B3FC70F5F0EA}'] function _GetoffsetNode: IJSNode; function _Getoffset: Cardinal; function getClientRect: IJSDOMRect; property offsetNode: IJSNode read _GetoffsetNode; property offset: Cardinal read _Getoffset; end; TJSCaretPosition = class(TJSObject,IJSCaretPosition) Private Protected function _GetoffsetNode: IJSNode; function _Getoffset: Cardinal; Public function getClientRect: IJSDOMRect; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCaretPosition; property offsetNode: IJSNode read _GetoffsetNode; property offset: Cardinal read _Getoffset; end; { -------------------------------------------------------------------- TJSCheckerboardReportService --------------------------------------------------------------------} TJSCheckerboardReportDynArray = IJSArray; // array of CheckerboardReport IJSCheckerboardReportService = interface(IJSObject) ['{AF44FB64-FD56-37B8-97B7-F948792EF62B}'] function getReports: TJSCheckerboardReportDynArray; function isRecordingEnabled: Boolean; procedure setRecordingEnabled(aAEnabled: Boolean); procedure flushActiveReports; end; TJSCheckerboardReportService = class(TJSObject,IJSCheckerboardReportService) Private Protected Public constructor Create; overload; function getReports: TJSCheckerboardReportDynArray; overload; function isRecordingEnabled: Boolean; overload; procedure setRecordingEnabled(aAEnabled: Boolean); overload; procedure flushActiveReports; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCheckerboardReportService; end; { -------------------------------------------------------------------- TJSChildNode --------------------------------------------------------------------} // Union of Node, DOMString TChildNode_before_nodes_Type = Variant; // Union of Node, DOMString TChildNode_after_nodes_Type = Variant; // Union of Node, DOMString TChildNode_replaceWith_nodes_Type = Variant; IJSChildNode = interface(IJSObject) ['{BACC9ED2-6A16-35B6-BEDC-EB2379E2F83C}'] procedure before(const aNodes: UnicodeString){; ToDo:varargs}; procedure before(aNodes: IJSNode){; ToDo:varargs}; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; procedure after(aNodes: IJSNode){; ToDo:varargs}; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; procedure remove; end; TJSChildNode = class(TJSObject,IJSChildNode) Private Protected Public procedure before(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure before(aNodes: IJSNode){; ToDo:varargs}; overload; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure after(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; overload; procedure remove; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChildNode; end; { -------------------------------------------------------------------- TJSNonDocumentTypeChildNode --------------------------------------------------------------------} IJSNonDocumentTypeChildNode = interface(IJSObject) ['{FF1E525E-40C5-3DEC-A33A-65591891AC23}'] function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; end; TJSNonDocumentTypeChildNode = class(TJSObject,IJSNonDocumentTypeChildNode) Private Protected function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNonDocumentTypeChildNode; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; end; { -------------------------------------------------------------------- TJSClient --------------------------------------------------------------------} IJSClient = interface(IJSObject) ['{29C2396F-D664-389C-9D17-213F36D3DAC2}'] function _Geturl: UnicodeString; function _GetframeType: TFrameType; function _Gettype_: TClientType; function _Getid: UnicodeString; procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); procedure postMessage(const aMessage: Variant); property url: UnicodeString read _Geturl; property frameType: TFrameType read _GetframeType; property type_: TClientType read _Gettype_; property id: UnicodeString read _Getid; end; TJSClient = class(TJSObject,IJSClient) Private Protected function _Geturl: UnicodeString; function _GetframeType: TFrameType; function _Gettype_: TClientType; function _Getid: UnicodeString; Public procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); overload; procedure postMessage(const aMessage: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClient; property url: UnicodeString read _Geturl; property frameType: TFrameType read _GetframeType; property type_: TClientType read _Gettype_; property id: UnicodeString read _Getid; end; { -------------------------------------------------------------------- TJSClients --------------------------------------------------------------------} IJSClients = interface(IJSObject) ['{B43C57C7-95E1-37C8-BEAE-D5A801AD7BEE}'] function get(const aId: UnicodeString): IJSPromise; // Promise function matchAll(const aOptions: IJSClientQueryOptions): IJSPromise; // Promise function matchAll: IJSPromise; // Promise function openWindow(const aUrl: UnicodeString): IJSPromise; // Promise function claim: IJSPromise; // Promise end; TJSClients = class(TJSObject,IJSClients) Private Protected Public function get(const aId: UnicodeString): IJSPromise; overload; // Promise function matchAll(const aOptions: IJSClientQueryOptions): IJSPromise; overload; // Promise function matchAll: IJSPromise; overload; // Promise function openWindow(const aUrl: UnicodeString): IJSPromise; overload; // Promise function claim: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClients; end; { -------------------------------------------------------------------- TJSClipboardItem --------------------------------------------------------------------} IJSClipboardItem = interface(IJSObject) ['{68F09C98-814C-3DC5-A668-B93E8E1B38B9}'] function _GetpresentationStyle: TPresentationStyle; function _Gettypes: TUnicodeStringDynArray; function getType(const aType_: UnicodeString): IJSPromise; // Promise property presentationStyle: TPresentationStyle read _GetpresentationStyle; property types: TUnicodeStringDynArray read _Gettypes; end; TJSClipboardItem = class(TJSObject,IJSClipboardItem) Private Protected function _GetpresentationStyle: TPresentationStyle; function _Gettypes: TUnicodeStringDynArray; Public constructor Create(aItems: IJSObject; const aOptions: IJSClipboardItemOptions); overload; constructor Create(aItems: IJSObject); overload; function getType(const aType_: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClipboardItem; property presentationStyle: TPresentationStyle read _GetpresentationStyle; property types: TUnicodeStringDynArray read _Gettypes; end; { -------------------------------------------------------------------- TJSCredential --------------------------------------------------------------------} IJSCredential = interface(IJSObject) ['{6D3F0B7D-85A2-3391-83A5-4EF8E74D0C52}'] function _Getid: UnicodeString; function _Gettype_: UnicodeString; property id: UnicodeString read _Getid; property type_: UnicodeString read _Gettype_; end; TJSCredential = class(TJSObject,IJSCredential) Private Protected function _Getid: UnicodeString; function _Gettype_: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCredential; property id: UnicodeString read _Getid; property type_: UnicodeString read _Gettype_; end; { -------------------------------------------------------------------- TJSCredentialsContainer --------------------------------------------------------------------} IJSCredentialsContainer = interface(IJSObject) ['{CFD0AE35-B553-3F1E-90A7-A3D4A56F21C9}'] function get(const aOptions: IJSCredentialRequestOptions): IJSPromise; // Promise function get: IJSPromise; // Promise function create_(const aOptions: IJSCredentialCreationOptions): IJSPromise; // Promise function create_: IJSPromise; // Promise function store(aCredential: IJSCredential): IJSPromise; // Promise function preventSilentAccess: IJSPromise; // Promise end; TJSCredentialsContainer = class(TJSObject,IJSCredentialsContainer) Private Protected Public function get(const aOptions: IJSCredentialRequestOptions): IJSPromise; overload; // Promise function get: IJSPromise; overload; // Promise function create_(const aOptions: IJSCredentialCreationOptions): IJSPromise; overload; // Promise function create_: IJSPromise; overload; // Promise function store(aCredential: IJSCredential): IJSPromise; overload; // Promise function preventSilentAccess: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCredentialsContainer; end; { -------------------------------------------------------------------- TJSGlobalCrypto --------------------------------------------------------------------} IJSGlobalCrypto = interface(IJSObject) ['{5E4F5977-CBC0-3572-8935-6912DD255449}'] function _Getcrypto: IJSCrypto; property crypto: IJSCrypto read _Getcrypto; end; TJSGlobalCrypto = class(TJSObject,IJSGlobalCrypto) Private Protected function _Getcrypto: IJSCrypto; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGlobalCrypto; property crypto: IJSCrypto read _Getcrypto; end; { -------------------------------------------------------------------- TJSCrypto --------------------------------------------------------------------} IJSCrypto = interface(IJSObject) ['{7A89D159-B5AA-318A-8FEE-123854A7DAF2}'] function _Getsubtle: IJSSubtleCrypto; function getRandomValues(aArray_: IJSArrayBufferView): IJSArrayBufferView; function randomUUID: UTF8String; property subtle: IJSSubtleCrypto read _Getsubtle; end; TJSCrypto = class(TJSObject,IJSCrypto) Private Protected function _Getsubtle: IJSSubtleCrypto; Public function getRandomValues(aArray_: IJSArrayBufferView): IJSArrayBufferView; overload; function randomUUID: UTF8String; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCrypto; property subtle: IJSSubtleCrypto read _Getsubtle; end; { -------------------------------------------------------------------- TJSCSSPseudoElement --------------------------------------------------------------------} IJSCSSPseudoElement = interface(IJSObject) ['{47F77FE2-3869-312B-A05A-D7BA03A49225}'] function _Gettype_: UnicodeString; function _Getelement: IJSElement; property type_: UnicodeString read _Gettype_; property element: IJSElement read _Getelement; end; TJSCSSPseudoElement = class(TJSObject,IJSCSSPseudoElement) Private Protected function _Gettype_: UnicodeString; function _Getelement: IJSElement; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSPseudoElement; property type_: UnicodeString read _Gettype_; property element: IJSElement read _Getelement; end; { -------------------------------------------------------------------- TJSCSSRule --------------------------------------------------------------------} IJSCSSRule = interface(IJSObject) ['{F4CA6F6B-E68F-3FAC-9790-5AE68DFB3358}'] function _Gettype_: Word; function _GetcssText: UTF8String; function _GetparentRule: IJSCSSRule; function _GetparentStyleSheet: IJSCSSStyleSheet; procedure _SetcssText(const aValue: UTF8String); property type_: Word read _Gettype_; property cssText: UTF8String read _GetcssText write _SetcssText; property parentRule: IJSCSSRule read _GetparentRule; property parentStyleSheet: IJSCSSStyleSheet read _GetparentStyleSheet; end; TJSCSSRule = class(TJSObject,IJSCSSRule) Private Protected function _Gettype_: Word; function _GetcssText: UTF8String; function _GetparentRule: IJSCSSRule; function _GetparentStyleSheet: IJSCSSStyleSheet; procedure _SetcssText(const aValue: UTF8String); Public Const STYLE_RULE = 1; CHARSET_RULE = 2; IMPORT_RULE = 3; MEDIA_RULE = 4; FONT_FACE_RULE = 5; PAGE_RULE = 6; NAMESPACE_RULE = 10; KEYFRAMES_RULE = 7; KEYFRAME_RULE = 8; COUNTER_STYLE_RULE = 11; SUPPORTS_RULE = 12; FONT_FEATURE_VALUES_RULE = 14; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSRule; property type_: Word read _Gettype_; property cssText: UTF8String read _GetcssText write _SetcssText; property parentRule: IJSCSSRule read _GetparentRule; property parentStyleSheet: IJSCSSStyleSheet read _GetparentStyleSheet; end; { -------------------------------------------------------------------- TJSCSSRuleList --------------------------------------------------------------------} IJSCSSRuleList = interface(IJSObject) ['{75B836A1-28BD-3D25-BDF6-3619147BDBAD}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSCSSRule; property length_: Cardinal read _Getlength_; end; TJSCSSRuleList = class(TJSObject,IJSCSSRuleList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSCSSRule; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSRuleList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSCSSStyleDeclaration --------------------------------------------------------------------} IJSCSSStyleDeclaration = interface(IJSObject) ['{D48B40C4-4295-3104-8EB0-F063D392F5C3}'] function _GetcssText: UTF8String; function _Getlength_: Cardinal; function _GetparentRule: IJSCSSRule; procedure _SetcssText(const aValue: UTF8String); function item(aIndex: Cardinal): UTF8String; function getPropertyValue(const aProperty_: UTF8String): UTF8String; function getPropertyPriority(const aProperty_: UTF8String): UTF8String; procedure setProperty(const aProperty_: UTF8String; const aValue: UTF8String; const aPriority: UTF8String); procedure setProperty(const aProperty_: UTF8String; const aValue: UTF8String); function removeProperty(const aProperty_: UTF8String): UTF8String; property cssText: UTF8String read _GetcssText write _SetcssText; property length_: Cardinal read _Getlength_; property parentRule: IJSCSSRule read _GetparentRule; end; TJSCSSStyleDeclaration = class(TJSObject,IJSCSSStyleDeclaration) Private Protected function _GetcssText: UTF8String; function _Getlength_: Cardinal; function _GetparentRule: IJSCSSRule; procedure _SetcssText(const aValue: UTF8String); Public function item(aIndex: Cardinal): UTF8String; overload; function getPropertyValue(const aProperty_: UTF8String): UTF8String; overload; function getPropertyPriority(const aProperty_: UTF8String): UTF8String; overload; procedure setProperty(const aProperty_: UTF8String; const aValue: UTF8String; const aPriority: UTF8String); overload; procedure setProperty(const aProperty_: UTF8String; const aValue: UTF8String); overload; function removeProperty(const aProperty_: UTF8String): UTF8String; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSStyleDeclaration; property cssText: UTF8String read _GetcssText write _SetcssText; property length_: Cardinal read _Getlength_; property parentRule: IJSCSSRule read _GetparentRule; end; { -------------------------------------------------------------------- TJSCustomElementRegistry --------------------------------------------------------------------} // Union of CustomElementConstructor, undefined TCustomElementRegistry_get_Type = Variant; IJSCustomElementRegistry = interface(IJSObject) ['{4460735D-4E48-37FC-A213-2FAD7CCD9500}'] procedure define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor; const aOptions: IJSElementDefinitionOptions); procedure define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor); function get(const aName: UnicodeString): TCustomElementRegistry_get_Type; function getName(const aConstructor_: TCustomElementConstructor): UnicodeString; function whenDefined(const aName: UnicodeString): IJSPromise; // Promise procedure upgrade(aRoot: IJSNode); end; TJSCustomElementRegistry = class(TJSObject,IJSCustomElementRegistry) Private Protected Public procedure define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor; const aOptions: IJSElementDefinitionOptions); overload; procedure define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor); overload; function get(const aName: UnicodeString): TCustomElementRegistry_get_Type; overload; function getName(const aConstructor_: TCustomElementConstructor): UnicodeString; overload; function whenDefined(const aName: UnicodeString): IJSPromise; overload; // Promise procedure upgrade(aRoot: IJSNode); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCustomElementRegistry; end; { -------------------------------------------------------------------- TJSContentSecurityPolicy --------------------------------------------------------------------} IJSContentSecurityPolicy = interface(IJSObject) ['{E0F14358-2D99-30AE-B53A-19677BFCD90F}'] end; TJSContentSecurityPolicy = class(TJSObject,IJSContentSecurityPolicy) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSContentSecurityPolicy; end; { -------------------------------------------------------------------- TJSDataTransfer --------------------------------------------------------------------} IJSDataTransfer = interface(IJSObject) ['{37808D5E-9660-3EB0-AF23-71340E0ED36E}'] function _GetdropEffect: UnicodeString; function _GeteffectAllowed: UnicodeString; function _Getitems: IJSDataTransferItemList; function _Gettypes: TUnicodeStringDynArray; function _Getfiles: IJSFileList; function _GetmozCursor: UnicodeString; function _GetmozUserCancelled: Boolean; function _GetmozSourceNode: IJSNode; procedure _SetdropEffect(const aValue: UnicodeString); procedure _SeteffectAllowed(const aValue: UnicodeString); procedure _SetmozCursor(const aValue: UnicodeString); procedure setDragImage(aImage: IJSElement; aX: LongInt; aY: LongInt); function getData(const aFormat: UnicodeString): UnicodeString; procedure setData(const aFormat: UnicodeString; const aData: UnicodeString); procedure clearData(const aFormat: UnicodeString); procedure clearData; procedure addElement(aElement: IJSElement); property dropEffect: UnicodeString read _GetdropEffect write _SetdropEffect; property effectAllowed: UnicodeString read _GeteffectAllowed write _SeteffectAllowed; property items: IJSDataTransferItemList read _Getitems; property types: TUnicodeStringDynArray read _Gettypes; property files: IJSFileList read _Getfiles; property mozCursor: UnicodeString read _GetmozCursor write _SetmozCursor; property mozUserCancelled: Boolean read _GetmozUserCancelled; property mozSourceNode: IJSNode read _GetmozSourceNode; end; TJSDataTransfer = class(TJSObject,IJSDataTransfer) Private Protected function _GetdropEffect: UnicodeString; function _GeteffectAllowed: UnicodeString; function _Getitems: IJSDataTransferItemList; function _Gettypes: TUnicodeStringDynArray; function _Getfiles: IJSFileList; function _GetmozCursor: UnicodeString; function _GetmozUserCancelled: Boolean; function _GetmozSourceNode: IJSNode; procedure _SetdropEffect(const aValue: UnicodeString); procedure _SeteffectAllowed(const aValue: UnicodeString); procedure _SetmozCursor(const aValue: UnicodeString); Public constructor Create; overload; procedure setDragImage(aImage: IJSElement; aX: LongInt; aY: LongInt); overload; function getData(const aFormat: UnicodeString): UnicodeString; overload; procedure setData(const aFormat: UnicodeString; const aData: UnicodeString); overload; procedure clearData(const aFormat: UnicodeString); overload; procedure clearData; overload; procedure addElement(aElement: IJSElement); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDataTransfer; property dropEffect: UnicodeString read _GetdropEffect write _SetdropEffect; property effectAllowed: UnicodeString read _GeteffectAllowed write _SeteffectAllowed; property items: IJSDataTransferItemList read _Getitems; property types: TUnicodeStringDynArray read _Gettypes; property files: IJSFileList read _Getfiles; property mozCursor: UnicodeString read _GetmozCursor write _SetmozCursor; property mozUserCancelled: Boolean read _GetmozUserCancelled; property mozSourceNode: IJSNode read _GetmozSourceNode; end; { -------------------------------------------------------------------- TJSDataTransferItem --------------------------------------------------------------------} IJSDataTransferItem = interface(IJSObject) ['{6ECE7555-0B66-3823-9763-5FB295630AE4}'] function _Getkind: UnicodeString; function _Gettype_: UnicodeString; procedure getAsString(const aCallback: TFunctionStringCallback); function getAsFile: IJSFile; function webkitGetAsEntry: IJSFileSystemEntry; property kind: UnicodeString read _Getkind; property type_: UnicodeString read _Gettype_; end; TJSDataTransferItem = class(TJSObject,IJSDataTransferItem) Private Protected function _Getkind: UnicodeString; function _Gettype_: UnicodeString; Public procedure getAsString(const aCallback: TFunctionStringCallback); overload; function getAsFile: IJSFile; overload; function webkitGetAsEntry: IJSFileSystemEntry; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDataTransferItem; property kind: UnicodeString read _Getkind; property type_: UnicodeString read _Gettype_; end; { -------------------------------------------------------------------- TJSDataTransferItemList --------------------------------------------------------------------} IJSDataTransferItemList = interface(IJSObject) ['{B04F4754-B7BF-3A23-9B62-A66AD068643C}'] function _Getlength_: Cardinal; function GetDefault(aIndex: Cardinal): IJSDataTransferItem; function add(const aData: UnicodeString; const aType_: UnicodeString): IJSDataTransferItem; function add(aData: IJSFile): IJSDataTransferItem; procedure remove(aIndex: Cardinal); procedure clear; property length_: Cardinal read _Getlength_; end; TJSDataTransferItemList = class(TJSObject,IJSDataTransferItemList) Private Protected function _Getlength_: Cardinal; Public function GetDefault(aIndex: Cardinal): IJSDataTransferItem; overload; function add(const aData: UnicodeString; const aType_: UnicodeString): IJSDataTransferItem; overload; function add(aData: IJSFile): IJSDataTransferItem; overload; procedure remove(aIndex: Cardinal); overload; procedure clear; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDataTransferItemList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSDeviceAcceleration --------------------------------------------------------------------} IJSDeviceAcceleration = interface(IJSObject) ['{1E4C0FD1-9B4F-31F6-84A1-FA94CBC1FC13}'] function _Getx: Double; function _Gety: Double; function _Getz: Double; property x: Double read _Getx; property y: Double read _Gety; property z: Double read _Getz; end; TJSDeviceAcceleration = class(TJSObject,IJSDeviceAcceleration) Private Protected function _Getx: Double; function _Gety: Double; function _Getz: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceAcceleration; property x: Double read _Getx; property y: Double read _Gety; property z: Double read _Getz; end; { -------------------------------------------------------------------- TJSDeviceRotationRate --------------------------------------------------------------------} IJSDeviceRotationRate = interface(IJSObject) ['{38D2432B-5325-3A92-8380-848815B67A56}'] function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; property alpha: Double read _Getalpha; property beta: Double read _Getbeta; property gamma: Double read _Getgamma; end; TJSDeviceRotationRate = class(TJSObject,IJSDeviceRotationRate) Private Protected function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceRotationRate; property alpha: Double read _Getalpha; property beta: Double read _Getbeta; property gamma: Double read _Getgamma; end; { -------------------------------------------------------------------- TJSDirectory --------------------------------------------------------------------} IJSDirectory = interface(IJSObject) ['{01C77A7A-F806-37D0-A561-0B4BD2F64A5C}'] function _Getname: UnicodeString; function _Getpath: UnicodeString; function getFilesAndDirectories: IJSPromise; // Promise function getFiles(aRecursiveFlag: Boolean): IJSPromise; // Promise function getFiles: IJSPromise; // Promise property name: UnicodeString read _Getname; property path: UnicodeString read _Getpath; end; TJSDirectory = class(TJSObject,IJSDirectory) Private Protected function _Getname: UnicodeString; function _Getpath: UnicodeString; Public function getFilesAndDirectories: IJSPromise; overload; // Promise function getFiles(aRecursiveFlag: Boolean): IJSPromise; overload; // Promise function getFiles: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDirectory; property name: UnicodeString read _Getname; property path: UnicodeString read _Getpath; end; { -------------------------------------------------------------------- TJSWindowProxy --------------------------------------------------------------------} IJSWindowProxy = interface(IJSObject) ['{EEE0FA86-59DA-3E5C-A83D-1A2372542131}'] end; TJSWindowProxy = class(TJSObject,IJSWindowProxy) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowProxy; end; { -------------------------------------------------------------------- TJSnsISupports --------------------------------------------------------------------} IJSnsISupports = interface(IJSObject) ['{EEE16FF0-3EAA-398A-903D-1A2372542131}'] end; TJSnsISupports = class(TJSObject,IJSnsISupports) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsISupports; end; { -------------------------------------------------------------------- TJSURI --------------------------------------------------------------------} IJSURI = interface(IJSObject) ['{677FA928-3D1A-3372-9421-3194B5554269}'] end; TJSURI = class(TJSObject,IJSURI) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSURI; end; { -------------------------------------------------------------------- TJSnsIDocShell --------------------------------------------------------------------} IJSnsIDocShell = interface(IJSObject) ['{EEE16FEE-5839-3BB6-B43D-1A2372542131}'] end; TJSnsIDocShell = class(TJSObject,IJSnsIDocShell) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIDocShell; end; { -------------------------------------------------------------------- TJSnsILoadGroup --------------------------------------------------------------------} IJSnsILoadGroup = interface(IJSObject) ['{E6D0CC5C-1971-3F00-A220-F0D81AA2A621}'] end; TJSnsILoadGroup = class(TJSObject,IJSnsILoadGroup) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsILoadGroup; end; { -------------------------------------------------------------------- TJSnsIReferrerInfo --------------------------------------------------------------------} IJSnsIReferrerInfo = interface(IJSObject) ['{AC6D32F7-0AAD-30F2-A5E1-4B03E0B13444}'] end; TJSnsIReferrerInfo = class(TJSObject,IJSnsIReferrerInfo) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIReferrerInfo; end; { -------------------------------------------------------------------- TJSnsICookieJarSettings --------------------------------------------------------------------} IJSnsICookieJarSettings = interface(IJSObject) ['{3346BB52-F01F-3C27-81BD-9658712A80F0}'] end; TJSnsICookieJarSettings = class(TJSObject,IJSnsICookieJarSettings) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsICookieJarSettings; end; { -------------------------------------------------------------------- TJSnsIPermissionDelegateHandler --------------------------------------------------------------------} IJSnsIPermissionDelegateHandler = interface(IJSObject) ['{E64C3B0E-5583-330B-976E-C5C335C10FA8}'] end; TJSnsIPermissionDelegateHandler = class(TJSObject,IJSnsIPermissionDelegateHandler) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIPermissionDelegateHandler; end; { -------------------------------------------------------------------- TJSXULCommandDispatcher --------------------------------------------------------------------} IJSXULCommandDispatcher = interface(IJSObject) ['{33454C5E-F00F-3CC4-8CBE-E8980E2260F0}'] end; TJSXULCommandDispatcher = class(TJSObject,IJSXULCommandDispatcher) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXULCommandDispatcher; end; { -------------------------------------------------------------------- TJSDocumentOrShadowRoot --------------------------------------------------------------------} TJSElementDynArray = IJSArray; // array of Element TJSCSSStyleSheetDynArray = IJSArray; // array of CSSStyleSheet IJSDocumentOrShadowRoot = interface(IJSObject) ['{67400E7D-8AD9-3429-BBA2-725CE9473D68}'] function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); function elementFromPoint(aX: Single; aY: Single): IJSElement; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; function getAnimations: TJSAnimationDynArray; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; TJSDocumentOrShadowRoot = class(TJSObject,IJSDocumentOrShadowRoot) Private Protected function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); Public function elementFromPoint(aX: Single; aY: Single): IJSElement; overload; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; overload; function getAnimations: TJSAnimationDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocumentOrShadowRoot; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; { -------------------------------------------------------------------- TJSStackFrame --------------------------------------------------------------------} IJSStackFrame = interface(IJSObject) ['{F0F4323A-0CF6-3E02-87C0-636E89A48332}'] end; TJSStackFrame = class(TJSObject,IJSStackFrame) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStackFrame; end; { -------------------------------------------------------------------- TJSExceptionMembers --------------------------------------------------------------------} IJSExceptionMembers = interface(IJSObject) ['{B2623B51-6CD8-3AD0-AD66-7B8A6CFFE45F}'] function _Getresult: Cardinal; function _Getfilename: UnicodeString; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; function _Getdata: IJSnsISupports; function _Getstack: UnicodeString; property result: Cardinal read _Getresult; property filename: UnicodeString read _Getfilename; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; property data: IJSnsISupports read _Getdata; property stack: UnicodeString read _Getstack; end; TJSExceptionMembers = class(TJSObject,IJSExceptionMembers) Private Protected function _Getresult: Cardinal; function _Getfilename: UnicodeString; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; function _Getdata: IJSnsISupports; function _Getstack: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExceptionMembers; property result: Cardinal read _Getresult; property filename: UnicodeString read _Getfilename; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; property data: IJSnsISupports read _Getdata; property stack: UnicodeString read _Getstack; end; { -------------------------------------------------------------------- TJSDOMImplementation --------------------------------------------------------------------} IJSDOMImplementation = interface(IJSObject) ['{3D38DA1F-BC10-3889-894E-706A3B0086C7}'] function hasFeature: Boolean; function createDocumentType(const aQualifiedName: UnicodeString; const aPublicId: UnicodeString; const aSystemId: UnicodeString): IJSDocumentType; function createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; aDoctype: IJSDocumentType): IJSDocument; function createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSDocument; function createHTMLDocument(const aTitle: UnicodeString): IJSDocument; function createHTMLDocument: IJSDocument; end; TJSDOMImplementation = class(TJSObject,IJSDOMImplementation) Private Protected Public function hasFeature: Boolean; overload; function createDocumentType(const aQualifiedName: UnicodeString; const aPublicId: UnicodeString; const aSystemId: UnicodeString): IJSDocumentType; overload; function createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; aDoctype: IJSDocumentType): IJSDocument; overload; function createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSDocument; overload; function createHTMLDocument(const aTitle: UnicodeString): IJSDocument; overload; function createHTMLDocument: IJSDocument; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMImplementation; end; { -------------------------------------------------------------------- TJSDOMMatrixReadOnly --------------------------------------------------------------------} // Union of UTF8String, sequence, DOMMatrixReadOnly TDOMMatrixReadOnly_New_init_Type = Variant; IJSDOMMatrixReadOnly = interface(IJSObject) ['{AB48E8EF-310D-3404-9782-FC0DEDF0497B}'] function _Geta: Double; function _Getb: Double; function _Getc: Double; function _Getd: Double; function _Gete: Double; function _Getf: Double; function _Getm11: Double; function _Getm12: Double; function _Getm13: Double; function _Getm14: Double; function _Getm21: Double; function _Getm22: Double; function _Getm23: Double; function _Getm24: Double; function _Getm31: Double; function _Getm32: Double; function _Getm33: Double; function _Getm34: Double; function _Getm41: Double; function _Getm42: Double; function _Getm43: Double; function _Getm44: Double; function _Getis2D: Boolean; function _GetisIdentity: Boolean; function translate(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; function translate: IJSDOMMatrix; function translate(aTx: Double): IJSDOMMatrix; function translate(aTx: Double; aTy: Double): IJSDOMMatrix; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; function scale: IJSDOMMatrix; function scale(aScaleX: Double): IJSDOMMatrix; function scale(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; function scaleNonUniform(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; function scaleNonUniform: IJSDOMMatrix; function scaleNonUniform(aScaleX: Double): IJSDOMMatrix; function scale3d(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; function scale3d: IJSDOMMatrix; function scale3d(aScale: Double): IJSDOMMatrix; function scale3d(aScale: Double; aOriginX: Double): IJSDOMMatrix; function scale3d(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; function rotate(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; function rotate: IJSDOMMatrix; function rotate(aRotX: Double): IJSDOMMatrix; function rotate(aRotX: Double; aRotY: Double): IJSDOMMatrix; function rotateFromVector(aX: Double; aY: Double): IJSDOMMatrix; function rotateFromVector: IJSDOMMatrix; function rotateFromVector(aX: Double): IJSDOMMatrix; function rotateAxisAngle(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; function rotateAxisAngle: IJSDOMMatrix; function rotateAxisAngle(aX: Double): IJSDOMMatrix; function rotateAxisAngle(aX: Double; aY: Double): IJSDOMMatrix; function rotateAxisAngle(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; function skewX(aSx: Double): IJSDOMMatrix; function skewX: IJSDOMMatrix; function skewY(aSy: Double): IJSDOMMatrix; function skewY: IJSDOMMatrix; function multiply(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; function multiply: IJSDOMMatrix; function flipX: IJSDOMMatrix; function flipY: IJSDOMMatrix; function inverse: IJSDOMMatrix; function transformPoint(const aPoint: IJSDOMPointInit): IJSDOMPoint; function transformPoint: IJSDOMPoint; function toFloat32Array: IJSFloat32Array; function toFloat64Array: IJSFloat64Array; function toJSON: IJSObject; property a: Double read _Geta; property b: Double read _Getb; property c: Double read _Getc; property d: Double read _Getd; property e: Double read _Gete; property f: Double read _Getf; property m11: Double read _Getm11; property m12: Double read _Getm12; property m13: Double read _Getm13; property m14: Double read _Getm14; property m21: Double read _Getm21; property m22: Double read _Getm22; property m23: Double read _Getm23; property m24: Double read _Getm24; property m31: Double read _Getm31; property m32: Double read _Getm32; property m33: Double read _Getm33; property m34: Double read _Getm34; property m41: Double read _Getm41; property m42: Double read _Getm42; property m43: Double read _Getm43; property m44: Double read _Getm44; property is2D: Boolean read _Getis2D; property isIdentity: Boolean read _GetisIdentity; end; TJSDOMMatrixReadOnly = class(TJSObject,IJSDOMMatrixReadOnly) Private Protected function _Geta: Double; function _Getb: Double; function _Getc: Double; function _Getd: Double; function _Gete: Double; function _Getf: Double; function _Getm11: Double; function _Getm12: Double; function _Getm13: Double; function _Getm14: Double; function _Getm21: Double; function _Getm22: Double; function _Getm23: Double; function _Getm24: Double; function _Getm31: Double; function _Getm32: Double; function _Getm33: Double; function _Getm34: Double; function _Getm41: Double; function _Getm42: Double; function _Getm43: Double; function _Getm44: Double; function _Getis2D: Boolean; function _GetisIdentity: Boolean; Public constructor Create(aInit: IJSDOMMatrixReadOnly); overload; constructor Create; overload; constructor Create(const aInit: TDoubleDynArray); overload; constructor Create(const aInit: UTF8String); overload; function fromMatrix(const aOther: IJSDOMMatrixInit): IJSDOMMatrixReadOnly; overload; function fromMatrix: IJSDOMMatrixReadOnly; overload; function fromFloat32Array(aArray32: IJSFloat32Array): IJSDOMMatrixReadOnly; overload; function fromFloat64Array(aArray64: IJSFloat64Array): IJSDOMMatrixReadOnly; overload; function translate(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; overload; function translate: IJSDOMMatrix; overload; function translate(aTx: Double): IJSDOMMatrix; overload; function translate(aTx: Double; aTy: Double): IJSDOMMatrix; overload; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; overload; function scale: IJSDOMMatrix; overload; function scale(aScaleX: Double): IJSDOMMatrix; overload; function scale(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; overload; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; overload; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; overload; function scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; overload; function scaleNonUniform(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; overload; function scaleNonUniform: IJSDOMMatrix; overload; function scaleNonUniform(aScaleX: Double): IJSDOMMatrix; overload; function scale3d(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; overload; function scale3d: IJSDOMMatrix; overload; function scale3d(aScale: Double): IJSDOMMatrix; overload; function scale3d(aScale: Double; aOriginX: Double): IJSDOMMatrix; overload; function scale3d(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; overload; function rotate(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; overload; function rotate: IJSDOMMatrix; overload; function rotate(aRotX: Double): IJSDOMMatrix; overload; function rotate(aRotX: Double; aRotY: Double): IJSDOMMatrix; overload; function rotateFromVector(aX: Double; aY: Double): IJSDOMMatrix; overload; function rotateFromVector: IJSDOMMatrix; overload; function rotateFromVector(aX: Double): IJSDOMMatrix; overload; function rotateAxisAngle(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; overload; function rotateAxisAngle: IJSDOMMatrix; overload; function rotateAxisAngle(aX: Double): IJSDOMMatrix; overload; function rotateAxisAngle(aX: Double; aY: Double): IJSDOMMatrix; overload; function rotateAxisAngle(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; overload; function skewX(aSx: Double): IJSDOMMatrix; overload; function skewX: IJSDOMMatrix; overload; function skewY(aSy: Double): IJSDOMMatrix; overload; function skewY: IJSDOMMatrix; overload; function multiply(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; overload; function multiply: IJSDOMMatrix; overload; function flipX: IJSDOMMatrix; overload; function flipY: IJSDOMMatrix; overload; function inverse: IJSDOMMatrix; overload; function transformPoint(const aPoint: IJSDOMPointInit): IJSDOMPoint; overload; function transformPoint: IJSDOMPoint; overload; function toFloat32Array: IJSFloat32Array; overload; function toFloat64Array: IJSFloat64Array; overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMMatrixReadOnly; property a: Double read _Geta; property b: Double read _Getb; property c: Double read _Getc; property d: Double read _Getd; property e: Double read _Gete; property f: Double read _Getf; property m11: Double read _Getm11; property m12: Double read _Getm12; property m13: Double read _Getm13; property m14: Double read _Getm14; property m21: Double read _Getm21; property m22: Double read _Getm22; property m23: Double read _Getm23; property m24: Double read _Getm24; property m31: Double read _Getm31; property m32: Double read _Getm32; property m33: Double read _Getm33; property m34: Double read _Getm34; property m41: Double read _Getm41; property m42: Double read _Getm42; property m43: Double read _Getm43; property m44: Double read _Getm44; property is2D: Boolean read _Getis2D; property isIdentity: Boolean read _GetisIdentity; end; { -------------------------------------------------------------------- TJSInputStream --------------------------------------------------------------------} IJSInputStream = interface(IJSObject) ['{EEDF1D10-7DC3-3FB0-B83D-1A2372542131}'] end; TJSInputStream = class(TJSObject,IJSInputStream) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInputStream; end; { -------------------------------------------------------------------- TJSDOMParser --------------------------------------------------------------------} IJSDOMParser = interface(IJSObject) ['{296ECA4D-DE09-354F-8A1D-1CCB2BB46B68}'] function parseFromString(const aStr: UnicodeString; aType_: TSupportedType): IJSDocument; procedure forceEnableDTD; end; TJSDOMParser = class(TJSObject,IJSDOMParser) Private Protected Public constructor Create; overload; function parseFromString(const aStr: UnicodeString; aType_: TSupportedType): IJSDocument; overload; procedure forceEnableDTD; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMParser; end; { -------------------------------------------------------------------- TJSDOMPointReadOnly --------------------------------------------------------------------} IJSDOMPointReadOnly = interface(IJSObject) ['{293AA78B-AF88-3A46-8FD6-85216F158CFB}'] function _Getx: Double; function _Gety: Double; function _Getz: Double; function _Getw: Double; function matrixTransform(const aMatrix: IJSDOMMatrixInit): IJSDOMPoint; function matrixTransform: IJSDOMPoint; function toJSON: IJSObject; property x: Double read _Getx; property y: Double read _Gety; property z: Double read _Getz; property w: Double read _Getw; end; TJSDOMPointReadOnly = class(TJSObject,IJSDOMPointReadOnly) Private Protected function _Getx: Double; function _Gety: Double; function _Getz: Double; function _Getw: Double; Public constructor Create(aX: Double; aY: Double; aZ: Double; aW: Double); overload; constructor Create; overload; constructor Create(aX: Double); overload; constructor Create(aX: Double; aY: Double); overload; constructor Create(aX: Double; aY: Double; aZ: Double); overload; function fromPoint(const aOther: IJSDOMPointInit): IJSDOMPointReadOnly; overload; function fromPoint: IJSDOMPointReadOnly; overload; function matrixTransform(const aMatrix: IJSDOMMatrixInit): IJSDOMPoint; overload; function matrixTransform: IJSDOMPoint; overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMPointReadOnly; property x: Double read _Getx; property y: Double read _Gety; property z: Double read _Getz; property w: Double read _Getw; end; { -------------------------------------------------------------------- TJSDOMQuad --------------------------------------------------------------------} IJSDOMQuad = interface(IJSObject) ['{2BFD0837-A351-39D9-93AD-2B21D7211656}'] function _Getp1: IJSDOMPoint; function _Getp2: IJSDOMPoint; function _Getp3: IJSDOMPoint; function _Getp4: IJSDOMPoint; function getBounds: IJSDOMRectReadOnly; function toJSON: IJSObject; property p1: IJSDOMPoint read _Getp1; property p2: IJSDOMPoint read _Getp2; property p3: IJSDOMPoint read _Getp3; property p4: IJSDOMPoint read _Getp4; end; TJSDOMQuad = class(TJSObject,IJSDOMQuad) Private Protected function _Getp1: IJSDOMPoint; function _Getp2: IJSDOMPoint; function _Getp3: IJSDOMPoint; function _Getp4: IJSDOMPoint; Public constructor Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit; const aP3: IJSDOMPointInit; const aP4: IJSDOMPointInit); overload; constructor Create; overload; constructor Create(const aP1: IJSDOMPointInit); overload; constructor Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit); overload; constructor Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit; const aP3: IJSDOMPointInit); overload; constructor Create(aRect: IJSDOMRectReadOnly); overload; function fromRect(const aOther: IJSDOMRectInit): IJSDOMQuad; overload; function fromRect: IJSDOMQuad; overload; function fromQuad(const aOther: IJSDOMQuadInit): IJSDOMQuad; overload; function fromQuad: IJSDOMQuad; overload; function getBounds: IJSDOMRectReadOnly; overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMQuad; property p1: IJSDOMPoint read _Getp1; property p2: IJSDOMPoint read _Getp2; property p3: IJSDOMPoint read _Getp3; property p4: IJSDOMPoint read _Getp4; end; { -------------------------------------------------------------------- TJSDOMRectReadOnly --------------------------------------------------------------------} IJSDOMRectReadOnly = interface(IJSObject) ['{1945BAF0-30A9-3E11-8775-7872297173E5}'] function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; function _Gettop: Double; function _Getright: Double; function _Getbottom: Double; function _Getleft: Double; function toJSON: IJSObject; property x: Double read _Getx; property y: Double read _Gety; property width: Double read _Getwidth; property height: Double read _Getheight; property top: Double read _Gettop; property right: Double read _Getright; property bottom: Double read _Getbottom; property left: Double read _Getleft; end; TJSDOMRectReadOnly = class(TJSObject,IJSDOMRectReadOnly) Private Protected function _Getx: Double; function _Gety: Double; function _Getwidth: Double; function _Getheight: Double; function _Gettop: Double; function _Getright: Double; function _Getbottom: Double; function _Getleft: Double; Public constructor Create(aX: Double; aY: Double; aWidth: Double; aHeight: Double); overload; constructor Create; overload; constructor Create(aX: Double); overload; constructor Create(aX: Double; aY: Double); overload; constructor Create(aX: Double; aY: Double; aWidth: Double); overload; function fromRect(const aOther: IJSDOMRectInit): IJSDOMRectReadOnly; overload; function fromRect: IJSDOMRectReadOnly; overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMRectReadOnly; property x: Double read _Getx; property y: Double read _Gety; property width: Double read _Getwidth; property height: Double read _Getheight; property top: Double read _Gettop; property right: Double read _Getright; property bottom: Double read _Getbottom; property left: Double read _Getleft; end; { -------------------------------------------------------------------- TJSDOMRectList --------------------------------------------------------------------} IJSDOMRectList = interface(IJSObject) ['{75B84489-1878-3D25-BDF6-3619147BDBAD}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSDOMRect; property length_: Cardinal read _Getlength_; end; TJSDOMRectList = class(TJSObject,IJSDOMRectList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSDOMRect; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMRectList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSDOMStringList --------------------------------------------------------------------} IJSDOMStringList = interface(IJSObject) ['{D9C88094-BA78-3BF9-B061-C7B4C4FE0321}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): UnicodeString; function contains(const aString_: UnicodeString): Boolean; property length_: Cardinal read _Getlength_; end; TJSDOMStringList = class(TJSObject,IJSDOMStringList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): UnicodeString; overload; function contains(const aString_: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMStringList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSDOMStringMap --------------------------------------------------------------------} IJSDOMStringMap = interface(IJSObject) ['{E6CE1A6D-FFFA-3C3F-9220-F0D81AA2A621}'] function GetDefault(const aName: UnicodeString): UnicodeString; procedure SetDefault(const aName: UnicodeString; const aValue: UnicodeString); procedure DOMStringMapType(const aName: UnicodeString); end; TJSDOMStringMap = class(TJSObject,IJSDOMStringMap) Private Protected Public function GetDefault(const aName: UnicodeString): UnicodeString; overload; procedure SetDefault(const aName: UnicodeString; const aValue: UnicodeString); overload; procedure DOMStringMapType(const aName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMStringMap; end; { -------------------------------------------------------------------- TJSDOMTokenList --------------------------------------------------------------------} IJSDOMTokenList = interface(IJSObject) ['{C204D7F9-C9A7-372E-BF8B-52847EF6813E}'] function _Getlength_: Cardinal; function _Getvalue: UnicodeString; function item(aIndex: Cardinal): UnicodeString; function contains(const aToken: UnicodeString): Boolean; procedure add(const aTokens: UnicodeString){; ToDo:varargs}; procedure remove(const aTokens: UnicodeString){; ToDo:varargs}; function replace(const aToken: UnicodeString; const aNewToken: UnicodeString): Boolean; function toggle(const aToken: UnicodeString; aForce: Boolean): Boolean; function toggle(const aToken: UnicodeString): Boolean; function supports(const aToken: UnicodeString): Boolean; property length_: Cardinal read _Getlength_; property value: UnicodeString read _Getvalue; end; TJSDOMTokenList = class(TJSObject,IJSDOMTokenList) Private Protected function _Getlength_: Cardinal; function _Getvalue: UnicodeString; Public function item(aIndex: Cardinal): UnicodeString; overload; function contains(const aToken: UnicodeString): Boolean; overload; procedure add(const aTokens: UnicodeString){; ToDo:varargs}; overload; procedure remove(const aTokens: UnicodeString){; ToDo:varargs}; overload; function replace(const aToken: UnicodeString; const aNewToken: UnicodeString): Boolean; overload; function toggle(const aToken: UnicodeString; aForce: Boolean): Boolean; overload; function toggle(const aToken: UnicodeString): Boolean; overload; function supports(const aToken: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMTokenList; property length_: Cardinal read _Getlength_; property value: UnicodeString read _Getvalue; end; { -------------------------------------------------------------------- TJSnsIScreen --------------------------------------------------------------------} IJSnsIScreen = interface(IJSObject) ['{33832E53-F8FD-30F0-B869-8DD15390C552}'] end; TJSnsIScreen = class(TJSObject,IJSnsIScreen) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIScreen; end; { -------------------------------------------------------------------- TJSHTMLOrForeignElement --------------------------------------------------------------------} IJSHTMLOrForeignElement = interface(IJSObject) ['{D1D6276F-F8E6-3C85-BD36-565D3205D0B3}'] function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure focus(const aOptions: IJSFocusOptions); procedure focus; procedure blur; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; end; TJSHTMLOrForeignElement = class(TJSObject,IJSHTMLOrForeignElement) Private Protected function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); Public procedure focus(const aOptions: IJSFocusOptions); overload; procedure focus; overload; procedure blur; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOrForeignElement; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; end; { -------------------------------------------------------------------- TJSElementCSSInlineStyle --------------------------------------------------------------------} IJSElementCSSInlineStyle = interface(IJSObject) ['{A68CE660-BA16-3C6A-855A-0663A9D0E1BF}'] function _Getstyle: IJSCSSStyleDeclaration; property style: IJSCSSStyleDeclaration read _Getstyle; end; TJSElementCSSInlineStyle = class(TJSObject,IJSElementCSSInlineStyle) Private Protected function _Getstyle: IJSCSSStyleDeclaration; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSElementCSSInlineStyle; property style: IJSCSSStyleDeclaration read _Getstyle; end; { -------------------------------------------------------------------- TJSElementInternals --------------------------------------------------------------------} // Union of File, USVString, FormData TElementInternals_setFormValue_value_Type = Variant; // Union of File, USVString, FormData TElementInternals_setFormValue_state_Type = Variant; IJSElementInternals = interface(IJSObject) ['{98DC28CF-DF27-3CC3-9AF2-7A055198724B}'] function _GetshadowRoot: IJSShadowRoot; function _Getform: IJSHTMLFormElement; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _Getstates: IJSCustomStateSet; function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); procedure setFormValue(aValue: IJSFile; aState: IJSFile); procedure setFormValue(aValue: IJSFormData; aState: IJSFile); procedure setFormValue(const aValue: UnicodeString; aState: IJSFile); procedure setFormValue(const aValue: UnicodeString); procedure setFormValue(aValue: IJSFormData); procedure setFormValue(aValue: IJSFile); procedure setFormValue(const aValue: UnicodeString; aState: IJSFormData); procedure setFormValue(aValue: IJSFormData; aState: IJSFormData); procedure setFormValue(aValue: IJSFile; aState: IJSFormData); procedure setFormValue(const aValue: UnicodeString; const aState: UnicodeString); procedure setFormValue(aValue: IJSFormData; const aState: UnicodeString); procedure setFormValue(aValue: IJSFile; const aState: UnicodeString); procedure setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString; aAnchor: IJSHTMLElement); procedure setValidity; procedure setValidity(const aFlags: IJSValidityStateFlags); procedure setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; property shadowRoot: IJSShadowRoot read _GetshadowRoot; property form: IJSHTMLFormElement read _Getform; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property states: IJSCustomStateSet read _Getstates; property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; TJSElementInternals = class(TJSObject,IJSElementInternals) Private Protected function _GetshadowRoot: IJSShadowRoot; function _Getform: IJSHTMLFormElement; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _Getstates: IJSCustomStateSet; function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); Public procedure setFormValue(aValue: IJSFile; aState: IJSFile); overload; procedure setFormValue(aValue: IJSFormData; aState: IJSFile); overload; procedure setFormValue(const aValue: UnicodeString; aState: IJSFile); overload; procedure setFormValue(const aValue: UnicodeString); overload; procedure setFormValue(aValue: IJSFormData); overload; procedure setFormValue(aValue: IJSFile); overload; procedure setFormValue(const aValue: UnicodeString; aState: IJSFormData); overload; procedure setFormValue(aValue: IJSFormData; aState: IJSFormData); overload; procedure setFormValue(aValue: IJSFile; aState: IJSFormData); overload; procedure setFormValue(const aValue: UnicodeString; const aState: UnicodeString); overload; procedure setFormValue(aValue: IJSFormData; const aState: UnicodeString); overload; procedure setFormValue(aValue: IJSFile; const aState: UnicodeString); overload; procedure setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString; aAnchor: IJSHTMLElement); overload; procedure setValidity; overload; procedure setValidity(const aFlags: IJSValidityStateFlags); overload; procedure setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString); overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSElementInternals; property shadowRoot: IJSShadowRoot read _GetshadowRoot; property form: IJSHTMLFormElement read _Getform; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property states: IJSCustomStateSet read _Getstates; property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; { -------------------------------------------------------------------- TJSCustomStateSet --------------------------------------------------------------------} IJSCustomStateSet = interface(IJSObject) ['{942E787D-DB07-3065-8730-70EEF01225D0}'] procedure add(const aState: UnicodeString); function delete(const aState: UnicodeString): Boolean; procedure clear; end; TJSCustomStateSet = class(TJSObject,IJSCustomStateSet) Private Protected Public procedure add(const aState: UnicodeString); overload; function delete(const aState: UnicodeString): Boolean; overload; procedure clear; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCustomStateSet; end; { -------------------------------------------------------------------- TJSEncodedAudioChunk --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TEncodedAudioChunk_copyTo_destination_Type = Variant; IJSEncodedAudioChunk = interface(IJSObject) ['{4B58FBF0-1495-387D-9F9C-E880C5F54639}'] function _Gettype_: TEncodedAudioChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _GetbyteLength: Cardinal; procedure copyTo(aDestination: IJSArrayBuffer); procedure copyTo(aDestination: IJSArrayBufferView); property type_: TEncodedAudioChunkType read _Gettype_; property timestamp: Int64 read _Gettimestamp; property duration: QWord read _Getduration; property byteLength: Cardinal read _GetbyteLength; end; TJSEncodedAudioChunk = class(TJSObject,IJSEncodedAudioChunk) Private Protected function _Gettype_: TEncodedAudioChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _GetbyteLength: Cardinal; Public constructor Create(const aInit: IJSEncodedAudioChunkInit); overload; procedure copyTo(aDestination: IJSArrayBuffer); overload; procedure copyTo(aDestination: IJSArrayBufferView); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedAudioChunk; property type_: TEncodedAudioChunkType read _Gettype_; property timestamp: Int64 read _Gettimestamp; property duration: QWord read _Getduration; property byteLength: Cardinal read _GetbyteLength; end; { -------------------------------------------------------------------- TJSEncodedVideoChunk --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TEncodedVideoChunk_copyTo_destination_Type = Variant; IJSEncodedVideoChunk = interface(IJSObject) ['{4B58FBF0-1494-30BD-A11C-C880C5F54639}'] function _Gettype_: TEncodedVideoChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _GetbyteLength: Cardinal; procedure copyTo(aDestination: IJSArrayBuffer); procedure copyTo(aDestination: IJSArrayBufferView); property type_: TEncodedVideoChunkType read _Gettype_; property timestamp: Int64 read _Gettimestamp; property duration: QWord read _Getduration; property byteLength: Cardinal read _GetbyteLength; end; TJSEncodedVideoChunk = class(TJSObject,IJSEncodedVideoChunk) Private Protected function _Gettype_: TEncodedVideoChunkType; function _Gettimestamp: Int64; function _Getduration: QWord; function _GetbyteLength: Cardinal; Public constructor Create(const aInit: IJSEncodedVideoChunkInit); overload; procedure copyTo(aDestination: IJSArrayBuffer); overload; procedure copyTo(aDestination: IJSArrayBufferView); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEncodedVideoChunk; property type_: TEncodedVideoChunkType read _Gettype_; property timestamp: Int64 read _Gettimestamp; property duration: QWord read _Getduration; property byteLength: Cardinal read _GetbyteLength; end; { -------------------------------------------------------------------- TJSEvent --------------------------------------------------------------------} TJSEventTargetDynArray = IJSArray; // array of EventTarget IJSEvent = interface(IJSObject) ['{AB32DD1E-5570-35E0-A83F-1CEAEC58476F}'] function _Gettype_: UnicodeString; function _Gettarget: IJSEventTarget; function _GetcurrentTarget: IJSEventTarget; function _GeteventPhase: Word; function _Getbubbles: Boolean; function _Getcancelable: Boolean; function _GetreturnValue: Boolean; function _GetdefaultPrevented: Boolean; function _Getcomposed: Boolean; function _GetisTrusted: Boolean; function _GettimeStamp: TDOMHighResTimeStamp; function _GetcancelBubble: Boolean; function _GetoriginalTarget: IJSEventTarget; function _GetexplicitOriginalTarget: IJSEventTarget; procedure _SetreturnValue(const aValue: Boolean); procedure _SetcancelBubble(const aValue: Boolean); function composedPath: TJSEventTargetDynArray; procedure stopPropagation; procedure stopImmediatePropagation; procedure preventDefault; procedure initEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); procedure initEvent(const aType_: UnicodeString); procedure initEvent(const aType_: UnicodeString; aBubbles: Boolean); property type_: UnicodeString read _Gettype_; property target: IJSEventTarget read _Gettarget; property currentTarget: IJSEventTarget read _GetcurrentTarget; property eventPhase: Word read _GeteventPhase; property bubbles: Boolean read _Getbubbles; property cancelable: Boolean read _Getcancelable; property returnValue: Boolean read _GetreturnValue write _SetreturnValue; property defaultPrevented: Boolean read _GetdefaultPrevented; property composed: Boolean read _Getcomposed; property isTrusted: Boolean read _GetisTrusted; property timeStamp: TDOMHighResTimeStamp read _GettimeStamp; property cancelBubble: Boolean read _GetcancelBubble write _SetcancelBubble; property originalTarget: IJSEventTarget read _GetoriginalTarget; property explicitOriginalTarget: IJSEventTarget read _GetexplicitOriginalTarget; end; TJSEvent = class(TJSObject,IJSEvent) Private Protected function _Gettype_: UnicodeString; function _Gettarget: IJSEventTarget; function _GetcurrentTarget: IJSEventTarget; function _GeteventPhase: Word; function _Getbubbles: Boolean; function _Getcancelable: Boolean; function _GetreturnValue: Boolean; function _GetdefaultPrevented: Boolean; function _Getcomposed: Boolean; function _GetisTrusted: Boolean; function _GettimeStamp: TDOMHighResTimeStamp; function _GetcancelBubble: Boolean; function _GetoriginalTarget: IJSEventTarget; function _GetexplicitOriginalTarget: IJSEventTarget; procedure _SetreturnValue(const aValue: Boolean); procedure _SetcancelBubble(const aValue: Boolean); Public Const NONE = 0; CAPTURING_PHASE = 1; AT_TARGET = 2; BUBBLING_PHASE = 3; ALT_MASK = $00000001; CONTROL_MASK = $00000002; SHIFT_MASK = $00000004; META_MASK = $00000008; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSEventInit); overload; constructor Create(const aType_: UnicodeString); overload; function composedPath: TJSEventTargetDynArray; overload; procedure stopPropagation; overload; procedure stopImmediatePropagation; overload; procedure preventDefault; overload; procedure initEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); overload; procedure initEvent(const aType_: UnicodeString); overload; procedure initEvent(const aType_: UnicodeString; aBubbles: Boolean); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEvent; property type_: UnicodeString read _Gettype_; property target: IJSEventTarget read _Gettarget; property currentTarget: IJSEventTarget read _GetcurrentTarget; property eventPhase: Word read _GeteventPhase; property bubbles: Boolean read _Getbubbles; property cancelable: Boolean read _Getcancelable; property returnValue: Boolean read _GetreturnValue write _SetreturnValue; property defaultPrevented: Boolean read _GetdefaultPrevented; property composed: Boolean read _Getcomposed; property isTrusted: Boolean read _GetisTrusted; property timeStamp: TDOMHighResTimeStamp read _GettimeStamp; property cancelBubble: Boolean read _GetcancelBubble write _SetcancelBubble; property originalTarget: IJSEventTarget read _GetoriginalTarget; property explicitOriginalTarget: IJSEventTarget read _GetexplicitOriginalTarget; end; { -------------------------------------------------------------------- TJSGlobalEventHandlers --------------------------------------------------------------------} IJSGlobalEventHandlers = interface(IJSObject) ['{7CE4AF2C-6DAB-3CC2-B60A-AC73A9AC5FD8}'] function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; end; TJSGlobalEventHandlers = class(TJSObject,IJSGlobalEventHandlers) Private Protected function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGlobalEventHandlers; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; end; { -------------------------------------------------------------------- TJSWindowEventHandlers --------------------------------------------------------------------} IJSWindowEventHandlers = interface(IJSObject) ['{59259445-2E1D-3B8D-AD27-083C0E2E8A69}'] function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; TJSWindowEventHandlers = class(TJSObject,IJSWindowEventHandlers) Private Protected function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowEventHandlers; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; { -------------------------------------------------------------------- TJSOnErrorEventHandlerForNodes --------------------------------------------------------------------} IJSOnErrorEventHandlerForNodes = interface(IJSObject) ['{13D166E9-F70F-346C-B11C-1B956C0BBCB0}'] function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSOnErrorEventHandlerForNodes = class(TJSObject,IJSOnErrorEventHandlerForNodes) Private Protected function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOnErrorEventHandlerForNodes; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSOnErrorEventHandlerForWindow --------------------------------------------------------------------} IJSOnErrorEventHandlerForWindow = interface(IJSObject) ['{EF0A17DA-F3C5-35AE-80F9-08BD29C87E5B}'] function _Getonerror: TOnErrorEventHandler; procedure _Setonerror(const aValue: TOnErrorEventHandler); property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; end; TJSOnErrorEventHandlerForWindow = class(TJSObject,IJSOnErrorEventHandlerForWindow) Private Protected function _Getonerror: TOnErrorEventHandler; procedure _Setonerror(const aValue: TOnErrorEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOnErrorEventHandlerForWindow; property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSEventTarget --------------------------------------------------------------------} // Union of AddEventListenerOptions, boolean TEventTarget_addEventListener_options_Type = Variant; // Union of EventListenerOptions, boolean TEventTarget_removeEventListener_options_Type = Variant; IJSEventTarget = interface(IJSObject) ['{508F4552-EEB9-36D3-BF1A-151D53753BED}'] procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions; aWantsUntrusted: Boolean); procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener); procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean; aWantsUntrusted: Boolean); procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions); procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener); procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSEventListenerOptions); function dispatchEvent(aEvent: IJSEvent): Boolean; end; TJSEventTarget = class(TJSObject,IJSEventTarget) Private Protected Public constructor Create; overload; procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions; aWantsUntrusted: Boolean); overload; procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener); overload; procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean; aWantsUntrusted: Boolean); overload; procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); overload; procedure addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions); overload; procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); overload; procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener); overload; procedure removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSEventListenerOptions); overload; function dispatchEvent(aEvent: IJSEvent): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventTarget; end; { -------------------------------------------------------------------- TJSExtensionAlarms --------------------------------------------------------------------} IJSExtensionAlarms = interface(IJSObject) ['{DD42A039-4629-3069-A350-7C495C17A477}'] function _GetonAlarm: IJSExtensionEventManager; procedure create_(const aName: UnicodeString; const aAlarmInfo: Variant); procedure create_(const aAlarmInfo: Variant); function get(const aName: UnicodeString; const aCallback: TFunction): Variant; function get(const aName: UnicodeString): Variant; function get(const aCallback: TFunction): Variant; function get: Variant; function getAll(const aCallback: TFunction): Variant; function getAll: Variant; function clear(const aName: UnicodeString; const aCallback: TFunction): Variant; function clear(const aName: UnicodeString): Variant; function clear(const aCallback: TFunction): Variant; function clear: Variant; function clearAll(const aCallback: TFunction): Variant; function clearAll: Variant; property onAlarm: IJSExtensionEventManager read _GetonAlarm; end; TJSExtensionAlarms = class(TJSObject,IJSExtensionAlarms) Private Protected function _GetonAlarm: IJSExtensionEventManager; Public procedure create_(const aName: UnicodeString; const aAlarmInfo: Variant); overload; procedure create_(const aAlarmInfo: Variant); overload; function get(const aName: UnicodeString; const aCallback: TFunction): Variant; overload; function get(const aName: UnicodeString): Variant; overload; function get(const aCallback: TFunction): Variant; overload; function get: Variant; overload; function getAll(const aCallback: TFunction): Variant; overload; function getAll: Variant; overload; function clear(const aName: UnicodeString; const aCallback: TFunction): Variant; overload; function clear(const aName: UnicodeString): Variant; overload; function clear(const aCallback: TFunction): Variant; overload; function clear: Variant; overload; function clearAll(const aCallback: TFunction): Variant; overload; function clearAll: Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionAlarms; property onAlarm: IJSExtensionEventManager read _GetonAlarm; end; { -------------------------------------------------------------------- TJSExtensionGlobalsMixin --------------------------------------------------------------------} IJSExtensionGlobalsMixin = interface(IJSObject) ['{0C4A7BCF-8D31-3EF9-A4DD-D5D51E49067A}'] function _Getbrowser: IJSExtensionBrowser; property browser: IJSExtensionBrowser read _Getbrowser; end; TJSExtensionGlobalsMixin = class(TJSObject,IJSExtensionGlobalsMixin) Private Protected function _Getbrowser: IJSExtensionBrowser; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionGlobalsMixin; property browser: IJSExtensionBrowser read _Getbrowser; end; { -------------------------------------------------------------------- TJSExtensionBrowser --------------------------------------------------------------------} IJSExtensionBrowser = interface(IJSObject) ['{3815D491-828C-39C2-A339-D602D4B2EFE5}'] function _GetmockExtensionAPI: IJSExtensionMockAPI; function _Getalarms: IJSExtensionAlarms; function _GetbrowserSettings: IJSExtensionBrowserSettings; function _Getdns: IJSExtensionDns; function _Getproxy: IJSExtensionProxy; function _Getruntime: IJSExtensionRuntime; function _Getscripting: IJSExtensionScripting; function _Gettest: IJSExtensionTest; property mockExtensionAPI: IJSExtensionMockAPI read _GetmockExtensionAPI; property alarms: IJSExtensionAlarms read _Getalarms; property browserSettings: IJSExtensionBrowserSettings read _GetbrowserSettings; property dns: IJSExtensionDns read _Getdns; property proxy: IJSExtensionProxy read _Getproxy; property runtime: IJSExtensionRuntime read _Getruntime; property scripting: IJSExtensionScripting read _Getscripting; property test: IJSExtensionTest read _Gettest; end; TJSExtensionBrowser = class(TJSObject,IJSExtensionBrowser) Private Protected function _GetmockExtensionAPI: IJSExtensionMockAPI; function _Getalarms: IJSExtensionAlarms; function _GetbrowserSettings: IJSExtensionBrowserSettings; function _Getdns: IJSExtensionDns; function _Getproxy: IJSExtensionProxy; function _Getruntime: IJSExtensionRuntime; function _Getscripting: IJSExtensionScripting; function _Gettest: IJSExtensionTest; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionBrowser; property mockExtensionAPI: IJSExtensionMockAPI read _GetmockExtensionAPI; property alarms: IJSExtensionAlarms read _Getalarms; property browserSettings: IJSExtensionBrowserSettings read _GetbrowserSettings; property dns: IJSExtensionDns read _Getdns; property proxy: IJSExtensionProxy read _Getproxy; property runtime: IJSExtensionRuntime read _Getruntime; property scripting: IJSExtensionScripting read _Getscripting; property test: IJSExtensionTest read _Gettest; end; { -------------------------------------------------------------------- TJSExtensionBrowserSettings --------------------------------------------------------------------} IJSExtensionBrowserSettings = interface(IJSObject) ['{ABF24278-04F2-3D64-B2D6-E33AAC7350C9}'] function _GetallowPopupsForUserEvents: IJSExtensionSetting; function _GetcacheEnabled: IJSExtensionSetting; function _GetcloseTabsByDoubleClick: IJSExtensionSetting; function _GetcontextMenuShowEvent: IJSExtensionSetting; function _GetftpProtocolEnabled: IJSExtensionSetting; function _GethomepageOverride: IJSExtensionSetting; function _GetimageAnimationBehavior: IJSExtensionSetting; function _GetnewTabPageOverride: IJSExtensionSetting; function _GetnewTabPosition: IJSExtensionSetting; function _GetopenBookmarksInNewTabs: IJSExtensionSetting; function _GetopenSearchResultsInNewTabs: IJSExtensionSetting; function _GetopenUrlbarResultsInNewTabs: IJSExtensionSetting; function _GetwebNotificationsDisabled: IJSExtensionSetting; function _GetoverrideDocumentColors: IJSExtensionSetting; function _GetoverrideContentColorScheme: IJSExtensionSetting; function _GetuseDocumentFonts: IJSExtensionSetting; function _GetzoomFullPage: IJSExtensionSetting; function _GetzoomSiteSpecific: IJSExtensionSetting; function _GetcolorManagement: IJSExtensionBrowserSettingsColorManagement; property allowPopupsForUserEvents: IJSExtensionSetting read _GetallowPopupsForUserEvents; property cacheEnabled: IJSExtensionSetting read _GetcacheEnabled; property closeTabsByDoubleClick: IJSExtensionSetting read _GetcloseTabsByDoubleClick; property contextMenuShowEvent: IJSExtensionSetting read _GetcontextMenuShowEvent; property ftpProtocolEnabled: IJSExtensionSetting read _GetftpProtocolEnabled; property homepageOverride: IJSExtensionSetting read _GethomepageOverride; property imageAnimationBehavior: IJSExtensionSetting read _GetimageAnimationBehavior; property newTabPageOverride: IJSExtensionSetting read _GetnewTabPageOverride; property newTabPosition: IJSExtensionSetting read _GetnewTabPosition; property openBookmarksInNewTabs: IJSExtensionSetting read _GetopenBookmarksInNewTabs; property openSearchResultsInNewTabs: IJSExtensionSetting read _GetopenSearchResultsInNewTabs; property openUrlbarResultsInNewTabs: IJSExtensionSetting read _GetopenUrlbarResultsInNewTabs; property webNotificationsDisabled: IJSExtensionSetting read _GetwebNotificationsDisabled; property overrideDocumentColors: IJSExtensionSetting read _GetoverrideDocumentColors; property overrideContentColorScheme: IJSExtensionSetting read _GetoverrideContentColorScheme; property useDocumentFonts: IJSExtensionSetting read _GetuseDocumentFonts; property zoomFullPage: IJSExtensionSetting read _GetzoomFullPage; property zoomSiteSpecific: IJSExtensionSetting read _GetzoomSiteSpecific; property colorManagement: IJSExtensionBrowserSettingsColorManagement read _GetcolorManagement; end; TJSExtensionBrowserSettings = class(TJSObject,IJSExtensionBrowserSettings) Private Protected function _GetallowPopupsForUserEvents: IJSExtensionSetting; function _GetcacheEnabled: IJSExtensionSetting; function _GetcloseTabsByDoubleClick: IJSExtensionSetting; function _GetcontextMenuShowEvent: IJSExtensionSetting; function _GetftpProtocolEnabled: IJSExtensionSetting; function _GethomepageOverride: IJSExtensionSetting; function _GetimageAnimationBehavior: IJSExtensionSetting; function _GetnewTabPageOverride: IJSExtensionSetting; function _GetnewTabPosition: IJSExtensionSetting; function _GetopenBookmarksInNewTabs: IJSExtensionSetting; function _GetopenSearchResultsInNewTabs: IJSExtensionSetting; function _GetopenUrlbarResultsInNewTabs: IJSExtensionSetting; function _GetwebNotificationsDisabled: IJSExtensionSetting; function _GetoverrideDocumentColors: IJSExtensionSetting; function _GetoverrideContentColorScheme: IJSExtensionSetting; function _GetuseDocumentFonts: IJSExtensionSetting; function _GetzoomFullPage: IJSExtensionSetting; function _GetzoomSiteSpecific: IJSExtensionSetting; function _GetcolorManagement: IJSExtensionBrowserSettingsColorManagement; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionBrowserSettings; property allowPopupsForUserEvents: IJSExtensionSetting read _GetallowPopupsForUserEvents; property cacheEnabled: IJSExtensionSetting read _GetcacheEnabled; property closeTabsByDoubleClick: IJSExtensionSetting read _GetcloseTabsByDoubleClick; property contextMenuShowEvent: IJSExtensionSetting read _GetcontextMenuShowEvent; property ftpProtocolEnabled: IJSExtensionSetting read _GetftpProtocolEnabled; property homepageOverride: IJSExtensionSetting read _GethomepageOverride; property imageAnimationBehavior: IJSExtensionSetting read _GetimageAnimationBehavior; property newTabPageOverride: IJSExtensionSetting read _GetnewTabPageOverride; property newTabPosition: IJSExtensionSetting read _GetnewTabPosition; property openBookmarksInNewTabs: IJSExtensionSetting read _GetopenBookmarksInNewTabs; property openSearchResultsInNewTabs: IJSExtensionSetting read _GetopenSearchResultsInNewTabs; property openUrlbarResultsInNewTabs: IJSExtensionSetting read _GetopenUrlbarResultsInNewTabs; property webNotificationsDisabled: IJSExtensionSetting read _GetwebNotificationsDisabled; property overrideDocumentColors: IJSExtensionSetting read _GetoverrideDocumentColors; property overrideContentColorScheme: IJSExtensionSetting read _GetoverrideContentColorScheme; property useDocumentFonts: IJSExtensionSetting read _GetuseDocumentFonts; property zoomFullPage: IJSExtensionSetting read _GetzoomFullPage; property zoomSiteSpecific: IJSExtensionSetting read _GetzoomSiteSpecific; property colorManagement: IJSExtensionBrowserSettingsColorManagement read _GetcolorManagement; end; { -------------------------------------------------------------------- TJSExtensionBrowserSettingsColorManagement --------------------------------------------------------------------} IJSExtensionBrowserSettingsColorManagement = interface(IJSObject) ['{5D5DEF68-AEBD-381B-9E84-76A46197C148}'] function _Getmode: IJSExtensionSetting; function _GetuseNativeSRGB: IJSExtensionSetting; function _GetuseWebRenderCompositor: IJSExtensionSetting; property mode: IJSExtensionSetting read _Getmode; property useNativeSRGB: IJSExtensionSetting read _GetuseNativeSRGB; property useWebRenderCompositor: IJSExtensionSetting read _GetuseWebRenderCompositor; end; TJSExtensionBrowserSettingsColorManagement = class(TJSObject,IJSExtensionBrowserSettingsColorManagement) Private Protected function _Getmode: IJSExtensionSetting; function _GetuseNativeSRGB: IJSExtensionSetting; function _GetuseWebRenderCompositor: IJSExtensionSetting; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionBrowserSettingsColorManagement; property mode: IJSExtensionSetting read _Getmode; property useNativeSRGB: IJSExtensionSetting read _GetuseNativeSRGB; property useWebRenderCompositor: IJSExtensionSetting read _GetuseWebRenderCompositor; end; { -------------------------------------------------------------------- TJSExtensionDns --------------------------------------------------------------------} IJSExtensionDns = interface(IJSObject) ['{E6CF3F8B-3902-3EAC-B22A-1DFEFF42A621}'] function resolve(const aArgs: Variant): Variant{; ToDo:varargs}; end; TJSExtensionDns = class(TJSObject,IJSExtensionDns) Private Protected Public function resolve(const aArgs: Variant): Variant{; ToDo:varargs}; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionDns; end; { -------------------------------------------------------------------- TJSExtensionEventManager --------------------------------------------------------------------} IJSExtensionEventManager = interface(IJSObject) ['{F9778082-0132-3946-A442-33A2BB3F7374}'] procedure addListener(const aCallback: TFunction; aListenerOptions: IJSObject); procedure addListener(const aCallback: TFunction); procedure removeListener(const aCallback: TFunction); function hasListener(const aCallback: TFunction): Boolean; function hasListeners: Boolean; end; TJSExtensionEventManager = class(TJSObject,IJSExtensionEventManager) Private Protected Public procedure addListener(const aCallback: TFunction; aListenerOptions: IJSObject); overload; procedure addListener(const aCallback: TFunction); overload; procedure removeListener(const aCallback: TFunction); overload; function hasListener(const aCallback: TFunction): Boolean; overload; function hasListeners: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionEventManager; end; { -------------------------------------------------------------------- TJSExtensionMockAPI --------------------------------------------------------------------} IJSExtensionMockAPI = interface(IJSObject) ['{CD454311-9596-34B8-B713-C8588A1872B5}'] function _GetpropertyAsErrorObject: Variant; function _GetpropertyAsString: UnicodeString; function _GetonTestEvent: IJSExtensionEventManager; function methodSyncWithReturn(const aArgs: Variant): Variant{; ToDo:varargs}; procedure methodNoReturn(const aArgs: Variant){; ToDo:varargs}; function methodAsync(const aArg0: Variant; const aCb: TFunction): Variant; function methodAsync(const aArg0: Variant): Variant; function methodAmbiguousArgsAsync(const aArgs: Variant): Variant{; ToDo:varargs}; function methodReturnsPort(const aTestName: UnicodeString): IJSExtensionPort; property propertyAsErrorObject: Variant read _GetpropertyAsErrorObject; property propertyAsString: UnicodeString read _GetpropertyAsString; property onTestEvent: IJSExtensionEventManager read _GetonTestEvent; end; TJSExtensionMockAPI = class(TJSObject,IJSExtensionMockAPI) Private Protected function _GetpropertyAsErrorObject: Variant; function _GetpropertyAsString: UnicodeString; function _GetonTestEvent: IJSExtensionEventManager; Public function methodSyncWithReturn(const aArgs: Variant): Variant{; ToDo:varargs}; overload; procedure methodNoReturn(const aArgs: Variant){; ToDo:varargs}; overload; function methodAsync(const aArg0: Variant; const aCb: TFunction): Variant; overload; function methodAsync(const aArg0: Variant): Variant; overload; function methodAmbiguousArgsAsync(const aArgs: Variant): Variant{; ToDo:varargs}; overload; function methodReturnsPort(const aTestName: UnicodeString): IJSExtensionPort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionMockAPI; property propertyAsErrorObject: Variant read _GetpropertyAsErrorObject; property propertyAsString: UnicodeString read _GetpropertyAsString; property onTestEvent: IJSExtensionEventManager read _GetonTestEvent; end; { -------------------------------------------------------------------- TJSExtensionPort --------------------------------------------------------------------} IJSExtensionPort = interface(IJSObject) ['{47039CA3-AAD4-3274-9665-14BCC031756F}'] function _Getname: UnicodeString; function _Getsender: Variant; function _Geterror: Variant; function _GetonDisconnect: IJSExtensionEventManager; function _GetonMessage: IJSExtensionEventManager; procedure disconnect; procedure postMessage(const aMessage: Variant); property name: UnicodeString read _Getname; property sender: Variant read _Getsender; property error: Variant read _Geterror; property onDisconnect: IJSExtensionEventManager read _GetonDisconnect; property onMessage: IJSExtensionEventManager read _GetonMessage; end; TJSExtensionPort = class(TJSObject,IJSExtensionPort) Private Protected function _Getname: UnicodeString; function _Getsender: Variant; function _Geterror: Variant; function _GetonDisconnect: IJSExtensionEventManager; function _GetonMessage: IJSExtensionEventManager; Public procedure disconnect; overload; procedure postMessage(const aMessage: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionPort; property name: UnicodeString read _Getname; property sender: Variant read _Getsender; property error: Variant read _Geterror; property onDisconnect: IJSExtensionEventManager read _GetonDisconnect; property onMessage: IJSExtensionEventManager read _GetonMessage; end; { -------------------------------------------------------------------- TJSExtensionProxy --------------------------------------------------------------------} IJSExtensionProxy = interface(IJSObject) ['{60F3C62F-59BC-3BF2-92B6-6367A235CFF3}'] function _GetonRequest: IJSExtensionEventManager; function _GetonError: IJSExtensionEventManager; function _Getsettings: IJSExtensionSetting; property onRequest: IJSExtensionEventManager read _GetonRequest; property onError: IJSExtensionEventManager read _GetonError; property settings: IJSExtensionSetting read _Getsettings; end; TJSExtensionProxy = class(TJSObject,IJSExtensionProxy) Private Protected function _GetonRequest: IJSExtensionEventManager; function _GetonError: IJSExtensionEventManager; function _Getsettings: IJSExtensionSetting; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionProxy; property onRequest: IJSExtensionEventManager read _GetonRequest; property onError: IJSExtensionEventManager read _GetonError; property settings: IJSExtensionSetting read _Getsettings; end; { -------------------------------------------------------------------- TJSExtensionRuntime --------------------------------------------------------------------} IJSExtensionRuntime = interface(IJSObject) ['{66AD95C0-2DDD-346E-8F3D-F1FBE1F57FBC}'] function _GetonStartup: IJSExtensionEventManager; function _GetonInstalled: IJSExtensionEventManager; function _GetonUpdateAvailable: IJSExtensionEventManager; function _GetonConnect: IJSExtensionEventManager; function _GetonConnectExternal: IJSExtensionEventManager; function _GetonMessage: IJSExtensionEventManager; function _GetonMessageExternal: IJSExtensionEventManager; function _GetlastError: Variant; function _Getid: UnicodeString; function openOptionsPage(const aCallback: TFunction): Variant; function openOptionsPage: Variant; function getManifest: Variant; function getURL(const aPath: UnicodeString): UnicodeString; function setUninstallURL(const aUrl: UnicodeString; const aCallback: TFunction): Variant; function setUninstallURL(const aUrl: UnicodeString): Variant; function setUninstallURL(const aCallback: TFunction): Variant; function setUninstallURL: Variant; procedure reload; function connect(const aExtensionId: UnicodeString; const aConnectInfo: Variant): IJSExtensionPort; function connect(const aConnectInfo: Variant): IJSExtensionPort; function connect: IJSExtensionPort; function connectNative(const aApplication: UnicodeString): IJSExtensionPort; function sendMessage(const aArgs: Variant): Variant{; ToDo:varargs}; function sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant; const aResponseCallback: TFunction): Variant; function sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant): Variant; function getBrowserInfo(const aCallback: TFunction): Variant; function getBrowserInfo: Variant; function getPlatformInfo(const aCallback: TFunction): Variant; function getPlatformInfo: Variant; property onStartup: IJSExtensionEventManager read _GetonStartup; property onInstalled: IJSExtensionEventManager read _GetonInstalled; property onUpdateAvailable: IJSExtensionEventManager read _GetonUpdateAvailable; property onConnect: IJSExtensionEventManager read _GetonConnect; property onConnectExternal: IJSExtensionEventManager read _GetonConnectExternal; property onMessage: IJSExtensionEventManager read _GetonMessage; property onMessageExternal: IJSExtensionEventManager read _GetonMessageExternal; property lastError: Variant read _GetlastError; property id: UnicodeString read _Getid; end; TJSExtensionRuntime = class(TJSObject,IJSExtensionRuntime) Private Protected function _GetonStartup: IJSExtensionEventManager; function _GetonInstalled: IJSExtensionEventManager; function _GetonUpdateAvailable: IJSExtensionEventManager; function _GetonConnect: IJSExtensionEventManager; function _GetonConnectExternal: IJSExtensionEventManager; function _GetonMessage: IJSExtensionEventManager; function _GetonMessageExternal: IJSExtensionEventManager; function _GetlastError: Variant; function _Getid: UnicodeString; Public function openOptionsPage(const aCallback: TFunction): Variant; overload; function openOptionsPage: Variant; overload; function getManifest: Variant; overload; function getURL(const aPath: UnicodeString): UnicodeString; overload; function setUninstallURL(const aUrl: UnicodeString; const aCallback: TFunction): Variant; overload; function setUninstallURL(const aUrl: UnicodeString): Variant; overload; function setUninstallURL(const aCallback: TFunction): Variant; overload; function setUninstallURL: Variant; overload; procedure reload; overload; function connect(const aExtensionId: UnicodeString; const aConnectInfo: Variant): IJSExtensionPort; overload; function connect(const aConnectInfo: Variant): IJSExtensionPort; overload; function connect: IJSExtensionPort; overload; function connectNative(const aApplication: UnicodeString): IJSExtensionPort; overload; function sendMessage(const aArgs: Variant): Variant{; ToDo:varargs}; overload; function sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant; const aResponseCallback: TFunction): Variant; overload; function sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant): Variant; overload; function getBrowserInfo(const aCallback: TFunction): Variant; overload; function getBrowserInfo: Variant; overload; function getPlatformInfo(const aCallback: TFunction): Variant; overload; function getPlatformInfo: Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionRuntime; property onStartup: IJSExtensionEventManager read _GetonStartup; property onInstalled: IJSExtensionEventManager read _GetonInstalled; property onUpdateAvailable: IJSExtensionEventManager read _GetonUpdateAvailable; property onConnect: IJSExtensionEventManager read _GetonConnect; property onConnectExternal: IJSExtensionEventManager read _GetonConnectExternal; property onMessage: IJSExtensionEventManager read _GetonMessage; property onMessageExternal: IJSExtensionEventManager read _GetonMessageExternal; property lastError: Variant read _GetlastError; property id: UnicodeString read _Getid; end; { -------------------------------------------------------------------- TJSExtensionScripting --------------------------------------------------------------------} IJSExtensionScripting = interface(IJSObject) ['{451E934A-8F5A-35F9-AE5D-C3C81F4D36E2}'] function executeScript(const aInjection: Variant; const aCallback: TFunction): Variant; function executeScript(const aInjection: Variant): Variant; function insertCSS(const aInjection: Variant; const aCallback: TFunction): Variant; function insertCSS(const aInjection: Variant): Variant; function removeCSS(const aInjection: Variant; const aCallback: TFunction): Variant; function removeCSS(const aInjection: Variant): Variant; function registerContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; function registerContentScripts(const aScripts: Variant): Variant; function getRegisteredContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; function unregisterContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; function updateContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; function updateContentScripts(const aScripts: Variant): Variant; end; TJSExtensionScripting = class(TJSObject,IJSExtensionScripting) Private Protected Public function executeScript(const aInjection: Variant; const aCallback: TFunction): Variant; overload; function executeScript(const aInjection: Variant): Variant; overload; function insertCSS(const aInjection: Variant; const aCallback: TFunction): Variant; overload; function insertCSS(const aInjection: Variant): Variant; overload; function removeCSS(const aInjection: Variant; const aCallback: TFunction): Variant; overload; function removeCSS(const aInjection: Variant): Variant; overload; function registerContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; overload; function registerContentScripts(const aScripts: Variant): Variant; overload; function getRegisteredContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; overload; function unregisterContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; overload; function updateContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; overload; function updateContentScripts(const aScripts: Variant): Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionScripting; end; { -------------------------------------------------------------------- TJSExtensionSetting --------------------------------------------------------------------} IJSExtensionSetting = interface(IJSObject) ['{4E071567-68C9-3442-826F-1773A8537AA7}'] function _GetonChange: IJSExtensionEventManager; function get(aDetails: IJSObject; const aCallback: TFunction): Variant; function get(aDetails: IJSObject): Variant; function set_(aDetails: IJSObject; const aCallback: TFunction): Variant; function set_(aDetails: IJSObject): Variant; function clear(aDetails: IJSObject; const aCallback: TFunction): Variant; function clear(aDetails: IJSObject): Variant; property onChange: IJSExtensionEventManager read _GetonChange; end; TJSExtensionSetting = class(TJSObject,IJSExtensionSetting) Private Protected function _GetonChange: IJSExtensionEventManager; Public function get(aDetails: IJSObject; const aCallback: TFunction): Variant; overload; function get(aDetails: IJSObject): Variant; overload; function set_(aDetails: IJSObject; const aCallback: TFunction): Variant; overload; function set_(aDetails: IJSObject): Variant; overload; function clear(aDetails: IJSObject; const aCallback: TFunction): Variant; overload; function clear(aDetails: IJSObject): Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionSetting; property onChange: IJSExtensionEventManager read _GetonChange; end; { -------------------------------------------------------------------- TJSExtensionTest --------------------------------------------------------------------} IJSExtensionTest = interface(IJSObject) ['{DF005F20-D3AC-343D-B813-4A5A49449699}'] function _GetonMessage: IJSExtensionEventManager; procedure withHandlingUserInput(const aCallback: TFunction); procedure notifyFail(const aMessage: UnicodeString); procedure notifyPass(const aMessage: UnicodeString); procedure notifyPass; procedure log(const aMessage: UnicodeString); procedure sendMessage(const aArgs: Variant){; ToDo:varargs}; procedure fail(const aMessage: Variant); procedure fail; procedure succeed(const aMessage: Variant); procedure succeed; procedure assertTrue(const aArgs: Variant){; ToDo:varargs}; procedure assertFalse(const aArgs: Variant){; ToDo:varargs}; procedure assertDeepEq(const aArgs: Variant){; ToDo:varargs}; procedure assertEq(const aArgs: Variant){; ToDo:varargs}; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString; const aCallback: TFunction): Variant; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString): Variant; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aCallback: TFunction): Variant; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant): Variant; procedure assertThrows(const aFunc: TFunction; const aExpectedError: Variant; const aMessage: UnicodeString); procedure assertThrows(const aFunc: TFunction; const aExpectedError: Variant); property onMessage: IJSExtensionEventManager read _GetonMessage; end; TJSExtensionTest = class(TJSObject,IJSExtensionTest) Private Protected function _GetonMessage: IJSExtensionEventManager; Public procedure withHandlingUserInput(const aCallback: TFunction); overload; procedure notifyFail(const aMessage: UnicodeString); overload; procedure notifyPass(const aMessage: UnicodeString); overload; procedure notifyPass; overload; procedure log(const aMessage: UnicodeString); overload; procedure sendMessage(const aArgs: Variant){; ToDo:varargs}; overload; procedure fail(const aMessage: Variant); overload; procedure fail; overload; procedure succeed(const aMessage: Variant); overload; procedure succeed; overload; procedure assertTrue(const aArgs: Variant){; ToDo:varargs}; overload; procedure assertFalse(const aArgs: Variant){; ToDo:varargs}; overload; procedure assertDeepEq(const aArgs: Variant){; ToDo:varargs}; overload; procedure assertEq(const aArgs: Variant){; ToDo:varargs}; overload; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString; const aCallback: TFunction): Variant; overload; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString): Variant; overload; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aCallback: TFunction): Variant; overload; function assertRejects(aPromise: IJSPromise; const aExpectedError: Variant): Variant; overload; procedure assertThrows(const aFunc: TFunction; const aExpectedError: Variant; const aMessage: UnicodeString); overload; procedure assertThrows(const aFunc: TFunction; const aExpectedError: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtensionTest; property onMessage: IJSExtensionEventManager read _GetonMessage; end; { -------------------------------------------------------------------- TJSExternal --------------------------------------------------------------------} IJSExternal = interface(IJSObject) ['{AE84D490-C574-34AC-B627-56DF6C7C5B5E}'] procedure AddSearchProvider; procedure IsSearchProviderInstalled; end; TJSExternal = class(TJSObject,IJSExternal) Private Protected Public procedure AddSearchProvider; overload; procedure IsSearchProviderInstalled; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExternal; end; { -------------------------------------------------------------------- TJSFeaturePolicy --------------------------------------------------------------------} IJSFeaturePolicy = interface(IJSObject) ['{846F2349-EAB9-389B-A9E3-819D564F136E}'] function allowsFeature(const aFeature: UnicodeString; const aOrigin: UnicodeString): Boolean; function allowsFeature(const aFeature: UnicodeString): Boolean; function features: TUnicodeStringDynArray; function allowedFeatures: TUnicodeStringDynArray; function getAllowlistForFeature(const aFeature: UnicodeString): TUnicodeStringDynArray; end; TJSFeaturePolicy = class(TJSObject,IJSFeaturePolicy) Private Protected Public function allowsFeature(const aFeature: UnicodeString; const aOrigin: UnicodeString): Boolean; overload; function allowsFeature(const aFeature: UnicodeString): Boolean; overload; function features: TUnicodeStringDynArray; overload; function allowedFeatures: TUnicodeStringDynArray; overload; function getAllowlistForFeature(const aFeature: UnicodeString): TUnicodeStringDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFeaturePolicy; end; { -------------------------------------------------------------------- TJSBody --------------------------------------------------------------------} IJSBody = interface(IJSObject) ['{71627F30-F081-31B2-A3C2-703943ACC667}'] function _GetbodyUsed: Boolean; function arrayBuffer: IJSPromise; // Promise function blob: IJSPromise; // Promise function formData: IJSPromise; // Promise function json: IJSPromise; // Promise function text: IJSPromise; // Promise property bodyUsed: Boolean read _GetbodyUsed; end; TJSBody = class(TJSObject,IJSBody) Private Protected function _GetbodyUsed: Boolean; Public function arrayBuffer: IJSPromise; overload; // Promise function blob: IJSPromise; overload; // Promise function formData: IJSPromise; overload; // Promise function json: IJSPromise; overload; // Promise function text: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBody; property bodyUsed: Boolean read _GetbodyUsed; end; { -------------------------------------------------------------------- TJSnsIFile --------------------------------------------------------------------} IJSnsIFile = interface(IJSObject) ['{BE81BA80-7C79-33E0-B134-445241194965}'] end; TJSnsIFile = class(TJSObject,IJSnsIFile) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIFile; end; { -------------------------------------------------------------------- TJSFileList --------------------------------------------------------------------} IJSFileList = interface(IJSObject) ['{488F4C5A-7B13-3E7A-9A09-8A3EED528BC7}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSFile; property length_: Cardinal read _Getlength_; end; TJSFileList = class(TJSObject,IJSFileList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSFile; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSFileReaderSync --------------------------------------------------------------------} IJSFileReaderSync = interface(IJSObject) ['{06D2D09E-616E-34B8-B772-00E797C373FE}'] function readAsArrayBuffer(aBlob: IJSBlob): IJSArrayBuffer; function readAsBinaryString(aBlob: IJSBlob): UnicodeString; function readAsText(aBlob: IJSBlob; const aEncoding: UnicodeString): UnicodeString; function readAsText(aBlob: IJSBlob): UnicodeString; function readAsDataURL(aBlob: IJSBlob): UnicodeString; end; TJSFileReaderSync = class(TJSObject,IJSFileReaderSync) Private Protected Public constructor Create; overload; function readAsArrayBuffer(aBlob: IJSBlob): IJSArrayBuffer; overload; function readAsBinaryString(aBlob: IJSBlob): UnicodeString; overload; function readAsText(aBlob: IJSBlob; const aEncoding: UnicodeString): UnicodeString; overload; function readAsText(aBlob: IJSBlob): UnicodeString; overload; function readAsDataURL(aBlob: IJSBlob): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileReaderSync; end; { -------------------------------------------------------------------- TJSFileSystem --------------------------------------------------------------------} IJSFileSystem = interface(IJSObject) ['{18FE59D4-4755-321C-9D11-0E9A11AD12B1}'] function _Getname: UnicodeString; function _Getroot: IJSFileSystemDirectoryEntry; property name: UnicodeString read _Getname; property root: IJSFileSystemDirectoryEntry read _Getroot; end; TJSFileSystem = class(TJSObject,IJSFileSystem) Private Protected function _Getname: UnicodeString; function _Getroot: IJSFileSystemDirectoryEntry; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystem; property name: UnicodeString read _Getname; property root: IJSFileSystemDirectoryEntry read _Getroot; end; { -------------------------------------------------------------------- TJSFileSystemDirectoryIterator --------------------------------------------------------------------} IJSFileSystemDirectoryIterator = interface(IJSObject) ['{F8D8CEBF-F607-31DB-BEC3-D5637F2FFD51}'] function next: IJSPromise; // Promise end; TJSFileSystemDirectoryIterator = class(TJSObject,IJSFileSystemDirectoryIterator) Private Protected Public function next: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemDirectoryIterator; end; { -------------------------------------------------------------------- TJSFileSystemDirectoryReader --------------------------------------------------------------------} IJSFileSystemDirectoryReader = interface(IJSObject) ['{012F8DD6-A32E-3129-A2E4-19053F93DA75}'] procedure readEntries(const aSuccessCallback: TFileSystemEntriesCallback; const aErrorCallback: TErrorCallback); procedure readEntries(const aSuccessCallback: TFileSystemEntriesCallback); end; TJSFileSystemDirectoryReader = class(TJSObject,IJSFileSystemDirectoryReader) Private Protected Public procedure readEntries(const aSuccessCallback: TFileSystemEntriesCallback; const aErrorCallback: TErrorCallback); overload; procedure readEntries(const aSuccessCallback: TFileSystemEntriesCallback); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemDirectoryReader; end; { -------------------------------------------------------------------- TJSFileSystemEntry --------------------------------------------------------------------} IJSFileSystemEntry = interface(IJSObject) ['{5BEE87E9-67F9-3987-98A3-A4E050626A39}'] function _GetisFile: Boolean; function _GetisDirectory: Boolean; function _Getname: UnicodeString; function _GetfullPath: UnicodeString; function _Getfilesystem: IJSFileSystem; procedure getParent(const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); procedure getParent; procedure getParent(const aSuccessCallback: TFileSystemEntryCallback); property isFile: Boolean read _GetisFile; property isDirectory: Boolean read _GetisDirectory; property name: UnicodeString read _Getname; property fullPath: UnicodeString read _GetfullPath; property filesystem: IJSFileSystem read _Getfilesystem; end; TJSFileSystemEntry = class(TJSObject,IJSFileSystemEntry) Private Protected function _GetisFile: Boolean; function _GetisDirectory: Boolean; function _Getname: UnicodeString; function _GetfullPath: UnicodeString; function _Getfilesystem: IJSFileSystem; Public procedure getParent(const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); overload; procedure getParent; overload; procedure getParent(const aSuccessCallback: TFileSystemEntryCallback); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemEntry; property isFile: Boolean read _GetisFile; property isDirectory: Boolean read _GetisDirectory; property name: UnicodeString read _Getname; property fullPath: UnicodeString read _GetfullPath; property filesystem: IJSFileSystem read _Getfilesystem; end; { -------------------------------------------------------------------- TJSFileSystemHandle --------------------------------------------------------------------} IJSFileSystemHandle = interface(IJSObject) ['{4AE4D2AC-DFE6-315D-B8E8-8B87D83A60EF}'] function _Getkind: TFileSystemHandleKind; function _Getname: UnicodeString; function move(const aName: UnicodeString): IJSPromise; // Promise function move(aParent: IJSFileSystemDirectoryHandle): IJSPromise; // Promise function move(aParent: IJSFileSystemDirectoryHandle; const aName: UnicodeString): IJSPromise; // Promise function isSameEntry(aOther: IJSFileSystemHandle): IJSPromise; // Promise property kind: TFileSystemHandleKind read _Getkind; property name: UnicodeString read _Getname; end; TJSFileSystemHandle = class(TJSObject,IJSFileSystemHandle) Private Protected function _Getkind: TFileSystemHandleKind; function _Getname: UnicodeString; Public function move(const aName: UnicodeString): IJSPromise; overload; // Promise function move(aParent: IJSFileSystemDirectoryHandle): IJSPromise; overload; // Promise function move(aParent: IJSFileSystemDirectoryHandle; const aName: UnicodeString): IJSPromise; overload; // Promise function isSameEntry(aOther: IJSFileSystemHandle): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemHandle; property kind: TFileSystemHandleKind read _Getkind; property name: UnicodeString read _Getname; end; { -------------------------------------------------------------------- TJSFileSystemSyncAccessHandle --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TFileSystemSyncAccessHandle_read_buffer_Type = Variant; // Union of ArrayBufferView, ArrayBuffer TFileSystemSyncAccessHandle_write_buffer_Type = Variant; IJSFileSystemSyncAccessHandle = interface(IJSObject) ['{64CD14B4-44A2-3112-8207-C82EC437D34E}'] function read(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; function read(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; function read(aBuffer: IJSArrayBufferView): QWord; function read(aBuffer: IJSArrayBuffer): QWord; function write(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; function write(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; function write(aBuffer: IJSArrayBufferView): QWord; function write(aBuffer: IJSArrayBuffer): QWord; procedure truncate(aSize: QWord); function getSize: QWord; procedure flush; procedure close; end; TJSFileSystemSyncAccessHandle = class(TJSObject,IJSFileSystemSyncAccessHandle) Private Protected Public function read(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; overload; function read(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; overload; function read(aBuffer: IJSArrayBufferView): QWord; overload; function read(aBuffer: IJSArrayBuffer): QWord; overload; function write(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; overload; function write(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; overload; function write(aBuffer: IJSArrayBufferView): QWord; overload; function write(aBuffer: IJSArrayBuffer): QWord; overload; procedure truncate(aSize: QWord); overload; function getSize: QWord; overload; procedure flush; overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemSyncAccessHandle; end; { -------------------------------------------------------------------- TJSFontFace --------------------------------------------------------------------} // Union of UTF8String, BinaryData TFontFace_New_source_Type = Variant; IJSFontFace = interface(IJSObject) ['{BB941FF5-D536-372D-8FFE-14119DDDAC27}'] function _Getfamily: UTF8String; function _Getstyle: UTF8String; function _Getweight: UTF8String; function _Getstretch: UTF8String; function _GetunicodeRange: UTF8String; function _Getvariant: UTF8String; function _GetfeatureSettings: UTF8String; function _GetvariationSettings: UTF8String; function _Getdisplay: UTF8String; function _GetascentOverride: UTF8String; function _GetdescentOverride: UTF8String; function _GetlineGapOverride: UTF8String; function _GetsizeAdjust: UTF8String; function _Getstatus: TFontFaceLoadStatus; function _Getloaded: IJSPromise; procedure _Setfamily(const aValue: UTF8String); procedure _Setstyle(const aValue: UTF8String); procedure _Setweight(const aValue: UTF8String); procedure _Setstretch(const aValue: UTF8String); procedure _SetunicodeRange(const aValue: UTF8String); procedure _Setvariant(const aValue: UTF8String); procedure _SetfeatureSettings(const aValue: UTF8String); procedure _SetvariationSettings(const aValue: UTF8String); procedure _Setdisplay(const aValue: UTF8String); procedure _SetascentOverride(const aValue: UTF8String); procedure _SetdescentOverride(const aValue: UTF8String); procedure _SetlineGapOverride(const aValue: UTF8String); procedure _SetsizeAdjust(const aValue: UTF8String); function load: IJSPromise; // Promise property family: UTF8String read _Getfamily write _Setfamily; property style: UTF8String read _Getstyle write _Setstyle; property weight: UTF8String read _Getweight write _Setweight; property stretch: UTF8String read _Getstretch write _Setstretch; property unicodeRange: UTF8String read _GetunicodeRange write _SetunicodeRange; property variant: UTF8String read _Getvariant write _Setvariant; property featureSettings: UTF8String read _GetfeatureSettings write _SetfeatureSettings; property variationSettings: UTF8String read _GetvariationSettings write _SetvariationSettings; property display: UTF8String read _Getdisplay write _Setdisplay; property ascentOverride: UTF8String read _GetascentOverride write _SetascentOverride; property descentOverride: UTF8String read _GetdescentOverride write _SetdescentOverride; property lineGapOverride: UTF8String read _GetlineGapOverride write _SetlineGapOverride; property sizeAdjust: UTF8String read _GetsizeAdjust write _SetsizeAdjust; property status: TFontFaceLoadStatus read _Getstatus; property loaded: IJSPromise read _Getloaded; end; TJSFontFace = class(TJSObject,IJSFontFace) Private Protected function _Getfamily: UTF8String; function _Getstyle: UTF8String; function _Getweight: UTF8String; function _Getstretch: UTF8String; function _GetunicodeRange: UTF8String; function _Getvariant: UTF8String; function _GetfeatureSettings: UTF8String; function _GetvariationSettings: UTF8String; function _Getdisplay: UTF8String; function _GetascentOverride: UTF8String; function _GetdescentOverride: UTF8String; function _GetlineGapOverride: UTF8String; function _GetsizeAdjust: UTF8String; function _Getstatus: TFontFaceLoadStatus; function _Getloaded: IJSPromise; procedure _Setfamily(const aValue: UTF8String); procedure _Setstyle(const aValue: UTF8String); procedure _Setweight(const aValue: UTF8String); procedure _Setstretch(const aValue: UTF8String); procedure _SetunicodeRange(const aValue: UTF8String); procedure _Setvariant(const aValue: UTF8String); procedure _SetfeatureSettings(const aValue: UTF8String); procedure _SetvariationSettings(const aValue: UTF8String); procedure _Setdisplay(const aValue: UTF8String); procedure _SetascentOverride(const aValue: UTF8String); procedure _SetdescentOverride(const aValue: UTF8String); procedure _SetlineGapOverride(const aValue: UTF8String); procedure _SetsizeAdjust(const aValue: UTF8String); Public constructor Create(const aFamily: UTF8String; const aSource: TBinaryData; const aDescriptors: IJSFontFaceDescriptors); overload; constructor Create(const aFamily: UTF8String; const aSource: UTF8String; const aDescriptors: IJSFontFaceDescriptors); overload; constructor Create(const aFamily: UTF8String; const aSource: UTF8String); overload; constructor Create(const aFamily: UTF8String; const aSource: TBinaryData); overload; function load: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFace; property family: UTF8String read _Getfamily write _Setfamily; property style: UTF8String read _Getstyle write _Setstyle; property weight: UTF8String read _Getweight write _Setweight; property stretch: UTF8String read _Getstretch write _Setstretch; property unicodeRange: UTF8String read _GetunicodeRange write _SetunicodeRange; property variant: UTF8String read _Getvariant write _Setvariant; property featureSettings: UTF8String read _GetfeatureSettings write _SetfeatureSettings; property variationSettings: UTF8String read _GetvariationSettings write _SetvariationSettings; property display: UTF8String read _Getdisplay write _Setdisplay; property ascentOverride: UTF8String read _GetascentOverride write _SetascentOverride; property descentOverride: UTF8String read _GetdescentOverride write _SetdescentOverride; property lineGapOverride: UTF8String read _GetlineGapOverride write _SetlineGapOverride; property sizeAdjust: UTF8String read _GetsizeAdjust write _SetsizeAdjust; property status: TFontFaceLoadStatus read _Getstatus; property loaded: IJSPromise read _Getloaded; end; { -------------------------------------------------------------------- TJSFontFaceSetIterator --------------------------------------------------------------------} IJSFontFaceSetIterator = interface(IJSObject) ['{7D9DEC67-F7B5-34B8-9BFD-519DAC3A8302}'] function next: IJSFontFaceSetIteratorResult; end; TJSFontFaceSetIterator = class(TJSObject,IJSFontFaceSetIterator) Private Protected Public function next: IJSFontFaceSetIteratorResult; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSetIterator; end; { -------------------------------------------------------------------- TJSFontFaceSource --------------------------------------------------------------------} IJSFontFaceSource = interface(IJSObject) ['{051E8561-99AB-3181-8B0E-03A312E0314C}'] function _Getfonts: IJSFontFaceSet; property fonts: IJSFontFaceSet read _Getfonts; end; TJSFontFaceSource = class(TJSObject,IJSFontFaceSource) Private Protected function _Getfonts: IJSFontFaceSet; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSource; property fonts: IJSFontFaceSet read _Getfonts; end; { -------------------------------------------------------------------- TJSFormData --------------------------------------------------------------------} TFormDataEntryValueDynArray = IJSArray; // array of FormDataEntryValue IJSFormData = interface(IJSObject) ['{2E99E2FA-2016-3D80-95F1-0B04E8B02321}'] procedure append(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); procedure append(const aName: UnicodeString; aValue: IJSBlob); procedure append(const aName: UnicodeString; const aValue: UnicodeString); procedure delete(const aName: UnicodeString); function get(const aName: UnicodeString): TFormDataEntryValue; function getAll(const aName: UnicodeString): TFormDataEntryValueDynArray; function has(const aName: UnicodeString): Boolean; procedure set_(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); procedure set_(const aName: UnicodeString; aValue: IJSBlob); procedure set_(const aName: UnicodeString; const aValue: UnicodeString); end; TJSFormData = class(TJSObject,IJSFormData) Private Protected Public constructor Create(aForm: IJSHTMLFormElement; aSubmitter: IJSHTMLElement); overload; constructor Create; overload; constructor Create(aForm: IJSHTMLFormElement); overload; procedure append(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); overload; procedure append(const aName: UnicodeString; aValue: IJSBlob); overload; procedure append(const aName: UnicodeString; const aValue: UnicodeString); overload; procedure delete(const aName: UnicodeString); overload; function get(const aName: UnicodeString): TFormDataEntryValue; overload; function getAll(const aName: UnicodeString): TFormDataEntryValueDynArray; overload; function has(const aName: UnicodeString): Boolean; overload; procedure set_(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); overload; procedure set_(const aName: UnicodeString; aValue: IJSBlob); overload; procedure set_(const aName: UnicodeString; const aValue: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFormData; end; { -------------------------------------------------------------------- TJSFragmentDirective --------------------------------------------------------------------} IJSFragmentDirective = interface(IJSObject) ['{2B7D2955-9F1C-3389-B938-0EF260F8698D}'] end; TJSFragmentDirective = class(TJSObject,IJSFragmentDirective) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFragmentDirective; end; { -------------------------------------------------------------------- TJSGamepadButton --------------------------------------------------------------------} IJSGamepadButton = interface(IJSObject) ['{A7D2F05B-787C-3AE3-922F-1FB0AE5E43A8}'] function _Getpressed: Boolean; function _Gettouched: Boolean; function _Getvalue: Double; property pressed: Boolean read _Getpressed; property touched: Boolean read _Gettouched; property value: Double read _Getvalue; end; TJSGamepadButton = class(TJSObject,IJSGamepadButton) Private Protected function _Getpressed: Boolean; function _Gettouched: Boolean; function _Getvalue: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadButton; property pressed: Boolean read _Getpressed; property touched: Boolean read _Gettouched; property value: Double read _Getvalue; end; { -------------------------------------------------------------------- TJSGamepad --------------------------------------------------------------------} TJSGamepadButtonDynArray = IJSArray; // array of GamepadButton TJSGamepadHapticActuatorDynArray = IJSArray; // array of GamepadHapticActuator TJSGamepadLightIndicatorDynArray = IJSArray; // array of GamepadLightIndicator TJSGamepadTouchDynArray = IJSArray; // array of GamepadTouch IJSGamepad = interface(IJSObject) ['{86D4DA35-A9E3-3F7B-AC32-367CBD7AA26B}'] function _Getid: UnicodeString; function _Getindex: LongInt; function _Getmapping: TGamepadMappingType; function _Gethand: TGamepadHand; function _GetdisplayId: Cardinal; function _Getconnected: Boolean; function _Getbuttons: TJSGamepadButtonDynArray; function _Getaxes: TDoubleDynArray; function _Gettimestamp: TDOMHighResTimeStamp; function _Getpose: IJSGamepadPose; function _GethapticActuators: TJSGamepadHapticActuatorDynArray; function _GetlightIndicators: TJSGamepadLightIndicatorDynArray; function _GettouchEvents: TJSGamepadTouchDynArray; property id: UnicodeString read _Getid; property index: LongInt read _Getindex; property mapping: TGamepadMappingType read _Getmapping; property hand: TGamepadHand read _Gethand; property displayId: Cardinal read _GetdisplayId; property connected: Boolean read _Getconnected; property buttons: TJSGamepadButtonDynArray read _Getbuttons; property axes: TDoubleDynArray read _Getaxes; property timestamp: TDOMHighResTimeStamp read _Gettimestamp; property pose: IJSGamepadPose read _Getpose; property hapticActuators: TJSGamepadHapticActuatorDynArray read _GethapticActuators; property lightIndicators: TJSGamepadLightIndicatorDynArray read _GetlightIndicators; property touchEvents: TJSGamepadTouchDynArray read _GettouchEvents; end; TJSGamepad = class(TJSObject,IJSGamepad) Private Protected function _Getid: UnicodeString; function _Getindex: LongInt; function _Getmapping: TGamepadMappingType; function _Gethand: TGamepadHand; function _GetdisplayId: Cardinal; function _Getconnected: Boolean; function _Getbuttons: TJSGamepadButtonDynArray; function _Getaxes: TDoubleDynArray; function _Gettimestamp: TDOMHighResTimeStamp; function _Getpose: IJSGamepadPose; function _GethapticActuators: TJSGamepadHapticActuatorDynArray; function _GetlightIndicators: TJSGamepadLightIndicatorDynArray; function _GettouchEvents: TJSGamepadTouchDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepad; property id: UnicodeString read _Getid; property index: LongInt read _Getindex; property mapping: TGamepadMappingType read _Getmapping; property hand: TGamepadHand read _Gethand; property displayId: Cardinal read _GetdisplayId; property connected: Boolean read _Getconnected; property buttons: TJSGamepadButtonDynArray read _Getbuttons; property axes: TDoubleDynArray read _Getaxes; property timestamp: TDOMHighResTimeStamp read _Gettimestamp; property pose: IJSGamepadPose read _Getpose; property hapticActuators: TJSGamepadHapticActuatorDynArray read _GethapticActuators; property lightIndicators: TJSGamepadLightIndicatorDynArray read _GetlightIndicators; property touchEvents: TJSGamepadTouchDynArray read _GettouchEvents; end; { -------------------------------------------------------------------- TJSGamepadHapticActuator --------------------------------------------------------------------} IJSGamepadHapticActuator = interface(IJSObject) ['{ECF9152F-5871-3C7B-881F-2A80BED2DB7B}'] function _Gettype_: TGamepadHapticActuatorType; function pulse(aValue: Double; aDuration: Double): IJSPromise; // Promise property type_: TGamepadHapticActuatorType read _Gettype_; end; TJSGamepadHapticActuator = class(TJSObject,IJSGamepadHapticActuator) Private Protected function _Gettype_: TGamepadHapticActuatorType; Public function pulse(aValue: Double; aDuration: Double): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadHapticActuator; property type_: TGamepadHapticActuatorType read _Gettype_; end; { -------------------------------------------------------------------- TJSGamepadLightIndicator --------------------------------------------------------------------} IJSGamepadLightIndicator = interface(IJSObject) ['{DFBD90D2-91E7-3377-A46B-14739EFBBB68}'] function _Gettype_: TGamepadLightIndicatorType; function setColor(const aColor: IJSGamepadLightColor): IJSPromise; // Promise property type_: TGamepadLightIndicatorType read _Gettype_; end; TJSGamepadLightIndicator = class(TJSObject,IJSGamepadLightIndicator) Private Protected function _Gettype_: TGamepadLightIndicatorType; Public function setColor(const aColor: IJSGamepadLightColor): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadLightIndicator; property type_: TGamepadLightIndicatorType read _Gettype_; end; { -------------------------------------------------------------------- TJSGamepadPose --------------------------------------------------------------------} IJSGamepadPose = interface(IJSObject) ['{78FB0E20-331B-3F93-A35B-A2DB6BC6B74B}'] function _GethasOrientation: Boolean; function _GethasPosition: Boolean; function _Getposition: IJSFloat32Array; function _GetlinearVelocity: IJSFloat32Array; function _GetlinearAcceleration: IJSFloat32Array; function _Getorientation: IJSFloat32Array; function _GetangularVelocity: IJSFloat32Array; function _GetangularAcceleration: IJSFloat32Array; property hasOrientation: Boolean read _GethasOrientation; property hasPosition: Boolean read _GethasPosition; property position: IJSFloat32Array read _Getposition; property linearVelocity: IJSFloat32Array read _GetlinearVelocity; property linearAcceleration: IJSFloat32Array read _GetlinearAcceleration; property orientation: IJSFloat32Array read _Getorientation; property angularVelocity: IJSFloat32Array read _GetangularVelocity; property angularAcceleration: IJSFloat32Array read _GetangularAcceleration; end; TJSGamepadPose = class(TJSObject,IJSGamepadPose) Private Protected function _GethasOrientation: Boolean; function _GethasPosition: Boolean; function _Getposition: IJSFloat32Array; function _GetlinearVelocity: IJSFloat32Array; function _GetlinearAcceleration: IJSFloat32Array; function _Getorientation: IJSFloat32Array; function _GetangularVelocity: IJSFloat32Array; function _GetangularAcceleration: IJSFloat32Array; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadPose; property hasOrientation: Boolean read _GethasOrientation; property hasPosition: Boolean read _GethasPosition; property position: IJSFloat32Array read _Getposition; property linearVelocity: IJSFloat32Array read _GetlinearVelocity; property linearAcceleration: IJSFloat32Array read _GetlinearAcceleration; property orientation: IJSFloat32Array read _Getorientation; property angularVelocity: IJSFloat32Array read _GetangularVelocity; property angularAcceleration: IJSFloat32Array read _GetangularAcceleration; end; { -------------------------------------------------------------------- TJSGamepadServiceTest --------------------------------------------------------------------} IJSGamepadServiceTest = interface(IJSObject) ['{38264F34-F0E1-398E-967C-92509F869280}'] function _GetnoMapping: TGamepadMappingType; function _GetstandardMapping: TGamepadMappingType; function _GetnoHand: TGamepadHand; function _GetleftHand: TGamepadHand; function _GetrightHand: TGamepadHand; function addGamepad(const aId: UnicodeString; aMapping: TGamepadMappingType; aHand: TGamepadHand; aNumButtons: Cardinal; aNumAxes: Cardinal; aNumHaptics: Cardinal; aNumLightIndicator: Cardinal; aNumTouchEvents: Cardinal): IJSPromise; // Promise function removeGamepad(aIndex: Cardinal): IJSPromise; // Promise function newButtonEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean): IJSPromise; // Promise function newButtonValueEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean; aValue: Double): IJSPromise; // Promise function newAxisMoveEvent(aIndex: Cardinal; aAxis: Cardinal; aValue: Double): IJSPromise; // Promise function newPoseMove(aIndex: Cardinal; aOrient: IJSFloat32Array; aPos: IJSFloat32Array; aAngVelocity: IJSFloat32Array; aAngAcceleration: IJSFloat32Array; aLinVelocity: IJSFloat32Array; aLinAcceleration: IJSFloat32Array): IJSPromise; // Promise function newTouch(aIndex: Cardinal; aATouchArrayIndex: Cardinal; aTouchId: Cardinal; aSurfaceId: Byte; aPosition: IJSFloat32Array; aSurfaceDimension: IJSFloat32Array): IJSPromise; // Promise property noMapping: TGamepadMappingType read _GetnoMapping; property standardMapping: TGamepadMappingType read _GetstandardMapping; property noHand: TGamepadHand read _GetnoHand; property leftHand: TGamepadHand read _GetleftHand; property rightHand: TGamepadHand read _GetrightHand; end; TJSGamepadServiceTest = class(TJSObject,IJSGamepadServiceTest) Private Protected function _GetnoMapping: TGamepadMappingType; function _GetstandardMapping: TGamepadMappingType; function _GetnoHand: TGamepadHand; function _GetleftHand: TGamepadHand; function _GetrightHand: TGamepadHand; Public function addGamepad(const aId: UnicodeString; aMapping: TGamepadMappingType; aHand: TGamepadHand; aNumButtons: Cardinal; aNumAxes: Cardinal; aNumHaptics: Cardinal; aNumLightIndicator: Cardinal; aNumTouchEvents: Cardinal): IJSPromise; overload; // Promise function removeGamepad(aIndex: Cardinal): IJSPromise; overload; // Promise function newButtonEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean): IJSPromise; overload; // Promise function newButtonValueEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean; aValue: Double): IJSPromise; overload; // Promise function newAxisMoveEvent(aIndex: Cardinal; aAxis: Cardinal; aValue: Double): IJSPromise; overload; // Promise function newPoseMove(aIndex: Cardinal; aOrient: IJSFloat32Array; aPos: IJSFloat32Array; aAngVelocity: IJSFloat32Array; aAngAcceleration: IJSFloat32Array; aLinVelocity: IJSFloat32Array; aLinAcceleration: IJSFloat32Array): IJSPromise; overload; // Promise function newTouch(aIndex: Cardinal; aATouchArrayIndex: Cardinal; aTouchId: Cardinal; aSurfaceId: Byte; aPosition: IJSFloat32Array; aSurfaceDimension: IJSFloat32Array): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadServiceTest; property noMapping: TGamepadMappingType read _GetnoMapping; property standardMapping: TGamepadMappingType read _GetstandardMapping; property noHand: TGamepadHand read _GetnoHand; property leftHand: TGamepadHand read _GetleftHand; property rightHand: TGamepadHand read _GetrightHand; end; { -------------------------------------------------------------------- TJSGamepadTouch --------------------------------------------------------------------} IJSGamepadTouch = interface(IJSObject) ['{C878D030-C810-3B5C-BE43-2B38CA13748B}'] function _GettouchId: Cardinal; function _GetsurfaceId: Byte; function _Getposition: IJSFloat32Array; function _GetsurfaceDimensions: IJSUint32Array; property touchId: Cardinal read _GettouchId; property surfaceId: Byte read _GetsurfaceId; property position: IJSFloat32Array read _Getposition; property surfaceDimensions: IJSUint32Array read _GetsurfaceDimensions; end; TJSGamepadTouch = class(TJSObject,IJSGamepadTouch) Private Protected function _GettouchId: Cardinal; function _GetsurfaceId: Byte; function _Getposition: IJSFloat32Array; function _GetsurfaceDimensions: IJSUint32Array; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadTouch; property touchId: Cardinal read _GettouchId; property surfaceId: Byte read _GetsurfaceId; property position: IJSFloat32Array read _Getposition; property surfaceDimensions: IJSUint32Array read _GetsurfaceDimensions; end; { -------------------------------------------------------------------- TJSGenericTransformStream --------------------------------------------------------------------} IJSGenericTransformStream = interface(IJSObject) ['{B2FEE35B-1DAE-3285-AAAB-5C07EEF061AF}'] function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; TJSGenericTransformStream = class(TJSObject,IJSGenericTransformStream) Private Protected function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGenericTransformStream; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; { -------------------------------------------------------------------- TJSGeolocation --------------------------------------------------------------------} IJSGeolocation = interface(IJSObject) ['{ABE39DB4-7BA5-3EC5-99DB-19561869122F}'] procedure getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions); procedure getCurrentPosition(const aSuccessCallback: TPositionCallback); procedure getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback); function watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions): LongInt; function watchPosition(const aSuccessCallback: TPositionCallback): LongInt; function watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback): LongInt; procedure clearWatch(aWatchId: LongInt); end; TJSGeolocation = class(TJSObject,IJSGeolocation) Private Protected Public procedure getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions); overload; procedure getCurrentPosition(const aSuccessCallback: TPositionCallback); overload; procedure getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback); overload; function watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions): LongInt; overload; function watchPosition(const aSuccessCallback: TPositionCallback): LongInt; overload; function watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback): LongInt; overload; procedure clearWatch(aWatchId: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGeolocation; end; { -------------------------------------------------------------------- TJSGeolocationCoordinates --------------------------------------------------------------------} IJSGeolocationCoordinates = interface(IJSObject) ['{6823DE7C-8A5C-39CD-83AE-9AAB4E048C77}'] function _Getlatitude: Double; function _Getlongitude: Double; function _Getaltitude: Double; function _Getaccuracy: Double; function _GetaltitudeAccuracy: Double; function _Getheading: Double; function _Getspeed: Double; property latitude: Double read _Getlatitude; property longitude: Double read _Getlongitude; property altitude: Double read _Getaltitude; property accuracy: Double read _Getaccuracy; property altitudeAccuracy: Double read _GetaltitudeAccuracy; property heading: Double read _Getheading; property speed: Double read _Getspeed; end; TJSGeolocationCoordinates = class(TJSObject,IJSGeolocationCoordinates) Private Protected function _Getlatitude: Double; function _Getlongitude: Double; function _Getaltitude: Double; function _Getaccuracy: Double; function _GetaltitudeAccuracy: Double; function _Getheading: Double; function _Getspeed: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGeolocationCoordinates; property latitude: Double read _Getlatitude; property longitude: Double read _Getlongitude; property altitude: Double read _Getaltitude; property accuracy: Double read _Getaccuracy; property altitudeAccuracy: Double read _GetaltitudeAccuracy; property heading: Double read _Getheading; property speed: Double read _Getspeed; end; { -------------------------------------------------------------------- TJSGeolocationPosition --------------------------------------------------------------------} IJSGeolocationPosition = interface(IJSObject) ['{D49B81AB-4A6C-3547-9127-99263F0DA90A}'] function _Getcoords: IJSGeolocationCoordinates; function _Gettimestamp: TEpochTimeStamp; property coords: IJSGeolocationCoordinates read _Getcoords; property timestamp: TEpochTimeStamp read _Gettimestamp; end; TJSGeolocationPosition = class(TJSObject,IJSGeolocationPosition) Private Protected function _Getcoords: IJSGeolocationCoordinates; function _Gettimestamp: TEpochTimeStamp; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGeolocationPosition; property coords: IJSGeolocationCoordinates read _Getcoords; property timestamp: TEpochTimeStamp read _Gettimestamp; end; { -------------------------------------------------------------------- TJSGeolocationPositionError --------------------------------------------------------------------} IJSGeolocationPositionError = interface(IJSObject) ['{7D5D84D2-6F3E-392A-A60E-D2D9A9888A04}'] function _Getcode: Word; function _Getmessage: UnicodeString; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; TJSGeolocationPositionError = class(TJSObject,IJSGeolocationPositionError) Private Protected function _Getcode: Word; function _Getmessage: UnicodeString; Public Const PERMISSION_DENIED = 1; POSITION_UNAVAILABLE = 2; TIMEOUT = 3; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGeolocationPositionError; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSGeometryUtils --------------------------------------------------------------------} TJSDOMQuadDynArray = IJSArray; // array of DOMQuad IJSGeometryUtils = interface(IJSObject) ['{09422898-B09C-3FFF-A43C-8D49EFA031F4}'] function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; function getBoxQuads: TJSDOMQuadDynArray; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; end; TJSGeometryUtils = class(TJSObject,IJSGeometryUtils) Private Protected Public function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; overload; function getBoxQuads: TJSDOMQuadDynArray; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGeometryUtils; end; { -------------------------------------------------------------------- TJSnsIMediaDevice --------------------------------------------------------------------} IJSnsIMediaDevice = interface(IJSObject) ['{A28E4217-B0C4-388C-8EE3-307C3446E5A9}'] end; TJSnsIMediaDevice = class(TJSObject,IJSnsIMediaDevice) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIMediaDevice; end; { -------------------------------------------------------------------- TJSGetUserMediaRequest --------------------------------------------------------------------} TJSnsIMediaDeviceDynArray = IJSArray; // array of nsIMediaDevice IJSGetUserMediaRequest = interface(IJSObject) ['{752F62F9-194F-3980-804B-A9B976FF6840}'] function _Gettype_: TGetUserMediaRequestType; function _GetwindowID: QWord; function _GetinnerWindowID: QWord; function _GetcallID: UnicodeString; function _GetrawID: UnicodeString; function _GetmediaSource: UnicodeString; function _Getdevices: TJSnsIMediaDeviceDynArray; function _GetisSecure: Boolean; function _GetisHandlingUserInput: Boolean; function getConstraints: IJSMediaStreamConstraints; function getAudioOutputOptions: IJSAudioOutputOptions; property type_: TGetUserMediaRequestType read _Gettype_; property windowID: QWord read _GetwindowID; property innerWindowID: QWord read _GetinnerWindowID; property callID: UnicodeString read _GetcallID; property rawID: UnicodeString read _GetrawID; property mediaSource: UnicodeString read _GetmediaSource; property devices: TJSnsIMediaDeviceDynArray read _Getdevices; property isSecure: Boolean read _GetisSecure; property isHandlingUserInput: Boolean read _GetisHandlingUserInput; end; TJSGetUserMediaRequest = class(TJSObject,IJSGetUserMediaRequest) Private Protected function _Gettype_: TGetUserMediaRequestType; function _GetwindowID: QWord; function _GetinnerWindowID: QWord; function _GetcallID: UnicodeString; function _GetrawID: UnicodeString; function _GetmediaSource: UnicodeString; function _Getdevices: TJSnsIMediaDeviceDynArray; function _GetisSecure: Boolean; function _GetisHandlingUserInput: Boolean; Public function getConstraints: IJSMediaStreamConstraints; overload; function getAudioOutputOptions: IJSAudioOutputOptions; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGetUserMediaRequest; property type_: TGetUserMediaRequestType read _Gettype_; property windowID: QWord read _GetwindowID; property innerWindowID: QWord read _GetinnerWindowID; property callID: UnicodeString read _GetcallID; property rawID: UnicodeString read _GetrawID; property mediaSource: UnicodeString read _GetmediaSource; property devices: TJSnsIMediaDeviceDynArray read _Getdevices; property isSecure: Boolean read _GetisSecure; property isHandlingUserInput: Boolean read _GetisHandlingUserInput; end; { -------------------------------------------------------------------- TJSGleanCategory --------------------------------------------------------------------} IJSGleanCategory = interface(IJSObject) ['{668ED333-1E8A-30D8-96B9-0F86C7DC1248}'] function GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; end; TJSGleanCategory = class(TJSObject,IJSGleanCategory) Private Protected Public function GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanCategory; end; { -------------------------------------------------------------------- TJSGleanImpl --------------------------------------------------------------------} IJSGleanImpl = interface(IJSObject) ['{3382BB45-C3B7-36D0-B869-8DD15390C552}'] function GetDefault(const aIdentifier: UnicodeString): IJSGleanCategory; end; TJSGleanImpl = class(TJSObject,IJSGleanImpl) Private Protected Public function GetDefault(const aIdentifier: UnicodeString): IJSGleanCategory; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanImpl; end; { -------------------------------------------------------------------- TJSGleanLabeled --------------------------------------------------------------------} IJSGleanLabeled = interface(IJSObject) ['{E6CF594F-B8C8-3430-A0A0-F0D81AA2A621}'] function GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; end; TJSGleanLabeled = class(TJSObject,IJSGleanLabeled) Private Protected Public function GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanLabeled; end; { -------------------------------------------------------------------- TJSGleanMetric --------------------------------------------------------------------} IJSGleanMetric = interface(IJSObject) ['{EEDFFCE2-F78E-3384-903D-1A2372542131}'] end; TJSGleanMetric = class(TJSObject,IJSGleanMetric) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanMetric; end; { -------------------------------------------------------------------- TJSnsIGleanPing --------------------------------------------------------------------} IJSnsIGleanPing = interface(IJSObject) ['{E6D0CC5B-7690-3BDD-8400-F0D81AA2A621}'] end; TJSnsIGleanPing = class(TJSObject,IJSnsIGleanPing) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIGleanPing; end; { -------------------------------------------------------------------- TJSGleanPingsImpl --------------------------------------------------------------------} IJSGleanPingsImpl = interface(IJSObject) ['{A28DCF0A-3A24-35C4-9A70-687C3446E5A9}'] function GetDefault(const aIdentifier: UnicodeString): IJSnsIGleanPing; end; TJSGleanPingsImpl = class(TJSObject,IJSGleanPingsImpl) Private Protected Public function GetDefault(const aIdentifier: UnicodeString): IJSnsIGleanPing; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanPingsImpl; end; { -------------------------------------------------------------------- TJSHeaders --------------------------------------------------------------------} TsequenceDynArrayDynArray = IJSArray; // array of sequence IJSHeaders = interface(IJSObject) ['{6ACE26BF-C6B8-32F0-BB7A-D7441AEA0C68}'] procedure append(const aName: UnicodeString; const aValue: UnicodeString); procedure delete(const aName: UnicodeString); function get(const aName: UnicodeString): UnicodeString; function getSetCookie: TUnicodeStringDynArray; function has(const aName: UnicodeString): Boolean; procedure set_(const aName: UnicodeString; const aValue: UnicodeString); end; TJSHeaders = class(TJSObject,IJSHeaders) Private Protected Public constructor Create(aInit: IJSObject); overload; constructor Create; overload; constructor Create(const aInit: TsequenceDynArrayDynArray); overload; procedure append(const aName: UnicodeString; const aValue: UnicodeString); overload; procedure delete(const aName: UnicodeString); overload; function get(const aName: UnicodeString): UnicodeString; overload; function getSetCookie: TUnicodeStringDynArray; overload; function has(const aName: UnicodeString): Boolean; overload; procedure set_(const aName: UnicodeString; const aValue: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHeaders; end; { -------------------------------------------------------------------- TJSHighlight --------------------------------------------------------------------} IJSHighlight = interface(IJSObject) ['{D3434969-2CE5-3123-9B9C-2396AD322E90}'] function _Getpriority: LongInt; function _Gettype_: THighlightType; procedure _Setpriority(const aValue: LongInt); procedure _Settype_(const aValue: THighlightType); procedure add(aRange: IJSAbstractRange); procedure clear; function delete(aRange: IJSAbstractRange): Boolean; property priority: LongInt read _Getpriority write _Setpriority; property type_: THighlightType read _Gettype_ write _Settype_; end; TJSHighlight = class(TJSObject,IJSHighlight) Private Protected function _Getpriority: LongInt; function _Gettype_: THighlightType; procedure _Setpriority(const aValue: LongInt); procedure _Settype_(const aValue: THighlightType); Public constructor Create(aInitialRanges: IJSAbstractRange){; ToDo:varargs}; overload; procedure add(aRange: IJSAbstractRange); overload; procedure clear; overload; function delete(aRange: IJSAbstractRange): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHighlight; property priority: LongInt read _Getpriority write _Setpriority; property type_: THighlightType read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSHighlightRegistry --------------------------------------------------------------------} IJSHighlightRegistry = interface(IJSObject) ['{9DB95821-AAC4-3E7E-857E-0AC13ADD8E6B}'] function _Getsize : LongInt; function get(key: UnicodeString) : TJSHighlight; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure set_(const aKey: UnicodeString; aValue: IJSHighlight); procedure clear; function delete(const aKey: UnicodeString): Boolean; property size : LongInt read _Getsize; end; TJSHighlightRegistry = class(TJSObject,IJSHighlightRegistry) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : TJSHighlight; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure set_(const aKey: UnicodeString; aValue: IJSHighlight); overload; procedure clear; overload; function delete(const aKey: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHighlightRegistry; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSHistory --------------------------------------------------------------------} IJSHistory = interface(IJSObject) ['{B2F3EF44-D118-30A2-834F-526F84F0536B}'] function _Getlength_: Cardinal; function _GetscrollRestoration: TScrollRestoration; function _Getstate: Variant; procedure _SetscrollRestoration(const aValue: TScrollRestoration); procedure go(aDelta: LongInt); procedure go; procedure back; procedure forward; procedure pushState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); procedure pushState(const aData: Variant; const aTitle: UnicodeString); procedure replaceState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); procedure replaceState(const aData: Variant; const aTitle: UnicodeString); property length_: Cardinal read _Getlength_; property scrollRestoration: TScrollRestoration read _GetscrollRestoration write _SetscrollRestoration; property state: Variant read _Getstate; end; TJSHistory = class(TJSObject,IJSHistory) Private Protected function _Getlength_: Cardinal; function _GetscrollRestoration: TScrollRestoration; function _Getstate: Variant; procedure _SetscrollRestoration(const aValue: TScrollRestoration); Public procedure go(aDelta: LongInt); overload; procedure go; overload; procedure back; overload; procedure forward; overload; procedure pushState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); overload; procedure pushState(const aData: Variant; const aTitle: UnicodeString); overload; procedure replaceState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); overload; procedure replaceState(const aData: Variant; const aTitle: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHistory; property length_: Cardinal read _Getlength_; property scrollRestoration: TScrollRestoration read _GetscrollRestoration write _SetscrollRestoration; property state: Variant read _Getstate; end; { -------------------------------------------------------------------- TJSHTMLAllCollection --------------------------------------------------------------------} // Union of HTMLCollection, Element THTMLAllCollection_namedItem_Type = Variant; // Union of HTMLCollection, Element THTMLAllCollection_item_Type = Variant; // Union of HTMLCollection, Element THTMLAllCollection_Type = Variant; IJSHTMLAllCollection = interface(IJSObject) ['{0E3422EF-36B9-3C60-8916-359C9101ECD0}'] function _Getlength_: Cardinal; function GetDefault(aIndex: Cardinal): IJSElement; function namedItem(const aName: UnicodeString): THTMLAllCollection_namedItem_Type; function item(const aNameOrIndex: UnicodeString): THTMLAllCollection_item_Type; function item: THTMLAllCollection_item_Type; function HTMLAllCollectionType(const aNameOrIndex: UnicodeString): THTMLAllCollection_Type; function HTMLAllCollectionType: THTMLAllCollection_Type; property length_: Cardinal read _Getlength_; end; TJSHTMLAllCollection = class(TJSObject,IJSHTMLAllCollection) Private Protected function _Getlength_: Cardinal; Public function GetDefault(aIndex: Cardinal): IJSElement; overload; function namedItem(const aName: UnicodeString): THTMLAllCollection_namedItem_Type; overload; function item(const aNameOrIndex: UnicodeString): THTMLAllCollection_item_Type; overload; function item: THTMLAllCollection_item_Type; overload; function HTMLAllCollectionType(const aNameOrIndex: UnicodeString): THTMLAllCollection_Type; overload; function HTMLAllCollectionType: THTMLAllCollection_Type; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLAllCollection; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSHTMLCollection --------------------------------------------------------------------} IJSHTMLCollection = interface(IJSObject) ['{9684E159-8331-3507-9A4B-488072645884}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSElement; function namedItem(const aName: UnicodeString): IJSElement; property length_: Cardinal read _Getlength_; end; TJSHTMLCollection = class(TJSObject,IJSHTMLCollection) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSElement; overload; function namedItem(const aName: UnicodeString): IJSElement; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLCollection; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSTouchEventHandlers --------------------------------------------------------------------} IJSTouchEventHandlers = interface(IJSObject) ['{B146E7A5-80F0-3C9C-AA6B-1304898E62ED}'] function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; end; TJSTouchEventHandlers = class(TJSObject,IJSTouchEventHandlers) Private Protected function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouchEventHandlers; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; end; { -------------------------------------------------------------------- TJSHTMLHyperlinkElementUtils --------------------------------------------------------------------} IJSHTMLHyperlinkElementUtils = interface(IJSObject) ['{3F86B118-E5F2-36AD-AD54-60A0CADD7A6C}'] function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; TJSHTMLHyperlinkElementUtils = class(TJSObject,IJSHTMLHyperlinkElementUtils) Private Protected function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLHyperlinkElementUtils; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSimgINotificationObserver --------------------------------------------------------------------} IJSimgINotificationObserver = interface(IJSObject) ['{804BD3B3-27C0-39AC-A0EE-8EC1D6DBBD61}'] end; TJSimgINotificationObserver = class(TJSObject,IJSimgINotificationObserver) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSimgINotificationObserver; end; { -------------------------------------------------------------------- TJSimgIRequest --------------------------------------------------------------------} IJSimgIRequest = interface(IJSObject) ['{EEE11C67-DB51-35B9-943D-1A2372542131}'] end; TJSimgIRequest = class(TJSObject,IJSimgIRequest) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSimgIRequest; end; { -------------------------------------------------------------------- TJSnsIStreamListener --------------------------------------------------------------------} IJSnsIStreamListener = interface(IJSObject) ['{2B7FAA73-2682-300B-9709-981130F8698D}'] end; TJSnsIStreamListener = class(TJSObject,IJSnsIStreamListener) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIStreamListener; end; { -------------------------------------------------------------------- TJSMozImageLoadingContent --------------------------------------------------------------------} IJSMozImageLoadingContent = interface(IJSObject) ['{E78C46AD-22F9-3955-A9ED-A5614E1AA513}'] end; TJSMozImageLoadingContent = class(TJSObject,IJSMozImageLoadingContent) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozImageLoadingContent; end; { -------------------------------------------------------------------- TJSXULControllers --------------------------------------------------------------------} IJSXULControllers = interface(IJSObject) ['{A28ED322-7B18-3C41-A572-A07C3446E5A9}'] end; TJSXULControllers = class(TJSObject,IJSXULControllers) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXULControllers; end; { -------------------------------------------------------------------- TJSMozEditableElement --------------------------------------------------------------------} IJSMozEditableElement = interface(IJSObject) ['{F149ED58-F918-3374-8387-D2A67A9F5B38}'] procedure setUserInput(const aInput: UnicodeString); end; TJSMozEditableElement = class(TJSObject,IJSMozEditableElement) Private Protected Public procedure setUserInput(const aInput: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozEditableElement; end; { -------------------------------------------------------------------- TJSMozObjectLoadingContent --------------------------------------------------------------------} IJSMozObjectLoadingContent = interface(IJSObject) ['{66E1DEC5-5C63-35FD-BEED-5916ECBC99E5}'] end; TJSMozObjectLoadingContent = class(TJSObject,IJSMozObjectLoadingContent) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozObjectLoadingContent; end; { -------------------------------------------------------------------- TJSnsIEditor --------------------------------------------------------------------} IJSnsIEditor = interface(IJSObject) ['{33832E51-39BA-3530-B869-8DD15390C552}'] end; TJSnsIEditor = class(TJSObject,IJSnsIEditor) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIEditor; end; { -------------------------------------------------------------------- TJSIDBCursor --------------------------------------------------------------------} // Union of IDBObjectStore, IDBIndex TIDBCursor_source_Type = Variant; IJSIDBCursor = interface(IJSObject) ['{631E6413-1574-37E5-8710-7EB3700BDAAB}'] function _Getsource: TIDBCursor_source_Type; function _Getdirection: TIDBCursorDirection; function _Getkey: Variant; function _GetprimaryKey: Variant; function _Getrequest: IJSIDBRequest; procedure advance(aCount: Cardinal); procedure continue(const aKey: Variant); procedure continue; procedure continuePrimaryKey(const aKey: Variant; const aPrimaryKey: Variant); function update(const aValue: Variant): IJSIDBRequest; function delete: IJSIDBRequest; property source: TIDBCursor_source_Type read _Getsource; property direction: TIDBCursorDirection read _Getdirection; property key: Variant read _Getkey; property primaryKey: Variant read _GetprimaryKey; property request: IJSIDBRequest read _Getrequest; end; TJSIDBCursor = class(TJSObject,IJSIDBCursor) Private Protected function _Getsource: TIDBCursor_source_Type; function _Getdirection: TIDBCursorDirection; function _Getkey: Variant; function _GetprimaryKey: Variant; function _Getrequest: IJSIDBRequest; Public procedure advance(aCount: Cardinal); overload; procedure continue(const aKey: Variant); overload; procedure continue; overload; procedure continuePrimaryKey(const aKey: Variant; const aPrimaryKey: Variant); overload; function update(const aValue: Variant): IJSIDBRequest; overload; function delete: IJSIDBRequest; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBCursor; property source: TIDBCursor_source_Type read _Getsource; property direction: TIDBCursorDirection read _Getdirection; property key: Variant read _Getkey; property primaryKey: Variant read _GetprimaryKey; property request: IJSIDBRequest read _Getrequest; end; { -------------------------------------------------------------------- TJSIDBFactory --------------------------------------------------------------------} IJSIDBFactory = interface(IJSObject) ['{A7CDB3FD-C273-37A3-AB37-987D1A61CECE}'] function open(const aName: UnicodeString; aVersion: QWord): IJSIDBOpenDBRequest; function open(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; function open(const aName: UnicodeString): IJSIDBOpenDBRequest; function deleteDatabase(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; function deleteDatabase(const aName: UnicodeString): IJSIDBOpenDBRequest; function databases: IJSPromise; // Promise function cmp(const aFirst: Variant; const aSecond: Variant): SmallInt; end; TJSIDBFactory = class(TJSObject,IJSIDBFactory) Private Protected Public function open(const aName: UnicodeString; aVersion: QWord): IJSIDBOpenDBRequest; overload; function open(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; overload; function open(const aName: UnicodeString): IJSIDBOpenDBRequest; overload; function deleteDatabase(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; overload; function deleteDatabase(const aName: UnicodeString): IJSIDBOpenDBRequest; overload; function databases: IJSPromise; overload; // Promise function cmp(const aFirst: Variant; const aSecond: Variant): SmallInt; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBFactory; end; { -------------------------------------------------------------------- TJSIDBIndex --------------------------------------------------------------------} IJSIDBIndex = interface(IJSObject) ['{E17C8884-12EF-3C98-AA31-46383E3AAF1B}'] function _Getname: UnicodeString; function _GetobjectStore: IJSIDBObjectStore; function _GetkeyPath: Variant; function _GetmultiEntry: Boolean; function _Getunique: Boolean; function _Getlocale: UnicodeString; function _GetisAutoLocale: Boolean; procedure _Setname(const aValue: UnicodeString); function get(const aQuery: Variant): IJSIDBRequest; function getKey(const aQuery: Variant): IJSIDBRequest; function getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; function getAll: IJSIDBRequest; function getAll(const aQuery: Variant): IJSIDBRequest; function getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; function getAllKeys: IJSIDBRequest; function getAllKeys(const aQuery: Variant): IJSIDBRequest; function count(const aQuery: Variant): IJSIDBRequest; function count: IJSIDBRequest; function openCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; function openCursor: IJSIDBRequest; function openCursor(const aQuery: Variant): IJSIDBRequest; function openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; function openKeyCursor: IJSIDBRequest; function openKeyCursor(const aQuery: Variant): IJSIDBRequest; property name: UnicodeString read _Getname write _Setname; property objectStore: IJSIDBObjectStore read _GetobjectStore; property keyPath: Variant read _GetkeyPath; property multiEntry: Boolean read _GetmultiEntry; property unique: Boolean read _Getunique; property locale: UnicodeString read _Getlocale; property isAutoLocale: Boolean read _GetisAutoLocale; end; TJSIDBIndex = class(TJSObject,IJSIDBIndex) Private Protected function _Getname: UnicodeString; function _GetobjectStore: IJSIDBObjectStore; function _GetkeyPath: Variant; function _GetmultiEntry: Boolean; function _Getunique: Boolean; function _Getlocale: UnicodeString; function _GetisAutoLocale: Boolean; procedure _Setname(const aValue: UnicodeString); Public function get(const aQuery: Variant): IJSIDBRequest; overload; function getKey(const aQuery: Variant): IJSIDBRequest; overload; function getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; overload; function getAll: IJSIDBRequest; overload; function getAll(const aQuery: Variant): IJSIDBRequest; overload; function getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; overload; function getAllKeys: IJSIDBRequest; overload; function getAllKeys(const aQuery: Variant): IJSIDBRequest; overload; function count(const aQuery: Variant): IJSIDBRequest; overload; function count: IJSIDBRequest; overload; function openCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; overload; function openCursor: IJSIDBRequest; overload; function openCursor(const aQuery: Variant): IJSIDBRequest; overload; function openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; overload; function openKeyCursor: IJSIDBRequest; overload; function openKeyCursor(const aQuery: Variant): IJSIDBRequest; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBIndex; property name: UnicodeString read _Getname write _Setname; property objectStore: IJSIDBObjectStore read _GetobjectStore; property keyPath: Variant read _GetkeyPath; property multiEntry: Boolean read _GetmultiEntry; property unique: Boolean read _Getunique; property locale: UnicodeString read _Getlocale; property isAutoLocale: Boolean read _GetisAutoLocale; end; { -------------------------------------------------------------------- TJSIDBKeyRange --------------------------------------------------------------------} IJSIDBKeyRange = interface(IJSObject) ['{42B7258F-30B5-3272-8612-84571E3882E8}'] function _Getlower: Variant; function _Getupper: Variant; function _GetlowerOpen: Boolean; function _GetupperOpen: Boolean; function includes(const aKey: Variant): Boolean; property lower: Variant read _Getlower; property upper: Variant read _Getupper; property lowerOpen: Boolean read _GetlowerOpen; property upperOpen: Boolean read _GetupperOpen; end; TJSIDBKeyRange = class(TJSObject,IJSIDBKeyRange) Private Protected function _Getlower: Variant; function _Getupper: Variant; function _GetlowerOpen: Boolean; function _GetupperOpen: Boolean; Public function includes(const aKey: Variant): Boolean; overload; function only(const aValue: Variant): IJSIDBKeyRange; overload; function lowerBound(const aLower: Variant; aOpen: Boolean): IJSIDBKeyRange; overload; function lowerBound(const aLower: Variant): IJSIDBKeyRange; overload; function upperBound(const aUpper: Variant; aOpen: Boolean): IJSIDBKeyRange; overload; function upperBound(const aUpper: Variant): IJSIDBKeyRange; overload; function bound(const aLower: Variant; const aUpper: Variant; aLowerOpen: Boolean; aUpperOpen: Boolean): IJSIDBKeyRange; overload; function bound(const aLower: Variant; const aUpper: Variant): IJSIDBKeyRange; overload; function bound(const aLower: Variant; const aUpper: Variant; aLowerOpen: Boolean): IJSIDBKeyRange; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBKeyRange; property lower: Variant read _Getlower; property upper: Variant read _Getupper; property lowerOpen: Boolean read _GetlowerOpen; property upperOpen: Boolean read _GetupperOpen; end; { -------------------------------------------------------------------- TJSIDBObjectStore --------------------------------------------------------------------} // Union of DOMString, sequence TIDBObjectStore_createIndex_keyPath_Type = Variant; IJSIDBObjectStore = interface(IJSObject) ['{E6AAB7E9-A628-3756-82C7-629AEC6C7F0E}'] function _Getname: UnicodeString; function _GetkeyPath: Variant; function _GetindexNames: IJSDOMStringList; function _Gettransaction: IJSIDBTransaction; function _GetautoIncrement: Boolean; procedure _Setname(const aValue: UnicodeString); function put(const aValue: Variant; const aKey: Variant): IJSIDBRequest; function put(const aValue: Variant): IJSIDBRequest; function add(const aValue: Variant; const aKey: Variant): IJSIDBRequest; function add(const aValue: Variant): IJSIDBRequest; function delete(const aKey: Variant): IJSIDBRequest; function clear: IJSIDBRequest; function get(const aKey: Variant): IJSIDBRequest; function getKey(const aKey: Variant): IJSIDBRequest; function getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; function getAll: IJSIDBRequest; function getAll(const aQuery: Variant): IJSIDBRequest; function getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; function getAllKeys: IJSIDBRequest; function getAllKeys(const aQuery: Variant): IJSIDBRequest; function count(const aKey: Variant): IJSIDBRequest; function count: IJSIDBRequest; function openCursor(const aRange: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; function openCursor: IJSIDBRequest; function openCursor(const aRange: Variant): IJSIDBRequest; function openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; function openKeyCursor: IJSIDBRequest; function openKeyCursor(const aQuery: Variant): IJSIDBRequest; function createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; function createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; function createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray): IJSIDBIndex; function createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString): IJSIDBIndex; function index(const aName: UnicodeString): IJSIDBIndex; procedure deleteIndex(const aIndexName: UnicodeString); property name: UnicodeString read _Getname write _Setname; property keyPath: Variant read _GetkeyPath; property indexNames: IJSDOMStringList read _GetindexNames; property transaction: IJSIDBTransaction read _Gettransaction; property autoIncrement: Boolean read _GetautoIncrement; end; TJSIDBObjectStore = class(TJSObject,IJSIDBObjectStore) Private Protected function _Getname: UnicodeString; function _GetkeyPath: Variant; function _GetindexNames: IJSDOMStringList; function _Gettransaction: IJSIDBTransaction; function _GetautoIncrement: Boolean; procedure _Setname(const aValue: UnicodeString); Public function put(const aValue: Variant; const aKey: Variant): IJSIDBRequest; overload; function put(const aValue: Variant): IJSIDBRequest; overload; function add(const aValue: Variant; const aKey: Variant): IJSIDBRequest; overload; function add(const aValue: Variant): IJSIDBRequest; overload; function delete(const aKey: Variant): IJSIDBRequest; overload; function clear: IJSIDBRequest; overload; function get(const aKey: Variant): IJSIDBRequest; overload; function getKey(const aKey: Variant): IJSIDBRequest; overload; function getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; overload; function getAll: IJSIDBRequest; overload; function getAll(const aQuery: Variant): IJSIDBRequest; overload; function getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; overload; function getAllKeys: IJSIDBRequest; overload; function getAllKeys(const aQuery: Variant): IJSIDBRequest; overload; function count(const aKey: Variant): IJSIDBRequest; overload; function count: IJSIDBRequest; overload; function openCursor(const aRange: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; overload; function openCursor: IJSIDBRequest; overload; function openCursor(const aRange: Variant): IJSIDBRequest; overload; function openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; overload; function openKeyCursor: IJSIDBRequest; overload; function openKeyCursor(const aQuery: Variant): IJSIDBRequest; overload; function createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; overload; function createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; overload; function createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray): IJSIDBIndex; overload; function createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString): IJSIDBIndex; overload; function index(const aName: UnicodeString): IJSIDBIndex; overload; procedure deleteIndex(const aIndexName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBObjectStore; property name: UnicodeString read _Getname write _Setname; property keyPath: Variant read _GetkeyPath; property indexNames: IJSDOMStringList read _GetindexNames; property transaction: IJSIDBTransaction read _Gettransaction; property autoIncrement: Boolean read _GetautoIncrement; end; { -------------------------------------------------------------------- TJSIdleDeadline --------------------------------------------------------------------} IJSIdleDeadline = interface(IJSObject) ['{3E185A8E-ED04-398F-B404-C5FE82B16B9C}'] function _GetdidTimeout: Boolean; function timeRemaining: TDOMHighResTimeStamp; property didTimeout: Boolean read _GetdidTimeout; end; TJSIdleDeadline = class(TJSObject,IJSIdleDeadline) Private Protected function _GetdidTimeout: Boolean; Public function timeRemaining: TDOMHighResTimeStamp; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdleDeadline; property didTimeout: Boolean read _GetdidTimeout; end; { -------------------------------------------------------------------- TJSImageBitmap --------------------------------------------------------------------} IJSImageBitmap = interface(IJSObject) ['{0D29FF8B-1207-3083-AAAD-88665820DFE1}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; procedure close; property width: Cardinal read _Getwidth; property height: Cardinal read _Getheight; end; TJSImageBitmap = class(TJSObject,IJSImageBitmap) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; Public procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageBitmap; property width: Cardinal read _Getwidth; property height: Cardinal read _Getheight; end; { -------------------------------------------------------------------- TJSImageBitmapRenderingContext --------------------------------------------------------------------} IJSImageBitmapRenderingContext = interface(IJSObject) ['{E269EF5F-7BA5-33C5-8ED0-2BBEE016A4AC}'] function _Getcanvas: TCanvasSource; procedure transferFromImageBitmap(aBitmap: IJSImageBitmap); procedure transferImageBitmap(aBitmap: IJSImageBitmap); property canvas: TCanvasSource read _Getcanvas; end; TJSImageBitmapRenderingContext = class(TJSObject,IJSImageBitmapRenderingContext) Private Protected function _Getcanvas: TCanvasSource; Public procedure transferFromImageBitmap(aBitmap: IJSImageBitmap); overload; procedure transferImageBitmap(aBitmap: IJSImageBitmap); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageBitmapRenderingContext; property canvas: TCanvasSource read _Getcanvas; end; { -------------------------------------------------------------------- TJSImageCaptureError --------------------------------------------------------------------} IJSImageCaptureError = interface(IJSObject) ['{913FA737-5745-3F30-A026-CDB8A9051BE6}'] function _Getcode: Word; function _Getmessage: UnicodeString; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; TJSImageCaptureError = class(TJSObject,IJSImageCaptureError) Private Protected function _Getcode: Word; function _Getmessage: UnicodeString; Public Const FRAME_GRAB_ERROR = 1; SETTINGS_ERROR = 2; PHOTO_ERROR = 3; ERROR_UNKNOWN = 4; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageCaptureError; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSImageData --------------------------------------------------------------------} IJSImageData = interface(IJSObject) ['{D03D831F-35C5-3CC2-8276-EC263EF4EE49}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getdata: IJSUint8ClampedArray; property width: Cardinal read _Getwidth; property height: Cardinal read _Getheight; property data: IJSUint8ClampedArray read _Getdata; end; TJSImageData = class(TJSObject,IJSImageData) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getdata: IJSUint8ClampedArray; Public constructor Create(aSw: Cardinal; aSh: Cardinal); overload; constructor Create(aData: IJSUint8ClampedArray; aSw: Cardinal; aSh: Cardinal); overload; constructor Create(aData: IJSUint8ClampedArray; aSw: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageData; property width: Cardinal read _Getwidth; property height: Cardinal read _Getheight; property data: IJSUint8ClampedArray read _Getdata; end; { -------------------------------------------------------------------- TJSIntersectionObserverEntry --------------------------------------------------------------------} IJSIntersectionObserverEntry = interface(IJSObject) ['{959E0BA2-C2E5-3F59-B3FE-502113142504}'] function _Gettime: TDOMHighResTimeStamp; function _GetrootBounds: IJSDOMRectReadOnly; function _GetboundingClientRect: IJSDOMRectReadOnly; function _GetintersectionRect: IJSDOMRectReadOnly; function _GetisIntersecting: Boolean; function _GetintersectionRatio: Double; function _Gettarget: IJSElement; property time: TDOMHighResTimeStamp read _Gettime; property rootBounds: IJSDOMRectReadOnly read _GetrootBounds; property boundingClientRect: IJSDOMRectReadOnly read _GetboundingClientRect; property intersectionRect: IJSDOMRectReadOnly read _GetintersectionRect; property isIntersecting: Boolean read _GetisIntersecting; property intersectionRatio: Double read _GetintersectionRatio; property target: IJSElement read _Gettarget; end; TJSIntersectionObserverEntry = class(TJSObject,IJSIntersectionObserverEntry) Private Protected function _Gettime: TDOMHighResTimeStamp; function _GetrootBounds: IJSDOMRectReadOnly; function _GetboundingClientRect: IJSDOMRectReadOnly; function _GetintersectionRect: IJSDOMRectReadOnly; function _GetisIntersecting: Boolean; function _GetintersectionRatio: Double; function _Gettarget: IJSElement; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIntersectionObserverEntry; property time: TDOMHighResTimeStamp read _Gettime; property rootBounds: IJSDOMRectReadOnly read _GetrootBounds; property boundingClientRect: IJSDOMRectReadOnly read _GetboundingClientRect; property intersectionRect: IJSDOMRectReadOnly read _GetintersectionRect; property isIntersecting: Boolean read _GetisIntersecting; property intersectionRatio: Double read _GetintersectionRatio; property target: IJSElement read _Gettarget; end; { -------------------------------------------------------------------- TJSIntersectionObserver --------------------------------------------------------------------} IJSIntersectionObserver = interface(IJSObject) ['{FCA2AC89-C96E-3CE9-8F8F-C3E84B458349}'] function _Getroot: IJSNode; function _GetrootMargin: UTF8String; function _Getthresholds: TDoubleDynArray; procedure observe(aTarget: IJSElement); procedure unobserve(aTarget: IJSElement); procedure disconnect; function takeRecords: TJSIntersectionObserverEntryDynArray; property root: IJSNode read _Getroot; property rootMargin: UTF8String read _GetrootMargin; property thresholds: TDoubleDynArray read _Getthresholds; end; TJSIntersectionObserver = class(TJSObject,IJSIntersectionObserver) Private Protected function _Getroot: IJSNode; function _GetrootMargin: UTF8String; function _Getthresholds: TDoubleDynArray; Public constructor Create(const aIntersectionCallback: TIntersectionCallback; const aOptions: IJSIntersectionObserverInit); overload; constructor Create(const aIntersectionCallback: TIntersectionCallback); overload; procedure observe(aTarget: IJSElement); overload; procedure unobserve(aTarget: IJSElement); overload; procedure disconnect; overload; function takeRecords: TJSIntersectionObserverEntryDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIntersectionObserver; property root: IJSNode read _Getroot; property rootMargin: UTF8String read _GetrootMargin; property thresholds: TDoubleDynArray read _Getthresholds; end; { -------------------------------------------------------------------- TJSIntlUtils --------------------------------------------------------------------} IJSIntlUtils = interface(IJSObject) ['{79357E1E-A830-37CE-B13B-BA07E6FEE863}'] function getDisplayNames(const aLocales: TUnicodeStringDynArray; const aOptions: IJSDisplayNameOptions): IJSDisplayNameResult; function getDisplayNames(const aLocales: TUnicodeStringDynArray): IJSDisplayNameResult; function isAppLocaleRTL: Boolean; end; TJSIntlUtils = class(TJSObject,IJSIntlUtils) Private Protected Public function getDisplayNames(const aLocales: TUnicodeStringDynArray; const aOptions: IJSDisplayNameOptions): IJSDisplayNameResult; overload; function getDisplayNames(const aLocales: TUnicodeStringDynArray): IJSDisplayNameResult; overload; function isAppLocaleRTL: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIntlUtils; end; { -------------------------------------------------------------------- TJSInvokerElement --------------------------------------------------------------------} IJSInvokerElement = interface(IJSObject) ['{8CB2F7FF-4269-39B4-86DC-19D0F12F5AE2}'] function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; TJSInvokerElement = class(TJSObject,IJSInvokerElement) Private Protected function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInvokerElement; property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; { -------------------------------------------------------------------- TJSKeyEventMixin --------------------------------------------------------------------} IJSKeyEventMixin = interface(IJSObject) ['{326FB9F3-7CD6-3DED-831E-A07D5F3E0CD0}'] procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); procedure initKeyEvent(const aType_: UnicodeString); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); end; TJSKeyEventMixin = class(TJSObject,IJSKeyEventMixin) Private Protected Public Const DOM_VK_CANCEL = $03; DOM_VK_HELP = $06; DOM_VK_BACK_SPACE = $08; DOM_VK_TAB = $09; DOM_VK_CLEAR = $0C; DOM_VK_RETURN = $0D; DOM_VK_SHIFT = $10; DOM_VK_CONTROL = $11; DOM_VK_ALT = $12; DOM_VK_PAUSE = $13; DOM_VK_CAPS_LOCK = $14; DOM_VK_KANA = $15; DOM_VK_HANGUL = $15; DOM_VK_EISU = $16; DOM_VK_JUNJA = $17; DOM_VK_FINAL = $18; DOM_VK_HANJA = $19; DOM_VK_KANJI = $19; DOM_VK_ESCAPE = $1B; DOM_VK_CONVERT = $1C; DOM_VK_NONCONVERT = $1D; DOM_VK_ACCEPT = $1E; DOM_VK_MODECHANGE = $1F; DOM_VK_SPACE = $20; DOM_VK_PAGE_UP = $21; DOM_VK_PAGE_DOWN = $22; DOM_VK_END = $23; DOM_VK_HOME = $24; DOM_VK_LEFT = $25; DOM_VK_UP = $26; DOM_VK_RIGHT = $27; DOM_VK_DOWN = $28; DOM_VK_SELECT = $29; DOM_VK_PRINT = $2A; DOM_VK_EXECUTE = $2B; DOM_VK_PRINTSCREEN = $2C; DOM_VK_INSERT = $2D; DOM_VK_DELETE = $2E; DOM_VK_0 = $30; DOM_VK_1 = $31; DOM_VK_2 = $32; DOM_VK_3 = $33; DOM_VK_4 = $34; DOM_VK_5 = $35; DOM_VK_6 = $36; DOM_VK_7 = $37; DOM_VK_8 = $38; DOM_VK_9 = $39; DOM_VK_COLON = $3A; DOM_VK_SEMICOLON = $3B; DOM_VK_LESS_THAN = $3C; DOM_VK_EQUALS = $3D; DOM_VK_GREATER_THAN = $3E; DOM_VK_QUESTION_MARK = $3F; DOM_VK_AT = $40; DOM_VK_A = $41; DOM_VK_B = $42; DOM_VK_C = $43; DOM_VK_D = $44; DOM_VK_E = $45; DOM_VK_F = $46; DOM_VK_G = $47; DOM_VK_H = $48; DOM_VK_I = $49; DOM_VK_J = $4A; DOM_VK_K = $4B; DOM_VK_L = $4C; DOM_VK_M = $4D; DOM_VK_N = $4E; DOM_VK_O = $4F; DOM_VK_P = $50; DOM_VK_Q = $51; DOM_VK_R = $52; DOM_VK_S = $53; DOM_VK_T = $54; DOM_VK_U = $55; DOM_VK_V = $56; DOM_VK_W = $57; DOM_VK_X = $58; DOM_VK_Y = $59; DOM_VK_Z = $5A; DOM_VK_WIN = $5B; DOM_VK_CONTEXT_MENU = $5D; DOM_VK_SLEEP = $5F; DOM_VK_NUMPAD0 = $60; DOM_VK_NUMPAD1 = $61; DOM_VK_NUMPAD2 = $62; DOM_VK_NUMPAD3 = $63; DOM_VK_NUMPAD4 = $64; DOM_VK_NUMPAD5 = $65; DOM_VK_NUMPAD6 = $66; DOM_VK_NUMPAD7 = $67; DOM_VK_NUMPAD8 = $68; DOM_VK_NUMPAD9 = $69; DOM_VK_MULTIPLY = $6A; DOM_VK_ADD = $6B; DOM_VK_SEPARATOR = $6C; DOM_VK_SUBTRACT = $6D; DOM_VK_DECIMAL = $6E; DOM_VK_DIVIDE = $6F; DOM_VK_F1 = $70; DOM_VK_F2 = $71; DOM_VK_F3 = $72; DOM_VK_F4 = $73; DOM_VK_F5 = $74; DOM_VK_F6 = $75; DOM_VK_F7 = $76; DOM_VK_F8 = $77; DOM_VK_F9 = $78; DOM_VK_F10 = $79; DOM_VK_F11 = $7A; DOM_VK_F12 = $7B; DOM_VK_F13 = $7C; DOM_VK_F14 = $7D; DOM_VK_F15 = $7E; DOM_VK_F16 = $7F; DOM_VK_F17 = $80; DOM_VK_F18 = $81; DOM_VK_F19 = $82; DOM_VK_F20 = $83; DOM_VK_F21 = $84; DOM_VK_F22 = $85; DOM_VK_F23 = $86; DOM_VK_F24 = $87; DOM_VK_NUM_LOCK = $90; DOM_VK_SCROLL_LOCK = $91; DOM_VK_WIN_OEM_FJ_JISHO = $92; DOM_VK_WIN_OEM_FJ_MASSHOU = $93; DOM_VK_WIN_OEM_FJ_TOUROKU = $94; DOM_VK_WIN_OEM_FJ_LOYA = $95; DOM_VK_WIN_OEM_FJ_ROYA = $96; DOM_VK_CIRCUMFLEX = $A0; DOM_VK_EXCLAMATION = $A1; DOM_VK_DOUBLE_QUOTE = $A2; DOM_VK_HASH = $A3; DOM_VK_DOLLAR = $A4; DOM_VK_PERCENT = $A5; DOM_VK_AMPERSAND = $A6; DOM_VK_UNDERSCORE = $A7; DOM_VK_OPEN_PAREN = $A8; DOM_VK_CLOSE_PAREN = $A9; DOM_VK_ASTERISK = $AA; DOM_VK_PLUS = $AB; DOM_VK_PIPE = $AC; DOM_VK_HYPHEN_MINUS = $AD; DOM_VK_OPEN_CURLY_BRACKET = $AE; DOM_VK_CLOSE_CURLY_BRACKET = $AF; DOM_VK_TILDE = $B0; DOM_VK_VOLUME_MUTE = $B5; DOM_VK_VOLUME_DOWN = $B6; DOM_VK_VOLUME_UP = $B7; DOM_VK_COMMA = $BC; DOM_VK_PERIOD = $BE; DOM_VK_SLASH = $BF; DOM_VK_BACK_QUOTE = $C0; DOM_VK_OPEN_BRACKET = $DB; DOM_VK_BACK_SLASH = $DC; DOM_VK_CLOSE_BRACKET = $DD; DOM_VK_QUOTE = $DE; DOM_VK_META = $E0; DOM_VK_ALTGR = $E1; DOM_VK_WIN_ICO_HELP = $E3; DOM_VK_WIN_ICO_00 = $E4; DOM_VK_PROCESSKEY = $E5; DOM_VK_WIN_ICO_CLEAR = $E6; DOM_VK_WIN_OEM_RESET = $E9; DOM_VK_WIN_OEM_JUMP = $EA; DOM_VK_WIN_OEM_PA1 = $EB; DOM_VK_WIN_OEM_PA2 = $EC; DOM_VK_WIN_OEM_PA3 = $ED; DOM_VK_WIN_OEM_WSCTRL = $EE; DOM_VK_WIN_OEM_CUSEL = $EF; DOM_VK_WIN_OEM_ATTN = $F0; DOM_VK_WIN_OEM_FINISH = $F1; DOM_VK_WIN_OEM_COPY = $F2; DOM_VK_WIN_OEM_AUTO = $F3; DOM_VK_WIN_OEM_ENLW = $F4; DOM_VK_WIN_OEM_BACKTAB = $F5; DOM_VK_ATTN = $F6; DOM_VK_CRSEL = $F7; DOM_VK_EXSEL = $F8; DOM_VK_EREOF = $F9; DOM_VK_PLAY = $FA; DOM_VK_ZOOM = $FB; DOM_VK_PA1 = $FD; DOM_VK_WIN_OEM_CLEAR = $FE; Public procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); overload; procedure initKeyEvent(const aType_: UnicodeString); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyEventMixin; end; { -------------------------------------------------------------------- TJSLinkStyle --------------------------------------------------------------------} IJSLinkStyle = interface(IJSObject) ['{BD8209EA-E812-3439-9DAE-073B45757722}'] function _Getsheet: IJSStyleSheet; property sheet: IJSStyleSheet read _Getsheet; end; TJSLinkStyle = class(TJSObject,IJSLinkStyle) Private Protected function _Getsheet: IJSStyleSheet; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLinkStyle; property sheet: IJSStyleSheet read _Getsheet; end; { -------------------------------------------------------------------- TJSLocalization --------------------------------------------------------------------} TDOMStringDynArray = IJSArray; // array of L10nResourceId TL10nKeyDynArray = IJSArray; // array of L10nKey TJSL10nMessageDynArray = IJSArray; // array of L10nMessage IJSLocalization = interface(IJSObject) ['{CBA54BE6-4457-3426-8482-058452041ED9}'] procedure addResourceIds(const aAResourceIds: TDOMStringDynArray); function removeResourceIds(const aAResourceIds: TDOMStringDynArray): Cardinal; function formatValue(const aAId: UTF8String; aAArgs: IJSArray): IJSPromise; // Promise function formatValue(const aAId: UTF8String): IJSPromise; // Promise function formatValues(const aAKeys: TL10nKeyDynArray): IJSPromise; // Promise function formatMessages(const aAKeys: TL10nKeyDynArray): IJSPromise; // Promise procedure setAsync; function formatValueSync(const aAId: UTF8String; aAArgs: IJSArray): UTF8String; function formatValueSync(const aAId: UTF8String): UTF8String; function formatValuesSync(const aAKeys: TL10nKeyDynArray): TUTF8StringDynArray; function formatMessagesSync(const aAKeys: TL10nKeyDynArray): TJSL10nMessageDynArray; end; TJSLocalization = class(TJSObject,IJSLocalization) Private Protected Public constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject; const aALocales: TUTF8StringDynArray); overload; constructor Create(const aAResourceIds: TDOMStringDynArray); overload; constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean); overload; constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject); overload; procedure addResourceIds(const aAResourceIds: TDOMStringDynArray); overload; function removeResourceIds(const aAResourceIds: TDOMStringDynArray): Cardinal; overload; function formatValue(const aAId: UTF8String; aAArgs: IJSArray): IJSPromise; overload; // Promise function formatValue(const aAId: UTF8String): IJSPromise; overload; // Promise function formatValues(const aAKeys: TL10nKeyDynArray): IJSPromise; overload; // Promise function formatMessages(const aAKeys: TL10nKeyDynArray): IJSPromise; overload; // Promise procedure setAsync; overload; function formatValueSync(const aAId: UTF8String; aAArgs: IJSArray): UTF8String; overload; function formatValueSync(const aAId: UTF8String): UTF8String; overload; function formatValuesSync(const aAKeys: TL10nKeyDynArray): TUTF8StringDynArray; overload; function formatMessagesSync(const aAKeys: TL10nKeyDynArray): TJSL10nMessageDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLocalization; end; { -------------------------------------------------------------------- TJSLocation --------------------------------------------------------------------} IJSLocation = interface(IJSObject) ['{E6A2E52F-9356-306C-9704-EB03595A4201}'] function _Gethref: UnicodeString; function _Getorigin: UnicodeString; function _Getprotocol: UnicodeString; function _Gethost: UnicodeString; function _Gethostname: UnicodeString; function _Getport: UnicodeString; function _Getpathname: UnicodeString; function _Getsearch: UnicodeString; function _Gethash: UnicodeString; procedure _Setprotocol(const aValue: UnicodeString); procedure _Sethost(const aValue: UnicodeString); procedure _Sethostname(const aValue: UnicodeString); procedure _Setport(const aValue: UnicodeString); procedure _Setpathname(const aValue: UnicodeString); procedure _Setsearch(const aValue: UnicodeString); procedure _Sethash(const aValue: UnicodeString); procedure assign(const aUrl: UnicodeString); procedure replace(const aUrl: UnicodeString); procedure reload(aForceget: Boolean); procedure reload; property href: UnicodeString read _Gethref; property origin: UnicodeString read _Getorigin; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property host: UnicodeString read _Gethost write _Sethost; property hostname: UnicodeString read _Gethostname write _Sethostname; property port: UnicodeString read _Getport write _Setport; property pathname: UnicodeString read _Getpathname write _Setpathname; property search: UnicodeString read _Getsearch write _Setsearch; property hash: UnicodeString read _Gethash write _Sethash; end; TJSLocation = class(TJSObject,IJSLocation) Private Protected function _Gethref: UnicodeString; function _Getorigin: UnicodeString; function _Getprotocol: UnicodeString; function _Gethost: UnicodeString; function _Gethostname: UnicodeString; function _Getport: UnicodeString; function _Getpathname: UnicodeString; function _Getsearch: UnicodeString; function _Gethash: UnicodeString; procedure _Setprotocol(const aValue: UnicodeString); procedure _Sethost(const aValue: UnicodeString); procedure _Sethostname(const aValue: UnicodeString); procedure _Setport(const aValue: UnicodeString); procedure _Setpathname(const aValue: UnicodeString); procedure _Setsearch(const aValue: UnicodeString); procedure _Sethash(const aValue: UnicodeString); Public procedure assign(const aUrl: UnicodeString); overload; procedure replace(const aUrl: UnicodeString); overload; procedure reload(aForceget: Boolean); overload; procedure reload; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLocation; property href: UnicodeString read _Gethref; property origin: UnicodeString read _Getorigin; property protocol: UnicodeString read _Getprotocol write _Setprotocol; property host: UnicodeString read _Gethost write _Sethost; property hostname: UnicodeString read _Gethostname write _Sethostname; property port: UnicodeString read _Getport write _Setport; property pathname: UnicodeString read _Getpathname write _Setpathname; property search: UnicodeString read _Getsearch write _Setsearch; property hash: UnicodeString read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSLock --------------------------------------------------------------------} IJSLock = interface(IJSObject) ['{1253746F-26EF-3558-A511-44FFE2D330E2}'] function _Getname: UnicodeString; function _Getmode: TLockMode; property name: UnicodeString read _Getname; property mode: TLockMode read _Getmode; end; TJSLock = class(TJSObject,IJSLock) Private Protected function _Getname: UnicodeString; function _Getmode: TLockMode; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLock; property name: UnicodeString read _Getname; property mode: TLockMode read _Getmode; end; { -------------------------------------------------------------------- TJSLockManager --------------------------------------------------------------------} IJSLockManager = interface(IJSObject) ['{44B35D1C-4370-3DD7-BDFE-45C94665E25F}'] function request(const aName: UnicodeString; const aCallback: TLockGrantedCallback): IJSPromise; // Promise function request(const aName: UnicodeString; const aOptions: IJSLockOptions; const aCallback: TLockGrantedCallback): IJSPromise; // Promise function query: IJSPromise; // Promise end; TJSLockManager = class(TJSObject,IJSLockManager) Private Protected Public function request(const aName: UnicodeString; const aCallback: TLockGrantedCallback): IJSPromise; overload; // Promise function request(const aName: UnicodeString; const aOptions: IJSLockOptions; const aCallback: TLockGrantedCallback): IJSPromise; overload; // Promise function query: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLockManager; end; { -------------------------------------------------------------------- TJSMediaCapabilitiesInfo --------------------------------------------------------------------} IJSMediaCapabilitiesInfo = interface(IJSObject) ['{B8E47819-563D-33EC-9747-E4A87DA8F6BF}'] function _Getsupported: Boolean; function _Getsmooth: Boolean; function _GetpowerEfficient: Boolean; property supported: Boolean read _Getsupported; property smooth: Boolean read _Getsmooth; property powerEfficient: Boolean read _GetpowerEfficient; end; TJSMediaCapabilitiesInfo = class(TJSObject,IJSMediaCapabilitiesInfo) Private Protected function _Getsupported: Boolean; function _Getsmooth: Boolean; function _GetpowerEfficient: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaCapabilitiesInfo; property supported: Boolean read _Getsupported; property smooth: Boolean read _Getsmooth; property powerEfficient: Boolean read _GetpowerEfficient; end; { -------------------------------------------------------------------- TJSMediaCapabilities --------------------------------------------------------------------} IJSMediaCapabilities = interface(IJSObject) ['{3E2FB865-A31A-353F-9F76-21A3DDFBFA66}'] function decodingInfo(const aConfiguration: IJSMediaDecodingConfiguration): IJSPromise; // Promise function encodingInfo(const aConfiguration: IJSMediaEncodingConfiguration): IJSPromise; // Promise end; TJSMediaCapabilities = class(TJSObject,IJSMediaCapabilities) Private Protected Public function decodingInfo(const aConfiguration: IJSMediaDecodingConfiguration): IJSPromise; overload; // Promise function encodingInfo(const aConfiguration: IJSMediaEncodingConfiguration): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaCapabilities; end; { -------------------------------------------------------------------- TJSMediaDeviceInfo --------------------------------------------------------------------} IJSMediaDeviceInfo = interface(IJSObject) ['{35FFF8AD-5AC6-3235-9B6E-45D7E2D37360}'] function _GetdeviceId: UnicodeString; function _Getkind: TMediaDeviceKind; function _Getlabel_: UnicodeString; function _GetgroupId: UnicodeString; function toJSON: IJSObject; property deviceId: UnicodeString read _GetdeviceId; property kind: TMediaDeviceKind read _Getkind; property label_: UnicodeString read _Getlabel_; property groupId: UnicodeString read _GetgroupId; end; TJSMediaDeviceInfo = class(TJSObject,IJSMediaDeviceInfo) Private Protected function _GetdeviceId: UnicodeString; function _Getkind: TMediaDeviceKind; function _Getlabel_: UnicodeString; function _GetgroupId: UnicodeString; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDeviceInfo; property deviceId: UnicodeString read _GetdeviceId; property kind: TMediaDeviceKind read _Getkind; property label_: UnicodeString read _Getlabel_; property groupId: UnicodeString read _GetgroupId; end; { -------------------------------------------------------------------- TJSMediaError --------------------------------------------------------------------} IJSMediaError = interface(IJSObject) ['{23061721-70EA-3928-B9E8-4F30BDFCE554}'] function _Getcode: Word; function _Getmessage: UnicodeString; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; TJSMediaError = class(TJSObject,IJSMediaError) Private Protected function _Getcode: Word; function _Getmessage: UnicodeString; Public Const MEDIA_ERR_ABORTED = 1; MEDIA_ERR_NETWORK = 2; MEDIA_ERR_DECODE = 3; MEDIA_ERR_SRC_NOT_SUPPORTED = 4; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaError; property code: Word read _Getcode; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSMediaKeys --------------------------------------------------------------------} IJSMediaKeys = interface(IJSObject) ['{61FF2B90-A5ED-38AE-9CF0-22833B5E74F0}'] function _GetkeySystem: UnicodeString; function createSession(aSessionType: TMediaKeySessionType): IJSMediaKeySession; function createSession: IJSMediaKeySession; function setServerCertificate(aServerCertificate: IJSBufferSource): IJSPromise; // Promise function getStatusForPolicy(const aPolicy: IJSMediaKeysPolicy): IJSPromise; // Promise function getStatusForPolicy: IJSPromise; // Promise property keySystem: UnicodeString read _GetkeySystem; end; TJSMediaKeys = class(TJSObject,IJSMediaKeys) Private Protected function _GetkeySystem: UnicodeString; Public function createSession(aSessionType: TMediaKeySessionType): IJSMediaKeySession; overload; function createSession: IJSMediaKeySession; overload; function setServerCertificate(aServerCertificate: IJSBufferSource): IJSPromise; overload; // Promise function getStatusForPolicy(const aPolicy: IJSMediaKeysPolicy): IJSPromise; overload; // Promise function getStatusForPolicy: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeys; property keySystem: UnicodeString read _GetkeySystem; end; { -------------------------------------------------------------------- TJSMediaKeyStatusMap --------------------------------------------------------------------} // Union of MediaKeyStatus, undefined TMediaKeyStatusMap_get_Type = Variant; IJSMediaKeyStatusMap = interface(IJSObject) ['{71562C19-4464-3FCD-B871-F724990CE356}'] function _Getsize: Cardinal; function has(aKeyId: IJSBufferSource): Boolean; function get(aKeyId: IJSBufferSource): TMediaKeyStatusMap_get_Type; property size: Cardinal read _Getsize; end; TJSMediaKeyStatusMap = class(TJSObject,IJSMediaKeyStatusMap) Private Protected function _Getsize: Cardinal; Public function has(aKeyId: IJSBufferSource): Boolean; overload; function get(aKeyId: IJSBufferSource): TMediaKeyStatusMap_get_Type; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeyStatusMap; property size: Cardinal read _Getsize; end; { -------------------------------------------------------------------- TJSMediaKeySystemAccess --------------------------------------------------------------------} IJSMediaKeySystemAccess = interface(IJSObject) ['{2F30248F-6352-31ED-92A2-EE8EDE7E4F8A}'] function _GetkeySystem: UnicodeString; function getConfiguration: IJSMediaKeySystemConfiguration; function createMediaKeys: IJSPromise; // Promise property keySystem: UnicodeString read _GetkeySystem; end; TJSMediaKeySystemAccess = class(TJSObject,IJSMediaKeySystemAccess) Private Protected function _GetkeySystem: UnicodeString; Public function getConfiguration: IJSMediaKeySystemConfiguration; overload; function createMediaKeys: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeySystemAccess; property keySystem: UnicodeString read _GetkeySystem; end; { -------------------------------------------------------------------- TJSMediaList --------------------------------------------------------------------} IJSMediaList = interface(IJSObject) ['{E567DE61-7B61-3446-B23F-DE5A74592DC6}'] function _GetmediaText: UTF8String; function _Getlength_: Cardinal; function item(aIndex: Cardinal): UTF8String; procedure deleteMedium(const aOldMedium: UTF8String); procedure appendMedium(const aNewMedium: UTF8String); property mediaText: UTF8String read _GetmediaText; property length_: Cardinal read _Getlength_; end; TJSMediaList = class(TJSObject,IJSMediaList) Private Protected function _GetmediaText: UTF8String; function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): UTF8String; overload; procedure deleteMedium(const aOldMedium: UTF8String); overload; procedure appendMedium(const aNewMedium: UTF8String); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaList; property mediaText: UTF8String read _GetmediaText; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSMediaSession --------------------------------------------------------------------} IJSMediaSession = interface(IJSObject) ['{C2145BDA-FD8C-3F47-86A5-7016E547FF12}'] function _Getmetadata: IJSMediaMetadata; function _GetplaybackState: TMediaSessionPlaybackState; procedure _Setmetadata(const aValue: IJSMediaMetadata); procedure _SetplaybackState(const aValue: TMediaSessionPlaybackState); procedure setActionHandler(aAction: TMediaSessionAction; const aHandler: TMediaSessionActionHandler); procedure setPositionState(const aState: IJSMediaPositionState); procedure setPositionState; property metadata: IJSMediaMetadata read _Getmetadata write _Setmetadata; property playbackState: TMediaSessionPlaybackState read _GetplaybackState write _SetplaybackState; end; TJSMediaSession = class(TJSObject,IJSMediaSession) Private Protected function _Getmetadata: IJSMediaMetadata; function _GetplaybackState: TMediaSessionPlaybackState; procedure _Setmetadata(const aValue: IJSMediaMetadata); procedure _SetplaybackState(const aValue: TMediaSessionPlaybackState); Public procedure setActionHandler(aAction: TMediaSessionAction; const aHandler: TMediaSessionActionHandler); overload; procedure setPositionState(const aState: IJSMediaPositionState); overload; procedure setPositionState; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSession; property metadata: IJSMediaMetadata read _Getmetadata write _Setmetadata; property playbackState: TMediaSessionPlaybackState read _GetplaybackState write _SetplaybackState; end; { -------------------------------------------------------------------- TJSMediaMetadata --------------------------------------------------------------------} IJSMediaMetadata = interface(IJSObject) ['{F646A75B-62B0-3882-AFCB-F9AAF681D3A9}'] function _Gettitle: UnicodeString; function _Getartist: UnicodeString; function _Getalbum: UnicodeString; function _Getartwork: TIJSObjectDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Setartist(const aValue: UnicodeString); procedure _Setalbum(const aValue: UnicodeString); procedure _Setartwork(const aValue: TIJSObjectDynArray); property title: UnicodeString read _Gettitle write _Settitle; property artist: UnicodeString read _Getartist write _Setartist; property album: UnicodeString read _Getalbum write _Setalbum; property artwork: TIJSObjectDynArray read _Getartwork write _Setartwork; end; TJSMediaMetadata = class(TJSObject,IJSMediaMetadata) Private Protected function _Gettitle: UnicodeString; function _Getartist: UnicodeString; function _Getalbum: UnicodeString; function _Getartwork: TIJSObjectDynArray; procedure _Settitle(const aValue: UnicodeString); procedure _Setartist(const aValue: UnicodeString); procedure _Setalbum(const aValue: UnicodeString); procedure _Setartwork(const aValue: TIJSObjectDynArray); Public constructor Create(const aInit: IJSMediaMetadataInit); overload; constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaMetadata; property title: UnicodeString read _Gettitle write _Settitle; property artist: UnicodeString read _Getartist write _Setartist; property album: UnicodeString read _Getalbum write _Setalbum; property artwork: TIJSObjectDynArray read _Getartwork write _Setartwork; end; { -------------------------------------------------------------------- TJSMediaStreamError --------------------------------------------------------------------} IJSMediaStreamError = interface(IJSObject) ['{A93A2890-DA9A-368F-9937-8536E421EDFB}'] function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _Getconstraint: UnicodeString; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property constraint: UnicodeString read _Getconstraint; end; TJSMediaStreamError = class(TJSObject,IJSMediaStreamError) Private Protected function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _Getconstraint: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamError; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property constraint: UnicodeString read _Getconstraint; end; { -------------------------------------------------------------------- TJSMessageChannel --------------------------------------------------------------------} IJSMessageChannel = interface(IJSObject) ['{37009EE6-FC14-3676-8A3B-63F9776A1AB1}'] function _Getport1: IJSMessagePort; function _Getport2: IJSMessagePort; property port1: IJSMessagePort read _Getport1; property port2: IJSMessagePort read _Getport2; end; TJSMessageChannel = class(TJSObject,IJSMessageChannel) Private Protected function _Getport1: IJSMessagePort; function _Getport2: IJSMessagePort; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMessageChannel; property port1: IJSMessagePort read _Getport1; property port2: IJSMessagePort read _Getport2; end; { -------------------------------------------------------------------- TJSMIDIInputMap --------------------------------------------------------------------} IJSMIDIInputMap = interface(IJSObject) ['{E6CFA648-94DD-3B0F-9220-F0D81AA2A621}'] function _Getsize : LongInt; function get(key: UnicodeString) : TJSMIDIInput; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; property size : LongInt read _Getsize; end; TJSMIDIInputMap = class(TJSObject,IJSMIDIInputMap) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : TJSMIDIInput; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIInputMap; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSMIDIOutputMap --------------------------------------------------------------------} IJSMIDIOutputMap = interface(IJSObject) ['{668E212C-0020-39DF-8C90-0F86C7DC1248}'] function _Getsize : LongInt; function get(key: UnicodeString) : TJSMIDIOutput; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; property size : LongInt read _Getsize; end; TJSMIDIOutputMap = class(TJSObject,IJSMIDIOutputMap) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : TJSMIDIOutput; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIOutputMap; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSMimeType --------------------------------------------------------------------} IJSMimeType = interface(IJSObject) ['{B09EF652-ED5A-3ED8-A382-395F169DB5F9}'] function _Gettype_: UnicodeString; function _Getdescription: UnicodeString; function _Getsuffixes: UnicodeString; function _GetenabledPlugin: IJSPlugin; property type_: UnicodeString read _Gettype_; property description: UnicodeString read _Getdescription; property suffixes: UnicodeString read _Getsuffixes; property enabledPlugin: IJSPlugin read _GetenabledPlugin; end; TJSMimeType = class(TJSObject,IJSMimeType) Private Protected function _Gettype_: UnicodeString; function _Getdescription: UnicodeString; function _Getsuffixes: UnicodeString; function _GetenabledPlugin: IJSPlugin; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMimeType; property type_: UnicodeString read _Gettype_; property description: UnicodeString read _Getdescription; property suffixes: UnicodeString read _Getsuffixes; property enabledPlugin: IJSPlugin read _GetenabledPlugin; end; { -------------------------------------------------------------------- TJSMimeTypeArray --------------------------------------------------------------------} IJSMimeTypeArray = interface(IJSObject) ['{036F6435-27C1-3D8D-A932-4D4D09266DC6}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSMimeType; function namedItem(const aName: UnicodeString): IJSMimeType; property length_: Cardinal read _Getlength_; end; TJSMimeTypeArray = class(TJSObject,IJSMimeTypeArray) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSMimeType; overload; function namedItem(const aName: UnicodeString): IJSMimeType; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMimeTypeArray; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSMozFrameLoaderOwner --------------------------------------------------------------------} IJSMozFrameLoaderOwner = interface(IJSObject) ['{34E340AC-FB22-368F-B658-5B6E604A3F3E}'] end; TJSMozFrameLoaderOwner = class(TJSObject,IJSMozFrameLoaderOwner) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozFrameLoaderOwner; end; { -------------------------------------------------------------------- TJSMutationRecord --------------------------------------------------------------------} IJSMutationRecord = interface(IJSObject) ['{3021B3EB-64AE-367A-8125-288E23F988A0}'] function _Gettype_: UnicodeString; function _Gettarget: IJSNode; function _GetaddedNodes: IJSNodeList; function _GetremovedNodes: IJSNodeList; function _GetpreviousSibling: IJSNode; function _GetnextSibling: IJSNode; function _GetattributeName: UnicodeString; function _GetattributeNamespace: UnicodeString; function _GetoldValue: UnicodeString; property type_: UnicodeString read _Gettype_; property target: IJSNode read _Gettarget; property addedNodes: IJSNodeList read _GetaddedNodes; property removedNodes: IJSNodeList read _GetremovedNodes; property previousSibling: IJSNode read _GetpreviousSibling; property nextSibling: IJSNode read _GetnextSibling; property attributeName: UnicodeString read _GetattributeName; property attributeNamespace: UnicodeString read _GetattributeNamespace; property oldValue: UnicodeString read _GetoldValue; end; TJSMutationRecord = class(TJSObject,IJSMutationRecord) Private Protected function _Gettype_: UnicodeString; function _Gettarget: IJSNode; function _GetaddedNodes: IJSNodeList; function _GetremovedNodes: IJSNodeList; function _GetpreviousSibling: IJSNode; function _GetnextSibling: IJSNode; function _GetattributeName: UnicodeString; function _GetattributeNamespace: UnicodeString; function _GetoldValue: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMutationRecord; property type_: UnicodeString read _Gettype_; property target: IJSNode read _Gettarget; property addedNodes: IJSNodeList read _GetaddedNodes; property removedNodes: IJSNodeList read _GetremovedNodes; property previousSibling: IJSNode read _GetpreviousSibling; property nextSibling: IJSNode read _GetnextSibling; property attributeName: UnicodeString read _GetattributeName; property attributeNamespace: UnicodeString read _GetattributeNamespace; property oldValue: UnicodeString read _GetoldValue; end; { -------------------------------------------------------------------- TJSMutationObserver --------------------------------------------------------------------} IJSMutationObserver = interface(IJSObject) ['{DDC3D0B4-E8D1-3580-8280-D87E3228A228}'] procedure observe(aTarget: IJSNode; const aOptions: IJSMutationObserverInit); procedure observe(aTarget: IJSNode); procedure disconnect; function takeRecords: TJSMutationRecordDynArray; end; TJSMutationObserver = class(TJSObject,IJSMutationObserver) Private Protected Public constructor Create(const aMutationCallback: TMutationCallback); overload; procedure observe(aTarget: IJSNode; const aOptions: IJSMutationObserverInit); overload; procedure observe(aTarget: IJSNode); overload; procedure disconnect; overload; function takeRecords: TJSMutationRecordDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMutationObserver; end; { -------------------------------------------------------------------- TJSNamedNodeMap --------------------------------------------------------------------} IJSNamedNodeMap = interface(IJSObject) ['{0610D8A9-55AB-32B7-AD52-DD3C9C8CFA9F}'] function _Getlength_: Cardinal; function getNamedItem(const aName: UnicodeString): IJSAttr; function setNamedItem(aArg: IJSAttr): IJSAttr; function removeNamedItem(const aName: UnicodeString): IJSAttr; function item(aIndex: Cardinal): IJSAttr; function getNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; function setNamedItemNS(aArg: IJSAttr): IJSAttr; function removeNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; property length_: Cardinal read _Getlength_; end; TJSNamedNodeMap = class(TJSObject,IJSNamedNodeMap) Private Protected function _Getlength_: Cardinal; Public function getNamedItem(const aName: UnicodeString): IJSAttr; overload; function setNamedItem(aArg: IJSAttr): IJSAttr; overload; function removeNamedItem(const aName: UnicodeString): IJSAttr; overload; function item(aIndex: Cardinal): IJSAttr; overload; function getNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; overload; function setNamedItemNS(aArg: IJSAttr): IJSAttr; overload; function removeNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNamedNodeMap; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSNavigationPreloadManager --------------------------------------------------------------------} IJSNavigationPreloadManager = interface(IJSObject) ['{95C21E2C-96A6-3882-909E-4903EE3998E5}'] function enable: IJSPromise; // Promise function disable: IJSPromise; // Promise function setHeaderValue(const aValue: UnicodeString): IJSPromise; // Promise function getState: IJSPromise; // Promise end; TJSNavigationPreloadManager = class(TJSObject,IJSNavigationPreloadManager) Private Protected Public function enable: IJSPromise; overload; // Promise function disable: IJSPromise; overload; // Promise function setHeaderValue(const aValue: UnicodeString): IJSPromise; overload; // Promise function getState: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigationPreloadManager; end; { -------------------------------------------------------------------- TJSNavigator --------------------------------------------------------------------} TJSGamepadDynArray = IJSArray; // array of Gamepad TJSMediaKeySystemConfigurationDynArray = IJSArray; // array of MediaKeySystemConfiguration TJSVRDisplayDynArray = IJSArray; // array of VRDisplay IJSNavigator = interface(IJSObject) ['{26C12334-0B8F-3C85-AE36-432DF00E2D06}'] function _Getpermissions: IJSPermissions; function _GetmimeTypes: IJSMimeTypeArray; function _Getplugins: IJSPluginArray; function _GetpdfViewerEnabled: Boolean; function _GetdoNotTrack: UnicodeString; function _GetmaxTouchPoints: LongInt; function _GetmediaCapabilities: IJSMediaCapabilities; function _Getoscpu: UnicodeString; function _Getvendor: UnicodeString; function _GetvendorSub: UnicodeString; function _GetproductSub: UnicodeString; function _GetcookieEnabled: Boolean; function _GetbuildID: UnicodeString; function _GetmozAddonManager: IJSAddonManager; function _Getconnection: IJSNetworkInformation; function _GetactiveVRDisplays: TJSVRDisplayDynArray; function _Getxr: IJSXRSystem; function _GetmediaDevices: IJSMediaDevices; function _GetserviceWorker: IJSServiceWorkerContainer; function _GetmozTCPSocket: IJSLegacyMozTCPSocket; function _Getcredentials: IJSCredentialsContainer; function _Getclipboard: IJSClipboard; function _GettestTrialGatedAttribute: Boolean; function _GetmediaSession: IJSMediaSession; function _GetuserActivation: IJSUserActivation; function _GetwakeLock: IJSWakeLock; function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; function _GetonLine: Boolean; function _GethardwareConcurrency: QWord; function _Getstorage: IJSStorageManager; function _Getwebdriver: Boolean; function _Getgpu: IJSGPU; function _GetglobalPrivacyControl: Boolean; function _Getgeolocation: IJSGeolocation; function _Getlocks: IJSLockManager; function vibrate(aDuration: Cardinal): Boolean; function vibrate(const aPattern: TCardinalDynArray): Boolean; function javaEnabled: Boolean; function getGamepads: TJSGamepadDynArray; function requestGamepadServiceTest: IJSGamepadServiceTest; function getVRDisplays: IJSPromise; // Promise function requestVRServiceTest: IJSVRServiceTest; function requestMIDIAccess(const aOptions: IJSMIDIOptions): IJSPromise; // Promise function requestMIDIAccess: IJSPromise; // Promise procedure mozGetUserMedia(const aConstraints: IJSMediaStreamConstraints; const aSuccessCallback: TNavigatorUserMediaSuccessCallback; const aErrorCallback: TNavigatorUserMediaErrorCallback); function sendBeacon(const aUrl: UnicodeString; const aData: TBodyInit): Boolean; function sendBeacon(const aUrl: UnicodeString): Boolean; function requestMediaKeySystemAccess(const aKeySystem: UnicodeString; const aSupportedConfigurations: TJSMediaKeySystemConfigurationDynArray): IJSPromise; // Promise function share(const aData: IJSShareData): IJSPromise; // Promise function share: IJSPromise; // Promise function canShare(const aData: IJSShareData): Boolean; function canShare: Boolean; function getAutoplayPolicy(aType_: TAutoplayPolicyMediaType): TAutoplayPolicy; function getAutoplayPolicy(aElement: IJSHTMLMediaElement): TAutoplayPolicy; function getAutoplayPolicy(aContext: IJSAudioContext): TAutoplayPolicy; function taintEnabled: Boolean; procedure registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); property permissions: IJSPermissions read _Getpermissions; property mimeTypes: IJSMimeTypeArray read _GetmimeTypes; property plugins: IJSPluginArray read _Getplugins; property pdfViewerEnabled: Boolean read _GetpdfViewerEnabled; property doNotTrack: UnicodeString read _GetdoNotTrack; property maxTouchPoints: LongInt read _GetmaxTouchPoints; property mediaCapabilities: IJSMediaCapabilities read _GetmediaCapabilities; property oscpu: UnicodeString read _Getoscpu; property vendor: UnicodeString read _Getvendor; property vendorSub: UnicodeString read _GetvendorSub; property productSub: UnicodeString read _GetproductSub; property cookieEnabled: Boolean read _GetcookieEnabled; property buildID: UnicodeString read _GetbuildID; property mozAddonManager: IJSAddonManager read _GetmozAddonManager; property connection: IJSNetworkInformation read _Getconnection; property activeVRDisplays: TJSVRDisplayDynArray read _GetactiveVRDisplays; property xr: IJSXRSystem read _Getxr; property mediaDevices: IJSMediaDevices read _GetmediaDevices; property serviceWorker: IJSServiceWorkerContainer read _GetserviceWorker; property mozTCPSocket: IJSLegacyMozTCPSocket read _GetmozTCPSocket; property credentials: IJSCredentialsContainer read _Getcredentials; property clipboard: IJSClipboard read _Getclipboard; property testTrialGatedAttribute: Boolean read _GettestTrialGatedAttribute; property mediaSession: IJSMediaSession read _GetmediaSession; property userActivation: IJSUserActivation read _GetuserActivation; property wakeLock: IJSWakeLock read _GetwakeLock; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; property onLine: Boolean read _GetonLine; property hardwareConcurrency: QWord read _GethardwareConcurrency; property storage: IJSStorageManager read _Getstorage; property webdriver: Boolean read _Getwebdriver; property gpu: IJSGPU read _Getgpu; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; property geolocation: IJSGeolocation read _Getgeolocation; property locks: IJSLockManager read _Getlocks; end; TJSNavigator = class(TJSObject,IJSNavigator) Private Protected function _Getpermissions: IJSPermissions; function _GetmimeTypes: IJSMimeTypeArray; function _Getplugins: IJSPluginArray; function _GetpdfViewerEnabled: Boolean; function _GetdoNotTrack: UnicodeString; function _GetmaxTouchPoints: LongInt; function _GetmediaCapabilities: IJSMediaCapabilities; function _Getoscpu: UnicodeString; function _Getvendor: UnicodeString; function _GetvendorSub: UnicodeString; function _GetproductSub: UnicodeString; function _GetcookieEnabled: Boolean; function _GetbuildID: UnicodeString; function _GetmozAddonManager: IJSAddonManager; function _Getconnection: IJSNetworkInformation; function _GetactiveVRDisplays: TJSVRDisplayDynArray; function _Getxr: IJSXRSystem; function _GetmediaDevices: IJSMediaDevices; function _GetserviceWorker: IJSServiceWorkerContainer; function _GetmozTCPSocket: IJSLegacyMozTCPSocket; function _Getcredentials: IJSCredentialsContainer; function _Getclipboard: IJSClipboard; function _GettestTrialGatedAttribute: Boolean; function _GetmediaSession: IJSMediaSession; function _GetuserActivation: IJSUserActivation; function _GetwakeLock: IJSWakeLock; function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; function _GetonLine: Boolean; function _GethardwareConcurrency: QWord; function _Getstorage: IJSStorageManager; function _Getwebdriver: Boolean; function _Getgpu: IJSGPU; function _GetglobalPrivacyControl: Boolean; function _Getgeolocation: IJSGeolocation; function _Getlocks: IJSLockManager; Public function vibrate(aDuration: Cardinal): Boolean; overload; function vibrate(const aPattern: TCardinalDynArray): Boolean; overload; function javaEnabled: Boolean; overload; function getGamepads: TJSGamepadDynArray; overload; function requestGamepadServiceTest: IJSGamepadServiceTest; overload; function getVRDisplays: IJSPromise; overload; // Promise function requestVRServiceTest: IJSVRServiceTest; overload; function requestMIDIAccess(const aOptions: IJSMIDIOptions): IJSPromise; overload; // Promise function requestMIDIAccess: IJSPromise; overload; // Promise procedure mozGetUserMedia(const aConstraints: IJSMediaStreamConstraints; const aSuccessCallback: TNavigatorUserMediaSuccessCallback; const aErrorCallback: TNavigatorUserMediaErrorCallback); overload; function sendBeacon(const aUrl: UnicodeString; const aData: TBodyInit): Boolean; overload; function sendBeacon(const aUrl: UnicodeString): Boolean; overload; function requestMediaKeySystemAccess(const aKeySystem: UnicodeString; const aSupportedConfigurations: TJSMediaKeySystemConfigurationDynArray): IJSPromise; overload; // Promise function share(const aData: IJSShareData): IJSPromise; overload; // Promise function share: IJSPromise; overload; // Promise function canShare(const aData: IJSShareData): Boolean; overload; function canShare: Boolean; overload; function getAutoplayPolicy(aType_: TAutoplayPolicyMediaType): TAutoplayPolicy; overload; function getAutoplayPolicy(aElement: IJSHTMLMediaElement): TAutoplayPolicy; overload; function getAutoplayPolicy(aContext: IJSAudioContext): TAutoplayPolicy; overload; function taintEnabled: Boolean; overload; procedure registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigator; property permissions: IJSPermissions read _Getpermissions; property mimeTypes: IJSMimeTypeArray read _GetmimeTypes; property plugins: IJSPluginArray read _Getplugins; property pdfViewerEnabled: Boolean read _GetpdfViewerEnabled; property doNotTrack: UnicodeString read _GetdoNotTrack; property maxTouchPoints: LongInt read _GetmaxTouchPoints; property mediaCapabilities: IJSMediaCapabilities read _GetmediaCapabilities; property oscpu: UnicodeString read _Getoscpu; property vendor: UnicodeString read _Getvendor; property vendorSub: UnicodeString read _GetvendorSub; property productSub: UnicodeString read _GetproductSub; property cookieEnabled: Boolean read _GetcookieEnabled; property buildID: UnicodeString read _GetbuildID; property mozAddonManager: IJSAddonManager read _GetmozAddonManager; property connection: IJSNetworkInformation read _Getconnection; property activeVRDisplays: TJSVRDisplayDynArray read _GetactiveVRDisplays; property xr: IJSXRSystem read _Getxr; property mediaDevices: IJSMediaDevices read _GetmediaDevices; property serviceWorker: IJSServiceWorkerContainer read _GetserviceWorker; property mozTCPSocket: IJSLegacyMozTCPSocket read _GetmozTCPSocket; property credentials: IJSCredentialsContainer read _Getcredentials; property clipboard: IJSClipboard read _Getclipboard; property testTrialGatedAttribute: Boolean read _GettestTrialGatedAttribute; property mediaSession: IJSMediaSession read _GetmediaSession; property userActivation: IJSUserActivation read _GetuserActivation; property wakeLock: IJSWakeLock read _GetwakeLock; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; property onLine: Boolean read _GetonLine; property hardwareConcurrency: QWord read _GethardwareConcurrency; property storage: IJSStorageManager read _Getstorage; property webdriver: Boolean read _Getwebdriver; property gpu: IJSGPU read _Getgpu; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; property geolocation: IJSGeolocation read _Getgeolocation; property locks: IJSLockManager read _Getlocks; end; { -------------------------------------------------------------------- TJSNavigatorID --------------------------------------------------------------------} IJSNavigatorID = interface(IJSObject) ['{215A405D-0F9C-31EF-B9F7-FF5AB1BCEF36}'] function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; function taintEnabled: Boolean; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; end; TJSNavigatorID = class(TJSObject,IJSNavigatorID) Private Protected function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; Public function taintEnabled: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorID; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; end; { -------------------------------------------------------------------- TJSNavigatorLanguage --------------------------------------------------------------------} IJSNavigatorLanguage = interface(IJSObject) ['{2EFCA0E7-8953-3167-AE7E-BFFA622D2A1E}'] function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; end; TJSNavigatorLanguage = class(TJSObject,IJSNavigatorLanguage) Private Protected function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorLanguage; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; end; { -------------------------------------------------------------------- TJSNavigatorOnLine --------------------------------------------------------------------} IJSNavigatorOnLine = interface(IJSObject) ['{D3A72A1E-EB8A-3AE7-953C-E8AA1D3F6A8F}'] function _GetonLine: Boolean; property onLine: Boolean read _GetonLine; end; TJSNavigatorOnLine = class(TJSObject,IJSNavigatorOnLine) Private Protected function _GetonLine: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorOnLine; property onLine: Boolean read _GetonLine; end; { -------------------------------------------------------------------- TJSNavigatorContentUtils --------------------------------------------------------------------} IJSNavigatorContentUtils = interface(IJSObject) ['{362EC3BB-3CE7-318B-B2C8-528F06651BFC}'] procedure registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); end; TJSNavigatorContentUtils = class(TJSObject,IJSNavigatorContentUtils) Private Protected Public procedure registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorContentUtils; end; { -------------------------------------------------------------------- TJSNavigatorStorage --------------------------------------------------------------------} IJSNavigatorStorage = interface(IJSObject) ['{4E187B4F-7050-3B84-A57C-BC857B5FB047}'] function _Getstorage: IJSStorageManager; property storage: IJSStorageManager read _Getstorage; end; TJSNavigatorStorage = class(TJSObject,IJSNavigatorStorage) Private Protected function _Getstorage: IJSStorageManager; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorStorage; property storage: IJSStorageManager read _Getstorage; end; { -------------------------------------------------------------------- TJSNavigatorStorageUtils --------------------------------------------------------------------} IJSNavigatorStorageUtils = interface(IJSObject) ['{E0F1ED77-CF32-3976-B0E2-7B11DFFDF30F}'] end; TJSNavigatorStorageUtils = class(TJSObject,IJSNavigatorStorageUtils) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorStorageUtils; end; { -------------------------------------------------------------------- TJSGlobalPrivacyControl --------------------------------------------------------------------} IJSGlobalPrivacyControl = interface(IJSObject) ['{837EBBD4-0A6E-39CB-BB68-60A372EFFCB4}'] function _GetglobalPrivacyControl: Boolean; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; end; TJSGlobalPrivacyControl = class(TJSObject,IJSGlobalPrivacyControl) Private Protected function _GetglobalPrivacyControl: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGlobalPrivacyControl; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; end; { -------------------------------------------------------------------- TJSNavigatorGeolocation --------------------------------------------------------------------} IJSNavigatorGeolocation = interface(IJSObject) ['{2A5C466F-4776-3B41-A101-553CDDF53214}'] function _Getgeolocation: IJSGeolocation; property geolocation: IJSGeolocation read _Getgeolocation; end; TJSNavigatorGeolocation = class(TJSObject,IJSNavigatorGeolocation) Private Protected function _Getgeolocation: IJSGeolocation; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorGeolocation; property geolocation: IJSGeolocation read _Getgeolocation; end; { -------------------------------------------------------------------- TJSNavigatorConcurrentHardware --------------------------------------------------------------------} IJSNavigatorConcurrentHardware = interface(IJSObject) ['{7B301AD1-26B3-3394-A2B6-61F4EB52863D}'] function _GethardwareConcurrency: QWord; property hardwareConcurrency: QWord read _GethardwareConcurrency; end; TJSNavigatorConcurrentHardware = class(TJSObject,IJSNavigatorConcurrentHardware) Private Protected function _GethardwareConcurrency: QWord; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorConcurrentHardware; property hardwareConcurrency: QWord read _GethardwareConcurrency; end; { -------------------------------------------------------------------- TJSNavigatorAutomationInformation --------------------------------------------------------------------} IJSNavigatorAutomationInformation = interface(IJSObject) ['{D644165F-F322-372F-90C1-995B3CEB56D6}'] function _Getwebdriver: Boolean; property webdriver: Boolean read _Getwebdriver; end; TJSNavigatorAutomationInformation = class(TJSObject,IJSNavigatorAutomationInformation) Private Protected function _Getwebdriver: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorAutomationInformation; property webdriver: Boolean read _Getwebdriver; end; { -------------------------------------------------------------------- TJSNavigatorLocks --------------------------------------------------------------------} IJSNavigatorLocks = interface(IJSObject) ['{799D5A20-56B0-3761-B136-7F9D6EE06136}'] function _Getlocks: IJSLockManager; property locks: IJSLockManager read _Getlocks; end; TJSNavigatorLocks = class(TJSObject,IJSNavigatorLocks) Private Protected function _Getlocks: IJSLockManager; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorLocks; property locks: IJSLockManager read _Getlocks; end; { -------------------------------------------------------------------- TJSNodeIterator --------------------------------------------------------------------} IJSNodeIterator = interface(IJSObject) ['{BA2591D6-ECC5-3504-B093-55716146F7C7}'] function _Getroot: IJSNode; function _GetreferenceNode: IJSNode; function _GetpointerBeforeReferenceNode: Boolean; function _GetwhatToShow: Cardinal; function _Getfilter: TNodeFilter; function nextNode: IJSNode; function previousNode: IJSNode; procedure detach; property root: IJSNode read _Getroot; property referenceNode: IJSNode read _GetreferenceNode; property pointerBeforeReferenceNode: Boolean read _GetpointerBeforeReferenceNode; property whatToShow: Cardinal read _GetwhatToShow; property filter: TNodeFilter read _Getfilter; end; TJSNodeIterator = class(TJSObject,IJSNodeIterator) Private Protected function _Getroot: IJSNode; function _GetreferenceNode: IJSNode; function _GetpointerBeforeReferenceNode: Boolean; function _GetwhatToShow: Cardinal; function _Getfilter: TNodeFilter; Public function nextNode: IJSNode; overload; function previousNode: IJSNode; overload; procedure detach; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNodeIterator; property root: IJSNode read _Getroot; property referenceNode: IJSNode read _GetreferenceNode; property pointerBeforeReferenceNode: Boolean read _GetpointerBeforeReferenceNode; property whatToShow: Cardinal read _GetwhatToShow; property filter: TNodeFilter read _Getfilter; end; { -------------------------------------------------------------------- TJSNodeList --------------------------------------------------------------------} IJSNodeList = interface(IJSObject) ['{4890CF3A-7B13-3E7A-9A09-8A3EED528BC7}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSNode; property length_: Cardinal read _Getlength_; end; TJSNodeList = class(TJSObject,IJSNodeList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSNode; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNodeList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSNonElementParentNode --------------------------------------------------------------------} IJSNonElementParentNode = interface(IJSObject) ['{B9E6BE73-B984-34CC-BBBC-93D6C0C8121C}'] function getElementById(const aElementId: UnicodeString): IJSElement; end; TJSNonElementParentNode = class(TJSObject,IJSNonElementParentNode) Private Protected Public function getElementById(const aElementId: UnicodeString): IJSElement; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNonElementParentNode; end; { -------------------------------------------------------------------- TJSOffscreenCanvasRenderingContext2D --------------------------------------------------------------------} IJSOffscreenCanvasRenderingContext2D = interface(IJSObject) ['{2176BF78-4D3D-3387-9838-374B1B734B4E}'] function _Getcanvas: IJSOffscreenCanvas; function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; function _GetimageSmoothingEnabled: Boolean; function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; function _Getfilter: UTF8String; function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); procedure _SetimageSmoothingEnabled(const aValue: Boolean); procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); procedure _Setfilter(const aValue: UTF8String); procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); procedure commit; procedure save; procedure restore; procedure reset; function isContextLost: Boolean; procedure scale(aX: Double; aY: Double); procedure rotate(aAngle: Double); procedure translate(aX: Double; aY: Double); procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); function getTransform: IJSDOMMatrix; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); procedure setTransform(const aTransform: IJSDOMMatrix2DInit); procedure setTransform; procedure resetTransform; function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure beginPath; procedure fill(aWinding: TCanvasWindingRule); procedure fill; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure fill(aPath: IJSPath2D); procedure stroke; procedure stroke(aPath: IJSPath2D); procedure clip(aWinding: TCanvasWindingRule); procedure clip; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); procedure clip(aPath: IJSPath2D); function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aX: Double; aY: Double): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; function isPointInStroke(aX: Double; aY: Double): Boolean; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); function measureText(const aText: UnicodeString): IJSTextMetrics; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; function createImageData(aImagedata: IJSImageData): IJSImageData; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); procedure setLineDash(const aSegments: TDoubleDynArray); function getLineDash: TDoubleDynArray; procedure closePath; procedure moveTo(aX: Double; aY: Double); procedure lineTo(aX: Double; aY: Double); procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); property canvas: IJSOffscreenCanvas read _Getcanvas; property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; property filter: UTF8String read _Getfilter write _Setfilter; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; TJSOffscreenCanvasRenderingContext2D = class(TJSObject,IJSOffscreenCanvasRenderingContext2D) Private Protected function _Getcanvas: IJSOffscreenCanvas; function _GetglobalAlpha: Double; function _GetglobalCompositeOperation: UnicodeString; function _GetimageSmoothingEnabled: Boolean; function _GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; function _GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; function _GetshadowOffsetX: Double; function _GetshadowOffsetY: Double; function _GetshadowBlur: Double; function _GetshadowColor: UTF8String; function _Getfilter: UTF8String; function _GetlineWidth: Double; function _GetlineCap: TCanvasLineCap; function _GetlineJoin: TCanvasLineJoin; function _GetmiterLimit: Double; function _GetlineDashOffset: Double; function _Getfont: UTF8String; function _GettextAlign: TCanvasTextAlign; function _GettextBaseline: TCanvasTextBaseline; function _Getdirection: TCanvasDirection; function _GetletterSpacing: UTF8String; function _GetfontKerning: TCanvasFontKerning; function _GetfontStretch: TCanvasFontStretch; function _GetfontVariantCaps: TCanvasFontVariantCaps; function _GettextRendering: TCanvasTextRendering; function _GetwordSpacing: UTF8String; procedure _SetglobalAlpha(const aValue: Double); procedure _SetglobalCompositeOperation(const aValue: UnicodeString); procedure _SetimageSmoothingEnabled(const aValue: Boolean); procedure _SetstrokeStyle(const aValue: TCanvasFillStrokeStyles_strokeStyle_Type); procedure _SetfillStyle(const aValue: TCanvasFillStrokeStyles_fillStyle_Type); procedure _SetshadowOffsetX(const aValue: Double); procedure _SetshadowOffsetY(const aValue: Double); procedure _SetshadowBlur(const aValue: Double); procedure _SetshadowColor(const aValue: UTF8String); procedure _Setfilter(const aValue: UTF8String); procedure _SetlineWidth(const aValue: Double); procedure _SetlineCap(const aValue: TCanvasLineCap); procedure _SetlineJoin(const aValue: TCanvasLineJoin); procedure _SetmiterLimit(const aValue: Double); procedure _SetlineDashOffset(const aValue: Double); procedure _Setfont(const aValue: UTF8String); procedure _SettextAlign(const aValue: TCanvasTextAlign); procedure _SettextBaseline(const aValue: TCanvasTextBaseline); procedure _Setdirection(const aValue: TCanvasDirection); procedure _SetletterSpacing(const aValue: UTF8String); procedure _SetfontKerning(const aValue: TCanvasFontKerning); procedure _SetfontStretch(const aValue: TCanvasFontStretch); procedure _SetfontVariantCaps(const aValue: TCanvasFontVariantCaps); procedure _SettextRendering(const aValue: TCanvasTextRendering); procedure _SetwordSpacing(const aValue: UTF8String); Public procedure commit; overload; procedure save; overload; procedure restore; overload; procedure reset; overload; function isContextLost: Boolean; overload; procedure scale(aX: Double; aY: Double); overload; procedure rotate(aAngle: Double); overload; procedure translate(aX: Double; aY: Double); overload; procedure transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; function getTransform: IJSDOMMatrix; overload; procedure setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); overload; procedure setTransform(const aTransform: IJSDOMMatrix2DInit); overload; procedure setTransform; overload; procedure resetTransform; overload; function createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; overload; function createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; overload; function createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; overload; function createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; overload; function createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; overload; procedure clearRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure fillRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure beginPath; overload; procedure fill(aWinding: TCanvasWindingRule); overload; procedure fill; overload; procedure fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure fill(aPath: IJSPath2D); overload; procedure stroke; overload; procedure stroke(aPath: IJSPath2D); overload; procedure clip(aWinding: TCanvasWindingRule); overload; procedure clip; overload; procedure clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); overload; procedure clip(aPath: IJSPath2D); overload; function isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aX: Double; aY: Double): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; overload; function isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aX: Double; aY: Double): Boolean; overload; function isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; overload; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure fillText(const aText: UnicodeString; aX: Double; aY: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); overload; procedure strokeText(const aText: UnicodeString; aX: Double; aY: Double); overload; function measureText(const aText: UnicodeString): IJSTextMetrics; overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; procedure drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); overload; function createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; overload; function createImageData(aImagedata: IJSImageData): IJSImageData; overload; function getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); overload; procedure putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); overload; procedure setLineDash(const aSegments: TDoubleDynArray); overload; function getLineDash: TDoubleDynArray; overload; procedure closePath; overload; procedure moveTo(aX: Double; aY: Double); overload; procedure lineTo(aX: Double; aY: Double); overload; procedure quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); overload; procedure bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); overload; procedure arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); overload; procedure rect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); overload; procedure roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); overload; procedure ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOffscreenCanvasRenderingContext2D; property canvas: IJSOffscreenCanvas read _Getcanvas; property globalAlpha: Double read _GetglobalAlpha write _SetglobalAlpha; property globalCompositeOperation: UnicodeString read _GetglobalCompositeOperation write _SetglobalCompositeOperation; property imageSmoothingEnabled: Boolean read _GetimageSmoothingEnabled write _SetimageSmoothingEnabled; property strokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type read _GetstrokeStyle write _SetstrokeStyle; property fillStyle: TCanvasFillStrokeStyles_fillStyle_Type read _GetfillStyle write _SetfillStyle; property shadowOffsetX: Double read _GetshadowOffsetX write _SetshadowOffsetX; property shadowOffsetY: Double read _GetshadowOffsetY write _SetshadowOffsetY; property shadowBlur: Double read _GetshadowBlur write _SetshadowBlur; property shadowColor: UTF8String read _GetshadowColor write _SetshadowColor; property filter: UTF8String read _Getfilter write _Setfilter; property lineWidth: Double read _GetlineWidth write _SetlineWidth; property lineCap: TCanvasLineCap read _GetlineCap write _SetlineCap; property lineJoin: TCanvasLineJoin read _GetlineJoin write _SetlineJoin; property miterLimit: Double read _GetmiterLimit write _SetmiterLimit; property lineDashOffset: Double read _GetlineDashOffset write _SetlineDashOffset; property font: UTF8String read _Getfont write _Setfont; property textAlign: TCanvasTextAlign read _GettextAlign write _SettextAlign; property textBaseline: TCanvasTextBaseline read _GettextBaseline write _SettextBaseline; property direction: TCanvasDirection read _Getdirection write _Setdirection; property letterSpacing: UTF8String read _GetletterSpacing write _SetletterSpacing; property fontKerning: TCanvasFontKerning read _GetfontKerning write _SetfontKerning; property fontStretch: TCanvasFontStretch read _GetfontStretch write _SetfontStretch; property fontVariantCaps: TCanvasFontVariantCaps read _GetfontVariantCaps write _SetfontVariantCaps; property textRendering: TCanvasTextRendering read _GettextRendering write _SettextRendering; property wordSpacing: UTF8String read _GetwordSpacing write _SetwordSpacing; end; { -------------------------------------------------------------------- TJSPaintRequest --------------------------------------------------------------------} IJSPaintRequest = interface(IJSObject) ['{4E8E8715-BF4C-35FA-85E0-DF3AE6AB299A}'] function _GetclientRect: IJSDOMRect; function _Getreason: UnicodeString; property clientRect: IJSDOMRect read _GetclientRect; property reason: UnicodeString read _Getreason; end; TJSPaintRequest = class(TJSObject,IJSPaintRequest) Private Protected function _GetclientRect: IJSDOMRect; function _Getreason: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaintRequest; property clientRect: IJSDOMRect read _GetclientRect; property reason: UnicodeString read _Getreason; end; { -------------------------------------------------------------------- TJSPaintRequestList --------------------------------------------------------------------} IJSPaintRequestList = interface(IJSObject) ['{981882BD-FC97-3E3A-B85B-131E7A1A098A}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSPaintRequest; property length_: Cardinal read _Getlength_; end; TJSPaintRequestList = class(TJSObject,IJSPaintRequestList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSPaintRequest; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaintRequestList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSParentNode --------------------------------------------------------------------} // Union of Node, DOMString TParentNode_prepend_nodes_Type = Variant; // Union of Node, DOMString TParentNode_append_nodes_Type = Variant; // Union of Node, DOMString TParentNode_replaceChildren_nodes_Type = Variant; IJSParentNode = interface(IJSObject) ['{3F7277E6-1295-395D-B3E6-86061FC5C0A1}'] function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; procedure append(aNodes: IJSNode){; ToDo:varargs}; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; function querySelector(const aSelectors: UTF8String): IJSElement; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; end; TJSParentNode = class(TJSObject,IJSParentNode) Private Protected function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; Public procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; overload; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure append(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; overload; function querySelector(const aSelectors: UTF8String): IJSElement; overload; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSParentNode; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; end; { -------------------------------------------------------------------- TJSPaymentAddress --------------------------------------------------------------------} IJSPaymentAddress = interface(IJSObject) ['{7928C2FA-86FE-364B-9A2C-085E23428FE8}'] function _Getcountry: UnicodeString; function _GetaddressLine: TUnicodeStringDynArray; function _Getregion: UnicodeString; function _GetregionCode: UnicodeString; function _Getcity: UnicodeString; function _GetdependentLocality: UnicodeString; function _GetpostalCode: UnicodeString; function _GetsortingCode: UnicodeString; function _Getorganization: UnicodeString; function _Getrecipient: UnicodeString; function _Getphone: UnicodeString; function toJSON: IJSObject; property country: UnicodeString read _Getcountry; property addressLine: TUnicodeStringDynArray read _GetaddressLine; property region: UnicodeString read _Getregion; property regionCode: UnicodeString read _GetregionCode; property city: UnicodeString read _Getcity; property dependentLocality: UnicodeString read _GetdependentLocality; property postalCode: UnicodeString read _GetpostalCode; property sortingCode: UnicodeString read _GetsortingCode; property organization: UnicodeString read _Getorganization; property recipient: UnicodeString read _Getrecipient; property phone: UnicodeString read _Getphone; end; TJSPaymentAddress = class(TJSObject,IJSPaymentAddress) Private Protected function _Getcountry: UnicodeString; function _GetaddressLine: TUnicodeStringDynArray; function _Getregion: UnicodeString; function _GetregionCode: UnicodeString; function _Getcity: UnicodeString; function _GetdependentLocality: UnicodeString; function _GetpostalCode: UnicodeString; function _GetsortingCode: UnicodeString; function _Getorganization: UnicodeString; function _Getrecipient: UnicodeString; function _Getphone: UnicodeString; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentAddress; property country: UnicodeString read _Getcountry; property addressLine: TUnicodeStringDynArray read _GetaddressLine; property region: UnicodeString read _Getregion; property regionCode: UnicodeString read _GetregionCode; property city: UnicodeString read _Getcity; property dependentLocality: UnicodeString read _GetdependentLocality; property postalCode: UnicodeString read _GetpostalCode; property sortingCode: UnicodeString read _GetsortingCode; property organization: UnicodeString read _Getorganization; property recipient: UnicodeString read _Getrecipient; property phone: UnicodeString read _Getphone; end; { -------------------------------------------------------------------- TJSPerformanceEntry --------------------------------------------------------------------} IJSPerformanceEntry = interface(IJSObject) ['{1C51D983-EF5A-3411-BDEC-55FE1ED8D644}'] function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetstartTime: TDOMHighResTimeStamp; function _Getduration: TDOMHighResTimeStamp; function toJSON: IJSObject; property name: UnicodeString read _Getname; property entryType: UnicodeString read _GetentryType; property startTime: TDOMHighResTimeStamp read _GetstartTime; property duration: TDOMHighResTimeStamp read _Getduration; end; TJSPerformanceEntry = class(TJSObject,IJSPerformanceEntry) Private Protected function _Getname: UnicodeString; function _GetentryType: UnicodeString; function _GetstartTime: TDOMHighResTimeStamp; function _Getduration: TDOMHighResTimeStamp; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceEntry; property name: UnicodeString read _Getname; property entryType: UnicodeString read _GetentryType; property startTime: TDOMHighResTimeStamp read _GetstartTime; property duration: TDOMHighResTimeStamp read _Getduration; end; { -------------------------------------------------------------------- TJSEventCounts --------------------------------------------------------------------} IJSEventCounts = interface(IJSObject) ['{EEDFE1E3-9D40-344A-903D-1A2372542131}'] function _Getsize : LongInt; function get(key: UnicodeString) : QWord; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; property size : LongInt read _Getsize; end; TJSEventCounts = class(TJSObject,IJSEventCounts) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : QWord; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventCounts; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSPerformanceNavigation --------------------------------------------------------------------} IJSPerformanceNavigation = interface(IJSObject) ['{AF147EBF-1513-34CE-BBBC-906C34BD4CC3}'] function _Gettype_: Word; function _GetredirectCount: Word; function toJSON: IJSObject; property type_: Word read _Gettype_; property redirectCount: Word read _GetredirectCount; end; TJSPerformanceNavigation = class(TJSObject,IJSPerformanceNavigation) Private Protected function _Gettype_: Word; function _GetredirectCount: Word; Public Const TYPE_NAVIGATE = 0; TYPE_RELOAD = 1; TYPE_BACK_FORWARD = 2; TYPE_RESERVED = 255; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceNavigation; property type_: Word read _Gettype_; property redirectCount: Word read _GetredirectCount; end; { -------------------------------------------------------------------- TJSPerformanceObserver --------------------------------------------------------------------} IJSPerformanceObserver = interface(IJSObject) ['{47BB663B-BCBD-304E-B42C-F293199568D5}'] function _GetsupportedEntryTypes: IJSObject; procedure observe(const aOptions: IJSPerformanceObserverInit); procedure observe; procedure disconnect; function takeRecords: TPerformanceEntryListDynArray; property supportedEntryTypes: IJSObject read _GetsupportedEntryTypes; end; TJSPerformanceObserver = class(TJSObject,IJSPerformanceObserver) Private Protected function _GetsupportedEntryTypes: IJSObject; Public constructor Create(const aCallback: TPerformanceObserverCallback); overload; procedure observe(const aOptions: IJSPerformanceObserverInit); overload; procedure observe; overload; procedure disconnect; overload; function takeRecords: TPerformanceEntryListDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceObserver; property supportedEntryTypes: IJSObject read _GetsupportedEntryTypes; end; { -------------------------------------------------------------------- TJSPerformanceObserverEntryList --------------------------------------------------------------------} IJSPerformanceObserverEntryList = interface(IJSObject) ['{D1375B52-3E2C-35E9-B344-34E110E1E196}'] function getEntries(const aFilter: IJSPerformanceEntryFilterOptions): TPerformanceEntryListDynArray; function getEntries: TPerformanceEntryListDynArray; function getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; function getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; function getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; end; TJSPerformanceObserverEntryList = class(TJSObject,IJSPerformanceObserverEntryList) Private Protected Public function getEntries(const aFilter: IJSPerformanceEntryFilterOptions): TPerformanceEntryListDynArray; overload; function getEntries: TPerformanceEntryListDynArray; overload; function getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; overload; function getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; overload; function getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceObserverEntryList; end; { -------------------------------------------------------------------- TJSPerformanceServerTiming --------------------------------------------------------------------} IJSPerformanceServerTiming = interface(IJSObject) ['{4D74EE60-3845-3925-894F-650923C756F6}'] function _Getname: UnicodeString; function _Getduration: TDOMHighResTimeStamp; function _Getdescription: UnicodeString; function toJSON: IJSObject; property name: UnicodeString read _Getname; property duration: TDOMHighResTimeStamp read _Getduration; property description: UnicodeString read _Getdescription; end; TJSPerformanceServerTiming = class(TJSObject,IJSPerformanceServerTiming) Private Protected function _Getname: UnicodeString; function _Getduration: TDOMHighResTimeStamp; function _Getdescription: UnicodeString; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceServerTiming; property name: UnicodeString read _Getname; property duration: TDOMHighResTimeStamp read _Getduration; property description: UnicodeString read _Getdescription; end; { -------------------------------------------------------------------- TJSPerformanceTiming --------------------------------------------------------------------} IJSPerformanceTiming = interface(IJSObject) ['{80423661-01A7-3298-9AD0-037B8131FFB7}'] function _GetnavigationStart: QWord; function _GetunloadEventStart: QWord; function _GetunloadEventEnd: QWord; function _GetredirectStart: QWord; function _GetredirectEnd: QWord; function _GetfetchStart: QWord; function _GetdomainLookupStart: QWord; function _GetdomainLookupEnd: QWord; function _GetconnectStart: QWord; function _GetconnectEnd: QWord; function _GetsecureConnectionStart: QWord; function _GetrequestStart: QWord; function _GetresponseStart: QWord; function _GetresponseEnd: QWord; function _GetdomLoading: QWord; function _GetdomInteractive: QWord; function _GetdomContentLoadedEventStart: QWord; function _GetdomContentLoadedEventEnd: QWord; function _GetdomComplete: QWord; function _GetloadEventStart: QWord; function _GetloadEventEnd: QWord; function _GettimeToNonBlankPaint: QWord; function _GettimeToContentfulPaint: QWord; function _GettimeToDOMContentFlushed: QWord; function _GettimeToFirstInteractive: QWord; function toJSON: IJSObject; property navigationStart: QWord read _GetnavigationStart; property unloadEventStart: QWord read _GetunloadEventStart; property unloadEventEnd: QWord read _GetunloadEventEnd; property redirectStart: QWord read _GetredirectStart; property redirectEnd: QWord read _GetredirectEnd; property fetchStart: QWord read _GetfetchStart; property domainLookupStart: QWord read _GetdomainLookupStart; property domainLookupEnd: QWord read _GetdomainLookupEnd; property connectStart: QWord read _GetconnectStart; property connectEnd: QWord read _GetconnectEnd; property secureConnectionStart: QWord read _GetsecureConnectionStart; property requestStart: QWord read _GetrequestStart; property responseStart: QWord read _GetresponseStart; property responseEnd: QWord read _GetresponseEnd; property domLoading: QWord read _GetdomLoading; property domInteractive: QWord read _GetdomInteractive; property domContentLoadedEventStart: QWord read _GetdomContentLoadedEventStart; property domContentLoadedEventEnd: QWord read _GetdomContentLoadedEventEnd; property domComplete: QWord read _GetdomComplete; property loadEventStart: QWord read _GetloadEventStart; property loadEventEnd: QWord read _GetloadEventEnd; property timeToNonBlankPaint: QWord read _GettimeToNonBlankPaint; property timeToContentfulPaint: QWord read _GettimeToContentfulPaint; property timeToDOMContentFlushed: QWord read _GettimeToDOMContentFlushed; property timeToFirstInteractive: QWord read _GettimeToFirstInteractive; end; TJSPerformanceTiming = class(TJSObject,IJSPerformanceTiming) Private Protected function _GetnavigationStart: QWord; function _GetunloadEventStart: QWord; function _GetunloadEventEnd: QWord; function _GetredirectStart: QWord; function _GetredirectEnd: QWord; function _GetfetchStart: QWord; function _GetdomainLookupStart: QWord; function _GetdomainLookupEnd: QWord; function _GetconnectStart: QWord; function _GetconnectEnd: QWord; function _GetsecureConnectionStart: QWord; function _GetrequestStart: QWord; function _GetresponseStart: QWord; function _GetresponseEnd: QWord; function _GetdomLoading: QWord; function _GetdomInteractive: QWord; function _GetdomContentLoadedEventStart: QWord; function _GetdomContentLoadedEventEnd: QWord; function _GetdomComplete: QWord; function _GetloadEventStart: QWord; function _GetloadEventEnd: QWord; function _GettimeToNonBlankPaint: QWord; function _GettimeToContentfulPaint: QWord; function _GettimeToDOMContentFlushed: QWord; function _GettimeToFirstInteractive: QWord; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceTiming; property navigationStart: QWord read _GetnavigationStart; property unloadEventStart: QWord read _GetunloadEventStart; property unloadEventEnd: QWord read _GetunloadEventEnd; property redirectStart: QWord read _GetredirectStart; property redirectEnd: QWord read _GetredirectEnd; property fetchStart: QWord read _GetfetchStart; property domainLookupStart: QWord read _GetdomainLookupStart; property domainLookupEnd: QWord read _GetdomainLookupEnd; property connectStart: QWord read _GetconnectStart; property connectEnd: QWord read _GetconnectEnd; property secureConnectionStart: QWord read _GetsecureConnectionStart; property requestStart: QWord read _GetrequestStart; property responseStart: QWord read _GetresponseStart; property responseEnd: QWord read _GetresponseEnd; property domLoading: QWord read _GetdomLoading; property domInteractive: QWord read _GetdomInteractive; property domContentLoadedEventStart: QWord read _GetdomContentLoadedEventStart; property domContentLoadedEventEnd: QWord read _GetdomContentLoadedEventEnd; property domComplete: QWord read _GetdomComplete; property loadEventStart: QWord read _GetloadEventStart; property loadEventEnd: QWord read _GetloadEventEnd; property timeToNonBlankPaint: QWord read _GettimeToNonBlankPaint; property timeToContentfulPaint: QWord read _GettimeToContentfulPaint; property timeToDOMContentFlushed: QWord read _GettimeToDOMContentFlushed; property timeToFirstInteractive: QWord read _GettimeToFirstInteractive; end; { -------------------------------------------------------------------- TJSPeriodicWave --------------------------------------------------------------------} IJSPeriodicWave = interface(IJSObject) ['{E6CFE404-B98A-3549-904A-1ED81AA2A621}'] end; TJSPeriodicWave = class(TJSObject,IJSPeriodicWave) Private Protected Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSPeriodicWaveOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPeriodicWave; end; { -------------------------------------------------------------------- TJSPermissions --------------------------------------------------------------------} IJSPermissions = interface(IJSObject) ['{F13D9A3A-5C44-337D-8061-869C9424457A}'] function query(aPermission: IJSObject): IJSPromise; // Promise end; TJSPermissions = class(TJSObject,IJSPermissions) Private Protected Public function query(aPermission: IJSObject): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPermissions; end; { -------------------------------------------------------------------- TJSPlugin --------------------------------------------------------------------} IJSPlugin = interface(IJSObject) ['{6745E40C-5666-3F31-9F5D-219FA5AB0BEA}'] function _Getdescription: UnicodeString; function _Getfilename: UnicodeString; function _Getname: UnicodeString; function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSMimeType; function namedItem(const aName: UnicodeString): IJSMimeType; property description: UnicodeString read _Getdescription; property filename: UnicodeString read _Getfilename; property name: UnicodeString read _Getname; property length_: Cardinal read _Getlength_; end; TJSPlugin = class(TJSObject,IJSPlugin) Private Protected function _Getdescription: UnicodeString; function _Getfilename: UnicodeString; function _Getname: UnicodeString; function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSMimeType; overload; function namedItem(const aName: UnicodeString): IJSMimeType; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPlugin; property description: UnicodeString read _Getdescription; property filename: UnicodeString read _Getfilename; property name: UnicodeString read _Getname; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSPluginArray --------------------------------------------------------------------} IJSPluginArray = interface(IJSObject) ['{9B5EC5AB-BCC3-39AC-8D3F-3832A8BF7AFF}'] function _Getlength_: Cardinal; procedure refresh; function item(aIndex: Cardinal): IJSPlugin; function namedItem(const aName: UnicodeString): IJSPlugin; property length_: Cardinal read _Getlength_; end; TJSPluginArray = class(TJSObject,IJSPluginArray) Private Protected function _Getlength_: Cardinal; Public procedure refresh; overload; function item(aIndex: Cardinal): IJSPlugin; overload; function namedItem(const aName: UnicodeString): IJSPlugin; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPluginArray; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSPopoverInvokerElement --------------------------------------------------------------------} IJSPopoverInvokerElement = interface(IJSObject) ['{C68A21FD-5B45-3575-A7DE-35C74B8E5EF8}'] function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; end; TJSPopoverInvokerElement = class(TJSObject,IJSPopoverInvokerElement) Private Protected function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPopoverInvokerElement; property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; end; { -------------------------------------------------------------------- TJSPromiseNativeHandler --------------------------------------------------------------------} IJSPromiseNativeHandler = interface(IJSObject) ['{3345DC6F-2A3E-36FD-A14F-A88C202260F0}'] end; TJSPromiseNativeHandler = class(TJSObject,IJSPromiseNativeHandler) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPromiseNativeHandler; end; { -------------------------------------------------------------------- TJSPushManager --------------------------------------------------------------------} IJSPushManager = interface(IJSObject) ['{CCE109EC-2563-33E0-A81B-EEFE2BDF248B}'] function subscribe(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; // Promise function subscribe: IJSPromise; // Promise function getSubscription: IJSPromise; // Promise function permissionState(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; // Promise function permissionState: IJSPromise; // Promise end; TJSPushManager = class(TJSObject,IJSPushManager) Private Protected Public function subscribe(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; overload; // Promise function subscribe: IJSPromise; overload; // Promise function getSubscription: IJSPromise; overload; // Promise function permissionState(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; overload; // Promise function permissionState: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushManager; end; { -------------------------------------------------------------------- TJSPushMessageData --------------------------------------------------------------------} IJSPushMessageData = interface(IJSObject) ['{3EB9351E-399D-3B31-AD05-D0CCB44A6157}'] function arrayBuffer: IJSArrayBuffer; function blob: IJSBlob; function json: Variant; function text: UnicodeString; end; TJSPushMessageData = class(TJSObject,IJSPushMessageData) Private Protected Public function arrayBuffer: IJSArrayBuffer; overload; function blob: IJSBlob; overload; function json: Variant; overload; function text: UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushMessageData; end; { -------------------------------------------------------------------- TJSPushSubscription --------------------------------------------------------------------} IJSPushSubscription = interface(IJSObject) ['{31AC4E78-E148-383F-9864-37E5150B3BFA}'] function _Getendpoint: UnicodeString; function _Getoptions: IJSPushSubscriptionOptions; function _GetexpirationTime: TEpochTimeStamp; function getKey(aName: TPushEncryptionKeyName): IJSArrayBuffer; function unsubscribe: IJSPromise; // Promise function toJSON: IJSPushSubscriptionJSON; property endpoint: UnicodeString read _Getendpoint; property options: IJSPushSubscriptionOptions read _Getoptions; property expirationTime: TEpochTimeStamp read _GetexpirationTime; end; TJSPushSubscription = class(TJSObject,IJSPushSubscription) Private Protected function _Getendpoint: UnicodeString; function _Getoptions: IJSPushSubscriptionOptions; function _GetexpirationTime: TEpochTimeStamp; Public function getKey(aName: TPushEncryptionKeyName): IJSArrayBuffer; overload; function unsubscribe: IJSPromise; overload; // Promise function toJSON: IJSPushSubscriptionJSON; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscription; property endpoint: UnicodeString read _Getendpoint; property options: IJSPushSubscriptionOptions read _Getoptions; property expirationTime: TEpochTimeStamp read _GetexpirationTime; end; { -------------------------------------------------------------------- TJSPushSubscriptionOptions --------------------------------------------------------------------} IJSPushSubscriptionOptions = interface(IJSObject) ['{3CDF1EE1-C6DA-3F47-A92A-0D1823D64C38}'] function _GetapplicationServerKey: IJSArrayBuffer; property applicationServerKey: IJSArrayBuffer read _GetapplicationServerKey; end; TJSPushSubscriptionOptions = class(TJSObject,IJSPushSubscriptionOptions) Private Protected function _GetapplicationServerKey: IJSArrayBuffer; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushSubscriptionOptions; property applicationServerKey: IJSArrayBuffer read _GetapplicationServerKey; end; { -------------------------------------------------------------------- TJSCountQueuingStrategy --------------------------------------------------------------------} IJSCountQueuingStrategy = interface(IJSObject) ['{3E02214C-EAC5-352D-9426-C93752B4E17C}'] function _GethighWaterMark: Double; function _Getsize: TFunction; property highWaterMark: Double read _GethighWaterMark; property size: TFunction read _Getsize; end; TJSCountQueuingStrategy = class(TJSObject,IJSCountQueuingStrategy) Private Protected function _GethighWaterMark: Double; function _Getsize: TFunction; Public constructor Create(const aInit: IJSQueuingStrategyInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCountQueuingStrategy; property highWaterMark: Double read _GethighWaterMark; property size: TFunction read _Getsize; end; { -------------------------------------------------------------------- TJSByteLengthQueuingStrategy --------------------------------------------------------------------} IJSByteLengthQueuingStrategy = interface(IJSObject) ['{331716CB-5821-374B-A1F7-96290FE2982A}'] function _GethighWaterMark: Double; function _Getsize: TFunction; property highWaterMark: Double read _GethighWaterMark; property size: TFunction read _Getsize; end; TJSByteLengthQueuingStrategy = class(TJSObject,IJSByteLengthQueuingStrategy) Private Protected function _GethighWaterMark: Double; function _Getsize: TFunction; Public constructor Create(const aInit: IJSQueuingStrategyInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSByteLengthQueuingStrategy; property highWaterMark: Double read _GethighWaterMark; property size: TFunction read _Getsize; end; { -------------------------------------------------------------------- TJSReadableByteStreamController --------------------------------------------------------------------} IJSReadableByteStreamController = interface(IJSObject) ['{7BE7C314-B6FF-3095-B637-0696E245677C}'] function _GetbyobRequest: IJSReadableStreamBYOBRequest; function _GetdesiredSize: Double; procedure close; procedure enqueue(aChunk: IJSArrayBufferView); procedure error(const aE: Variant); procedure error; property byobRequest: IJSReadableStreamBYOBRequest read _GetbyobRequest; property desiredSize: Double read _GetdesiredSize; end; TJSReadableByteStreamController = class(TJSObject,IJSReadableByteStreamController) Private Protected function _GetbyobRequest: IJSReadableStreamBYOBRequest; function _GetdesiredSize: Double; Public procedure close; overload; procedure enqueue(aChunk: IJSArrayBufferView); overload; procedure error(const aE: Variant); overload; procedure error; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableByteStreamController; property byobRequest: IJSReadableStreamBYOBRequest read _GetbyobRequest; property desiredSize: Double read _GetdesiredSize; end; { -------------------------------------------------------------------- TJSReadableStream --------------------------------------------------------------------} TJSReadableStreamDynArray = IJSArray; // array of ReadableStream IJSReadableStream = interface(IJSObject) ['{ECC0054E-1144-374E-9F7B-45CBD2B675D3}'] function _Getlocked: Boolean; function cancel(const aReason: Variant): IJSPromise; // Promise function cancel: IJSPromise; // Promise function getReader(const aOptions: IJSReadableStreamGetReaderOptions): TReadableStreamReader; function getReader: TReadableStreamReader; function pipeThrough(const aTransform: IJSReadableWritablePair; const aOptions: IJSStreamPipeOptions): IJSReadableStream; function pipeThrough(const aTransform: IJSReadableWritablePair): IJSReadableStream; function pipeTo(aDestination: IJSWritableStream; const aOptions: IJSStreamPipeOptions): IJSPromise; // Promise function pipeTo(aDestination: IJSWritableStream): IJSPromise; // Promise function tee: TJSReadableStreamDynArray; property locked: Boolean read _Getlocked; end; TJSReadableStream = class(TJSObject,IJSReadableStream) Private Protected function _Getlocked: Boolean; Public constructor Create(aUnderlyingSource: IJSObject; const aStrategy: IJSQueuingStrategy); overload; constructor Create; overload; constructor Create(aUnderlyingSource: IJSObject); overload; function from(const aAsyncIterable: Variant): IJSReadableStream; overload; function cancel(const aReason: Variant): IJSPromise; overload; // Promise function cancel: IJSPromise; overload; // Promise function getReader(const aOptions: IJSReadableStreamGetReaderOptions): TReadableStreamReader; overload; function getReader: TReadableStreamReader; overload; function pipeThrough(const aTransform: IJSReadableWritablePair; const aOptions: IJSStreamPipeOptions): IJSReadableStream; overload; function pipeThrough(const aTransform: IJSReadableWritablePair): IJSReadableStream; overload; function pipeTo(aDestination: IJSWritableStream; const aOptions: IJSStreamPipeOptions): IJSPromise; overload; // Promise function pipeTo(aDestination: IJSWritableStream): IJSPromise; overload; // Promise function tee: TJSReadableStreamDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStream; property locked: Boolean read _Getlocked; end; { -------------------------------------------------------------------- TJSReadableStreamBYOBRequest --------------------------------------------------------------------} IJSReadableStreamBYOBRequest = interface(IJSObject) ['{805B2726-9E65-3934-8178-62D1D893E9AA}'] function _Getview: IJSArrayBufferView; procedure respond(aBytesWritten: QWord); procedure respondWithNewView(aView: IJSArrayBufferView); property view: IJSArrayBufferView read _Getview; end; TJSReadableStreamBYOBRequest = class(TJSObject,IJSReadableStreamBYOBRequest) Private Protected function _Getview: IJSArrayBufferView; Public procedure respond(aBytesWritten: QWord); overload; procedure respondWithNewView(aView: IJSArrayBufferView); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamBYOBRequest; property view: IJSArrayBufferView read _Getview; end; { -------------------------------------------------------------------- TJSReadableStreamDefaultController --------------------------------------------------------------------} IJSReadableStreamDefaultController = interface(IJSObject) ['{39EF6056-206F-3E09-9040-444C267FDC28}'] function _GetdesiredSize: Double; procedure close; procedure enqueue(const aChunk: Variant); procedure enqueue; procedure error(const aE: Variant); procedure error; property desiredSize: Double read _GetdesiredSize; end; TJSReadableStreamDefaultController = class(TJSObject,IJSReadableStreamDefaultController) Private Protected function _GetdesiredSize: Double; Public procedure close; overload; procedure enqueue(const aChunk: Variant); overload; procedure enqueue; overload; procedure error(const aE: Variant); overload; procedure error; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamDefaultController; property desiredSize: Double read _GetdesiredSize; end; { -------------------------------------------------------------------- TJSReadableStreamGenericReader --------------------------------------------------------------------} IJSReadableStreamGenericReader = interface(IJSObject) ['{B7D38171-47D5-3E8B-89C2-6B93171A1906}'] function _Getclosed: IJSPromise; function cancel(const aReason: Variant): IJSPromise; // Promise function cancel: IJSPromise; // Promise property closed: IJSPromise read _Getclosed; end; TJSReadableStreamGenericReader = class(TJSObject,IJSReadableStreamGenericReader) Private Protected function _Getclosed: IJSPromise; Public function cancel(const aReason: Variant): IJSPromise; overload; // Promise function cancel: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamGenericReader; property closed: IJSPromise read _Getclosed; end; { -------------------------------------------------------------------- TJSReportBody --------------------------------------------------------------------} IJSReportBody = interface(IJSObject) ['{F0F41AF7-935A-3A3A-B625-C64E89A48332}'] function toJSON: IJSObject; end; TJSReportBody = class(TJSObject,IJSReportBody) Private Protected Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportBody; end; { -------------------------------------------------------------------- TJSReport --------------------------------------------------------------------} IJSReport = interface(IJSObject) ['{3E4656CC-CA26-3EEE-94D8-E3E78431995D}'] function _Gettype_: UnicodeString; function _Geturl: UnicodeString; function _Getbody: IJSReportBody; function toJSON: IJSObject; property type_: UnicodeString read _Gettype_; property url: UnicodeString read _Geturl; property body: IJSReportBody read _Getbody; end; TJSReport = class(TJSObject,IJSReport) Private Protected function _Gettype_: UnicodeString; function _Geturl: UnicodeString; function _Getbody: IJSReportBody; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReport; property type_: UnicodeString read _Gettype_; property url: UnicodeString read _Geturl; property body: IJSReportBody read _Getbody; end; { -------------------------------------------------------------------- TJSReportingObserver --------------------------------------------------------------------} IJSReportingObserver = interface(IJSObject) ['{DBF98E9B-D58A-3171-A946-FCB99334AA59}'] procedure observe; procedure disconnect; function takeRecords: TReportListDynArray; end; TJSReportingObserver = class(TJSObject,IJSReportingObserver) Private Protected Public constructor Create(const aCallback: TReportingObserverCallback; const aOptions: IJSReportingObserverOptions); overload; constructor Create(const aCallback: TReportingObserverCallback); overload; procedure observe; overload; procedure disconnect; overload; function takeRecords: TReportListDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReportingObserver; end; { -------------------------------------------------------------------- TJSTestingDeprecatedInterface --------------------------------------------------------------------} IJSTestingDeprecatedInterface = interface(IJSObject) ['{844AD984-262C-3655-8C8A-3497D18383D7}'] function _GetdeprecatedAttribute: Boolean; procedure deprecatedMethod; property deprecatedAttribute: Boolean read _GetdeprecatedAttribute; end; TJSTestingDeprecatedInterface = class(TJSObject,IJSTestingDeprecatedInterface) Private Protected function _GetdeprecatedAttribute: Boolean; Public constructor Create; overload; procedure deprecatedMethod; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestingDeprecatedInterface; property deprecatedAttribute: Boolean read _GetdeprecatedAttribute; end; { -------------------------------------------------------------------- TJSResizeObserver --------------------------------------------------------------------} IJSResizeObserver = interface(IJSObject) ['{F8D2923F-D028-34A1-BCB3-881D605DAEB6}'] procedure observe(aTarget: IJSElement; const aOptions: IJSResizeObserverOptions); procedure observe(aTarget: IJSElement); procedure unobserve(aTarget: IJSElement); procedure disconnect; end; TJSResizeObserver = class(TJSObject,IJSResizeObserver) Private Protected Public constructor Create(const aCallback: TResizeObserverCallback); overload; procedure observe(aTarget: IJSElement; const aOptions: IJSResizeObserverOptions); overload; procedure observe(aTarget: IJSElement); overload; procedure unobserve(aTarget: IJSElement); overload; procedure disconnect; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResizeObserver; end; { -------------------------------------------------------------------- TJSResizeObserverEntry --------------------------------------------------------------------} TJSResizeObserverSizeDynArray = IJSArray; // array of ResizeObserverSize IJSResizeObserverEntry = interface(IJSObject) ['{06572029-E7FD-3578-95F3-47A4B3D502DF}'] function _Gettarget: IJSElement; function _GetcontentRect: IJSDOMRectReadOnly; function _GetborderBoxSize: TJSResizeObserverSizeDynArray; function _GetcontentBoxSize: TJSResizeObserverSizeDynArray; function _GetdevicePixelContentBoxSize: TJSResizeObserverSizeDynArray; property target: IJSElement read _Gettarget; property contentRect: IJSDOMRectReadOnly read _GetcontentRect; property borderBoxSize: TJSResizeObserverSizeDynArray read _GetborderBoxSize; property contentBoxSize: TJSResizeObserverSizeDynArray read _GetcontentBoxSize; property devicePixelContentBoxSize: TJSResizeObserverSizeDynArray read _GetdevicePixelContentBoxSize; end; TJSResizeObserverEntry = class(TJSObject,IJSResizeObserverEntry) Private Protected function _Gettarget: IJSElement; function _GetcontentRect: IJSDOMRectReadOnly; function _GetborderBoxSize: TJSResizeObserverSizeDynArray; function _GetcontentBoxSize: TJSResizeObserverSizeDynArray; function _GetdevicePixelContentBoxSize: TJSResizeObserverSizeDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResizeObserverEntry; property target: IJSElement read _Gettarget; property contentRect: IJSDOMRectReadOnly read _GetcontentRect; property borderBoxSize: TJSResizeObserverSizeDynArray read _GetborderBoxSize; property contentBoxSize: TJSResizeObserverSizeDynArray read _GetcontentBoxSize; property devicePixelContentBoxSize: TJSResizeObserverSizeDynArray read _GetdevicePixelContentBoxSize; end; { -------------------------------------------------------------------- TJSResizeObserverSize --------------------------------------------------------------------} IJSResizeObserverSize = interface(IJSObject) ['{748B998C-04F6-375F-86A0-74609DE850BD}'] function _GetinlineSize: Double; function _GetblockSize: Double; property inlineSize: Double read _GetinlineSize; property blockSize: Double read _GetblockSize; end; TJSResizeObserverSize = class(TJSObject,IJSResizeObserverSize) Private Protected function _GetinlineSize: Double; function _GetblockSize: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResizeObserverSize; property inlineSize: Double read _GetinlineSize; property blockSize: Double read _GetblockSize; end; { -------------------------------------------------------------------- TJSResponse --------------------------------------------------------------------} // Union of Blob, BufferSource, FormData, URLSearchParams, ReadableStream, USVString TResponse_New_body_Type = Variant; IJSResponse = interface(IJSObject) ['{0B705D5E-D166-325F-8AD9-C83CF82E4E1F}'] function _Gettype_: TResponseType; function _Geturl: UTF8String; function _Getredirected: Boolean; function _Getstatus: Word; function _Getok: Boolean; function _GetstatusText: UnicodeString; function _Getheaders: IJSHeaders; function _Getbody: IJSReadableStream; function _GetbodyUsed: Boolean; function clone: IJSResponse; function arrayBuffer: IJSPromise; // Promise function blob: IJSPromise; // Promise function formData: IJSPromise; // Promise function json: IJSPromise; // Promise function text: IJSPromise; // Promise property type_: TResponseType read _Gettype_; property url: UTF8String read _Geturl; property redirected: Boolean read _Getredirected; property status: Word read _Getstatus; property ok: Boolean read _Getok; property statusText: UnicodeString read _GetstatusText; property headers: IJSHeaders read _Getheaders; property body: IJSReadableStream read _Getbody; property bodyUsed: Boolean read _GetbodyUsed; end; TJSResponse = class(TJSObject,IJSResponse) Private Protected function _Gettype_: TResponseType; function _Geturl: UTF8String; function _Getredirected: Boolean; function _Getstatus: Word; function _Getok: Boolean; function _GetstatusText: UnicodeString; function _Getheaders: IJSHeaders; function _Getbody: IJSReadableStream; function _GetbodyUsed: Boolean; Public constructor Create(aBody: IJSBlob; const aInit: IJSResponseInit); overload; constructor Create; overload; constructor Create(aBody: IJSBufferSource; const aInit: IJSResponseInit); overload; constructor Create(aBody: IJSFormData; const aInit: IJSResponseInit); overload; constructor Create(aBody: IJSReadableStream; const aInit: IJSResponseInit); overload; constructor Create(aBody: IJSURLSearchParams; const aInit: IJSResponseInit); overload; constructor Create(const aBody: UnicodeString; const aInit: IJSResponseInit); overload; constructor Create(const aBody: UnicodeString); overload; constructor Create(aBody: IJSURLSearchParams); overload; constructor Create(aBody: IJSReadableStream); overload; constructor Create(aBody: IJSFormData); overload; constructor Create(aBody: IJSBufferSource); overload; constructor Create(aBody: IJSBlob); overload; function error: IJSResponse; overload; function redirect(const aUrl: UTF8String; aStatus: Word): IJSResponse; overload; function redirect(const aUrl: UTF8String): IJSResponse; overload; function json(const aData: Variant; const aInit: IJSResponseInit): IJSResponse; overload; function json(const aData: Variant): IJSResponse; overload; function clone: IJSResponse; overload; function arrayBuffer: IJSPromise; overload; // Promise function blob: IJSPromise; overload; // Promise function formData: IJSPromise; overload; // Promise function json: IJSPromise; overload; // Promise function text: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSResponse; property type_: TResponseType read _Gettype_; property url: UTF8String read _Geturl; property redirected: Boolean read _Getredirected; property status: Word read _Getstatus; property ok: Boolean read _Getok; property statusText: UnicodeString read _GetstatusText; property headers: IJSHeaders read _Getheaders; property body: IJSReadableStream read _Getbody; property bodyUsed: Boolean read _GetbodyUsed; end; { -------------------------------------------------------------------- TJSRTCCertificate --------------------------------------------------------------------} IJSRTCCertificate = interface(IJSObject) ['{B96A00BB-1F7F-3BAE-81FF-0134E6EB8CB6}'] function _Getexpires: TDOMTimeStamp; property expires: TDOMTimeStamp read _Getexpires; end; TJSRTCCertificate = class(TJSObject,IJSRTCCertificate) Private Protected function _Getexpires: TDOMTimeStamp; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCCertificate; property expires: TDOMTimeStamp read _Getexpires; end; { -------------------------------------------------------------------- TJSRTCEncodedAudioFrame --------------------------------------------------------------------} IJSRTCEncodedAudioFrame = interface(IJSObject) ['{3DE5E38F-408B-3CD2-9366-BB8055C79744}'] function _Gettimestamp: Cardinal; function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); function getMetadata: IJSRTCEncodedAudioFrameMetadata; property timestamp: Cardinal read _Gettimestamp; property data: IJSArrayBuffer read _Getdata write _Setdata; end; TJSRTCEncodedAudioFrame = class(TJSObject,IJSRTCEncodedAudioFrame) Private Protected function _Gettimestamp: Cardinal; function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); Public function getMetadata: IJSRTCEncodedAudioFrameMetadata; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCEncodedAudioFrame; property timestamp: Cardinal read _Gettimestamp; property data: IJSArrayBuffer read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSRTCEncodedVideoFrame --------------------------------------------------------------------} IJSRTCEncodedVideoFrame = interface(IJSObject) ['{665C0CF0-E2AE-3DA3-9197-8009BF0ECB1C}'] function _Gettype_: TRTCEncodedVideoFrameType; function _Gettimestamp: Cardinal; function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); function getMetadata: IJSRTCEncodedVideoFrameMetadata; property type_: TRTCEncodedVideoFrameType read _Gettype_; property timestamp: Cardinal read _Gettimestamp; property data: IJSArrayBuffer read _Getdata write _Setdata; end; TJSRTCEncodedVideoFrame = class(TJSObject,IJSRTCEncodedVideoFrame) Private Protected function _Gettype_: TRTCEncodedVideoFrameType; function _Gettimestamp: Cardinal; function _Getdata: IJSArrayBuffer; procedure _Setdata(const aValue: IJSArrayBuffer); Public function getMetadata: IJSRTCEncodedVideoFrameMetadata; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCEncodedVideoFrame; property type_: TRTCEncodedVideoFrameType read _Gettype_; property timestamp: Cardinal read _Gettimestamp; property data: IJSArrayBuffer read _Getdata write _Setdata; end; { -------------------------------------------------------------------- TJSRTCIceCandidate --------------------------------------------------------------------} IJSRTCIceCandidate = interface(IJSObject) ['{DD51CC57-6A6C-3E35-ABDD-FD5F3712557A}'] function _Getcandidate: UnicodeString; function _GetsdpMid: UnicodeString; function _GetsdpMLineIndex: Word; function _Getfoundation: UnicodeString; function _Getcomponent: TRTCIceComponent; function _Getpriority: Cardinal; function _Getaddress: UnicodeString; function _Getprotocol: TRTCIceProtocol; function _Getport: Word; function _Gettype_: TRTCIceCandidateType; function _GettcpType: TRTCIceTcpCandidateType; function _GetrelatedAddress: UnicodeString; function _GetrelatedPort: Word; function _GetusernameFragment: UnicodeString; function toJSON: IJSRTCIceCandidateInit; property candidate: UnicodeString read _Getcandidate; property sdpMid: UnicodeString read _GetsdpMid; property sdpMLineIndex: Word read _GetsdpMLineIndex; property foundation: UnicodeString read _Getfoundation; property component: TRTCIceComponent read _Getcomponent; property priority: Cardinal read _Getpriority; property address: UnicodeString read _Getaddress; property protocol: TRTCIceProtocol read _Getprotocol; property port: Word read _Getport; property type_: TRTCIceCandidateType read _Gettype_; property tcpType: TRTCIceTcpCandidateType read _GettcpType; property relatedAddress: UnicodeString read _GetrelatedAddress; property relatedPort: Word read _GetrelatedPort; property usernameFragment: UnicodeString read _GetusernameFragment; end; TJSRTCIceCandidate = class(TJSObject,IJSRTCIceCandidate) Private Protected function _Getcandidate: UnicodeString; function _GetsdpMid: UnicodeString; function _GetsdpMLineIndex: Word; function _Getfoundation: UnicodeString; function _Getcomponent: TRTCIceComponent; function _Getpriority: Cardinal; function _Getaddress: UnicodeString; function _Getprotocol: TRTCIceProtocol; function _Getport: Word; function _Gettype_: TRTCIceCandidateType; function _GettcpType: TRTCIceTcpCandidateType; function _GetrelatedAddress: UnicodeString; function _GetrelatedPort: Word; function _GetusernameFragment: UnicodeString; Public constructor Create(const aCandidateInitDict: IJSRTCIceCandidateInit); overload; constructor Create; overload; function toJSON: IJSRTCIceCandidateInit; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceCandidate; property candidate: UnicodeString read _Getcandidate; property sdpMid: UnicodeString read _GetsdpMid; property sdpMLineIndex: Word read _GetsdpMLineIndex; property foundation: UnicodeString read _Getfoundation; property component: TRTCIceComponent read _Getcomponent; property priority: Cardinal read _Getpriority; property address: UnicodeString read _Getaddress; property protocol: TRTCIceProtocol read _Getprotocol; property port: Word read _Getport; property type_: TRTCIceCandidateType read _Gettype_; property tcpType: TRTCIceTcpCandidateType read _GettcpType; property relatedAddress: UnicodeString read _GetrelatedAddress; property relatedPort: Word read _GetrelatedPort; property usernameFragment: UnicodeString read _GetusernameFragment; end; { -------------------------------------------------------------------- TJSRTCIdentityProviderRegistrar --------------------------------------------------------------------} IJSRTCIdentityProviderRegistrar = interface(IJSObject) ['{82F73A95-DEF9-3C6B-89E4-05BE4E6EEB9D}'] procedure register(const aIdp: IJSRTCIdentityProvider); end; TJSRTCIdentityProviderRegistrar = class(TJSObject,IJSRTCIdentityProviderRegistrar) Private Protected Public procedure register(const aIdp: IJSRTCIdentityProvider); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIdentityProviderRegistrar; end; { -------------------------------------------------------------------- TJSRTCRtpReceiver --------------------------------------------------------------------} TJSRTCRtpContributingSourceDynArray = IJSArray; // array of RTCRtpContributingSource TJSRTCRtpSynchronizationSourceDynArray = IJSArray; // array of RTCRtpSynchronizationSource IJSRTCRtpReceiver = interface(IJSObject) ['{262E430A-C115-3C23-BAB8-C032C8D3DCE0}'] function _Gettrack: IJSMediaStreamTrack; function _Gettransport: IJSRTCDtlsTransport; function _GetjitterBufferTarget: TDOMHighResTimeStamp; function _Gettransform: IJSRTCRtpScriptTransform; procedure _SetjitterBufferTarget(const aValue: TDOMHighResTimeStamp); procedure _Settransform(const aValue: IJSRTCRtpScriptTransform); function getContributingSources: TJSRTCRtpContributingSourceDynArray; function getSynchronizationSources: TJSRTCRtpSynchronizationSourceDynArray; function getStats: IJSPromise; // Promise property track: IJSMediaStreamTrack read _Gettrack; property transport: IJSRTCDtlsTransport read _Gettransport; property jitterBufferTarget: TDOMHighResTimeStamp read _GetjitterBufferTarget write _SetjitterBufferTarget; property transform: IJSRTCRtpScriptTransform read _Gettransform write _Settransform; end; TJSRTCRtpReceiver = class(TJSObject,IJSRTCRtpReceiver) Private Protected function _Gettrack: IJSMediaStreamTrack; function _Gettransport: IJSRTCDtlsTransport; function _GetjitterBufferTarget: TDOMHighResTimeStamp; function _Gettransform: IJSRTCRtpScriptTransform; procedure _SetjitterBufferTarget(const aValue: TDOMHighResTimeStamp); procedure _Settransform(const aValue: IJSRTCRtpScriptTransform); Public function getCapabilities(const aKind: UnicodeString): IJSRTCRtpCapabilities; overload; function getContributingSources: TJSRTCRtpContributingSourceDynArray; overload; function getSynchronizationSources: TJSRTCRtpSynchronizationSourceDynArray; overload; function getStats: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpReceiver; property track: IJSMediaStreamTrack read _Gettrack; property transport: IJSRTCDtlsTransport read _Gettransport; property jitterBufferTarget: TDOMHighResTimeStamp read _GetjitterBufferTarget write _SetjitterBufferTarget; property transform: IJSRTCRtpScriptTransform read _Gettransform write _Settransform; end; { -------------------------------------------------------------------- TJSRTCRtpScriptTransform --------------------------------------------------------------------} IJSRTCRtpScriptTransform = interface(IJSObject) ['{50F22628-FCA0-3181-A165-02A4B8162061}'] end; TJSRTCRtpScriptTransform = class(TJSObject,IJSRTCRtpScriptTransform) Private Protected Public constructor Create(aWorker: IJSWorker; const aOptions: Variant; const aTransfer: TIJSObjectDynArray); overload; constructor Create(aWorker: IJSWorker); overload; constructor Create(aWorker: IJSWorker; const aOptions: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpScriptTransform; end; { -------------------------------------------------------------------- TJSRTCRtpScriptTransformer --------------------------------------------------------------------} IJSRTCRtpScriptTransformer = interface(IJSObject) ['{F2AC4547-05FD-3397-9D1B-69D0D4DC1118}'] function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; function _Getoptions: Variant; function generateKeyFrame(const aRid: UnicodeString): IJSPromise; // Promise function generateKeyFrame: IJSPromise; // Promise function sendKeyFrameRequest: IJSPromise; // Promise property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; property options: Variant read _Getoptions; end; TJSRTCRtpScriptTransformer = class(TJSObject,IJSRTCRtpScriptTransformer) Private Protected function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; function _Getoptions: Variant; Public function generateKeyFrame(const aRid: UnicodeString): IJSPromise; overload; // Promise function generateKeyFrame: IJSPromise; overload; // Promise function sendKeyFrameRequest: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpScriptTransformer; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; property options: Variant read _Getoptions; end; { -------------------------------------------------------------------- TJSRTCRtpSender --------------------------------------------------------------------} IJSRTCRtpSender = interface(IJSObject) ['{4A978B28-4BB7-3D8B-8FD4-3F6C51AA3FC5}'] function _Gettrack: IJSMediaStreamTrack; function _Gettransport: IJSRTCDtlsTransport; function _Getdtmf: IJSRTCDTMFSender; function _Gettransform: IJSRTCRtpScriptTransform; procedure _Settransform(const aValue: IJSRTCRtpScriptTransform); function setParameters(const aParameters: IJSRTCRtpSendParameters): IJSPromise; // Promise function getParameters: IJSRTCRtpSendParameters; function replaceTrack(aWithTrack: IJSMediaStreamTrack): IJSPromise; // Promise procedure setStreams(aStreams: IJSMediaStream){; ToDo:varargs}; function getStats: IJSPromise; // Promise property track: IJSMediaStreamTrack read _Gettrack; property transport: IJSRTCDtlsTransport read _Gettransport; property dtmf: IJSRTCDTMFSender read _Getdtmf; property transform: IJSRTCRtpScriptTransform read _Gettransform write _Settransform; end; TJSRTCRtpSender = class(TJSObject,IJSRTCRtpSender) Private Protected function _Gettrack: IJSMediaStreamTrack; function _Gettransport: IJSRTCDtlsTransport; function _Getdtmf: IJSRTCDTMFSender; function _Gettransform: IJSRTCRtpScriptTransform; procedure _Settransform(const aValue: IJSRTCRtpScriptTransform); Public function getCapabilities(const aKind: UnicodeString): IJSRTCRtpCapabilities; overload; function setParameters(const aParameters: IJSRTCRtpSendParameters): IJSPromise; overload; // Promise function getParameters: IJSRTCRtpSendParameters; overload; function replaceTrack(aWithTrack: IJSMediaStreamTrack): IJSPromise; overload; // Promise procedure setStreams(aStreams: IJSMediaStream){; ToDo:varargs}; overload; function getStats: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpSender; property track: IJSMediaStreamTrack read _Gettrack; property transport: IJSRTCDtlsTransport read _Gettransport; property dtmf: IJSRTCDTMFSender read _Getdtmf; property transform: IJSRTCRtpScriptTransform read _Gettransform write _Settransform; end; { -------------------------------------------------------------------- TJSRTCRtpTransceiver --------------------------------------------------------------------} IJSRTCRtpTransceiver = interface(IJSObject) ['{529A6680-5905-3391-94C9-BEAF1089FC5A}'] function _Getmid: UnicodeString; function _Getsender: IJSRTCRtpSender; function _Getreceiver: IJSRTCRtpReceiver; function _Getstopped: Boolean; function _Getdirection: TRTCRtpTransceiverDirection; function _GetcurrentDirection: TRTCRtpTransceiverDirection; procedure _Setdirection(const aValue: TRTCRtpTransceiverDirection); procedure stop; property mid: UnicodeString read _Getmid; property sender: IJSRTCRtpSender read _Getsender; property receiver: IJSRTCRtpReceiver read _Getreceiver; property stopped: Boolean read _Getstopped; property direction: TRTCRtpTransceiverDirection read _Getdirection write _Setdirection; property currentDirection: TRTCRtpTransceiverDirection read _GetcurrentDirection; end; TJSRTCRtpTransceiver = class(TJSObject,IJSRTCRtpTransceiver) Private Protected function _Getmid: UnicodeString; function _Getsender: IJSRTCRtpSender; function _Getreceiver: IJSRTCRtpReceiver; function _Getstopped: Boolean; function _Getdirection: TRTCRtpTransceiverDirection; function _GetcurrentDirection: TRTCRtpTransceiverDirection; procedure _Setdirection(const aValue: TRTCRtpTransceiverDirection); Public procedure stop; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCRtpTransceiver; property mid: UnicodeString read _Getmid; property sender: IJSRTCRtpSender read _Getsender; property receiver: IJSRTCRtpReceiver read _Getreceiver; property stopped: Boolean read _Getstopped; property direction: TRTCRtpTransceiverDirection read _Getdirection write _Setdirection; property currentDirection: TRTCRtpTransceiverDirection read _GetcurrentDirection; end; { -------------------------------------------------------------------- TJSRTCSessionDescription --------------------------------------------------------------------} IJSRTCSessionDescription = interface(IJSObject) ['{025CC675-2819-3A25-B9C2-068C3E78B029}'] function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); function toJSON: IJSObject; property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; TJSRTCSessionDescription = class(TJSObject,IJSRTCSessionDescription) Private Protected function _Gettype_: TRTCSdpType; function _Getsdp: UnicodeString; procedure _Settype_(const aValue: TRTCSdpType); procedure _Setsdp(const aValue: UnicodeString); Public constructor Create(const aDescriptionInitDict: IJSRTCSessionDescriptionInit); overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSessionDescription; property type_: TRTCSdpType read _Gettype_ write _Settype_; property sdp: UnicodeString read _Getsdp write _Setsdp; end; { -------------------------------------------------------------------- TJSRTCStatsReport --------------------------------------------------------------------} IJSRTCStatsReport = interface(IJSObject) ['{A28D7380-7FB0-3D6C-B6BD-4A07B446E5A9}'] function _Getsize : LongInt; function get(key: UnicodeString) : IJSObject; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; property size : LongInt read _Getsize; end; TJSRTCStatsReport = class(TJSObject,IJSRTCStatsReport) Private Protected function _Getsize : LongInt; Public function get(key: UnicodeString) : IJSObject; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCStatsReport; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSSanitizer --------------------------------------------------------------------} IJSSanitizer = interface(IJSObject) ['{338275EA-C9BB-3775-8FE6-16E5B02AED52}'] function sanitize(aInput: IJSDocument): IJSDocumentFragment; function sanitize(aInput: IJSDocumentFragment): IJSDocumentFragment; end; TJSSanitizer = class(TJSObject,IJSSanitizer) Private Protected Public constructor Create(const aSanitizerConfig: IJSSanitizerConfig); overload; constructor Create; overload; function sanitize(aInput: IJSDocument): IJSDocumentFragment; overload; function sanitize(aInput: IJSDocumentFragment): IJSDocumentFragment; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSanitizer; end; { -------------------------------------------------------------------- TJSScreenLuminance --------------------------------------------------------------------} IJSScreenLuminance = interface(IJSObject) ['{69ACF4AD-9D71-36E9-81C6-114013D8E821}'] function _Getmin: Double; function _Getmax: Double; function _GetmaxAverage: Double; property min: Double read _Getmin; property max: Double read _Getmax; property maxAverage: Double read _GetmaxAverage; end; TJSScreenLuminance = class(TJSObject,IJSScreenLuminance) Private Protected function _Getmin: Double; function _Getmax: Double; function _GetmaxAverage: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScreenLuminance; property min: Double read _Getmin; property max: Double read _Getmax; property maxAverage: Double read _GetmaxAverage; end; { -------------------------------------------------------------------- TJSSelection --------------------------------------------------------------------} IJSSelection = interface(IJSObject) ['{82EF7B15-E7CA-3C2F-B9D8-90AE381834C3}'] function _GetanchorNode: IJSNode; function _GetanchorOffset: Cardinal; function _GetfocusNode: IJSNode; function _GetfocusOffset: Cardinal; function _GetisCollapsed: Boolean; function _GetrangeCount: Cardinal; function _Gettype_: UnicodeString; function _Getdirection: UnicodeString; function _GetcaretBidiLevel: SmallInt; procedure _SetcaretBidiLevel(const aValue: SmallInt); function getRangeAt(aIndex: Cardinal): IJSRange; procedure addRange(aRange: IJSRange); procedure removeRange(aRange: IJSRange); procedure removeAllRanges; procedure empty; function getComposedRanges(aShadowRoots: IJSShadowRoot): TJSStaticRangeDynArray{; ToDo:varargs}; procedure collapse(aNode: IJSNode; aOffset: Cardinal); procedure collapse(aNode: IJSNode); procedure setPosition(aNode: IJSNode; aOffset: Cardinal); procedure setPosition(aNode: IJSNode); procedure collapseToStart; procedure collapseToEnd; procedure extend(aNode: IJSNode; aOffset: Cardinal); procedure extend(aNode: IJSNode); procedure setBaseAndExtent(aAnchorNode: IJSNode; aAnchorOffset: Cardinal; aFocusNode: IJSNode; aFocusOffset: Cardinal); procedure selectAllChildren(aNode: IJSNode); procedure deleteFromDocument; function containsNode(aNode: IJSNode; aAllowPartialContainment: Boolean): Boolean; function containsNode(aNode: IJSNode): Boolean; function SelectionType: UnicodeString; procedure modify(const aAlter: UnicodeString; const aDirection: UnicodeString; const aGranularity: UnicodeString); property anchorNode: IJSNode read _GetanchorNode; property anchorOffset: Cardinal read _GetanchorOffset; property focusNode: IJSNode read _GetfocusNode; property focusOffset: Cardinal read _GetfocusOffset; property isCollapsed: Boolean read _GetisCollapsed; property rangeCount: Cardinal read _GetrangeCount; property type_: UnicodeString read _Gettype_; property direction: UnicodeString read _Getdirection; property caretBidiLevel: SmallInt read _GetcaretBidiLevel write _SetcaretBidiLevel; end; TJSSelection = class(TJSObject,IJSSelection) Private Protected function _GetanchorNode: IJSNode; function _GetanchorOffset: Cardinal; function _GetfocusNode: IJSNode; function _GetfocusOffset: Cardinal; function _GetisCollapsed: Boolean; function _GetrangeCount: Cardinal; function _Gettype_: UnicodeString; function _Getdirection: UnicodeString; function _GetcaretBidiLevel: SmallInt; procedure _SetcaretBidiLevel(const aValue: SmallInt); Public function getRangeAt(aIndex: Cardinal): IJSRange; overload; procedure addRange(aRange: IJSRange); overload; procedure removeRange(aRange: IJSRange); overload; procedure removeAllRanges; overload; procedure empty; overload; function getComposedRanges(aShadowRoots: IJSShadowRoot): TJSStaticRangeDynArray{; ToDo:varargs}; overload; procedure collapse(aNode: IJSNode; aOffset: Cardinal); overload; procedure collapse(aNode: IJSNode); overload; procedure setPosition(aNode: IJSNode; aOffset: Cardinal); overload; procedure setPosition(aNode: IJSNode); overload; procedure collapseToStart; overload; procedure collapseToEnd; overload; procedure extend(aNode: IJSNode; aOffset: Cardinal); overload; procedure extend(aNode: IJSNode); overload; procedure setBaseAndExtent(aAnchorNode: IJSNode; aAnchorOffset: Cardinal; aFocusNode: IJSNode; aFocusOffset: Cardinal); overload; procedure selectAllChildren(aNode: IJSNode); overload; procedure deleteFromDocument; overload; function containsNode(aNode: IJSNode; aAllowPartialContainment: Boolean): Boolean; overload; function containsNode(aNode: IJSNode): Boolean; overload; function SelectionType: UnicodeString; overload; procedure modify(const aAlter: UnicodeString; const aDirection: UnicodeString; const aGranularity: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSelection; property anchorNode: IJSNode read _GetanchorNode; property anchorOffset: Cardinal read _GetanchorOffset; property focusNode: IJSNode read _GetfocusNode; property focusOffset: Cardinal read _GetfocusOffset; property isCollapsed: Boolean read _GetisCollapsed; property rangeCount: Cardinal read _GetrangeCount; property type_: UnicodeString read _Gettype_; property direction: UnicodeString read _Getdirection; property caretBidiLevel: SmallInt read _GetcaretBidiLevel write _SetcaretBidiLevel; end; { -------------------------------------------------------------------- TJSnsISelectionListener --------------------------------------------------------------------} IJSnsISelectionListener = interface(IJSObject) ['{3346BB54-E605-3126-B836-B418312260F0}'] end; TJSnsISelectionListener = class(TJSObject,IJSnsISelectionListener) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsISelectionListener; end; { -------------------------------------------------------------------- TJSShadowRealmGlobalScope --------------------------------------------------------------------} IJSShadowRealmGlobalScope = interface(IJSObject) ['{D65FAB75-9914-326F-A6F8-1A1B03C2B030}'] end; TJSShadowRealmGlobalScope = class(TJSObject,IJSShadowRealmGlobalScope) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSShadowRealmGlobalScope; end; { -------------------------------------------------------------------- TJSSpeechGrammar --------------------------------------------------------------------} IJSSpeechGrammar = interface(IJSObject) ['{60ED3EBD-B34D-3CE3-BA58-571F227FF3EB}'] function _Getsrc: UnicodeString; function _Getweight: Single; procedure _Setsrc(const aValue: UnicodeString); procedure _Setweight(const aValue: Single); property src: UnicodeString read _Getsrc write _Setsrc; property weight: Single read _Getweight write _Setweight; end; TJSSpeechGrammar = class(TJSObject,IJSSpeechGrammar) Private Protected function _Getsrc: UnicodeString; function _Getweight: Single; procedure _Setsrc(const aValue: UnicodeString); procedure _Setweight(const aValue: Single); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechGrammar; property src: UnicodeString read _Getsrc write _Setsrc; property weight: Single read _Getweight write _Setweight; end; { -------------------------------------------------------------------- TJSSpeechGrammarList --------------------------------------------------------------------} IJSSpeechGrammarList = interface(IJSObject) ['{6931F160-8C9D-38CE-80AD-574DFE4D55E3}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSSpeechGrammar; procedure addFromURI(const aSrc: UnicodeString; aWeight: Single); procedure addFromURI(const aSrc: UnicodeString); procedure addFromString(const aString_: UnicodeString; aWeight: Single); procedure addFromString(const aString_: UnicodeString); property length_: Cardinal read _Getlength_; end; TJSSpeechGrammarList = class(TJSObject,IJSSpeechGrammarList) Private Protected function _Getlength_: Cardinal; Public constructor Create; overload; function item(aIndex: Cardinal): IJSSpeechGrammar; overload; procedure addFromURI(const aSrc: UnicodeString; aWeight: Single); overload; procedure addFromURI(const aSrc: UnicodeString); overload; procedure addFromString(const aString_: UnicodeString; aWeight: Single); overload; procedure addFromString(const aString_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechGrammarList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSpeechRecognitionAlternative --------------------------------------------------------------------} IJSSpeechRecognitionAlternative = interface(IJSObject) ['{E51BDD80-5707-39D3-9818-5C90466AFB42}'] function _Gettranscript: UnicodeString; function _Getconfidence: Single; property transcript: UnicodeString read _Gettranscript; property confidence: Single read _Getconfidence; end; TJSSpeechRecognitionAlternative = class(TJSObject,IJSSpeechRecognitionAlternative) Private Protected function _Gettranscript: UnicodeString; function _Getconfidence: Single; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionAlternative; property transcript: UnicodeString read _Gettranscript; property confidence: Single read _Getconfidence; end; { -------------------------------------------------------------------- TJSSpeechRecognitionResult --------------------------------------------------------------------} IJSSpeechRecognitionResult = interface(IJSObject) ['{0D653590-689F-3BE1-B8DC-E81B76EF4B86}'] function _Getlength_: Cardinal; function _GetisFinal: Boolean; function item(aIndex: Cardinal): IJSSpeechRecognitionAlternative; property length_: Cardinal read _Getlength_; property isFinal: Boolean read _GetisFinal; end; TJSSpeechRecognitionResult = class(TJSObject,IJSSpeechRecognitionResult) Private Protected function _Getlength_: Cardinal; function _GetisFinal: Boolean; Public function item(aIndex: Cardinal): IJSSpeechRecognitionAlternative; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionResult; property length_: Cardinal read _Getlength_; property isFinal: Boolean read _GetisFinal; end; { -------------------------------------------------------------------- TJSSpeechRecognitionResultList --------------------------------------------------------------------} IJSSpeechRecognitionResultList = interface(IJSObject) ['{1651A596-3A6D-34E2-84D5-D5B2E66D48C1}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSSpeechRecognitionResult; property length_: Cardinal read _Getlength_; end; TJSSpeechRecognitionResultList = class(TJSObject,IJSSpeechRecognitionResultList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSSpeechRecognitionResult; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionResultList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSpeechSynthesisVoice --------------------------------------------------------------------} IJSSpeechSynthesisVoice = interface(IJSObject) ['{E0A90C74-129E-3D39-B861-D0FE505A204D}'] function _GetvoiceURI: UnicodeString; function _Getname: UnicodeString; function _Getlang: UnicodeString; function _GetlocalService: Boolean; function _Getdefault: Boolean; property voiceURI: UnicodeString read _GetvoiceURI; property name: UnicodeString read _Getname; property lang: UnicodeString read _Getlang; property localService: Boolean read _GetlocalService; property default: Boolean read _Getdefault; end; TJSSpeechSynthesisVoice = class(TJSObject,IJSSpeechSynthesisVoice) Private Protected function _GetvoiceURI: UnicodeString; function _Getname: UnicodeString; function _Getlang: UnicodeString; function _GetlocalService: Boolean; function _Getdefault: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisVoice; property voiceURI: UnicodeString read _GetvoiceURI; property name: UnicodeString read _Getname; property lang: UnicodeString read _Getlang; property localService: Boolean read _GetlocalService; property default: Boolean read _Getdefault; end; { -------------------------------------------------------------------- TJSStorage --------------------------------------------------------------------} IJSStorage = interface(IJSObject) ['{0509C647-1744-3B87-980B-382DC71D1F46}'] function _Getlength_: Cardinal; function _GethasSnapshot: Boolean; function _GetsnapshotUsage: Int64; function key(aIndex: Cardinal): UnicodeString; function getItem(const aKey: UnicodeString): UnicodeString; procedure setItem(const aKey: UnicodeString; const aValue: UnicodeString); procedure removeItem(const aKey: UnicodeString); procedure clear; procedure open; procedure close; procedure beginExplicitSnapshot; procedure checkpointExplicitSnapshot; procedure endExplicitSnapshot; property length_: Cardinal read _Getlength_; property hasSnapshot: Boolean read _GethasSnapshot; property snapshotUsage: Int64 read _GetsnapshotUsage; end; TJSStorage = class(TJSObject,IJSStorage) Private Protected function _Getlength_: Cardinal; function _GethasSnapshot: Boolean; function _GetsnapshotUsage: Int64; Public function key(aIndex: Cardinal): UnicodeString; overload; function getItem(const aKey: UnicodeString): UnicodeString; overload; procedure setItem(const aKey: UnicodeString; const aValue: UnicodeString); overload; procedure removeItem(const aKey: UnicodeString); overload; procedure clear; overload; procedure open; overload; procedure close; overload; procedure beginExplicitSnapshot; overload; procedure checkpointExplicitSnapshot; overload; procedure endExplicitSnapshot; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStorage; property length_: Cardinal read _Getlength_; property hasSnapshot: Boolean read _GethasSnapshot; property snapshotUsage: Int64 read _GetsnapshotUsage; end; { -------------------------------------------------------------------- TJSStorageManager --------------------------------------------------------------------} IJSStorageManager = interface(IJSObject) ['{A0CBA7C9-15B0-3882-92DB-CE4191E0C9AC}'] function persisted: IJSPromise; // Promise function persist: IJSPromise; // Promise function estimate: IJSPromise; // Promise function getDirectory: IJSPromise; // Promise end; TJSStorageManager = class(TJSObject,IJSStorageManager) Private Protected Public function persisted: IJSPromise; overload; // Promise function persist: IJSPromise; overload; // Promise function estimate: IJSPromise; overload; // Promise function getDirectory: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStorageManager; end; { -------------------------------------------------------------------- TJSStructuredCloneTester --------------------------------------------------------------------} IJSStructuredCloneTester = interface(IJSObject) ['{65F0EB3C-551F-3072-BD4B-7610CA31BCDA}'] function _Getserializable: Boolean; function _Getdeserializable: Boolean; property serializable: Boolean read _Getserializable; property deserializable: Boolean read _Getdeserializable; end; TJSStructuredCloneTester = class(TJSObject,IJSStructuredCloneTester) Private Protected function _Getserializable: Boolean; function _Getdeserializable: Boolean; Public constructor Create(aSerializable: Boolean; aDeserializable: Boolean); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStructuredCloneTester; property serializable: Boolean read _Getserializable; property deserializable: Boolean read _Getdeserializable; end; { -------------------------------------------------------------------- TJSStyleSheet --------------------------------------------------------------------} IJSStyleSheet = interface(IJSObject) ['{EFFC4E62-072E-3DD0-93AB-191D7D688320}'] function _Gettype_: UnicodeString; function _Gethref: UnicodeString; function _GetownerNode: IJSNode; function _GetparentStyleSheet: IJSStyleSheet; function _Gettitle: UnicodeString; function _Getmedia: IJSMediaList; function _Getdisabled: Boolean; procedure _Setdisabled(const aValue: Boolean); property type_: UnicodeString read _Gettype_; property href: UnicodeString read _Gethref; property ownerNode: IJSNode read _GetownerNode; property parentStyleSheet: IJSStyleSheet read _GetparentStyleSheet; property title: UnicodeString read _Gettitle; property media: IJSMediaList read _Getmedia; property disabled: Boolean read _Getdisabled write _Setdisabled; end; TJSStyleSheet = class(TJSObject,IJSStyleSheet) Private Protected function _Gettype_: UnicodeString; function _Gethref: UnicodeString; function _GetownerNode: IJSNode; function _GetparentStyleSheet: IJSStyleSheet; function _Gettitle: UnicodeString; function _Getmedia: IJSMediaList; function _Getdisabled: Boolean; procedure _Setdisabled(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStyleSheet; property type_: UnicodeString read _Gettype_; property href: UnicodeString read _Gethref; property ownerNode: IJSNode read _GetownerNode; property parentStyleSheet: IJSStyleSheet read _GetparentStyleSheet; property title: UnicodeString read _Gettitle; property media: IJSMediaList read _Getmedia; property disabled: Boolean read _Getdisabled write _Setdisabled; end; { -------------------------------------------------------------------- TJSStyleSheetList --------------------------------------------------------------------} IJSStyleSheetList = interface(IJSObject) ['{1684A20D-A650-3710-BA4C-81EE6D3229FE}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSCSSStyleSheet; property length_: Cardinal read _Getlength_; end; TJSStyleSheetList = class(TJSObject,IJSStyleSheetList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSCSSStyleSheet; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStyleSheetList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSCryptoKey --------------------------------------------------------------------} TKeyUsageDynArray = IJSArray; // array of KeyUsage IJSCryptoKey = interface(IJSObject) ['{38C9DD44-BAE3-3C8E-AAD2-8446B4CBF07E}'] function _Gettype_: TKeyType; function _Getextractable: Boolean; function _Getalgorithm: IJSObject; function _Getusages: TKeyUsageDynArray; property type_: TKeyType read _Gettype_; property extractable: Boolean read _Getextractable; property algorithm: IJSObject read _Getalgorithm; property usages: TKeyUsageDynArray read _Getusages; end; TJSCryptoKey = class(TJSObject,IJSCryptoKey) Private Protected function _Gettype_: TKeyType; function _Getextractable: Boolean; function _Getalgorithm: IJSObject; function _Getusages: TKeyUsageDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCryptoKey; property type_: TKeyType read _Gettype_; property extractable: Boolean read _Getextractable; property algorithm: IJSObject read _Getalgorithm; property usages: TKeyUsageDynArray read _Getusages; end; { -------------------------------------------------------------------- TJSSubtleCrypto --------------------------------------------------------------------} IJSSubtleCrypto = interface(IJSObject) ['{00AF14C9-77EF-303A-A24F-F6939D666628}'] function encrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function encrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function decrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function decrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function sign(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function sign(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise function verify(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; // Promise function verify(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; // Promise function digest(const aAlgorithm: UnicodeString; aData: IJSBufferSource): IJSPromise; // Promise function digest(aAlgorithm: IJSObject; aData: IJSBufferSource): IJSPromise; // Promise function generateKey(const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function generateKey(aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function deriveBits(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; // Promise function deriveBits(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; // Promise function importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function exportKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey): IJSPromise; // Promise function wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; const aWrapAlgorithm: UnicodeString): IJSPromise; // Promise function wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; aWrapAlgorithm: IJSObject): IJSPromise; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise end; TJSSubtleCrypto = class(TJSObject,IJSSubtleCrypto) Private Protected Public function encrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function encrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function decrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function decrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function sign(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function sign(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; overload; // Promise function verify(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; overload; // Promise function verify(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; overload; // Promise function digest(const aAlgorithm: UnicodeString; aData: IJSBufferSource): IJSPromise; overload; // Promise function digest(aAlgorithm: IJSObject; aData: IJSBufferSource): IJSPromise; overload; // Promise function generateKey(const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function generateKey(aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function deriveBits(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; overload; // Promise function deriveBits(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; overload; // Promise function importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function exportKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey): IJSPromise; overload; // Promise function wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; const aWrapAlgorithm: UnicodeString): IJSPromise; overload; // Promise function wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; aWrapAlgorithm: IJSObject): IJSPromise; overload; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise function unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSubtleCrypto; end; { -------------------------------------------------------------------- TJSSVGAngle --------------------------------------------------------------------} IJSSVGAngle = interface(IJSObject) ['{AEC0E62A-5272-38D5-9C79-C30B0F93F235}'] function _GetunitType: Word; function _Getvalue: Single; function _GetvalueInSpecifiedUnits: Single; function _GetvalueAsString: UnicodeString; procedure _Setvalue(const aValue: Single); procedure _SetvalueInSpecifiedUnits(const aValue: Single); procedure _SetvalueAsString(const aValue: UnicodeString); procedure newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); procedure convertToSpecifiedUnits(aUnitType: Word); property unitType: Word read _GetunitType; property value: Single read _Getvalue write _Setvalue; property valueInSpecifiedUnits: Single read _GetvalueInSpecifiedUnits write _SetvalueInSpecifiedUnits; property valueAsString: UnicodeString read _GetvalueAsString write _SetvalueAsString; end; TJSSVGAngle = class(TJSObject,IJSSVGAngle) Private Protected function _GetunitType: Word; function _Getvalue: Single; function _GetvalueInSpecifiedUnits: Single; function _GetvalueAsString: UnicodeString; procedure _Setvalue(const aValue: Single); procedure _SetvalueInSpecifiedUnits(const aValue: Single); procedure _SetvalueAsString(const aValue: UnicodeString); Public Const SVG_ANGLETYPE_UNKNOWN = 0; SVG_ANGLETYPE_UNSPECIFIED = 1; SVG_ANGLETYPE_DEG = 2; SVG_ANGLETYPE_RAD = 3; SVG_ANGLETYPE_GRAD = 4; Public procedure newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); overload; procedure convertToSpecifiedUnits(aUnitType: Word); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAngle; property unitType: Word read _GetunitType; property value: Single read _Getvalue write _Setvalue; property valueInSpecifiedUnits: Single read _GetvalueInSpecifiedUnits write _SetvalueInSpecifiedUnits; property valueAsString: UnicodeString read _GetvalueAsString write _SetvalueAsString; end; { -------------------------------------------------------------------- TJSSVGAnimatedAngle --------------------------------------------------------------------} IJSSVGAnimatedAngle = interface(IJSObject) ['{CE9C9476-86F3-3EB9-9881-CB136ABDABC7}'] function _GetbaseVal: IJSSVGAngle; function _GetanimVal: IJSSVGAngle; property baseVal: IJSSVGAngle read _GetbaseVal; property animVal: IJSSVGAngle read _GetanimVal; end; TJSSVGAnimatedAngle = class(TJSObject,IJSSVGAnimatedAngle) Private Protected function _GetbaseVal: IJSSVGAngle; function _GetanimVal: IJSSVGAngle; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedAngle; property baseVal: IJSSVGAngle read _GetbaseVal; property animVal: IJSSVGAngle read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedBoolean --------------------------------------------------------------------} IJSSVGAnimatedBoolean = interface(IJSObject) ['{0EA9AE3A-9140-3EDB-B4E2-846AB2A8F39C}'] function _GetbaseVal: Boolean; function _GetanimVal: Boolean; procedure _SetbaseVal(const aValue: Boolean); property baseVal: Boolean read _GetbaseVal write _SetbaseVal; property animVal: Boolean read _GetanimVal; end; TJSSVGAnimatedBoolean = class(TJSObject,IJSSVGAnimatedBoolean) Private Protected function _GetbaseVal: Boolean; function _GetanimVal: Boolean; procedure _SetbaseVal(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedBoolean; property baseVal: Boolean read _GetbaseVal write _SetbaseVal; property animVal: Boolean read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedEnumeration --------------------------------------------------------------------} IJSSVGAnimatedEnumeration = interface(IJSObject) ['{CE2AAF9A-0DEE-3111-AFB9-082D1E7F43A4}'] function _GetbaseVal: Word; function _GetanimVal: Word; procedure _SetbaseVal(const aValue: Word); property baseVal: Word read _GetbaseVal write _SetbaseVal; property animVal: Word read _GetanimVal; end; TJSSVGAnimatedEnumeration = class(TJSObject,IJSSVGAnimatedEnumeration) Private Protected function _GetbaseVal: Word; function _GetanimVal: Word; procedure _SetbaseVal(const aValue: Word); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedEnumeration; property baseVal: Word read _GetbaseVal write _SetbaseVal; property animVal: Word read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedInteger --------------------------------------------------------------------} IJSSVGAnimatedInteger = interface(IJSObject) ['{0EAAEE31-DF4A-3A30-A64A-5BFF25152355}'] function _GetbaseVal: LongInt; function _GetanimVal: LongInt; procedure _SetbaseVal(const aValue: LongInt); property baseVal: LongInt read _GetbaseVal write _SetbaseVal; property animVal: LongInt read _GetanimVal; end; TJSSVGAnimatedInteger = class(TJSObject,IJSSVGAnimatedInteger) Private Protected function _GetbaseVal: LongInt; function _GetanimVal: LongInt; procedure _SetbaseVal(const aValue: LongInt); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedInteger; property baseVal: LongInt read _GetbaseVal write _SetbaseVal; property animVal: LongInt read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedLength --------------------------------------------------------------------} IJSSVGAnimatedLength = interface(IJSObject) ['{B3BDF263-02E6-3669-A2AA-6FBBB5E3465C}'] function _GetbaseVal: IJSSVGLength; function _GetanimVal: IJSSVGLength; property baseVal: IJSSVGLength read _GetbaseVal; property animVal: IJSSVGLength read _GetanimVal; end; TJSSVGAnimatedLength = class(TJSObject,IJSSVGAnimatedLength) Private Protected function _GetbaseVal: IJSSVGLength; function _GetanimVal: IJSSVGLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedLength; property baseVal: IJSSVGLength read _GetbaseVal; property animVal: IJSSVGLength read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedLengthList --------------------------------------------------------------------} IJSSVGAnimatedLengthList = interface(IJSObject) ['{DF698479-CDAF-3740-9355-AC86DD23DBC3}'] function _GetbaseVal: IJSSVGLengthList; function _GetanimVal: IJSSVGLengthList; property baseVal: IJSSVGLengthList read _GetbaseVal; property animVal: IJSSVGLengthList read _GetanimVal; end; TJSSVGAnimatedLengthList = class(TJSObject,IJSSVGAnimatedLengthList) Private Protected function _GetbaseVal: IJSSVGLengthList; function _GetanimVal: IJSSVGLengthList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedLengthList; property baseVal: IJSSVGLengthList read _GetbaseVal; property animVal: IJSSVGLengthList read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedNumber --------------------------------------------------------------------} IJSSVGAnimatedNumber = interface(IJSObject) ['{0824DA0E-3E8C-397D-A1E5-6BEF5621E7D5}'] function _GetbaseVal: Single; function _GetanimVal: Single; procedure _SetbaseVal(const aValue: Single); property baseVal: Single read _GetbaseVal write _SetbaseVal; property animVal: Single read _GetanimVal; end; TJSSVGAnimatedNumber = class(TJSObject,IJSSVGAnimatedNumber) Private Protected function _GetbaseVal: Single; function _GetanimVal: Single; procedure _SetbaseVal(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedNumber; property baseVal: Single read _GetbaseVal write _SetbaseVal; property animVal: Single read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedNumberList --------------------------------------------------------------------} IJSSVGAnimatedNumberList = interface(IJSObject) ['{DF69847E-CC1A-311C-9F25-A4287D23DBC3}'] function _GetbaseVal: IJSSVGNumberList; function _GetanimVal: IJSSVGNumberList; property baseVal: IJSSVGNumberList read _GetbaseVal; property animVal: IJSSVGNumberList read _GetanimVal; end; TJSSVGAnimatedNumberList = class(TJSObject,IJSSVGAnimatedNumberList) Private Protected function _GetbaseVal: IJSSVGNumberList; function _GetanimVal: IJSSVGNumberList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedNumberList; property baseVal: IJSSVGNumberList read _GetbaseVal; property animVal: IJSSVGNumberList read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedPathData --------------------------------------------------------------------} IJSSVGAnimatedPathData = interface(IJSObject) ['{8B4B5790-DF05-39FB-AAAD-14BE2DECE717}'] function _GetpathSegList: IJSSVGPathSegList; function _GetanimatedPathSegList: IJSSVGPathSegList; property pathSegList: IJSSVGPathSegList read _GetpathSegList; property animatedPathSegList: IJSSVGPathSegList read _GetanimatedPathSegList; end; TJSSVGAnimatedPathData = class(TJSObject,IJSSVGAnimatedPathData) Private Protected function _GetpathSegList: IJSSVGPathSegList; function _GetanimatedPathSegList: IJSSVGPathSegList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedPathData; property pathSegList: IJSSVGPathSegList read _GetpathSegList; property animatedPathSegList: IJSSVGPathSegList read _GetanimatedPathSegList; end; { -------------------------------------------------------------------- TJSSVGAnimatedPoints --------------------------------------------------------------------} IJSSVGAnimatedPoints = interface(IJSObject) ['{8C66E189-0037-3531-BF07-1EF8A69DCE82}'] function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; TJSSVGAnimatedPoints = class(TJSObject,IJSSVGAnimatedPoints) Private Protected function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedPoints; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; { -------------------------------------------------------------------- TJSSVGAnimatedPreserveAspectRatio --------------------------------------------------------------------} IJSSVGAnimatedPreserveAspectRatio = interface(IJSObject) ['{E0C44995-82B5-30FB-805A-D44D0E27028B}'] function _GetbaseVal: IJSSVGPreserveAspectRatio; function _GetanimVal: IJSSVGPreserveAspectRatio; property baseVal: IJSSVGPreserveAspectRatio read _GetbaseVal; property animVal: IJSSVGPreserveAspectRatio read _GetanimVal; end; TJSSVGAnimatedPreserveAspectRatio = class(TJSObject,IJSSVGAnimatedPreserveAspectRatio) Private Protected function _GetbaseVal: IJSSVGPreserveAspectRatio; function _GetanimVal: IJSSVGPreserveAspectRatio; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedPreserveAspectRatio; property baseVal: IJSSVGPreserveAspectRatio read _GetbaseVal; property animVal: IJSSVGPreserveAspectRatio read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedRect --------------------------------------------------------------------} IJSSVGAnimatedRect = interface(IJSObject) ['{079219A2-5117-3608-9171-EEB037DC57BD}'] function _GetbaseVal: IJSSVGRect; function _GetanimVal: IJSSVGRect; property baseVal: IJSSVGRect read _GetbaseVal; property animVal: IJSSVGRect read _GetanimVal; end; TJSSVGAnimatedRect = class(TJSObject,IJSSVGAnimatedRect) Private Protected function _GetbaseVal: IJSSVGRect; function _GetanimVal: IJSSVGRect; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedRect; property baseVal: IJSSVGRect read _GetbaseVal; property animVal: IJSSVGRect read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedString --------------------------------------------------------------------} IJSSVGAnimatedString = interface(IJSObject) ['{BABF189E-CA03-3269-A399-8F2F96ADD54E}'] function _GetbaseVal: UnicodeString; function _GetanimVal: UnicodeString; procedure _SetbaseVal(const aValue: UnicodeString); property baseVal: UnicodeString read _GetbaseVal write _SetbaseVal; property animVal: UnicodeString read _GetanimVal; end; TJSSVGAnimatedString = class(TJSObject,IJSSVGAnimatedString) Private Protected function _GetbaseVal: UnicodeString; function _GetanimVal: UnicodeString; procedure _SetbaseVal(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedString; property baseVal: UnicodeString read _GetbaseVal write _SetbaseVal; property animVal: UnicodeString read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGAnimatedTransformList --------------------------------------------------------------------} IJSSVGAnimatedTransformList = interface(IJSObject) ['{882132C3-40AE-317B-9389-D7A973AB2E55}'] function _GetbaseVal: IJSSVGTransformList; function _GetanimVal: IJSSVGTransformList; property baseVal: IJSSVGTransformList read _GetbaseVal; property animVal: IJSSVGTransformList read _GetanimVal; end; TJSSVGAnimatedTransformList = class(TJSObject,IJSSVGAnimatedTransformList) Private Protected function _GetbaseVal: IJSSVGTransformList; function _GetanimVal: IJSSVGTransformList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimatedTransformList; property baseVal: IJSSVGTransformList read _GetbaseVal; property animVal: IJSSVGTransformList read _GetanimVal; end; { -------------------------------------------------------------------- TJSSVGFilterPrimitiveStandardAttributes --------------------------------------------------------------------} IJSSVGFilterPrimitiveStandardAttributes = interface(IJSObject) ['{16FD1CEA-8088-3A85-A3B8-F244168E4F20}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFilterPrimitiveStandardAttributes = class(TJSObject,IJSSVGFilterPrimitiveStandardAttributes) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFilterPrimitiveStandardAttributes; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFitToViewBox --------------------------------------------------------------------} IJSSVGFitToViewBox = interface(IJSObject) ['{041363B2-5113-33C0-9185-48E55D02B4D7}'] function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; end; TJSSVGFitToViewBox = class(TJSObject,IJSSVGFitToViewBox) Private Protected function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFitToViewBox; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; end; { -------------------------------------------------------------------- TJSSVGLength --------------------------------------------------------------------} IJSSVGLength = interface(IJSObject) ['{5AA21ADC-4F61-379F-8857-8B9BF22BA48F}'] function _GetunitType: Word; function _Getvalue: Single; function _GetvalueInSpecifiedUnits: Single; function _GetvalueAsString: UnicodeString; procedure _Setvalue(const aValue: Single); procedure _SetvalueInSpecifiedUnits(const aValue: Single); procedure _SetvalueAsString(const aValue: UnicodeString); procedure newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); procedure convertToSpecifiedUnits(aUnitType: Word); property unitType: Word read _GetunitType; property value: Single read _Getvalue write _Setvalue; property valueInSpecifiedUnits: Single read _GetvalueInSpecifiedUnits write _SetvalueInSpecifiedUnits; property valueAsString: UnicodeString read _GetvalueAsString write _SetvalueAsString; end; TJSSVGLength = class(TJSObject,IJSSVGLength) Private Protected function _GetunitType: Word; function _Getvalue: Single; function _GetvalueInSpecifiedUnits: Single; function _GetvalueAsString: UnicodeString; procedure _Setvalue(const aValue: Single); procedure _SetvalueInSpecifiedUnits(const aValue: Single); procedure _SetvalueAsString(const aValue: UnicodeString); Public Const SVG_LENGTHTYPE_UNKNOWN = 0; SVG_LENGTHTYPE_NUMBER = 1; SVG_LENGTHTYPE_PERCENTAGE = 2; SVG_LENGTHTYPE_EMS = 3; SVG_LENGTHTYPE_EXS = 4; SVG_LENGTHTYPE_PX = 5; SVG_LENGTHTYPE_CM = 6; SVG_LENGTHTYPE_MM = 7; SVG_LENGTHTYPE_IN = 8; SVG_LENGTHTYPE_PT = 9; SVG_LENGTHTYPE_PC = 10; Public procedure newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); overload; procedure convertToSpecifiedUnits(aUnitType: Word); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGLength; property unitType: Word read _GetunitType; property value: Single read _Getvalue write _Setvalue; property valueInSpecifiedUnits: Single read _GetvalueInSpecifiedUnits write _SetvalueInSpecifiedUnits; property valueAsString: UnicodeString read _GetvalueAsString write _SetvalueAsString; end; { -------------------------------------------------------------------- TJSSVGLengthList --------------------------------------------------------------------} IJSSVGLengthList = interface(IJSObject) ['{140C90EE-0154-33E7-92A9-70C43A4A2932}'] function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; procedure clear; function initialize(aNewItem: IJSSVGLength): IJSSVGLength; function getItem(aIndex: Cardinal): IJSSVGLength; function insertItemBefore(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; function replaceItem(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; function removeItem(aIndex: Cardinal): IJSSVGLength; function appendItem(aNewItem: IJSSVGLength): IJSSVGLength; procedure SetDefault(aIndex: Cardinal; aNewItem: IJSSVGLength); property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; TJSSVGLengthList = class(TJSObject,IJSSVGLengthList) Private Protected function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; Public procedure clear; overload; function initialize(aNewItem: IJSSVGLength): IJSSVGLength; overload; function getItem(aIndex: Cardinal): IJSSVGLength; overload; function insertItemBefore(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; overload; function replaceItem(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; overload; function removeItem(aIndex: Cardinal): IJSSVGLength; overload; function appendItem(aNewItem: IJSSVGLength): IJSSVGLength; overload; procedure SetDefault(aIndex: Cardinal; aNewItem: IJSSVGLength); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGLengthList; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSVGMatrix --------------------------------------------------------------------} IJSSVGMatrix = interface(IJSObject) ['{63EDACAF-68A5-3A63-AAA8-291B2E9ABBFB}'] function _Geta: Single; function _Getb: Single; function _Getc: Single; function _Getd: Single; function _Gete: Single; function _Getf: Single; procedure _Seta(const aValue: Single); procedure _Setb(const aValue: Single); procedure _Setc(const aValue: Single); procedure _Setd(const aValue: Single); procedure _Sete(const aValue: Single); procedure _Setf(const aValue: Single); function multiply(aSecondMatrix: IJSSVGMatrix): IJSSVGMatrix; function inverse: IJSSVGMatrix; function translate(aX: Single; aY: Single): IJSSVGMatrix; function scale(aScaleFactor: Single): IJSSVGMatrix; function scaleNonUniform(aScaleFactorX: Single; aScaleFactorY: Single): IJSSVGMatrix; function rotate(aAngle: Single): IJSSVGMatrix; function rotateFromVector(aX: Single; aY: Single): IJSSVGMatrix; function flipX: IJSSVGMatrix; function flipY: IJSSVGMatrix; function skewX(aAngle: Single): IJSSVGMatrix; function skewY(aAngle: Single): IJSSVGMatrix; property a: Single read _Geta write _Seta; property b: Single read _Getb write _Setb; property c: Single read _Getc write _Setc; property d: Single read _Getd write _Setd; property e: Single read _Gete write _Sete; property f: Single read _Getf write _Setf; end; TJSSVGMatrix = class(TJSObject,IJSSVGMatrix) Private Protected function _Geta: Single; function _Getb: Single; function _Getc: Single; function _Getd: Single; function _Gete: Single; function _Getf: Single; procedure _Seta(const aValue: Single); procedure _Setb(const aValue: Single); procedure _Setc(const aValue: Single); procedure _Setd(const aValue: Single); procedure _Sete(const aValue: Single); procedure _Setf(const aValue: Single); Public function multiply(aSecondMatrix: IJSSVGMatrix): IJSSVGMatrix; overload; function inverse: IJSSVGMatrix; overload; function translate(aX: Single; aY: Single): IJSSVGMatrix; overload; function scale(aScaleFactor: Single): IJSSVGMatrix; overload; function scaleNonUniform(aScaleFactorX: Single; aScaleFactorY: Single): IJSSVGMatrix; overload; function rotate(aAngle: Single): IJSSVGMatrix; overload; function rotateFromVector(aX: Single; aY: Single): IJSSVGMatrix; overload; function flipX: IJSSVGMatrix; overload; function flipY: IJSSVGMatrix; overload; function skewX(aAngle: Single): IJSSVGMatrix; overload; function skewY(aAngle: Single): IJSSVGMatrix; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGMatrix; property a: Single read _Geta write _Seta; property b: Single read _Getb write _Setb; property c: Single read _Getc write _Setc; property d: Single read _Getd write _Setd; property e: Single read _Gete write _Sete; property f: Single read _Getf write _Setf; end; { -------------------------------------------------------------------- TJSSVGNumber --------------------------------------------------------------------} IJSSVGNumber = interface(IJSObject) ['{338270CA-6AD5-3715-842A-48671B24C552}'] function _Getvalue: Single; procedure _Setvalue(const aValue: Single); property value: Single read _Getvalue write _Setvalue; end; TJSSVGNumber = class(TJSObject,IJSSVGNumber) Private Protected function _Getvalue: Single; procedure _Setvalue(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGNumber; property value: Single read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSSVGNumberList --------------------------------------------------------------------} IJSSVGNumberList = interface(IJSObject) ['{140C90EF-514A-3687-92A9-70C43A4A2932}'] function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; procedure clear; function initialize(aNewItem: IJSSVGNumber): IJSSVGNumber; function getItem(aIndex: Cardinal): IJSSVGNumber; function insertItemBefore(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; function replaceItem(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; function removeItem(aIndex: Cardinal): IJSSVGNumber; function appendItem(aNewItem: IJSSVGNumber): IJSSVGNumber; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; TJSSVGNumberList = class(TJSObject,IJSSVGNumberList) Private Protected function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; Public procedure clear; overload; function initialize(aNewItem: IJSSVGNumber): IJSSVGNumber; overload; function getItem(aIndex: Cardinal): IJSSVGNumber; overload; function insertItemBefore(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; overload; function replaceItem(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; overload; function removeItem(aIndex: Cardinal): IJSSVGNumber; overload; function appendItem(aNewItem: IJSSVGNumber): IJSSVGNumber; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGNumberList; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSVGPathSeg --------------------------------------------------------------------} IJSSVGPathSeg = interface(IJSObject) ['{7D703657-85D8-35B9-A30C-FA2E5C08B0F2}'] function _GetpathSegType: Word; function _GetpathSegTypeAsLetter: UnicodeString; property pathSegType: Word read _GetpathSegType; property pathSegTypeAsLetter: UnicodeString read _GetpathSegTypeAsLetter; end; TJSSVGPathSeg = class(TJSObject,IJSSVGPathSeg) Private Protected function _GetpathSegType: Word; function _GetpathSegTypeAsLetter: UnicodeString; Public Const PATHSEG_UNKNOWN = 0; PATHSEG_CLOSEPATH = 1; PATHSEG_MOVETO_ABS = 2; PATHSEG_MOVETO_REL = 3; PATHSEG_LINETO_ABS = 4; PATHSEG_LINETO_REL = 5; PATHSEG_CURVETO_CUBIC_ABS = 6; PATHSEG_CURVETO_CUBIC_REL = 7; PATHSEG_CURVETO_QUADRATIC_ABS = 8; PATHSEG_CURVETO_QUADRATIC_REL = 9; PATHSEG_ARC_ABS = 10; PATHSEG_ARC_REL = 11; PATHSEG_LINETO_HORIZONTAL_ABS = 12; PATHSEG_LINETO_HORIZONTAL_REL = 13; PATHSEG_LINETO_VERTICAL_ABS = 14; PATHSEG_LINETO_VERTICAL_REL = 15; PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSeg; property pathSegType: Word read _GetpathSegType; property pathSegTypeAsLetter: UnicodeString read _GetpathSegTypeAsLetter; end; { -------------------------------------------------------------------- TJSSVGPathSegList --------------------------------------------------------------------} IJSSVGPathSegList = interface(IJSObject) ['{7141259E-7D8B-3C25-B15F-3196DEAE6210}'] function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; function getItem(aIndex: Cardinal): IJSSVGPathSeg; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; TJSSVGPathSegList = class(TJSObject,IJSSVGPathSegList) Private Protected function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; Public function getItem(aIndex: Cardinal): IJSSVGPathSeg; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegList; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSVGPoint --------------------------------------------------------------------} IJSSVGPoint = interface(IJSObject) ['{81403BB9-44FA-345C-901C-687BD6DE5CB7}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); function matrixTransform(const aMatrix: IJSDOMMatrix2DInit): IJSSVGPoint; function matrixTransform: IJSSVGPoint; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPoint = class(TJSObject,IJSSVGPoint) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public function matrixTransform(const aMatrix: IJSDOMMatrix2DInit): IJSSVGPoint; overload; function matrixTransform: IJSSVGPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPoint; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPointList --------------------------------------------------------------------} IJSSVGPointList = interface(IJSObject) ['{702AF041-C38D-30ED-B006-F361223E6110}'] function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; procedure clear; function initialize(aNewItem: IJSSVGPoint): IJSSVGPoint; function getItem(aIndex: Cardinal): IJSSVGPoint; function insertItemBefore(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; function replaceItem(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; function removeItem(aIndex: Cardinal): IJSSVGPoint; function appendItem(aNewItem: IJSSVGPoint): IJSSVGPoint; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; TJSSVGPointList = class(TJSObject,IJSSVGPointList) Private Protected function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; Public procedure clear; overload; function initialize(aNewItem: IJSSVGPoint): IJSSVGPoint; overload; function getItem(aIndex: Cardinal): IJSSVGPoint; overload; function insertItemBefore(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; overload; function replaceItem(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; overload; function removeItem(aIndex: Cardinal): IJSSVGPoint; overload; function appendItem(aNewItem: IJSSVGPoint): IJSSVGPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPointList; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSVGPreserveAspectRatio --------------------------------------------------------------------} IJSSVGPreserveAspectRatio = interface(IJSObject) ['{83AA053A-0C2C-3308-85C5-6F7E29FDFD5C}'] function _Getalign: Word; function _GetmeetOrSlice: Word; procedure _Setalign(const aValue: Word); procedure _SetmeetOrSlice(const aValue: Word); property align: Word read _Getalign write _Setalign; property meetOrSlice: Word read _GetmeetOrSlice write _SetmeetOrSlice; end; TJSSVGPreserveAspectRatio = class(TJSObject,IJSSVGPreserveAspectRatio) Private Protected function _Getalign: Word; function _GetmeetOrSlice: Word; procedure _Setalign(const aValue: Word); procedure _SetmeetOrSlice(const aValue: Word); Public Const SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; SVG_PRESERVEASPECTRATIO_NONE = 1; SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; SVG_PRESERVEASPECTRATIO_XMINYMID = 5; SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; SVG_MEETORSLICE_UNKNOWN = 0; SVG_MEETORSLICE_MEET = 1; SVG_MEETORSLICE_SLICE = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPreserveAspectRatio; property align: Word read _Getalign write _Setalign; property meetOrSlice: Word read _GetmeetOrSlice write _SetmeetOrSlice; end; { -------------------------------------------------------------------- TJSSVGRect --------------------------------------------------------------------} IJSSVGRect = interface(IJSObject) ['{3275278B-238F-3A3D-8A0D-93BE7F554374}'] function _Getx: Single; function _Gety: Single; function _Getwidth: Single; function _Getheight: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setwidth(const aValue: Single); procedure _Setheight(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property width: Single read _Getwidth write _Setwidth; property height: Single read _Getheight write _Setheight; end; TJSSVGRect = class(TJSObject,IJSSVGRect) Private Protected function _Getx: Single; function _Gety: Single; function _Getwidth: Single; function _Getheight: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setwidth(const aValue: Single); procedure _Setheight(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGRect; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property width: Single read _Getwidth write _Setwidth; property height: Single read _Getheight write _Setheight; end; { -------------------------------------------------------------------- TJSSVGStringList --------------------------------------------------------------------} IJSSVGStringList = interface(IJSObject) ['{140C90EF-EF75-37D7-92A9-70C43A4A2932}'] function _Getlength_: Cardinal; function _GetnumberOfItems: Cardinal; procedure clear; function initialize(const aNewItem: UnicodeString): UnicodeString; function getItem(aIndex: Cardinal): UnicodeString; function GetDefault(aIndex: Cardinal): UnicodeString; function insertItemBefore(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; function replaceItem(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; function removeItem(aIndex: Cardinal): UnicodeString; function appendItem(const aNewItem: UnicodeString): UnicodeString; property length_: Cardinal read _Getlength_; property numberOfItems: Cardinal read _GetnumberOfItems; end; TJSSVGStringList = class(TJSObject,IJSSVGStringList) Private Protected function _Getlength_: Cardinal; function _GetnumberOfItems: Cardinal; Public procedure clear; overload; function initialize(const aNewItem: UnicodeString): UnicodeString; overload; function getItem(aIndex: Cardinal): UnicodeString; overload; function GetDefault(aIndex: Cardinal): UnicodeString; overload; function insertItemBefore(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; overload; function replaceItem(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; overload; function removeItem(aIndex: Cardinal): UnicodeString; overload; function appendItem(const aNewItem: UnicodeString): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGStringList; property length_: Cardinal read _Getlength_; property numberOfItems: Cardinal read _GetnumberOfItems; end; { -------------------------------------------------------------------- TJSSVGTests --------------------------------------------------------------------} IJSSVGTests = interface(IJSObject) ['{F074C479-C6AA-36A3-B633-1CFC31B674E4}'] function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; TJSSVGTests = class(TJSObject,IJSSVGTests) Private Protected function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTests; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; { -------------------------------------------------------------------- TJSSVGTransform --------------------------------------------------------------------} IJSSVGTransform = interface(IJSObject) ['{179D7DF7-2DCB-3E3A-BE64-366F4F456503}'] function _Gettype_: Word; function _Getmatrix: IJSSVGMatrix; function _Getangle: Single; procedure setMatrix(const aMatrix: IJSDOMMatrix2DInit); procedure setMatrix; procedure setTranslate(aTx: Single; aTy: Single); procedure setScale(aSx: Single; aSy: Single); procedure setRotate(aAngle: Single; aCx: Single; aCy: Single); procedure setSkewX(aAngle: Single); procedure setSkewY(aAngle: Single); property type_: Word read _Gettype_; property matrix: IJSSVGMatrix read _Getmatrix; property angle: Single read _Getangle; end; TJSSVGTransform = class(TJSObject,IJSSVGTransform) Private Protected function _Gettype_: Word; function _Getmatrix: IJSSVGMatrix; function _Getangle: Single; Public Const SVG_TRANSFORM_UNKNOWN = 0; SVG_TRANSFORM_MATRIX = 1; SVG_TRANSFORM_TRANSLATE = 2; SVG_TRANSFORM_SCALE = 3; SVG_TRANSFORM_ROTATE = 4; SVG_TRANSFORM_SKEWX = 5; SVG_TRANSFORM_SKEWY = 6; Public procedure setMatrix(const aMatrix: IJSDOMMatrix2DInit); overload; procedure setMatrix; overload; procedure setTranslate(aTx: Single; aTy: Single); overload; procedure setScale(aSx: Single; aSy: Single); overload; procedure setRotate(aAngle: Single; aCx: Single; aCy: Single); overload; procedure setSkewX(aAngle: Single); overload; procedure setSkewY(aAngle: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTransform; property type_: Word read _Gettype_; property matrix: IJSSVGMatrix read _Getmatrix; property angle: Single read _Getangle; end; { -------------------------------------------------------------------- TJSSVGTransformList --------------------------------------------------------------------} IJSSVGTransformList = interface(IJSObject) ['{655092FB-17E8-3B2B-9E50-C34285303386}'] function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; procedure clear; function initialize(aNewItem: IJSSVGTransform): IJSSVGTransform; function getItem(aIndex: Cardinal): IJSSVGTransform; function insertItemBefore(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; function replaceItem(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; function removeItem(aIndex: Cardinal): IJSSVGTransform; function appendItem(aNewItem: IJSSVGTransform): IJSSVGTransform; function createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; function createSVGTransformFromMatrix: IJSSVGTransform; function consolidate: IJSSVGTransform; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; TJSSVGTransformList = class(TJSObject,IJSSVGTransformList) Private Protected function _GetnumberOfItems: Cardinal; function _Getlength_: Cardinal; Public procedure clear; overload; function initialize(aNewItem: IJSSVGTransform): IJSSVGTransform; overload; function getItem(aIndex: Cardinal): IJSSVGTransform; overload; function insertItemBefore(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; overload; function replaceItem(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; overload; function removeItem(aIndex: Cardinal): IJSSVGTransform; overload; function appendItem(aNewItem: IJSSVGTransform): IJSSVGTransform; overload; function createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; overload; function createSVGTransformFromMatrix: IJSSVGTransform; overload; function consolidate: IJSSVGTransform; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTransformList; property numberOfItems: Cardinal read _GetnumberOfItems; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSSVGUnitTypes --------------------------------------------------------------------} IJSSVGUnitTypes = interface(IJSObject) ['{FE24CC07-F90F-3A52-B66B-64989733CCCE}'] end; TJSSVGUnitTypes = class(TJSObject,IJSSVGUnitTypes) Private Protected Public Const SVG_UNIT_TYPE_UNKNOWN = 0; SVG_UNIT_TYPE_USERSPACEONUSE = 1; SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGUnitTypes; end; { -------------------------------------------------------------------- TJSSVGURIReference --------------------------------------------------------------------} IJSSVGURIReference = interface(IJSObject) ['{F31E7528-642A-3AC0-A061-903C81ABE156}'] function _Gethref: IJSSVGAnimatedString; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGURIReference = class(TJSObject,IJSSVGURIReference) Private Protected function _Gethref: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGURIReference; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGZoomAndPan --------------------------------------------------------------------} IJSSVGZoomAndPan = interface(IJSObject) ['{A8239C3A-1C38-39BE-9A2A-F03A8A30F8F5}'] function _GetzoomAndPan: Word; procedure _SetzoomAndPan(const aValue: Word); property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; TJSSVGZoomAndPan = class(TJSObject,IJSSVGZoomAndPan) Private Protected function _GetzoomAndPan: Word; procedure _SetzoomAndPan(const aValue: Word); Public Const SVG_ZOOMANDPAN_UNKNOWN = 0; SVG_ZOOMANDPAN_DISABLE = 1; SVG_ZOOMANDPAN_MAGNIFY = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGZoomAndPan; property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; { -------------------------------------------------------------------- TJSnsISocketTransport --------------------------------------------------------------------} IJSnsISocketTransport = interface(IJSObject) ['{C8B5BD31-01C9-3A33-BECF-5F8B5A87C063}'] end; TJSnsISocketTransport = class(TJSObject,IJSnsISocketTransport) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsISocketTransport; end; { -------------------------------------------------------------------- TJSLegacyMozTCPSocket --------------------------------------------------------------------} IJSLegacyMozTCPSocket = interface(IJSObject) ['{BE7DFB1B-B571-3F92-8094-3B4248707534}'] function open(const aHost: UnicodeString; aPort: Word; const aOptions: IJSSocketOptions): IJSTCPSocket; function open(const aHost: UnicodeString; aPort: Word): IJSTCPSocket; function listen(aPort: Word; const aOptions: IJSServerSocketOptions; aBacklog: Word): IJSTCPServerSocket; function listen(aPort: Word): IJSTCPServerSocket; function listen(aPort: Word; const aOptions: IJSServerSocketOptions): IJSTCPServerSocket; end; TJSLegacyMozTCPSocket = class(TJSObject,IJSLegacyMozTCPSocket) Private Protected Public function open(const aHost: UnicodeString; aPort: Word; const aOptions: IJSSocketOptions): IJSTCPSocket; overload; function open(const aHost: UnicodeString; aPort: Word): IJSTCPSocket; overload; function listen(aPort: Word; const aOptions: IJSServerSocketOptions; aBacklog: Word): IJSTCPServerSocket; overload; function listen(aPort: Word): IJSTCPServerSocket; overload; function listen(aPort: Word; const aOptions: IJSServerSocketOptions): IJSTCPServerSocket; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLegacyMozTCPSocket; end; { -------------------------------------------------------------------- TJSWrapperCachedNonISupportsTestInterface --------------------------------------------------------------------} IJSWrapperCachedNonISupportsTestInterface = interface(IJSObject) ['{2CAEB512-5E85-308E-9AD6-9355FF471ADC}'] end; TJSWrapperCachedNonISupportsTestInterface = class(TJSObject,IJSWrapperCachedNonISupportsTestInterface) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWrapperCachedNonISupportsTestInterface; end; { -------------------------------------------------------------------- TJSTestTrialInterface --------------------------------------------------------------------} IJSTestTrialInterface = interface(IJSObject) ['{C8B416DD-0640-32AC-B026-53EE1B2C7863}'] end; TJSTestTrialInterface = class(TJSObject,IJSTestTrialInterface) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestTrialInterface; end; { -------------------------------------------------------------------- TJSTestInterfaceLength --------------------------------------------------------------------} IJSTestInterfaceLength = interface(IJSObject) ['{7D9DC77B-FA22-36A9-922E-8677E07282DA}'] end; TJSTestInterfaceLength = class(TJSObject,IJSTestInterfaceLength) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceLength; end; { -------------------------------------------------------------------- TJSTestFunctions --------------------------------------------------------------------} // Union of ArrayBuffer, ArrayBufferView, DOMString TTestFunctions_testUnionOfBuffferSource_foo_Type = Variant; // Union of ArrayBuffer, ArrayBufferView TTestFunctions_testUnionOfAllowSharedBuffferSource_foo_Type = Variant; TIJSArrayBufferViewDynArray = IJSArray; // array of ArrayBufferView IJSTestFunctions = interface(IJSObject) ['{2A01F0F2-48D0-3D3B-A403-61D6ABFFB9E3}'] function _Getone: LongInt; function _Gettwo: LongInt; function _GetwrapperCachedNonISupportsObject: IJSWrapperCachedNonISupportsTestInterface; function _GetclampedNullableOctet: Byte; function _GetenforcedNullableOctet: Byte; function _GetarrayBufferView: IJSArrayBufferView; function _GetallowSharedArrayBufferView: IJSArrayBufferView; function _GetsequenceOfArrayBufferView: TIJSArrayBufferViewDynArray; function _GetsequenceOfAllowSharedArrayBufferView: TIJSArrayBufferViewDynArray; function _GetarrayBuffer: IJSArrayBuffer; function _GetallowSharedArrayBuffer: IJSArrayBuffer; function _GetsequenceOfArrayBuffer: TIJSArrayBufferDynArray; function _GetsequenceOfAllowSharedArrayBuffer: TIJSArrayBufferDynArray; procedure _SetclampedNullableOctet(const aValue: Byte); procedure _SetenforcedNullableOctet(const aValue: Byte); procedure _SetarrayBufferView(const aValue: IJSArrayBufferView); procedure _SetallowSharedArrayBufferView(const aValue: IJSArrayBufferView); procedure _SetsequenceOfArrayBufferView(const aValue: TIJSArrayBufferViewDynArray); procedure _SetsequenceOfAllowSharedArrayBufferView(const aValue: TIJSArrayBufferViewDynArray); procedure _SetarrayBuffer(const aValue: IJSArrayBuffer); procedure _SetallowSharedArrayBuffer(const aValue: IJSArrayBuffer); procedure _SetsequenceOfArrayBuffer(const aValue: TIJSArrayBufferDynArray); procedure _SetsequenceOfAllowSharedArrayBuffer(const aValue: TIJSArrayBufferDynArray); procedure setStringData(const aArg: UnicodeString); function getStringDataAsAString: UnicodeString; function getStringDataAsAString(aLength_: Cardinal): UnicodeString; function getStringDataAsDOMString(aLength_: Cardinal): UnicodeString; function getStringDataAsDOMString: UnicodeString; function getShortLiteralString: UnicodeString; function getMediumLiteralString: UnicodeString; function getLongLiteralString: UnicodeString; function getStringbufferString(const aInput: UnicodeString): UnicodeString; function getStringType(const aStr: UnicodeString): TStringType; function stringbufferMatchesStored(const aStr: UnicodeString): Boolean; procedure testThrowNsresult; procedure testThrowNsresultFromNative; function toJSON: IJSObject; procedure testNotAllowShared(aBuffer: IJSArrayBufferView); procedure testNotAllowShared(aBuffer: IJSArrayBuffer); procedure testNotAllowShared(const aBuffer: UnicodeString); procedure testAllowShared(aBuffer: IJSArrayBufferView); procedure testAllowShared(aBuffer: IJSArrayBuffer); procedure testDictWithAllowShared(const aBuffer: IJSDictWithAllowSharedBufferSource); procedure testDictWithAllowShared; procedure testUnionOfBuffferSource(aFoo: IJSArrayBuffer); procedure testUnionOfBuffferSource(aFoo: IJSArrayBufferView); procedure testUnionOfBuffferSource(const aFoo: UnicodeString); procedure testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBuffer); procedure testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBufferView); property one: LongInt read _Getone; property two: LongInt read _Gettwo; property wrapperCachedNonISupportsObject: IJSWrapperCachedNonISupportsTestInterface read _GetwrapperCachedNonISupportsObject; property clampedNullableOctet: Byte read _GetclampedNullableOctet write _SetclampedNullableOctet; property enforcedNullableOctet: Byte read _GetenforcedNullableOctet write _SetenforcedNullableOctet; property arrayBufferView: IJSArrayBufferView read _GetarrayBufferView write _SetarrayBufferView; property allowSharedArrayBufferView: IJSArrayBufferView read _GetallowSharedArrayBufferView write _SetallowSharedArrayBufferView; property sequenceOfArrayBufferView: TIJSArrayBufferViewDynArray read _GetsequenceOfArrayBufferView write _SetsequenceOfArrayBufferView; property sequenceOfAllowSharedArrayBufferView: TIJSArrayBufferViewDynArray read _GetsequenceOfAllowSharedArrayBufferView write _SetsequenceOfAllowSharedArrayBufferView; property arrayBuffer: IJSArrayBuffer read _GetarrayBuffer write _SetarrayBuffer; property allowSharedArrayBuffer: IJSArrayBuffer read _GetallowSharedArrayBuffer write _SetallowSharedArrayBuffer; property sequenceOfArrayBuffer: TIJSArrayBufferDynArray read _GetsequenceOfArrayBuffer write _SetsequenceOfArrayBuffer; property sequenceOfAllowSharedArrayBuffer: TIJSArrayBufferDynArray read _GetsequenceOfAllowSharedArrayBuffer write _SetsequenceOfAllowSharedArrayBuffer; end; TJSTestFunctions = class(TJSObject,IJSTestFunctions) Private Protected function _Getone: LongInt; function _Gettwo: LongInt; function _GetwrapperCachedNonISupportsObject: IJSWrapperCachedNonISupportsTestInterface; function _GetclampedNullableOctet: Byte; function _GetenforcedNullableOctet: Byte; function _GetarrayBufferView: IJSArrayBufferView; function _GetallowSharedArrayBufferView: IJSArrayBufferView; function _GetsequenceOfArrayBufferView: TIJSArrayBufferViewDynArray; function _GetsequenceOfAllowSharedArrayBufferView: TIJSArrayBufferViewDynArray; function _GetarrayBuffer: IJSArrayBuffer; function _GetallowSharedArrayBuffer: IJSArrayBuffer; function _GetsequenceOfArrayBuffer: TIJSArrayBufferDynArray; function _GetsequenceOfAllowSharedArrayBuffer: TIJSArrayBufferDynArray; procedure _SetclampedNullableOctet(const aValue: Byte); procedure _SetenforcedNullableOctet(const aValue: Byte); procedure _SetarrayBufferView(const aValue: IJSArrayBufferView); procedure _SetallowSharedArrayBufferView(const aValue: IJSArrayBufferView); procedure _SetsequenceOfArrayBufferView(const aValue: TIJSArrayBufferViewDynArray); procedure _SetsequenceOfAllowSharedArrayBufferView(const aValue: TIJSArrayBufferViewDynArray); procedure _SetarrayBuffer(const aValue: IJSArrayBuffer); procedure _SetallowSharedArrayBuffer(const aValue: IJSArrayBuffer); procedure _SetsequenceOfArrayBuffer(const aValue: TIJSArrayBufferDynArray); procedure _SetsequenceOfAllowSharedArrayBuffer(const aValue: TIJSArrayBufferDynArray); Public constructor Create; overload; procedure throwUncatchableException; overload; function passThroughPromise(aArg: IJSPromise): IJSPromise; overload; // Promise function passThroughCallbackPromise(const aCallback: TPromiseReturner): IJSPromise; overload; // Promise procedure setStringData(const aArg: UnicodeString); overload; function getStringDataAsAString: UnicodeString; overload; function getStringDataAsAString(aLength_: Cardinal): UnicodeString; overload; function getStringDataAsDOMString(aLength_: Cardinal): UnicodeString; overload; function getStringDataAsDOMString: UnicodeString; overload; function getShortLiteralString: UnicodeString; overload; function getMediumLiteralString: UnicodeString; overload; function getLongLiteralString: UnicodeString; overload; function getStringbufferString(const aInput: UnicodeString): UnicodeString; overload; function getStringType(const aStr: UnicodeString): TStringType; overload; function stringbufferMatchesStored(const aStr: UnicodeString): Boolean; overload; procedure testThrowNsresult; overload; procedure testThrowNsresultFromNative; overload; function throwToRejectPromise: IJSPromise; overload; // Promise function toJSON: IJSObject; overload; procedure testNotAllowShared(aBuffer: IJSArrayBufferView); overload; procedure testNotAllowShared(aBuffer: IJSArrayBuffer); overload; procedure testNotAllowShared(const aBuffer: UnicodeString); overload; procedure testAllowShared(aBuffer: IJSArrayBufferView); overload; procedure testAllowShared(aBuffer: IJSArrayBuffer); overload; procedure testDictWithAllowShared(const aBuffer: IJSDictWithAllowSharedBufferSource); overload; procedure testDictWithAllowShared; overload; procedure testUnionOfBuffferSource(aFoo: IJSArrayBuffer); overload; procedure testUnionOfBuffferSource(aFoo: IJSArrayBufferView); overload; procedure testUnionOfBuffferSource(const aFoo: UnicodeString); overload; procedure testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBuffer); overload; procedure testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBufferView); overload; function staticAndNonStaticOverload(aFoo: Cardinal): Boolean; overload; function staticAndNonStaticOverload: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestFunctions; property one: LongInt read _Getone; property two: LongInt read _Gettwo; property wrapperCachedNonISupportsObject: IJSWrapperCachedNonISupportsTestInterface read _GetwrapperCachedNonISupportsObject; property clampedNullableOctet: Byte read _GetclampedNullableOctet write _SetclampedNullableOctet; property enforcedNullableOctet: Byte read _GetenforcedNullableOctet write _SetenforcedNullableOctet; property arrayBufferView: IJSArrayBufferView read _GetarrayBufferView write _SetarrayBufferView; property allowSharedArrayBufferView: IJSArrayBufferView read _GetallowSharedArrayBufferView write _SetallowSharedArrayBufferView; property sequenceOfArrayBufferView: TIJSArrayBufferViewDynArray read _GetsequenceOfArrayBufferView write _SetsequenceOfArrayBufferView; property sequenceOfAllowSharedArrayBufferView: TIJSArrayBufferViewDynArray read _GetsequenceOfAllowSharedArrayBufferView write _SetsequenceOfAllowSharedArrayBufferView; property arrayBuffer: IJSArrayBuffer read _GetarrayBuffer write _SetarrayBuffer; property allowSharedArrayBuffer: IJSArrayBuffer read _GetallowSharedArrayBuffer write _SetallowSharedArrayBuffer; property sequenceOfArrayBuffer: TIJSArrayBufferDynArray read _GetsequenceOfArrayBuffer write _SetsequenceOfArrayBuffer; property sequenceOfAllowSharedArrayBuffer: TIJSArrayBufferDynArray read _GetsequenceOfAllowSharedArrayBuffer write _SetsequenceOfAllowSharedArrayBuffer; end; { -------------------------------------------------------------------- TJSTestInterfaceMaplike --------------------------------------------------------------------} IJSTestInterfaceMaplike = interface(IJSObject) ['{3C073C18-1B09-38AD-8273-8CBC2ED812DA}'] function _Getsize : LongInt; function get(key: UnicodeString) : LongInt; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure set_(key: UnicodeString; value : LongInt); procedure clear; procedure delete(key: UnicodeString); procedure setInternal(const aAKey: UnicodeString; aAValue: LongInt); procedure clearInternal; function deleteInternal(const aAKey: UnicodeString): Boolean; function hasInternal(const aAKey: UnicodeString): Boolean; function getInternal(const aAKey: UnicodeString): LongInt; property size : LongInt read _Getsize; end; TJSTestInterfaceMaplike = class(TJSObject,IJSTestInterfaceMaplike) Private Protected function _Getsize : LongInt; Public constructor Create; overload; function get(key: UnicodeString) : LongInt; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure set_(key: UnicodeString; value : LongInt); procedure clear; procedure delete(key: UnicodeString); procedure setInternal(const aAKey: UnicodeString; aAValue: LongInt); overload; procedure clearInternal; overload; function deleteInternal(const aAKey: UnicodeString): Boolean; overload; function hasInternal(const aAKey: UnicodeString): Boolean; overload; function getInternal(const aAKey: UnicodeString): LongInt; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceMaplike; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSTestInterfaceMaplikeObject --------------------------------------------------------------------} IJSTestInterfaceMaplikeObject = interface(IJSObject) ['{A02345CB-5A0F-3A5B-A0C3-EC9DC6F32292}'] function _Getsize : LongInt; function get(key: UnicodeString) : TJSTestInterfaceMaplike; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure setInternal(const aAKey: UnicodeString); procedure clearInternal; function deleteInternal(const aAKey: UnicodeString): Boolean; function hasInternal(const aAKey: UnicodeString): Boolean; function getInternal(const aAKey: UnicodeString): IJSTestInterfaceMaplike; property size : LongInt read _Getsize; end; TJSTestInterfaceMaplikeObject = class(TJSObject,IJSTestInterfaceMaplikeObject) Private Protected function _Getsize : LongInt; Public constructor Create; overload; function get(key: UnicodeString) : TJSTestInterfaceMaplike; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure setInternal(const aAKey: UnicodeString); overload; procedure clearInternal; overload; function deleteInternal(const aAKey: UnicodeString): Boolean; overload; function hasInternal(const aAKey: UnicodeString): Boolean; overload; function getInternal(const aAKey: UnicodeString): IJSTestInterfaceMaplike; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceMaplikeObject; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSTestInterfaceMaplikeJSObject --------------------------------------------------------------------} IJSTestInterfaceMaplikeJSObject = interface(IJSObject) ['{7A382C4C-A36E-3E1E-8E17-FBBF4DE998B8}'] function _Getsize : LongInt; function get(key: UnicodeString) : IJSObject; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure setInternal(const aAKey: UnicodeString; aAObject: IJSObject); procedure clearInternal; function deleteInternal(const aAKey: UnicodeString): Boolean; function hasInternal(const aAKey: UnicodeString): Boolean; function getInternal(const aAKey: UnicodeString): IJSObject; property size : LongInt read _Getsize; end; TJSTestInterfaceMaplikeJSObject = class(TJSObject,IJSTestInterfaceMaplikeJSObject) Private Protected function _Getsize : LongInt; Public constructor Create; overload; function get(key: UnicodeString) : IJSObject; function has(key: UnicodeString) : Boolean; function entries : IJSIterator; function keys : IJSIterator; function values : IJSIterator; procedure setInternal(const aAKey: UnicodeString; aAObject: IJSObject); overload; procedure clearInternal; overload; function deleteInternal(const aAKey: UnicodeString): Boolean; overload; function hasInternal(const aAKey: UnicodeString): Boolean; overload; function getInternal(const aAKey: UnicodeString): IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceMaplikeJSObject; property size : LongInt read _Getsize; end; { -------------------------------------------------------------------- TJSTestInterfaceSetlike --------------------------------------------------------------------} IJSTestInterfaceSetlike = interface(IJSObject) ['{33451400-EA1A-3505-BFF0-01989DE44A1E}'] end; TJSTestInterfaceSetlike = class(TJSObject,IJSTestInterfaceSetlike) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceSetlike; end; { -------------------------------------------------------------------- TJSTestInterfaceSetlikeNode --------------------------------------------------------------------} IJSTestInterfaceSetlikeNode = interface(IJSObject) ['{0DEC5FE8-82B8-316C-9820-DC4FA83B982B}'] end; TJSTestInterfaceSetlikeNode = class(TJSObject,IJSTestInterfaceSetlikeNode) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceSetlikeNode; end; { -------------------------------------------------------------------- TJSTestInterfaceIterableSingle --------------------------------------------------------------------} IJSTestInterfaceIterableSingle = interface(IJSObject) ['{73E6F6DB-3825-3AB6-A40B-0D9A11EA9FA6}'] function _Getlength_: Cardinal; function GetDefault(aIndex: Cardinal): LongInt; property length_: Cardinal read _Getlength_; end; TJSTestInterfaceIterableSingle = class(TJSObject,IJSTestInterfaceIterableSingle) Private Protected function _Getlength_: Cardinal; Public constructor Create; overload; function GetDefault(aIndex: Cardinal): LongInt; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceIterableSingle; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSTestInterfaceIterableDouble --------------------------------------------------------------------} IJSTestInterfaceIterableDouble = interface(IJSObject) ['{5FB6D8DD-A3B1-33A8-B1F6-FA86A5574E49}'] end; TJSTestInterfaceIterableDouble = class(TJSObject,IJSTestInterfaceIterableDouble) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceIterableDouble; end; { -------------------------------------------------------------------- TJSTestInterfaceIterableDoubleUnion --------------------------------------------------------------------} IJSTestInterfaceIterableDoubleUnion = interface(IJSObject) ['{2B351312-C712-3240-9E7E-906168DD3F66}'] end; TJSTestInterfaceIterableDoubleUnion = class(TJSObject,IJSTestInterfaceIterableDoubleUnion) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceIterableDoubleUnion; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIterableSingle --------------------------------------------------------------------} IJSTestInterfaceAsyncIterableSingle = interface(IJSObject) ['{85D14E92-B740-3240-9E7E-4F482A7A40D3}'] end; TJSTestInterfaceAsyncIterableSingle = class(TJSObject,IJSTestInterfaceAsyncIterableSingle) Private Protected Public constructor Create(const aOptions: IJSTestInterfaceAsyncIterableSingleOptions); overload; constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingle; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIterableSingleWithArgs --------------------------------------------------------------------} IJSTestInterfaceAsyncIterableSingleWithArgs = interface(IJSObject) ['{77196D51-DA58-3277-BA0F-888CEF4ABEB6}'] function _GetreturnCallCount: LongInt; function _GetreturnLastCalledWith: Variant; property returnCallCount: LongInt read _GetreturnCallCount; property returnLastCalledWith: Variant read _GetreturnLastCalledWith; end; TJSTestInterfaceAsyncIterableSingleWithArgs = class(TJSObject,IJSTestInterfaceAsyncIterableSingleWithArgs) Private Protected function _GetreturnCallCount: LongInt; function _GetreturnLastCalledWith: Variant; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingleWithArgs; property returnCallCount: LongInt read _GetreturnCallCount; property returnLastCalledWith: Variant read _GetreturnLastCalledWith; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIterableDouble --------------------------------------------------------------------} IJSTestInterfaceAsyncIterableDouble = interface(IJSObject) ['{85D1135A-8F40-3240-9E7E-4F482A7A40D3}'] end; TJSTestInterfaceAsyncIterableDouble = class(TJSObject,IJSTestInterfaceAsyncIterableDouble) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableDouble; end; { -------------------------------------------------------------------- TJSTestInterfaceAsyncIterableDoubleUnion --------------------------------------------------------------------} IJSTestInterfaceAsyncIterableDoubleUnion = interface(IJSObject) ['{C84AA340-4EDE-3D51-9226-1B7FEEC42DB4}'] end; TJSTestInterfaceAsyncIterableDoubleUnion = class(TJSObject,IJSTestInterfaceAsyncIterableDoubleUnion) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableDoubleUnion; end; { -------------------------------------------------------------------- TJSTestInterfaceObservableArray --------------------------------------------------------------------} TJSTestInterfaceObservableArrayDynArray = IJSArray; // array of TestInterfaceObservableArray IJSTestInterfaceObservableArray = interface(IJSObject) ['{8DE24CE0-BA83-3D88-A74B-3F54110911ED}'] function _GetobservableArrayBoolean: TBooleanDynArray; function _GetobservableArrayObject: TIJSObjectDynArray; function _GetobservableArrayInterface: TJSTestInterfaceObservableArrayDynArray; procedure _SetobservableArrayBoolean(const aValue: TBooleanDynArray); procedure _SetobservableArrayObject(const aValue: TIJSObjectDynArray); procedure _SetobservableArrayInterface(const aValue: TJSTestInterfaceObservableArrayDynArray); function booleanElementAtInternal(aIndex: Cardinal): Boolean; function interfaceElementAtInternal(aIndex: Cardinal): IJSTestInterfaceObservableArray; function objectElementAtInternal(aIndex: Cardinal): IJSObject; procedure booleanReplaceElementAtInternal(aIndex: Cardinal; aValue: Boolean); procedure interfaceReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSTestInterfaceObservableArray); procedure objectReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSObject); procedure booleanAppendElementInternal(aValue: Boolean); procedure interfaceAppendElementInternal(aValue: IJSTestInterfaceObservableArray); procedure objectAppendElementInternal(aValue: IJSObject); procedure booleanRemoveLastElementInternal; procedure interfaceRemoveLastElementInternal; procedure objectRemoveLastElementInternal; function booleanLengthInternal: Cardinal; function interfaceLengthInternal: Cardinal; function objectLengthInternal: Cardinal; property observableArrayBoolean: TBooleanDynArray read _GetobservableArrayBoolean write _SetobservableArrayBoolean; property observableArrayObject: TIJSObjectDynArray read _GetobservableArrayObject write _SetobservableArrayObject; property observableArrayInterface: TJSTestInterfaceObservableArrayDynArray read _GetobservableArrayInterface write _SetobservableArrayInterface; end; TJSTestInterfaceObservableArray = class(TJSObject,IJSTestInterfaceObservableArray) Private Protected function _GetobservableArrayBoolean: TBooleanDynArray; function _GetobservableArrayObject: TIJSObjectDynArray; function _GetobservableArrayInterface: TJSTestInterfaceObservableArrayDynArray; procedure _SetobservableArrayBoolean(const aValue: TBooleanDynArray); procedure _SetobservableArrayObject(const aValue: TIJSObjectDynArray); procedure _SetobservableArrayInterface(const aValue: TJSTestInterfaceObservableArrayDynArray); Public constructor Create(const aCallbacks: IJSObservableArrayCallbacks); overload; constructor Create; overload; function booleanElementAtInternal(aIndex: Cardinal): Boolean; overload; function interfaceElementAtInternal(aIndex: Cardinal): IJSTestInterfaceObservableArray; overload; function objectElementAtInternal(aIndex: Cardinal): IJSObject; overload; procedure booleanReplaceElementAtInternal(aIndex: Cardinal; aValue: Boolean); overload; procedure interfaceReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSTestInterfaceObservableArray); overload; procedure objectReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSObject); overload; procedure booleanAppendElementInternal(aValue: Boolean); overload; procedure interfaceAppendElementInternal(aValue: IJSTestInterfaceObservableArray); overload; procedure objectAppendElementInternal(aValue: IJSObject); overload; procedure booleanRemoveLastElementInternal; overload; procedure interfaceRemoveLastElementInternal; overload; procedure objectRemoveLastElementInternal; overload; function booleanLengthInternal: Cardinal; overload; function interfaceLengthInternal: Cardinal; overload; function objectLengthInternal: Cardinal; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceObservableArray; property observableArrayBoolean: TBooleanDynArray read _GetobservableArrayBoolean write _SetobservableArrayBoolean; property observableArrayObject: TIJSObjectDynArray read _GetobservableArrayObject write _SetobservableArrayObject; property observableArrayInterface: TJSTestInterfaceObservableArrayDynArray read _GetobservableArrayInterface write _SetobservableArrayInterface; end; { -------------------------------------------------------------------- TJSTextDecoderCommon --------------------------------------------------------------------} IJSTextDecoderCommon = interface(IJSObject) ['{FC755D5A-36B3-3ABE-A124-2FAE41AECAAD}'] function _Getencoding: UnicodeString; function _Getfatal: Boolean; function _GetignoreBOM: Boolean; property encoding: UnicodeString read _Getencoding; property fatal: Boolean read _Getfatal; property ignoreBOM: Boolean read _GetignoreBOM; end; TJSTextDecoderCommon = class(TJSObject,IJSTextDecoderCommon) Private Protected function _Getencoding: UnicodeString; function _Getfatal: Boolean; function _GetignoreBOM: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextDecoderCommon; property encoding: UnicodeString read _Getencoding; property fatal: Boolean read _Getfatal; property ignoreBOM: Boolean read _GetignoreBOM; end; { -------------------------------------------------------------------- TJSTextDecoderStream --------------------------------------------------------------------} IJSTextDecoderStream = interface(IJSObject) ['{A1F42831-346C-3DBC-AFF6-8818D7DB18E2}'] function _Getencoding: UnicodeString; function _Getfatal: Boolean; function _GetignoreBOM: Boolean; function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; property encoding: UnicodeString read _Getencoding; property fatal: Boolean read _Getfatal; property ignoreBOM: Boolean read _GetignoreBOM; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; TJSTextDecoderStream = class(TJSObject,IJSTextDecoderStream) Private Protected function _Getencoding: UnicodeString; function _Getfatal: Boolean; function _GetignoreBOM: Boolean; function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; Public constructor Create(const aLabel_: UnicodeString; const aOptions: IJSTextDecoderOptions); overload; constructor Create; overload; constructor Create(const aLabel_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextDecoderStream; property encoding: UnicodeString read _Getencoding; property fatal: Boolean read _Getfatal; property ignoreBOM: Boolean read _GetignoreBOM; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; { -------------------------------------------------------------------- TJSTextEncoderCommon --------------------------------------------------------------------} IJSTextEncoderCommon = interface(IJSObject) ['{3EEEBBEC-04DA-3DAE-B504-D7FA921BFA66}'] function _Getencoding: UnicodeString; property encoding: UnicodeString read _Getencoding; end; TJSTextEncoderCommon = class(TJSObject,IJSTextEncoderCommon) Private Protected function _Getencoding: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextEncoderCommon; property encoding: UnicodeString read _Getencoding; end; { -------------------------------------------------------------------- TJSTextEncoderStream --------------------------------------------------------------------} IJSTextEncoderStream = interface(IJSObject) ['{03F8A40A-F84D-3A60-8341-6D5C3B5EF7CB}'] function _Getencoding: UnicodeString; function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; property encoding: UnicodeString read _Getencoding; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; TJSTextEncoderStream = class(TJSObject,IJSTextEncoderStream) Private Protected function _Getencoding: UnicodeString; function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextEncoderStream; property encoding: UnicodeString read _Getencoding; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; { -------------------------------------------------------------------- TJSTextTrackCueList --------------------------------------------------------------------} IJSTextTrackCueList = interface(IJSObject) ['{39D17779-8546-3494-95AB-12B1AC639D85}'] function _Getlength_: Cardinal; function GetDefault(aIndex: Cardinal): IJSVTTCue; function getCueById(const aId: UnicodeString): IJSVTTCue; property length_: Cardinal read _Getlength_; end; TJSTextTrackCueList = class(TJSObject,IJSTextTrackCueList) Private Protected function _Getlength_: Cardinal; Public function GetDefault(aIndex: Cardinal): IJSVTTCue; overload; function getCueById(const aId: UnicodeString): IJSVTTCue; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextTrackCueList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSTimeRanges --------------------------------------------------------------------} IJSTimeRanges = interface(IJSObject) ['{551D6112-11F4-3B38-8E16-81F5348C7056}'] function _Getlength_: Cardinal; function start(aIndex: Cardinal): Double; function end_(aIndex: Cardinal): Double; property length_: Cardinal read _Getlength_; end; TJSTimeRanges = class(TJSObject,IJSTimeRanges) Private Protected function _Getlength_: Cardinal; Public function start(aIndex: Cardinal): Double; overload; function end_(aIndex: Cardinal): Double; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTimeRanges; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSTouch --------------------------------------------------------------------} IJSTouch = interface(IJSObject) ['{17132850-3E3C-3FD9-8067-FC4E4CC9B925}'] function _Getidentifier: LongInt; function _Gettarget: IJSEventTarget; function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetradiusX: LongInt; function _GetradiusY: LongInt; function _GetrotationAngle: Single; function _Getforce: Single; property identifier: LongInt read _Getidentifier; property target: IJSEventTarget read _Gettarget; property screenX: LongInt read _GetscreenX; property screenY: LongInt read _GetscreenY; property clientX: LongInt read _GetclientX; property clientY: LongInt read _GetclientY; property pageX: LongInt read _GetpageX; property pageY: LongInt read _GetpageY; property radiusX: LongInt read _GetradiusX; property radiusY: LongInt read _GetradiusY; property rotationAngle: Single read _GetrotationAngle; property force: Single read _Getforce; end; TJSTouch = class(TJSObject,IJSTouch) Private Protected function _Getidentifier: LongInt; function _Gettarget: IJSEventTarget; function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetradiusX: LongInt; function _GetradiusY: LongInt; function _GetrotationAngle: Single; function _Getforce: Single; Public constructor Create(const aTouchInitDict: IJSTouchInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouch; property identifier: LongInt read _Getidentifier; property target: IJSEventTarget read _Gettarget; property screenX: LongInt read _GetscreenX; property screenY: LongInt read _GetscreenY; property clientX: LongInt read _GetclientX; property clientY: LongInt read _GetclientY; property pageX: LongInt read _GetpageX; property pageY: LongInt read _GetpageY; property radiusX: LongInt read _GetradiusX; property radiusY: LongInt read _GetradiusY; property rotationAngle: Single read _GetrotationAngle; property force: Single read _Getforce; end; { -------------------------------------------------------------------- TJSTouchList --------------------------------------------------------------------} IJSTouchList = interface(IJSObject) ['{98ACB12D-DCF5-3F03-9DDC-6C58FE78B275}'] function _Getlength_: Cardinal; function item(aIndex: Cardinal): IJSTouch; property length_: Cardinal read _Getlength_; end; TJSTouchList = class(TJSObject,IJSTouchList) Private Protected function _Getlength_: Cardinal; Public function item(aIndex: Cardinal): IJSTouch; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouchList; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSTransformStream --------------------------------------------------------------------} IJSTransformStream = interface(IJSObject) ['{A90341DC-1035-3A33-9262-35CF394DA293}'] function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; TJSTransformStream = class(TJSObject,IJSTransformStream) Private Protected function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; Public constructor Create(aTransformer: IJSObject; const aWritableStrategy: IJSQueuingStrategy; const aReadableStrategy: IJSQueuingStrategy); overload; constructor Create; overload; constructor Create(aTransformer: IJSObject); overload; constructor Create(aTransformer: IJSObject; const aWritableStrategy: IJSQueuingStrategy); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTransformStream; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; end; { -------------------------------------------------------------------- TJSTransformStreamDefaultController --------------------------------------------------------------------} IJSTransformStreamDefaultController = interface(IJSObject) ['{2E3D75E0-588F-35C4-A25E-F869BB2AC4BB}'] function _GetdesiredSize: Double; procedure enqueue(const aChunk: Variant); procedure enqueue; procedure error(const aReason: Variant); procedure error; procedure terminate; property desiredSize: Double read _GetdesiredSize; end; TJSTransformStreamDefaultController = class(TJSObject,IJSTransformStreamDefaultController) Private Protected function _GetdesiredSize: Double; Public procedure enqueue(const aChunk: Variant); overload; procedure enqueue; overload; procedure error(const aReason: Variant); overload; procedure error; overload; procedure terminate; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTransformStreamDefaultController; property desiredSize: Double read _GetdesiredSize; end; { -------------------------------------------------------------------- TJSTreeWalker --------------------------------------------------------------------} IJSTreeWalker = interface(IJSObject) ['{8191F005-D1AE-37E7-A163-BECD51A61EB0}'] function _Getroot: IJSNode; function _GetwhatToShow: Cardinal; function _Getfilter: TNodeFilter; function _GetcurrentNode: IJSNode; procedure _SetcurrentNode(const aValue: IJSNode); function parentNode: IJSNode; function firstChild: IJSNode; function lastChild: IJSNode; function previousSibling: IJSNode; function nextSibling: IJSNode; function previousNode: IJSNode; function nextNode: IJSNode; property root: IJSNode read _Getroot; property whatToShow: Cardinal read _GetwhatToShow; property filter: TNodeFilter read _Getfilter; property currentNode: IJSNode read _GetcurrentNode write _SetcurrentNode; end; TJSTreeWalker = class(TJSObject,IJSTreeWalker) Private Protected function _Getroot: IJSNode; function _GetwhatToShow: Cardinal; function _Getfilter: TNodeFilter; function _GetcurrentNode: IJSNode; procedure _SetcurrentNode(const aValue: IJSNode); Public function parentNode: IJSNode; overload; function firstChild: IJSNode; overload; function lastChild: IJSNode; overload; function previousSibling: IJSNode; overload; function nextSibling: IJSNode; overload; function previousNode: IJSNode; overload; function nextNode: IJSNode; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTreeWalker; property root: IJSNode read _Getroot; property whatToShow: Cardinal read _GetwhatToShow; property filter: TNodeFilter read _Getfilter; property currentNode: IJSNode read _GetcurrentNode write _SetcurrentNode; end; { -------------------------------------------------------------------- TJSTrustedHTML --------------------------------------------------------------------} IJSTrustedHTML = interface(IJSObject) ['{EEE0CF24-3D4E-399C-A8C7-453A72542131}'] function toJSON: UnicodeString; end; TJSTrustedHTML = class(TJSObject,IJSTrustedHTML) Private Protected Public function toJSON: UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedHTML; end; { -------------------------------------------------------------------- TJSTrustedScript --------------------------------------------------------------------} IJSTrustedScript = interface(IJSObject) ['{668FA775-649B-3DBE-BEF1-F2508D9C1248}'] function toJSON: UnicodeString; end; TJSTrustedScript = class(TJSObject,IJSTrustedScript) Private Protected Public function toJSON: UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedScript; end; { -------------------------------------------------------------------- TJSTrustedScriptURL --------------------------------------------------------------------} IJSTrustedScriptURL = interface(IJSObject) ['{84BB92AA-2E6C-3D1E-B51E-5614E3A01A39}'] function toJSON: UnicodeString; end; TJSTrustedScriptURL = class(TJSObject,IJSTrustedScriptURL) Private Protected Public function toJSON: UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedScriptURL; end; { -------------------------------------------------------------------- TJSTrustedTypePolicy --------------------------------------------------------------------} IJSTrustedTypePolicy = interface(IJSObject) ['{2A4B6CC4-4C28-33D7-BAE2-FE6F44105DBD}'] function _Getname: UnicodeString; function createHTML(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedHTML{; ToDo:varargs}; function createScript(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScript{; ToDo:varargs}; function createScriptURL(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScriptURL{; ToDo:varargs}; property name: UnicodeString read _Getname; end; TJSTrustedTypePolicy = class(TJSObject,IJSTrustedTypePolicy) Private Protected function _Getname: UnicodeString; Public function createHTML(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedHTML{; ToDo:varargs}; overload; function createScript(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScript{; ToDo:varargs}; overload; function createScriptURL(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScriptURL{; ToDo:varargs}; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedTypePolicy; property name: UnicodeString read _Getname; end; { -------------------------------------------------------------------- TJSTrustedTypePolicyFactory --------------------------------------------------------------------} IJSTrustedTypePolicyFactory = interface(IJSObject) ['{E0F1F2BD-FCF8-3732-B95C-C814AC944506}'] function _GetemptyHTML: IJSTrustedHTML; function _GetemptyScript: IJSTrustedScript; function _GetdefaultPolicy: IJSTrustedTypePolicy; function createPolicy(const aPolicyName: UnicodeString; const aPolicyOptions: IJSTrustedTypePolicyOptions): IJSTrustedTypePolicy; function createPolicy(const aPolicyName: UnicodeString): IJSTrustedTypePolicy; function isHTML(const aValue: Variant): Boolean; function isScript(const aValue: Variant): Boolean; function isScriptURL(const aValue: Variant): Boolean; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString; const aAttrNs: UnicodeString): UnicodeString; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString): UnicodeString; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString): UnicodeString; function getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString; const aElementNs: UnicodeString): UnicodeString; function getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString): UnicodeString; property emptyHTML: IJSTrustedHTML read _GetemptyHTML; property emptyScript: IJSTrustedScript read _GetemptyScript; property defaultPolicy: IJSTrustedTypePolicy read _GetdefaultPolicy; end; TJSTrustedTypePolicyFactory = class(TJSObject,IJSTrustedTypePolicyFactory) Private Protected function _GetemptyHTML: IJSTrustedHTML; function _GetemptyScript: IJSTrustedScript; function _GetdefaultPolicy: IJSTrustedTypePolicy; Public function createPolicy(const aPolicyName: UnicodeString; const aPolicyOptions: IJSTrustedTypePolicyOptions): IJSTrustedTypePolicy; overload; function createPolicy(const aPolicyName: UnicodeString): IJSTrustedTypePolicy; overload; function isHTML(const aValue: Variant): Boolean; overload; function isScript(const aValue: Variant): Boolean; overload; function isScriptURL(const aValue: Variant): Boolean; overload; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString; const aAttrNs: UnicodeString): UnicodeString; overload; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString): UnicodeString; overload; function getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString): UnicodeString; overload; function getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString; const aElementNs: UnicodeString): UnicodeString; overload; function getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrustedTypePolicyFactory; property emptyHTML: IJSTrustedHTML read _GetemptyHTML; property emptyScript: IJSTrustedScript read _GetemptyScript; property defaultPolicy: IJSTrustedTypePolicy read _GetdefaultPolicy; end; { -------------------------------------------------------------------- TJSURL --------------------------------------------------------------------} IJSURL = interface(IJSObject) ['{0D2B875D-A2E5-3B70-8AB1-4BDE5F3D4F63}'] function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _GetsearchParams: IJSURLSearchParams; function _Gethash: UTF8String; procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); function toJSON: UTF8String; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property searchParams: IJSURLSearchParams read _GetsearchParams; property hash: UTF8String read _Gethash write _Sethash; end; TJSURL = class(TJSObject,IJSURL) Private Protected function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _GetsearchParams: IJSURLSearchParams; function _Gethash: UTF8String; procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); Public constructor Create(const aUrl: UTF8String; const aBase: UTF8String); overload; constructor Create(const aUrl: UTF8String); overload; function parse(const aUrl: UTF8String; const aBase: UTF8String): IJSURL; overload; function parse(const aUrl: UTF8String): IJSURL; overload; function canParse(const aUrl: UTF8String; const aBase: UTF8String): Boolean; overload; function canParse(const aUrl: UTF8String): Boolean; overload; function toJSON: UTF8String; overload; function createObjectURL(aBlob: IJSBlob): UTF8String; overload; procedure revokeObjectURL(const aUrl: UTF8String); overload; function createObjectURL(aSource: IJSMediaSource): UTF8String; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSURL; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property searchParams: IJSURLSearchParams read _GetsearchParams; property hash: UTF8String read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSURLSearchParams --------------------------------------------------------------------} // Union of sequence, record, UTF8String TURLSearchParams_New_init_Type = Variant; IJSURLSearchParams = interface(IJSObject) ['{D4BB2A37-27C0-3CBE-AC51-64CDC367F661}'] function _Getsize: Cardinal; procedure append(const aName: UTF8String; const aValue: UTF8String); procedure delete(const aName: UTF8String; const aValue: UTF8String); procedure delete(const aName: UTF8String); function get(const aName: UTF8String): UTF8String; function getAll(const aName: UTF8String): TUTF8StringDynArray; function has(const aName: UTF8String; const aValue: UTF8String): Boolean; function has(const aName: UTF8String): Boolean; procedure set_(const aName: UTF8String; const aValue: UTF8String); procedure sort; property size: Cardinal read _Getsize; end; TJSURLSearchParams = class(TJSObject,IJSURLSearchParams) Private Protected function _Getsize: Cardinal; Public constructor Create(aInit: IJSObject); overload; constructor Create; overload; constructor Create(const aInit: TsequenceDynArrayDynArray); overload; constructor Create(const aInit: UTF8String); overload; procedure append(const aName: UTF8String; const aValue: UTF8String); overload; procedure delete(const aName: UTF8String; const aValue: UTF8String); overload; procedure delete(const aName: UTF8String); overload; function get(const aName: UTF8String): UTF8String; overload; function getAll(const aName: UTF8String): TUTF8StringDynArray; overload; function has(const aName: UTF8String; const aValue: UTF8String): Boolean; overload; function has(const aName: UTF8String): Boolean; overload; procedure set_(const aName: UTF8String; const aValue: UTF8String); overload; procedure sort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSURLSearchParams; property size: Cardinal read _Getsize; end; { -------------------------------------------------------------------- TJSUserActivation --------------------------------------------------------------------} IJSUserActivation = interface(IJSObject) ['{B8818CB7-D1B3-3E96-AB42-B878ED33CADC}'] function _GethasBeenActive: Boolean; function _GetisActive: Boolean; property hasBeenActive: Boolean read _GethasBeenActive; property isActive: Boolean read _GetisActive; end; TJSUserActivation = class(TJSObject,IJSUserActivation) Private Protected function _GethasBeenActive: Boolean; function _GetisActive: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUserActivation; property hasBeenActive: Boolean read _GethasBeenActive; property isActive: Boolean read _GetisActive; end; { -------------------------------------------------------------------- TJSValidityState --------------------------------------------------------------------} IJSValidityState = interface(IJSObject) ['{C907A0BC-CCB8-3706-BA75-944E8B184B53}'] function _GetvalueMissing: Boolean; function _GettypeMismatch: Boolean; function _GetpatternMismatch: Boolean; function _GettooLong: Boolean; function _GettooShort: Boolean; function _GetrangeUnderflow: Boolean; function _GetrangeOverflow: Boolean; function _GetstepMismatch: Boolean; function _GetbadInput: Boolean; function _GetcustomError: Boolean; function _Getvalid: Boolean; property valueMissing: Boolean read _GetvalueMissing; property typeMismatch: Boolean read _GettypeMismatch; property patternMismatch: Boolean read _GetpatternMismatch; property tooLong: Boolean read _GettooLong; property tooShort: Boolean read _GettooShort; property rangeUnderflow: Boolean read _GetrangeUnderflow; property rangeOverflow: Boolean read _GetrangeOverflow; property stepMismatch: Boolean read _GetstepMismatch; property badInput: Boolean read _GetbadInput; property customError: Boolean read _GetcustomError; property valid: Boolean read _Getvalid; end; TJSValidityState = class(TJSObject,IJSValidityState) Private Protected function _GetvalueMissing: Boolean; function _GettypeMismatch: Boolean; function _GetpatternMismatch: Boolean; function _GettooLong: Boolean; function _GettooShort: Boolean; function _GetrangeUnderflow: Boolean; function _GetrangeOverflow: Boolean; function _GetstepMismatch: Boolean; function _GetbadInput: Boolean; function _GetcustomError: Boolean; function _Getvalid: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSValidityState; property valueMissing: Boolean read _GetvalueMissing; property typeMismatch: Boolean read _GettypeMismatch; property patternMismatch: Boolean read _GetpatternMismatch; property tooLong: Boolean read _GettooLong; property tooShort: Boolean read _GettooShort; property rangeUnderflow: Boolean read _GetrangeUnderflow; property rangeOverflow: Boolean read _GetrangeOverflow; property stepMismatch: Boolean read _GetstepMismatch; property badInput: Boolean read _GetbadInput; property customError: Boolean read _GetcustomError; property valid: Boolean read _Getvalid; end; { -------------------------------------------------------------------- TJSVideoColorSpace --------------------------------------------------------------------} IJSVideoColorSpace = interface(IJSObject) ['{DEB44931-8927-32B3-A503-84237082D19E}'] function _Getprimaries: TVideoColorPrimaries; function _Gettransfer: TVideoTransferCharacteristics; function _Getmatrix: TVideoMatrixCoefficients; function _GetfullRange: Boolean; function toJSON: IJSObject; property primaries: TVideoColorPrimaries read _Getprimaries; property transfer: TVideoTransferCharacteristics read _Gettransfer; property matrix: TVideoMatrixCoefficients read _Getmatrix; property fullRange: Boolean read _GetfullRange; end; TJSVideoColorSpace = class(TJSObject,IJSVideoColorSpace) Private Protected function _Getprimaries: TVideoColorPrimaries; function _Gettransfer: TVideoTransferCharacteristics; function _Getmatrix: TVideoMatrixCoefficients; function _GetfullRange: Boolean; Public constructor Create(const aInit: IJSVideoColorSpaceInit); overload; constructor Create; overload; function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoColorSpace; property primaries: TVideoColorPrimaries read _Getprimaries; property transfer: TVideoTransferCharacteristics read _Gettransfer; property matrix: TVideoMatrixCoefficients read _Getmatrix; property fullRange: Boolean read _GetfullRange; end; { -------------------------------------------------------------------- TJSVideoFrame --------------------------------------------------------------------} // Union of ArrayBufferView, ArrayBuffer TVideoFrame_copyTo_destination_Type = Variant; IJSVideoFrame = interface(IJSObject) ['{FA15E2FC-713A-3207-A8EF-68499CB1E361}'] function _Getformat: TVideoPixelFormat; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _GetcodedRect: IJSDOMRectReadOnly; function _GetvisibleRect: IJSDOMRectReadOnly; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _Getduration: QWord; function _Gettimestamp: Int64; function _GetcolorSpace: IJSVideoColorSpace; function allocationSize(const aOptions: IJSVideoFrameCopyToOptions): Cardinal; function allocationSize: Cardinal; function copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; // Promise function copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; // Promise function copyTo(aDestination: IJSArrayBufferView): IJSPromise; // Promise function copyTo(aDestination: IJSArrayBuffer): IJSPromise; // Promise function clone: IJSVideoFrame; procedure close; property format: TVideoPixelFormat read _Getformat; property codedWidth: Cardinal read _GetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight; property codedRect: IJSDOMRectReadOnly read _GetcodedRect; property visibleRect: IJSDOMRectReadOnly read _GetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight; property duration: QWord read _Getduration; property timestamp: Int64 read _Gettimestamp; property colorSpace: IJSVideoColorSpace read _GetcolorSpace; end; TJSVideoFrame = class(TJSObject,IJSVideoFrame) Private Protected function _Getformat: TVideoPixelFormat; function _GetcodedWidth: Cardinal; function _GetcodedHeight: Cardinal; function _GetcodedRect: IJSDOMRectReadOnly; function _GetvisibleRect: IJSDOMRectReadOnly; function _GetdisplayWidth: Cardinal; function _GetdisplayHeight: Cardinal; function _Getduration: QWord; function _Gettimestamp: Int64; function _GetcolorSpace: IJSVideoColorSpace; Public constructor Create(aImageElement: IJSHTMLImageElement; const aInit: IJSVideoFrameInit); overload; constructor Create(aImageElement: IJSHTMLImageElement); overload; constructor Create(aSvgImageElement: IJSSVGImageElement; const aInit: IJSVideoFrameInit); overload; constructor Create(aSvgImageElement: IJSSVGImageElement); overload; constructor Create(aCanvasElement: IJSHTMLCanvasElement; const aInit: IJSVideoFrameInit); overload; constructor Create(aCanvasElement: IJSHTMLCanvasElement); overload; constructor Create(aVideoElement: IJSHTMLVideoElement; const aInit: IJSVideoFrameInit); overload; constructor Create(aVideoElement: IJSHTMLVideoElement); overload; constructor Create(aOffscreenCanvas: IJSOffscreenCanvas; const aInit: IJSVideoFrameInit); overload; constructor Create(aOffscreenCanvas: IJSOffscreenCanvas); overload; constructor Create(aImageBitmap: IJSImageBitmap; const aInit: IJSVideoFrameInit); overload; constructor Create(aImageBitmap: IJSImageBitmap); overload; constructor Create(aVideoFrame: IJSVideoFrame; const aInit: IJSVideoFrameInit); overload; constructor Create(aVideoFrame: IJSVideoFrame); overload; constructor Create(aBufferView: IJSArrayBufferView; const aInit: IJSVideoFrameBufferInit); overload; constructor Create(aBuffer: IJSArrayBuffer; const aInit: IJSVideoFrameBufferInit); overload; function allocationSize(const aOptions: IJSVideoFrameCopyToOptions): Cardinal; overload; function allocationSize: Cardinal; overload; function copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; overload; // Promise function copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; overload; // Promise function copyTo(aDestination: IJSArrayBufferView): IJSPromise; overload; // Promise function copyTo(aDestination: IJSArrayBuffer): IJSPromise; overload; // Promise function clone: IJSVideoFrame; overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoFrame; property format: TVideoPixelFormat read _Getformat; property codedWidth: Cardinal read _GetcodedWidth; property codedHeight: Cardinal read _GetcodedHeight; property codedRect: IJSDOMRectReadOnly read _GetcodedRect; property visibleRect: IJSDOMRectReadOnly read _GetvisibleRect; property displayWidth: Cardinal read _GetdisplayWidth; property displayHeight: Cardinal read _GetdisplayHeight; property duration: QWord read _Getduration; property timestamp: Int64 read _Gettimestamp; property colorSpace: IJSVideoColorSpace read _GetcolorSpace; end; { -------------------------------------------------------------------- TJSVideoPlaybackQuality --------------------------------------------------------------------} IJSVideoPlaybackQuality = interface(IJSObject) ['{1D96D490-BD3A-398F-9B4B-1A16A3AB347D}'] function _GetcreationTime: TDOMHighResTimeStamp; function _GettotalVideoFrames: Cardinal; function _GetdroppedVideoFrames: Cardinal; property creationTime: TDOMHighResTimeStamp read _GetcreationTime; property totalVideoFrames: Cardinal read _GettotalVideoFrames; property droppedVideoFrames: Cardinal read _GetdroppedVideoFrames; end; TJSVideoPlaybackQuality = class(TJSObject,IJSVideoPlaybackQuality) Private Protected function _GetcreationTime: TDOMHighResTimeStamp; function _GettotalVideoFrames: Cardinal; function _GetdroppedVideoFrames: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoPlaybackQuality; property creationTime: TDOMHighResTimeStamp read _GetcreationTime; property totalVideoFrames: Cardinal read _GettotalVideoFrames; property droppedVideoFrames: Cardinal read _GetdroppedVideoFrames; end; { -------------------------------------------------------------------- TJSVideoTrack --------------------------------------------------------------------} IJSVideoTrack = interface(IJSObject) ['{B608085A-EA2A-37D2-8DE6-05DE4BA2F194}'] function _Getid: UnicodeString; function _Getkind: UnicodeString; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getselected: Boolean; procedure _Setselected(const aValue: Boolean); property id: UnicodeString read _Getid; property kind: UnicodeString read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property selected: Boolean read _Getselected write _Setselected; end; TJSVideoTrack = class(TJSObject,IJSVideoTrack) Private Protected function _Getid: UnicodeString; function _Getkind: UnicodeString; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getselected: Boolean; procedure _Setselected(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoTrack; property id: UnicodeString read _Getid; property kind: UnicodeString read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property selected: Boolean read _Getselected write _Setselected; end; { -------------------------------------------------------------------- TJSVRFieldOfView --------------------------------------------------------------------} IJSVRFieldOfView = interface(IJSObject) ['{53C87EC8-E2BF-341F-9F78-1052F7BEF3CB}'] function _GetupDegrees: Double; function _GetrightDegrees: Double; function _GetdownDegrees: Double; function _GetleftDegrees: Double; property upDegrees: Double read _GetupDegrees; property rightDegrees: Double read _GetrightDegrees; property downDegrees: Double read _GetdownDegrees; property leftDegrees: Double read _GetleftDegrees; end; TJSVRFieldOfView = class(TJSObject,IJSVRFieldOfView) Private Protected function _GetupDegrees: Double; function _GetrightDegrees: Double; function _GetdownDegrees: Double; function _GetleftDegrees: Double; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRFieldOfView; property upDegrees: Double read _GetupDegrees; property rightDegrees: Double read _GetrightDegrees; property downDegrees: Double read _GetdownDegrees; property leftDegrees: Double read _GetleftDegrees; end; { -------------------------------------------------------------------- TJSVRDisplayCapabilities --------------------------------------------------------------------} IJSVRDisplayCapabilities = interface(IJSObject) ['{7E4B9BCB-650F-3CDA-87E6-5B30A9E9D7F3}'] function _GethasPosition: Boolean; function _GethasOrientation: Boolean; function _GethasExternalDisplay: Boolean; function _GetcanPresent: Boolean; function _GetmaxLayers: Cardinal; property hasPosition: Boolean read _GethasPosition; property hasOrientation: Boolean read _GethasOrientation; property hasExternalDisplay: Boolean read _GethasExternalDisplay; property canPresent: Boolean read _GetcanPresent; property maxLayers: Cardinal read _GetmaxLayers; end; TJSVRDisplayCapabilities = class(TJSObject,IJSVRDisplayCapabilities) Private Protected function _GethasPosition: Boolean; function _GethasOrientation: Boolean; function _GethasExternalDisplay: Boolean; function _GetcanPresent: Boolean; function _GetmaxLayers: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRDisplayCapabilities; property hasPosition: Boolean read _GethasPosition; property hasOrientation: Boolean read _GethasOrientation; property hasExternalDisplay: Boolean read _GethasExternalDisplay; property canPresent: Boolean read _GetcanPresent; property maxLayers: Cardinal read _GetmaxLayers; end; { -------------------------------------------------------------------- TJSVRStageParameters --------------------------------------------------------------------} IJSVRStageParameters = interface(IJSObject) ['{3D4122CC-27CC-3D8E-943C-6CEA7170DAE8}'] function _GetsittingToStandingTransform: IJSFloat32Array; function _GetsizeX: Single; function _GetsizeZ: Single; property sittingToStandingTransform: IJSFloat32Array read _GetsittingToStandingTransform; property sizeX: Single read _GetsizeX; property sizeZ: Single read _GetsizeZ; end; TJSVRStageParameters = class(TJSObject,IJSVRStageParameters) Private Protected function _GetsittingToStandingTransform: IJSFloat32Array; function _GetsizeX: Single; function _GetsizeZ: Single; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRStageParameters; property sittingToStandingTransform: IJSFloat32Array read _GetsittingToStandingTransform; property sizeX: Single read _GetsizeX; property sizeZ: Single read _GetsizeZ; end; { -------------------------------------------------------------------- TJSVRPose --------------------------------------------------------------------} IJSVRPose = interface(IJSObject) ['{ACD0D404-9D5F-3C23-A140-CC2A0BD35299}'] function _Getposition: IJSFloat32Array; function _GetlinearVelocity: IJSFloat32Array; function _GetlinearAcceleration: IJSFloat32Array; function _Getorientation: IJSFloat32Array; function _GetangularVelocity: IJSFloat32Array; function _GetangularAcceleration: IJSFloat32Array; property position: IJSFloat32Array read _Getposition; property linearVelocity: IJSFloat32Array read _GetlinearVelocity; property linearAcceleration: IJSFloat32Array read _GetlinearAcceleration; property orientation: IJSFloat32Array read _Getorientation; property angularVelocity: IJSFloat32Array read _GetangularVelocity; property angularAcceleration: IJSFloat32Array read _GetangularAcceleration; end; TJSVRPose = class(TJSObject,IJSVRPose) Private Protected function _Getposition: IJSFloat32Array; function _GetlinearVelocity: IJSFloat32Array; function _GetlinearAcceleration: IJSFloat32Array; function _Getorientation: IJSFloat32Array; function _GetangularVelocity: IJSFloat32Array; function _GetangularAcceleration: IJSFloat32Array; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRPose; property position: IJSFloat32Array read _Getposition; property linearVelocity: IJSFloat32Array read _GetlinearVelocity; property linearAcceleration: IJSFloat32Array read _GetlinearAcceleration; property orientation: IJSFloat32Array read _Getorientation; property angularVelocity: IJSFloat32Array read _GetangularVelocity; property angularAcceleration: IJSFloat32Array read _GetangularAcceleration; end; { -------------------------------------------------------------------- TJSVRFrameData --------------------------------------------------------------------} IJSVRFrameData = interface(IJSObject) ['{E0BE9F5A-94CD-3E85-B87B-748BF7D6D3E1}'] function _Gettimestamp: TDOMHighResTimeStamp; function _GetleftProjectionMatrix: IJSFloat32Array; function _GetleftViewMatrix: IJSFloat32Array; function _GetrightProjectionMatrix: IJSFloat32Array; function _GetrightViewMatrix: IJSFloat32Array; function _Getpose: IJSVRPose; property timestamp: TDOMHighResTimeStamp read _Gettimestamp; property leftProjectionMatrix: IJSFloat32Array read _GetleftProjectionMatrix; property leftViewMatrix: IJSFloat32Array read _GetleftViewMatrix; property rightProjectionMatrix: IJSFloat32Array read _GetrightProjectionMatrix; property rightViewMatrix: IJSFloat32Array read _GetrightViewMatrix; property pose: IJSVRPose read _Getpose; end; TJSVRFrameData = class(TJSObject,IJSVRFrameData) Private Protected function _Gettimestamp: TDOMHighResTimeStamp; function _GetleftProjectionMatrix: IJSFloat32Array; function _GetleftViewMatrix: IJSFloat32Array; function _GetrightProjectionMatrix: IJSFloat32Array; function _GetrightViewMatrix: IJSFloat32Array; function _Getpose: IJSVRPose; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRFrameData; property timestamp: TDOMHighResTimeStamp read _Gettimestamp; property leftProjectionMatrix: IJSFloat32Array read _GetleftProjectionMatrix; property leftViewMatrix: IJSFloat32Array read _GetleftViewMatrix; property rightProjectionMatrix: IJSFloat32Array read _GetrightProjectionMatrix; property rightViewMatrix: IJSFloat32Array read _GetrightViewMatrix; property pose: IJSVRPose read _Getpose; end; { -------------------------------------------------------------------- TJSVREyeParameters --------------------------------------------------------------------} IJSVREyeParameters = interface(IJSObject) ['{FE31BC8E-A4DD-3B0C-8AFC-562C9E1E886A}'] function _Getoffset: IJSFloat32Array; function _GetfieldOfView: IJSVRFieldOfView; function _GetrenderWidth: Cardinal; function _GetrenderHeight: Cardinal; property offset: IJSFloat32Array read _Getoffset; property fieldOfView: IJSVRFieldOfView read _GetfieldOfView; property renderWidth: Cardinal read _GetrenderWidth; property renderHeight: Cardinal read _GetrenderHeight; end; TJSVREyeParameters = class(TJSObject,IJSVREyeParameters) Private Protected function _Getoffset: IJSFloat32Array; function _GetfieldOfView: IJSVRFieldOfView; function _GetrenderWidth: Cardinal; function _GetrenderHeight: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVREyeParameters; property offset: IJSFloat32Array read _Getoffset; property fieldOfView: IJSVRFieldOfView read _GetfieldOfView; property renderWidth: Cardinal read _GetrenderWidth; property renderHeight: Cardinal read _GetrenderHeight; end; { -------------------------------------------------------------------- TJSVRMockDisplay --------------------------------------------------------------------} IJSVRMockDisplay = interface(IJSObject) ['{650F81BF-3271-3479-BC54-EDAE2BCAC58E}'] function _GetcapPosition: Boolean; function _GetcapOrientation: Boolean; function _GetcapPresent: Boolean; function _GetcapExternal: Boolean; function _GetcapAngularAcceleration: Boolean; function _GetcapLinearAcceleration: Boolean; function _GetcapStageParameters: Boolean; function _GetcapMountDetection: Boolean; function _GetcapPositionEmulated: Boolean; procedure _SetcapPosition(const aValue: Boolean); procedure _SetcapOrientation(const aValue: Boolean); procedure _SetcapPresent(const aValue: Boolean); procedure _SetcapExternal(const aValue: Boolean); procedure _SetcapAngularAcceleration(const aValue: Boolean); procedure _SetcapLinearAcceleration(const aValue: Boolean); procedure _SetcapStageParameters(const aValue: Boolean); procedure _SetcapMountDetection(const aValue: Boolean); procedure _SetcapPositionEmulated(const aValue: Boolean); procedure create_; procedure setEyeFOV(aEye: TVREye; aUpDegree: Double; aRightDegree: Double; aDownDegree: Double; aLeftDegree: Double); procedure setEyeOffset(aEye: TVREye; aOffsetX: Double; aOffsetY: Double; aOffsetZ: Double); procedure setEyeResolution(aRenderWidth: Cardinal; aRenderHeight: Cardinal); procedure setConnected(aConnected: Boolean); procedure setMounted(aMounted: Boolean); procedure setStageSize(aWidth: Double; aHeight: Double); procedure setSittingToStandingTransform(aSittingToStandingTransform: IJSFloat32Array); procedure setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); property capPosition: Boolean read _GetcapPosition write _SetcapPosition; property capOrientation: Boolean read _GetcapOrientation write _SetcapOrientation; property capPresent: Boolean read _GetcapPresent write _SetcapPresent; property capExternal: Boolean read _GetcapExternal write _SetcapExternal; property capAngularAcceleration: Boolean read _GetcapAngularAcceleration write _SetcapAngularAcceleration; property capLinearAcceleration: Boolean read _GetcapLinearAcceleration write _SetcapLinearAcceleration; property capStageParameters: Boolean read _GetcapStageParameters write _SetcapStageParameters; property capMountDetection: Boolean read _GetcapMountDetection write _SetcapMountDetection; property capPositionEmulated: Boolean read _GetcapPositionEmulated write _SetcapPositionEmulated; end; TJSVRMockDisplay = class(TJSObject,IJSVRMockDisplay) Private Protected function _GetcapPosition: Boolean; function _GetcapOrientation: Boolean; function _GetcapPresent: Boolean; function _GetcapExternal: Boolean; function _GetcapAngularAcceleration: Boolean; function _GetcapLinearAcceleration: Boolean; function _GetcapStageParameters: Boolean; function _GetcapMountDetection: Boolean; function _GetcapPositionEmulated: Boolean; procedure _SetcapPosition(const aValue: Boolean); procedure _SetcapOrientation(const aValue: Boolean); procedure _SetcapPresent(const aValue: Boolean); procedure _SetcapExternal(const aValue: Boolean); procedure _SetcapAngularAcceleration(const aValue: Boolean); procedure _SetcapLinearAcceleration(const aValue: Boolean); procedure _SetcapStageParameters(const aValue: Boolean); procedure _SetcapMountDetection(const aValue: Boolean); procedure _SetcapPositionEmulated(const aValue: Boolean); Public procedure create_; overload; procedure setEyeFOV(aEye: TVREye; aUpDegree: Double; aRightDegree: Double; aDownDegree: Double; aLeftDegree: Double); overload; procedure setEyeOffset(aEye: TVREye; aOffsetX: Double; aOffsetY: Double; aOffsetZ: Double); overload; procedure setEyeResolution(aRenderWidth: Cardinal; aRenderHeight: Cardinal); overload; procedure setConnected(aConnected: Boolean); overload; procedure setMounted(aMounted: Boolean); overload; procedure setStageSize(aWidth: Double; aHeight: Double); overload; procedure setSittingToStandingTransform(aSittingToStandingTransform: IJSFloat32Array); overload; procedure setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRMockDisplay; property capPosition: Boolean read _GetcapPosition write _SetcapPosition; property capOrientation: Boolean read _GetcapOrientation write _SetcapOrientation; property capPresent: Boolean read _GetcapPresent write _SetcapPresent; property capExternal: Boolean read _GetcapExternal write _SetcapExternal; property capAngularAcceleration: Boolean read _GetcapAngularAcceleration write _SetcapAngularAcceleration; property capLinearAcceleration: Boolean read _GetcapLinearAcceleration write _SetcapLinearAcceleration; property capStageParameters: Boolean read _GetcapStageParameters write _SetcapStageParameters; property capMountDetection: Boolean read _GetcapMountDetection write _SetcapMountDetection; property capPositionEmulated: Boolean read _GetcapPositionEmulated write _SetcapPositionEmulated; end; { -------------------------------------------------------------------- TJSVRMockController --------------------------------------------------------------------} IJSVRMockController = interface(IJSObject) ['{14340086-B23E-3A53-89BF-39AF611F0C7A}'] function _Gethand: TGamepadHand; function _GetcapPosition: Boolean; function _GetcapOrientation: Boolean; function _GetcapAngularAcceleration: Boolean; function _GetcapLinearAcceleration: Boolean; function _GetaxisCount: Cardinal; function _GetbuttonCount: Cardinal; function _GethapticCount: Cardinal; procedure _Sethand(const aValue: TGamepadHand); procedure _SetcapPosition(const aValue: Boolean); procedure _SetcapOrientation(const aValue: Boolean); procedure _SetcapAngularAcceleration(const aValue: Boolean); procedure _SetcapLinearAcceleration(const aValue: Boolean); procedure _SetaxisCount(const aValue: Cardinal); procedure _SetbuttonCount(const aValue: Cardinal); procedure _SethapticCount(const aValue: Cardinal); procedure create_; procedure clear; procedure setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); procedure setButtonPressed(aButtonIdx: Cardinal; aPressed: Boolean); procedure setButtonTouched(aButtonIdx: Cardinal; aTouched: Boolean); procedure setButtonTrigger(aButtonIdx: Cardinal; aTrigger: Double); procedure setAxisValue(aAxisIdx: Cardinal; aValue: Double); property hand: TGamepadHand read _Gethand write _Sethand; property capPosition: Boolean read _GetcapPosition write _SetcapPosition; property capOrientation: Boolean read _GetcapOrientation write _SetcapOrientation; property capAngularAcceleration: Boolean read _GetcapAngularAcceleration write _SetcapAngularAcceleration; property capLinearAcceleration: Boolean read _GetcapLinearAcceleration write _SetcapLinearAcceleration; property axisCount: Cardinal read _GetaxisCount write _SetaxisCount; property buttonCount: Cardinal read _GetbuttonCount write _SetbuttonCount; property hapticCount: Cardinal read _GethapticCount write _SethapticCount; end; TJSVRMockController = class(TJSObject,IJSVRMockController) Private Protected function _Gethand: TGamepadHand; function _GetcapPosition: Boolean; function _GetcapOrientation: Boolean; function _GetcapAngularAcceleration: Boolean; function _GetcapLinearAcceleration: Boolean; function _GetaxisCount: Cardinal; function _GetbuttonCount: Cardinal; function _GethapticCount: Cardinal; procedure _Sethand(const aValue: TGamepadHand); procedure _SetcapPosition(const aValue: Boolean); procedure _SetcapOrientation(const aValue: Boolean); procedure _SetcapAngularAcceleration(const aValue: Boolean); procedure _SetcapLinearAcceleration(const aValue: Boolean); procedure _SetaxisCount(const aValue: Cardinal); procedure _SetbuttonCount(const aValue: Cardinal); procedure _SethapticCount(const aValue: Cardinal); Public procedure create_; overload; procedure clear; overload; procedure setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); overload; procedure setButtonPressed(aButtonIdx: Cardinal; aPressed: Boolean); overload; procedure setButtonTouched(aButtonIdx: Cardinal; aTouched: Boolean); overload; procedure setButtonTrigger(aButtonIdx: Cardinal; aTrigger: Double); overload; procedure setAxisValue(aAxisIdx: Cardinal; aValue: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRMockController; property hand: TGamepadHand read _Gethand write _Sethand; property capPosition: Boolean read _GetcapPosition write _SetcapPosition; property capOrientation: Boolean read _GetcapOrientation write _SetcapOrientation; property capAngularAcceleration: Boolean read _GetcapAngularAcceleration write _SetcapAngularAcceleration; property capLinearAcceleration: Boolean read _GetcapLinearAcceleration write _SetcapLinearAcceleration; property axisCount: Cardinal read _GetaxisCount write _SetaxisCount; property buttonCount: Cardinal read _GetbuttonCount write _SetbuttonCount; property hapticCount: Cardinal read _GethapticCount write _SethapticCount; end; { -------------------------------------------------------------------- TJSVRServiceTest --------------------------------------------------------------------} IJSVRServiceTest = interface(IJSObject) ['{CCB0A371-F1FD-3D10-89A2-F17441BCAC02}'] function getVRDisplay: IJSVRMockDisplay; function getVRController(aControllerIdx: Cardinal): IJSVRMockController; function run: IJSPromise; // Promise function reset: IJSPromise; // Promise procedure commit; procedure end_; procedure clearAll; procedure timeout(aDuration: Cardinal); procedure wait(aDuration: Cardinal); procedure waitSubmit; procedure waitPresentationStart; procedure waitPresentationEnd; procedure waitHapticIntensity(aControllerIdx: Cardinal; aHapticIdx: Cardinal; aIntensity: Double); procedure captureFrame; procedure acknowledgeFrame; procedure rejectFrame; procedure startTimer; procedure stopTimer; end; TJSVRServiceTest = class(TJSObject,IJSVRServiceTest) Private Protected Public function getVRDisplay: IJSVRMockDisplay; overload; function getVRController(aControllerIdx: Cardinal): IJSVRMockController; overload; function run: IJSPromise; overload; // Promise function reset: IJSPromise; overload; // Promise procedure commit; overload; procedure end_; overload; procedure clearAll; overload; procedure timeout(aDuration: Cardinal); overload; procedure wait(aDuration: Cardinal); overload; procedure waitSubmit; overload; procedure waitPresentationStart; overload; procedure waitPresentationEnd; overload; procedure waitHapticIntensity(aControllerIdx: Cardinal; aHapticIdx: Cardinal; aIntensity: Double); overload; procedure captureFrame; overload; procedure acknowledgeFrame; overload; procedure rejectFrame; overload; procedure startTimer; overload; procedure stopTimer; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRServiceTest; end; { -------------------------------------------------------------------- TJSVTTRegion --------------------------------------------------------------------} IJSVTTRegion = interface(IJSObject) ['{34566EEC-4270-3759-B489-08A08333E965}'] function _Getid: UnicodeString; function _Getwidth: Double; function _Getlines: LongInt; function _GetregionAnchorX: Double; function _GetregionAnchorY: Double; function _GetviewportAnchorX: Double; function _GetviewportAnchorY: Double; function _Getscroll: TScrollSetting; procedure _Setid(const aValue: UnicodeString); procedure _Setwidth(const aValue: Double); procedure _Setlines(const aValue: LongInt); procedure _SetregionAnchorX(const aValue: Double); procedure _SetregionAnchorY(const aValue: Double); procedure _SetviewportAnchorX(const aValue: Double); procedure _SetviewportAnchorY(const aValue: Double); procedure _Setscroll(const aValue: TScrollSetting); property id: UnicodeString read _Getid write _Setid; property width: Double read _Getwidth write _Setwidth; property lines: LongInt read _Getlines write _Setlines; property regionAnchorX: Double read _GetregionAnchorX write _SetregionAnchorX; property regionAnchorY: Double read _GetregionAnchorY write _SetregionAnchorY; property viewportAnchorX: Double read _GetviewportAnchorX write _SetviewportAnchorX; property viewportAnchorY: Double read _GetviewportAnchorY write _SetviewportAnchorY; property scroll: TScrollSetting read _Getscroll write _Setscroll; end; TJSVTTRegion = class(TJSObject,IJSVTTRegion) Private Protected function _Getid: UnicodeString; function _Getwidth: Double; function _Getlines: LongInt; function _GetregionAnchorX: Double; function _GetregionAnchorY: Double; function _GetviewportAnchorX: Double; function _GetviewportAnchorY: Double; function _Getscroll: TScrollSetting; procedure _Setid(const aValue: UnicodeString); procedure _Setwidth(const aValue: Double); procedure _Setlines(const aValue: LongInt); procedure _SetregionAnchorX(const aValue: Double); procedure _SetregionAnchorY(const aValue: Double); procedure _SetviewportAnchorX(const aValue: Double); procedure _SetviewportAnchorY(const aValue: Double); procedure _Setscroll(const aValue: TScrollSetting); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVTTRegion; property id: UnicodeString read _Getid write _Setid; property width: Double read _Getwidth write _Setwidth; property lines: LongInt read _Getlines write _Setlines; property regionAnchorX: Double read _GetregionAnchorX write _SetregionAnchorX; property regionAnchorY: Double read _GetregionAnchorY write _SetregionAnchorY; property viewportAnchorX: Double read _GetviewportAnchorX write _SetviewportAnchorX; property viewportAnchorY: Double read _GetviewportAnchorY write _SetviewportAnchorY; property scroll: TScrollSetting read _Getscroll write _Setscroll; end; { -------------------------------------------------------------------- TJSWakeLock --------------------------------------------------------------------} IJSWakeLock = interface(IJSObject) ['{854C543B-962B-31C0-A2D3-612A9018C85A}'] function request(aType_: TWakeLockType): IJSPromise; // Promise function request: IJSPromise; // Promise end; TJSWakeLock = class(TJSObject,IJSWakeLock) Private Protected Public function request(aType_: TWakeLockType): IJSPromise; overload; // Promise function request: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWakeLock; end; { -------------------------------------------------------------------- TJSAuthenticatorResponse --------------------------------------------------------------------} IJSAuthenticatorResponse = interface(IJSObject) ['{A337EA94-7463-3287-954D-504592DB61AE}'] function _GetclientDataJSON: IJSArrayBuffer; property clientDataJSON: IJSArrayBuffer read _GetclientDataJSON; end; TJSAuthenticatorResponse = class(TJSObject,IJSAuthenticatorResponse) Private Protected function _GetclientDataJSON: IJSArrayBuffer; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorResponse; property clientDataJSON: IJSArrayBuffer read _GetclientDataJSON; end; { -------------------------------------------------------------------- TJSWebGLSampler --------------------------------------------------------------------} IJSWebGLSampler = interface(IJSObject) ['{E6D054BF-5700-3BE0-A260-F0D81AA2A621}'] end; TJSWebGLSampler = class(TJSObject,IJSWebGLSampler) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLSampler; end; { -------------------------------------------------------------------- TJSWebGLSync --------------------------------------------------------------------} IJSWebGLSync = interface(IJSObject) ['{3383B7B5-610A-3240-B869-8DD15390C552}'] end; TJSWebGLSync = class(TJSObject,IJSWebGLSync) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLSync; end; { -------------------------------------------------------------------- TJSWebGLTransformFeedback --------------------------------------------------------------------} IJSWebGLTransformFeedback = interface(IJSObject) ['{D660E8F5-D604-3A42-8FFE-03239D3DE360}'] end; TJSWebGLTransformFeedback = class(TJSObject,IJSWebGLTransformFeedback) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLTransformFeedback; end; { -------------------------------------------------------------------- TJSWebGL2RenderingContext --------------------------------------------------------------------} TJSWebGLShaderDynArray = IJSArray; // array of WebGLShader TGLfloatDynArray = IJSArray; // array of GLfloat TGLenumDynArray = IJSArray; // array of GLenum TGLintDynArray = IJSArray; // array of GLint TGLuintDynArray = IJSArray; // array of GLuint IJSWebGL2RenderingContext = interface(IJSObject) ['{B1626F5C-7936-30E3-925C-D49BAB0F9AFA}'] function _Getcanvas: TCanvasSource; function _GetdrawingBufferWidth: TGLsizei; function _GetdrawingBufferHeight: TGLsizei; function getContextAttributes: IJSWebGLContextAttributes; function isContextLost: Boolean; function getSupportedExtensions: TUnicodeStringDynArray; function getExtension(const aName: UnicodeString): IJSObject; procedure activeTexture(aTexture: TGLenum); procedure attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); procedure bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); procedure bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); procedure bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); procedure bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); procedure bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); procedure blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); procedure blendEquation(aMode: TGLenum); procedure blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); procedure blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); procedure blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); function checkFramebufferStatus(aTarget: TGLenum): TGLenum; procedure clear(aMask: TGLbitfield); procedure clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); procedure clearDepth(aDepth: TGLclampf); procedure clearStencil(aS_: TGLint); procedure colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); procedure compileShader(aShader: IJSWebGLShader); procedure copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); procedure copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); function createBuffer: IJSWebGLBuffer; function createFramebuffer: IJSWebGLFramebuffer; function createProgram: IJSWebGLProgram; function createRenderbuffer: IJSWebGLRenderbuffer; function createShader(aType_: TGLenum): IJSWebGLShader; function createTexture: IJSWebGLTexture; procedure cullFace(aMode: TGLenum); procedure deleteBuffer(aBuffer: IJSWebGLBuffer); procedure deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); procedure deleteProgram(aProgram_: IJSWebGLProgram); procedure deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); procedure deleteShader(aShader: IJSWebGLShader); procedure deleteTexture(aTexture: IJSWebGLTexture); procedure depthFunc(aFunc: TGLenum); procedure depthMask(aFlag: TGLboolean); procedure depthRange(aZNear: TGLclampf; aZFar: TGLclampf); procedure detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); procedure disable(aCap: TGLenum); procedure disableVertexAttribArray(aIndex: TGLuint); procedure drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); procedure drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); procedure enable(aCap: TGLenum); procedure enableVertexAttribArray(aIndex: TGLuint); procedure finish; procedure flush; procedure framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); procedure framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); procedure frontFace(aMode: TGLenum); procedure generateMipmap(aTarget: TGLenum); function getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; function getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; function getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; function getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; function getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getParameter(aPname: TGLenum): Variant; function getError: TGLenum; function getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; function getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; function getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; function getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; function getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; function getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; function getShaderSource(aShader: IJSWebGLShader): UnicodeString; function getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; function getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; function getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; function getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; procedure hint(aTarget: TGLenum; aMode: TGLenum); function isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; function isEnabled(aCap: TGLenum): TGLboolean; function isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; function isProgram(aProgram_: IJSWebGLProgram): TGLboolean; function isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; function isShader(aShader: IJSWebGLShader): TGLboolean; function isTexture(aTexture: IJSWebGLTexture): TGLboolean; procedure lineWidth(aWidth: TGLfloat); procedure linkProgram(aProgram_: IJSWebGLProgram); procedure pixelStorei(aPname: TGLenum; aParam: TGLint); procedure polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); procedure renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); procedure scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); procedure stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); procedure stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); procedure stencilMask(aMask: TGLuint); procedure stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); procedure stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); procedure stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); procedure texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); procedure texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); procedure uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); procedure uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); procedure uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); procedure uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); procedure uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); procedure uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); procedure uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); procedure uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); procedure useProgram(aProgram_: IJSWebGLProgram); procedure validateProgram(aProgram_: IJSWebGLProgram); procedure vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); procedure vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); procedure vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); procedure vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); procedure vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); procedure viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); function makeXRCompatible: IJSPromise; // Promise procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); procedure blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); procedure framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); procedure invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); procedure invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure readBuffer(aSrc: TGLenum); function getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; procedure renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); procedure copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); function getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; procedure uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); procedure uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); procedure uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); procedure uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); procedure vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); procedure vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); procedure vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); procedure vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); procedure vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); procedure vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); procedure vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); procedure drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); procedure drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); procedure drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); procedure drawBuffers(const aBuffers: TGLenumDynArray); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); procedure clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); function createQuery: IJSWebGLQuery; procedure deleteQuery(aQuery: IJSWebGLQuery); function isQuery(aQuery: IJSWebGLQuery): TGLboolean; procedure beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); procedure endQuery(aTarget: TGLenum); function getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; function getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; function createSampler: IJSWebGLSampler; procedure deleteSampler(aSampler: IJSWebGLSampler); function isSampler(aSampler: IJSWebGLSampler): TGLboolean; procedure bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); procedure samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); procedure samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); function getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; function fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; function isSync(aSync: IJSWebGLSync): TGLboolean; procedure deleteSync(aSync: IJSWebGLSync); function clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; procedure waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); function getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; function createTransformFeedback: IJSWebGLTransformFeedback; procedure deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); function isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; procedure bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); procedure beginTransformFeedback(aPrimitiveMode: TGLenum); procedure endTransformFeedback; procedure transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); function getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; procedure pauseTransformFeedback; procedure resumeTransformFeedback; procedure bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); procedure bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); function getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; function getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; function getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; function getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; function getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; function getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; procedure uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); function createVertexArray: IJSWebGLVertexArrayObject; procedure deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); function isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; procedure bindVertexArray(aArray_: IJSWebGLVertexArrayObject); property canvas: TCanvasSource read _Getcanvas; property drawingBufferWidth: TGLsizei read _GetdrawingBufferWidth; property drawingBufferHeight: TGLsizei read _GetdrawingBufferHeight; end; TJSWebGL2RenderingContext = class(TJSObject,IJSWebGL2RenderingContext) Private Protected function _Getcanvas: TCanvasSource; function _GetdrawingBufferWidth: TGLsizei; function _GetdrawingBufferHeight: TGLsizei; Public Const DEPTH_BUFFER_BIT = $00000100; STENCIL_BUFFER_BIT = $00000400; COLOR_BUFFER_BIT = $00004000; POINTS = $0000; LINES = $0001; LINE_LOOP = $0002; LINE_STRIP = $0003; TRIANGLES = $0004; TRIANGLE_STRIP = $0005; TRIANGLE_FAN = $0006; ZERO = 0; ONE = 1; SRC_COLOR = $0300; ONE_MINUS_SRC_COLOR = $0301; SRC_ALPHA = $0302; ONE_MINUS_SRC_ALPHA = $0303; DST_ALPHA = $0304; ONE_MINUS_DST_ALPHA = $0305; DST_COLOR = $0306; ONE_MINUS_DST_COLOR = $0307; SRC_ALPHA_SATURATE = $0308; FUNC_ADD = $8006; BLEND_EQUATION = $8009; BLEND_EQUATION_RGB = $8009; BLEND_EQUATION_ALPHA = $883D; FUNC_SUBTRACT = $800A; FUNC_REVERSE_SUBTRACT = $800B; BLEND_DST_RGB = $80C8; BLEND_SRC_RGB = $80C9; BLEND_DST_ALPHA = $80CA; BLEND_SRC_ALPHA = $80CB; CONSTANT_COLOR = $8001; ONE_MINUS_CONSTANT_COLOR = $8002; CONSTANT_ALPHA = $8003; ONE_MINUS_CONSTANT_ALPHA = $8004; BLEND_COLOR = $8005; ARRAY_BUFFER = $8892; ELEMENT_ARRAY_BUFFER = $8893; ARRAY_BUFFER_BINDING = $8894; ELEMENT_ARRAY_BUFFER_BINDING = $8895; STREAM_DRAW = $88E0; STATIC_DRAW = $88E4; DYNAMIC_DRAW = $88E8; BUFFER_SIZE = $8764; BUFFER_USAGE = $8765; CURRENT_VERTEX_ATTRIB = $8626; FRONT = $0404; BACK = $0405; FRONT_AND_BACK = $0408; CULL_FACE = $0B44; BLEND = $0BE2; DITHER = $0BD0; STENCIL_TEST = $0B90; DEPTH_TEST = $0B71; SCISSOR_TEST = $0C11; POLYGON_OFFSET_FILL = $8037; SAMPLE_ALPHA_TO_COVERAGE = $809E; SAMPLE_COVERAGE = $80A0; NO_ERROR = 0; INVALID_ENUM = $0500; INVALID_VALUE = $0501; INVALID_OPERATION = $0502; OUT_OF_MEMORY = $0505; CW = $0900; CCW = $0901; LINE_WIDTH = $0B21; ALIASED_POINT_SIZE_RANGE = $846D; ALIASED_LINE_WIDTH_RANGE = $846E; CULL_FACE_MODE = $0B45; FRONT_FACE = $0B46; DEPTH_RANGE = $0B70; DEPTH_WRITEMASK = $0B72; DEPTH_CLEAR_VALUE = $0B73; DEPTH_FUNC = $0B74; STENCIL_CLEAR_VALUE = $0B91; STENCIL_FUNC = $0B92; STENCIL_FAIL = $0B94; STENCIL_PASS_DEPTH_FAIL = $0B95; STENCIL_PASS_DEPTH_PASS = $0B96; STENCIL_REF = $0B97; STENCIL_VALUE_MASK = $0B93; STENCIL_WRITEMASK = $0B98; STENCIL_BACK_FUNC = $8800; STENCIL_BACK_FAIL = $8801; STENCIL_BACK_PASS_DEPTH_FAIL = $8802; STENCIL_BACK_PASS_DEPTH_PASS = $8803; STENCIL_BACK_REF = $8CA3; STENCIL_BACK_VALUE_MASK = $8CA4; STENCIL_BACK_WRITEMASK = $8CA5; VIEWPORT_ = $0BA2; SCISSOR_BOX = $0C10; COLOR_CLEAR_VALUE = $0C22; COLOR_WRITEMASK = $0C23; UNPACK_ALIGNMENT = $0CF5; PACK_ALIGNMENT = $0D05; MAX_TEXTURE_SIZE = $0D33; MAX_VIEWPORT_DIMS = $0D3A; SUBPIXEL_BITS = $0D50; RED_BITS = $0D52; GREEN_BITS = $0D53; BLUE_BITS = $0D54; ALPHA_BITS = $0D55; DEPTH_BITS = $0D56; STENCIL_BITS = $0D57; POLYGON_OFFSET_UNITS = $2A00; POLYGON_OFFSET_FACTOR = $8038; TEXTURE_BINDING_2D = $8069; SAMPLE_BUFFERS = $80A8; SAMPLES = $80A9; SAMPLE_COVERAGE_VALUE = $80AA; SAMPLE_COVERAGE_INVERT = $80AB; COMPRESSED_TEXTURE_FORMATS = $86A3; DONT_CARE = $1100; FASTEST = $1101; NICEST = $1102; GENERATE_MIPMAP_HINT = $8192; BYTE = $1400; UNSIGNED_BYTE = $1401; SHORT = $1402; UNSIGNED_SHORT = $1403; INT = $1404; UNSIGNED_INT = $1405; FLOAT = $1406; DEPTH_COMPONENT = $1902; ALPHA = $1906; RGB = $1907; RGBA = $1908; LUMINANCE = $1909; LUMINANCE_ALPHA = $190A; UNSIGNED_SHORT_4_4_4_4 = $8033; UNSIGNED_SHORT_5_5_5_1 = $8034; UNSIGNED_SHORT_5_6_5 = $8363; FRAGMENT_SHADER = $8B30; VERTEX_SHADER = $8B31; MAX_VERTEX_ATTRIBS = $8869; MAX_VERTEX_UNIFORM_VECTORS = $8DFB; MAX_VARYING_VECTORS = $8DFC; MAX_COMBINED_TEXTURE_IMAGE_UNITS = $8B4D; MAX_VERTEX_TEXTURE_IMAGE_UNITS = $8B4C; MAX_TEXTURE_IMAGE_UNITS = $8872; MAX_FRAGMENT_UNIFORM_VECTORS = $8DFD; SHADER_TYPE = $8B4F; DELETE_STATUS = $8B80; LINK_STATUS = $8B82; VALIDATE_STATUS = $8B83; ATTACHED_SHADERS = $8B85; ACTIVE_UNIFORMS = $8B86; ACTIVE_ATTRIBUTES = $8B89; SHADING_LANGUAGE_VERSION = $8B8C; CURRENT_PROGRAM = $8B8D; NEVER = $0200; LESS = $0201; EQUAL = $0202; LEQUAL = $0203; GREATER = $0204; NOTEQUAL = $0205; GEQUAL = $0206; ALWAYS = $0207; KEEP = $1E00; REPLACE = $1E01; INCR = $1E02; DECR = $1E03; INVERT = $150A; INCR_WRAP = $8507; DECR_WRAP = $8508; VENDOR = $1F00; RENDERER = $1F01; VERSION = $1F02; NEAREST = $2600; LINEAR = $2601; NEAREST_MIPMAP_NEAREST = $2700; LINEAR_MIPMAP_NEAREST = $2701; NEAREST_MIPMAP_LINEAR = $2702; LINEAR_MIPMAP_LINEAR = $2703; TEXTURE_MAG_FILTER = $2800; TEXTURE_MIN_FILTER = $2801; TEXTURE_WRAP_S = $2802; TEXTURE_WRAP_T = $2803; TEXTURE_2D = $0DE1; TEXTURE = $1702; TEXTURE_CUBE_MAP = $8513; TEXTURE_BINDING_CUBE_MAP = $8514; TEXTURE_CUBE_MAP_POSITIVE_X = $8515; TEXTURE_CUBE_MAP_NEGATIVE_X = $8516; TEXTURE_CUBE_MAP_POSITIVE_Y = $8517; TEXTURE_CUBE_MAP_NEGATIVE_Y = $8518; TEXTURE_CUBE_MAP_POSITIVE_Z = $8519; TEXTURE_CUBE_MAP_NEGATIVE_Z = $851A; MAX_CUBE_MAP_TEXTURE_SIZE = $851C; TEXTURE0 = $84C0; TEXTURE1 = $84C1; TEXTURE2 = $84C2; TEXTURE3 = $84C3; TEXTURE4 = $84C4; TEXTURE5 = $84C5; TEXTURE6 = $84C6; TEXTURE7 = $84C7; TEXTURE8 = $84C8; TEXTURE9 = $84C9; TEXTURE10 = $84CA; TEXTURE11 = $84CB; TEXTURE12 = $84CC; TEXTURE13 = $84CD; TEXTURE14 = $84CE; TEXTURE15 = $84CF; TEXTURE16 = $84D0; TEXTURE17 = $84D1; TEXTURE18 = $84D2; TEXTURE19 = $84D3; TEXTURE20 = $84D4; TEXTURE21 = $84D5; TEXTURE22 = $84D6; TEXTURE23 = $84D7; TEXTURE24 = $84D8; TEXTURE25 = $84D9; TEXTURE26 = $84DA; TEXTURE27 = $84DB; TEXTURE28 = $84DC; TEXTURE29 = $84DD; TEXTURE30 = $84DE; TEXTURE31 = $84DF; ACTIVE_TEXTURE = $84E0; REPEAT_ = $2901; CLAMP_TO_EDGE = $812F; MIRRORED_REPEAT = $8370; FLOAT_VEC2 = $8B50; FLOAT_VEC3 = $8B51; FLOAT_VEC4 = $8B52; INT_VEC2 = $8B53; INT_VEC3 = $8B54; INT_VEC4 = $8B55; BOOL = $8B56; BOOL_VEC2 = $8B57; BOOL_VEC3 = $8B58; BOOL_VEC4 = $8B59; FLOAT_MAT2 = $8B5A; FLOAT_MAT3 = $8B5B; FLOAT_MAT4 = $8B5C; SAMPLER_2D = $8B5E; SAMPLER_CUBE = $8B60; VERTEX_ATTRIB_ARRAY_ENABLED = $8622; VERTEX_ATTRIB_ARRAY_SIZE = $8623; VERTEX_ATTRIB_ARRAY_STRIDE = $8624; VERTEX_ATTRIB_ARRAY_TYPE = $8625; VERTEX_ATTRIB_ARRAY_NORMALIZED = $886A; VERTEX_ATTRIB_ARRAY_POINTER = $8645; VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = $889F; IMPLEMENTATION_COLOR_READ_TYPE = $8B9A; IMPLEMENTATION_COLOR_READ_FORMAT = $8B9B; COMPILE_STATUS = $8B81; LOW_FLOAT = $8DF0; MEDIUM_FLOAT = $8DF1; HIGH_FLOAT = $8DF2; LOW_INT = $8DF3; MEDIUM_INT = $8DF4; HIGH_INT = $8DF5; FRAMEBUFFER = $8D40; RENDERBUFFER = $8D41; RGBA4 = $8056; RGB5_A1 = $8057; RGB565 = $8D62; DEPTH_COMPONENT16 = $81A5; STENCIL_INDEX8 = $8D48; DEPTH_STENCIL = $84F9; RENDERBUFFER_WIDTH = $8D42; RENDERBUFFER_HEIGHT = $8D43; RENDERBUFFER_INTERNAL_FORMAT = $8D44; RENDERBUFFER_RED_SIZE = $8D50; RENDERBUFFER_GREEN_SIZE = $8D51; RENDERBUFFER_BLUE_SIZE = $8D52; RENDERBUFFER_ALPHA_SIZE = $8D53; RENDERBUFFER_DEPTH_SIZE = $8D54; RENDERBUFFER_STENCIL_SIZE = $8D55; FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = $8CD0; FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = $8CD1; FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = $8CD2; FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = $8CD3; COLOR_ATTACHMENT0 = $8CE0; DEPTH_ATTACHMENT = $8D00; STENCIL_ATTACHMENT = $8D20; DEPTH_STENCIL_ATTACHMENT = $821A; NONE = 0; FRAMEBUFFER_COMPLETE = $8CD5; FRAMEBUFFER_INCOMPLETE_ATTACHMENT = $8CD6; FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = $8CD7; FRAMEBUFFER_INCOMPLETE_DIMENSIONS = $8CD9; FRAMEBUFFER_UNSUPPORTED = $8CDD; FRAMEBUFFER_BINDING = $8CA6; RENDERBUFFER_BINDING = $8CA7; MAX_RENDERBUFFER_SIZE = $84E8; INVALID_FRAMEBUFFER_OPERATION = $0506; UNPACK_FLIP_Y_WEBGL = $9240; UNPACK_PREMULTIPLY_ALPHA_WEBGL = $9241; CONTEXT_LOST_WEBGL = $9242; UNPACK_COLORSPACE_CONVERSION_WEBGL = $9243; BROWSER_DEFAULT_WEBGL = $9244; READ_BUFFER = $0C02; UNPACK_ROW_LENGTH = $0CF2; UNPACK_SKIP_ROWS = $0CF3; UNPACK_SKIP_PIXELS = $0CF4; PACK_ROW_LENGTH = $0D02; PACK_SKIP_ROWS = $0D03; PACK_SKIP_PIXELS = $0D04; COLOR = $1800; DEPTH = $1801; STENCIL = $1802; RED = $1903; RGB8 = $8051; RGBA8 = $8058; RGB10_A2 = $8059; TEXTURE_BINDING_3D = $806A; UNPACK_SKIP_IMAGES = $806D; UNPACK_IMAGE_HEIGHT = $806E; TEXTURE_3D = $806F; TEXTURE_WRAP_R = $8072; MAX_3D_TEXTURE_SIZE = $8073; UNSIGNED_INT_2_10_10_10_REV = $8368; MAX_ELEMENTS_VERTICES = $80E8; MAX_ELEMENTS_INDICES = $80E9; TEXTURE_MIN_LOD = $813A; TEXTURE_MAX_LOD = $813B; TEXTURE_BASE_LEVEL = $813C; TEXTURE_MAX_LEVEL = $813D; MIN = $8007; MAX = $8008; DEPTH_COMPONENT24 = $81A6; MAX_TEXTURE_LOD_BIAS = $84FD; TEXTURE_COMPARE_MODE = $884C; TEXTURE_COMPARE_FUNC = $884D; CURRENT_QUERY = $8865; QUERY_RESULT = $8866; QUERY_RESULT_AVAILABLE = $8867; STREAM_READ = $88E1; STREAM_COPY = $88E2; STATIC_READ = $88E5; STATIC_COPY = $88E6; DYNAMIC_READ = $88E9; DYNAMIC_COPY = $88EA; MAX_DRAW_BUFFERS = $8824; DRAW_BUFFER0 = $8825; DRAW_BUFFER1 = $8826; DRAW_BUFFER2 = $8827; DRAW_BUFFER3 = $8828; DRAW_BUFFER4 = $8829; DRAW_BUFFER5 = $882A; DRAW_BUFFER6 = $882B; DRAW_BUFFER7 = $882C; DRAW_BUFFER8 = $882D; DRAW_BUFFER9 = $882E; DRAW_BUFFER10 = $882F; DRAW_BUFFER11 = $8830; DRAW_BUFFER12 = $8831; DRAW_BUFFER13 = $8832; DRAW_BUFFER14 = $8833; DRAW_BUFFER15 = $8834; MAX_FRAGMENT_UNIFORM_COMPONENTS = $8B49; MAX_VERTEX_UNIFORM_COMPONENTS = $8B4A; SAMPLER_3D = $8B5F; SAMPLER_2D_SHADOW = $8B62; FRAGMENT_SHADER_DERIVATIVE_HINT = $8B8B; PIXEL_PACK_BUFFER = $88EB; PIXEL_UNPACK_BUFFER = $88EC; PIXEL_PACK_BUFFER_BINDING = $88ED; PIXEL_UNPACK_BUFFER_BINDING = $88EF; FLOAT_MAT2x3 = $8B65; FLOAT_MAT2x4 = $8B66; FLOAT_MAT3x2 = $8B67; FLOAT_MAT3x4 = $8B68; FLOAT_MAT4x2 = $8B69; FLOAT_MAT4x3 = $8B6A; SRGB = $8C40; SRGB8 = $8C41; SRGB8_ALPHA8 = $8C43; COMPARE_REF_TO_TEXTURE = $884E; RGBA32F = $8814; RGB32F = $8815; RGBA16F = $881A; RGB16F = $881B; VERTEX_ATTRIB_ARRAY_INTEGER = $88FD; MAX_ARRAY_TEXTURE_LAYERS = $88FF; MIN_PROGRAM_TEXEL_OFFSET = $8904; MAX_PROGRAM_TEXEL_OFFSET = $8905; MAX_VARYING_COMPONENTS = $8B4B; TEXTURE_2D_ARRAY = $8C1A; TEXTURE_BINDING_2D_ARRAY = $8C1D; R11F_G11F_B10F = $8C3A; UNSIGNED_INT_10F_11F_11F_REV = $8C3B; RGB9_E5 = $8C3D; UNSIGNED_INT_5_9_9_9_REV = $8C3E; TRANSFORM_FEEDBACK_BUFFER_MODE = $8C7F; MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = $8C80; TRANSFORM_FEEDBACK_VARYINGS = $8C83; TRANSFORM_FEEDBACK_BUFFER_START = $8C84; TRANSFORM_FEEDBACK_BUFFER_SIZE = $8C85; TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = $8C88; RASTERIZER_DISCARD = $8C89; MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = $8C8A; MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = $8C8B; INTERLEAVED_ATTRIBS = $8C8C; SEPARATE_ATTRIBS = $8C8D; TRANSFORM_FEEDBACK_BUFFER = $8C8E; TRANSFORM_FEEDBACK_BUFFER_BINDING = $8C8F; RGBA32UI = $8D70; RGB32UI = $8D71; RGBA16UI = $8D76; RGB16UI = $8D77; RGBA8UI = $8D7C; RGB8UI = $8D7D; RGBA32I = $8D82; RGB32I = $8D83; RGBA16I = $8D88; RGB16I = $8D89; RGBA8I = $8D8E; RGB8I = $8D8F; RED_INTEGER = $8D94; RGB_INTEGER = $8D98; RGBA_INTEGER = $8D99; SAMPLER_2D_ARRAY = $8DC1; SAMPLER_2D_ARRAY_SHADOW = $8DC4; SAMPLER_CUBE_SHADOW = $8DC5; UNSIGNED_INT_VEC2 = $8DC6; UNSIGNED_INT_VEC3 = $8DC7; UNSIGNED_INT_VEC4 = $8DC8; INT_SAMPLER_2D = $8DCA; INT_SAMPLER_3D = $8DCB; INT_SAMPLER_CUBE = $8DCC; INT_SAMPLER_2D_ARRAY = $8DCF; UNSIGNED_INT_SAMPLER_2D = $8DD2; UNSIGNED_INT_SAMPLER_3D = $8DD3; UNSIGNED_INT_SAMPLER_CUBE = $8DD4; UNSIGNED_INT_SAMPLER_2D_ARRAY = $8DD7; DEPTH_COMPONENT32F = $8CAC; DEPTH32F_STENCIL8 = $8CAD; FLOAT_32_UNSIGNED_INT_24_8_REV = $8DAD; FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = $8210; FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = $8211; FRAMEBUFFER_ATTACHMENT_RED_SIZE = $8212; FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = $8213; FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = $8214; FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = $8215; FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = $8216; FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = $8217; FRAMEBUFFER_DEFAULT = $8218; UNSIGNED_INT_24_8 = $84FA; DEPTH24_STENCIL8 = $88F0; UNSIGNED_NORMALIZED = $8C17; DRAW_FRAMEBUFFER_BINDING = $8CA6; READ_FRAMEBUFFER = $8CA8; DRAW_FRAMEBUFFER = $8CA9; READ_FRAMEBUFFER_BINDING = $8CAA; RENDERBUFFER_SAMPLES = $8CAB; FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = $8CD4; MAX_COLOR_ATTACHMENTS = $8CDF; COLOR_ATTACHMENT1 = $8CE1; COLOR_ATTACHMENT2 = $8CE2; COLOR_ATTACHMENT3 = $8CE3; COLOR_ATTACHMENT4 = $8CE4; COLOR_ATTACHMENT5 = $8CE5; COLOR_ATTACHMENT6 = $8CE6; COLOR_ATTACHMENT7 = $8CE7; COLOR_ATTACHMENT8 = $8CE8; COLOR_ATTACHMENT9 = $8CE9; COLOR_ATTACHMENT10 = $8CEA; COLOR_ATTACHMENT11 = $8CEB; COLOR_ATTACHMENT12 = $8CEC; COLOR_ATTACHMENT13 = $8CED; COLOR_ATTACHMENT14 = $8CEE; COLOR_ATTACHMENT15 = $8CEF; FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = $8D56; MAX_SAMPLES = $8D57; HALF_FLOAT = $140B; RG = $8227; RG_INTEGER = $8228; R8 = $8229; RG8 = $822B; R16F = $822D; R32F = $822E; RG16F = $822F; RG32F = $8230; R8I = $8231; R8UI = $8232; R16I = $8233; R16UI = $8234; R32I = $8235; R32UI = $8236; RG8I = $8237; RG8UI = $8238; RG16I = $8239; RG16UI = $823A; RG32I = $823B; RG32UI = $823C; VERTEX_ARRAY_BINDING = $85B5; R8_SNORM = $8F94; RG8_SNORM = $8F95; RGB8_SNORM = $8F96; RGBA8_SNORM = $8F97; SIGNED_NORMALIZED = $8F9C; COPY_READ_BUFFER = $8F36; COPY_WRITE_BUFFER = $8F37; COPY_READ_BUFFER_BINDING = $8F36; COPY_WRITE_BUFFER_BINDING = $8F37; UNIFORM_BUFFER = $8A11; UNIFORM_BUFFER_BINDING = $8A28; UNIFORM_BUFFER_START = $8A29; UNIFORM_BUFFER_SIZE = $8A2A; MAX_VERTEX_UNIFORM_BLOCKS = $8A2B; MAX_FRAGMENT_UNIFORM_BLOCKS = $8A2D; MAX_COMBINED_UNIFORM_BLOCKS = $8A2E; MAX_UNIFORM_BUFFER_BINDINGS = $8A2F; MAX_UNIFORM_BLOCK_SIZE = $8A30; MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = $8A31; MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = $8A33; UNIFORM_BUFFER_OFFSET_ALIGNMENT = $8A34; ACTIVE_UNIFORM_BLOCKS = $8A36; UNIFORM_TYPE = $8A37; UNIFORM_SIZE = $8A38; UNIFORM_BLOCK_INDEX = $8A3A; UNIFORM_OFFSET = $8A3B; UNIFORM_ARRAY_STRIDE = $8A3C; UNIFORM_MATRIX_STRIDE = $8A3D; UNIFORM_IS_ROW_MAJOR = $8A3E; UNIFORM_BLOCK_BINDING = $8A3F; UNIFORM_BLOCK_DATA_SIZE = $8A40; UNIFORM_BLOCK_ACTIVE_UNIFORMS = $8A42; UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = $8A43; UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = $8A44; UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = $8A46; INVALID_INDEX = $FFFFFFFF; MAX_VERTEX_OUTPUT_COMPONENTS = $9122; MAX_FRAGMENT_INPUT_COMPONENTS = $9125; MAX_SERVER_WAIT_TIMEOUT = $9111; OBJECT_TYPE = $9112; SYNC_CONDITION = $9113; SYNC_STATUS = $9114; SYNC_FLAGS = $9115; SYNC_FENCE = $9116; SYNC_GPU_COMMANDS_COMPLETE = $9117; UNSIGNALED = $9118; SIGNALED = $9119; ALREADY_SIGNALED = $911A; TIMEOUT_EXPIRED = $911B; CONDITION_SATISFIED = $911C; WAIT_FAILED = $911D; SYNC_FLUSH_COMMANDS_BIT = $00000001; VERTEX_ATTRIB_ARRAY_DIVISOR = $88FE; ANY_SAMPLES_PASSED = $8C2F; ANY_SAMPLES_PASSED_CONSERVATIVE = $8D6A; SAMPLER_BINDING = $8919; RGB10_A2UI = $906F; INT_2_10_10_10_REV = $8D9F; TRANSFORM_FEEDBACK = $8E22; TRANSFORM_FEEDBACK_PAUSED = $8E23; TRANSFORM_FEEDBACK_ACTIVE = $8E24; TRANSFORM_FEEDBACK_BINDING = $8E25; TEXTURE_IMMUTABLE_FORMAT = $912F; MAX_ELEMENT_INDEX = $8D6B; TEXTURE_IMMUTABLE_LEVELS = $82DF; TIMEOUT_IGNORED = -1; MAX_CLIENT_WAIT_TIMEOUT_WEBGL = $9247; Public function getContextAttributes: IJSWebGLContextAttributes; overload; function isContextLost: Boolean; overload; function getSupportedExtensions: TUnicodeStringDynArray; overload; function getExtension(const aName: UnicodeString): IJSObject; overload; procedure activeTexture(aTexture: TGLenum); overload; procedure attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); overload; procedure bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); overload; procedure bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); overload; procedure bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); overload; procedure bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); overload; procedure blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); overload; procedure blendEquation(aMode: TGLenum); overload; procedure blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); overload; procedure blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); overload; procedure blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); overload; function checkFramebufferStatus(aTarget: TGLenum): TGLenum; overload; procedure clear(aMask: TGLbitfield); overload; procedure clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); overload; procedure clearDepth(aDepth: TGLclampf); overload; procedure clearStencil(aS_: TGLint); overload; procedure colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); overload; procedure compileShader(aShader: IJSWebGLShader); overload; procedure copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); overload; procedure copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; function createBuffer: IJSWebGLBuffer; overload; function createFramebuffer: IJSWebGLFramebuffer; overload; function createProgram: IJSWebGLProgram; overload; function createRenderbuffer: IJSWebGLRenderbuffer; overload; function createShader(aType_: TGLenum): IJSWebGLShader; overload; function createTexture: IJSWebGLTexture; overload; procedure cullFace(aMode: TGLenum); overload; procedure deleteBuffer(aBuffer: IJSWebGLBuffer); overload; procedure deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); overload; procedure deleteProgram(aProgram_: IJSWebGLProgram); overload; procedure deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure deleteShader(aShader: IJSWebGLShader); overload; procedure deleteTexture(aTexture: IJSWebGLTexture); overload; procedure depthFunc(aFunc: TGLenum); overload; procedure depthMask(aFlag: TGLboolean); overload; procedure depthRange(aZNear: TGLclampf; aZFar: TGLclampf); overload; procedure detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); overload; procedure disable(aCap: TGLenum); overload; procedure disableVertexAttribArray(aIndex: TGLuint); overload; procedure drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); overload; procedure drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); overload; procedure enable(aCap: TGLenum); overload; procedure enableVertexAttribArray(aIndex: TGLuint); overload; procedure finish; overload; procedure flush; overload; procedure framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); overload; procedure frontFace(aMode: TGLenum); overload; procedure generateMipmap(aTarget: TGLenum); overload; function getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; function getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; function getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; overload; function getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; overload; function getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getParameter(aPname: TGLenum): Variant; overload; function getError: TGLenum; overload; function getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; overload; function getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; overload; function getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; overload; function getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; overload; function getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; overload; function getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; overload; function getShaderSource(aShader: IJSWebGLShader): UnicodeString; overload; function getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; overload; function getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; overload; function getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; overload; function getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; overload; procedure hint(aTarget: TGLenum; aMode: TGLenum); overload; function isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; overload; function isEnabled(aCap: TGLenum): TGLboolean; overload; function isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; overload; function isProgram(aProgram_: IJSWebGLProgram): TGLboolean; overload; function isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; overload; function isShader(aShader: IJSWebGLShader): TGLboolean; overload; function isTexture(aTexture: IJSWebGLTexture): TGLboolean; overload; procedure lineWidth(aWidth: TGLfloat); overload; procedure linkProgram(aProgram_: IJSWebGLProgram); overload; procedure pixelStorei(aPname: TGLenum; aParam: TGLint); overload; procedure polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); overload; procedure renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); overload; procedure scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); overload; procedure stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); overload; procedure stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); overload; procedure stencilMask(aMask: TGLuint); overload; procedure stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); overload; procedure stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); overload; procedure stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); overload; procedure texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); overload; procedure texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); overload; procedure uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); overload; procedure uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); overload; procedure uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); overload; procedure uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); overload; procedure uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); overload; procedure uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); overload; procedure uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); overload; procedure uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); overload; procedure useProgram(aProgram_: IJSWebGLProgram); overload; procedure validateProgram(aProgram_: IJSWebGLProgram); overload; procedure vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); overload; procedure vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); overload; procedure vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); overload; procedure vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); overload; procedure vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); overload; procedure viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; function makeXRCompatible: IJSPromise; overload; // Promise procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); overload; procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); overload; procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); overload; procedure blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); overload; procedure framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); overload; procedure invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); overload; procedure invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure readBuffer(aSrc: TGLenum); overload; function getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; overload; procedure renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; function getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; overload; procedure uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); overload; procedure uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); overload; procedure uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); overload; procedure uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); overload; procedure vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); overload; procedure vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); overload; procedure vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); overload; procedure vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); overload; procedure vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); overload; procedure vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); overload; procedure vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); overload; procedure drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); overload; procedure drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); overload; procedure drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); overload; procedure drawBuffers(const aBuffers: TGLenumDynArray); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); overload; procedure clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); overload; function createQuery: IJSWebGLQuery; overload; procedure deleteQuery(aQuery: IJSWebGLQuery); overload; function isQuery(aQuery: IJSWebGLQuery): TGLboolean; overload; procedure beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); overload; procedure endQuery(aTarget: TGLenum); overload; function getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; overload; function createSampler: IJSWebGLSampler; overload; procedure deleteSampler(aSampler: IJSWebGLSampler); overload; function isSampler(aSampler: IJSWebGLSampler): TGLboolean; overload; procedure bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); overload; procedure samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); overload; procedure samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); overload; function getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; overload; function fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; overload; function isSync(aSync: IJSWebGLSync): TGLboolean; overload; procedure deleteSync(aSync: IJSWebGLSync); overload; function clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; overload; procedure waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); overload; function getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; overload; function createTransformFeedback: IJSWebGLTransformFeedback; overload; procedure deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); overload; function isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; overload; procedure bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); overload; procedure beginTransformFeedback(aPrimitiveMode: TGLenum); overload; procedure endTransformFeedback; overload; procedure transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); overload; function getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; procedure pauseTransformFeedback; overload; procedure resumeTransformFeedback; overload; procedure bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); overload; procedure bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); overload; function getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; overload; function getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; overload; function getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; overload; function getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; overload; function getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; overload; function getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; overload; procedure uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); overload; function createVertexArray: IJSWebGLVertexArrayObject; overload; procedure deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); overload; function isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; overload; procedure bindVertexArray(aArray_: IJSWebGLVertexArrayObject); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGL2RenderingContext; property canvas: TCanvasSource read _Getcanvas; property drawingBufferWidth: TGLsizei read _GetdrawingBufferWidth; property drawingBufferHeight: TGLsizei read _GetdrawingBufferHeight; end; { -------------------------------------------------------------------- TJSWebGL2RenderingContextBase --------------------------------------------------------------------} IJSWebGL2RenderingContextBase = interface(IJSObject) ['{F6E20F6C-0549-3256-854A-F1323ACC369C}'] procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); procedure blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); procedure framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); procedure invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); procedure invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure readBuffer(aSrc: TGLenum); function getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; procedure renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); procedure copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); function getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; procedure uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); procedure uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); procedure uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); procedure uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); procedure vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); procedure vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); procedure vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); procedure vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); procedure vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); procedure vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); procedure vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); procedure vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); procedure drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); procedure drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); procedure drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); procedure drawBuffers(const aBuffers: TGLenumDynArray); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); procedure clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); function createQuery: IJSWebGLQuery; procedure deleteQuery(aQuery: IJSWebGLQuery); function isQuery(aQuery: IJSWebGLQuery): TGLboolean; procedure beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); procedure endQuery(aTarget: TGLenum); function getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; function getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; function createSampler: IJSWebGLSampler; procedure deleteSampler(aSampler: IJSWebGLSampler); function isSampler(aSampler: IJSWebGLSampler): TGLboolean; procedure bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); procedure samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); procedure samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); function getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; function fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; function isSync(aSync: IJSWebGLSync): TGLboolean; procedure deleteSync(aSync: IJSWebGLSync); function clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; procedure waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); function getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; function createTransformFeedback: IJSWebGLTransformFeedback; procedure deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); function isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; procedure bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); procedure beginTransformFeedback(aPrimitiveMode: TGLenum); procedure endTransformFeedback; procedure transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); function getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; procedure pauseTransformFeedback; procedure resumeTransformFeedback; procedure bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); procedure bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); function getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; function getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; function getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; function getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; function getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; function getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; procedure uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); function createVertexArray: IJSWebGLVertexArrayObject; procedure deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); function isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; procedure bindVertexArray(aArray_: IJSWebGLVertexArrayObject); end; TJSWebGL2RenderingContextBase = class(TJSObject,IJSWebGL2RenderingContextBase) Private Protected Public Const READ_BUFFER = $0C02; UNPACK_ROW_LENGTH = $0CF2; UNPACK_SKIP_ROWS = $0CF3; UNPACK_SKIP_PIXELS = $0CF4; PACK_ROW_LENGTH = $0D02; PACK_SKIP_ROWS = $0D03; PACK_SKIP_PIXELS = $0D04; COLOR = $1800; DEPTH = $1801; STENCIL = $1802; RED = $1903; RGB8 = $8051; RGBA8 = $8058; RGB10_A2 = $8059; TEXTURE_BINDING_3D = $806A; UNPACK_SKIP_IMAGES = $806D; UNPACK_IMAGE_HEIGHT = $806E; TEXTURE_3D = $806F; TEXTURE_WRAP_R = $8072; MAX_3D_TEXTURE_SIZE = $8073; UNSIGNED_INT_2_10_10_10_REV = $8368; MAX_ELEMENTS_VERTICES = $80E8; MAX_ELEMENTS_INDICES = $80E9; TEXTURE_MIN_LOD = $813A; TEXTURE_MAX_LOD = $813B; TEXTURE_BASE_LEVEL = $813C; TEXTURE_MAX_LEVEL = $813D; MIN = $8007; MAX = $8008; DEPTH_COMPONENT24 = $81A6; MAX_TEXTURE_LOD_BIAS = $84FD; TEXTURE_COMPARE_MODE = $884C; TEXTURE_COMPARE_FUNC = $884D; CURRENT_QUERY = $8865; QUERY_RESULT = $8866; QUERY_RESULT_AVAILABLE = $8867; STREAM_READ = $88E1; STREAM_COPY = $88E2; STATIC_READ = $88E5; STATIC_COPY = $88E6; DYNAMIC_READ = $88E9; DYNAMIC_COPY = $88EA; MAX_DRAW_BUFFERS = $8824; DRAW_BUFFER0 = $8825; DRAW_BUFFER1 = $8826; DRAW_BUFFER2 = $8827; DRAW_BUFFER3 = $8828; DRAW_BUFFER4 = $8829; DRAW_BUFFER5 = $882A; DRAW_BUFFER6 = $882B; DRAW_BUFFER7 = $882C; DRAW_BUFFER8 = $882D; DRAW_BUFFER9 = $882E; DRAW_BUFFER10 = $882F; DRAW_BUFFER11 = $8830; DRAW_BUFFER12 = $8831; DRAW_BUFFER13 = $8832; DRAW_BUFFER14 = $8833; DRAW_BUFFER15 = $8834; MAX_FRAGMENT_UNIFORM_COMPONENTS = $8B49; MAX_VERTEX_UNIFORM_COMPONENTS = $8B4A; SAMPLER_3D = $8B5F; SAMPLER_2D_SHADOW = $8B62; FRAGMENT_SHADER_DERIVATIVE_HINT = $8B8B; PIXEL_PACK_BUFFER = $88EB; PIXEL_UNPACK_BUFFER = $88EC; PIXEL_PACK_BUFFER_BINDING = $88ED; PIXEL_UNPACK_BUFFER_BINDING = $88EF; FLOAT_MAT2x3 = $8B65; FLOAT_MAT2x4 = $8B66; FLOAT_MAT3x2 = $8B67; FLOAT_MAT3x4 = $8B68; FLOAT_MAT4x2 = $8B69; FLOAT_MAT4x3 = $8B6A; SRGB = $8C40; SRGB8 = $8C41; SRGB8_ALPHA8 = $8C43; COMPARE_REF_TO_TEXTURE = $884E; RGBA32F = $8814; RGB32F = $8815; RGBA16F = $881A; RGB16F = $881B; VERTEX_ATTRIB_ARRAY_INTEGER = $88FD; MAX_ARRAY_TEXTURE_LAYERS = $88FF; MIN_PROGRAM_TEXEL_OFFSET = $8904; MAX_PROGRAM_TEXEL_OFFSET = $8905; MAX_VARYING_COMPONENTS = $8B4B; TEXTURE_2D_ARRAY = $8C1A; TEXTURE_BINDING_2D_ARRAY = $8C1D; R11F_G11F_B10F = $8C3A; UNSIGNED_INT_10F_11F_11F_REV = $8C3B; RGB9_E5 = $8C3D; UNSIGNED_INT_5_9_9_9_REV = $8C3E; TRANSFORM_FEEDBACK_BUFFER_MODE = $8C7F; MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = $8C80; TRANSFORM_FEEDBACK_VARYINGS = $8C83; TRANSFORM_FEEDBACK_BUFFER_START = $8C84; TRANSFORM_FEEDBACK_BUFFER_SIZE = $8C85; TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = $8C88; RASTERIZER_DISCARD = $8C89; MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = $8C8A; MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = $8C8B; INTERLEAVED_ATTRIBS = $8C8C; SEPARATE_ATTRIBS = $8C8D; TRANSFORM_FEEDBACK_BUFFER = $8C8E; TRANSFORM_FEEDBACK_BUFFER_BINDING = $8C8F; RGBA32UI = $8D70; RGB32UI = $8D71; RGBA16UI = $8D76; RGB16UI = $8D77; RGBA8UI = $8D7C; RGB8UI = $8D7D; RGBA32I = $8D82; RGB32I = $8D83; RGBA16I = $8D88; RGB16I = $8D89; RGBA8I = $8D8E; RGB8I = $8D8F; RED_INTEGER = $8D94; RGB_INTEGER = $8D98; RGBA_INTEGER = $8D99; SAMPLER_2D_ARRAY = $8DC1; SAMPLER_2D_ARRAY_SHADOW = $8DC4; SAMPLER_CUBE_SHADOW = $8DC5; UNSIGNED_INT_VEC2 = $8DC6; UNSIGNED_INT_VEC3 = $8DC7; UNSIGNED_INT_VEC4 = $8DC8; INT_SAMPLER_2D = $8DCA; INT_SAMPLER_3D = $8DCB; INT_SAMPLER_CUBE = $8DCC; INT_SAMPLER_2D_ARRAY = $8DCF; UNSIGNED_INT_SAMPLER_2D = $8DD2; UNSIGNED_INT_SAMPLER_3D = $8DD3; UNSIGNED_INT_SAMPLER_CUBE = $8DD4; UNSIGNED_INT_SAMPLER_2D_ARRAY = $8DD7; DEPTH_COMPONENT32F = $8CAC; DEPTH32F_STENCIL8 = $8CAD; FLOAT_32_UNSIGNED_INT_24_8_REV = $8DAD; FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = $8210; FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = $8211; FRAMEBUFFER_ATTACHMENT_RED_SIZE = $8212; FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = $8213; FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = $8214; FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = $8215; FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = $8216; FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = $8217; FRAMEBUFFER_DEFAULT = $8218; UNSIGNED_INT_24_8 = $84FA; DEPTH24_STENCIL8 = $88F0; UNSIGNED_NORMALIZED = $8C17; DRAW_FRAMEBUFFER_BINDING = $8CA6; READ_FRAMEBUFFER = $8CA8; DRAW_FRAMEBUFFER = $8CA9; READ_FRAMEBUFFER_BINDING = $8CAA; RENDERBUFFER_SAMPLES = $8CAB; FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = $8CD4; MAX_COLOR_ATTACHMENTS = $8CDF; COLOR_ATTACHMENT1 = $8CE1; COLOR_ATTACHMENT2 = $8CE2; COLOR_ATTACHMENT3 = $8CE3; COLOR_ATTACHMENT4 = $8CE4; COLOR_ATTACHMENT5 = $8CE5; COLOR_ATTACHMENT6 = $8CE6; COLOR_ATTACHMENT7 = $8CE7; COLOR_ATTACHMENT8 = $8CE8; COLOR_ATTACHMENT9 = $8CE9; COLOR_ATTACHMENT10 = $8CEA; COLOR_ATTACHMENT11 = $8CEB; COLOR_ATTACHMENT12 = $8CEC; COLOR_ATTACHMENT13 = $8CED; COLOR_ATTACHMENT14 = $8CEE; COLOR_ATTACHMENT15 = $8CEF; FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = $8D56; MAX_SAMPLES = $8D57; HALF_FLOAT = $140B; RG = $8227; RG_INTEGER = $8228; R8 = $8229; RG8 = $822B; R16F = $822D; R32F = $822E; RG16F = $822F; RG32F = $8230; R8I = $8231; R8UI = $8232; R16I = $8233; R16UI = $8234; R32I = $8235; R32UI = $8236; RG8I = $8237; RG8UI = $8238; RG16I = $8239; RG16UI = $823A; RG32I = $823B; RG32UI = $823C; VERTEX_ARRAY_BINDING = $85B5; R8_SNORM = $8F94; RG8_SNORM = $8F95; RGB8_SNORM = $8F96; RGBA8_SNORM = $8F97; SIGNED_NORMALIZED = $8F9C; COPY_READ_BUFFER = $8F36; COPY_WRITE_BUFFER = $8F37; COPY_READ_BUFFER_BINDING = $8F36; COPY_WRITE_BUFFER_BINDING = $8F37; UNIFORM_BUFFER = $8A11; UNIFORM_BUFFER_BINDING = $8A28; UNIFORM_BUFFER_START = $8A29; UNIFORM_BUFFER_SIZE = $8A2A; MAX_VERTEX_UNIFORM_BLOCKS = $8A2B; MAX_FRAGMENT_UNIFORM_BLOCKS = $8A2D; MAX_COMBINED_UNIFORM_BLOCKS = $8A2E; MAX_UNIFORM_BUFFER_BINDINGS = $8A2F; MAX_UNIFORM_BLOCK_SIZE = $8A30; MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = $8A31; MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = $8A33; UNIFORM_BUFFER_OFFSET_ALIGNMENT = $8A34; ACTIVE_UNIFORM_BLOCKS = $8A36; UNIFORM_TYPE = $8A37; UNIFORM_SIZE = $8A38; UNIFORM_BLOCK_INDEX = $8A3A; UNIFORM_OFFSET = $8A3B; UNIFORM_ARRAY_STRIDE = $8A3C; UNIFORM_MATRIX_STRIDE = $8A3D; UNIFORM_IS_ROW_MAJOR = $8A3E; UNIFORM_BLOCK_BINDING = $8A3F; UNIFORM_BLOCK_DATA_SIZE = $8A40; UNIFORM_BLOCK_ACTIVE_UNIFORMS = $8A42; UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = $8A43; UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = $8A44; UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = $8A46; INVALID_INDEX = $FFFFFFFF; MAX_VERTEX_OUTPUT_COMPONENTS = $9122; MAX_FRAGMENT_INPUT_COMPONENTS = $9125; MAX_SERVER_WAIT_TIMEOUT = $9111; OBJECT_TYPE = $9112; SYNC_CONDITION = $9113; SYNC_STATUS = $9114; SYNC_FLAGS = $9115; SYNC_FENCE = $9116; SYNC_GPU_COMMANDS_COMPLETE = $9117; UNSIGNALED = $9118; SIGNALED = $9119; ALREADY_SIGNALED = $911A; TIMEOUT_EXPIRED = $911B; CONDITION_SATISFIED = $911C; WAIT_FAILED = $911D; SYNC_FLUSH_COMMANDS_BIT = $00000001; VERTEX_ATTRIB_ARRAY_DIVISOR = $88FE; ANY_SAMPLES_PASSED = $8C2F; ANY_SAMPLES_PASSED_CONSERVATIVE = $8D6A; SAMPLER_BINDING = $8919; RGB10_A2UI = $906F; INT_2_10_10_10_REV = $8D9F; TRANSFORM_FEEDBACK = $8E22; TRANSFORM_FEEDBACK_PAUSED = $8E23; TRANSFORM_FEEDBACK_ACTIVE = $8E24; TRANSFORM_FEEDBACK_BINDING = $8E25; TEXTURE_IMMUTABLE_FORMAT = $912F; MAX_ELEMENT_INDEX = $8D6B; TEXTURE_IMMUTABLE_LEVELS = $82DF; TIMEOUT_IGNORED = -1; MAX_CLIENT_WAIT_TIMEOUT_WEBGL = $9247; Public procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); overload; procedure bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); overload; procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); overload; procedure bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); overload; procedure getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); overload; procedure blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); overload; procedure framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); overload; procedure invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); overload; procedure invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure readBuffer(aSrc: TGLenum); overload; function getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; overload; procedure renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); overload; procedure compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); overload; procedure compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); overload; function getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; overload; procedure uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); overload; procedure uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); overload; procedure uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); overload; procedure uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); overload; procedure vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); overload; procedure vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); overload; procedure vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); overload; procedure vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); overload; procedure vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); overload; procedure vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); overload; procedure vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); overload; procedure drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); overload; procedure drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); overload; procedure drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); overload; procedure drawBuffers(const aBuffers: TGLenumDynArray); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); overload; procedure clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); overload; procedure clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); overload; procedure clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); overload; procedure clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); overload; function createQuery: IJSWebGLQuery; overload; procedure deleteQuery(aQuery: IJSWebGLQuery); overload; function isQuery(aQuery: IJSWebGLQuery): TGLboolean; overload; procedure beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); overload; procedure endQuery(aTarget: TGLenum); overload; function getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; overload; function createSampler: IJSWebGLSampler; overload; procedure deleteSampler(aSampler: IJSWebGLSampler); overload; function isSampler(aSampler: IJSWebGLSampler): TGLboolean; overload; procedure bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); overload; procedure samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); overload; procedure samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); overload; function getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; overload; function fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; overload; function isSync(aSync: IJSWebGLSync): TGLboolean; overload; procedure deleteSync(aSync: IJSWebGLSync); overload; function clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; overload; procedure waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); overload; function getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; overload; function createTransformFeedback: IJSWebGLTransformFeedback; overload; procedure deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); overload; function isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; overload; procedure bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); overload; procedure beginTransformFeedback(aPrimitiveMode: TGLenum); overload; procedure endTransformFeedback; overload; procedure transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); overload; function getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; procedure pauseTransformFeedback; overload; procedure resumeTransformFeedback; overload; procedure bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); overload; procedure bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); overload; function getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; overload; function getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; overload; function getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; overload; function getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; overload; function getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; overload; function getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; overload; procedure uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); overload; function createVertexArray: IJSWebGLVertexArrayObject; overload; procedure deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); overload; function isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; overload; procedure bindVertexArray(aArray_: IJSWebGLVertexArrayObject); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGL2RenderingContextBase; end; { -------------------------------------------------------------------- TJSEXT_color_buffer_float --------------------------------------------------------------------} IJSEXT_color_buffer_float = interface(IJSObject) ['{D65EC240-EDDC-3778-80B2-D3FB3E66A1A8}'] end; TJSEXT_color_buffer_float = class(TJSObject,IJSEXT_color_buffer_float) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_color_buffer_float; end; { -------------------------------------------------------------------- TJSOVR_multiview2 --------------------------------------------------------------------} IJSOVR_multiview2 = interface(IJSObject) ['{4B6B11A4-5576-3060-B02E-10347131D7B5}'] procedure framebufferTextureMultiviewOVR(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aBaseViewIndex: TGLint; aNumViews: TGLsizei); end; TJSOVR_multiview2 = class(TJSObject,IJSOVR_multiview2) Private Protected Public Const FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR = $9630; FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR = $9632; MAX_VIEWS_OVR = $9631; FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR = $9633; Public procedure framebufferTextureMultiviewOVR(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aBaseViewIndex: TGLint; aNumViews: TGLsizei); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOVR_multiview2; end; { -------------------------------------------------------------------- TJSWebGLBuffer --------------------------------------------------------------------} IJSWebGLBuffer = interface(IJSObject) ['{EEE0F752-953A-37C2-8C3D-1A2372542131}'] end; TJSWebGLBuffer = class(TJSObject,IJSWebGLBuffer) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLBuffer; end; { -------------------------------------------------------------------- TJSWebGLFramebuffer --------------------------------------------------------------------} IJSWebGLFramebuffer = interface(IJSObject) ['{84BCBAD8-8677-39B6-99B0-E1261E0D8EB9}'] end; TJSWebGLFramebuffer = class(TJSObject,IJSWebGLFramebuffer) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLFramebuffer; end; { -------------------------------------------------------------------- TJSWebGLProgram --------------------------------------------------------------------} IJSWebGLProgram = interface(IJSObject) ['{E6D054BF-57EC-3E53-91C0-F0D81AA2A621}'] end; TJSWebGLProgram = class(TJSObject,IJSWebGLProgram) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLProgram; end; { -------------------------------------------------------------------- TJSWebGLRenderbuffer --------------------------------------------------------------------} IJSWebGLRenderbuffer = interface(IJSObject) ['{2B7E32D5-7E82-3987-B9EA-9E1130F8698D}'] end; TJSWebGLRenderbuffer = class(TJSObject,IJSWebGLRenderbuffer) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLRenderbuffer; end; { -------------------------------------------------------------------- TJSWebGLShader --------------------------------------------------------------------} IJSWebGLShader = interface(IJSObject) ['{EEE0F752-95C0-3CA2-8C3D-1A2372542131}'] end; TJSWebGLShader = class(TJSObject,IJSWebGLShader) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLShader; end; { -------------------------------------------------------------------- TJSWebGLTexture --------------------------------------------------------------------} IJSWebGLTexture = interface(IJSObject) ['{E6D054BF-5709-3123-94C0-F0D81AA2A621}'] end; TJSWebGLTexture = class(TJSObject,IJSWebGLTexture) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLTexture; end; { -------------------------------------------------------------------- TJSWebGLUniformLocation --------------------------------------------------------------------} IJSWebGLUniformLocation = interface(IJSObject) ['{334544B6-4D4F-3D49-8417-E0F31DC9E0F0}'] end; TJSWebGLUniformLocation = class(TJSObject,IJSWebGLUniformLocation) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLUniformLocation; end; { -------------------------------------------------------------------- TJSWebGLVertexArrayObject --------------------------------------------------------------------} IJSWebGLVertexArrayObject = interface(IJSObject) ['{D660E8F5-D611-3D9B-923E-32083C5D63A8}'] end; TJSWebGLVertexArrayObject = class(TJSObject,IJSWebGLVertexArrayObject) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLVertexArrayObject; end; { -------------------------------------------------------------------- TJSWebGLActiveInfo --------------------------------------------------------------------} IJSWebGLActiveInfo = interface(IJSObject) ['{5C4F499C-7D51-3EF2-AC04-FFF3B1C17B95}'] function _Getsize: TGLint; function _Gettype_: TGLenum; function _Getname: UnicodeString; property size: TGLint read _Getsize; property type_: TGLenum read _Gettype_; property name: UnicodeString read _Getname; end; TJSWebGLActiveInfo = class(TJSObject,IJSWebGLActiveInfo) Private Protected function _Getsize: TGLint; function _Gettype_: TGLenum; function _Getname: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLActiveInfo; property size: TGLint read _Getsize; property type_: TGLenum read _Gettype_; property name: UnicodeString read _Getname; end; { -------------------------------------------------------------------- TJSWebGLShaderPrecisionFormat --------------------------------------------------------------------} IJSWebGLShaderPrecisionFormat = interface(IJSObject) ['{C7BA1534-7F59-3861-8144-E24C30E5D63F}'] function _GetrangeMin: TGLint; function _GetrangeMax: TGLint; function _Getprecision: TGLint; property rangeMin: TGLint read _GetrangeMin; property rangeMax: TGLint read _GetrangeMax; property precision: TGLint read _Getprecision; end; TJSWebGLShaderPrecisionFormat = class(TJSObject,IJSWebGLShaderPrecisionFormat) Private Protected function _GetrangeMin: TGLint; function _GetrangeMax: TGLint; function _Getprecision: TGLint; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLShaderPrecisionFormat; property rangeMin: TGLint read _GetrangeMin; property rangeMax: TGLint read _GetrangeMax; property precision: TGLint read _Getprecision; end; { -------------------------------------------------------------------- TJSWebGLRenderingContextBase --------------------------------------------------------------------} IJSWebGLRenderingContextBase = interface(IJSObject) ['{E49A3F0A-15DD-32F2-B442-0F83E83D0435}'] function _Getcanvas: TCanvasSource; function _GetdrawingBufferWidth: TGLsizei; function _GetdrawingBufferHeight: TGLsizei; function getContextAttributes: IJSWebGLContextAttributes; function isContextLost: Boolean; function getSupportedExtensions: TUnicodeStringDynArray; function getExtension(const aName: UnicodeString): IJSObject; procedure activeTexture(aTexture: TGLenum); procedure attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); procedure bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); procedure bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); procedure bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); procedure bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); procedure bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); procedure blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); procedure blendEquation(aMode: TGLenum); procedure blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); procedure blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); procedure blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); function checkFramebufferStatus(aTarget: TGLenum): TGLenum; procedure clear(aMask: TGLbitfield); procedure clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); procedure clearDepth(aDepth: TGLclampf); procedure clearStencil(aS_: TGLint); procedure colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); procedure compileShader(aShader: IJSWebGLShader); procedure copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); procedure copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); function createBuffer: IJSWebGLBuffer; function createFramebuffer: IJSWebGLFramebuffer; function createProgram: IJSWebGLProgram; function createRenderbuffer: IJSWebGLRenderbuffer; function createShader(aType_: TGLenum): IJSWebGLShader; function createTexture: IJSWebGLTexture; procedure cullFace(aMode: TGLenum); procedure deleteBuffer(aBuffer: IJSWebGLBuffer); procedure deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); procedure deleteProgram(aProgram_: IJSWebGLProgram); procedure deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); procedure deleteShader(aShader: IJSWebGLShader); procedure deleteTexture(aTexture: IJSWebGLTexture); procedure depthFunc(aFunc: TGLenum); procedure depthMask(aFlag: TGLboolean); procedure depthRange(aZNear: TGLclampf; aZFar: TGLclampf); procedure detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); procedure disable(aCap: TGLenum); procedure disableVertexAttribArray(aIndex: TGLuint); procedure drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); procedure drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); procedure enable(aCap: TGLenum); procedure enableVertexAttribArray(aIndex: TGLuint); procedure finish; procedure flush; procedure framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); procedure framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); procedure frontFace(aMode: TGLenum); procedure generateMipmap(aTarget: TGLenum); function getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; function getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; function getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; function getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; function getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getParameter(aPname: TGLenum): Variant; function getError: TGLenum; function getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; function getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; function getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; function getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; function getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; function getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; function getShaderSource(aShader: IJSWebGLShader): UnicodeString; function getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; function getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; function getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; function getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; function getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; procedure hint(aTarget: TGLenum; aMode: TGLenum); function isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; function isEnabled(aCap: TGLenum): TGLboolean; function isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; function isProgram(aProgram_: IJSWebGLProgram): TGLboolean; function isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; function isShader(aShader: IJSWebGLShader): TGLboolean; function isTexture(aTexture: IJSWebGLTexture): TGLboolean; procedure lineWidth(aWidth: TGLfloat); procedure linkProgram(aProgram_: IJSWebGLProgram); procedure pixelStorei(aPname: TGLenum; aParam: TGLint); procedure polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); procedure renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); procedure sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); procedure scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); procedure shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); procedure stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); procedure stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); procedure stencilMask(aMask: TGLuint); procedure stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); procedure stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); procedure stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); procedure texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); procedure texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); procedure uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); procedure uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); procedure uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); procedure uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); procedure uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); procedure uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); procedure uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); procedure uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); procedure useProgram(aProgram_: IJSWebGLProgram); procedure validateProgram(aProgram_: IJSWebGLProgram); procedure vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); procedure vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); procedure vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); procedure vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); procedure vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); procedure vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); procedure vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); procedure viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); function makeXRCompatible: IJSPromise; // Promise property canvas: TCanvasSource read _Getcanvas; property drawingBufferWidth: TGLsizei read _GetdrawingBufferWidth; property drawingBufferHeight: TGLsizei read _GetdrawingBufferHeight; end; TJSWebGLRenderingContextBase = class(TJSObject,IJSWebGLRenderingContextBase) Private Protected function _Getcanvas: TCanvasSource; function _GetdrawingBufferWidth: TGLsizei; function _GetdrawingBufferHeight: TGLsizei; Public Const DEPTH_BUFFER_BIT = $00000100; STENCIL_BUFFER_BIT = $00000400; COLOR_BUFFER_BIT = $00004000; POINTS = $0000; LINES = $0001; LINE_LOOP = $0002; LINE_STRIP = $0003; TRIANGLES = $0004; TRIANGLE_STRIP = $0005; TRIANGLE_FAN = $0006; ZERO = 0; ONE = 1; SRC_COLOR = $0300; ONE_MINUS_SRC_COLOR = $0301; SRC_ALPHA = $0302; ONE_MINUS_SRC_ALPHA = $0303; DST_ALPHA = $0304; ONE_MINUS_DST_ALPHA = $0305; DST_COLOR = $0306; ONE_MINUS_DST_COLOR = $0307; SRC_ALPHA_SATURATE = $0308; FUNC_ADD = $8006; BLEND_EQUATION = $8009; BLEND_EQUATION_RGB = $8009; BLEND_EQUATION_ALPHA = $883D; FUNC_SUBTRACT = $800A; FUNC_REVERSE_SUBTRACT = $800B; BLEND_DST_RGB = $80C8; BLEND_SRC_RGB = $80C9; BLEND_DST_ALPHA = $80CA; BLEND_SRC_ALPHA = $80CB; CONSTANT_COLOR = $8001; ONE_MINUS_CONSTANT_COLOR = $8002; CONSTANT_ALPHA = $8003; ONE_MINUS_CONSTANT_ALPHA = $8004; BLEND_COLOR = $8005; ARRAY_BUFFER = $8892; ELEMENT_ARRAY_BUFFER = $8893; ARRAY_BUFFER_BINDING = $8894; ELEMENT_ARRAY_BUFFER_BINDING = $8895; STREAM_DRAW = $88E0; STATIC_DRAW = $88E4; DYNAMIC_DRAW = $88E8; BUFFER_SIZE = $8764; BUFFER_USAGE = $8765; CURRENT_VERTEX_ATTRIB = $8626; FRONT = $0404; BACK = $0405; FRONT_AND_BACK = $0408; CULL_FACE = $0B44; BLEND = $0BE2; DITHER = $0BD0; STENCIL_TEST = $0B90; DEPTH_TEST = $0B71; SCISSOR_TEST = $0C11; POLYGON_OFFSET_FILL = $8037; SAMPLE_ALPHA_TO_COVERAGE = $809E; SAMPLE_COVERAGE = $80A0; NO_ERROR = 0; INVALID_ENUM = $0500; INVALID_VALUE = $0501; INVALID_OPERATION = $0502; OUT_OF_MEMORY = $0505; CW = $0900; CCW = $0901; LINE_WIDTH = $0B21; ALIASED_POINT_SIZE_RANGE = $846D; ALIASED_LINE_WIDTH_RANGE = $846E; CULL_FACE_MODE = $0B45; FRONT_FACE = $0B46; DEPTH_RANGE = $0B70; DEPTH_WRITEMASK = $0B72; DEPTH_CLEAR_VALUE = $0B73; DEPTH_FUNC = $0B74; STENCIL_CLEAR_VALUE = $0B91; STENCIL_FUNC = $0B92; STENCIL_FAIL = $0B94; STENCIL_PASS_DEPTH_FAIL = $0B95; STENCIL_PASS_DEPTH_PASS = $0B96; STENCIL_REF = $0B97; STENCIL_VALUE_MASK = $0B93; STENCIL_WRITEMASK = $0B98; STENCIL_BACK_FUNC = $8800; STENCIL_BACK_FAIL = $8801; STENCIL_BACK_PASS_DEPTH_FAIL = $8802; STENCIL_BACK_PASS_DEPTH_PASS = $8803; STENCIL_BACK_REF = $8CA3; STENCIL_BACK_VALUE_MASK = $8CA4; STENCIL_BACK_WRITEMASK = $8CA5; VIEWPORT_ = $0BA2; SCISSOR_BOX = $0C10; COLOR_CLEAR_VALUE = $0C22; COLOR_WRITEMASK = $0C23; UNPACK_ALIGNMENT = $0CF5; PACK_ALIGNMENT = $0D05; MAX_TEXTURE_SIZE = $0D33; MAX_VIEWPORT_DIMS = $0D3A; SUBPIXEL_BITS = $0D50; RED_BITS = $0D52; GREEN_BITS = $0D53; BLUE_BITS = $0D54; ALPHA_BITS = $0D55; DEPTH_BITS = $0D56; STENCIL_BITS = $0D57; POLYGON_OFFSET_UNITS = $2A00; POLYGON_OFFSET_FACTOR = $8038; TEXTURE_BINDING_2D = $8069; SAMPLE_BUFFERS = $80A8; SAMPLES = $80A9; SAMPLE_COVERAGE_VALUE = $80AA; SAMPLE_COVERAGE_INVERT = $80AB; COMPRESSED_TEXTURE_FORMATS = $86A3; DONT_CARE = $1100; FASTEST = $1101; NICEST = $1102; GENERATE_MIPMAP_HINT = $8192; BYTE = $1400; UNSIGNED_BYTE = $1401; SHORT = $1402; UNSIGNED_SHORT = $1403; INT = $1404; UNSIGNED_INT = $1405; FLOAT = $1406; DEPTH_COMPONENT = $1902; ALPHA = $1906; RGB = $1907; RGBA = $1908; LUMINANCE = $1909; LUMINANCE_ALPHA = $190A; UNSIGNED_SHORT_4_4_4_4 = $8033; UNSIGNED_SHORT_5_5_5_1 = $8034; UNSIGNED_SHORT_5_6_5 = $8363; FRAGMENT_SHADER = $8B30; VERTEX_SHADER = $8B31; MAX_VERTEX_ATTRIBS = $8869; MAX_VERTEX_UNIFORM_VECTORS = $8DFB; MAX_VARYING_VECTORS = $8DFC; MAX_COMBINED_TEXTURE_IMAGE_UNITS = $8B4D; MAX_VERTEX_TEXTURE_IMAGE_UNITS = $8B4C; MAX_TEXTURE_IMAGE_UNITS = $8872; MAX_FRAGMENT_UNIFORM_VECTORS = $8DFD; SHADER_TYPE = $8B4F; DELETE_STATUS = $8B80; LINK_STATUS = $8B82; VALIDATE_STATUS = $8B83; ATTACHED_SHADERS = $8B85; ACTIVE_UNIFORMS = $8B86; ACTIVE_ATTRIBUTES = $8B89; SHADING_LANGUAGE_VERSION = $8B8C; CURRENT_PROGRAM = $8B8D; NEVER = $0200; LESS = $0201; EQUAL = $0202; LEQUAL = $0203; GREATER = $0204; NOTEQUAL = $0205; GEQUAL = $0206; ALWAYS = $0207; KEEP = $1E00; REPLACE = $1E01; INCR = $1E02; DECR = $1E03; INVERT = $150A; INCR_WRAP = $8507; DECR_WRAP = $8508; VENDOR = $1F00; RENDERER = $1F01; VERSION = $1F02; NEAREST = $2600; LINEAR = $2601; NEAREST_MIPMAP_NEAREST = $2700; LINEAR_MIPMAP_NEAREST = $2701; NEAREST_MIPMAP_LINEAR = $2702; LINEAR_MIPMAP_LINEAR = $2703; TEXTURE_MAG_FILTER = $2800; TEXTURE_MIN_FILTER = $2801; TEXTURE_WRAP_S = $2802; TEXTURE_WRAP_T = $2803; TEXTURE_2D = $0DE1; TEXTURE = $1702; TEXTURE_CUBE_MAP = $8513; TEXTURE_BINDING_CUBE_MAP = $8514; TEXTURE_CUBE_MAP_POSITIVE_X = $8515; TEXTURE_CUBE_MAP_NEGATIVE_X = $8516; TEXTURE_CUBE_MAP_POSITIVE_Y = $8517; TEXTURE_CUBE_MAP_NEGATIVE_Y = $8518; TEXTURE_CUBE_MAP_POSITIVE_Z = $8519; TEXTURE_CUBE_MAP_NEGATIVE_Z = $851A; MAX_CUBE_MAP_TEXTURE_SIZE = $851C; TEXTURE0 = $84C0; TEXTURE1 = $84C1; TEXTURE2 = $84C2; TEXTURE3 = $84C3; TEXTURE4 = $84C4; TEXTURE5 = $84C5; TEXTURE6 = $84C6; TEXTURE7 = $84C7; TEXTURE8 = $84C8; TEXTURE9 = $84C9; TEXTURE10 = $84CA; TEXTURE11 = $84CB; TEXTURE12 = $84CC; TEXTURE13 = $84CD; TEXTURE14 = $84CE; TEXTURE15 = $84CF; TEXTURE16 = $84D0; TEXTURE17 = $84D1; TEXTURE18 = $84D2; TEXTURE19 = $84D3; TEXTURE20 = $84D4; TEXTURE21 = $84D5; TEXTURE22 = $84D6; TEXTURE23 = $84D7; TEXTURE24 = $84D8; TEXTURE25 = $84D9; TEXTURE26 = $84DA; TEXTURE27 = $84DB; TEXTURE28 = $84DC; TEXTURE29 = $84DD; TEXTURE30 = $84DE; TEXTURE31 = $84DF; ACTIVE_TEXTURE = $84E0; REPEAT_ = $2901; CLAMP_TO_EDGE = $812F; MIRRORED_REPEAT = $8370; FLOAT_VEC2 = $8B50; FLOAT_VEC3 = $8B51; FLOAT_VEC4 = $8B52; INT_VEC2 = $8B53; INT_VEC3 = $8B54; INT_VEC4 = $8B55; BOOL = $8B56; BOOL_VEC2 = $8B57; BOOL_VEC3 = $8B58; BOOL_VEC4 = $8B59; FLOAT_MAT2 = $8B5A; FLOAT_MAT3 = $8B5B; FLOAT_MAT4 = $8B5C; SAMPLER_2D = $8B5E; SAMPLER_CUBE = $8B60; VERTEX_ATTRIB_ARRAY_ENABLED = $8622; VERTEX_ATTRIB_ARRAY_SIZE = $8623; VERTEX_ATTRIB_ARRAY_STRIDE = $8624; VERTEX_ATTRIB_ARRAY_TYPE = $8625; VERTEX_ATTRIB_ARRAY_NORMALIZED = $886A; VERTEX_ATTRIB_ARRAY_POINTER = $8645; VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = $889F; IMPLEMENTATION_COLOR_READ_TYPE = $8B9A; IMPLEMENTATION_COLOR_READ_FORMAT = $8B9B; COMPILE_STATUS = $8B81; LOW_FLOAT = $8DF0; MEDIUM_FLOAT = $8DF1; HIGH_FLOAT = $8DF2; LOW_INT = $8DF3; MEDIUM_INT = $8DF4; HIGH_INT = $8DF5; FRAMEBUFFER = $8D40; RENDERBUFFER = $8D41; RGBA4 = $8056; RGB5_A1 = $8057; RGB565 = $8D62; DEPTH_COMPONENT16 = $81A5; STENCIL_INDEX8 = $8D48; DEPTH_STENCIL = $84F9; RENDERBUFFER_WIDTH = $8D42; RENDERBUFFER_HEIGHT = $8D43; RENDERBUFFER_INTERNAL_FORMAT = $8D44; RENDERBUFFER_RED_SIZE = $8D50; RENDERBUFFER_GREEN_SIZE = $8D51; RENDERBUFFER_BLUE_SIZE = $8D52; RENDERBUFFER_ALPHA_SIZE = $8D53; RENDERBUFFER_DEPTH_SIZE = $8D54; RENDERBUFFER_STENCIL_SIZE = $8D55; FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = $8CD0; FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = $8CD1; FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = $8CD2; FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = $8CD3; COLOR_ATTACHMENT0 = $8CE0; DEPTH_ATTACHMENT = $8D00; STENCIL_ATTACHMENT = $8D20; DEPTH_STENCIL_ATTACHMENT = $821A; NONE = 0; FRAMEBUFFER_COMPLETE = $8CD5; FRAMEBUFFER_INCOMPLETE_ATTACHMENT = $8CD6; FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = $8CD7; FRAMEBUFFER_INCOMPLETE_DIMENSIONS = $8CD9; FRAMEBUFFER_UNSUPPORTED = $8CDD; FRAMEBUFFER_BINDING = $8CA6; RENDERBUFFER_BINDING = $8CA7; MAX_RENDERBUFFER_SIZE = $84E8; INVALID_FRAMEBUFFER_OPERATION = $0506; UNPACK_FLIP_Y_WEBGL = $9240; UNPACK_PREMULTIPLY_ALPHA_WEBGL = $9241; CONTEXT_LOST_WEBGL = $9242; UNPACK_COLORSPACE_CONVERSION_WEBGL = $9243; BROWSER_DEFAULT_WEBGL = $9244; Public function getContextAttributes: IJSWebGLContextAttributes; overload; function isContextLost: Boolean; overload; function getSupportedExtensions: TUnicodeStringDynArray; overload; function getExtension(const aName: UnicodeString): IJSObject; overload; procedure activeTexture(aTexture: TGLenum); overload; procedure attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); overload; procedure bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); overload; procedure bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); overload; procedure bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); overload; procedure bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); overload; procedure blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); overload; procedure blendEquation(aMode: TGLenum); overload; procedure blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); overload; procedure blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); overload; procedure blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); overload; function checkFramebufferStatus(aTarget: TGLenum): TGLenum; overload; procedure clear(aMask: TGLbitfield); overload; procedure clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); overload; procedure clearDepth(aDepth: TGLclampf); overload; procedure clearStencil(aS_: TGLint); overload; procedure colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); overload; procedure compileShader(aShader: IJSWebGLShader); overload; procedure copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); overload; procedure copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; function createBuffer: IJSWebGLBuffer; overload; function createFramebuffer: IJSWebGLFramebuffer; overload; function createProgram: IJSWebGLProgram; overload; function createRenderbuffer: IJSWebGLRenderbuffer; overload; function createShader(aType_: TGLenum): IJSWebGLShader; overload; function createTexture: IJSWebGLTexture; overload; procedure cullFace(aMode: TGLenum); overload; procedure deleteBuffer(aBuffer: IJSWebGLBuffer); overload; procedure deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); overload; procedure deleteProgram(aProgram_: IJSWebGLProgram); overload; procedure deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure deleteShader(aShader: IJSWebGLShader); overload; procedure deleteTexture(aTexture: IJSWebGLTexture); overload; procedure depthFunc(aFunc: TGLenum); overload; procedure depthMask(aFlag: TGLboolean); overload; procedure depthRange(aZNear: TGLclampf; aZFar: TGLclampf); overload; procedure detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); overload; procedure disable(aCap: TGLenum); overload; procedure disableVertexAttribArray(aIndex: TGLuint); overload; procedure drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); overload; procedure drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); overload; procedure enable(aCap: TGLenum); overload; procedure enableVertexAttribArray(aIndex: TGLuint); overload; procedure finish; overload; procedure flush; overload; procedure framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); overload; procedure framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); overload; procedure frontFace(aMode: TGLenum); overload; procedure generateMipmap(aTarget: TGLenum); overload; function getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; function getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; overload; function getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; overload; function getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; overload; function getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getParameter(aPname: TGLenum): Variant; overload; function getError: TGLenum; overload; function getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; overload; function getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; overload; function getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; overload; function getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; overload; function getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; overload; function getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; overload; function getShaderSource(aShader: IJSWebGLShader): UnicodeString; overload; function getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; overload; function getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; overload; function getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; overload; function getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; overload; procedure hint(aTarget: TGLenum; aMode: TGLenum); overload; function isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; overload; function isEnabled(aCap: TGLenum): TGLboolean; overload; function isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; overload; function isProgram(aProgram_: IJSWebGLProgram): TGLboolean; overload; function isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; overload; function isShader(aShader: IJSWebGLShader): TGLboolean; overload; function isTexture(aTexture: IJSWebGLTexture): TGLboolean; overload; procedure lineWidth(aWidth: TGLfloat); overload; procedure linkProgram(aProgram_: IJSWebGLProgram); overload; procedure pixelStorei(aPname: TGLenum; aParam: TGLint); overload; procedure polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); overload; procedure renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); overload; procedure scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; procedure shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); overload; procedure stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); overload; procedure stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); overload; procedure stencilMask(aMask: TGLuint); overload; procedure stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); overload; procedure stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); overload; procedure stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); overload; procedure texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); overload; procedure texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); overload; procedure uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); overload; procedure uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); overload; procedure uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); overload; procedure uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); overload; procedure uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); overload; procedure uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); overload; procedure uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); overload; procedure uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); overload; procedure useProgram(aProgram_: IJSWebGLProgram); overload; procedure validateProgram(aProgram_: IJSWebGLProgram); overload; procedure vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); overload; procedure vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); overload; procedure vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); overload; procedure vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); overload; procedure vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); overload; procedure vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); overload; procedure vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); overload; procedure viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); overload; function makeXRCompatible: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLRenderingContextBase; property canvas: TCanvasSource read _Getcanvas; property drawingBufferWidth: TGLsizei read _GetdrawingBufferWidth; property drawingBufferHeight: TGLsizei read _GetdrawingBufferHeight; end; { -------------------------------------------------------------------- TJSEXT_texture_compression_bptc --------------------------------------------------------------------} IJSEXT_texture_compression_bptc = interface(IJSObject) ['{E907EACE-5EAE-32C7-82B2-4427249175C8}'] end; TJSEXT_texture_compression_bptc = class(TJSObject,IJSEXT_texture_compression_bptc) Private Protected Public Const COMPRESSED_RGBA_BPTC_UNORM_EXT = $8E8C; COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT = $8E8D; COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT = $8E8E; COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT = $8E8F; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_texture_compression_bptc; end; { -------------------------------------------------------------------- TJSEXT_texture_compression_rgtc --------------------------------------------------------------------} IJSEXT_texture_compression_rgtc = interface(IJSObject) ['{EAEE17C3-49D9-3FFE-92EB-61ACF6E42A49}'] end; TJSEXT_texture_compression_rgtc = class(TJSObject,IJSEXT_texture_compression_rgtc) Private Protected Public Const COMPRESSED_RED_RGTC1_EXT = $8DBB; COMPRESSED_SIGNED_RED_RGTC1_EXT = $8DBC; COMPRESSED_RED_GREEN_RGTC2_EXT = $8DBD; COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT = $8DBE; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_texture_compression_rgtc; end; { -------------------------------------------------------------------- TJSEXT_texture_norm16 --------------------------------------------------------------------} IJSEXT_texture_norm16 = interface(IJSObject) ['{BFAC4B76-DA94-3C24-A0D4-72B7A7DFC618}'] end; TJSEXT_texture_norm16 = class(TJSObject,IJSEXT_texture_norm16) Private Protected Public Const R16_EXT = $822A; RG16_EXT = $822C; RGB16_EXT = $8054; RGBA16_EXT = $805B; R16_SNORM_EXT = $8F98; RG16_SNORM_EXT = $8F99; RGB16_SNORM_EXT = $8F9A; RGBA16_SNORM_EXT = $8F9B; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_texture_norm16; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_s3tc --------------------------------------------------------------------} IJSWEBGL_compressed_texture_s3tc = interface(IJSObject) ['{F0274618-8139-396E-8236-B6B7EF89D263}'] end; TJSWEBGL_compressed_texture_s3tc = class(TJSObject,IJSWEBGL_compressed_texture_s3tc) Private Protected Public Const COMPRESSED_RGB_S3TC_DXT1_EXT = $83F0; COMPRESSED_RGBA_S3TC_DXT1_EXT = $83F1; COMPRESSED_RGBA_S3TC_DXT3_EXT = $83F2; COMPRESSED_RGBA_S3TC_DXT5_EXT = $83F3; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_s3tc; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_s3tc_srgb --------------------------------------------------------------------} IJSWEBGL_compressed_texture_s3tc_srgb = interface(IJSObject) ['{2374FE4F-FBCA-3132-8F97-C771A425D9EB}'] end; TJSWEBGL_compressed_texture_s3tc_srgb = class(TJSObject,IJSWEBGL_compressed_texture_s3tc_srgb) Private Protected Public Const COMPRESSED_SRGB_S3TC_DXT1_EXT = $8C4C; COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = $8C4D; COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = $8C4E; COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT = $8C4F; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_s3tc_srgb; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_astc --------------------------------------------------------------------} IJSWEBGL_compressed_texture_astc = interface(IJSObject) ['{FF6C2C3A-962A-33F1-BD30-05C620E357C6}'] function getSupportedProfiles: TUnicodeStringDynArray; end; TJSWEBGL_compressed_texture_astc = class(TJSObject,IJSWEBGL_compressed_texture_astc) Private Protected Public Const COMPRESSED_RGBA_ASTC_4x4_KHR = $93B0; COMPRESSED_RGBA_ASTC_5x4_KHR = $93B1; COMPRESSED_RGBA_ASTC_5x5_KHR = $93B2; COMPRESSED_RGBA_ASTC_6x5_KHR = $93B3; COMPRESSED_RGBA_ASTC_6x6_KHR = $93B4; COMPRESSED_RGBA_ASTC_8x5_KHR = $93B5; COMPRESSED_RGBA_ASTC_8x6_KHR = $93B6; COMPRESSED_RGBA_ASTC_8x8_KHR = $93B7; COMPRESSED_RGBA_ASTC_10x5_KHR = $93B8; COMPRESSED_RGBA_ASTC_10x6_KHR = $93B9; COMPRESSED_RGBA_ASTC_10x8_KHR = $93BA; COMPRESSED_RGBA_ASTC_10x10_KHR = $93BB; COMPRESSED_RGBA_ASTC_12x10_KHR = $93BC; COMPRESSED_RGBA_ASTC_12x12_KHR = $93BD; COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = $93D0; COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = $93D1; COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = $93D2; COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = $93D3; COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = $93D4; COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = $93D5; COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = $93D6; COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = $93D7; COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = $93D8; COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = $93D9; COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = $93DA; COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = $93DB; COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = $93DC; COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = $93DD; Public function getSupportedProfiles: TUnicodeStringDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_astc; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_etc --------------------------------------------------------------------} IJSWEBGL_compressed_texture_etc = interface(IJSObject) ['{502905B1-5FD2-3862-9A5D-FD88E4ABA50F}'] end; TJSWEBGL_compressed_texture_etc = class(TJSObject,IJSWEBGL_compressed_texture_etc) Private Protected Public Const COMPRESSED_R11_EAC = $9270; COMPRESSED_SIGNED_R11_EAC = $9271; COMPRESSED_RG11_EAC = $9272; COMPRESSED_SIGNED_RG11_EAC = $9273; COMPRESSED_RGB8_ETC2 = $9274; COMPRESSED_SRGB8_ETC2 = $9275; COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = $9276; COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = $9277; COMPRESSED_RGBA8_ETC2_EAC = $9278; COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = $9279; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_etc; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_etc1 --------------------------------------------------------------------} IJSWEBGL_compressed_texture_etc1 = interface(IJSObject) ['{10868591-9E8F-3CD8-8F29-D695F6738E5D}'] end; TJSWEBGL_compressed_texture_etc1 = class(TJSObject,IJSWEBGL_compressed_texture_etc1) Private Protected Public Const COMPRESSED_RGB_ETC1_WEBGL = $8D64; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_etc1; end; { -------------------------------------------------------------------- TJSWEBGL_compressed_texture_pvrtc --------------------------------------------------------------------} IJSWEBGL_compressed_texture_pvrtc = interface(IJSObject) ['{A88FA31E-9545-3BCD-8706-4258291039F2}'] end; TJSWEBGL_compressed_texture_pvrtc = class(TJSObject,IJSWEBGL_compressed_texture_pvrtc) Private Protected Public Const COMPRESSED_RGB_PVRTC_4BPPV1_IMG = $8C00; COMPRESSED_RGB_PVRTC_2BPPV1_IMG = $8C01; COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = $8C02; COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = $8C03; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_pvrtc; end; { -------------------------------------------------------------------- TJSWEBGL_debug_renderer_info --------------------------------------------------------------------} IJSWEBGL_debug_renderer_info = interface(IJSObject) ['{E196B370-86DB-3FF0-9082-445C2080E78E}'] end; TJSWEBGL_debug_renderer_info = class(TJSObject,IJSWEBGL_debug_renderer_info) Private Protected Public Const UNMASKED_VENDOR_WEBGL = $9245; UNMASKED_RENDERER_WEBGL = $9246; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_debug_renderer_info; end; { -------------------------------------------------------------------- TJSWEBGL_debug_shaders --------------------------------------------------------------------} IJSWEBGL_debug_shaders = interface(IJSObject) ['{CEE5B3D6-2D10-3134-AEE9-8FB884B782C9}'] function getTranslatedShaderSource(aShader: IJSWebGLShader): UnicodeString; end; TJSWEBGL_debug_shaders = class(TJSObject,IJSWEBGL_debug_shaders) Private Protected Public function getTranslatedShaderSource(aShader: IJSWebGLShader): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_debug_shaders; end; { -------------------------------------------------------------------- TJSWEBGL_depth_texture --------------------------------------------------------------------} IJSWEBGL_depth_texture = interface(IJSObject) ['{14BBC60C-8BAF-32A8-BB0B-97F4BF6DC170}'] end; TJSWEBGL_depth_texture = class(TJSObject,IJSWEBGL_depth_texture) Private Protected Public Const UNSIGNED_INT_24_8_WEBGL = $84FA; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_depth_texture; end; { -------------------------------------------------------------------- TJSOES_element_index_uint --------------------------------------------------------------------} IJSOES_element_index_uint = interface(IJSObject) ['{D65E59BC-EEC1-33B0-85F5-14A4C90AEEA8}'] end; TJSOES_element_index_uint = class(TJSObject,IJSOES_element_index_uint) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_element_index_uint; end; { -------------------------------------------------------------------- TJSEXT_frag_depth --------------------------------------------------------------------} IJSEXT_frag_depth = interface(IJSObject) ['{A28CA5C5-F232-353D-8BD4-487C3446E5A9}'] end; TJSEXT_frag_depth = class(TJSObject,IJSEXT_frag_depth) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_frag_depth; end; { -------------------------------------------------------------------- TJSWEBGL_lose_context --------------------------------------------------------------------} IJSWEBGL_lose_context = interface(IJSObject) ['{EF904EBE-4834-3C7C-AAB5-521AEC767130}'] procedure loseContext; procedure restoreContext; end; TJSWEBGL_lose_context = class(TJSObject,IJSWEBGL_lose_context) Private Protected Public procedure loseContext; overload; procedure restoreContext; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_lose_context; end; { -------------------------------------------------------------------- TJSEXT_texture_filter_anisotropic --------------------------------------------------------------------} IJSEXT_texture_filter_anisotropic = interface(IJSObject) ['{B19DFFDC-9D1C-3DB2-A948-4CDC9F913183}'] end; TJSEXT_texture_filter_anisotropic = class(TJSObject,IJSEXT_texture_filter_anisotropic) Private Protected Public Const TEXTURE_MAX_ANISOTROPY_EXT = $84FE; MAX_TEXTURE_MAX_ANISOTROPY_EXT = $84FF; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_texture_filter_anisotropic; end; { -------------------------------------------------------------------- TJSEXT_sRGB --------------------------------------------------------------------} IJSEXT_sRGB = interface(IJSObject) ['{B9C6AE83-8AFF-34F8-8274-9419BD51456A}'] end; TJSEXT_sRGB = class(TJSObject,IJSEXT_sRGB) Private Protected Public Const SRGB_EXT = $8C40; SRGB_ALPHA_EXT = $8C42; SRGB8_ALPHA8_EXT = $8C43; FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT = $8210; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_sRGB; end; { -------------------------------------------------------------------- TJSOES_standard_derivatives --------------------------------------------------------------------} IJSOES_standard_derivatives = interface(IJSObject) ['{85C0E20C-05F0-37C9-8D23-76690955801F}'] end; TJSOES_standard_derivatives = class(TJSObject,IJSOES_standard_derivatives) Private Protected Public Const FRAGMENT_SHADER_DERIVATIVE_HINT_OES = $8B8B; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_standard_derivatives; end; { -------------------------------------------------------------------- TJSOES_texture_float --------------------------------------------------------------------} IJSOES_texture_float = interface(IJSObject) ['{2B7DA39C-A620-379E-847B-D04950F8698D}'] end; TJSOES_texture_float = class(TJSObject,IJSOES_texture_float) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_texture_float; end; { -------------------------------------------------------------------- TJSWEBGL_draw_buffers --------------------------------------------------------------------} IJSWEBGL_draw_buffers = interface(IJSObject) ['{32A0CDB9-3796-3649-8E26-EBFEA16BC652}'] procedure drawBuffersWEBGL(const aBuffers: TGLenumDynArray); end; TJSWEBGL_draw_buffers = class(TJSObject,IJSWEBGL_draw_buffers) Private Protected Public Const COLOR_ATTACHMENT0_WEBGL = $8CE0; COLOR_ATTACHMENT1_WEBGL = $8CE1; COLOR_ATTACHMENT2_WEBGL = $8CE2; COLOR_ATTACHMENT3_WEBGL = $8CE3; COLOR_ATTACHMENT4_WEBGL = $8CE4; COLOR_ATTACHMENT5_WEBGL = $8CE5; COLOR_ATTACHMENT6_WEBGL = $8CE6; COLOR_ATTACHMENT7_WEBGL = $8CE7; COLOR_ATTACHMENT8_WEBGL = $8CE8; COLOR_ATTACHMENT9_WEBGL = $8CE9; COLOR_ATTACHMENT10_WEBGL = $8CEA; COLOR_ATTACHMENT11_WEBGL = $8CEB; COLOR_ATTACHMENT12_WEBGL = $8CEC; COLOR_ATTACHMENT13_WEBGL = $8CED; COLOR_ATTACHMENT14_WEBGL = $8CEE; COLOR_ATTACHMENT15_WEBGL = $8CEF; DRAW_BUFFER0_WEBGL = $8825; DRAW_BUFFER1_WEBGL = $8826; DRAW_BUFFER2_WEBGL = $8827; DRAW_BUFFER3_WEBGL = $8828; DRAW_BUFFER4_WEBGL = $8829; DRAW_BUFFER5_WEBGL = $882A; DRAW_BUFFER6_WEBGL = $882B; DRAW_BUFFER7_WEBGL = $882C; DRAW_BUFFER8_WEBGL = $882D; DRAW_BUFFER9_WEBGL = $882E; DRAW_BUFFER10_WEBGL = $882F; DRAW_BUFFER11_WEBGL = $8830; DRAW_BUFFER12_WEBGL = $8831; DRAW_BUFFER13_WEBGL = $8832; DRAW_BUFFER14_WEBGL = $8833; DRAW_BUFFER15_WEBGL = $8834; MAX_COLOR_ATTACHMENTS_WEBGL = $8CDF; MAX_DRAW_BUFFERS_WEBGL = $8824; Public procedure drawBuffersWEBGL(const aBuffers: TGLenumDynArray); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_draw_buffers; end; { -------------------------------------------------------------------- TJSOES_texture_float_linear --------------------------------------------------------------------} IJSOES_texture_float_linear = interface(IJSObject) ['{80481F65-0D71-30A2-A7A0-A6AA234038D8}'] end; TJSOES_texture_float_linear = class(TJSObject,IJSOES_texture_float_linear) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_texture_float_linear; end; { -------------------------------------------------------------------- TJSEXT_shader_texture_lod --------------------------------------------------------------------} IJSEXT_shader_texture_lod = interface(IJSObject) ['{D65EC240-FCA0-31B2-B491-68C36CB24F28}'] end; TJSEXT_shader_texture_lod = class(TJSObject,IJSEXT_shader_texture_lod) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_shader_texture_lod; end; { -------------------------------------------------------------------- TJSOES_texture_half_float --------------------------------------------------------------------} IJSOES_texture_half_float = interface(IJSObject) ['{0C827F30-44FE-37A5-89F3-AEA33E66AC3C}'] end; TJSOES_texture_half_float = class(TJSObject,IJSOES_texture_half_float) Private Protected Public Const HALF_FLOAT_OES = $8D61; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_texture_half_float; end; { -------------------------------------------------------------------- TJSOES_texture_half_float_linear --------------------------------------------------------------------} IJSOES_texture_half_float_linear = interface(IJSObject) ['{7A46FE69-63CD-3666-B190-30355050D213}'] end; TJSOES_texture_half_float_linear = class(TJSObject,IJSOES_texture_half_float_linear) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_texture_half_float_linear; end; { -------------------------------------------------------------------- TJSWEBGL_color_buffer_float --------------------------------------------------------------------} IJSWEBGL_color_buffer_float = interface(IJSObject) ['{1C25836A-B929-3322-9D51-EAFC9FAAAD30}'] end; TJSWEBGL_color_buffer_float = class(TJSObject,IJSWEBGL_color_buffer_float) Private Protected Public Const RGBA32F_EXT = $8814; RGB32F_EXT = $8815; FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = $8211; UNSIGNED_NORMALIZED_EXT = $8C17; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_color_buffer_float; end; { -------------------------------------------------------------------- TJSEXT_color_buffer_half_float --------------------------------------------------------------------} IJSEXT_color_buffer_half_float = interface(IJSObject) ['{BB900451-2C4D-3683-9563-62457BEB166D}'] end; TJSEXT_color_buffer_half_float = class(TJSObject,IJSEXT_color_buffer_half_float) Private Protected Public Const RGBA16F_EXT = $881A; RGB16F_EXT = $881B; FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT = $8211; UNSIGNED_NORMALIZED_EXT = $8C17; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_color_buffer_half_float; end; { -------------------------------------------------------------------- TJSOES_vertex_array_object --------------------------------------------------------------------} IJSOES_vertex_array_object = interface(IJSObject) ['{4ABF74AF-5F5E-3E43-A4B2-5C9944CE6A3C}'] function createVertexArrayOES: IJSWebGLVertexArrayObject; procedure deleteVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); function isVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject): TGLboolean; procedure bindVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); end; TJSOES_vertex_array_object = class(TJSObject,IJSOES_vertex_array_object) Private Protected Public Const VERTEX_ARRAY_BINDING_OES = $85B5; Public function createVertexArrayOES: IJSWebGLVertexArrayObject; overload; procedure deleteVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); overload; function isVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject): TGLboolean; overload; procedure bindVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_vertex_array_object; end; { -------------------------------------------------------------------- TJSANGLE_instanced_arrays --------------------------------------------------------------------} IJSANGLE_instanced_arrays = interface(IJSObject) ['{0E0941FF-892B-3230-85CA-25E0156FDC86}'] procedure drawArraysInstancedANGLE(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aPrimcount: TGLsizei); procedure drawElementsInstancedANGLE(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aPrimcount: TGLsizei); procedure vertexAttribDivisorANGLE(aIndex: TGLuint; aDivisor: TGLuint); end; TJSANGLE_instanced_arrays = class(TJSObject,IJSANGLE_instanced_arrays) Private Protected Public Const VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = $88FE; Public procedure drawArraysInstancedANGLE(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aPrimcount: TGLsizei); overload; procedure drawElementsInstancedANGLE(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aPrimcount: TGLsizei); overload; procedure vertexAttribDivisorANGLE(aIndex: TGLuint; aDivisor: TGLuint); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSANGLE_instanced_arrays; end; { -------------------------------------------------------------------- TJSEXT_blend_minmax --------------------------------------------------------------------} IJSEXT_blend_minmax = interface(IJSObject) ['{6B68B361-44A4-3323-8438-1A18AD6CCC64}'] end; TJSEXT_blend_minmax = class(TJSObject,IJSEXT_blend_minmax) Private Protected Public Const MIN_EXT = $8007; MAX_EXT = $8008; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_blend_minmax; end; { -------------------------------------------------------------------- TJSWebGLQuery --------------------------------------------------------------------} IJSWebGLQuery = interface(IJSObject) ['{F0F56ABA-6D4F-375C-87C0-636E89A48332}'] end; TJSWebGLQuery = class(TJSObject,IJSWebGLQuery) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLQuery; end; { -------------------------------------------------------------------- TJSEXT_disjoint_timer_query --------------------------------------------------------------------} IJSEXT_disjoint_timer_query = interface(IJSObject) ['{B08F1DD2-20BA-3E87-B41A-09AB51EF7B9F}'] function createQueryEXT: IJSWebGLQuery; procedure deleteQueryEXT(aQuery: IJSWebGLQuery); function isQueryEXT(aQuery: IJSWebGLQuery): Boolean; procedure beginQueryEXT(aTarget: TGLenum; aQuery: IJSWebGLQuery); procedure endQueryEXT(aTarget: TGLenum); procedure queryCounterEXT(aQuery: IJSWebGLQuery; aTarget: TGLenum); function getQueryEXT(aTarget: TGLenum; aPname: TGLenum): Variant; function getQueryObjectEXT(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; end; TJSEXT_disjoint_timer_query = class(TJSObject,IJSEXT_disjoint_timer_query) Private Protected Public Const QUERY_COUNTER_BITS_EXT = $8864; CURRENT_QUERY_EXT = $8865; QUERY_RESULT_EXT = $8866; QUERY_RESULT_AVAILABLE_EXT = $8867; TIME_ELAPSED_EXT = $88BF; TIMESTAMP_EXT = $8E28; GPU_DISJOINT_EXT = $8FBB; Public function createQueryEXT: IJSWebGLQuery; overload; procedure deleteQueryEXT(aQuery: IJSWebGLQuery); overload; function isQueryEXT(aQuery: IJSWebGLQuery): Boolean; overload; procedure beginQueryEXT(aTarget: TGLenum; aQuery: IJSWebGLQuery); overload; procedure endQueryEXT(aTarget: TGLenum); overload; procedure queryCounterEXT(aQuery: IJSWebGLQuery; aTarget: TGLenum); overload; function getQueryEXT(aTarget: TGLenum; aPname: TGLenum): Variant; overload; function getQueryObjectEXT(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_disjoint_timer_query; end; { -------------------------------------------------------------------- TJSMOZ_debug --------------------------------------------------------------------} IJSMOZ_debug = interface(IJSObject) ['{6756779A-7C82-3416-B075-CB82F7F38759}'] function getParameter(aPname: TGLenum): Variant; end; TJSMOZ_debug = class(TJSObject,IJSMOZ_debug) Private Protected Public Const EXTENSIONS = $1F03; WSI_INFO = $10000; UNPACK_REQUIRE_FASTPATH = $10001; DOES_INDEX_VALIDATION = $10002; Public function getParameter(aPname: TGLenum): Variant; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMOZ_debug; end; { -------------------------------------------------------------------- TJSEXT_float_blend --------------------------------------------------------------------} IJSEXT_float_blend = interface(IJSObject) ['{AC6B95A4-ABDF-3E0F-A938-8943E0B13444}'] end; TJSEXT_float_blend = class(TJSObject,IJSEXT_float_blend) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEXT_float_blend; end; { -------------------------------------------------------------------- TJSOES_fbo_render_mipmap --------------------------------------------------------------------} IJSOES_fbo_render_mipmap = interface(IJSObject) ['{E0F1EFE9-8E37-397F-9776-01221D0C900F}'] end; TJSOES_fbo_render_mipmap = class(TJSObject,IJSOES_fbo_render_mipmap) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_fbo_render_mipmap; end; { -------------------------------------------------------------------- TJSWEBGL_explicit_present --------------------------------------------------------------------} IJSWEBGL_explicit_present = interface(IJSObject) ['{28B9E715-D559-395F-9A75-42796C01798F}'] procedure present; end; TJSWEBGL_explicit_present = class(TJSObject,IJSWEBGL_explicit_present) Private Protected Public procedure present; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_explicit_present; end; { -------------------------------------------------------------------- TJSOES_draw_buffers_indexed --------------------------------------------------------------------} IJSOES_draw_buffers_indexed = interface(IJSObject) ['{302CA20A-D54E-3465-BD83-DE6842BDF66E}'] procedure enableiOES(aTarget: TGLenum; aIndex: TGLuint); procedure disableiOES(aTarget: TGLenum; aIndex: TGLuint); procedure blendEquationiOES(aBuf: TGLuint; aMode: TGLenum); procedure blendEquationSeparateiOES(aBuf: TGLuint; aModeRGB: TGLenum; aModeAlpha: TGLenum); procedure blendFunciOES(aBuf: TGLuint; aSrc: TGLenum; aDst: TGLenum); procedure blendFuncSeparateiOES(aBuf: TGLuint; aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); procedure colorMaskiOES(aBuf: TGLuint; aR: TGLboolean; aG: TGLboolean; aB: TGLboolean; aA: TGLboolean); end; TJSOES_draw_buffers_indexed = class(TJSObject,IJSOES_draw_buffers_indexed) Private Protected Public procedure enableiOES(aTarget: TGLenum; aIndex: TGLuint); overload; procedure disableiOES(aTarget: TGLenum; aIndex: TGLuint); overload; procedure blendEquationiOES(aBuf: TGLuint; aMode: TGLenum); overload; procedure blendEquationSeparateiOES(aBuf: TGLuint; aModeRGB: TGLenum; aModeAlpha: TGLenum); overload; procedure blendFunciOES(aBuf: TGLuint; aSrc: TGLenum; aDst: TGLenum); overload; procedure blendFuncSeparateiOES(aBuf: TGLuint; aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); overload; procedure colorMaskiOES(aBuf: TGLuint; aR: TGLboolean; aG: TGLboolean; aB: TGLboolean; aA: TGLboolean); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOES_draw_buffers_indexed; end; { -------------------------------------------------------------------- TJSWEBGL_provoking_vertex --------------------------------------------------------------------} IJSWEBGL_provoking_vertex = interface(IJSObject) ['{0EF532CE-CEC1-3696-90F1-403816C02DB3}'] procedure provokingVertexWEBGL(aProvokeMode: TGLenum); end; TJSWEBGL_provoking_vertex = class(TJSObject,IJSWEBGL_provoking_vertex) Private Protected Public Const FIRST_VERTEX_CONVENTION_WEBGL = $8E4D; LAST_VERTEX_CONVENTION_WEBGL = $8E4E; PROVOKING_VERTEX_WEBGL = $8E4F; Public procedure provokingVertexWEBGL(aProvokeMode: TGLenum); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWEBGL_provoking_vertex; end; { -------------------------------------------------------------------- TJSGPUObjectBase --------------------------------------------------------------------} IJSGPUObjectBase = interface(IJSObject) ['{DF40ECF0-D2C3-3EB6-9E40-D7D9FF71BF75}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUObjectBase = class(TJSObject,IJSGPUObjectBase) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUObjectBase; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPUSupportedLimits --------------------------------------------------------------------} IJSGPUSupportedLimits = interface(IJSObject) ['{19E413AF-72B2-3B3A-9959-C6D19AB80E33}'] function _GetmaxTextureDimension1D: Cardinal; function _GetmaxTextureDimension2D: Cardinal; function _GetmaxTextureDimension3D: Cardinal; function _GetmaxTextureArrayLayers: Cardinal; function _GetmaxBindGroups: Cardinal; function _GetmaxBindGroupsPlusVertexBuffers: Cardinal; function _GetmaxBindingsPerBindGroup: Cardinal; function _GetmaxDynamicUniformBuffersPerPipelineLayout: Cardinal; function _GetmaxDynamicStorageBuffersPerPipelineLayout: Cardinal; function _GetmaxSampledTexturesPerShaderStage: Cardinal; function _GetmaxSamplersPerShaderStage: Cardinal; function _GetmaxStorageBuffersPerShaderStage: Cardinal; function _GetmaxStorageTexturesPerShaderStage: Cardinal; function _GetmaxUniformBuffersPerShaderStage: Cardinal; function _GetmaxUniformBufferBindingSize: QWord; function _GetmaxStorageBufferBindingSize: QWord; function _GetminUniformBufferOffsetAlignment: Cardinal; function _GetminStorageBufferOffsetAlignment: Cardinal; function _GetmaxVertexBuffers: Cardinal; function _GetmaxBufferSize: QWord; function _GetmaxVertexAttributes: Cardinal; function _GetmaxVertexBufferArrayStride: Cardinal; function _GetmaxInterStageShaderComponents: Cardinal; function _GetmaxInterStageShaderVariables: Cardinal; function _GetmaxColorAttachments: Cardinal; function _GetmaxColorAttachmentBytesPerSample: Cardinal; function _GetmaxComputeWorkgroupStorageSize: Cardinal; function _GetmaxComputeInvocationsPerWorkgroup: Cardinal; function _GetmaxComputeWorkgroupSizeX: Cardinal; function _GetmaxComputeWorkgroupSizeY: Cardinal; function _GetmaxComputeWorkgroupSizeZ: Cardinal; function _GetmaxComputeWorkgroupsPerDimension: Cardinal; property maxTextureDimension1D: Cardinal read _GetmaxTextureDimension1D; property maxTextureDimension2D: Cardinal read _GetmaxTextureDimension2D; property maxTextureDimension3D: Cardinal read _GetmaxTextureDimension3D; property maxTextureArrayLayers: Cardinal read _GetmaxTextureArrayLayers; property maxBindGroups: Cardinal read _GetmaxBindGroups; property maxBindGroupsPlusVertexBuffers: Cardinal read _GetmaxBindGroupsPlusVertexBuffers; property maxBindingsPerBindGroup: Cardinal read _GetmaxBindingsPerBindGroup; property maxDynamicUniformBuffersPerPipelineLayout: Cardinal read _GetmaxDynamicUniformBuffersPerPipelineLayout; property maxDynamicStorageBuffersPerPipelineLayout: Cardinal read _GetmaxDynamicStorageBuffersPerPipelineLayout; property maxSampledTexturesPerShaderStage: Cardinal read _GetmaxSampledTexturesPerShaderStage; property maxSamplersPerShaderStage: Cardinal read _GetmaxSamplersPerShaderStage; property maxStorageBuffersPerShaderStage: Cardinal read _GetmaxStorageBuffersPerShaderStage; property maxStorageTexturesPerShaderStage: Cardinal read _GetmaxStorageTexturesPerShaderStage; property maxUniformBuffersPerShaderStage: Cardinal read _GetmaxUniformBuffersPerShaderStage; property maxUniformBufferBindingSize: QWord read _GetmaxUniformBufferBindingSize; property maxStorageBufferBindingSize: QWord read _GetmaxStorageBufferBindingSize; property minUniformBufferOffsetAlignment: Cardinal read _GetminUniformBufferOffsetAlignment; property minStorageBufferOffsetAlignment: Cardinal read _GetminStorageBufferOffsetAlignment; property maxVertexBuffers: Cardinal read _GetmaxVertexBuffers; property maxBufferSize: QWord read _GetmaxBufferSize; property maxVertexAttributes: Cardinal read _GetmaxVertexAttributes; property maxVertexBufferArrayStride: Cardinal read _GetmaxVertexBufferArrayStride; property maxInterStageShaderComponents: Cardinal read _GetmaxInterStageShaderComponents; property maxInterStageShaderVariables: Cardinal read _GetmaxInterStageShaderVariables; property maxColorAttachments: Cardinal read _GetmaxColorAttachments; property maxColorAttachmentBytesPerSample: Cardinal read _GetmaxColorAttachmentBytesPerSample; property maxComputeWorkgroupStorageSize: Cardinal read _GetmaxComputeWorkgroupStorageSize; property maxComputeInvocationsPerWorkgroup: Cardinal read _GetmaxComputeInvocationsPerWorkgroup; property maxComputeWorkgroupSizeX: Cardinal read _GetmaxComputeWorkgroupSizeX; property maxComputeWorkgroupSizeY: Cardinal read _GetmaxComputeWorkgroupSizeY; property maxComputeWorkgroupSizeZ: Cardinal read _GetmaxComputeWorkgroupSizeZ; property maxComputeWorkgroupsPerDimension: Cardinal read _GetmaxComputeWorkgroupsPerDimension; end; TJSGPUSupportedLimits = class(TJSObject,IJSGPUSupportedLimits) Private Protected function _GetmaxTextureDimension1D: Cardinal; function _GetmaxTextureDimension2D: Cardinal; function _GetmaxTextureDimension3D: Cardinal; function _GetmaxTextureArrayLayers: Cardinal; function _GetmaxBindGroups: Cardinal; function _GetmaxBindGroupsPlusVertexBuffers: Cardinal; function _GetmaxBindingsPerBindGroup: Cardinal; function _GetmaxDynamicUniformBuffersPerPipelineLayout: Cardinal; function _GetmaxDynamicStorageBuffersPerPipelineLayout: Cardinal; function _GetmaxSampledTexturesPerShaderStage: Cardinal; function _GetmaxSamplersPerShaderStage: Cardinal; function _GetmaxStorageBuffersPerShaderStage: Cardinal; function _GetmaxStorageTexturesPerShaderStage: Cardinal; function _GetmaxUniformBuffersPerShaderStage: Cardinal; function _GetmaxUniformBufferBindingSize: QWord; function _GetmaxStorageBufferBindingSize: QWord; function _GetminUniformBufferOffsetAlignment: Cardinal; function _GetminStorageBufferOffsetAlignment: Cardinal; function _GetmaxVertexBuffers: Cardinal; function _GetmaxBufferSize: QWord; function _GetmaxVertexAttributes: Cardinal; function _GetmaxVertexBufferArrayStride: Cardinal; function _GetmaxInterStageShaderComponents: Cardinal; function _GetmaxInterStageShaderVariables: Cardinal; function _GetmaxColorAttachments: Cardinal; function _GetmaxColorAttachmentBytesPerSample: Cardinal; function _GetmaxComputeWorkgroupStorageSize: Cardinal; function _GetmaxComputeInvocationsPerWorkgroup: Cardinal; function _GetmaxComputeWorkgroupSizeX: Cardinal; function _GetmaxComputeWorkgroupSizeY: Cardinal; function _GetmaxComputeWorkgroupSizeZ: Cardinal; function _GetmaxComputeWorkgroupsPerDimension: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUSupportedLimits; property maxTextureDimension1D: Cardinal read _GetmaxTextureDimension1D; property maxTextureDimension2D: Cardinal read _GetmaxTextureDimension2D; property maxTextureDimension3D: Cardinal read _GetmaxTextureDimension3D; property maxTextureArrayLayers: Cardinal read _GetmaxTextureArrayLayers; property maxBindGroups: Cardinal read _GetmaxBindGroups; property maxBindGroupsPlusVertexBuffers: Cardinal read _GetmaxBindGroupsPlusVertexBuffers; property maxBindingsPerBindGroup: Cardinal read _GetmaxBindingsPerBindGroup; property maxDynamicUniformBuffersPerPipelineLayout: Cardinal read _GetmaxDynamicUniformBuffersPerPipelineLayout; property maxDynamicStorageBuffersPerPipelineLayout: Cardinal read _GetmaxDynamicStorageBuffersPerPipelineLayout; property maxSampledTexturesPerShaderStage: Cardinal read _GetmaxSampledTexturesPerShaderStage; property maxSamplersPerShaderStage: Cardinal read _GetmaxSamplersPerShaderStage; property maxStorageBuffersPerShaderStage: Cardinal read _GetmaxStorageBuffersPerShaderStage; property maxStorageTexturesPerShaderStage: Cardinal read _GetmaxStorageTexturesPerShaderStage; property maxUniformBuffersPerShaderStage: Cardinal read _GetmaxUniformBuffersPerShaderStage; property maxUniformBufferBindingSize: QWord read _GetmaxUniformBufferBindingSize; property maxStorageBufferBindingSize: QWord read _GetmaxStorageBufferBindingSize; property minUniformBufferOffsetAlignment: Cardinal read _GetminUniformBufferOffsetAlignment; property minStorageBufferOffsetAlignment: Cardinal read _GetminStorageBufferOffsetAlignment; property maxVertexBuffers: Cardinal read _GetmaxVertexBuffers; property maxBufferSize: QWord read _GetmaxBufferSize; property maxVertexAttributes: Cardinal read _GetmaxVertexAttributes; property maxVertexBufferArrayStride: Cardinal read _GetmaxVertexBufferArrayStride; property maxInterStageShaderComponents: Cardinal read _GetmaxInterStageShaderComponents; property maxInterStageShaderVariables: Cardinal read _GetmaxInterStageShaderVariables; property maxColorAttachments: Cardinal read _GetmaxColorAttachments; property maxColorAttachmentBytesPerSample: Cardinal read _GetmaxColorAttachmentBytesPerSample; property maxComputeWorkgroupStorageSize: Cardinal read _GetmaxComputeWorkgroupStorageSize; property maxComputeInvocationsPerWorkgroup: Cardinal read _GetmaxComputeInvocationsPerWorkgroup; property maxComputeWorkgroupSizeX: Cardinal read _GetmaxComputeWorkgroupSizeX; property maxComputeWorkgroupSizeY: Cardinal read _GetmaxComputeWorkgroupSizeY; property maxComputeWorkgroupSizeZ: Cardinal read _GetmaxComputeWorkgroupSizeZ; property maxComputeWorkgroupsPerDimension: Cardinal read _GetmaxComputeWorkgroupsPerDimension; end; { -------------------------------------------------------------------- TJSGPUSupportedFeatures --------------------------------------------------------------------} IJSGPUSupportedFeatures = interface(IJSObject) ['{33443A04-F629-390D-8FF0-9099332280F0}'] end; TJSGPUSupportedFeatures = class(TJSObject,IJSGPUSupportedFeatures) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUSupportedFeatures; end; { -------------------------------------------------------------------- TJSGPUAdapterInfo --------------------------------------------------------------------} IJSGPUAdapterInfo = interface(IJSObject) ['{71937EA5-6881-36F7-8F9C-19540620DF37}'] function _Getvendor: UnicodeString; function _Getarchitecture: UnicodeString; function _Getdevice: UnicodeString; function _Getdescription: UnicodeString; property vendor: UnicodeString read _Getvendor; property architecture: UnicodeString read _Getarchitecture; property device: UnicodeString read _Getdevice; property description: UnicodeString read _Getdescription; end; TJSGPUAdapterInfo = class(TJSObject,IJSGPUAdapterInfo) Private Protected function _Getvendor: UnicodeString; function _Getarchitecture: UnicodeString; function _Getdevice: UnicodeString; function _Getdescription: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUAdapterInfo; property vendor: UnicodeString read _Getvendor; property architecture: UnicodeString read _Getarchitecture; property device: UnicodeString read _Getdevice; property description: UnicodeString read _Getdescription; end; { -------------------------------------------------------------------- TJSNavigatorGPU --------------------------------------------------------------------} IJSNavigatorGPU = interface(IJSObject) ['{E6CEC214-B176-3FED-B614-DE9BE542A621}'] function _Getgpu: IJSGPU; property gpu: IJSGPU read _Getgpu; end; TJSNavigatorGPU = class(TJSObject,IJSNavigatorGPU) Private Protected function _Getgpu: IJSGPU; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNavigatorGPU; property gpu: IJSGPU read _Getgpu; end; { -------------------------------------------------------------------- TJSGPU --------------------------------------------------------------------} IJSGPU = interface(IJSObject) ['{BD9279E8-AC43-3057-9FF1-B03DFC76EBCE}'] function requestAdapter(const aOptions: IJSGPURequestAdapterOptions): IJSPromise; // Promise function requestAdapter: IJSPromise; // Promise function getPreferredCanvasFormat: TGPUTextureFormat; end; TJSGPU = class(TJSObject,IJSGPU) Private Protected Public function requestAdapter(const aOptions: IJSGPURequestAdapterOptions): IJSPromise; overload; // Promise function requestAdapter: IJSPromise; overload; // Promise function getPreferredCanvasFormat: TGPUTextureFormat; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPU; end; { -------------------------------------------------------------------- TJSGPUAdapter --------------------------------------------------------------------} IJSGPUAdapter = interface(IJSObject) ['{3A247037-3E87-37F8-BDB8-473634084F48}'] function _Getfeatures: IJSGPUSupportedFeatures; function _Getlimits: IJSGPUSupportedLimits; function _GetisFallbackAdapter: Boolean; function requestDevice(const aDescriptor: IJSGPUDeviceDescriptor): IJSPromise; // Promise function requestDevice: IJSPromise; // Promise function requestAdapterInfo(const aUnmaskHints: TUnicodeStringDynArray): IJSPromise; // Promise function requestAdapterInfo: IJSPromise; // Promise property features: IJSGPUSupportedFeatures read _Getfeatures; property limits: IJSGPUSupportedLimits read _Getlimits; property isFallbackAdapter: Boolean read _GetisFallbackAdapter; end; TJSGPUAdapter = class(TJSObject,IJSGPUAdapter) Private Protected function _Getfeatures: IJSGPUSupportedFeatures; function _Getlimits: IJSGPUSupportedLimits; function _GetisFallbackAdapter: Boolean; Public function requestDevice(const aDescriptor: IJSGPUDeviceDescriptor): IJSPromise; overload; // Promise function requestDevice: IJSPromise; overload; // Promise function requestAdapterInfo(const aUnmaskHints: TUnicodeStringDynArray): IJSPromise; overload; // Promise function requestAdapterInfo: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUAdapter; property features: IJSGPUSupportedFeatures read _Getfeatures; property limits: IJSGPUSupportedLimits read _Getlimits; property isFallbackAdapter: Boolean read _GetisFallbackAdapter; end; { -------------------------------------------------------------------- TJSGPUBufferUsage --------------------------------------------------------------------} IJSGPUBufferUsage = interface(IJSObject) ['{B3FF8426-2B77-3C43-8EAE-5DC383BA25A9}'] end; TJSGPUBufferUsage = class(TJSObject,IJSGPUBufferUsage) Private Protected Public Const MAP_READ = $0001; MAP_WRITE = $0002; COPY_SRC = $0004; COPY_DST = $0008; INDEX = $0010; VERTEX = $0020; UNIFORM = $0040; STORAGE = $0080; INDIRECT = $0100; QUERY_RESOLVE = $0200; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBufferUsage; end; { -------------------------------------------------------------------- TJSGPUMapMode --------------------------------------------------------------------} IJSGPUMapMode = interface(IJSObject) ['{F0F46007-423D-3A2C-8CD9-C007B8698332}'] end; TJSGPUMapMode = class(TJSObject,IJSGPUMapMode) Private Protected Public Const READ = $0001; WRITE = $0002; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUMapMode; end; { -------------------------------------------------------------------- TJSGPUTextureUsage --------------------------------------------------------------------} IJSGPUTextureUsage = interface(IJSObject) ['{0461CAD3-0228-393D-B4B5-E08AAA078046}'] end; TJSGPUTextureUsage = class(TJSObject,IJSGPUTextureUsage) Private Protected Public Const COPY_SRC = $01; COPY_DST = $02; TEXTURE_BINDING = $04; STORAGE_BINDING = $08; RENDER_ATTACHMENT = $10; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTextureUsage; end; { -------------------------------------------------------------------- TJSGPUShaderStage --------------------------------------------------------------------} IJSGPUShaderStage = interface(IJSObject) ['{E333A64D-D12F-3528-85F2-BB92FE3A183A}'] end; TJSGPUShaderStage = class(TJSObject,IJSGPUShaderStage) Private Protected Public Const VERTEX = $1; FRAGMENT = $2; COMPUTE = $4; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUShaderStage; end; { -------------------------------------------------------------------- TJSGPUCompilationMessage --------------------------------------------------------------------} IJSGPUCompilationMessage = interface(IJSObject) ['{398A3F0E-25AD-364A-86A1-B3280E1C82FB}'] function _Getmessage: UnicodeString; function _Gettype_: TGPUCompilationMessageType; function _GetlineNum: QWord; function _GetlinePos: QWord; function _Getoffset: QWord; function _Getlength_: QWord; property message: UnicodeString read _Getmessage; property type_: TGPUCompilationMessageType read _Gettype_; property lineNum: QWord read _GetlineNum; property linePos: QWord read _GetlinePos; property offset: QWord read _Getoffset; property length_: QWord read _Getlength_; end; TJSGPUCompilationMessage = class(TJSObject,IJSGPUCompilationMessage) Private Protected function _Getmessage: UnicodeString; function _Gettype_: TGPUCompilationMessageType; function _GetlineNum: QWord; function _GetlinePos: QWord; function _Getoffset: QWord; function _Getlength_: QWord; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCompilationMessage; property message: UnicodeString read _Getmessage; property type_: TGPUCompilationMessageType read _Gettype_; property lineNum: QWord read _GetlineNum; property linePos: QWord read _GetlinePos; property offset: QWord read _Getoffset; property length_: QWord read _Getlength_; end; { -------------------------------------------------------------------- TJSGPUCompilationInfo --------------------------------------------------------------------} TJSGPUCompilationMessageDynArray = IJSArray; // array of GPUCompilationMessage IJSGPUCompilationInfo = interface(IJSObject) ['{6B06EF23-31A2-3B58-87D0-2CC8540C75EC}'] function _Getmessages: TJSGPUCompilationMessageDynArray; property messages: TJSGPUCompilationMessageDynArray read _Getmessages; end; TJSGPUCompilationInfo = class(TJSObject,IJSGPUCompilationInfo) Private Protected function _Getmessages: TJSGPUCompilationMessageDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCompilationInfo; property messages: TJSGPUCompilationMessageDynArray read _Getmessages; end; { -------------------------------------------------------------------- TJSGPUPipelineBase --------------------------------------------------------------------} IJSGPUPipelineBase = interface(IJSObject) ['{03CEFDCE-F487-3367-B0F4-0F26385ABDD9}'] function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; end; TJSGPUPipelineBase = class(TJSObject,IJSGPUPipelineBase) Private Protected Public function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUPipelineBase; end; { -------------------------------------------------------------------- TJSGPUComputePipeline --------------------------------------------------------------------} IJSGPUComputePipeline = interface(IJSObject) ['{8C04EBA3-9F68-344F-B29A-40B663F99D35}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUComputePipeline = class(TJSObject,IJSGPUComputePipeline) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUComputePipeline; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPURenderPipeline --------------------------------------------------------------------} IJSGPURenderPipeline = interface(IJSObject) ['{D3B37DB6-C02A-3A09-8FA5-54EAFCD14204}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPURenderPipeline = class(TJSObject,IJSGPURenderPipeline) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public function getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPipeline; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPUColorWrite --------------------------------------------------------------------} IJSGPUColorWrite = interface(IJSObject) ['{ACEB913B-6E4C-3683-9E55-EC5CD5AC62E4}'] end; TJSGPUColorWrite = class(TJSObject,IJSGPUColorWrite) Private Protected Public Const RED = $1; GREEN = $2; BLUE = $4; ALPHA = $8; ALL = $F; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUColorWrite; end; { -------------------------------------------------------------------- TJSGPUCommandsMixin --------------------------------------------------------------------} IJSGPUCommandsMixin = interface(IJSObject) ['{84BBB024-2AAD-39C7-98B4-721E1E0D8EB9}'] end; TJSGPUCommandsMixin = class(TJSObject,IJSGPUCommandsMixin) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCommandsMixin; end; { -------------------------------------------------------------------- TJSGPUCommandEncoder --------------------------------------------------------------------} TGPUIntegerCoordinateDynArray = IJSArray; // array of GPUIntegerCoordinate IJSGPUCommandEncoder = interface(IJSObject) ['{50008FF5-BD44-3608-A4B4-906B36E6DC12}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); function beginRenderPass(const aDescriptor: IJSGPURenderPassDescriptor): IJSGPURenderPassEncoder; function beginComputePass(const aDescriptor: IJSGPUComputePassDescriptor): IJSGPUComputePassEncoder; function beginComputePass: IJSGPUComputePassEncoder; procedure copyBufferToBuffer(aSource: IJSGPUBuffer; aSourceOffset: TGPUSize64; aDestination: IJSGPUBuffer; aDestinationOffset: TGPUSize64; aSize: TGPUSize64); procedure copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); procedure copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); procedure copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: IJSGPUExtent3DDict); procedure copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: TGPUIntegerCoordinateDynArray); procedure copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); procedure copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); procedure clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); procedure clearBuffer(aBuffer: IJSGPUBuffer); procedure clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); function finish(const aDescriptor: IJSGPUCommandBufferDescriptor): IJSGPUCommandBuffer; function finish: IJSGPUCommandBuffer; procedure pushDebugGroup(const aGroupLabel: UnicodeString); procedure popDebugGroup; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUCommandEncoder = class(TJSObject,IJSGPUCommandEncoder) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public function beginRenderPass(const aDescriptor: IJSGPURenderPassDescriptor): IJSGPURenderPassEncoder; overload; function beginComputePass(const aDescriptor: IJSGPUComputePassDescriptor): IJSGPUComputePassEncoder; overload; function beginComputePass: IJSGPUComputePassEncoder; overload; procedure copyBufferToBuffer(aSource: IJSGPUBuffer; aSourceOffset: TGPUSize64; aDestination: IJSGPUBuffer; aDestinationOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); overload; procedure copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); overload; procedure copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: IJSGPUExtent3DDict); overload; procedure copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: TGPUIntegerCoordinateDynArray); overload; procedure copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); overload; procedure copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); overload; procedure clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure clearBuffer(aBuffer: IJSGPUBuffer); overload; procedure clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); overload; function finish(const aDescriptor: IJSGPUCommandBufferDescriptor): IJSGPUCommandBuffer; overload; function finish: IJSGPUCommandBuffer; overload; procedure pushDebugGroup(const aGroupLabel: UnicodeString); overload; procedure popDebugGroup; overload; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCommandEncoder; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPUBindingCommandsMixin --------------------------------------------------------------------} TGPUBufferDynamicOffsetDynArray = IJSArray; // array of GPUBufferDynamicOffset IJSGPUBindingCommandsMixin = interface(IJSObject) ['{7F62F319-8332-3B2C-A2B2-E4771A95EBC2}'] procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); end; TJSGPUBindingCommandsMixin = class(TJSObject,IJSGPUBindingCommandsMixin) Private Protected Public procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindingCommandsMixin; end; { -------------------------------------------------------------------- TJSGPUDebugCommandsMixin --------------------------------------------------------------------} IJSGPUDebugCommandsMixin = interface(IJSObject) ['{0D57B49F-01EC-3A00-AEC8-7DB33EE61ADC}'] procedure pushDebugGroup(const aGroupLabel: UnicodeString); procedure popDebugGroup; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); end; TJSGPUDebugCommandsMixin = class(TJSObject,IJSGPUDebugCommandsMixin) Private Protected Public procedure pushDebugGroup(const aGroupLabel: UnicodeString); overload; procedure popDebugGroup; overload; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUDebugCommandsMixin; end; { -------------------------------------------------------------------- TJSGPUComputePassEncoder --------------------------------------------------------------------} IJSGPUComputePassEncoder = interface(IJSObject) ['{8735412F-85E2-3DB3-BB2B-3B080FB08A28}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); procedure setPipeline(aPipeline: IJSGPUComputePipeline); procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32; aWorkgroupCountZ: TGPUSize32); procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32); procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32); procedure dispatchWorkgroupsIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); procedure end_; procedure pushDebugGroup(const aGroupLabel: UnicodeString); procedure popDebugGroup; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUComputePassEncoder = class(TJSObject,IJSGPUComputePassEncoder) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public procedure setPipeline(aPipeline: IJSGPUComputePipeline); overload; procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32; aWorkgroupCountZ: TGPUSize32); overload; procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32); overload; procedure dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32); overload; procedure dispatchWorkgroupsIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; procedure end_; overload; procedure pushDebugGroup(const aGroupLabel: UnicodeString); overload; procedure popDebugGroup; overload; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUComputePassEncoder; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPURenderPassEncoder --------------------------------------------------------------------} TJSGPURenderBundleDynArray = IJSArray; // array of GPURenderBundle IJSGPURenderPassEncoder = interface(IJSObject) ['{09978F20-716E-33DF-ADD4-9D32BCDB2F87}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); procedure setViewport(aX: Single; aY: Single; aWidth: Single; aHeight: Single; aMinDepth: Single; aMaxDepth: Single); procedure setScissorRect(aX: TGPUIntegerCoordinate; aY: TGPUIntegerCoordinate; aWidth: TGPUIntegerCoordinate; aHeight: TGPUIntegerCoordinate); procedure setBlendConstant(const aColor: IJSGPUColorDict); procedure setBlendConstant(const aColor: TDoubleDynArray); procedure setStencilReference(aReference: TGPUStencilValue); procedure executeBundles(const aBundles: TJSGPURenderBundleDynArray); procedure end_; procedure pushDebugGroup(const aGroupLabel: UnicodeString); procedure popDebugGroup; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); procedure setPipeline(aPipeline: IJSGPURenderPipeline); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); procedure draw(aVertexCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPURenderPassEncoder = class(TJSObject,IJSGPURenderPassEncoder) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public procedure setViewport(aX: Single; aY: Single; aWidth: Single; aHeight: Single; aMinDepth: Single; aMaxDepth: Single); overload; procedure setScissorRect(aX: TGPUIntegerCoordinate; aY: TGPUIntegerCoordinate; aWidth: TGPUIntegerCoordinate; aHeight: TGPUIntegerCoordinate); overload; procedure setBlendConstant(const aColor: IJSGPUColorDict); overload; procedure setBlendConstant(const aColor: TDoubleDynArray); overload; procedure setStencilReference(aReference: TGPUStencilValue); overload; procedure executeBundles(const aBundles: TJSGPURenderBundleDynArray); overload; procedure end_; overload; procedure pushDebugGroup(const aGroupLabel: UnicodeString); overload; procedure popDebugGroup; overload; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); overload; procedure setPipeline(aPipeline: IJSGPURenderPipeline); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); overload; procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderPassEncoder; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPURenderCommandsMixin --------------------------------------------------------------------} IJSGPURenderCommandsMixin = interface(IJSObject) ['{4D8B5793-FD43-3A9D-9137-2CE0F8D7380E}'] procedure setPipeline(aPipeline: IJSGPURenderPipeline); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); procedure draw(aVertexCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); end; TJSGPURenderCommandsMixin = class(TJSObject,IJSGPURenderCommandsMixin) Private Protected Public procedure setPipeline(aPipeline: IJSGPURenderPipeline); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); overload; procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderCommandsMixin; end; { -------------------------------------------------------------------- TJSGPURenderBundleEncoder --------------------------------------------------------------------} IJSGPURenderBundleEncoder = interface(IJSObject) ['{73885434-1492-31D3-B1A2-EEEB134789EC}'] function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); function finish(const aDescriptor: IJSGPURenderBundleDescriptor): IJSGPURenderBundle; function finish: IJSGPURenderBundle; procedure pushDebugGroup(const aGroupLabel: UnicodeString); procedure popDebugGroup; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); procedure setPipeline(aPipeline: IJSGPURenderPipeline); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); procedure draw(aVertexCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPURenderBundleEncoder = class(TJSObject,IJSGPURenderBundleEncoder) Private Protected function _Getlabel_: UnicodeString; procedure _Setlabel_(const aValue: UnicodeString); Public function finish(const aDescriptor: IJSGPURenderBundleDescriptor): IJSGPURenderBundle; overload; function finish: IJSGPURenderBundle; overload; procedure pushDebugGroup(const aGroupLabel: UnicodeString); overload; procedure popDebugGroup; overload; procedure insertDebugMarker(const aMarkerLabel: UnicodeString); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); overload; procedure setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); overload; procedure setPipeline(aPipeline: IJSGPURenderPipeline); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); overload; procedure setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); overload; procedure setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); overload; procedure drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); overload; procedure drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; procedure drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderBundleEncoder; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPUCanvasContext --------------------------------------------------------------------} // Union of HTMLCanvasElement, OffscreenCanvas TGPUCanvasContext_canvas_Type = Variant; IJSGPUCanvasContext = interface(IJSObject) ['{6885BBC7-27AC-3DEE-8941-E6D804F0040E}'] function _Getcanvas: TGPUCanvasContext_canvas_Type; procedure configure(const aConfiguration: IJSGPUCanvasConfiguration); procedure unconfigure; function getCurrentTexture: IJSGPUTexture; property canvas: TGPUCanvasContext_canvas_Type read _Getcanvas; end; TJSGPUCanvasContext = class(TJSObject,IJSGPUCanvasContext) Private Protected function _Getcanvas: TGPUCanvasContext_canvas_Type; Public procedure configure(const aConfiguration: IJSGPUCanvasConfiguration); overload; procedure unconfigure; overload; function getCurrentTexture: IJSGPUTexture; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCanvasContext; property canvas: TGPUCanvasContext_canvas_Type read _Getcanvas; end; { -------------------------------------------------------------------- TJSGPUDeviceLostInfo --------------------------------------------------------------------} IJSGPUDeviceLostInfo = interface(IJSObject) ['{989755D6-236A-357E-AF36-DF1C4FD319A1}'] function _Getreason: Variant; function _Getmessage: UnicodeString; property reason: Variant read _Getreason; property message: UnicodeString read _Getmessage; end; TJSGPUDeviceLostInfo = class(TJSObject,IJSGPUDeviceLostInfo) Private Protected function _Getreason: Variant; function _Getmessage: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUDeviceLostInfo; property reason: Variant read _Getreason; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSGPUError --------------------------------------------------------------------} IJSGPUError = interface(IJSObject) ['{98CB4C5F-BC46-3C40-A0B0-46ECD50B84B3}'] function _Getmessage: UnicodeString; property message: UnicodeString read _Getmessage; end; TJSGPUError = class(TJSObject,IJSGPUError) Private Protected function _Getmessage: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUError; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSnsITransportProvider --------------------------------------------------------------------} IJSnsITransportProvider = interface(IJSObject) ['{3346BB54-12AF-31E9-85FB-FB1C6C2260F0}'] end; TJSnsITransportProvider = class(TJSObject,IJSnsITransportProvider) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsITransportProvider; end; { -------------------------------------------------------------------- TJSScheduler --------------------------------------------------------------------} IJSScheduler = interface(IJSObject) ['{338276D1-3918-37FE-8B1E-5736D390C552}'] function postTask(const aCallback: TSchedulerPostTaskCallback; const aOptions: IJSSchedulerPostTaskOptions): IJSPromise; // Promise function postTask(const aCallback: TSchedulerPostTaskCallback): IJSPromise; // Promise end; TJSScheduler = class(TJSObject,IJSScheduler) Private Protected Public function postTask(const aCallback: TSchedulerPostTaskCallback; const aOptions: IJSSchedulerPostTaskOptions): IJSPromise; overload; // Promise function postTask(const aCallback: TSchedulerPostTaskCallback): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScheduler; end; { -------------------------------------------------------------------- TJSWebTransport --------------------------------------------------------------------} IJSWebTransport = interface(IJSObject) ['{38998DFD-BBC2-3731-895A-2B24628C6267}'] function _Getready: IJSPromise; function _Getreliability: TWebTransportReliabilityMode; function _GetcongestionControl: TWebTransportCongestionControl; function _Getclosed: IJSPromise; function _Getdatagrams: IJSWebTransportDatagramDuplexStream; function _GetincomingBidirectionalStreams: IJSReadableStream; function _GetincomingUnidirectionalStreams: IJSReadableStream; function getStats: IJSPromise; // Promise procedure close(const aCloseInfo: IJSWebTransportCloseInfo); procedure close; function createBidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; // Promise function createBidirectionalStream: IJSPromise; // Promise function createUnidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; // Promise function createUnidirectionalStream: IJSPromise; // Promise property ready: IJSPromise read _Getready; property reliability: TWebTransportReliabilityMode read _Getreliability; property congestionControl: TWebTransportCongestionControl read _GetcongestionControl; property closed: IJSPromise read _Getclosed; property datagrams: IJSWebTransportDatagramDuplexStream read _Getdatagrams; property incomingBidirectionalStreams: IJSReadableStream read _GetincomingBidirectionalStreams; property incomingUnidirectionalStreams: IJSReadableStream read _GetincomingUnidirectionalStreams; end; TJSWebTransport = class(TJSObject,IJSWebTransport) Private Protected function _Getready: IJSPromise; function _Getreliability: TWebTransportReliabilityMode; function _GetcongestionControl: TWebTransportCongestionControl; function _Getclosed: IJSPromise; function _Getdatagrams: IJSWebTransportDatagramDuplexStream; function _GetincomingBidirectionalStreams: IJSReadableStream; function _GetincomingUnidirectionalStreams: IJSReadableStream; Public constructor Create(const aUrl: UnicodeString; const aOptions: IJSWebTransportOptions); overload; constructor Create(const aUrl: UnicodeString); overload; function getStats: IJSPromise; overload; // Promise procedure close(const aCloseInfo: IJSWebTransportCloseInfo); overload; procedure close; overload; function createBidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; overload; // Promise function createBidirectionalStream: IJSPromise; overload; // Promise function createUnidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; overload; // Promise function createUnidirectionalStream: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransport; property ready: IJSPromise read _Getready; property reliability: TWebTransportReliabilityMode read _Getreliability; property congestionControl: TWebTransportCongestionControl read _GetcongestionControl; property closed: IJSPromise read _Getclosed; property datagrams: IJSWebTransportDatagramDuplexStream read _Getdatagrams; property incomingBidirectionalStreams: IJSReadableStream read _GetincomingBidirectionalStreams; property incomingUnidirectionalStreams: IJSReadableStream read _GetincomingUnidirectionalStreams; end; { -------------------------------------------------------------------- TJSWebTransportDatagramDuplexStream --------------------------------------------------------------------} IJSWebTransportDatagramDuplexStream = interface(IJSObject) ['{15D88670-07F7-3B5A-BE1E-7493004CD85D}'] function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; function _GetmaxDatagramSize: Cardinal; function _GetincomingMaxAge: Double; function _GetoutgoingMaxAge: Double; function _GetincomingHighWaterMark: Double; function _GetoutgoingHighWaterMark: Double; procedure _SetincomingMaxAge(const aValue: Double); procedure _SetoutgoingMaxAge(const aValue: Double); procedure _SetincomingHighWaterMark(const aValue: Double); procedure _SetoutgoingHighWaterMark(const aValue: Double); property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; property maxDatagramSize: Cardinal read _GetmaxDatagramSize; property incomingMaxAge: Double read _GetincomingMaxAge write _SetincomingMaxAge; property outgoingMaxAge: Double read _GetoutgoingMaxAge write _SetoutgoingMaxAge; property incomingHighWaterMark: Double read _GetincomingHighWaterMark write _SetincomingHighWaterMark; property outgoingHighWaterMark: Double read _GetoutgoingHighWaterMark write _SetoutgoingHighWaterMark; end; TJSWebTransportDatagramDuplexStream = class(TJSObject,IJSWebTransportDatagramDuplexStream) Private Protected function _Getreadable: IJSReadableStream; function _Getwritable: IJSWritableStream; function _GetmaxDatagramSize: Cardinal; function _GetincomingMaxAge: Double; function _GetoutgoingMaxAge: Double; function _GetincomingHighWaterMark: Double; function _GetoutgoingHighWaterMark: Double; procedure _SetincomingMaxAge(const aValue: Double); procedure _SetoutgoingMaxAge(const aValue: Double); procedure _SetincomingHighWaterMark(const aValue: Double); procedure _SetoutgoingHighWaterMark(const aValue: Double); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportDatagramDuplexStream; property readable: IJSReadableStream read _Getreadable; property writable: IJSWritableStream read _Getwritable; property maxDatagramSize: Cardinal read _GetmaxDatagramSize; property incomingMaxAge: Double read _GetincomingMaxAge write _SetincomingMaxAge; property outgoingMaxAge: Double read _GetoutgoingMaxAge write _SetoutgoingMaxAge; property incomingHighWaterMark: Double read _GetincomingHighWaterMark write _SetincomingHighWaterMark; property outgoingHighWaterMark: Double read _GetoutgoingHighWaterMark write _SetoutgoingHighWaterMark; end; { -------------------------------------------------------------------- TJSWebTransportBidirectionalStream --------------------------------------------------------------------} IJSWebTransportBidirectionalStream = interface(IJSObject) ['{58A9AC67-3F2D-36F4-A75F-9048B41A48FB}'] function _Getreadable: IJSWebTransportReceiveStream; function _Getwritable: IJSWebTransportSendStream; property readable: IJSWebTransportReceiveStream read _Getreadable; property writable: IJSWebTransportSendStream read _Getwritable; end; TJSWebTransportBidirectionalStream = class(TJSObject,IJSWebTransportBidirectionalStream) Private Protected function _Getreadable: IJSWebTransportReceiveStream; function _Getwritable: IJSWebTransportSendStream; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportBidirectionalStream; property readable: IJSWebTransportReceiveStream read _Getreadable; property writable: IJSWebTransportSendStream read _Getwritable; end; { -------------------------------------------------------------------- TJSXRRenderState --------------------------------------------------------------------} IJSXRRenderState = interface(IJSObject) ['{EA087F1B-C1EB-3FE7-8ED2-0A38C9F790B3}'] function _GetdepthNear: Double; function _GetdepthFar: Double; function _GetinlineVerticalFieldOfView: Double; function _GetbaseLayer: IJSXRWebGLLayer; property depthNear: Double read _GetdepthNear; property depthFar: Double read _GetdepthFar; property inlineVerticalFieldOfView: Double read _GetinlineVerticalFieldOfView; property baseLayer: IJSXRWebGLLayer read _GetbaseLayer; end; TJSXRRenderState = class(TJSObject,IJSXRRenderState) Private Protected function _GetdepthNear: Double; function _GetdepthFar: Double; function _GetinlineVerticalFieldOfView: Double; function _GetbaseLayer: IJSXRWebGLLayer; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRRenderState; property depthNear: Double read _GetdepthNear; property depthFar: Double read _GetdepthFar; property inlineVerticalFieldOfView: Double read _GetinlineVerticalFieldOfView; property baseLayer: IJSXRWebGLLayer read _GetbaseLayer; end; { -------------------------------------------------------------------- TJSXRFrame --------------------------------------------------------------------} IJSXRFrame = interface(IJSObject) ['{064A0E77-8648-3888-868F-454E64D60FF6}'] function _Getsession: IJSXRSession; function getViewerPose(aReferenceSpace: IJSXRReferenceSpace): IJSXRViewerPose; function getPose(aSpace: IJSXRSpace; aBaseSpace: IJSXRSpace): IJSXRPose; property session: IJSXRSession read _Getsession; end; TJSXRFrame = class(TJSObject,IJSXRFrame) Private Protected function _Getsession: IJSXRSession; Public function getViewerPose(aReferenceSpace: IJSXRReferenceSpace): IJSXRViewerPose; overload; function getPose(aSpace: IJSXRSpace; aBaseSpace: IJSXRSpace): IJSXRPose; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRFrame; property session: IJSXRSession read _Getsession; end; { -------------------------------------------------------------------- TJSXRView --------------------------------------------------------------------} IJSXRView = interface(IJSObject) ['{F2065928-1681-3DE8-8A0D-88C925F16AAC}'] function _Geteye: TXREye; function _GetprojectionMatrix: IJSFloat32Array; function _Gettransform: IJSXRRigidTransform; property eye: TXREye read _Geteye; property projectionMatrix: IJSFloat32Array read _GetprojectionMatrix; property transform: IJSXRRigidTransform read _Gettransform; end; TJSXRView = class(TJSObject,IJSXRView) Private Protected function _Geteye: TXREye; function _GetprojectionMatrix: IJSFloat32Array; function _Gettransform: IJSXRRigidTransform; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRView; property eye: TXREye read _Geteye; property projectionMatrix: IJSFloat32Array read _GetprojectionMatrix; property transform: IJSXRRigidTransform read _Gettransform; end; { -------------------------------------------------------------------- TJSXRViewport --------------------------------------------------------------------} IJSXRViewport = interface(IJSObject) ['{B2D2AB8B-6805-32C3-BF73-F740367C8627}'] function _Getx: LongInt; function _Gety: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; property x: LongInt read _Getx; property y: LongInt read _Gety; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; end; TJSXRViewport = class(TJSObject,IJSXRViewport) Private Protected function _Getx: LongInt; function _Gety: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRViewport; property x: LongInt read _Getx; property y: LongInt read _Gety; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; end; { -------------------------------------------------------------------- TJSXRRigidTransform --------------------------------------------------------------------} IJSXRRigidTransform = interface(IJSObject) ['{EE29224E-6FCB-3D4D-B9B9-967E2374EBA4}'] function _Getposition: IJSDOMPointReadOnly; function _Getorientation: IJSDOMPointReadOnly; function _Getmatrix: IJSFloat32Array; function _Getinverse: IJSXRRigidTransform; property position: IJSDOMPointReadOnly read _Getposition; property orientation: IJSDOMPointReadOnly read _Getorientation; property matrix: IJSFloat32Array read _Getmatrix; property inverse: IJSXRRigidTransform read _Getinverse; end; TJSXRRigidTransform = class(TJSObject,IJSXRRigidTransform) Private Protected function _Getposition: IJSDOMPointReadOnly; function _Getorientation: IJSDOMPointReadOnly; function _Getmatrix: IJSFloat32Array; function _Getinverse: IJSXRRigidTransform; Public constructor Create(const aPosition: IJSDOMPointInit; const aOrientation: IJSDOMPointInit); overload; constructor Create; overload; constructor Create(const aPosition: IJSDOMPointInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRRigidTransform; property position: IJSDOMPointReadOnly read _Getposition; property orientation: IJSDOMPointReadOnly read _Getorientation; property matrix: IJSFloat32Array read _Getmatrix; property inverse: IJSXRRigidTransform read _Getinverse; end; { -------------------------------------------------------------------- TJSXRPose --------------------------------------------------------------------} IJSXRPose = interface(IJSObject) ['{10D6597F-F3FA-38A3-A5D1-3DDB26749611}'] function _Gettransform: IJSXRRigidTransform; function _GetemulatedPosition: Boolean; property transform: IJSXRRigidTransform read _Gettransform; property emulatedPosition: Boolean read _GetemulatedPosition; end; TJSXRPose = class(TJSObject,IJSXRPose) Private Protected function _Gettransform: IJSXRRigidTransform; function _GetemulatedPosition: Boolean; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRPose; property transform: IJSXRRigidTransform read _Gettransform; property emulatedPosition: Boolean read _GetemulatedPosition; end; { -------------------------------------------------------------------- TJSXRInputSource --------------------------------------------------------------------} IJSXRInputSource = interface(IJSObject) ['{5AACB449-BF75-3322-8A7D-2AF8C6577E0D}'] function _Gethandedness: TXRHandedness; function _GettargetRayMode: TXRTargetRayMode; function _GettargetRaySpace: IJSXRSpace; function _GetgripSpace: IJSXRSpace; function _Getprofiles: TUnicodeStringDynArray; function _Getgamepad: IJSGamepad; property handedness: TXRHandedness read _Gethandedness; property targetRayMode: TXRTargetRayMode read _GettargetRayMode; property targetRaySpace: IJSXRSpace read _GettargetRaySpace; property gripSpace: IJSXRSpace read _GetgripSpace; property profiles: TUnicodeStringDynArray read _Getprofiles; property gamepad: IJSGamepad read _Getgamepad; end; TJSXRInputSource = class(TJSObject,IJSXRInputSource) Private Protected function _Gethandedness: TXRHandedness; function _GettargetRayMode: TXRTargetRayMode; function _GettargetRaySpace: IJSXRSpace; function _GetgripSpace: IJSXRSpace; function _Getprofiles: TUnicodeStringDynArray; function _Getgamepad: IJSGamepad; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSource; property handedness: TXRHandedness read _Gethandedness; property targetRayMode: TXRTargetRayMode read _GettargetRayMode; property targetRaySpace: IJSXRSpace read _GettargetRaySpace; property gripSpace: IJSXRSpace read _GetgripSpace; property profiles: TUnicodeStringDynArray read _Getprofiles; property gamepad: IJSGamepad read _Getgamepad; end; { -------------------------------------------------------------------- TJSXRInputSourceArray --------------------------------------------------------------------} IJSXRInputSourceArray = interface(IJSObject) ['{65968016-04DE-33E1-87C5-CE1009EC4A12}'] function _Getlength_: Cardinal; function GetDefault(aIndex: Cardinal): IJSXRInputSource; property length_: Cardinal read _Getlength_; end; TJSXRInputSourceArray = class(TJSObject,IJSXRInputSourceArray) Private Protected function _Getlength_: Cardinal; Public function GetDefault(aIndex: Cardinal): IJSXRInputSource; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSourceArray; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSXRWebGLLayer --------------------------------------------------------------------} IJSXRWebGLLayer = interface(IJSObject) ['{2EF0D9AD-C696-3FB5-8C02-4048F537982A}'] function _Getantialias: Boolean; function _GetignoreDepthValues: Boolean; function _Getframebuffer: IJSWebGLFramebuffer; function _GetframebufferWidth: Cardinal; function _GetframebufferHeight: Cardinal; function getViewport(aView: IJSXRView): IJSXRViewport; property antialias: Boolean read _Getantialias; property ignoreDepthValues: Boolean read _GetignoreDepthValues; property framebuffer: IJSWebGLFramebuffer read _Getframebuffer; property framebufferWidth: Cardinal read _GetframebufferWidth; property framebufferHeight: Cardinal read _GetframebufferHeight; end; TJSXRWebGLLayer = class(TJSObject,IJSXRWebGLLayer) Private Protected function _Getantialias: Boolean; function _GetignoreDepthValues: Boolean; function _Getframebuffer: IJSWebGLFramebuffer; function _GetframebufferWidth: Cardinal; function _GetframebufferHeight: Cardinal; Public constructor Create(aSession: IJSXRSession; aContext: IJSWebGL2RenderingContext; const aLayerInit: IJSXRWebGLLayerInit); overload; constructor Create(aSession: IJSXRSession; aContext: IJSWebGLRenderingContext; const aLayerInit: IJSXRWebGLLayerInit); overload; constructor Create(aSession: IJSXRSession; aContext: IJSWebGLRenderingContext); overload; constructor Create(aSession: IJSXRSession; aContext: IJSWebGL2RenderingContext); overload; function getViewport(aView: IJSXRView): IJSXRViewport; overload; function getNativeFramebufferScaleFactor(aSession: IJSXRSession): Double; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRWebGLLayer; property antialias: Boolean read _Getantialias; property ignoreDepthValues: Boolean read _GetignoreDepthValues; property framebuffer: IJSWebGLFramebuffer read _Getframebuffer; property framebufferWidth: Cardinal read _GetframebufferWidth; property framebufferHeight: Cardinal read _GetframebufferHeight; end; { -------------------------------------------------------------------- TJSnsIBrowserDOMWindow --------------------------------------------------------------------} IJSnsIBrowserDOMWindow = interface(IJSObject) ['{7D9E6ECD-E32A-31DE-9B97-DF76A7603D1A}'] end; TJSnsIBrowserDOMWindow = class(TJSObject,IJSnsIBrowserDOMWindow) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIBrowserDOMWindow; end; { -------------------------------------------------------------------- TJSnsIDOMWindowUtils --------------------------------------------------------------------} IJSnsIDOMWindowUtils = interface(IJSObject) ['{2B7FAA71-2156-3F28-AF6A-0EDF40F8698D}'] end; TJSnsIDOMWindowUtils = class(TJSObject,IJSnsIDOMWindowUtils) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIDOMWindowUtils; end; { -------------------------------------------------------------------- TJSnsIPrintSettings --------------------------------------------------------------------} IJSnsIPrintSettings = interface(IJSObject) ['{84BC3276-CC8E-3E16-A193-21A81E0D8EB9}'] end; TJSnsIPrintSettings = class(TJSObject,IJSnsIPrintSettings) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSnsIPrintSettings; end; { -------------------------------------------------------------------- TJSWindowSessionStorage --------------------------------------------------------------------} IJSWindowSessionStorage = interface(IJSObject) ['{978F59A5-BA9C-30AE-9C23-4963F9D4721D}'] function _GetsessionStorage: IJSStorage; property sessionStorage: IJSStorage read _GetsessionStorage; end; TJSWindowSessionStorage = class(TJSObject,IJSWindowSessionStorage) Private Protected function _GetsessionStorage: IJSStorage; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowSessionStorage; property sessionStorage: IJSStorage read _GetsessionStorage; end; { -------------------------------------------------------------------- TJSWindowLocalStorage --------------------------------------------------------------------} IJSWindowLocalStorage = interface(IJSObject) ['{327EE918-DACC-37C9-B555-3EEE5FF6F080}'] function _GetlocalStorage: IJSStorage; property localStorage: IJSStorage read _GetlocalStorage; end; TJSWindowLocalStorage = class(TJSObject,IJSWindowLocalStorage) Private Protected function _GetlocalStorage: IJSStorage; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowLocalStorage; property localStorage: IJSStorage read _GetlocalStorage; end; { -------------------------------------------------------------------- TJSWindowOrWorkerGlobalScope --------------------------------------------------------------------} IJSWindowOrWorkerGlobalScope = interface(IJSObject) ['{BA538363-7E06-3AE7-A0EE-D067E1AC7076}'] function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; procedure reportError(const aE: Variant); function btoa(const aBtoa: UnicodeString): UnicodeString; function atob(const aAtob: UnicodeString): UnicodeString; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearTimeout(aHandle: LongInt); procedure clearTimeout; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearInterval(aHandle: LongInt); procedure clearInterval; procedure queueMicrotask(const aCallback: TVoidFunction); function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; function structuredClone(const aValue: Variant): Variant; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String): IJSPromise; // Promise function fetch(aInput: IJSRequest): IJSPromise; // Promise property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; TJSWindowOrWorkerGlobalScope = class(TJSObject,IJSWindowOrWorkerGlobalScope) Private Protected function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; Public procedure reportError(const aE: Variant); overload; function btoa(const aBtoa: UnicodeString): UnicodeString; overload; function atob(const aAtob: UnicodeString): UnicodeString; overload; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearTimeout(aHandle: LongInt); overload; procedure clearTimeout; overload; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearInterval(aHandle: LongInt); overload; procedure clearInterval; overload; procedure queueMicrotask(const aCallback: TVoidFunction); overload; function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; overload; function structuredClone(const aValue: Variant): Variant; overload; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String): IJSPromise; overload; // Promise function fetch(aInput: IJSRequest): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowOrWorkerGlobalScope; property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; { -------------------------------------------------------------------- TJSWorkerLocation --------------------------------------------------------------------} IJSWorkerLocation = interface(IJSObject) ['{D143EEAC-0746-3910-A4F4-485B01C78D43}'] function _Gethref: UnicodeString; function _Getorigin: UnicodeString; function _Getprotocol: UnicodeString; function _Gethost: UnicodeString; function _Gethostname: UnicodeString; function _Getport: UnicodeString; function _Getpathname: UnicodeString; function _Getsearch: UnicodeString; function _Gethash: UnicodeString; property href: UnicodeString read _Gethref; property origin: UnicodeString read _Getorigin; property protocol: UnicodeString read _Getprotocol; property host: UnicodeString read _Gethost; property hostname: UnicodeString read _Gethostname; property port: UnicodeString read _Getport; property pathname: UnicodeString read _Getpathname; property search: UnicodeString read _Getsearch; property hash: UnicodeString read _Gethash; end; TJSWorkerLocation = class(TJSObject,IJSWorkerLocation) Private Protected function _Gethref: UnicodeString; function _Getorigin: UnicodeString; function _Getprotocol: UnicodeString; function _Gethost: UnicodeString; function _Gethostname: UnicodeString; function _Getport: UnicodeString; function _Getpathname: UnicodeString; function _Getsearch: UnicodeString; function _Gethash: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerLocation; property href: UnicodeString read _Gethref; property origin: UnicodeString read _Getorigin; property protocol: UnicodeString read _Getprotocol; property host: UnicodeString read _Gethost; property hostname: UnicodeString read _Gethostname; property port: UnicodeString read _Getport; property pathname: UnicodeString read _Getpathname; property search: UnicodeString read _Getsearch; property hash: UnicodeString read _Gethash; end; { -------------------------------------------------------------------- TJSWorkerNavigator --------------------------------------------------------------------} IJSWorkerNavigator = interface(IJSObject) ['{65DC02B6-1C12-3653-B2D1-B699EE7A7991}'] function _Getconnection: IJSNetworkInformation; function _GetmediaCapabilities: IJSMediaCapabilities; function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; function _GetonLine: Boolean; function _GethardwareConcurrency: QWord; function _Getstorage: IJSStorageManager; function _GetglobalPrivacyControl: Boolean; function _Getlocks: IJSLockManager; function _Getgpu: IJSGPU; function taintEnabled: Boolean; property connection: IJSNetworkInformation read _Getconnection; property mediaCapabilities: IJSMediaCapabilities read _GetmediaCapabilities; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; property onLine: Boolean read _GetonLine; property hardwareConcurrency: QWord read _GethardwareConcurrency; property storage: IJSStorageManager read _Getstorage; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; property locks: IJSLockManager read _Getlocks; property gpu: IJSGPU read _Getgpu; end; TJSWorkerNavigator = class(TJSObject,IJSWorkerNavigator) Private Protected function _Getconnection: IJSNetworkInformation; function _GetmediaCapabilities: IJSMediaCapabilities; function _GetappCodeName: UnicodeString; function _GetappName: UnicodeString; function _GetappVersion: UnicodeString; function _Getplatform: UnicodeString; function _GetuserAgent: UnicodeString; function _Getproduct: UnicodeString; function _Getlanguage: UnicodeString; function _Getlanguages: TUnicodeStringDynArray; function _GetonLine: Boolean; function _GethardwareConcurrency: QWord; function _Getstorage: IJSStorageManager; function _GetglobalPrivacyControl: Boolean; function _Getlocks: IJSLockManager; function _Getgpu: IJSGPU; Public function taintEnabled: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerNavigator; property connection: IJSNetworkInformation read _Getconnection; property mediaCapabilities: IJSMediaCapabilities read _GetmediaCapabilities; property appCodeName: UnicodeString read _GetappCodeName; property appName: UnicodeString read _GetappName; property appVersion: UnicodeString read _GetappVersion; property platform: UnicodeString read _Getplatform; property userAgent: UnicodeString read _GetuserAgent; property product: UnicodeString read _Getproduct; property language: UnicodeString read _Getlanguage; property languages: TUnicodeStringDynArray read _Getlanguages; property onLine: Boolean read _GetonLine; property hardwareConcurrency: QWord read _GethardwareConcurrency; property storage: IJSStorageManager read _Getstorage; property globalPrivacyControl: Boolean read _GetglobalPrivacyControl; property locks: IJSLockManager read _Getlocks; property gpu: IJSGPU read _Getgpu; end; { -------------------------------------------------------------------- TJSWorklet --------------------------------------------------------------------} IJSWorklet = interface(IJSObject) ['{BE804729-1FA3-357A-8071-62A241194965}'] function addModule(const aModuleURL: UnicodeString; const aOptions: IJSWorkletOptions): IJSPromise; // Promise function addModule(const aModuleURL: UnicodeString): IJSPromise; // Promise end; TJSWorklet = class(TJSObject,IJSWorklet) Private Protected Public function addModule(const aModuleURL: UnicodeString; const aOptions: IJSWorkletOptions): IJSPromise; overload; // Promise function addModule(const aModuleURL: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorklet; end; { -------------------------------------------------------------------- TJSWorkletGlobalScope --------------------------------------------------------------------} IJSWorkletGlobalScope = interface(IJSObject) ['{C8B44BD8-FEDC-3EBF-BECD-5B4BEEFC4463}'] procedure dump(const aStr: UnicodeString); procedure dump; end; TJSWorkletGlobalScope = class(TJSObject,IJSWorkletGlobalScope) Private Protected Public procedure dump(const aStr: UnicodeString); overload; procedure dump; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkletGlobalScope; end; { -------------------------------------------------------------------- TJSWritableStream --------------------------------------------------------------------} IJSWritableStream = interface(IJSObject) ['{43995D92-3780-33F1-B9F8-1BEA2C85B60E}'] function _Getlocked: Boolean; function abort(const aReason: Variant): IJSPromise; // Promise function abort: IJSPromise; // Promise function close: IJSPromise; // Promise function getWriter: IJSWritableStreamDefaultWriter; property locked: Boolean read _Getlocked; end; TJSWritableStream = class(TJSObject,IJSWritableStream) Private Protected function _Getlocked: Boolean; Public constructor Create(aUnderlyingSink: IJSObject; const aStrategy: IJSQueuingStrategy); overload; constructor Create; overload; constructor Create(aUnderlyingSink: IJSObject); overload; function abort(const aReason: Variant): IJSPromise; overload; // Promise function abort: IJSPromise; overload; // Promise function close: IJSPromise; overload; // Promise function getWriter: IJSWritableStreamDefaultWriter; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWritableStream; property locked: Boolean read _Getlocked; end; { -------------------------------------------------------------------- TJSWritableStreamDefaultController --------------------------------------------------------------------} IJSWritableStreamDefaultController = interface(IJSObject) ['{ABCBD009-8478-346E-85DE-72A463CABDF3}'] function _Getsignal: IJSAbortSignal; procedure error(const aE: Variant); procedure error; property signal: IJSAbortSignal read _Getsignal; end; TJSWritableStreamDefaultController = class(TJSObject,IJSWritableStreamDefaultController) Private Protected function _Getsignal: IJSAbortSignal; Public procedure error(const aE: Variant); overload; procedure error; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWritableStreamDefaultController; property signal: IJSAbortSignal read _Getsignal; end; { -------------------------------------------------------------------- TJSWritableStreamDefaultWriter --------------------------------------------------------------------} IJSWritableStreamDefaultWriter = interface(IJSObject) ['{82354902-76A9-327D-A66D-63D8BE46D535}'] function _Getclosed: IJSPromise; function _GetdesiredSize: Double; function _Getready: IJSPromise; function abort(const aReason: Variant): IJSPromise; // Promise function abort: IJSPromise; // Promise function close: IJSPromise; // Promise procedure releaseLock; function write(const aChunk: Variant): IJSPromise; // Promise function write: IJSPromise; // Promise property closed: IJSPromise read _Getclosed; property desiredSize: Double read _GetdesiredSize; property ready: IJSPromise read _Getready; end; TJSWritableStreamDefaultWriter = class(TJSObject,IJSWritableStreamDefaultWriter) Private Protected function _Getclosed: IJSPromise; function _GetdesiredSize: Double; function _Getready: IJSPromise; Public constructor Create(aStream: IJSWritableStream); overload; function abort(const aReason: Variant): IJSPromise; overload; // Promise function abort: IJSPromise; overload; // Promise function close: IJSPromise; overload; // Promise procedure releaseLock; overload; function write(const aChunk: Variant): IJSPromise; overload; // Promise function write: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWritableStreamDefaultWriter; property closed: IJSPromise read _Getclosed; property desiredSize: Double read _GetdesiredSize; property ready: IJSPromise read _Getready; end; { -------------------------------------------------------------------- TJSMozChannel --------------------------------------------------------------------} IJSMozChannel = interface(IJSObject) ['{F0F3CF1A-08CD-3886-87C0-636E89A48332}'] end; TJSMozChannel = class(TJSObject,IJSMozChannel) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMozChannel; end; { -------------------------------------------------------------------- TJSOutputStream --------------------------------------------------------------------} IJSOutputStream = interface(IJSObject) ['{E6CEDC0D-A004-39FB-91C0-F0D81AA2A621}'] end; TJSOutputStream = class(TJSObject,IJSOutputStream) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOutputStream; end; { -------------------------------------------------------------------- TJSXMLSerializer --------------------------------------------------------------------} IJSXMLSerializer = interface(IJSObject) ['{E455C202-4085-333C-85DD-A6BF45AADFDF}'] function serializeToString(aRoot: IJSNode): UnicodeString; end; TJSXMLSerializer = class(TJSObject,IJSXMLSerializer) Private Protected Public constructor Create; overload; function serializeToString(aRoot: IJSNode): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXMLSerializer; end; { -------------------------------------------------------------------- TJSXPathEvaluatorMixin --------------------------------------------------------------------} IJSXPathEvaluatorMixin = interface(IJSObject) ['{D453E68E-8D1E-3B63-88A8-FA0CFCC91349}'] function createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; function createExpression(const aExpression: UnicodeString): IJSXPathExpression; function createNSResolver(aNodeResolver: IJSNode): IJSNode; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; end; TJSXPathEvaluatorMixin = class(TJSObject,IJSXPathEvaluatorMixin) Private Protected Public function createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; overload; function createExpression(const aExpression: UnicodeString): IJSXPathExpression; overload; function createNSResolver(aNodeResolver: IJSNode): IJSNode; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXPathEvaluatorMixin; end; { -------------------------------------------------------------------- TJSXPathExpression --------------------------------------------------------------------} IJSXPathExpression = interface(IJSObject) ['{9ED14D9B-7B26-3FDA-A1C0-64BCF2A65911}'] function evaluate(aContextNode: IJSNode; aType_: Word; aResult: IJSObject): IJSXPathResult; function evaluate(aContextNode: IJSNode): IJSXPathResult; function evaluate(aContextNode: IJSNode; aType_: Word): IJSXPathResult; end; TJSXPathExpression = class(TJSObject,IJSXPathExpression) Private Protected Public function evaluate(aContextNode: IJSNode; aType_: Word; aResult: IJSObject): IJSXPathResult; overload; function evaluate(aContextNode: IJSNode): IJSXPathResult; overload; function evaluate(aContextNode: IJSNode; aType_: Word): IJSXPathResult; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXPathExpression; end; { -------------------------------------------------------------------- TJSXPathResult --------------------------------------------------------------------} IJSXPathResult = interface(IJSObject) ['{376C660B-EC56-3465-94B2-5242359043A6}'] function _GetresultType: Word; function _GetnumberValue: Double; function _GetstringValue: UnicodeString; function _GetbooleanValue: Boolean; function _GetsingleNodeValue: IJSNode; function _GetinvalidIteratorState: Boolean; function _GetsnapshotLength: Cardinal; function iterateNext: IJSNode; function snapshotItem(aIndex: Cardinal): IJSNode; property resultType: Word read _GetresultType; property numberValue: Double read _GetnumberValue; property stringValue: UnicodeString read _GetstringValue; property booleanValue: Boolean read _GetbooleanValue; property singleNodeValue: IJSNode read _GetsingleNodeValue; property invalidIteratorState: Boolean read _GetinvalidIteratorState; property snapshotLength: Cardinal read _GetsnapshotLength; end; TJSXPathResult = class(TJSObject,IJSXPathResult) Private Protected function _GetresultType: Word; function _GetnumberValue: Double; function _GetstringValue: UnicodeString; function _GetbooleanValue: Boolean; function _GetsingleNodeValue: IJSNode; function _GetinvalidIteratorState: Boolean; function _GetsnapshotLength: Cardinal; Public Const ANY_TYPE = 0; NUMBER_TYPE = 1; STRING_TYPE = 2; BOOLEAN_TYPE = 3; UNORDERED_NODE_ITERATOR_TYPE = 4; ORDERED_NODE_ITERATOR_TYPE = 5; UNORDERED_NODE_SNAPSHOT_TYPE = 6; ORDERED_NODE_SNAPSHOT_TYPE = 7; ANY_UNORDERED_NODE_TYPE = 8; FIRST_ORDERED_NODE_TYPE = 9; Public function iterateNext: IJSNode; overload; function snapshotItem(aIndex: Cardinal): IJSNode; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXPathResult; property resultType: Word read _GetresultType; property numberValue: Double read _GetnumberValue; property stringValue: UnicodeString read _GetstringValue; property booleanValue: Boolean read _GetbooleanValue; property singleNodeValue: IJSNode read _GetsingleNodeValue; property invalidIteratorState: Boolean read _GetinvalidIteratorState; property snapshotLength: Cardinal read _GetsnapshotLength; end; { -------------------------------------------------------------------- TJSXSLTProcessor --------------------------------------------------------------------} TIJSNodeDynArray = IJSArray; // array of Node IJSXSLTProcessor = interface(IJSObject) ['{AB1EE2FC-9053-3BA0-B1B0-CB391D2B529D}'] procedure importStylesheet(aStyle: IJSNode); function transformToFragment(aSource: IJSNode; aOutput: IJSDocument): IJSDocumentFragment; function transformToDocument(aSource: IJSNode): IJSDocument; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Boolean); procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: UnicodeString); procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSNode); procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: TIJSNodeDynArray); procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Double); procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSXPathResult); function getParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): TXSLTParameterValue; procedure removeParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString); procedure clearParameters; procedure reset; end; TJSXSLTProcessor = class(TJSObject,IJSXSLTProcessor) Private Protected Public constructor Create; overload; procedure importStylesheet(aStyle: IJSNode); overload; function transformToFragment(aSource: IJSNode; aOutput: IJSDocument): IJSDocumentFragment; overload; function transformToDocument(aSource: IJSNode): IJSDocument; overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Boolean); overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: UnicodeString); overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSNode); overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: TIJSNodeDynArray); overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Double); overload; procedure setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSXPathResult); overload; function getParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): TXSLTParameterValue; overload; procedure removeParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString); overload; procedure clearParameters; overload; procedure reset; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXSLTProcessor; end; { -------------------------------------------------------------------- TJSAbortSignal --------------------------------------------------------------------} TJSAbortSignalDynArray = IJSArray; // array of AbortSignal IJSAbortSignal = interface(IJSEventTarget) ['{1EF8713E-033B-3A7C-A9E1-6F6406504E92}'] function _Getaborted: Boolean; function _Getreason: Variant; function _Getonabort: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure throwIfAborted; property aborted: Boolean read _Getaborted; property reason: Variant read _Getreason; property onabort: TEventHandler read _Getonabort write _Setonabort; end; TJSAbortSignal = class(TJSEventTarget,IJSAbortSignal) Private Protected function _Getaborted: Boolean; function _Getreason: Variant; function _Getonabort: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); Public function abort(const aReason: Variant): IJSAbortSignal; overload; function abort: IJSAbortSignal; overload; function timeout(aMilliseconds: QWord): IJSAbortSignal; overload; function any(const aSignals: TJSAbortSignalDynArray): IJSAbortSignal; overload; procedure throwIfAborted; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAbortSignal; property aborted: Boolean read _Getaborted; property reason: Variant read _Getreason; property onabort: TEventHandler read _Getonabort write _Setonabort; end; { -------------------------------------------------------------------- TJSAddonEvent --------------------------------------------------------------------} IJSAddonEvent = interface(IJSEvent) ['{7C73E5C2-DB9A-36CB-81F4-C2D85E32C6D5}'] function _Getid: UnicodeString; property id: UnicodeString read _Getid; end; TJSAddonEvent = class(TJSEvent,IJSAddonEvent) Private Protected function _Getid: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSAddonEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAddonEvent; property id: UnicodeString read _Getid; end; { -------------------------------------------------------------------- TJSAddonManager --------------------------------------------------------------------} IJSAddonManager = interface(IJSEventTarget) ['{B4E8F4D1-D886-34FB-9218-FAC83570BBAE}'] function _GetabuseReportPanelEnabled: Boolean; function getAddonByID(const aId: UnicodeString): IJSPromise; // Promise function createInstall(const aOptions: IJSaddonInstallOptions): IJSPromise; // Promise function createInstall: IJSPromise; // Promise function reportAbuse(const aId: UnicodeString): IJSPromise; // Promise property abuseReportPanelEnabled: Boolean read _GetabuseReportPanelEnabled; end; TJSAddonManager = class(TJSEventTarget,IJSAddonManager) Private Protected function _GetabuseReportPanelEnabled: Boolean; Public function getAddonByID(const aId: UnicodeString): IJSPromise; overload; // Promise function createInstall(const aOptions: IJSaddonInstallOptions): IJSPromise; overload; // Promise function createInstall: IJSPromise; overload; // Promise function reportAbuse(const aId: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAddonManager; property abuseReportPanelEnabled: Boolean read _GetabuseReportPanelEnabled; end; { -------------------------------------------------------------------- TJSAnimation --------------------------------------------------------------------} IJSAnimation = interface(IJSEventTarget) ['{59BCE942-9DFA-3857-A73B-22D9BF6A48B6}'] function _Getid: UnicodeString; function _Geteffect: IJSAnimationEffect; function _Gettimeline: IJSAnimationTimeline; function _GetstartTime: Double; function _GetcurrentTime: Double; function _GetplaybackRate: Double; function _GetplayState: TAnimationPlayState; function _Getpending: Boolean; function _GetreplaceState: TAnimationReplaceState; function _Getready: IJSPromise; function _Getfinished: IJSPromise; function _Getonfinish: TEventHandler; function _Getoncancel: TEventHandler; function _Getonremove: TEventHandler; procedure _Setid(const aValue: UnicodeString); procedure _Seteffect(const aValue: IJSAnimationEffect); procedure _Settimeline(const aValue: IJSAnimationTimeline); procedure _SetstartTime(const aValue: Double); procedure _SetcurrentTime(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setonfinish(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonremove(const aValue: TEventHandler); procedure cancel; procedure finish; procedure play; procedure pause; procedure updatePlaybackRate(aPlaybackRate: Double); procedure reverse; procedure persist; procedure commitStyles; property id: UnicodeString read _Getid write _Setid; property effect: IJSAnimationEffect read _Geteffect write _Seteffect; property timeline: IJSAnimationTimeline read _Gettimeline write _Settimeline; property startTime: Double read _GetstartTime write _SetstartTime; property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property playState: TAnimationPlayState read _GetplayState; property pending: Boolean read _Getpending; property replaceState: TAnimationReplaceState read _GetreplaceState; property ready: IJSPromise read _Getready; property finished: IJSPromise read _Getfinished; property onfinish: TEventHandler read _Getonfinish write _Setonfinish; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onremove: TEventHandler read _Getonremove write _Setonremove; end; TJSAnimation = class(TJSEventTarget,IJSAnimation) Private Protected function _Getid: UnicodeString; function _Geteffect: IJSAnimationEffect; function _Gettimeline: IJSAnimationTimeline; function _GetstartTime: Double; function _GetcurrentTime: Double; function _GetplaybackRate: Double; function _GetplayState: TAnimationPlayState; function _Getpending: Boolean; function _GetreplaceState: TAnimationReplaceState; function _Getready: IJSPromise; function _Getfinished: IJSPromise; function _Getonfinish: TEventHandler; function _Getoncancel: TEventHandler; function _Getonremove: TEventHandler; procedure _Setid(const aValue: UnicodeString); procedure _Seteffect(const aValue: IJSAnimationEffect); procedure _Settimeline(const aValue: IJSAnimationTimeline); procedure _SetstartTime(const aValue: Double); procedure _SetcurrentTime(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setonfinish(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonremove(const aValue: TEventHandler); Public constructor Create(aEffect: IJSAnimationEffect; aTimeline: IJSAnimationTimeline); overload; constructor Create; overload; constructor Create(aEffect: IJSAnimationEffect); overload; procedure cancel; overload; procedure finish; overload; procedure play; overload; procedure pause; overload; procedure updatePlaybackRate(aPlaybackRate: Double); overload; procedure reverse; overload; procedure persist; overload; procedure commitStyles; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimation; property id: UnicodeString read _Getid write _Setid; property effect: IJSAnimationEffect read _Geteffect write _Seteffect; property timeline: IJSAnimationTimeline read _Gettimeline write _Settimeline; property startTime: Double read _GetstartTime write _SetstartTime; property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property playState: TAnimationPlayState read _GetplayState; property pending: Boolean read _Getpending; property replaceState: TAnimationReplaceState read _GetreplaceState; property ready: IJSPromise read _Getready; property finished: IJSPromise read _Getfinished; property onfinish: TEventHandler read _Getonfinish write _Setonfinish; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onremove: TEventHandler read _Getonremove write _Setonremove; end; { -------------------------------------------------------------------- TJSAnimationEvent --------------------------------------------------------------------} IJSAnimationEvent = interface(IJSEvent) ['{BC4B03CA-46C6-3DAF-991B-B4FFCC0CF752}'] function _GetanimationName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; property animationName: UnicodeString read _GetanimationName; property elapsedTime: Single read _GetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement; end; TJSAnimationEvent = class(TJSEvent,IJSAnimationEvent) Private Protected function _GetanimationName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSAnimationEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationEvent; property animationName: UnicodeString read _GetanimationName; property elapsedTime: Single read _GetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement; end; { -------------------------------------------------------------------- TJSAnimationPlaybackEvent --------------------------------------------------------------------} IJSAnimationPlaybackEvent = interface(IJSEvent) ['{E0257C71-380D-39B1-9B0F-4136B36AA7DF}'] function _GetcurrentTime: Double; function _GettimelineTime: Double; property currentTime: Double read _GetcurrentTime; property timelineTime: Double read _GettimelineTime; end; TJSAnimationPlaybackEvent = class(TJSEvent,IJSAnimationPlaybackEvent) Private Protected function _GetcurrentTime: Double; function _GettimelineTime: Double; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSAnimationPlaybackEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnimationPlaybackEvent; property currentTime: Double read _GetcurrentTime; property timelineTime: Double read _GettimelineTime; end; { -------------------------------------------------------------------- TJSAudioDecoder --------------------------------------------------------------------} IJSAudioDecoder = interface(IJSEventTarget) ['{72FFEED1-BD7A-3462-A2CC-DF999EFD8C2E}'] function _Getstate: TCodecState; function _GetdecodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); procedure configure(const aConfig: IJSAudioDecoderConfig); procedure decode(aChunk: IJSEncodedAudioChunk); function flush: IJSPromise; // Promise procedure reset; procedure close; property state: TCodecState read _Getstate; property decodeQueueSize: Cardinal read _GetdecodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; TJSAudioDecoder = class(TJSEventTarget,IJSAudioDecoder) Private Protected function _Getstate: TCodecState; function _GetdecodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); Public constructor Create(const aInit: IJSAudioDecoderInit); overload; procedure configure(const aConfig: IJSAudioDecoderConfig); overload; procedure decode(aChunk: IJSEncodedAudioChunk); overload; function flush: IJSPromise; overload; // Promise procedure reset; overload; procedure close; overload; function isConfigSupported(const aConfig: IJSAudioDecoderConfig): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDecoder; property state: TCodecState read _Getstate; property decodeQueueSize: Cardinal read _GetdecodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; { -------------------------------------------------------------------- TJSAudioEncoder --------------------------------------------------------------------} IJSAudioEncoder = interface(IJSEventTarget) ['{72FFEED1-BD83-3982-A2CC-E03D9EFD8C2E}'] function _Getstate: TCodecState; function _GetencodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); procedure configure(const aConfig: IJSAudioEncoderConfig); procedure encode(aData: IJSAudioData); function flush: IJSPromise; // Promise procedure reset; procedure close; property state: TCodecState read _Getstate; property encodeQueueSize: Cardinal read _GetencodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; TJSAudioEncoder = class(TJSEventTarget,IJSAudioEncoder) Private Protected function _Getstate: TCodecState; function _GetencodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); Public constructor Create(const aInit: IJSAudioEncoderInit); overload; procedure configure(const aConfig: IJSAudioEncoderConfig); overload; procedure encode(aData: IJSAudioData); overload; function flush: IJSPromise; overload; // Promise procedure reset; overload; procedure close; overload; function isConfigSupported(const aConfig: IJSAudioEncoderConfig): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioEncoder; property state: TCodecState read _Getstate; property encodeQueueSize: Cardinal read _GetencodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; { -------------------------------------------------------------------- TJSAudioNode --------------------------------------------------------------------} IJSAudioNode = interface(IJSEventTarget) ['{AF6504EE-7C50-37B9-8313-D35302E611D5}'] function _Getcontext: IJSBaseAudioContext; function _GetnumberOfInputs: Cardinal; function _GetnumberOfOutputs: Cardinal; function _GetchannelCount: Cardinal; function _GetchannelCountMode: TChannelCountMode; function _GetchannelInterpretation: TChannelInterpretation; procedure _SetchannelCount(const aValue: Cardinal); procedure _SetchannelCountMode(const aValue: TChannelCountMode); procedure _SetchannelInterpretation(const aValue: TChannelInterpretation); function connect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal): IJSAudioNode; function connect(aDestination: IJSAudioNode): IJSAudioNode; function connect(aDestination: IJSAudioNode; aOutput: Cardinal): IJSAudioNode; procedure connect(aDestination: IJSAudioParam; aOutput: Cardinal); procedure connect(aDestination: IJSAudioParam); procedure disconnect; procedure disconnect(aOutput: Cardinal); procedure disconnect(aDestination: IJSAudioNode); procedure disconnect(aDestination: IJSAudioNode; aOutput: Cardinal); procedure disconnect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal); procedure disconnect(aDestination: IJSAudioParam); procedure disconnect(aDestination: IJSAudioParam; aOutput: Cardinal); property context: IJSBaseAudioContext read _Getcontext; property numberOfInputs: Cardinal read _GetnumberOfInputs; property numberOfOutputs: Cardinal read _GetnumberOfOutputs; property channelCount: Cardinal read _GetchannelCount write _SetchannelCount; property channelCountMode: TChannelCountMode read _GetchannelCountMode write _SetchannelCountMode; property channelInterpretation: TChannelInterpretation read _GetchannelInterpretation write _SetchannelInterpretation; end; TJSAudioNode = class(TJSEventTarget,IJSAudioNode) Private Protected function _Getcontext: IJSBaseAudioContext; function _GetnumberOfInputs: Cardinal; function _GetnumberOfOutputs: Cardinal; function _GetchannelCount: Cardinal; function _GetchannelCountMode: TChannelCountMode; function _GetchannelInterpretation: TChannelInterpretation; procedure _SetchannelCount(const aValue: Cardinal); procedure _SetchannelCountMode(const aValue: TChannelCountMode); procedure _SetchannelInterpretation(const aValue: TChannelInterpretation); Public function connect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal): IJSAudioNode; overload; function connect(aDestination: IJSAudioNode): IJSAudioNode; overload; function connect(aDestination: IJSAudioNode; aOutput: Cardinal): IJSAudioNode; overload; procedure connect(aDestination: IJSAudioParam; aOutput: Cardinal); overload; procedure connect(aDestination: IJSAudioParam); overload; procedure disconnect; overload; procedure disconnect(aOutput: Cardinal); overload; procedure disconnect(aDestination: IJSAudioNode); overload; procedure disconnect(aDestination: IJSAudioNode; aOutput: Cardinal); overload; procedure disconnect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal); overload; procedure disconnect(aDestination: IJSAudioParam); overload; procedure disconnect(aDestination: IJSAudioParam; aOutput: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioNode; property context: IJSBaseAudioContext read _Getcontext; property numberOfInputs: Cardinal read _GetnumberOfInputs; property numberOfOutputs: Cardinal read _GetnumberOfOutputs; property channelCount: Cardinal read _GetchannelCount write _SetchannelCount; property channelCountMode: TChannelCountMode read _GetchannelCountMode write _SetchannelCountMode; property channelInterpretation: TChannelInterpretation read _GetchannelInterpretation write _SetchannelInterpretation; end; { -------------------------------------------------------------------- TJSAudioProcessingEvent --------------------------------------------------------------------} IJSAudioProcessingEvent = interface(IJSEvent) ['{75E57B9D-0627-39F5-9D38-E26051BDD5FC}'] function _GetplaybackTime: Double; function _GetinputBuffer: IJSAudioBuffer; function _GetoutputBuffer: IJSAudioBuffer; property playbackTime: Double read _GetplaybackTime; property inputBuffer: IJSAudioBuffer read _GetinputBuffer; property outputBuffer: IJSAudioBuffer read _GetoutputBuffer; end; TJSAudioProcessingEvent = class(TJSEvent,IJSAudioProcessingEvent) Private Protected function _GetplaybackTime: Double; function _GetinputBuffer: IJSAudioBuffer; function _GetoutputBuffer: IJSAudioBuffer; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioProcessingEvent; property playbackTime: Double read _GetplaybackTime; property inputBuffer: IJSAudioBuffer read _GetinputBuffer; property outputBuffer: IJSAudioBuffer read _GetoutputBuffer; end; { -------------------------------------------------------------------- TJSAudioTrackList --------------------------------------------------------------------} IJSAudioTrackList = interface(IJSEventTarget) ['{5B993ACB-2B51-3767-A7E6-7A72380F78CA}'] function _Getlength_: Cardinal; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); function GetDefault(aIndex: Cardinal): IJSAudioTrack; function getTrackById(const aId: UnicodeString): IJSAudioTrack; property length_: Cardinal read _Getlength_; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; TJSAudioTrackList = class(TJSEventTarget,IJSAudioTrackList) Private Protected function _Getlength_: Cardinal; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); Public function GetDefault(aIndex: Cardinal): IJSAudioTrack; overload; function getTrackById(const aId: UnicodeString): IJSAudioTrack; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioTrackList; property length_: Cardinal read _Getlength_; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; { -------------------------------------------------------------------- TJSAudioWorklet --------------------------------------------------------------------} IJSAudioWorklet = interface(IJSWorklet) ['{E6CEFCD4-2430-3D3B-AEA0-F0D81AA2A621}'] end; TJSAudioWorklet = class(TJSWorklet,IJSAudioWorklet) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioWorklet; end; { -------------------------------------------------------------------- TJSAudioWorkletGlobalScope --------------------------------------------------------------------} IJSAudioWorkletGlobalScope = interface(IJSWorkletGlobalScope) ['{E18DD65E-3A6D-3D56-AE96-693D5C212E00}'] function _GetcurrentFrame: QWord; function _GetcurrentTime: Double; function _GetsampleRate: Single; procedure registerProcessor(const aName: UnicodeString; const aProcessorCtor: TAudioWorkletProcessorConstructor); property currentFrame: QWord read _GetcurrentFrame; property currentTime: Double read _GetcurrentTime; property sampleRate: Single read _GetsampleRate; end; TJSAudioWorkletGlobalScope = class(TJSWorkletGlobalScope,IJSAudioWorkletGlobalScope) Private Protected function _GetcurrentFrame: QWord; function _GetcurrentTime: Double; function _GetsampleRate: Single; Public procedure registerProcessor(const aName: UnicodeString; const aProcessorCtor: TAudioWorkletProcessorConstructor); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioWorkletGlobalScope; property currentFrame: QWord read _GetcurrentFrame; property currentTime: Double read _GetcurrentTime; property sampleRate: Single read _GetsampleRate; end; { -------------------------------------------------------------------- TJSBaseAudioContext --------------------------------------------------------------------} IJSBaseAudioContext = interface(IJSEventTarget) ['{B2AEFD13-1847-376A-A0E0-231D2C8EA974}'] function _Getdestination: IJSAudioDestinationNode; function _GetsampleRate: Single; function _GetcurrentTime: Double; function _Getlistener: IJSAudioListener; function _Getstate: TAudioContextState; function _GetaudioWorklet: IJSAudioWorklet; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); function resume: IJSPromise; // Promise function createBuffer(aNumberOfChannels: Cardinal; aLength_: Cardinal; aSampleRate: Single): IJSAudioBuffer; function decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback; const aErrorCallback: TDecodeErrorCallback): IJSPromise; // Promise function decodeAudioData(aAudioData: IJSArrayBuffer): IJSPromise; // Promise function decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback): IJSPromise; // Promise function createBufferSource: IJSAudioBufferSourceNode; function createConstantSource: IJSConstantSourceNode; function createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal; aNumberOfOutputChannels: Cardinal): IJSScriptProcessorNode; function createScriptProcessor: IJSScriptProcessorNode; function createScriptProcessor(aBufferSize: Cardinal): IJSScriptProcessorNode; function createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal): IJSScriptProcessorNode; function createAnalyser: IJSAnalyserNode; function createGain: IJSGainNode; function createDelay(aMaxDelayTime: Double): IJSDelayNode; function createDelay: IJSDelayNode; function createBiquadFilter: IJSBiquadFilterNode; function createIIRFilter(const aFeedforward: TDoubleDynArray; const aFeedback: TDoubleDynArray): IJSIIRFilterNode; function createWaveShaper: IJSWaveShaperNode; function createPanner: IJSPannerNode; function createStereoPanner: IJSStereoPannerNode; function createConvolver: IJSConvolverNode; function createChannelSplitter(aNumberOfOutputs: Cardinal): IJSChannelSplitterNode; function createChannelSplitter: IJSChannelSplitterNode; function createChannelMerger(aNumberOfInputs: Cardinal): IJSChannelMergerNode; function createChannelMerger: IJSChannelMergerNode; function createDynamicsCompressor: IJSDynamicsCompressorNode; function createOscillator: IJSOscillatorNode; function createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray; const aConstraints: IJSPeriodicWaveConstraints): IJSPeriodicWave; function createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray): IJSPeriodicWave; property destination: IJSAudioDestinationNode read _Getdestination; property sampleRate: Single read _GetsampleRate; property currentTime: Double read _GetcurrentTime; property listener: IJSAudioListener read _Getlistener; property state: TAudioContextState read _Getstate; property audioWorklet: IJSAudioWorklet read _GetaudioWorklet; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; TJSBaseAudioContext = class(TJSEventTarget,IJSBaseAudioContext) Private Protected function _Getdestination: IJSAudioDestinationNode; function _GetsampleRate: Single; function _GetcurrentTime: Double; function _Getlistener: IJSAudioListener; function _Getstate: TAudioContextState; function _GetaudioWorklet: IJSAudioWorklet; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); Public function resume: IJSPromise; overload; // Promise function createBuffer(aNumberOfChannels: Cardinal; aLength_: Cardinal; aSampleRate: Single): IJSAudioBuffer; overload; function decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback; const aErrorCallback: TDecodeErrorCallback): IJSPromise; overload; // Promise function decodeAudioData(aAudioData: IJSArrayBuffer): IJSPromise; overload; // Promise function decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback): IJSPromise; overload; // Promise function createBufferSource: IJSAudioBufferSourceNode; overload; function createConstantSource: IJSConstantSourceNode; overload; function createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal; aNumberOfOutputChannels: Cardinal): IJSScriptProcessorNode; overload; function createScriptProcessor: IJSScriptProcessorNode; overload; function createScriptProcessor(aBufferSize: Cardinal): IJSScriptProcessorNode; overload; function createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal): IJSScriptProcessorNode; overload; function createAnalyser: IJSAnalyserNode; overload; function createGain: IJSGainNode; overload; function createDelay(aMaxDelayTime: Double): IJSDelayNode; overload; function createDelay: IJSDelayNode; overload; function createBiquadFilter: IJSBiquadFilterNode; overload; function createIIRFilter(const aFeedforward: TDoubleDynArray; const aFeedback: TDoubleDynArray): IJSIIRFilterNode; overload; function createWaveShaper: IJSWaveShaperNode; overload; function createPanner: IJSPannerNode; overload; function createStereoPanner: IJSStereoPannerNode; overload; function createConvolver: IJSConvolverNode; overload; function createChannelSplitter(aNumberOfOutputs: Cardinal): IJSChannelSplitterNode; overload; function createChannelSplitter: IJSChannelSplitterNode; overload; function createChannelMerger(aNumberOfInputs: Cardinal): IJSChannelMergerNode; overload; function createChannelMerger: IJSChannelMergerNode; overload; function createDynamicsCompressor: IJSDynamicsCompressorNode; overload; function createOscillator: IJSOscillatorNode; overload; function createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray; const aConstraints: IJSPeriodicWaveConstraints): IJSPeriodicWave; overload; function createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray): IJSPeriodicWave; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBaseAudioContext; property destination: IJSAudioDestinationNode read _Getdestination; property sampleRate: Single read _GetsampleRate; property currentTime: Double read _GetcurrentTime; property listener: IJSAudioListener read _Getlistener; property state: TAudioContextState read _Getstate; property audioWorklet: IJSAudioWorklet read _GetaudioWorklet; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; { -------------------------------------------------------------------- TJSBeforeUnloadEvent --------------------------------------------------------------------} IJSBeforeUnloadEvent = interface(IJSEvent) ['{715EBC1E-0380-3AE9-9670-631CF3ED15BF}'] function _GetreturnValue2: UnicodeString; procedure _SetreturnValue2(const aValue: UnicodeString); property returnValue: UnicodeString read _GetreturnValue2 write _SetreturnValue2; end; TJSBeforeUnloadEvent = class(TJSEvent,IJSBeforeUnloadEvent) Private Protected function _GetreturnValue2: UnicodeString; procedure _SetreturnValue2(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBeforeUnloadEvent; property returnValue: UnicodeString read _GetreturnValue2 write _SetreturnValue2; end; { -------------------------------------------------------------------- TJSBlobEvent --------------------------------------------------------------------} IJSBlobEvent = interface(IJSEvent) ['{337CBBD6-3063-35E3-994A-ECF20DB57D52}'] function _Getdata: IJSBlob; property data: IJSBlob read _Getdata; end; TJSBlobEvent = class(TJSEvent,IJSBlobEvent) Private Protected function _Getdata: IJSBlob; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSBlobEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBlobEvent; property data: IJSBlob read _Getdata; end; { -------------------------------------------------------------------- TJSBroadcastChannel --------------------------------------------------------------------} IJSBroadcastChannel = interface(IJSEventTarget) ['{4608FDAC-BCFB-31F8-BFDD-1243E4F5BC1D}'] function _Getname: UnicodeString; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure postMessage(const aMessage: Variant); procedure close; property name: UnicodeString read _Getname; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; TJSBroadcastChannel = class(TJSEventTarget,IJSBroadcastChannel) Private Protected function _Getname: UnicodeString; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); Public constructor Create(const aChannel: UnicodeString); overload; procedure postMessage(const aMessage: Variant); overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBroadcastChannel; property name: UnicodeString read _Getname; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; { -------------------------------------------------------------------- TJSPath2D --------------------------------------------------------------------} IJSPath2D = interface(IJSCanvasPathMethods) ['{798BD980-A983-33A8-B522-BE1EF20D02D8}'] procedure addPath(aPath: IJSPath2D; const aTransform: IJSDOMMatrix2DInit); procedure addPath(aPath: IJSPath2D); end; TJSPath2D = class(TJSCanvasPathMethods,IJSPath2D) Private Protected Public constructor Create; overload; constructor Create(aOther: IJSPath2D); overload; constructor Create(const aPathString: UnicodeString); overload; procedure addPath(aPath: IJSPath2D; const aTransform: IJSDOMMatrix2DInit); overload; procedure addPath(aPath: IJSPath2D); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPath2D; end; { -------------------------------------------------------------------- TJSWindowClient --------------------------------------------------------------------} IJSWindowClient = interface(IJSClient) ['{A558E228-84BB-3CF1-9555-068E29E4BD36}'] function _GetvisibilityState: TVisibilityState; function _Getfocused: Boolean; function focus: IJSPromise; // Promise function navigate(const aUrl: UnicodeString): IJSPromise; // Promise property visibilityState: TVisibilityState read _GetvisibilityState; property focused: Boolean read _Getfocused; end; TJSWindowClient = class(TJSClient,IJSWindowClient) Private Protected function _GetvisibilityState: TVisibilityState; function _Getfocused: Boolean; Public function focus: IJSPromise; overload; // Promise function navigate(const aUrl: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindowClient; property visibilityState: TVisibilityState read _GetvisibilityState; property focused: Boolean read _Getfocused; end; { -------------------------------------------------------------------- TJSClipboard --------------------------------------------------------------------} IJSClipboard = interface(IJSEventTarget) ['{A5EB7794-70CB-3CC5-86A3-EABFE982055F}'] function read: IJSPromise; // Promise function readText: IJSPromise; // Promise function write(const aData: TClipboardItemsDynArray): IJSPromise; // Promise function writeText(const aData: UnicodeString): IJSPromise; // Promise end; TJSClipboard = class(TJSEventTarget,IJSClipboard) Private Protected Public function read: IJSPromise; overload; // Promise function readText: IJSPromise; overload; // Promise function write(const aData: TClipboardItemsDynArray): IJSPromise; overload; // Promise function writeText(const aData: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClipboard; end; { -------------------------------------------------------------------- TJSClipboardEvent --------------------------------------------------------------------} IJSClipboardEvent = interface(IJSEvent) ['{EC171341-D33B-326A-B9AE-2EE7AA878E37}'] function _GetclipboardData: IJSDataTransfer; property clipboardData: IJSDataTransfer read _GetclipboardData; end; TJSClipboardEvent = class(TJSEvent,IJSClipboardEvent) Private Protected function _GetclipboardData: IJSDataTransfer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSClipboardEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSClipboardEvent; property clipboardData: IJSDataTransfer read _GetclipboardData; end; { -------------------------------------------------------------------- TJSCloseEvent --------------------------------------------------------------------} IJSCloseEvent = interface(IJSEvent) ['{93FE6600-2460-3D49-9D17-CECEADAF1D8D}'] function _GetwasClean: Boolean; function _Getcode: Word; function _Getreason: UnicodeString; property wasClean: Boolean read _GetwasClean; property code: Word read _Getcode; property reason: UnicodeString read _Getreason; end; TJSCloseEvent = class(TJSEvent,IJSCloseEvent) Private Protected function _GetwasClean: Boolean; function _Getcode: Word; function _Getreason: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSCloseEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCloseEvent; property wasClean: Boolean read _GetwasClean; property code: Word read _Getcode; property reason: UnicodeString read _Getreason; end; { -------------------------------------------------------------------- TJSCompressionStream --------------------------------------------------------------------} IJSCompressionStream = interface(IJSGenericTransformStream) ['{24DC9C2B-58F3-3500-A77E-B481722BB537}'] end; TJSCompressionStream = class(TJSGenericTransformStream,IJSCompressionStream) Private Protected Public constructor Create(aFormat: TCompressionFormat); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCompressionStream; end; { -------------------------------------------------------------------- TJSContentVisibilityAutoStateChangeEvent --------------------------------------------------------------------} IJSContentVisibilityAutoStateChangeEvent = interface(IJSEvent) ['{5115D408-BF36-3616-ADE8-FA2F1D0D4392}'] function _Getskipped: Boolean; property skipped: Boolean read _Getskipped; end; TJSContentVisibilityAutoStateChangeEvent = class(TJSEvent,IJSContentVisibilityAutoStateChangeEvent) Private Protected function _Getskipped: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSContentVisibilityAutoStateChangeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSContentVisibilityAutoStateChangeEvent; property skipped: Boolean read _Getskipped; end; { -------------------------------------------------------------------- TJSCSSCounterStyleRule --------------------------------------------------------------------} IJSCSSCounterStyleRule = interface(IJSCSSRule) ['{28227C02-BC5A-3A47-9EAD-179182ACFF81}'] function _Getname: UnicodeString; function _Getsystem: UTF8String; function _Getsymbols: UTF8String; function _GetadditiveSymbols: UTF8String; function _Getnegative: UTF8String; function _Getprefix: UTF8String; function _Getsuffix: UTF8String; function _Getrange: UTF8String; function _Getpad: UTF8String; function _GetspeakAs: UTF8String; function _Getfallback: UTF8String; procedure _Setname(const aValue: UnicodeString); procedure _Setsystem(const aValue: UTF8String); procedure _Setsymbols(const aValue: UTF8String); procedure _SetadditiveSymbols(const aValue: UTF8String); procedure _Setnegative(const aValue: UTF8String); procedure _Setprefix(const aValue: UTF8String); procedure _Setsuffix(const aValue: UTF8String); procedure _Setrange(const aValue: UTF8String); procedure _Setpad(const aValue: UTF8String); procedure _SetspeakAs(const aValue: UTF8String); procedure _Setfallback(const aValue: UTF8String); property name: UnicodeString read _Getname write _Setname; property system: UTF8String read _Getsystem write _Setsystem; property symbols: UTF8String read _Getsymbols write _Setsymbols; property additiveSymbols: UTF8String read _GetadditiveSymbols write _SetadditiveSymbols; property negative: UTF8String read _Getnegative write _Setnegative; property prefix: UTF8String read _Getprefix write _Setprefix; property suffix: UTF8String read _Getsuffix write _Setsuffix; property range: UTF8String read _Getrange write _Setrange; property pad: UTF8String read _Getpad write _Setpad; property speakAs: UTF8String read _GetspeakAs write _SetspeakAs; property fallback: UTF8String read _Getfallback write _Setfallback; end; TJSCSSCounterStyleRule = class(TJSCSSRule,IJSCSSCounterStyleRule) Private Protected function _Getname: UnicodeString; function _Getsystem: UTF8String; function _Getsymbols: UTF8String; function _GetadditiveSymbols: UTF8String; function _Getnegative: UTF8String; function _Getprefix: UTF8String; function _Getsuffix: UTF8String; function _Getrange: UTF8String; function _Getpad: UTF8String; function _GetspeakAs: UTF8String; function _Getfallback: UTF8String; procedure _Setname(const aValue: UnicodeString); procedure _Setsystem(const aValue: UTF8String); procedure _Setsymbols(const aValue: UTF8String); procedure _SetadditiveSymbols(const aValue: UTF8String); procedure _Setnegative(const aValue: UTF8String); procedure _Setprefix(const aValue: UTF8String); procedure _Setsuffix(const aValue: UTF8String); procedure _Setrange(const aValue: UTF8String); procedure _Setpad(const aValue: UTF8String); procedure _SetspeakAs(const aValue: UTF8String); procedure _Setfallback(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSCounterStyleRule; property name: UnicodeString read _Getname write _Setname; property system: UTF8String read _Getsystem write _Setsystem; property symbols: UTF8String read _Getsymbols write _Setsymbols; property additiveSymbols: UTF8String read _GetadditiveSymbols write _SetadditiveSymbols; property negative: UTF8String read _Getnegative write _Setnegative; property prefix: UTF8String read _Getprefix write _Setprefix; property suffix: UTF8String read _Getsuffix write _Setsuffix; property range: UTF8String read _Getrange write _Setrange; property pad: UTF8String read _Getpad write _Setpad; property speakAs: UTF8String read _GetspeakAs write _SetspeakAs; property fallback: UTF8String read _Getfallback write _Setfallback; end; { -------------------------------------------------------------------- TJSCSSFontFaceRule --------------------------------------------------------------------} IJSCSSFontFaceRule = interface(IJSCSSRule) ['{05456B96-635A-37A9-8FC0-3B7D3F3D6A4F}'] function _Getstyle: IJSCSSStyleDeclaration; property style: IJSCSSStyleDeclaration read _Getstyle; end; TJSCSSFontFaceRule = class(TJSCSSRule,IJSCSSFontFaceRule) Private Protected function _Getstyle: IJSCSSStyleDeclaration; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSFontFaceRule; property style: IJSCSSStyleDeclaration read _Getstyle; end; { -------------------------------------------------------------------- TJSCSSFontFeatureValuesRule --------------------------------------------------------------------} IJSCSSFontFeatureValuesRule = interface(IJSCSSRule) ['{3BF36D4B-8E19-38C7-934F-55E179604BE8}'] function _GetfontFamily: UTF8String; function _GetvalueText: UTF8String; procedure _SetfontFamily(const aValue: UTF8String); procedure _SetvalueText(const aValue: UTF8String); property fontFamily: UTF8String read _GetfontFamily write _SetfontFamily; property valueText: UTF8String read _GetvalueText write _SetvalueText; end; TJSCSSFontFeatureValuesRule = class(TJSCSSRule,IJSCSSFontFeatureValuesRule) Private Protected function _GetfontFamily: UTF8String; function _GetvalueText: UTF8String; procedure _SetfontFamily(const aValue: UTF8String); procedure _SetvalueText(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSFontFeatureValuesRule; property fontFamily: UTF8String read _GetfontFamily write _SetfontFamily; property valueText: UTF8String read _GetvalueText write _SetvalueText; end; { -------------------------------------------------------------------- TJSCSSFontPaletteValuesRule --------------------------------------------------------------------} IJSCSSFontPaletteValuesRule = interface(IJSCSSRule) ['{41ADB283-3E86-3ADA-97FA-62C4D2428D19}'] function _Getname: UTF8String; function _GetfontFamily: UTF8String; function _GetbasePalette: UTF8String; function _GetoverrideColors: UTF8String; property name: UTF8String read _Getname; property fontFamily: UTF8String read _GetfontFamily; property basePalette: UTF8String read _GetbasePalette; property overrideColors: UTF8String read _GetoverrideColors; end; TJSCSSFontPaletteValuesRule = class(TJSCSSRule,IJSCSSFontPaletteValuesRule) Private Protected function _Getname: UTF8String; function _GetfontFamily: UTF8String; function _GetbasePalette: UTF8String; function _GetoverrideColors: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSFontPaletteValuesRule; property name: UTF8String read _Getname; property fontFamily: UTF8String read _GetfontFamily; property basePalette: UTF8String read _GetbasePalette; property overrideColors: UTF8String read _GetoverrideColors; end; { -------------------------------------------------------------------- TJSCSSGroupingRule --------------------------------------------------------------------} IJSCSSGroupingRule = interface(IJSCSSRule) ['{3F46D276-5CEA-3272-ABB7-06D12D26C30A}'] function _GetcssRules: IJSCSSRuleList; function insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; function insertRule(const aRule: UTF8String): Cardinal; procedure deleteRule(aIndex: Cardinal); property cssRules: IJSCSSRuleList read _GetcssRules; end; TJSCSSGroupingRule = class(TJSCSSRule,IJSCSSGroupingRule) Private Protected function _GetcssRules: IJSCSSRuleList; Public function insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; overload; function insertRule(const aRule: UTF8String): Cardinal; overload; procedure deleteRule(aIndex: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSGroupingRule; property cssRules: IJSCSSRuleList read _GetcssRules; end; { -------------------------------------------------------------------- TJSCSSImportRule --------------------------------------------------------------------} IJSCSSImportRule = interface(IJSCSSRule) ['{76111F1B-A229-383F-A2C9-12900416399D}'] function _Gethref: UnicodeString; function _Getmedia: IJSMediaList; function _GetstyleSheet: IJSCSSStyleSheet; function _GetlayerName: UTF8String; function _GetsupportsText: UTF8String; property href: UnicodeString read _Gethref; property media: IJSMediaList read _Getmedia; property styleSheet: IJSCSSStyleSheet read _GetstyleSheet; property layerName: UTF8String read _GetlayerName; property supportsText: UTF8String read _GetsupportsText; end; TJSCSSImportRule = class(TJSCSSRule,IJSCSSImportRule) Private Protected function _Gethref: UnicodeString; function _Getmedia: IJSMediaList; function _GetstyleSheet: IJSCSSStyleSheet; function _GetlayerName: UTF8String; function _GetsupportsText: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSImportRule; property href: UnicodeString read _Gethref; property media: IJSMediaList read _Getmedia; property styleSheet: IJSCSSStyleSheet read _GetstyleSheet; property layerName: UTF8String read _GetlayerName; property supportsText: UTF8String read _GetsupportsText; end; { -------------------------------------------------------------------- TJSCSSKeyframeRule --------------------------------------------------------------------} IJSCSSKeyframeRule = interface(IJSCSSRule) ['{1247E3FD-5EA5-320F-A905-818FB6DA7222}'] function _GetkeyText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetkeyText(const aValue: UTF8String); property keyText: UTF8String read _GetkeyText write _SetkeyText; property style: IJSCSSStyleDeclaration read _Getstyle; end; TJSCSSKeyframeRule = class(TJSCSSRule,IJSCSSKeyframeRule) Private Protected function _GetkeyText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetkeyText(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSKeyframeRule; property keyText: UTF8String read _GetkeyText write _SetkeyText; property style: IJSCSSStyleDeclaration read _Getstyle; end; { -------------------------------------------------------------------- TJSCSSKeyframesRule --------------------------------------------------------------------} IJSCSSKeyframesRule = interface(IJSCSSRule) ['{61EA6063-6AA7-365E-AC3E-B4EAC930D18D}'] function _Getname: UnicodeString; function _GetcssRules: IJSCSSRuleList; function _Getlength_: Cardinal; procedure _Setname(const aValue: UnicodeString); function GetDefault(aIndex: Cardinal): IJSCSSKeyframeRule; procedure appendRule(const aRule: UnicodeString); procedure deleteRule(const aSelect: UnicodeString); function findRule(const aSelect: UnicodeString): IJSCSSKeyframeRule; property name: UnicodeString read _Getname write _Setname; property cssRules: IJSCSSRuleList read _GetcssRules; property length_: Cardinal read _Getlength_; end; TJSCSSKeyframesRule = class(TJSCSSRule,IJSCSSKeyframesRule) Private Protected function _Getname: UnicodeString; function _GetcssRules: IJSCSSRuleList; function _Getlength_: Cardinal; procedure _Setname(const aValue: UnicodeString); Public function GetDefault(aIndex: Cardinal): IJSCSSKeyframeRule; overload; procedure appendRule(const aRule: UnicodeString); overload; procedure deleteRule(const aSelect: UnicodeString); overload; function findRule(const aSelect: UnicodeString): IJSCSSKeyframeRule; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSKeyframesRule; property name: UnicodeString read _Getname write _Setname; property cssRules: IJSCSSRuleList read _GetcssRules; property length_: Cardinal read _Getlength_; end; { -------------------------------------------------------------------- TJSCSSLayerStatementRule --------------------------------------------------------------------} IJSCSSLayerStatementRule = interface(IJSCSSRule) ['{270E1F9C-A650-309C-AD9C-EC7DA6AA50F1}'] function _GetnameList: TUTF8StringDynArray; property nameList: TUTF8StringDynArray read _GetnameList; end; TJSCSSLayerStatementRule = class(TJSCSSRule,IJSCSSLayerStatementRule) Private Protected function _GetnameList: TUTF8StringDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSLayerStatementRule; property nameList: TUTF8StringDynArray read _GetnameList; end; { -------------------------------------------------------------------- TJSCSSNamespaceRule --------------------------------------------------------------------} IJSCSSNamespaceRule = interface(IJSCSSRule) ['{85AD0F15-F9C2-30F8-B0BD-5077E8004BC7}'] function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; end; TJSCSSNamespaceRule = class(TJSCSSRule,IJSCSSNamespaceRule) Private Protected function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSNamespaceRule; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; end; { -------------------------------------------------------------------- TJSCSSPropertyRule --------------------------------------------------------------------} IJSCSSPropertyRule = interface(IJSCSSRule) ['{718D9F86-3F92-3D7C-ACEE-E9DDC46F93B2}'] function _Getname: UTF8String; function _Getsyntax: UTF8String; function _Getinherits: Boolean; function _GetinitialValue: UTF8String; property name: UTF8String read _Getname; property syntax: UTF8String read _Getsyntax; property inherits: Boolean read _Getinherits; property initialValue: UTF8String read _GetinitialValue; end; TJSCSSPropertyRule = class(TJSCSSRule,IJSCSSPropertyRule) Private Protected function _Getname: UTF8String; function _Getsyntax: UTF8String; function _Getinherits: Boolean; function _GetinitialValue: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSPropertyRule; property name: UTF8String read _Getname; property syntax: UTF8String read _Getsyntax; property inherits: Boolean read _Getinherits; property initialValue: UTF8String read _GetinitialValue; end; { -------------------------------------------------------------------- TJSCSSStyleSheet --------------------------------------------------------------------} IJSCSSStyleSheet = interface(IJSStyleSheet) ['{CBEA9F79-9F3A-312F-8439-3B9DFE5F999C}'] function _GetownerRule: IJSCSSRule; function _GetcssRules: IJSCSSRuleList; function _Getrules: IJSCSSRuleList; function insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; function insertRule(const aRule: UTF8String): Cardinal; procedure deleteRule(aIndex: Cardinal); function replace(const aText: UTF8String): IJSPromise; // Promise procedure replaceSync(const aText: UTF8String); procedure removeRule(aIndex: Cardinal); procedure removeRule; function addRule(const aSelector: UTF8String; const aStyle: UTF8String; aIndex: Cardinal): LongInt; function addRule: LongInt; function addRule(const aSelector: UTF8String): LongInt; function addRule(const aSelector: UTF8String; const aStyle: UTF8String): LongInt; property ownerRule: IJSCSSRule read _GetownerRule; property cssRules: IJSCSSRuleList read _GetcssRules; property rules: IJSCSSRuleList read _Getrules; end; TJSCSSStyleSheet = class(TJSStyleSheet,IJSCSSStyleSheet) Private Protected function _GetownerRule: IJSCSSRule; function _GetcssRules: IJSCSSRuleList; function _Getrules: IJSCSSRuleList; Public constructor Create(const aOptions: IJSCSSStyleSheetInit); overload; constructor Create; overload; function insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; overload; function insertRule(const aRule: UTF8String): Cardinal; overload; procedure deleteRule(aIndex: Cardinal); overload; function replace(const aText: UTF8String): IJSPromise; overload; // Promise procedure replaceSync(const aText: UTF8String); overload; procedure removeRule(aIndex: Cardinal); overload; procedure removeRule; overload; function addRule(const aSelector: UTF8String; const aStyle: UTF8String; aIndex: Cardinal): LongInt; overload; function addRule: LongInt; overload; function addRule(const aSelector: UTF8String): LongInt; overload; function addRule(const aSelector: UTF8String; const aStyle: UTF8String): LongInt; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSStyleSheet; property ownerRule: IJSCSSRule read _GetownerRule; property cssRules: IJSCSSRuleList read _GetcssRules; property rules: IJSCSSRuleList read _Getrules; end; { -------------------------------------------------------------------- TJSCustomEvent --------------------------------------------------------------------} IJSCustomEvent = interface(IJSEvent) ['{B8FAD12B-D16E-3A78-AD46-A200048D9B54}'] function _Getdetail: Variant; procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aDetail: Variant); procedure initCustomEvent(const aType_: UnicodeString); procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); property detail: Variant read _Getdetail; end; TJSCustomEvent = class(TJSEvent,IJSCustomEvent) Private Protected function _Getdetail: Variant; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSCustomEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aDetail: Variant); overload; procedure initCustomEvent(const aType_: UnicodeString); overload; procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCustomEvent; property detail: Variant read _Getdetail; end; { -------------------------------------------------------------------- TJSDecompressionStream --------------------------------------------------------------------} IJSDecompressionStream = interface(IJSGenericTransformStream) ['{A65B9AE3-8714-3C8C-BC97-E0AC5ED9C9AD}'] end; TJSDecompressionStream = class(TJSGenericTransformStream,IJSDecompressionStream) Private Protected Public constructor Create(aFormat: TCompressionFormat); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDecompressionStream; end; { -------------------------------------------------------------------- TJSDeviceLightEvent --------------------------------------------------------------------} IJSDeviceLightEvent = interface(IJSEvent) ['{F19CBD72-8CBA-3D2B-B438-CA916403B1A9}'] function _Getvalue: Double; property value: Double read _Getvalue; end; TJSDeviceLightEvent = class(TJSEvent,IJSDeviceLightEvent) Private Protected function _Getvalue: Double; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceLightEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceLightEvent; property value: Double read _Getvalue; end; { -------------------------------------------------------------------- TJSDeviceMotionEvent --------------------------------------------------------------------} IJSDeviceMotionEvent = interface(IJSEvent) ['{ACE340CF-AF08-3D7E-9F9F-527A410380C9}'] function _Getacceleration: IJSDeviceAcceleration; function _GetaccelerationIncludingGravity: IJSDeviceAcceleration; function _GetrotationRate: IJSDeviceRotationRate; function _Getinterval: Double; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit; aInterval: Double); procedure initDeviceMotionEvent(const aType_: UnicodeString); procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit); procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit); procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit); property acceleration: IJSDeviceAcceleration read _Getacceleration; property accelerationIncludingGravity: IJSDeviceAcceleration read _GetaccelerationIncludingGravity; property rotationRate: IJSDeviceRotationRate read _GetrotationRate; property interval: Double read _Getinterval; end; TJSDeviceMotionEvent = class(TJSEvent,IJSDeviceMotionEvent) Private Protected function _Getacceleration: IJSDeviceAcceleration; function _GetaccelerationIncludingGravity: IJSDeviceAcceleration; function _GetrotationRate: IJSDeviceRotationRate; function _Getinterval: Double; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceMotionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit; aInterval: Double); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit); overload; procedure initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceMotionEvent; property acceleration: IJSDeviceAcceleration read _Getacceleration; property accelerationIncludingGravity: IJSDeviceAcceleration read _GetaccelerationIncludingGravity; property rotationRate: IJSDeviceRotationRate read _GetrotationRate; property interval: Double read _Getinterval; end; { -------------------------------------------------------------------- TJSDeviceOrientationEvent --------------------------------------------------------------------} IJSDeviceOrientationEvent = interface(IJSEvent) ['{303F7D04-EC9D-3D4A-9E15-597DF3F8DAEC}'] function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; function _Getabsolute_: Boolean; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double; aAbsolute_: Boolean); procedure initDeviceOrientationEvent(const aType_: UnicodeString); procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double); procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double); procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double); property alpha: Double read _Getalpha; property beta: Double read _Getbeta; property gamma: Double read _Getgamma; property absolute_: Boolean read _Getabsolute_; end; TJSDeviceOrientationEvent = class(TJSEvent,IJSDeviceOrientationEvent) Private Protected function _Getalpha: Double; function _Getbeta: Double; function _Getgamma: Double; function _Getabsolute_: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceOrientationEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double; aAbsolute_: Boolean); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double); overload; procedure initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeviceOrientationEvent; property alpha: Double read _Getalpha; property beta: Double read _Getbeta; property gamma: Double read _Getgamma; property absolute_: Boolean read _Getabsolute_; end; { -------------------------------------------------------------------- TJSDocumentTimeline --------------------------------------------------------------------} IJSDocumentTimeline = interface(IJSAnimationTimeline) ['{E9F05D28-276D-3425-81C6-8856CF1208DB}'] end; TJSDocumentTimeline = class(TJSAnimationTimeline,IJSDocumentTimeline) Private Protected Public constructor Create(const aOptions: IJSDocumentTimelineOptions); overload; constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocumentTimeline; end; { -------------------------------------------------------------------- TJSException --------------------------------------------------------------------} IJSException = interface(IJSExceptionMembers) ['{BB797CE8-9A0C-3C58-81DB-BB8658F9BA52}'] function _Getname: UnicodeString; function _Getmessage: UnicodeString; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; end; TJSException = class(TJSExceptionMembers,IJSException) Private Protected function _Getname: UnicodeString; function _Getmessage: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSException; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSDOMException --------------------------------------------------------------------} IJSDOMException = interface(IJSExceptionMembers) ['{2C6C3F00-89B2-35A4-9A7A-4447C02EEAAA}'] function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _Getcode: Word; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property code: Word read _Getcode; end; TJSDOMException = class(TJSExceptionMembers,IJSDOMException) Private Protected function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _Getcode: Word; Public Const INDEX_SIZE_ERR = 1; DOMSTRING_SIZE_ERR = 2; HIERARCHY_REQUEST_ERR = 3; WRONG_DOCUMENT_ERR = 4; INVALID_CHARACTER_ERR = 5; NO_DATA_ALLOWED_ERR = 6; NO_MODIFICATION_ALLOWED_ERR = 7; NOT_FOUND_ERR = 8; NOT_SUPPORTED_ERR = 9; INUSE_ATTRIBUTE_ERR = 10; INVALID_STATE_ERR = 11; SYNTAX_ERR = 12; INVALID_MODIFICATION_ERR = 13; NAMESPACE_ERR = 14; INVALID_ACCESS_ERR = 15; VALIDATION_ERR = 16; TYPE_MISMATCH_ERR = 17; SECURITY_ERR = 18; NETWORK_ERR = 19; ABORT_ERR = 20; URL_MISMATCH_ERR = 21; QUOTA_EXCEEDED_ERR = 22; TIMEOUT_ERR = 23; INVALID_NODE_TYPE_ERR = 24; DATA_CLONE_ERR = 25; Public constructor Create(const aMessage: UnicodeString; const aName: UnicodeString); overload; constructor Create; overload; constructor Create(const aMessage: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMException; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property code: Word read _Getcode; end; { -------------------------------------------------------------------- TJSDOMLocalization --------------------------------------------------------------------} IJSDOMLocalization = interface(IJSLocalization) ['{D233ABB2-08D5-3C3B-961E-82BAEB6AA7E2}'] procedure connectRoot(aAElement: IJSNode); procedure disconnectRoot(aAElement: IJSNode); procedure pauseObserving; procedure resumeObserving; procedure setAttributes(aAElement: IJSElement; const aAId: UnicodeString; aAArgs: IJSObject); procedure setAttributes(aAElement: IJSElement; const aAId: UnicodeString); function getAttributes(aAElement: IJSElement): IJSL10nIdArgs; procedure setArgs(aAElement: IJSElement; aAArgs: IJSObject); procedure setArgs(aAElement: IJSElement); function translateFragment(aANode: IJSNode): IJSPromise; // Promise function translateElements(const aAElements: TJSElementDynArray): IJSPromise; // Promise function translateRoots: IJSPromise; // Promise end; TJSDOMLocalization = class(TJSLocalization,IJSDOMLocalization) Private Protected Public constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject; const aALocales: TUTF8StringDynArray); overload; constructor Create(const aAResourceIds: TDOMStringDynArray); overload; constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean); overload; constructor Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject); overload; procedure connectRoot(aAElement: IJSNode); overload; procedure disconnectRoot(aAElement: IJSNode); overload; procedure pauseObserving; overload; procedure resumeObserving; overload; procedure setAttributes(aAElement: IJSElement; const aAId: UnicodeString; aAArgs: IJSObject); overload; procedure setAttributes(aAElement: IJSElement; const aAId: UnicodeString); overload; function getAttributes(aAElement: IJSElement): IJSL10nIdArgs; overload; procedure setArgs(aAElement: IJSElement; aAArgs: IJSObject); overload; procedure setArgs(aAElement: IJSElement); overload; function translateFragment(aANode: IJSNode): IJSPromise; overload; // Promise function translateElements(const aAElements: TJSElementDynArray): IJSPromise; overload; // Promise function translateRoots: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMLocalization; end; { -------------------------------------------------------------------- TJSDOMMatrix --------------------------------------------------------------------} // Union of UTF8String, sequence, DOMMatrixReadOnly TDOMMatrix_New_init_Type = Variant; IJSDOMMatrix = interface(IJSDOMMatrixReadOnly) ['{5AB58B4D-E63F-3E20-81EC-0889BBDA95F7}'] function _Geta2: Double; function _Getb2: Double; function _Getc2: Double; function _Getd2: Double; function _Gete2: Double; function _Getf2: Double; function _Getm112: Double; function _Getm122: Double; function _Getm132: Double; function _Getm142: Double; function _Getm212: Double; function _Getm222: Double; function _Getm232: Double; function _Getm242: Double; function _Getm312: Double; function _Getm322: Double; function _Getm332: Double; function _Getm342: Double; function _Getm412: Double; function _Getm422: Double; function _Getm432: Double; function _Getm442: Double; procedure _Seta2(const aValue: Double); procedure _Setb2(const aValue: Double); procedure _Setc2(const aValue: Double); procedure _Setd2(const aValue: Double); procedure _Sete2(const aValue: Double); procedure _Setf2(const aValue: Double); procedure _Setm112(const aValue: Double); procedure _Setm122(const aValue: Double); procedure _Setm132(const aValue: Double); procedure _Setm142(const aValue: Double); procedure _Setm212(const aValue: Double); procedure _Setm222(const aValue: Double); procedure _Setm232(const aValue: Double); procedure _Setm242(const aValue: Double); procedure _Setm312(const aValue: Double); procedure _Setm322(const aValue: Double); procedure _Setm332(const aValue: Double); procedure _Setm342(const aValue: Double); procedure _Setm412(const aValue: Double); procedure _Setm422(const aValue: Double); procedure _Setm432(const aValue: Double); procedure _Setm442(const aValue: Double); function multiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; function multiplySelf: IJSDOMMatrix; function preMultiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; function preMultiplySelf: IJSDOMMatrix; function translateSelf(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; function translateSelf: IJSDOMMatrix; function translateSelf(aTx: Double): IJSDOMMatrix; function translateSelf(aTx: Double; aTy: Double): IJSDOMMatrix; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; function scaleSelf: IJSDOMMatrix; function scaleSelf(aScaleX: Double): IJSDOMMatrix; function scaleSelf(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; function scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; function scale3dSelf: IJSDOMMatrix; function scale3dSelf(aScale: Double): IJSDOMMatrix; function scale3dSelf(aScale: Double; aOriginX: Double): IJSDOMMatrix; function scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; function rotateSelf(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; function rotateSelf: IJSDOMMatrix; function rotateSelf(aRotX: Double): IJSDOMMatrix; function rotateSelf(aRotX: Double; aRotY: Double): IJSDOMMatrix; function rotateFromVectorSelf(aX: Double; aY: Double): IJSDOMMatrix; function rotateFromVectorSelf: IJSDOMMatrix; function rotateFromVectorSelf(aX: Double): IJSDOMMatrix; function rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; function rotateAxisAngleSelf: IJSDOMMatrix; function rotateAxisAngleSelf(aX: Double): IJSDOMMatrix; function rotateAxisAngleSelf(aX: Double; aY: Double): IJSDOMMatrix; function rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; function skewXSelf(aSx: Double): IJSDOMMatrix; function skewXSelf: IJSDOMMatrix; function skewYSelf(aSy: Double): IJSDOMMatrix; function skewYSelf: IJSDOMMatrix; function invertSelf: IJSDOMMatrix; function setMatrixValue(const aTransformList: UTF8String): IJSDOMMatrix; property a: Double read _Geta2 write _Seta2; property b: Double read _Getb2 write _Setb2; property c: Double read _Getc2 write _Setc2; property d: Double read _Getd2 write _Setd2; property e: Double read _Gete2 write _Sete2; property f: Double read _Getf2 write _Setf2; property m11: Double read _Getm112 write _Setm112; property m12: Double read _Getm122 write _Setm122; property m13: Double read _Getm132 write _Setm132; property m14: Double read _Getm142 write _Setm142; property m21: Double read _Getm212 write _Setm212; property m22: Double read _Getm222 write _Setm222; property m23: Double read _Getm232 write _Setm232; property m24: Double read _Getm242 write _Setm242; property m31: Double read _Getm312 write _Setm312; property m32: Double read _Getm322 write _Setm322; property m33: Double read _Getm332 write _Setm332; property m34: Double read _Getm342 write _Setm342; property m41: Double read _Getm412 write _Setm412; property m42: Double read _Getm422 write _Setm422; property m43: Double read _Getm432 write _Setm432; property m44: Double read _Getm442 write _Setm442; end; TJSDOMMatrix = class(TJSDOMMatrixReadOnly,IJSDOMMatrix) Private Protected function _Geta2: Double; function _Getb2: Double; function _Getc2: Double; function _Getd2: Double; function _Gete2: Double; function _Getf2: Double; function _Getm112: Double; function _Getm122: Double; function _Getm132: Double; function _Getm142: Double; function _Getm212: Double; function _Getm222: Double; function _Getm232: Double; function _Getm242: Double; function _Getm312: Double; function _Getm322: Double; function _Getm332: Double; function _Getm342: Double; function _Getm412: Double; function _Getm422: Double; function _Getm432: Double; function _Getm442: Double; procedure _Seta2(const aValue: Double); procedure _Setb2(const aValue: Double); procedure _Setc2(const aValue: Double); procedure _Setd2(const aValue: Double); procedure _Sete2(const aValue: Double); procedure _Setf2(const aValue: Double); procedure _Setm112(const aValue: Double); procedure _Setm122(const aValue: Double); procedure _Setm132(const aValue: Double); procedure _Setm142(const aValue: Double); procedure _Setm212(const aValue: Double); procedure _Setm222(const aValue: Double); procedure _Setm232(const aValue: Double); procedure _Setm242(const aValue: Double); procedure _Setm312(const aValue: Double); procedure _Setm322(const aValue: Double); procedure _Setm332(const aValue: Double); procedure _Setm342(const aValue: Double); procedure _Setm412(const aValue: Double); procedure _Setm422(const aValue: Double); procedure _Setm432(const aValue: Double); procedure _Setm442(const aValue: Double); Public constructor Create(aInit: IJSDOMMatrixReadOnly); overload; constructor Create; overload; constructor Create(const aInit: TDoubleDynArray); overload; constructor Create(const aInit: UTF8String); overload; function fromMatrix(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; overload; function fromMatrix: IJSDOMMatrix; overload; function fromFloat32Array(aArray32: IJSFloat32Array): IJSDOMMatrix; overload; function fromFloat64Array(aArray64: IJSFloat64Array): IJSDOMMatrix; overload; function multiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; overload; function multiplySelf: IJSDOMMatrix; overload; function preMultiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; overload; function preMultiplySelf: IJSDOMMatrix; overload; function translateSelf(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; overload; function translateSelf: IJSDOMMatrix; overload; function translateSelf(aTx: Double): IJSDOMMatrix; overload; function translateSelf(aTx: Double; aTy: Double): IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; overload; function scaleSelf: IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double): IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; overload; function scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; overload; function scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; overload; function scale3dSelf: IJSDOMMatrix; overload; function scale3dSelf(aScale: Double): IJSDOMMatrix; overload; function scale3dSelf(aScale: Double; aOriginX: Double): IJSDOMMatrix; overload; function scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; overload; function rotateSelf(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; overload; function rotateSelf: IJSDOMMatrix; overload; function rotateSelf(aRotX: Double): IJSDOMMatrix; overload; function rotateSelf(aRotX: Double; aRotY: Double): IJSDOMMatrix; overload; function rotateFromVectorSelf(aX: Double; aY: Double): IJSDOMMatrix; overload; function rotateFromVectorSelf: IJSDOMMatrix; overload; function rotateFromVectorSelf(aX: Double): IJSDOMMatrix; overload; function rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; overload; function rotateAxisAngleSelf: IJSDOMMatrix; overload; function rotateAxisAngleSelf(aX: Double): IJSDOMMatrix; overload; function rotateAxisAngleSelf(aX: Double; aY: Double): IJSDOMMatrix; overload; function rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; overload; function skewXSelf(aSx: Double): IJSDOMMatrix; overload; function skewXSelf: IJSDOMMatrix; overload; function skewYSelf(aSy: Double): IJSDOMMatrix; overload; function skewYSelf: IJSDOMMatrix; overload; function invertSelf: IJSDOMMatrix; overload; function setMatrixValue(const aTransformList: UTF8String): IJSDOMMatrix; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMMatrix; property a: Double read _Geta2 write _Seta2; property b: Double read _Getb2 write _Setb2; property c: Double read _Getc2 write _Setc2; property d: Double read _Getd2 write _Setd2; property e: Double read _Gete2 write _Sete2; property f: Double read _Getf2 write _Setf2; property m11: Double read _Getm112 write _Setm112; property m12: Double read _Getm122 write _Setm122; property m13: Double read _Getm132 write _Setm132; property m14: Double read _Getm142 write _Setm142; property m21: Double read _Getm212 write _Setm212; property m22: Double read _Getm222 write _Setm222; property m23: Double read _Getm232 write _Setm232; property m24: Double read _Getm242 write _Setm242; property m31: Double read _Getm312 write _Setm312; property m32: Double read _Getm322 write _Setm322; property m33: Double read _Getm332 write _Setm332; property m34: Double read _Getm342 write _Setm342; property m41: Double read _Getm412 write _Setm412; property m42: Double read _Getm422 write _Setm422; property m43: Double read _Getm432 write _Setm432; property m44: Double read _Getm442 write _Setm442; end; { -------------------------------------------------------------------- TJSDOMPoint --------------------------------------------------------------------} IJSDOMPoint = interface(IJSDOMPointReadOnly) ['{99C3FF21-291B-334E-BE70-12E3446261EF}'] function _Getx2: Double; function _Gety2: Double; function _Getz2: Double; function _Getw2: Double; procedure _Setx2(const aValue: Double); procedure _Sety2(const aValue: Double); procedure _Setz2(const aValue: Double); procedure _Setw2(const aValue: Double); property x: Double read _Getx2 write _Setx2; property y: Double read _Gety2 write _Sety2; property z: Double read _Getz2 write _Setz2; property w: Double read _Getw2 write _Setw2; end; TJSDOMPoint = class(TJSDOMPointReadOnly,IJSDOMPoint) Private Protected function _Getx2: Double; function _Gety2: Double; function _Getz2: Double; function _Getw2: Double; procedure _Setx2(const aValue: Double); procedure _Sety2(const aValue: Double); procedure _Setz2(const aValue: Double); procedure _Setw2(const aValue: Double); Public constructor Create(aX: Double; aY: Double; aZ: Double; aW: Double); overload; constructor Create; overload; constructor Create(aX: Double); overload; constructor Create(aX: Double; aY: Double); overload; constructor Create(aX: Double; aY: Double; aZ: Double); overload; function fromPoint(const aOther: IJSDOMPointInit): IJSDOMPoint; overload; function fromPoint: IJSDOMPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMPoint; property x: Double read _Getx2 write _Setx2; property y: Double read _Gety2 write _Sety2; property z: Double read _Getz2 write _Setz2; property w: Double read _Getw2 write _Setw2; end; { -------------------------------------------------------------------- TJSDOMRect --------------------------------------------------------------------} IJSDOMRect = interface(IJSDOMRectReadOnly) ['{491BD5AD-8D74-3F01-BC3C-2DF00C3E9384}'] function _Getx2: Double; function _Gety2: Double; function _Getwidth2: Double; function _Getheight2: Double; procedure _Setx2(const aValue: Double); procedure _Sety2(const aValue: Double); procedure _Setwidth2(const aValue: Double); procedure _Setheight2(const aValue: Double); property x: Double read _Getx2 write _Setx2; property y: Double read _Gety2 write _Sety2; property width: Double read _Getwidth2 write _Setwidth2; property height: Double read _Getheight2 write _Setheight2; end; TJSDOMRect = class(TJSDOMRectReadOnly,IJSDOMRect) Private Protected function _Getx2: Double; function _Gety2: Double; function _Getwidth2: Double; function _Getheight2: Double; procedure _Setx2(const aValue: Double); procedure _Sety2(const aValue: Double); procedure _Setwidth2(const aValue: Double); procedure _Setheight2(const aValue: Double); Public constructor Create(aX: Double; aY: Double; aWidth: Double; aHeight: Double); overload; constructor Create; overload; constructor Create(aX: Double); overload; constructor Create(aX: Double; aY: Double); overload; constructor Create(aX: Double; aY: Double; aWidth: Double); overload; function fromRect(const aOther: IJSDOMRectInit): IJSDOMRect; overload; function fromRect: IJSDOMRect; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDOMRect; property x: Double read _Getx2 write _Setx2; property y: Double read _Gety2 write _Sety2; property width: Double read _Getwidth2 write _Setwidth2; property height: Double read _Getheight2 write _Setheight2; end; { -------------------------------------------------------------------- TJSErrorEvent --------------------------------------------------------------------} IJSErrorEvent = interface(IJSEvent) ['{5B392ECE-78EF-3096-ACB5-E810F576E0A2}'] function _Getmessage: UnicodeString; function _Getfilename: UnicodeString; function _Getlineno: Cardinal; function _Getcolno: Cardinal; function _Geterror: Variant; property message: UnicodeString read _Getmessage; property filename: UnicodeString read _Getfilename; property lineno: Cardinal read _Getlineno; property colno: Cardinal read _Getcolno; property error: Variant read _Geterror; end; TJSErrorEvent = class(TJSEvent,IJSErrorEvent) Private Protected function _Getmessage: UnicodeString; function _Getfilename: UnicodeString; function _Getlineno: Cardinal; function _Getcolno: Cardinal; function _Geterror: Variant; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSErrorEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSErrorEvent; property message: UnicodeString read _Getmessage; property filename: UnicodeString read _Getfilename; property lineno: Cardinal read _Getlineno; property colno: Cardinal read _Getcolno; property error: Variant read _Geterror; end; { -------------------------------------------------------------------- TJSEventSource --------------------------------------------------------------------} IJSEventSource = interface(IJSEventTarget) ['{70C77BD3-B91C-3FBA-AC3F-B812771B162A}'] function _Geturl: UnicodeString; function _GetwithCredentials: Boolean; function _GetreadyState: Word; function _Getonopen: TEventHandler; function _Getonmessage: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonopen(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure close; property url: UnicodeString read _Geturl; property withCredentials: Boolean read _GetwithCredentials; property readyState: Word read _GetreadyState; property onopen: TEventHandler read _Getonopen write _Setonopen; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSEventSource = class(TJSEventTarget,IJSEventSource) Private Protected function _Geturl: UnicodeString; function _GetwithCredentials: Boolean; function _GetreadyState: Word; function _Getonopen: TEventHandler; function _Getonmessage: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonopen(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public Const CONNECTING = 0; OPEN = 1; CLOSED = 2; Public constructor Create(const aUrl: UnicodeString; const aEventSourceInitDict: IJSEventSourceInit); overload; constructor Create(const aUrl: UnicodeString); overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSEventSource; property url: UnicodeString read _Geturl; property withCredentials: Boolean read _GetwithCredentials; property readyState: Word read _GetreadyState; property onopen: TEventHandler read _Getonopen write _Setonopen; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSExtendableEvent --------------------------------------------------------------------} IJSExtendableEvent = interface(IJSEvent) ['{C61E2525-7289-3D39-8B90-2FCF1FF299F5}'] procedure waitUntil(aP: IJSPromise); end; TJSExtendableEvent = class(TJSEvent,IJSExtendableEvent) Private Protected Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSExtendableEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure waitUntil(aP: IJSPromise); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtendableEvent; end; { -------------------------------------------------------------------- TJSFeaturePolicyViolationReportBody --------------------------------------------------------------------} IJSFeaturePolicyViolationReportBody = interface(IJSReportBody) ['{41E08A45-B4E4-3F4A-AB46-8FFBD1E6C5E1}'] function _GetfeatureId: UnicodeString; function _GetsourceFile: UnicodeString; function _GetlineNumber: LongInt; function _GetcolumnNumber: LongInt; function _Getdisposition: UnicodeString; property featureId: UnicodeString read _GetfeatureId; property sourceFile: UnicodeString read _GetsourceFile; property lineNumber: LongInt read _GetlineNumber; property columnNumber: LongInt read _GetcolumnNumber; property disposition: UnicodeString read _Getdisposition; end; TJSFeaturePolicyViolationReportBody = class(TJSReportBody,IJSFeaturePolicyViolationReportBody) Private Protected function _GetfeatureId: UnicodeString; function _GetsourceFile: UnicodeString; function _GetlineNumber: LongInt; function _GetcolumnNumber: LongInt; function _Getdisposition: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFeaturePolicyViolationReportBody; property featureId: UnicodeString read _GetfeatureId; property sourceFile: UnicodeString read _GetsourceFile; property lineNumber: LongInt read _GetlineNumber; property columnNumber: LongInt read _GetcolumnNumber; property disposition: UnicodeString read _Getdisposition; end; { -------------------------------------------------------------------- TJSFetchObserver --------------------------------------------------------------------} IJSFetchObserver = interface(IJSEventTarget) ['{99793B19-00F5-32CD-8157-F5D87BD32D07}'] function _Getstate: TFetchState; function _Getonstatechange: TEventHandler; function _Getonrequestprogress: TEventHandler; function _Getonresponseprogress: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setonrequestprogress(const aValue: TEventHandler); procedure _Setonresponseprogress(const aValue: TEventHandler); property state: TFetchState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property onrequestprogress: TEventHandler read _Getonrequestprogress write _Setonrequestprogress; property onresponseprogress: TEventHandler read _Getonresponseprogress write _Setonresponseprogress; end; TJSFetchObserver = class(TJSEventTarget,IJSFetchObserver) Private Protected function _Getstate: TFetchState; function _Getonstatechange: TEventHandler; function _Getonrequestprogress: TEventHandler; function _Getonresponseprogress: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setonrequestprogress(const aValue: TEventHandler); procedure _Setonresponseprogress(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFetchObserver; property state: TFetchState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property onrequestprogress: TEventHandler read _Getonrequestprogress write _Setonrequestprogress; property onresponseprogress: TEventHandler read _Getonresponseprogress write _Setonresponseprogress; end; { -------------------------------------------------------------------- TJSFile --------------------------------------------------------------------} IJSFile = interface(IJSBlob) ['{45D649A5-2DB7-3F6D-946B-BDE7D5CBFC3F}'] function _Getname: UnicodeString; function _GetlastModified: Int64; function _GetwebkitRelativePath: UnicodeString; property name: UnicodeString read _Getname; property lastModified: Int64 read _GetlastModified; property webkitRelativePath: UnicodeString read _GetwebkitRelativePath; end; TJSFile = class(TJSBlob,IJSFile) Private Protected function _Getname: UnicodeString; function _GetlastModified: Int64; function _GetwebkitRelativePath: UnicodeString; Public constructor Create(const aFileBits: TBlobPartDynArray; const aFileName: UnicodeString; const aOptions: IJSFilePropertyBag); overload; constructor Create(const aFileBits: TBlobPartDynArray; const aFileName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFile; property name: UnicodeString read _Getname; property lastModified: Int64 read _GetlastModified; property webkitRelativePath: UnicodeString read _GetwebkitRelativePath; end; { -------------------------------------------------------------------- TJSFileReader --------------------------------------------------------------------} // Union of DOMString, ArrayBuffer TFileReader_result_Type = Variant; IJSFileReader = interface(IJSEventTarget) ['{59E31412-895F-3EE2-BFD3-99317A2141D2}'] function _GetreadyState: Word; function _Getresult: TFileReader_result_Type; function _Geterror: IJSDOMException; function _Getonloadstart: TEventHandler; function _Getonprogress: TEventHandler; function _Getonload: TEventHandler; function _Getonabort: TEventHandler; function _Getonerror: TEventHandler; function _Getonloadend: TEventHandler; procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonloadend(const aValue: TEventHandler); procedure readAsArrayBuffer(aBlob: IJSBlob); procedure readAsBinaryString(aFiledata: IJSBlob); procedure readAsText(aBlob: IJSBlob; const aLabel_: UnicodeString); procedure readAsText(aBlob: IJSBlob); procedure readAsDataURL(aBlob: IJSBlob); procedure abort; property readyState: Word read _GetreadyState; property result: TFileReader_result_Type read _Getresult; property error: IJSDOMException read _Geterror; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onload: TEventHandler read _Getonload write _Setonload; property onabort: TEventHandler read _Getonabort write _Setonabort; property onerror: TEventHandler read _Getonerror write _Setonerror; property onloadend: TEventHandler read _Getonloadend write _Setonloadend; end; TJSFileReader = class(TJSEventTarget,IJSFileReader) Private Protected function _GetreadyState: Word; function _Getresult: TFileReader_result_Type; function _Geterror: IJSDOMException; function _Getonloadstart: TEventHandler; function _Getonprogress: TEventHandler; function _Getonload: TEventHandler; function _Getonabort: TEventHandler; function _Getonerror: TEventHandler; function _Getonloadend: TEventHandler; procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonloadend(const aValue: TEventHandler); Public Const EMPTY = 0; LOADING = 1; DONE = 2; Public constructor Create; overload; procedure readAsArrayBuffer(aBlob: IJSBlob); overload; procedure readAsBinaryString(aFiledata: IJSBlob); overload; procedure readAsText(aBlob: IJSBlob; const aLabel_: UnicodeString); overload; procedure readAsText(aBlob: IJSBlob); overload; procedure readAsDataURL(aBlob: IJSBlob); overload; procedure abort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileReader; property readyState: Word read _GetreadyState; property result: TFileReader_result_Type read _Getresult; property error: IJSDOMException read _Geterror; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onload: TEventHandler read _Getonload write _Setonload; property onabort: TEventHandler read _Getonabort write _Setonabort; property onerror: TEventHandler read _Getonerror write _Setonerror; property onloadend: TEventHandler read _Getonloadend write _Setonloadend; end; { -------------------------------------------------------------------- TJSFileSystemDirectoryEntry --------------------------------------------------------------------} IJSFileSystemDirectoryEntry = interface(IJSFileSystemEntry) ['{727D1627-6ACF-3089-9D81-51524B7AC7F5}'] function createReader: IJSFileSystemDirectoryReader; procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); procedure getFile; procedure getFile(const aPath: UnicodeString); procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); procedure getDirectory; procedure getDirectory(const aPath: UnicodeString); procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); end; TJSFileSystemDirectoryEntry = class(TJSFileSystemEntry,IJSFileSystemDirectoryEntry) Private Protected Public function createReader: IJSFileSystemDirectoryReader; overload; procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); overload; procedure getFile; overload; procedure getFile(const aPath: UnicodeString); overload; procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); overload; procedure getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); overload; procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); overload; procedure getDirectory; overload; procedure getDirectory(const aPath: UnicodeString); overload; procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); overload; procedure getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemDirectoryEntry; end; { -------------------------------------------------------------------- TJSFileSystemDirectoryHandle --------------------------------------------------------------------} IJSFileSystemDirectoryHandle = interface(IJSFileSystemHandle) ['{FE6F94FB-8B0D-3F81-B084-9F6E5887B904}'] function getFileHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetFileOptions): IJSPromise; // Promise function getFileHandle(const aName: UnicodeString): IJSPromise; // Promise function getDirectoryHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetDirectoryOptions): IJSPromise; // Promise function getDirectoryHandle(const aName: UnicodeString): IJSPromise; // Promise function removeEntry(const aName: UnicodeString; const aOptions: IJSFileSystemRemoveOptions): IJSPromise; // Promise function removeEntry(const aName: UnicodeString): IJSPromise; // Promise function resolve(aPossibleDescendant: IJSFileSystemHandle): IJSPromise; // Promise end; TJSFileSystemDirectoryHandle = class(TJSFileSystemHandle,IJSFileSystemDirectoryHandle) Private Protected Public function getFileHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetFileOptions): IJSPromise; overload; // Promise function getFileHandle(const aName: UnicodeString): IJSPromise; overload; // Promise function getDirectoryHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetDirectoryOptions): IJSPromise; overload; // Promise function getDirectoryHandle(const aName: UnicodeString): IJSPromise; overload; // Promise function removeEntry(const aName: UnicodeString; const aOptions: IJSFileSystemRemoveOptions): IJSPromise; overload; // Promise function removeEntry(const aName: UnicodeString): IJSPromise; overload; // Promise function resolve(aPossibleDescendant: IJSFileSystemHandle): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemDirectoryHandle; end; { -------------------------------------------------------------------- TJSFileSystemFileEntry --------------------------------------------------------------------} IJSFileSystemFileEntry = interface(IJSFileSystemEntry) ['{DAC794A7-43C9-33DB-8E05-26ECD6F58089}'] procedure file_(const aSuccessCallback: TFileCallback; const aErrorCallback: TErrorCallback); procedure file_(const aSuccessCallback: TFileCallback); end; TJSFileSystemFileEntry = class(TJSFileSystemEntry,IJSFileSystemFileEntry) Private Protected Public procedure file_(const aSuccessCallback: TFileCallback; const aErrorCallback: TErrorCallback); overload; procedure file_(const aSuccessCallback: TFileCallback); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemFileEntry; end; { -------------------------------------------------------------------- TJSFileSystemFileHandle --------------------------------------------------------------------} IJSFileSystemFileHandle = interface(IJSFileSystemHandle) ['{82E578F8-6220-3CC8-B052-15188381243D}'] function getFile: IJSPromise; // Promise function createWritable(const aOptions: IJSFileSystemCreateWritableOptions): IJSPromise; // Promise function createWritable: IJSPromise; // Promise function createSyncAccessHandle: IJSPromise; // Promise end; TJSFileSystemFileHandle = class(TJSFileSystemHandle,IJSFileSystemFileHandle) Private Protected Public function getFile: IJSPromise; overload; // Promise function createWritable(const aOptions: IJSFileSystemCreateWritableOptions): IJSPromise; overload; // Promise function createWritable: IJSPromise; overload; // Promise function createSyncAccessHandle: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemFileHandle; end; { -------------------------------------------------------------------- TJSFileSystemWritableFileStream --------------------------------------------------------------------} IJSFileSystemWritableFileStream = interface(IJSWritableStream) ['{898CFD83-3304-31D5-82DA-0A8D5AE4BFDD}'] function write(aData: IJSBlob): IJSPromise; // Promise function write(aData: IJSBufferSource): IJSPromise; // Promise function write(const aData: UTF8String): IJSPromise; // Promise function write(const aData: IJSWriteParams): IJSPromise; // Promise function seek(aPosition: QWord): IJSPromise; // Promise function truncate(aSize: QWord): IJSPromise; // Promise end; TJSFileSystemWritableFileStream = class(TJSWritableStream,IJSFileSystemWritableFileStream) Private Protected Public function write(aData: IJSBlob): IJSPromise; overload; // Promise function write(aData: IJSBufferSource): IJSPromise; overload; // Promise function write(const aData: UTF8String): IJSPromise; overload; // Promise function write(const aData: IJSWriteParams): IJSPromise; overload; // Promise function seek(aPosition: QWord): IJSPromise; overload; // Promise function truncate(aSize: QWord): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFileSystemWritableFileStream; end; { -------------------------------------------------------------------- TJSFontFaceSet --------------------------------------------------------------------} IJSFontFaceSet = interface(IJSEventTarget) ['{23E591F0-C122-3895-B650-E7F13296998C}'] function _Getsize: Cardinal; function _Getonloading: TEventHandler; function _Getonloadingdone: TEventHandler; function _Getonloadingerror: TEventHandler; function _Getready: IJSPromise; function _Getstatus: TFontFaceSetLoadStatus; procedure _Setonloading(const aValue: TEventHandler); procedure _Setonloadingdone(const aValue: TEventHandler); procedure _Setonloadingerror(const aValue: TEventHandler); procedure add(aFont: IJSFontFace); function has(aFont: IJSFontFace): Boolean; function delete(aFont: IJSFontFace): Boolean; procedure clear; function entries: IJSFontFaceSetIterator; function values: IJSFontFaceSetIterator; procedure forEach(const aCb: TFontFaceSetForEachCallback; const aThisArg: Variant); procedure forEach(const aCb: TFontFaceSetForEachCallback); function load(const aFont: UTF8String; const aText: UnicodeString): IJSPromise; // Promise function load(const aFont: UTF8String): IJSPromise; // Promise function check(const aFont: UTF8String; const aText: UnicodeString): Boolean; function check(const aFont: UTF8String): Boolean; property size: Cardinal read _Getsize; property onloading: TEventHandler read _Getonloading write _Setonloading; property onloadingdone: TEventHandler read _Getonloadingdone write _Setonloadingdone; property onloadingerror: TEventHandler read _Getonloadingerror write _Setonloadingerror; property ready: IJSPromise read _Getready; property status: TFontFaceSetLoadStatus read _Getstatus; end; TJSFontFaceSet = class(TJSEventTarget,IJSFontFaceSet) Private Protected function _Getsize: Cardinal; function _Getonloading: TEventHandler; function _Getonloadingdone: TEventHandler; function _Getonloadingerror: TEventHandler; function _Getready: IJSPromise; function _Getstatus: TFontFaceSetLoadStatus; procedure _Setonloading(const aValue: TEventHandler); procedure _Setonloadingdone(const aValue: TEventHandler); procedure _Setonloadingerror(const aValue: TEventHandler); Public procedure add(aFont: IJSFontFace); overload; function has(aFont: IJSFontFace): Boolean; overload; function delete(aFont: IJSFontFace): Boolean; overload; procedure clear; overload; function entries: IJSFontFaceSetIterator; overload; function values: IJSFontFaceSetIterator; overload; procedure forEach(const aCb: TFontFaceSetForEachCallback; const aThisArg: Variant); overload; procedure forEach(const aCb: TFontFaceSetForEachCallback); overload; function load(const aFont: UTF8String; const aText: UnicodeString): IJSPromise; overload; // Promise function load(const aFont: UTF8String): IJSPromise; overload; // Promise function check(const aFont: UTF8String; const aText: UnicodeString): Boolean; overload; function check(const aFont: UTF8String): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSet; property size: Cardinal read _Getsize; property onloading: TEventHandler read _Getonloading write _Setonloading; property onloadingdone: TEventHandler read _Getonloadingdone write _Setonloadingdone; property onloadingerror: TEventHandler read _Getonloadingerror write _Setonloadingerror; property ready: IJSPromise read _Getready; property status: TFontFaceSetLoadStatus read _Getstatus; end; { -------------------------------------------------------------------- TJSFontFaceSetLoadEvent --------------------------------------------------------------------} IJSFontFaceSetLoadEvent = interface(IJSEvent) ['{C35C4CD9-77F7-3437-B15A-D066C72C345E}'] function _Getfontfaces: TJSFontFaceDynArray; property fontfaces: TJSFontFaceDynArray read _Getfontfaces; end; TJSFontFaceSetLoadEvent = class(TJSEvent,IJSFontFaceSetLoadEvent) Private Protected function _Getfontfaces: TJSFontFaceDynArray; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSFontFaceSetLoadEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFontFaceSetLoadEvent; property fontfaces: TJSFontFaceDynArray read _Getfontfaces; end; { -------------------------------------------------------------------- TJSFormDataEvent --------------------------------------------------------------------} IJSFormDataEvent = interface(IJSEvent) ['{BD2A58FB-CB02-3035-8D7F-BA785ABDF3AD}'] function _GetformData: IJSFormData; property formData: IJSFormData read _GetformData; end; TJSFormDataEvent = class(TJSEvent,IJSFormDataEvent) Private Protected function _GetformData: IJSFormData; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSFormDataEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFormDataEvent; property formData: IJSFormData read _GetformData; end; { -------------------------------------------------------------------- TJSGamepadEvent --------------------------------------------------------------------} IJSGamepadEvent = interface(IJSEvent) ['{17E4202B-9944-36C7-ADC4-01083129C932}'] function _Getgamepad: IJSGamepad; property gamepad: IJSGamepad read _Getgamepad; end; TJSGamepadEvent = class(TJSEvent,IJSGamepadEvent) Private Protected function _Getgamepad: IJSGamepad; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadEvent; property gamepad: IJSGamepad read _Getgamepad; end; { -------------------------------------------------------------------- TJSGleanBoolean --------------------------------------------------------------------} IJSGleanBoolean = interface(IJSGleanMetric) ['{50F76D0F-26B7-3B14-8341-05AEF3B623F3}'] procedure set_(aValue: Boolean); end; TJSGleanBoolean = class(TJSGleanMetric,IJSGleanBoolean) Private Protected Public procedure set_(aValue: Boolean); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanBoolean; end; { -------------------------------------------------------------------- TJSGleanDatetime --------------------------------------------------------------------} IJSGleanDatetime = interface(IJSGleanMetric) ['{F0E718E9-2902-39CB-85AF-182C86A1BD36}'] procedure set_(aAValue: Int64); procedure set_; end; TJSGleanDatetime = class(TJSGleanMetric,IJSGleanDatetime) Private Protected Public procedure set_(aAValue: Int64); overload; procedure set_; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanDatetime; end; { -------------------------------------------------------------------- TJSGleanCounter --------------------------------------------------------------------} IJSGleanCounter = interface(IJSGleanMetric) ['{50F76D0F-26BF-363D-94C1-05AEAB8623F3}'] procedure add(aAAmount: LongInt); procedure add; end; TJSGleanCounter = class(TJSGleanMetric,IJSGleanCounter) Private Protected Public procedure add(aAAmount: LongInt); overload; procedure add; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanCounter; end; { -------------------------------------------------------------------- TJSGleanTimingDistribution --------------------------------------------------------------------} IJSGleanTimingDistribution = interface(IJSGleanMetric) ['{8D8AA718-90FC-30C4-B415-9C428F48C3B3}'] function start: QWord; procedure stopAndAccumulate(aAId: QWord); procedure cancel(aAId: QWord); end; TJSGleanTimingDistribution = class(TJSGleanMetric,IJSGleanTimingDistribution) Private Protected Public function start: QWord; overload; procedure stopAndAccumulate(aAId: QWord); overload; procedure cancel(aAId: QWord); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanTimingDistribution; end; { -------------------------------------------------------------------- TJSGleanMemoryDistribution --------------------------------------------------------------------} IJSGleanMemoryDistribution = interface(IJSGleanMetric) ['{BED304F5-6159-3223-AEED-7D389A34E0C3}'] procedure accumulate(aASample: QWord); end; TJSGleanMemoryDistribution = class(TJSGleanMetric,IJSGleanMemoryDistribution) Private Protected Public procedure accumulate(aASample: QWord); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanMemoryDistribution; end; { -------------------------------------------------------------------- TJSGleanCustomDistribution --------------------------------------------------------------------} TInt64DynArray = IJSArray; // array of long long IJSGleanCustomDistribution = interface(IJSGleanMetric) ['{53109CA6-583F-37EA-AA80-9E1035646007}'] procedure accumulateSamples(const aASamples: TInt64DynArray); procedure accumulateSingleSample(aASample: Int64); end; TJSGleanCustomDistribution = class(TJSGleanMetric,IJSGleanCustomDistribution) Private Protected Public procedure accumulateSamples(const aASamples: TInt64DynArray); overload; procedure accumulateSingleSample(aASample: Int64); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanCustomDistribution; end; { -------------------------------------------------------------------- TJSGleanString --------------------------------------------------------------------} IJSGleanString = interface(IJSGleanMetric) ['{5202D10F-BF26-3D25-895F-B41C9400DA5F}'] procedure set_(const aAValue: UTF8String); end; TJSGleanString = class(TJSGleanMetric,IJSGleanString) Private Protected Public procedure set_(const aAValue: UTF8String); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanString; end; { -------------------------------------------------------------------- TJSGleanStringList --------------------------------------------------------------------} IJSGleanStringList = interface(IJSGleanMetric) ['{A58F6BA3-206E-30AF-951E-EF050A5D550F}'] procedure add(const aValue: UTF8String); procedure set_(const aAValue: TUTF8StringDynArray); end; TJSGleanStringList = class(TJSGleanMetric,IJSGleanStringList) Private Protected Public procedure add(const aValue: UTF8String); overload; procedure set_(const aAValue: TUTF8StringDynArray); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanStringList; end; { -------------------------------------------------------------------- TJSGleanTimespan --------------------------------------------------------------------} IJSGleanTimespan = interface(IJSGleanMetric) ['{978865E6-1283-335B-8B25-8F7278E2487B}'] procedure start; procedure stop; procedure cancel; procedure setRaw(aADuration: Cardinal); end; TJSGleanTimespan = class(TJSGleanMetric,IJSGleanTimespan) Private Protected Public procedure start; overload; procedure stop; overload; procedure cancel; overload; procedure setRaw(aADuration: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanTimespan; end; { -------------------------------------------------------------------- TJSGleanUuid --------------------------------------------------------------------} IJSGleanUuid = interface(IJSGleanMetric) ['{45D7F71D-A42C-3D14-B365-CDEAEA597E1B}'] procedure set_(const aAValue: UTF8String); procedure generateAndSet; end; TJSGleanUuid = class(TJSGleanMetric,IJSGleanUuid) Private Protected Public procedure set_(const aAValue: UTF8String); overload; procedure generateAndSet; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanUuid; end; { -------------------------------------------------------------------- TJSGleanEvent --------------------------------------------------------------------} IJSGleanEvent = interface(IJSGleanMetric) ['{7A4D953B-FA60-3EEF-8A13-C2C1A3F6AE21}'] procedure record_(aAExtra: IJSObject); procedure record_; end; TJSGleanEvent = class(TJSGleanMetric,IJSGleanEvent) Private Protected Public procedure record_(aAExtra: IJSObject); overload; procedure record_; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanEvent; end; { -------------------------------------------------------------------- TJSGleanQuantity --------------------------------------------------------------------} IJSGleanQuantity = interface(IJSGleanMetric) ['{F0E718E9-2A6F-335B-86A3-182C86A1BD36}'] procedure set_(aAValue: Int64); end; TJSGleanQuantity = class(TJSGleanMetric,IJSGleanQuantity) Private Protected Public procedure set_(aAValue: Int64); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanQuantity; end; { -------------------------------------------------------------------- TJSGleanDenominator --------------------------------------------------------------------} IJSGleanDenominator = interface(IJSGleanMetric) ['{DA98D21A-79CE-3ABB-A7A2-EAFA2F5906C7}'] procedure add(aAAmount: LongInt); procedure add; end; TJSGleanDenominator = class(TJSGleanMetric,IJSGleanDenominator) Private Protected Public procedure add(aAAmount: LongInt); overload; procedure add; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanDenominator; end; { -------------------------------------------------------------------- TJSGleanNumerator --------------------------------------------------------------------} IJSGleanNumerator = interface(IJSGleanMetric) ['{B96FD4B2-6754-30B0-8C41-7A24F5E85E58}'] procedure addToNumerator(aAAmount: LongInt); procedure addToNumerator; end; TJSGleanNumerator = class(TJSGleanMetric,IJSGleanNumerator) Private Protected Public procedure addToNumerator(aAAmount: LongInt); overload; procedure addToNumerator; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanNumerator; end; { -------------------------------------------------------------------- TJSGleanRate --------------------------------------------------------------------} IJSGleanRate = interface(IJSGleanMetric) ['{90082C7E-EA0F-3100-8FF4-DFD6A04FF740}'] procedure addToNumerator(aAAmount: LongInt); procedure addToNumerator; procedure addToDenominator(aAAmount: LongInt); procedure addToDenominator; end; TJSGleanRate = class(TJSGleanMetric,IJSGleanRate) Private Protected Public procedure addToNumerator(aAAmount: LongInt); overload; procedure addToNumerator; overload; procedure addToDenominator(aAAmount: LongInt); overload; procedure addToDenominator; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanRate; end; { -------------------------------------------------------------------- TJSGleanUrl --------------------------------------------------------------------} IJSGleanUrl = interface(IJSGleanMetric) ['{EF613B56-10F3-3E2F-990B-4A806C2B7AEB}'] procedure set_(const aAValue: UTF8String); end; TJSGleanUrl = class(TJSGleanMetric,IJSGleanUrl) Private Protected Public procedure set_(const aAValue: UTF8String); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanUrl; end; { -------------------------------------------------------------------- TJSGleanText --------------------------------------------------------------------} IJSGleanText = interface(IJSGleanMetric) ['{BDE36F62-51CA-3001-81D4-7A5B12757AE6}'] procedure set_(const aAValue: UTF8String); end; TJSGleanText = class(TJSGleanMetric,IJSGleanText) Private Protected Public procedure set_(const aAValue: UTF8String); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanText; end; { -------------------------------------------------------------------- TJSGleanObject --------------------------------------------------------------------} IJSGleanObject = interface(IJSGleanMetric) ['{5202D10F-BF01-3DDF-BD5F-B41C9400DA5F}'] procedure set_(aValue: IJSObject); end; TJSGleanObject = class(TJSGleanMetric,IJSGleanObject) Private Protected Public procedure set_(aValue: IJSObject); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGleanObject; end; { -------------------------------------------------------------------- TJSGPUUncapturedErrorEvent --------------------------------------------------------------------} IJSGPUUncapturedErrorEvent = interface(IJSEvent) ['{F6D4C4DE-000B-3EE5-90BB-05FC6FCB905E}'] function _Geterror: IJSGPUError; property error: IJSGPUError read _Geterror; end; TJSGPUUncapturedErrorEvent = class(TJSEvent,IJSGPUUncapturedErrorEvent) Private Protected function _Geterror: IJSGPUError; Public constructor Create(const aType_: UnicodeString; const aGpuUncapturedErrorEventInitDict: IJSGPUUncapturedErrorEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUUncapturedErrorEvent; property error: IJSGPUError read _Geterror; end; { -------------------------------------------------------------------- TJSHashChangeEvent --------------------------------------------------------------------} IJSHashChangeEvent = interface(IJSEvent) ['{CE66F657-9370-37D8-843F-75BFED52B082}'] function _GetoldURL: UnicodeString; function _GetnewURL: UnicodeString; property oldURL: UnicodeString read _GetoldURL; property newURL: UnicodeString read _GetnewURL; end; TJSHashChangeEvent = class(TJSEvent,IJSHashChangeEvent) Private Protected function _GetoldURL: UnicodeString; function _GetnewURL: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSHashChangeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHashChangeEvent; property oldURL: UnicodeString read _GetoldURL; property newURL: UnicodeString read _GetnewURL; end; { -------------------------------------------------------------------- TJSHTMLFormControlsCollection --------------------------------------------------------------------} // Union of RadioNodeList, Element THTMLFormControlsCollection_namedItem_Type = Variant; IJSHTMLFormControlsCollection = interface(IJSHTMLCollection) ['{29F10560-C8A8-342C-8A30-F454B10A55D9}'] function namedItem(const aName: UnicodeString): THTMLFormControlsCollection_namedItem_Type; end; TJSHTMLFormControlsCollection = class(TJSHTMLCollection,IJSHTMLFormControlsCollection) Private Protected Public function namedItem(const aName: UnicodeString): THTMLFormControlsCollection_namedItem_Type; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFormControlsCollection; end; { -------------------------------------------------------------------- TJSHTMLOptionsCollection --------------------------------------------------------------------} // Union of HTMLOptionElement, HTMLOptGroupElement THTMLOptionsCollection_add_element_Type = Variant; // Union of HTMLElement, long THTMLOptionsCollection_add_before_Type = Variant; IJSHTMLOptionsCollection = interface(IJSHTMLCollection) ['{120F63B1-AB4B-3DE0-8DEA-10DDB0145075}'] function _Getlength_2: Cardinal; function _GetselectedIndex: LongInt; procedure _Setlength_2(const aValue: Cardinal); procedure _SetselectedIndex(const aValue: LongInt); procedure SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); procedure add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); procedure add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); procedure add(aElement: IJSHTMLOptionElement); procedure add(aElement: IJSHTMLOptGroupElement); procedure add(aElement: IJSHTMLOptionElement; aBefore: LongInt); procedure add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); procedure remove(aIndex: LongInt); property length_: Cardinal read _Getlength_2 write _Setlength_2; property selectedIndex: LongInt read _GetselectedIndex write _SetselectedIndex; end; TJSHTMLOptionsCollection = class(TJSHTMLCollection,IJSHTMLOptionsCollection) Private Protected function _Getlength_2: Cardinal; function _GetselectedIndex: LongInt; procedure _Setlength_2(const aValue: Cardinal); procedure _SetselectedIndex(const aValue: LongInt); Public procedure SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); overload; procedure add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); overload; procedure add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); overload; procedure add(aElement: IJSHTMLOptionElement); overload; procedure add(aElement: IJSHTMLOptGroupElement); overload; procedure add(aElement: IJSHTMLOptionElement; aBefore: LongInt); overload; procedure add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); overload; procedure remove(aIndex: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOptionsCollection; property length_: Cardinal read _Getlength_2 write _Setlength_2; property selectedIndex: LongInt read _GetselectedIndex write _SetselectedIndex; end; { -------------------------------------------------------------------- TJSIDBCursorWithValue --------------------------------------------------------------------} IJSIDBCursorWithValue = interface(IJSIDBCursor) ['{C3CEF721-4743-3EF7-B41E-F387CF533DAC}'] function _Getvalue: Variant; property value: Variant read _Getvalue; end; TJSIDBCursorWithValue = class(TJSIDBCursor,IJSIDBCursorWithValue) Private Protected function _Getvalue: Variant; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBCursorWithValue; property value: Variant read _Getvalue; end; { -------------------------------------------------------------------- TJSIDBDatabase --------------------------------------------------------------------} // Union of DOMString, sequence TIDBDatabase_transaction_storeNames_Type = Variant; IJSIDBDatabase = interface(IJSEventTarget) ['{FBD83AA0-9955-3D92-BB3E-57FDDE2C56A1}'] function _Getname: UnicodeString; function _Getversion: QWord; function _GetobjectStoreNames: IJSDOMStringList; function _Getonabort: TEventHandler; function _Getonclose: TEventHandler; function _Getonerror: TEventHandler; function _Getonversionchange: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonversionchange(const aValue: TEventHandler); function transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; function transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; function transaction(const aStoreNames: TUnicodeStringDynArray): IJSIDBTransaction; function transaction(const aStoreNames: UnicodeString): IJSIDBTransaction; function transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode): IJSIDBTransaction; function transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode): IJSIDBTransaction; function createObjectStore(const aName: UnicodeString; const aOptions: IJSIDBObjectStoreParameters): IJSIDBObjectStore; function createObjectStore(const aName: UnicodeString): IJSIDBObjectStore; procedure deleteObjectStore(const aName: UnicodeString); procedure close; property name: UnicodeString read _Getname; property version: QWord read _Getversion; property objectStoreNames: IJSDOMStringList read _GetobjectStoreNames; property onabort: TEventHandler read _Getonabort write _Setonabort; property onclose: TEventHandler read _Getonclose write _Setonclose; property onerror: TEventHandler read _Getonerror write _Setonerror; property onversionchange: TEventHandler read _Getonversionchange write _Setonversionchange; end; TJSIDBDatabase = class(TJSEventTarget,IJSIDBDatabase) Private Protected function _Getname: UnicodeString; function _Getversion: QWord; function _GetobjectStoreNames: IJSDOMStringList; function _Getonabort: TEventHandler; function _Getonclose: TEventHandler; function _Getonerror: TEventHandler; function _Getonversionchange: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonversionchange(const aValue: TEventHandler); Public function transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; overload; function transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; overload; function transaction(const aStoreNames: TUnicodeStringDynArray): IJSIDBTransaction; overload; function transaction(const aStoreNames: UnicodeString): IJSIDBTransaction; overload; function transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode): IJSIDBTransaction; overload; function transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode): IJSIDBTransaction; overload; function createObjectStore(const aName: UnicodeString; const aOptions: IJSIDBObjectStoreParameters): IJSIDBObjectStore; overload; function createObjectStore(const aName: UnicodeString): IJSIDBObjectStore; overload; procedure deleteObjectStore(const aName: UnicodeString); overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBDatabase; property name: UnicodeString read _Getname; property version: QWord read _Getversion; property objectStoreNames: IJSDOMStringList read _GetobjectStoreNames; property onabort: TEventHandler read _Getonabort write _Setonabort; property onclose: TEventHandler read _Getonclose write _Setonclose; property onerror: TEventHandler read _Getonerror write _Setonerror; property onversionchange: TEventHandler read _Getonversionchange write _Setonversionchange; end; { -------------------------------------------------------------------- TJSIDBRequest --------------------------------------------------------------------} // Union of IDBObjectStore, IDBIndex, IDBCursor TIDBRequest_source_Type = Variant; IJSIDBRequest = interface(IJSEventTarget) ['{22A8CAD7-85C9-3D91-9C20-90FFC38FEC88}'] function _Getresult: Variant; function _Geterror: IJSDOMException; function _Getsource: TIDBRequest_source_Type; function _Gettransaction: IJSIDBTransaction; function _GetreadyState: TIDBRequestReadyState; function _Getonsuccess: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonsuccess(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); property result: Variant read _Getresult; property error: IJSDOMException read _Geterror; property source: TIDBRequest_source_Type read _Getsource; property transaction: IJSIDBTransaction read _Gettransaction; property readyState: TIDBRequestReadyState read _GetreadyState; property onsuccess: TEventHandler read _Getonsuccess write _Setonsuccess; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSIDBRequest = class(TJSEventTarget,IJSIDBRequest) Private Protected function _Getresult: Variant; function _Geterror: IJSDOMException; function _Getsource: TIDBRequest_source_Type; function _Gettransaction: IJSIDBTransaction; function _GetreadyState: TIDBRequestReadyState; function _Getonsuccess: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonsuccess(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBRequest; property result: Variant read _Getresult; property error: IJSDOMException read _Geterror; property source: TIDBRequest_source_Type read _Getsource; property transaction: IJSIDBTransaction read _Gettransaction; property readyState: TIDBRequestReadyState read _GetreadyState; property onsuccess: TEventHandler read _Getonsuccess write _Setonsuccess; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSIDBTransaction --------------------------------------------------------------------} IJSIDBTransaction = interface(IJSEventTarget) ['{B95C05C1-3CAF-3664-9067-E8E4C2056B04}'] function _Getmode: TIDBTransactionMode; function _Getdurability: TIDBTransactionDurability; function _Getdb: IJSIDBDatabase; function _Geterror: IJSDOMException; function _Getonabort: TEventHandler; function _Getoncomplete: TEventHandler; function _Getonerror: TEventHandler; function _GetobjectStoreNames: IJSDOMStringList; procedure _Setonabort(const aValue: TEventHandler); procedure _Setoncomplete(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); function objectStore(const aName: UnicodeString): IJSIDBObjectStore; procedure commit; procedure abort; property mode: TIDBTransactionMode read _Getmode; property durability: TIDBTransactionDurability read _Getdurability; property db: IJSIDBDatabase read _Getdb; property error: IJSDOMException read _Geterror; property onabort: TEventHandler read _Getonabort write _Setonabort; property oncomplete: TEventHandler read _Getoncomplete write _Setoncomplete; property onerror: TEventHandler read _Getonerror write _Setonerror; property objectStoreNames: IJSDOMStringList read _GetobjectStoreNames; end; TJSIDBTransaction = class(TJSEventTarget,IJSIDBTransaction) Private Protected function _Getmode: TIDBTransactionMode; function _Getdurability: TIDBTransactionDurability; function _Getdb: IJSIDBDatabase; function _Geterror: IJSDOMException; function _Getonabort: TEventHandler; function _Getoncomplete: TEventHandler; function _Getonerror: TEventHandler; function _GetobjectStoreNames: IJSDOMStringList; procedure _Setonabort(const aValue: TEventHandler); procedure _Setoncomplete(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public function objectStore(const aName: UnicodeString): IJSIDBObjectStore; overload; procedure commit; overload; procedure abort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBTransaction; property mode: TIDBTransactionMode read _Getmode; property durability: TIDBTransactionDurability read _Getdurability; property db: IJSIDBDatabase read _Getdb; property error: IJSDOMException read _Geterror; property onabort: TEventHandler read _Getonabort write _Setonabort; property oncomplete: TEventHandler read _Getoncomplete write _Setoncomplete; property onerror: TEventHandler read _Getonerror write _Setonerror; property objectStoreNames: IJSDOMStringList read _GetobjectStoreNames; end; { -------------------------------------------------------------------- TJSIDBVersionChangeEvent --------------------------------------------------------------------} IJSIDBVersionChangeEvent = interface(IJSEvent) ['{846B0E45-11C4-3DBB-9E3D-637B376BE14E}'] function _GetoldVersion: QWord; function _GetnewVersion: QWord; property oldVersion: QWord read _GetoldVersion; property newVersion: QWord read _GetnewVersion; end; TJSIDBVersionChangeEvent = class(TJSEvent,IJSIDBVersionChangeEvent) Private Protected function _GetoldVersion: QWord; function _GetnewVersion: QWord; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSIDBVersionChangeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBVersionChangeEvent; property oldVersion: QWord read _GetoldVersion; property newVersion: QWord read _GetnewVersion; end; { -------------------------------------------------------------------- TJSIdentityCredential --------------------------------------------------------------------} TJSIdentityCredentialLogoutRPsRequestDynArray = IJSArray; // array of IdentityCredentialLogoutRPsRequest IJSIdentityCredential = interface(IJSCredential) ['{ECFE7AC8-4FF6-38C8-834D-0CA64A937942}'] function _Gettoken: UnicodeString; property token: UnicodeString read _Gettoken; end; TJSIdentityCredential = class(TJSCredential,IJSIdentityCredential) Private Protected function _Gettoken: UnicodeString; Public function logoutRPs(const aLogoutRequests: TJSIdentityCredentialLogoutRPsRequestDynArray): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIdentityCredential; property token: UnicodeString read _Gettoken; end; { -------------------------------------------------------------------- TJSImageCapture --------------------------------------------------------------------} IJSImageCapture = interface(IJSEventTarget) ['{E1E8BCA7-91AB-33FA-89C5-0C96106BE122}'] function _GetvideoStreamTrack: IJSMediaStreamTrack; function _Getonphoto: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonphoto(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure takePhoto; property videoStreamTrack: IJSMediaStreamTrack read _GetvideoStreamTrack; property onphoto: TEventHandler read _Getonphoto write _Setonphoto; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSImageCapture = class(TJSEventTarget,IJSImageCapture) Private Protected function _GetvideoStreamTrack: IJSMediaStreamTrack; function _Getonphoto: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonphoto(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public constructor Create(aTrack: IJSMediaStreamTrack); overload; procedure takePhoto; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageCapture; property videoStreamTrack: IJSMediaStreamTrack read _GetvideoStreamTrack; property onphoto: TEventHandler read _Getonphoto write _Setonphoto; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSImageCaptureErrorEvent --------------------------------------------------------------------} IJSImageCaptureErrorEvent = interface(IJSEvent) ['{6E607AF7-150F-3255-9387-A5FC5CE0B042}'] function _GetimageCaptureError: IJSImageCaptureError; property imageCaptureError: IJSImageCaptureError read _GetimageCaptureError; end; TJSImageCaptureErrorEvent = class(TJSEvent,IJSImageCaptureErrorEvent) Private Protected function _GetimageCaptureError: IJSImageCaptureError; Public constructor Create(const aType_: UnicodeString; const aImageCaptureErrorInitDict: IJSImageCaptureErrorEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSImageCaptureErrorEvent; property imageCaptureError: IJSImageCaptureError read _GetimageCaptureError; end; { -------------------------------------------------------------------- TJSInvokeEvent --------------------------------------------------------------------} IJSInvokeEvent = interface(IJSEvent) ['{B5800589-F386-37C8-9117-C6F65AC7961C}'] function _Getinvoker: IJSElement; function _Getaction: UnicodeString; property invoker: IJSElement read _Getinvoker; property action: UnicodeString read _Getaction; end; TJSInvokeEvent = class(TJSEvent,IJSInvokeEvent) Private Protected function _Getinvoker: IJSElement; function _Getaction: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSInvokeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInvokeEvent; property invoker: IJSElement read _Getinvoker; property action: UnicodeString read _Getaction; end; { -------------------------------------------------------------------- TJSKeyEvent --------------------------------------------------------------------} IJSKeyEvent = interface(IJSKeyEventMixin) ['{840D4F82-59B0-3E8B-9BE1-B92A9018C85A}'] end; TJSKeyEvent = class(TJSKeyEventMixin,IJSKeyEvent) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyEvent; end; { -------------------------------------------------------------------- TJSKeyframeEffect --------------------------------------------------------------------} // Union of unrestricted double, KeyframeEffectOptions TKeyframeEffect_New_options_Type = Variant; IJSKeyframeEffect = interface(IJSAnimationEffect) ['{7EB66A46-59C9-3DCD-AB44-A17CE5723BC9}'] function _Gettarget: IJSElement; function _GetpseudoElement: UnicodeString; function _GetiterationComposite: TIterationCompositeOperation; function _Getcomposite: TCompositeOperation; procedure _Settarget(const aValue: IJSElement); procedure _SetpseudoElement(const aValue: UnicodeString); procedure _SetiterationComposite(const aValue: TIterationCompositeOperation); procedure _Setcomposite(const aValue: TCompositeOperation); function getKeyframes: TIJSObjectDynArray; procedure setKeyframes(aKeyframes: IJSObject); property target: IJSElement read _Gettarget write _Settarget; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; property iterationComposite: TIterationCompositeOperation read _GetiterationComposite write _SetiterationComposite; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; end; TJSKeyframeEffect = class(TJSAnimationEffect,IJSKeyframeEffect) Private Protected function _Gettarget: IJSElement; function _GetpseudoElement: UnicodeString; function _GetiterationComposite: TIterationCompositeOperation; function _Getcomposite: TCompositeOperation; procedure _Settarget(const aValue: IJSElement); procedure _SetpseudoElement(const aValue: UnicodeString); procedure _SetiterationComposite(const aValue: TIterationCompositeOperation); procedure _Setcomposite(const aValue: TCompositeOperation); Public constructor Create(aTarget: IJSElement; aKeyframes: IJSObject; const aOptions: IJSKeyframeEffectOptions); overload; constructor Create(aTarget: IJSElement; aKeyframes: IJSObject); overload; constructor Create(aTarget: IJSElement; aKeyframes: IJSObject; aOptions: Double); overload; constructor Create(aSource: IJSKeyframeEffect); overload; function getKeyframes: TIJSObjectDynArray; overload; procedure setKeyframes(aKeyframes: IJSObject); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyframeEffect; property target: IJSElement read _Gettarget write _Settarget; property pseudoElement: UnicodeString read _GetpseudoElement write _SetpseudoElement; property iterationComposite: TIterationCompositeOperation read _GetiterationComposite write _SetiterationComposite; property composite: TCompositeOperation read _Getcomposite write _Setcomposite; end; { -------------------------------------------------------------------- TJSMediaDevices --------------------------------------------------------------------} IJSMediaDevices = interface(IJSEventTarget) ['{4D00DB21-97D9-3D69-BB55-E08D71F144D3}'] function _Getondevicechange: TEventHandler; procedure _Setondevicechange(const aValue: TEventHandler); function getSupportedConstraints: IJSMediaTrackSupportedConstraints; function enumerateDevices: IJSPromise; // Promise function getUserMedia(const aConstraints: IJSMediaStreamConstraints): IJSPromise; // Promise function getUserMedia: IJSPromise; // Promise function getDisplayMedia(const aConstraints: IJSDisplayMediaStreamConstraints): IJSPromise; // Promise function getDisplayMedia: IJSPromise; // Promise function selectAudioOutput(const aOptions: IJSAudioOutputOptions): IJSPromise; // Promise function selectAudioOutput: IJSPromise; // Promise property ondevicechange: TEventHandler read _Getondevicechange write _Setondevicechange; end; TJSMediaDevices = class(TJSEventTarget,IJSMediaDevices) Private Protected function _Getondevicechange: TEventHandler; procedure _Setondevicechange(const aValue: TEventHandler); Public function getSupportedConstraints: IJSMediaTrackSupportedConstraints; overload; function enumerateDevices: IJSPromise; overload; // Promise function getUserMedia(const aConstraints: IJSMediaStreamConstraints): IJSPromise; overload; // Promise function getUserMedia: IJSPromise; overload; // Promise function getDisplayMedia(const aConstraints: IJSDisplayMediaStreamConstraints): IJSPromise; overload; // Promise function getDisplayMedia: IJSPromise; overload; // Promise function selectAudioOutput(const aOptions: IJSAudioOutputOptions): IJSPromise; overload; // Promise function selectAudioOutput: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaDevices; property ondevicechange: TEventHandler read _Getondevicechange write _Setondevicechange; end; { -------------------------------------------------------------------- TJSMediaEncryptedEvent --------------------------------------------------------------------} IJSMediaEncryptedEvent = interface(IJSEvent) ['{13010B4B-665E-3119-8A92-E28A08876925}'] function _GetinitDataType: UnicodeString; function _GetinitData: IJSArrayBuffer; property initDataType: UnicodeString read _GetinitDataType; property initData: IJSArrayBuffer read _GetinitData; end; TJSMediaEncryptedEvent = class(TJSEvent,IJSMediaEncryptedEvent) Private Protected function _GetinitDataType: UnicodeString; function _GetinitData: IJSArrayBuffer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaKeyNeededEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaEncryptedEvent; property initDataType: UnicodeString read _GetinitDataType; property initData: IJSArrayBuffer read _GetinitData; end; { -------------------------------------------------------------------- TJSMediaKeyError --------------------------------------------------------------------} IJSMediaKeyError = interface(IJSEvent) ['{ED67B63A-D0F8-395A-8108-3CF904AB4B03}'] function _GetsystemCode: Cardinal; property systemCode: Cardinal read _GetsystemCode; end; TJSMediaKeyError = class(TJSEvent,IJSMediaKeyError) Private Protected function _GetsystemCode: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeyError; property systemCode: Cardinal read _GetsystemCode; end; { -------------------------------------------------------------------- TJSMediaKeyMessageEvent --------------------------------------------------------------------} IJSMediaKeyMessageEvent = interface(IJSEvent) ['{11EC6648-22D1-381F-B0AC-967A2122E7C0}'] function _GetmessageType: TMediaKeyMessageType; function _Getmessage: IJSArrayBuffer; property messageType: TMediaKeyMessageType read _GetmessageType; property message: IJSArrayBuffer read _Getmessage; end; TJSMediaKeyMessageEvent = class(TJSEvent,IJSMediaKeyMessageEvent) Private Protected function _GetmessageType: TMediaKeyMessageType; function _Getmessage: IJSArrayBuffer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaKeyMessageEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeyMessageEvent; property messageType: TMediaKeyMessageType read _GetmessageType; property message: IJSArrayBuffer read _Getmessage; end; { -------------------------------------------------------------------- TJSMediaKeySession --------------------------------------------------------------------} IJSMediaKeySession = interface(IJSEventTarget) ['{597F2524-93DB-35B2-A13B-1C6002BF2084}'] function _Geterror: IJSMediaKeyError; function _GetsessionId: UnicodeString; function _Getexpiration: Double; function _Getclosed: IJSPromise; function _GetkeyStatuses: IJSMediaKeyStatusMap; function _Getonkeystatuseschange: TEventHandler; function _Getonmessage: TEventHandler; procedure _Setonkeystatuseschange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); function generateRequest(const aInitDataType: UnicodeString; aInitData: IJSBufferSource): IJSPromise; // Promise function load(const aSessionId: UnicodeString): IJSPromise; // Promise function update(aResponse: IJSBufferSource): IJSPromise; // Promise function close: IJSPromise; // Promise function remove: IJSPromise; // Promise property error: IJSMediaKeyError read _Geterror; property sessionId: UnicodeString read _GetsessionId; property expiration: Double read _Getexpiration; property closed: IJSPromise read _Getclosed; property keyStatuses: IJSMediaKeyStatusMap read _GetkeyStatuses; property onkeystatuseschange: TEventHandler read _Getonkeystatuseschange write _Setonkeystatuseschange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; end; TJSMediaKeySession = class(TJSEventTarget,IJSMediaKeySession) Private Protected function _Geterror: IJSMediaKeyError; function _GetsessionId: UnicodeString; function _Getexpiration: Double; function _Getclosed: IJSPromise; function _GetkeyStatuses: IJSMediaKeyStatusMap; function _Getonkeystatuseschange: TEventHandler; function _Getonmessage: TEventHandler; procedure _Setonkeystatuseschange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); Public function generateRequest(const aInitDataType: UnicodeString; aInitData: IJSBufferSource): IJSPromise; overload; // Promise function load(const aSessionId: UnicodeString): IJSPromise; overload; // Promise function update(aResponse: IJSBufferSource): IJSPromise; overload; // Promise function close: IJSPromise; overload; // Promise function remove: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaKeySession; property error: IJSMediaKeyError read _Geterror; property sessionId: UnicodeString read _GetsessionId; property expiration: Double read _Getexpiration; property closed: IJSPromise read _Getclosed; property keyStatuses: IJSMediaKeyStatusMap read _GetkeyStatuses; property onkeystatuseschange: TEventHandler read _Getonkeystatuseschange write _Setonkeystatuseschange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; end; { -------------------------------------------------------------------- TJSMediaQueryList --------------------------------------------------------------------} IJSMediaQueryList = interface(IJSEventTarget) ['{AFF6B5FE-2218-314D-B9BA-FA5B9E11AF7F}'] function _Getmedia: UTF8String; function _Getmatches: Boolean; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure addListener(const aListener: TEventListener); procedure removeListener(const aListener: TEventListener); property media: UTF8String read _Getmedia; property matches: Boolean read _Getmatches; property onchange: TEventHandler read _Getonchange write _Setonchange; end; TJSMediaQueryList = class(TJSEventTarget,IJSMediaQueryList) Private Protected function _Getmedia: UTF8String; function _Getmatches: Boolean; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); Public procedure addListener(const aListener: TEventListener); overload; procedure removeListener(const aListener: TEventListener); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaQueryList; property media: UTF8String read _Getmedia; property matches: Boolean read _Getmatches; property onchange: TEventHandler read _Getonchange write _Setonchange; end; { -------------------------------------------------------------------- TJSMediaQueryListEvent --------------------------------------------------------------------} IJSMediaQueryListEvent = interface(IJSEvent) ['{A8DE4B91-8280-34B6-8EDC-E6B13D8AE077}'] function _Getmedia: UTF8String; function _Getmatches: Boolean; property media: UTF8String read _Getmedia; property matches: Boolean read _Getmatches; end; TJSMediaQueryListEvent = class(TJSEvent,IJSMediaQueryListEvent) Private Protected function _Getmedia: UTF8String; function _Getmatches: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaQueryListEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaQueryListEvent; property media: UTF8String read _Getmedia; property matches: Boolean read _Getmatches; end; { -------------------------------------------------------------------- TJSMediaRecorder --------------------------------------------------------------------} IJSMediaRecorder = interface(IJSEventTarget) ['{44880CDC-F764-3A6C-9E62-37C5D045F64B}'] function _Getstream: IJSMediaStream; function _GetmimeType: UnicodeString; function _Getstate: TRecordingState; function _Getonstart: TEventHandler; function _Getonstop: TEventHandler; function _Getondataavailable: TEventHandler; function _Getonpause: TEventHandler; function _Getonresume: TEventHandler; function _Getonerror: TEventHandler; function _GetvideoBitsPerSecond: Cardinal; function _GetaudioBitsPerSecond: Cardinal; procedure _Setonstart(const aValue: TEventHandler); procedure _Setonstop(const aValue: TEventHandler); procedure _Setondataavailable(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonresume(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure start(aTimeslice: Cardinal); procedure start; procedure stop; procedure pause; procedure resume; procedure requestData; property stream: IJSMediaStream read _Getstream; property mimeType: UnicodeString read _GetmimeType; property state: TRecordingState read _Getstate; property onstart: TEventHandler read _Getonstart write _Setonstart; property onstop: TEventHandler read _Getonstop write _Setonstop; property ondataavailable: TEventHandler read _Getondataavailable write _Setondataavailable; property onpause: TEventHandler read _Getonpause write _Setonpause; property onresume: TEventHandler read _Getonresume write _Setonresume; property onerror: TEventHandler read _Getonerror write _Setonerror; property videoBitsPerSecond: Cardinal read _GetvideoBitsPerSecond; property audioBitsPerSecond: Cardinal read _GetaudioBitsPerSecond; end; TJSMediaRecorder = class(TJSEventTarget,IJSMediaRecorder) Private Protected function _Getstream: IJSMediaStream; function _GetmimeType: UnicodeString; function _Getstate: TRecordingState; function _Getonstart: TEventHandler; function _Getonstop: TEventHandler; function _Getondataavailable: TEventHandler; function _Getonpause: TEventHandler; function _Getonresume: TEventHandler; function _Getonerror: TEventHandler; function _GetvideoBitsPerSecond: Cardinal; function _GetaudioBitsPerSecond: Cardinal; procedure _Setonstart(const aValue: TEventHandler); procedure _Setonstop(const aValue: TEventHandler); procedure _Setondataavailable(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonresume(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public constructor Create(aStream: IJSMediaStream; const aOptions: IJSMediaRecorderOptions); overload; constructor Create(aStream: IJSMediaStream); overload; constructor Create(aNode: IJSAudioNode; aOutput: Cardinal; const aOptions: IJSMediaRecorderOptions); overload; constructor Create(aNode: IJSAudioNode); overload; constructor Create(aNode: IJSAudioNode; aOutput: Cardinal); overload; procedure start(aTimeslice: Cardinal); overload; procedure start; overload; procedure stop; overload; procedure pause; overload; procedure resume; overload; procedure requestData; overload; function isTypeSupported(const aType_: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaRecorder; property stream: IJSMediaStream read _Getstream; property mimeType: UnicodeString read _GetmimeType; property state: TRecordingState read _Getstate; property onstart: TEventHandler read _Getonstart write _Setonstart; property onstop: TEventHandler read _Getonstop write _Setonstop; property ondataavailable: TEventHandler read _Getondataavailable write _Setondataavailable; property onpause: TEventHandler read _Getonpause write _Setonpause; property onresume: TEventHandler read _Getonresume write _Setonresume; property onerror: TEventHandler read _Getonerror write _Setonerror; property videoBitsPerSecond: Cardinal read _GetvideoBitsPerSecond; property audioBitsPerSecond: Cardinal read _GetaudioBitsPerSecond; end; { -------------------------------------------------------------------- TJSMediaRecorderErrorEvent --------------------------------------------------------------------} IJSMediaRecorderErrorEvent = interface(IJSEvent) ['{F6D42D85-2587-3552-9F9C-8B4186CB905E}'] function _Geterror: IJSDOMException; property error: IJSDOMException read _Geterror; end; TJSMediaRecorderErrorEvent = class(TJSEvent,IJSMediaRecorderErrorEvent) Private Protected function _Geterror: IJSDOMException; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaRecorderErrorEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaRecorderErrorEvent; property error: IJSDOMException read _Geterror; end; { -------------------------------------------------------------------- TJSMediaSource --------------------------------------------------------------------} IJSMediaSource = interface(IJSEventTarget) ['{65C7B3E9-C77A-3F13-A4BB-60B7953BF5C3}'] function _GetsourceBuffers: IJSSourceBufferList; function _GetactiveSourceBuffers: IJSSourceBufferList; function _GetreadyState: TMediaSourceReadyState; function _Getduration: Double; function _Getonsourceopen: TEventHandler; function _Getonsourceended: TEventHandler; function _Getonsourceclose: TEventHandler; procedure _Setduration(const aValue: Double); procedure _Setonsourceopen(const aValue: TEventHandler); procedure _Setonsourceended(const aValue: TEventHandler); procedure _Setonsourceclose(const aValue: TEventHandler); function addSourceBuffer(const aType_: UnicodeString): IJSSourceBuffer; procedure removeSourceBuffer(aSourceBuffer: IJSSourceBuffer); procedure endOfStream(aError: TMediaSourceEndOfStreamError); procedure endOfStream; procedure setLiveSeekableRange(aStart: Double; aEnd_: Double); procedure clearLiveSeekableRange; property sourceBuffers: IJSSourceBufferList read _GetsourceBuffers; property activeSourceBuffers: IJSSourceBufferList read _GetactiveSourceBuffers; property readyState: TMediaSourceReadyState read _GetreadyState; property duration: Double read _Getduration write _Setduration; property onsourceopen: TEventHandler read _Getonsourceopen write _Setonsourceopen; property onsourceended: TEventHandler read _Getonsourceended write _Setonsourceended; property onsourceclose: TEventHandler read _Getonsourceclose write _Setonsourceclose; end; TJSMediaSource = class(TJSEventTarget,IJSMediaSource) Private Protected function _GetsourceBuffers: IJSSourceBufferList; function _GetactiveSourceBuffers: IJSSourceBufferList; function _GetreadyState: TMediaSourceReadyState; function _Getduration: Double; function _Getonsourceopen: TEventHandler; function _Getonsourceended: TEventHandler; function _Getonsourceclose: TEventHandler; procedure _Setduration(const aValue: Double); procedure _Setonsourceopen(const aValue: TEventHandler); procedure _Setonsourceended(const aValue: TEventHandler); procedure _Setonsourceclose(const aValue: TEventHandler); Public constructor Create; overload; function addSourceBuffer(const aType_: UnicodeString): IJSSourceBuffer; overload; procedure removeSourceBuffer(aSourceBuffer: IJSSourceBuffer); overload; procedure endOfStream(aError: TMediaSourceEndOfStreamError); overload; procedure endOfStream; overload; procedure setLiveSeekableRange(aStart: Double; aEnd_: Double); overload; procedure clearLiveSeekableRange; overload; function isTypeSupported(const aType_: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaSource; property sourceBuffers: IJSSourceBufferList read _GetsourceBuffers; property activeSourceBuffers: IJSSourceBufferList read _GetactiveSourceBuffers; property readyState: TMediaSourceReadyState read _GetreadyState; property duration: Double read _Getduration write _Setduration; property onsourceopen: TEventHandler read _Getonsourceopen write _Setonsourceopen; property onsourceended: TEventHandler read _Getonsourceended write _Setonsourceended; property onsourceclose: TEventHandler read _Getonsourceclose write _Setonsourceclose; end; { -------------------------------------------------------------------- TJSMediaStream --------------------------------------------------------------------} TJSMediaStreamTrackDynArray = IJSArray; // array of MediaStreamTrack IJSMediaStream = interface(IJSEventTarget) ['{92E92B75-A2A0-3F5E-A4DC-D33C2055BC0D}'] function _Getid: UnicodeString; function _Getactive: Boolean; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); function getAudioTracks: TJSMediaStreamTrackDynArray; function getVideoTracks: TJSMediaStreamTrackDynArray; function getTracks: TJSMediaStreamTrackDynArray; function getTrackById(const aTrackId: UnicodeString): IJSMediaStreamTrack; procedure addTrack(aTrack: IJSMediaStreamTrack); procedure removeTrack(aTrack: IJSMediaStreamTrack); function clone: IJSMediaStream; property id: UnicodeString read _Getid; property active: Boolean read _Getactive; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; TJSMediaStream = class(TJSEventTarget,IJSMediaStream) Private Protected function _Getid: UnicodeString; function _Getactive: Boolean; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); Public constructor Create; overload; constructor Create(aStream: IJSMediaStream); overload; constructor Create(const aTracks: TJSMediaStreamTrackDynArray); overload; function getAudioTracks: TJSMediaStreamTrackDynArray; overload; function getVideoTracks: TJSMediaStreamTrackDynArray; overload; function getTracks: TJSMediaStreamTrackDynArray; overload; function getTrackById(const aTrackId: UnicodeString): IJSMediaStreamTrack; overload; procedure addTrack(aTrack: IJSMediaStreamTrack); overload; procedure removeTrack(aTrack: IJSMediaStreamTrack); overload; function clone: IJSMediaStream; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStream; property id: UnicodeString read _Getid; property active: Boolean read _Getactive; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; { -------------------------------------------------------------------- TJSMediaStreamEvent --------------------------------------------------------------------} IJSMediaStreamEvent = interface(IJSEvent) ['{CB2B1F20-E44A-3922-9869-A07C7F004B09}'] function _Getstream: IJSMediaStream; property stream: IJSMediaStream read _Getstream; end; TJSMediaStreamEvent = class(TJSEvent,IJSMediaStreamEvent) Private Protected function _Getstream: IJSMediaStream; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaStreamEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamEvent; property stream: IJSMediaStream read _Getstream; end; { -------------------------------------------------------------------- TJSMediaStreamTrack --------------------------------------------------------------------} IJSMediaStreamTrack = interface(IJSEventTarget) ['{CB00FAF2-D4BD-32B0-85B2-0CCFD1D1462D}'] function _Getkind: UnicodeString; function _Getid: UnicodeString; function _Getlabel_: UnicodeString; function _Getenabled: Boolean; function _Getmuted: Boolean; function _Getonmute: TEventHandler; function _Getonunmute: TEventHandler; function _GetreadyState: TMediaStreamTrackState; function _Getonended: TEventHandler; function _Getonoverconstrained: TEventHandler; procedure _Setenabled(const aValue: Boolean); procedure _Setonmute(const aValue: TEventHandler); procedure _Setonunmute(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonoverconstrained(const aValue: TEventHandler); function clone: IJSMediaStreamTrack; procedure stop; function getCapabilities: IJSMediaTrackCapabilities; function getConstraints: IJSMediaTrackConstraints; function getSettings: IJSMediaTrackSettings; function applyConstraints(const aConstraints: IJSMediaTrackConstraints): IJSPromise; // Promise function applyConstraints: IJSPromise; // Promise property kind: UnicodeString read _Getkind; property id: UnicodeString read _Getid; property label_: UnicodeString read _Getlabel_; property enabled: Boolean read _Getenabled write _Setenabled; property muted: Boolean read _Getmuted; property onmute: TEventHandler read _Getonmute write _Setonmute; property onunmute: TEventHandler read _Getonunmute write _Setonunmute; property readyState: TMediaStreamTrackState read _GetreadyState; property onended: TEventHandler read _Getonended write _Setonended; property onoverconstrained: TEventHandler read _Getonoverconstrained write _Setonoverconstrained; end; TJSMediaStreamTrack = class(TJSEventTarget,IJSMediaStreamTrack) Private Protected function _Getkind: UnicodeString; function _Getid: UnicodeString; function _Getlabel_: UnicodeString; function _Getenabled: Boolean; function _Getmuted: Boolean; function _Getonmute: TEventHandler; function _Getonunmute: TEventHandler; function _GetreadyState: TMediaStreamTrackState; function _Getonended: TEventHandler; function _Getonoverconstrained: TEventHandler; procedure _Setenabled(const aValue: Boolean); procedure _Setonmute(const aValue: TEventHandler); procedure _Setonunmute(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonoverconstrained(const aValue: TEventHandler); Public function clone: IJSMediaStreamTrack; overload; procedure stop; overload; function getCapabilities: IJSMediaTrackCapabilities; overload; function getConstraints: IJSMediaTrackConstraints; overload; function getSettings: IJSMediaTrackSettings; overload; function applyConstraints(const aConstraints: IJSMediaTrackConstraints): IJSPromise; overload; // Promise function applyConstraints: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamTrack; property kind: UnicodeString read _Getkind; property id: UnicodeString read _Getid; property label_: UnicodeString read _Getlabel_; property enabled: Boolean read _Getenabled write _Setenabled; property muted: Boolean read _Getmuted; property onmute: TEventHandler read _Getonmute write _Setonmute; property onunmute: TEventHandler read _Getonunmute write _Setonunmute; property readyState: TMediaStreamTrackState read _GetreadyState; property onended: TEventHandler read _Getonended write _Setonended; property onoverconstrained: TEventHandler read _Getonoverconstrained write _Setonoverconstrained; end; { -------------------------------------------------------------------- TJSMediaStreamTrackEvent --------------------------------------------------------------------} IJSMediaStreamTrackEvent = interface(IJSEvent) ['{DAC56196-EA44-3E20-8D87-B892D6807D40}'] function _Gettrack: IJSMediaStreamTrack; property track: IJSMediaStreamTrack read _Gettrack; end; TJSMediaStreamTrackEvent = class(TJSEvent,IJSMediaStreamTrackEvent) Private Protected function _Gettrack: IJSMediaStreamTrack; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaStreamTrackEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamTrackEvent; property track: IJSMediaStreamTrack read _Gettrack; end; { -------------------------------------------------------------------- TJSMerchantValidationEvent --------------------------------------------------------------------} IJSMerchantValidationEvent = interface(IJSEvent) ['{FAC77072-A609-3550-A8F8-BCCCAA779A09}'] function _GetmethodName: UnicodeString; function _GetvalidationURL: UnicodeString; procedure complete(aMerchantSessionPromise: IJSPromise); property methodName: UnicodeString read _GetmethodName; property validationURL: UnicodeString read _GetvalidationURL; end; TJSMerchantValidationEvent = class(TJSEvent,IJSMerchantValidationEvent) Private Protected function _GetmethodName: UnicodeString; function _GetvalidationURL: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMerchantValidationEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure complete(aMerchantSessionPromise: IJSPromise); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMerchantValidationEvent; property methodName: UnicodeString read _GetmethodName; property validationURL: UnicodeString read _GetvalidationURL; end; { -------------------------------------------------------------------- TJSMessageEvent --------------------------------------------------------------------} IJSMessageEvent = interface(IJSEvent) ['{90A1155B-308F-3E35-A7E7-A391F3125ED5}'] function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TMessageEventSource; function _Getports: TJSMessagePortDynArray; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort; const aPorts: TJSMessagePortDynArray); procedure initMessageEvent(const aType_: UnicodeString); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker; const aPorts: TJSMessagePortDynArray); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy; const aPorts: TJSMessagePortDynArray); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker); procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort); property data: Variant read _Getdata; property origin: UnicodeString read _Getorigin; property lastEventId: UnicodeString read _GetlastEventId; property source: TMessageEventSource read _Getsource; property ports: TJSMessagePortDynArray read _Getports; end; TJSMessageEvent = class(TJSEvent,IJSMessageEvent) Private Protected function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TMessageEventSource; function _Getports: TJSMessagePortDynArray; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMessageEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort; const aPorts: TJSMessagePortDynArray); overload; procedure initMessageEvent(const aType_: UnicodeString); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker; const aPorts: TJSMessagePortDynArray); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy; const aPorts: TJSMessagePortDynArray); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker); overload; procedure initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMessageEvent; property data: Variant read _Getdata; property origin: UnicodeString read _Getorigin; property lastEventId: UnicodeString read _GetlastEventId; property source: TMessageEventSource read _Getsource; property ports: TJSMessagePortDynArray read _Getports; end; { -------------------------------------------------------------------- TJSMessagePort --------------------------------------------------------------------} IJSMessagePort = interface(IJSEventTarget) ['{5F758B0C-FC90-31B7-860B-0510125B07C7}'] function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); procedure postMessage(const aMessage: Variant); procedure start; procedure close; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; TJSMessagePort = class(TJSEventTarget,IJSMessagePort) Private Protected function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); Public procedure postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); overload; procedure postMessage(const aMessage: Variant); overload; procedure start; overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMessagePort; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; { -------------------------------------------------------------------- TJSMIDIAccess --------------------------------------------------------------------} IJSMIDIAccess = interface(IJSEventTarget) ['{920B8458-74A8-3AC7-996D-FB149857C53B}'] function _Getinputs: IJSMIDIInputMap; function _Getoutputs: IJSMIDIOutputMap; function _Getonstatechange: TEventHandler; function _GetsysexEnabled: Boolean; procedure _Setonstatechange(const aValue: TEventHandler); property inputs: IJSMIDIInputMap read _Getinputs; property outputs: IJSMIDIOutputMap read _Getoutputs; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property sysexEnabled: Boolean read _GetsysexEnabled; end; TJSMIDIAccess = class(TJSEventTarget,IJSMIDIAccess) Private Protected function _Getinputs: IJSMIDIInputMap; function _Getoutputs: IJSMIDIOutputMap; function _Getonstatechange: TEventHandler; function _GetsysexEnabled: Boolean; procedure _Setonstatechange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIAccess; property inputs: IJSMIDIInputMap read _Getinputs; property outputs: IJSMIDIOutputMap read _Getoutputs; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property sysexEnabled: Boolean read _GetsysexEnabled; end; { -------------------------------------------------------------------- TJSMIDIConnectionEvent --------------------------------------------------------------------} IJSMIDIConnectionEvent = interface(IJSEvent) ['{A674D613-2B5E-3E55-B3D3-EBD841F90001}'] function _Getport: IJSMIDIPort; property port: IJSMIDIPort read _Getport; end; TJSMIDIConnectionEvent = class(TJSEvent,IJSMIDIConnectionEvent) Private Protected function _Getport: IJSMIDIPort; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMIDIConnectionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIConnectionEvent; property port: IJSMIDIPort read _Getport; end; { -------------------------------------------------------------------- TJSMIDIMessageEvent --------------------------------------------------------------------} IJSMIDIMessageEvent = interface(IJSEvent) ['{E0CDBF88-6480-33E4-9069-A1DA7A6750DC}'] function _Getdata: IJSUint8Array; property data: IJSUint8Array read _Getdata; end; TJSMIDIMessageEvent = class(TJSEvent,IJSMIDIMessageEvent) Private Protected function _Getdata: IJSUint8Array; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSMIDIMessageEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIMessageEvent; property data: IJSUint8Array read _Getdata; end; { -------------------------------------------------------------------- TJSMIDIPort --------------------------------------------------------------------} IJSMIDIPort = interface(IJSEventTarget) ['{88B1A7A9-B882-3020-98A5-708AFEFA43E1}'] function _Getid: UnicodeString; function _Getmanufacturer: UnicodeString; function _Getname: UnicodeString; function _Getversion: UnicodeString; function _Gettype_: TMIDIPortType; function _Getstate: TMIDIPortDeviceState; function _Getconnection: TMIDIPortConnectionState; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); function open: IJSPromise; // Promise function close: IJSPromise; // Promise property id: UnicodeString read _Getid; property manufacturer: UnicodeString read _Getmanufacturer; property name: UnicodeString read _Getname; property version: UnicodeString read _Getversion; property type_: TMIDIPortType read _Gettype_; property state: TMIDIPortDeviceState read _Getstate; property connection: TMIDIPortConnectionState read _Getconnection; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; TJSMIDIPort = class(TJSEventTarget,IJSMIDIPort) Private Protected function _Getid: UnicodeString; function _Getmanufacturer: UnicodeString; function _Getname: UnicodeString; function _Getversion: UnicodeString; function _Gettype_: TMIDIPortType; function _Getstate: TMIDIPortDeviceState; function _Getconnection: TMIDIPortConnectionState; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); Public function open: IJSPromise; overload; // Promise function close: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIPort; property id: UnicodeString read _Getid; property manufacturer: UnicodeString read _Getmanufacturer; property name: UnicodeString read _Getname; property version: UnicodeString read _Getversion; property type_: TMIDIPortType read _Gettype_; property state: TMIDIPortDeviceState read _Getstate; property connection: TMIDIPortConnectionState read _Getconnection; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; { -------------------------------------------------------------------- TJSMutationEvent --------------------------------------------------------------------} IJSMutationEvent = interface(IJSEvent) ['{E24F1609-AA0D-37FF-92A2-73C354BAB72F}'] function _GetrelatedNode: IJSNode; function _GetprevValue: UnicodeString; function _GetnewValue: UnicodeString; function _GetattrName: UnicodeString; function _GetattrChange: Word; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString; aAttrChange: Word); procedure initMutationEvent(const aType_: UnicodeString); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString); procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString); property relatedNode: IJSNode read _GetrelatedNode; property prevValue: UnicodeString read _GetprevValue; property newValue: UnicodeString read _GetnewValue; property attrName: UnicodeString read _GetattrName; property attrChange: Word read _GetattrChange; end; TJSMutationEvent = class(TJSEvent,IJSMutationEvent) Private Protected function _GetrelatedNode: IJSNode; function _GetprevValue: UnicodeString; function _GetnewValue: UnicodeString; function _GetattrName: UnicodeString; function _GetattrChange: Word; Public Const MODIFICATION = 1; ADDITION = 2; REMOVAL = 3; Public procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString; aAttrChange: Word); overload; procedure initMutationEvent(const aType_: UnicodeString); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString); overload; procedure initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMutationEvent; property relatedNode: IJSNode read _GetrelatedNode; property prevValue: UnicodeString read _GetprevValue; property newValue: UnicodeString read _GetnewValue; property attrName: UnicodeString read _GetattrName; property attrChange: Word read _GetattrChange; end; { -------------------------------------------------------------------- TJSNetworkInformation --------------------------------------------------------------------} IJSNetworkInformation = interface(IJSEventTarget) ['{CE227C2F-3E4C-3D4A-9995-DFB25ED6E4F8}'] function _Gettype_: TConnectionType; function _Getontypechange: TEventHandler; procedure _Setontypechange(const aValue: TEventHandler); property type_: TConnectionType read _Gettype_; property ontypechange: TEventHandler read _Getontypechange write _Setontypechange; end; TJSNetworkInformation = class(TJSEventTarget,IJSNetworkInformation) Private Protected function _Gettype_: TConnectionType; function _Getontypechange: TEventHandler; procedure _Setontypechange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNetworkInformation; property type_: TConnectionType read _Gettype_; property ontypechange: TEventHandler read _Getontypechange write _Setontypechange; end; { -------------------------------------------------------------------- TJSNode --------------------------------------------------------------------} IJSNode = interface(IJSEventTarget) ['{68B76BEB-8ED3-3409-9374-782E9D57F39F}'] function _GetnodeType: Word; function _GetnodeName: UnicodeString; function _GetbaseURI: UnicodeString; function _GetisConnected: Boolean; function _GetownerDocument: IJSDocument; function _GetparentNode: IJSNode; function _GetparentElement: IJSElement; function _GetchildNodes: IJSNodeList; function _GetfirstChild: IJSNode; function _GetlastChild: IJSNode; function _GetpreviousSibling: IJSNode; function _GetnextSibling: IJSNode; function _GetnodeValue: UnicodeString; function _GettextContent: UnicodeString; function _GetcontainingShadowRoot: IJSShadowRoot; procedure _SetnodeValue(const aValue: UnicodeString); procedure _SettextContent(const aValue: UnicodeString); function getRootNode(const aOptions: IJSGetRootNodeOptions): IJSNode; function getRootNode: IJSNode; function hasChildNodes: Boolean; function insertBefore(aNode: IJSNode; aChild: IJSNode): IJSNode; function appendChild(aNode: IJSNode): IJSNode; function replaceChild(aNode: IJSNode; aChild: IJSNode): IJSNode; function removeChild(aChild: IJSNode): IJSNode; procedure normalize; function cloneNode(aDeep: Boolean): IJSNode; function cloneNode: IJSNode; function isSameNode(aNode: IJSNode): Boolean; function isEqualNode(aNode: IJSNode): Boolean; function compareDocumentPosition(aOther: IJSNode): Word; function contains(aOther: IJSNode): Boolean; function lookupPrefix(const aNamespace: UnicodeString): UnicodeString; function lookupNamespaceURI(const aPrefix: UnicodeString): UnicodeString; function isDefaultNamespace(const aNamespace: UnicodeString): Boolean; property nodeType: Word read _GetnodeType; property nodeName: UnicodeString read _GetnodeName; property baseURI: UnicodeString read _GetbaseURI; property isConnected: Boolean read _GetisConnected; property ownerDocument: IJSDocument read _GetownerDocument; property parentNode: IJSNode read _GetparentNode; property parentElement: IJSElement read _GetparentElement; property childNodes: IJSNodeList read _GetchildNodes; property firstChild: IJSNode read _GetfirstChild; property lastChild: IJSNode read _GetlastChild; property previousSibling: IJSNode read _GetpreviousSibling; property nextSibling: IJSNode read _GetnextSibling; property nodeValue: UnicodeString read _GetnodeValue write _SetnodeValue; property textContent: UnicodeString read _GettextContent write _SettextContent; property containingShadowRoot: IJSShadowRoot read _GetcontainingShadowRoot; end; TJSNode = class(TJSEventTarget,IJSNode) Private Protected function _GetnodeType: Word; function _GetnodeName: UnicodeString; function _GetbaseURI: UnicodeString; function _GetisConnected: Boolean; function _GetownerDocument: IJSDocument; function _GetparentNode: IJSNode; function _GetparentElement: IJSElement; function _GetchildNodes: IJSNodeList; function _GetfirstChild: IJSNode; function _GetlastChild: IJSNode; function _GetpreviousSibling: IJSNode; function _GetnextSibling: IJSNode; function _GetnodeValue: UnicodeString; function _GettextContent: UnicodeString; function _GetcontainingShadowRoot: IJSShadowRoot; procedure _SetnodeValue(const aValue: UnicodeString); procedure _SettextContent(const aValue: UnicodeString); Public Const ELEMENT_NODE = 1; ATTRIBUTE_NODE = 2; TEXT_NODE = 3; CDATA_SECTION_NODE = 4; ENTITY_REFERENCE_NODE = 5; ENTITY_NODE = 6; PROCESSING_INSTRUCTION_NODE = 7; COMMENT_NODE = 8; DOCUMENT_NODE = 9; DOCUMENT_TYPE_NODE = 10; DOCUMENT_FRAGMENT_NODE = 11; NOTATION_NODE = 12; DOCUMENT_POSITION_DISCONNECTED = $01; DOCUMENT_POSITION_PRECEDING = $02; DOCUMENT_POSITION_FOLLOWING = $04; DOCUMENT_POSITION_CONTAINS = $08; DOCUMENT_POSITION_CONTAINED_BY = $10; DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = $20; Public function getRootNode(const aOptions: IJSGetRootNodeOptions): IJSNode; overload; function getRootNode: IJSNode; overload; function hasChildNodes: Boolean; overload; function insertBefore(aNode: IJSNode; aChild: IJSNode): IJSNode; overload; function appendChild(aNode: IJSNode): IJSNode; overload; function replaceChild(aNode: IJSNode; aChild: IJSNode): IJSNode; overload; function removeChild(aChild: IJSNode): IJSNode; overload; procedure normalize; overload; function cloneNode(aDeep: Boolean): IJSNode; overload; function cloneNode: IJSNode; overload; function isSameNode(aNode: IJSNode): Boolean; overload; function isEqualNode(aNode: IJSNode): Boolean; overload; function compareDocumentPosition(aOther: IJSNode): Word; overload; function contains(aOther: IJSNode): Boolean; overload; function lookupPrefix(const aNamespace: UnicodeString): UnicodeString; overload; function lookupNamespaceURI(const aPrefix: UnicodeString): UnicodeString; overload; function isDefaultNamespace(const aNamespace: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNode; property nodeType: Word read _GetnodeType; property nodeName: UnicodeString read _GetnodeName; property baseURI: UnicodeString read _GetbaseURI; property isConnected: Boolean read _GetisConnected; property ownerDocument: IJSDocument read _GetownerDocument; property parentNode: IJSNode read _GetparentNode; property parentElement: IJSElement read _GetparentElement; property childNodes: IJSNodeList read _GetchildNodes; property firstChild: IJSNode read _GetfirstChild; property lastChild: IJSNode read _GetlastChild; property previousSibling: IJSNode read _GetpreviousSibling; property nextSibling: IJSNode read _GetnextSibling; property nodeValue: UnicodeString read _GetnodeValue write _SetnodeValue; property textContent: UnicodeString read _GettextContent write _SettextContent; property containingShadowRoot: IJSShadowRoot read _GetcontainingShadowRoot; end; { -------------------------------------------------------------------- TJSNotification --------------------------------------------------------------------} IJSNotification = interface(IJSEventTarget) ['{9042790D-7F63-38E8-95B8-7F16943DD23F}'] function _Getpermission: TNotificationPermission; function _Getonclick: TEventHandler; function _Getonshow: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Gettitle: UnicodeString; function _Getdir: TNotificationDirection; function _Getlang: UnicodeString; function _Getbody: UnicodeString; function _Gettag: UnicodeString; function _Geticon: UnicodeString; function _GetrequireInteraction: Boolean; function _Getsilent: Boolean; function _Getvibrate: TCardinalDynArray; function _Getdata: Variant; procedure _Setonclick(const aValue: TEventHandler); procedure _Setonshow(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure close; property permission: TNotificationPermission read _Getpermission; property onclick: TEventHandler read _Getonclick write _Setonclick; property onshow: TEventHandler read _Getonshow write _Setonshow; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property title: UnicodeString read _Gettitle; property dir: TNotificationDirection read _Getdir; property lang: UnicodeString read _Getlang; property body: UnicodeString read _Getbody; property tag: UnicodeString read _Gettag; property icon: UnicodeString read _Geticon; property requireInteraction: Boolean read _GetrequireInteraction; property silent: Boolean read _Getsilent; property vibrate: TCardinalDynArray read _Getvibrate; property data: Variant read _Getdata; end; TJSNotification = class(TJSEventTarget,IJSNotification) Private Protected function _Getpermission: TNotificationPermission; function _Getonclick: TEventHandler; function _Getonshow: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Gettitle: UnicodeString; function _Getdir: TNotificationDirection; function _Getlang: UnicodeString; function _Getbody: UnicodeString; function _Gettag: UnicodeString; function _Geticon: UnicodeString; function _GetrequireInteraction: Boolean; function _Getsilent: Boolean; function _Getvibrate: TCardinalDynArray; function _Getdata: Variant; procedure _Setonclick(const aValue: TEventHandler); procedure _Setonshow(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); Public constructor Create(const aTitle: UnicodeString; const aOptions: IJSNotificationOptions); overload; constructor Create(const aTitle: UnicodeString); overload; function requestPermission(const aPermissionCallback: TNotificationPermissionCallback): IJSPromise; overload; // Promise function requestPermission: IJSPromise; overload; // Promise procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNotification; property permission: TNotificationPermission read _Getpermission; property onclick: TEventHandler read _Getonclick write _Setonclick; property onshow: TEventHandler read _Getonshow write _Setonshow; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property title: UnicodeString read _Gettitle; property dir: TNotificationDirection read _Getdir; property lang: UnicodeString read _Getlang; property body: UnicodeString read _Getbody; property tag: UnicodeString read _Gettag; property icon: UnicodeString read _Geticon; property requireInteraction: Boolean read _GetrequireInteraction; property silent: Boolean read _Getsilent; property vibrate: TCardinalDynArray read _Getvibrate; property data: Variant read _Getdata; end; { -------------------------------------------------------------------- TJSOfflineAudioCompletionEvent --------------------------------------------------------------------} IJSOfflineAudioCompletionEvent = interface(IJSEvent) ['{762066F7-0D34-39E9-93DF-AA7F58540460}'] function _GetrenderedBuffer: IJSAudioBuffer; property renderedBuffer: IJSAudioBuffer read _GetrenderedBuffer; end; TJSOfflineAudioCompletionEvent = class(TJSEvent,IJSOfflineAudioCompletionEvent) Private Protected function _GetrenderedBuffer: IJSAudioBuffer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSOfflineAudioCompletionEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOfflineAudioCompletionEvent; property renderedBuffer: IJSAudioBuffer read _GetrenderedBuffer; end; { -------------------------------------------------------------------- TJSOffscreenCanvas --------------------------------------------------------------------} IJSOffscreenCanvas = interface(IJSEventTarget) ['{25EAA2E3-7227-3092-ABA5-F2CC48002CCB}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getoncontextlost: TEventHandler; function _Getoncontextrestored: TEventHandler; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); function getContext(aContextId: TOffscreenRenderingContextId; const aContextOptions: Variant): TOffscreenRenderingContext; function getContext(aContextId: TOffscreenRenderingContextId): TOffscreenRenderingContext; function transferToImageBitmap: IJSImageBitmap; function convertToBlob(const aOptions: IJSImageEncodeOptions): IJSPromise; // Promise function convertToBlob: IJSPromise; // Promise function toBlob(const aType_: UnicodeString; const aEncoderOptions: Variant): IJSPromise; // Promise function toBlob: IJSPromise; // Promise function toBlob(const aType_: UnicodeString): IJSPromise; // Promise property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; end; TJSOffscreenCanvas = class(TJSEventTarget,IJSOffscreenCanvas) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getoncontextlost: TEventHandler; function _Getoncontextrestored: TEventHandler; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); Public constructor Create(aWidth: Cardinal; aHeight: Cardinal); overload; function getContext(aContextId: TOffscreenRenderingContextId; const aContextOptions: Variant): TOffscreenRenderingContext; overload; function getContext(aContextId: TOffscreenRenderingContextId): TOffscreenRenderingContext; overload; function transferToImageBitmap: IJSImageBitmap; overload; function convertToBlob(const aOptions: IJSImageEncodeOptions): IJSPromise; overload; // Promise function convertToBlob: IJSPromise; overload; // Promise function toBlob(const aType_: UnicodeString; const aEncoderOptions: Variant): IJSPromise; overload; // Promise function toBlob: IJSPromise; overload; // Promise function toBlob(const aType_: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOffscreenCanvas; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; end; { -------------------------------------------------------------------- TJSPageTransitionEvent --------------------------------------------------------------------} IJSPageTransitionEvent = interface(IJSEvent) ['{2032F17C-6275-35B9-AE76-7716A90F22CD}'] function _Getpersisted: Boolean; property persisted: Boolean read _Getpersisted; end; TJSPageTransitionEvent = class(TJSEvent,IJSPageTransitionEvent) Private Protected function _Getpersisted: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPageTransitionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPageTransitionEvent; property persisted: Boolean read _Getpersisted; end; { -------------------------------------------------------------------- TJSPaintWorkletGlobalScope --------------------------------------------------------------------} IJSPaintWorkletGlobalScope = interface(IJSWorkletGlobalScope) ['{FE9DB499-1F8A-32F1-ACC6-5A568F5FA478}'] procedure registerPaint(const aName: UnicodeString; const aPaintCtor: TVoidFunction); end; TJSPaintWorkletGlobalScope = class(TJSWorkletGlobalScope,IJSPaintWorkletGlobalScope) Private Protected Public procedure registerPaint(const aName: UnicodeString; const aPaintCtor: TVoidFunction); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaintWorkletGlobalScope; end; { -------------------------------------------------------------------- TJSPaymentRequest --------------------------------------------------------------------} TJSPaymentMethodDataDynArray = IJSArray; // array of PaymentMethodData IJSPaymentRequest = interface(IJSEventTarget) ['{E1735C15-22EA-3056-8E2D-C94D4DEC8FF4}'] function _Getid: UnicodeString; function _GetshippingAddress: IJSPaymentAddress; function _GetshippingOption: UnicodeString; function _GetshippingType: TPaymentShippingType; function _Getonmerchantvalidation: TEventHandler; function _Getonshippingaddresschange: TEventHandler; function _Getonshippingoptionchange: TEventHandler; function _Getonpaymentmethodchange: TEventHandler; procedure _Setonmerchantvalidation(const aValue: TEventHandler); procedure _Setonshippingaddresschange(const aValue: TEventHandler); procedure _Setonshippingoptionchange(const aValue: TEventHandler); procedure _Setonpaymentmethodchange(const aValue: TEventHandler); function show(aDetailsPromise: IJSPromise): IJSPromise; // Promise function show: IJSPromise; // Promise function abort: IJSPromise; // Promise function canMakePayment: IJSPromise; // Promise property id: UnicodeString read _Getid; property shippingAddress: IJSPaymentAddress read _GetshippingAddress; property shippingOption: UnicodeString read _GetshippingOption; property shippingType: TPaymentShippingType read _GetshippingType; property onmerchantvalidation: TEventHandler read _Getonmerchantvalidation write _Setonmerchantvalidation; property onshippingaddresschange: TEventHandler read _Getonshippingaddresschange write _Setonshippingaddresschange; property onshippingoptionchange: TEventHandler read _Getonshippingoptionchange write _Setonshippingoptionchange; property onpaymentmethodchange: TEventHandler read _Getonpaymentmethodchange write _Setonpaymentmethodchange; end; TJSPaymentRequest = class(TJSEventTarget,IJSPaymentRequest) Private Protected function _Getid: UnicodeString; function _GetshippingAddress: IJSPaymentAddress; function _GetshippingOption: UnicodeString; function _GetshippingType: TPaymentShippingType; function _Getonmerchantvalidation: TEventHandler; function _Getonshippingaddresschange: TEventHandler; function _Getonshippingoptionchange: TEventHandler; function _Getonpaymentmethodchange: TEventHandler; procedure _Setonmerchantvalidation(const aValue: TEventHandler); procedure _Setonshippingaddresschange(const aValue: TEventHandler); procedure _Setonshippingoptionchange(const aValue: TEventHandler); procedure _Setonpaymentmethodchange(const aValue: TEventHandler); Public constructor Create(const aMethodData: TJSPaymentMethodDataDynArray; const aDetails: IJSPaymentDetailsInit; const aOptions: IJSPaymentOptions); overload; constructor Create(const aMethodData: TJSPaymentMethodDataDynArray; const aDetails: IJSPaymentDetailsInit); overload; function show(aDetailsPromise: IJSPromise): IJSPromise; overload; // Promise function show: IJSPromise; overload; // Promise function abort: IJSPromise; overload; // Promise function canMakePayment: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentRequest; property id: UnicodeString read _Getid; property shippingAddress: IJSPaymentAddress read _GetshippingAddress; property shippingOption: UnicodeString read _GetshippingOption; property shippingType: TPaymentShippingType read _GetshippingType; property onmerchantvalidation: TEventHandler read _Getonmerchantvalidation write _Setonmerchantvalidation; property onshippingaddresschange: TEventHandler read _Getonshippingaddresschange write _Setonshippingaddresschange; property onshippingoptionchange: TEventHandler read _Getonshippingoptionchange write _Setonshippingoptionchange; property onpaymentmethodchange: TEventHandler read _Getonpaymentmethodchange write _Setonpaymentmethodchange; end; { -------------------------------------------------------------------- TJSPaymentRequestUpdateEvent --------------------------------------------------------------------} IJSPaymentRequestUpdateEvent = interface(IJSEvent) ['{641E349E-60A8-3B61-9F65-8E78D46A9064}'] procedure updateWith(aDetailsPromise: IJSPromise); end; TJSPaymentRequestUpdateEvent = class(TJSEvent,IJSPaymentRequestUpdateEvent) Private Protected Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPaymentRequestUpdateEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure updateWith(aDetailsPromise: IJSPromise); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentRequestUpdateEvent; end; { -------------------------------------------------------------------- TJSPaymentResponse --------------------------------------------------------------------} IJSPaymentResponse = interface(IJSEventTarget) ['{FD908BCD-D7F6-3A72-B467-D0BBDE18D271}'] function _GetrequestId: UnicodeString; function _GetmethodName: UnicodeString; function _Getdetails: IJSObject; function _GetshippingAddress: IJSPaymentAddress; function _GetshippingOption: UnicodeString; function _GetpayerName: UnicodeString; function _GetpayerEmail: UnicodeString; function _GetpayerPhone: UnicodeString; function _Getonpayerdetailchange: TEventHandler; procedure _Setonpayerdetailchange(const aValue: TEventHandler); function toJSON: IJSObject; function complete(aResult: TPaymentComplete): IJSPromise; // Promise function complete: IJSPromise; // Promise function retry(const aErrorFields: IJSPaymentValidationErrors): IJSPromise; // Promise function retry: IJSPromise; // Promise property requestId: UnicodeString read _GetrequestId; property methodName: UnicodeString read _GetmethodName; property details: IJSObject read _Getdetails; property shippingAddress: IJSPaymentAddress read _GetshippingAddress; property shippingOption: UnicodeString read _GetshippingOption; property payerName: UnicodeString read _GetpayerName; property payerEmail: UnicodeString read _GetpayerEmail; property payerPhone: UnicodeString read _GetpayerPhone; property onpayerdetailchange: TEventHandler read _Getonpayerdetailchange write _Setonpayerdetailchange; end; TJSPaymentResponse = class(TJSEventTarget,IJSPaymentResponse) Private Protected function _GetrequestId: UnicodeString; function _GetmethodName: UnicodeString; function _Getdetails: IJSObject; function _GetshippingAddress: IJSPaymentAddress; function _GetshippingOption: UnicodeString; function _GetpayerName: UnicodeString; function _GetpayerEmail: UnicodeString; function _GetpayerPhone: UnicodeString; function _Getonpayerdetailchange: TEventHandler; procedure _Setonpayerdetailchange(const aValue: TEventHandler); Public function toJSON: IJSObject; overload; function complete(aResult: TPaymentComplete): IJSPromise; overload; // Promise function complete: IJSPromise; overload; // Promise function retry(const aErrorFields: IJSPaymentValidationErrors): IJSPromise; overload; // Promise function retry: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentResponse; property requestId: UnicodeString read _GetrequestId; property methodName: UnicodeString read _GetmethodName; property details: IJSObject read _Getdetails; property shippingAddress: IJSPaymentAddress read _GetshippingAddress; property shippingOption: UnicodeString read _GetshippingOption; property payerName: UnicodeString read _GetpayerName; property payerEmail: UnicodeString read _GetpayerEmail; property payerPhone: UnicodeString read _GetpayerPhone; property onpayerdetailchange: TEventHandler read _Getonpayerdetailchange write _Setonpayerdetailchange; end; { -------------------------------------------------------------------- TJSPerformance --------------------------------------------------------------------} // Union of DOMString, PerformanceMeasureOptions TPerformance_measure_startOrMeasureOptions_Type = Variant; IJSPerformance = interface(IJSEventTarget) ['{CE425498-38FE-3AF6-9913-854656AD6BCA}'] function _GettimeOrigin: TDOMHighResTimeStamp; function _Gettiming: IJSPerformanceTiming; function _Getnavigation: IJSPerformanceNavigation; function _Getonresourcetimingbufferfull: TEventHandler; function _GetmozMemory: IJSObject; function _GeteventCounts: IJSEventCounts; procedure _Setonresourcetimingbufferfull(const aValue: TEventHandler); function now: TDOMHighResTimeStamp; function toJSON: IJSObject; function getEntries: TPerformanceEntryListDynArray; function getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; function getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; function getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; procedure clearResourceTimings; procedure setResourceTimingBufferSize(aMaxSize: Cardinal); function mark(const aMarkName: UnicodeString; const aMarkOptions: IJSPerformanceMarkOptions): IJSPerformanceMark; function mark(const aMarkName: UnicodeString): IJSPerformanceMark; procedure clearMarks(const aMarkName: UnicodeString); procedure clearMarks; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString; const aEndMark: UnicodeString): IJSPerformanceMeasure; function measure(const aMeasureName: UnicodeString): IJSPerformanceMeasure; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions; const aEndMark: UnicodeString): IJSPerformanceMeasure; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions): IJSPerformanceMeasure; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString): IJSPerformanceMeasure; procedure clearMeasures(const aMeasureName: UnicodeString); procedure clearMeasures; property timeOrigin: TDOMHighResTimeStamp read _GettimeOrigin; property timing: IJSPerformanceTiming read _Gettiming; property navigation: IJSPerformanceNavigation read _Getnavigation; property onresourcetimingbufferfull: TEventHandler read _Getonresourcetimingbufferfull write _Setonresourcetimingbufferfull; property mozMemory: IJSObject read _GetmozMemory; property eventCounts: IJSEventCounts read _GeteventCounts; end; TJSPerformance = class(TJSEventTarget,IJSPerformance) Private Protected function _GettimeOrigin: TDOMHighResTimeStamp; function _Gettiming: IJSPerformanceTiming; function _Getnavigation: IJSPerformanceNavigation; function _Getonresourcetimingbufferfull: TEventHandler; function _GetmozMemory: IJSObject; function _GeteventCounts: IJSEventCounts; procedure _Setonresourcetimingbufferfull(const aValue: TEventHandler); Public function now: TDOMHighResTimeStamp; overload; function toJSON: IJSObject; overload; function getEntries: TPerformanceEntryListDynArray; overload; function getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; overload; function getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; overload; function getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; overload; procedure clearResourceTimings; overload; procedure setResourceTimingBufferSize(aMaxSize: Cardinal); overload; function mark(const aMarkName: UnicodeString; const aMarkOptions: IJSPerformanceMarkOptions): IJSPerformanceMark; overload; function mark(const aMarkName: UnicodeString): IJSPerformanceMark; overload; procedure clearMarks(const aMarkName: UnicodeString); overload; procedure clearMarks; overload; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString; const aEndMark: UnicodeString): IJSPerformanceMeasure; overload; function measure(const aMeasureName: UnicodeString): IJSPerformanceMeasure; overload; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions; const aEndMark: UnicodeString): IJSPerformanceMeasure; overload; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions): IJSPerformanceMeasure; overload; function measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString): IJSPerformanceMeasure; overload; procedure clearMeasures(const aMeasureName: UnicodeString); overload; procedure clearMeasures; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformance; property timeOrigin: TDOMHighResTimeStamp read _GettimeOrigin; property timing: IJSPerformanceTiming read _Gettiming; property navigation: IJSPerformanceNavigation read _Getnavigation; property onresourcetimingbufferfull: TEventHandler read _Getonresourcetimingbufferfull write _Setonresourcetimingbufferfull; property mozMemory: IJSObject read _GetmozMemory; property eventCounts: IJSEventCounts read _GeteventCounts; end; { -------------------------------------------------------------------- TJSPerformanceEventTiming --------------------------------------------------------------------} IJSPerformanceEventTiming = interface(IJSPerformanceEntry) ['{4761E198-54D9-39CC-8DFC-100CA3DC1CB4}'] function _GetprocessingStart: TDOMHighResTimeStamp; function _GetprocessingEnd: TDOMHighResTimeStamp; function _Getcancelable: Boolean; function _Gettarget: IJSNode; function toJSON: IJSObject; property processingStart: TDOMHighResTimeStamp read _GetprocessingStart; property processingEnd: TDOMHighResTimeStamp read _GetprocessingEnd; property cancelable: Boolean read _Getcancelable; property target: IJSNode read _Gettarget; end; TJSPerformanceEventTiming = class(TJSPerformanceEntry,IJSPerformanceEventTiming) Private Protected function _GetprocessingStart: TDOMHighResTimeStamp; function _GetprocessingEnd: TDOMHighResTimeStamp; function _Getcancelable: Boolean; function _Gettarget: IJSNode; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceEventTiming; property processingStart: TDOMHighResTimeStamp read _GetprocessingStart; property processingEnd: TDOMHighResTimeStamp read _GetprocessingEnd; property cancelable: Boolean read _Getcancelable; property target: IJSNode read _Gettarget; end; { -------------------------------------------------------------------- TJSLargestContentfulPaint --------------------------------------------------------------------} IJSLargestContentfulPaint = interface(IJSPerformanceEntry) ['{9FF8FDFC-6105-385A-82D4-608F9BA82B4A}'] function _GetrenderTime: TDOMHighResTimeStamp; function _GetloadTime: TDOMHighResTimeStamp; function _Getsize: Cardinal; function _Getid: UnicodeString; function _Geturl: UnicodeString; function _Getelement: IJSElement; function toJSON: IJSObject; property renderTime: TDOMHighResTimeStamp read _GetrenderTime; property loadTime: TDOMHighResTimeStamp read _GetloadTime; property size: Cardinal read _Getsize; property id: UnicodeString read _Getid; property url: UnicodeString read _Geturl; property element: IJSElement read _Getelement; end; TJSLargestContentfulPaint = class(TJSPerformanceEntry,IJSLargestContentfulPaint) Private Protected function _GetrenderTime: TDOMHighResTimeStamp; function _GetloadTime: TDOMHighResTimeStamp; function _Getsize: Cardinal; function _Getid: UnicodeString; function _Geturl: UnicodeString; function _Getelement: IJSElement; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSLargestContentfulPaint; property renderTime: TDOMHighResTimeStamp read _GetrenderTime; property loadTime: TDOMHighResTimeStamp read _GetloadTime; property size: Cardinal read _Getsize; property id: UnicodeString read _Getid; property url: UnicodeString read _Geturl; property element: IJSElement read _Getelement; end; { -------------------------------------------------------------------- TJSPerformanceMark --------------------------------------------------------------------} IJSPerformanceMark = interface(IJSPerformanceEntry) ['{82085FBF-AFE2-3802-B8AF-CC6682E5E2D9}'] function _Getdetail: Variant; property detail: Variant read _Getdetail; end; TJSPerformanceMark = class(TJSPerformanceEntry,IJSPerformanceMark) Private Protected function _Getdetail: Variant; Public constructor Create(const aMarkName: UnicodeString; const aMarkOptions: IJSPerformanceMarkOptions); overload; constructor Create(const aMarkName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceMark; property detail: Variant read _Getdetail; end; { -------------------------------------------------------------------- TJSPerformanceMeasure --------------------------------------------------------------------} IJSPerformanceMeasure = interface(IJSPerformanceEntry) ['{25DE8210-8F86-397E-BD90-CFB196CC03D2}'] function _Getdetail: Variant; property detail: Variant read _Getdetail; end; TJSPerformanceMeasure = class(TJSPerformanceEntry,IJSPerformanceMeasure) Private Protected function _Getdetail: Variant; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceMeasure; property detail: Variant read _Getdetail; end; { -------------------------------------------------------------------- TJSPerformancePaintTiming --------------------------------------------------------------------} IJSPerformancePaintTiming = interface(IJSPerformanceEntry) ['{48A56A0C-71F3-3A3A-880D-34C03EEEB18D}'] end; TJSPerformancePaintTiming = class(TJSPerformanceEntry,IJSPerformancePaintTiming) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformancePaintTiming; end; { -------------------------------------------------------------------- TJSPerformanceResourceTiming --------------------------------------------------------------------} TJSPerformanceServerTimingDynArray = IJSArray; // array of PerformanceServerTiming IJSPerformanceResourceTiming = interface(IJSPerformanceEntry) ['{88121EFD-31BF-37C2-81AC-4361840D5E98}'] function _GetinitiatorType: UnicodeString; function _GetnextHopProtocol: UnicodeString; function _GetworkerStart: TDOMHighResTimeStamp; function _GetredirectStart: TDOMHighResTimeStamp; function _GetredirectEnd: TDOMHighResTimeStamp; function _GetfetchStart: TDOMHighResTimeStamp; function _GetdomainLookupStart: TDOMHighResTimeStamp; function _GetdomainLookupEnd: TDOMHighResTimeStamp; function _GetconnectStart: TDOMHighResTimeStamp; function _GetconnectEnd: TDOMHighResTimeStamp; function _GetsecureConnectionStart: TDOMHighResTimeStamp; function _GetrequestStart: TDOMHighResTimeStamp; function _GetresponseStart: TDOMHighResTimeStamp; function _GetresponseEnd: TDOMHighResTimeStamp; function _GettransferSize: QWord; function _GetencodedBodySize: QWord; function _GetdecodedBodySize: QWord; function _GetserverTiming: TJSPerformanceServerTimingDynArray; function toJSON: IJSObject; property initiatorType: UnicodeString read _GetinitiatorType; property nextHopProtocol: UnicodeString read _GetnextHopProtocol; property workerStart: TDOMHighResTimeStamp read _GetworkerStart; property redirectStart: TDOMHighResTimeStamp read _GetredirectStart; property redirectEnd: TDOMHighResTimeStamp read _GetredirectEnd; property fetchStart: TDOMHighResTimeStamp read _GetfetchStart; property domainLookupStart: TDOMHighResTimeStamp read _GetdomainLookupStart; property domainLookupEnd: TDOMHighResTimeStamp read _GetdomainLookupEnd; property connectStart: TDOMHighResTimeStamp read _GetconnectStart; property connectEnd: TDOMHighResTimeStamp read _GetconnectEnd; property secureConnectionStart: TDOMHighResTimeStamp read _GetsecureConnectionStart; property requestStart: TDOMHighResTimeStamp read _GetrequestStart; property responseStart: TDOMHighResTimeStamp read _GetresponseStart; property responseEnd: TDOMHighResTimeStamp read _GetresponseEnd; property transferSize: QWord read _GettransferSize; property encodedBodySize: QWord read _GetencodedBodySize; property decodedBodySize: QWord read _GetdecodedBodySize; property serverTiming: TJSPerformanceServerTimingDynArray read _GetserverTiming; end; TJSPerformanceResourceTiming = class(TJSPerformanceEntry,IJSPerformanceResourceTiming) Private Protected function _GetinitiatorType: UnicodeString; function _GetnextHopProtocol: UnicodeString; function _GetworkerStart: TDOMHighResTimeStamp; function _GetredirectStart: TDOMHighResTimeStamp; function _GetredirectEnd: TDOMHighResTimeStamp; function _GetfetchStart: TDOMHighResTimeStamp; function _GetdomainLookupStart: TDOMHighResTimeStamp; function _GetdomainLookupEnd: TDOMHighResTimeStamp; function _GetconnectStart: TDOMHighResTimeStamp; function _GetconnectEnd: TDOMHighResTimeStamp; function _GetsecureConnectionStart: TDOMHighResTimeStamp; function _GetrequestStart: TDOMHighResTimeStamp; function _GetresponseStart: TDOMHighResTimeStamp; function _GetresponseEnd: TDOMHighResTimeStamp; function _GettransferSize: QWord; function _GetencodedBodySize: QWord; function _GetdecodedBodySize: QWord; function _GetserverTiming: TJSPerformanceServerTimingDynArray; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceResourceTiming; property initiatorType: UnicodeString read _GetinitiatorType; property nextHopProtocol: UnicodeString read _GetnextHopProtocol; property workerStart: TDOMHighResTimeStamp read _GetworkerStart; property redirectStart: TDOMHighResTimeStamp read _GetredirectStart; property redirectEnd: TDOMHighResTimeStamp read _GetredirectEnd; property fetchStart: TDOMHighResTimeStamp read _GetfetchStart; property domainLookupStart: TDOMHighResTimeStamp read _GetdomainLookupStart; property domainLookupEnd: TDOMHighResTimeStamp read _GetdomainLookupEnd; property connectStart: TDOMHighResTimeStamp read _GetconnectStart; property connectEnd: TDOMHighResTimeStamp read _GetconnectEnd; property secureConnectionStart: TDOMHighResTimeStamp read _GetsecureConnectionStart; property requestStart: TDOMHighResTimeStamp read _GetrequestStart; property responseStart: TDOMHighResTimeStamp read _GetresponseStart; property responseEnd: TDOMHighResTimeStamp read _GetresponseEnd; property transferSize: QWord read _GettransferSize; property encodedBodySize: QWord read _GetencodedBodySize; property decodedBodySize: QWord read _GetdecodedBodySize; property serverTiming: TJSPerformanceServerTimingDynArray read _GetserverTiming; end; { -------------------------------------------------------------------- TJSPermissionStatus --------------------------------------------------------------------} IJSPermissionStatus = interface(IJSEventTarget) ['{CAA7949E-C170-3E54-A797-D4B727FB35FF}'] function _Getname: TPermissionName; function _Getstate: TPermissionState; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); property name: TPermissionName read _Getname; property state: TPermissionState read _Getstate; property onchange: TEventHandler read _Getonchange write _Setonchange; end; TJSPermissionStatus = class(TJSEventTarget,IJSPermissionStatus) Private Protected function _Getname: TPermissionName; function _Getstate: TPermissionState; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPermissionStatus; property name: TPermissionName read _Getname; property state: TPermissionState read _Getstate; property onchange: TEventHandler read _Getonchange write _Setonchange; end; { -------------------------------------------------------------------- TJSPopStateEvent --------------------------------------------------------------------} IJSPopStateEvent = interface(IJSEvent) ['{830F64DD-1976-3835-8DBD-408023704891}'] function _Getstate: Variant; property state: Variant read _Getstate; end; TJSPopStateEvent = class(TJSEvent,IJSPopStateEvent) Private Protected function _Getstate: Variant; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPopStateEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPopStateEvent; property state: Variant read _Getstate; end; { -------------------------------------------------------------------- TJSPopupBlockedEvent --------------------------------------------------------------------} IJSPopupBlockedEvent = interface(IJSEvent) ['{B2CBADE5-B0A5-3509-8BEB-C08102C20592}'] function _GetrequestingWindow: IJSWindow; function _GetpopupWindowURI: IJSURI; function _GetpopupWindowName: UnicodeString; function _GetpopupWindowFeatures: UnicodeString; property requestingWindow: IJSWindow read _GetrequestingWindow; property popupWindowURI: IJSURI read _GetpopupWindowURI; property popupWindowName: UnicodeString read _GetpopupWindowName; property popupWindowFeatures: UnicodeString read _GetpopupWindowFeatures; end; TJSPopupBlockedEvent = class(TJSEvent,IJSPopupBlockedEvent) Private Protected function _GetrequestingWindow: IJSWindow; function _GetpopupWindowURI: IJSURI; function _GetpopupWindowName: UnicodeString; function _GetpopupWindowFeatures: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPopupBlockedEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPopupBlockedEvent; property requestingWindow: IJSWindow read _GetrequestingWindow; property popupWindowURI: IJSURI read _GetpopupWindowURI; property popupWindowName: UnicodeString read _GetpopupWindowName; property popupWindowFeatures: UnicodeString read _GetpopupWindowFeatures; end; { -------------------------------------------------------------------- TJSProgressEvent --------------------------------------------------------------------} IJSProgressEvent = interface(IJSEvent) ['{4F0A09AB-9EB7-3D54-9DE8-B5C4BF37DFDE}'] function _GetlengthComputable: Boolean; function _Getloaded: QWord; function _Gettotal: QWord; property lengthComputable: Boolean read _GetlengthComputable; property loaded: QWord read _Getloaded; property total: QWord read _Gettotal; end; TJSProgressEvent = class(TJSEvent,IJSProgressEvent) Private Protected function _GetlengthComputable: Boolean; function _Getloaded: QWord; function _Gettotal: QWord; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSProgressEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSProgressEvent; property lengthComputable: Boolean read _GetlengthComputable; property loaded: QWord read _Getloaded; property total: QWord read _Gettotal; end; { -------------------------------------------------------------------- TJSPromiseRejectionEvent --------------------------------------------------------------------} IJSPromiseRejectionEvent = interface(IJSEvent) ['{BCC76340-DF86-34FF-97A6-AD5AC8E1B787}'] function _Getpromise: IJSPromise; function _Getreason: Variant; property promise: IJSPromise read _Getpromise; property reason: Variant read _Getreason; end; TJSPromiseRejectionEvent = class(TJSEvent,IJSPromiseRejectionEvent) Private Protected function _Getpromise: IJSPromise; function _Getreason: Variant; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPromiseRejectionEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPromiseRejectionEvent; property promise: IJSPromise read _Getpromise; property reason: Variant read _Getreason; end; { -------------------------------------------------------------------- TJSRadioNodeList --------------------------------------------------------------------} IJSRadioNodeList = interface(IJSNodeList) ['{60ED2639-DB19-3429-8627-6E1706E1F3EB}'] function _Getvalue: UnicodeString; procedure _Setvalue(const aValue: UnicodeString); property value: UnicodeString read _Getvalue write _Setvalue; end; TJSRadioNodeList = class(TJSNodeList,IJSRadioNodeList) Private Protected function _Getvalue: UnicodeString; procedure _Setvalue(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRadioNodeList; property value: UnicodeString read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSRange --------------------------------------------------------------------} IJSRange = interface(IJSAbstractRange) ['{FF03C715-0BC1-36DE-A480-A5366C7650C4}'] function _GetcommonAncestorContainer: IJSNode; procedure setStart(aRefNode: IJSNode; aOffset: Cardinal); procedure setEnd(aRefNode: IJSNode; aOffset: Cardinal); procedure setStartBefore(aRefNode: IJSNode); procedure setStartAfter(aRefNode: IJSNode); procedure setEndBefore(aRefNode: IJSNode); procedure setEndAfter(aRefNode: IJSNode); procedure collapse(aToStart: Boolean); procedure collapse; procedure selectNode(aRefNode: IJSNode); procedure selectNodeContents(aRefNode: IJSNode); function compareBoundaryPoints(aHow: Word; aSourceRange: IJSRange): SmallInt; procedure deleteContents; function extractContents: IJSDocumentFragment; function cloneContents: IJSDocumentFragment; procedure insertNode(aNode: IJSNode); procedure surroundContents(aNewParent: IJSNode); function cloneRange: IJSRange; procedure detach; function isPointInRange(aNode: IJSNode; aOffset: Cardinal): Boolean; function comparePoint(aNode: IJSNode; aOffset: Cardinal): SmallInt; function intersectsNode(aNode: IJSNode): Boolean; function createContextualFragment(const aFragment: UnicodeString): IJSDocumentFragment; function getClientRects: IJSDOMRectList; function getBoundingClientRect: IJSDOMRect; property commonAncestorContainer: IJSNode read _GetcommonAncestorContainer; end; TJSRange = class(TJSAbstractRange,IJSRange) Private Protected function _GetcommonAncestorContainer: IJSNode; Public Const START_TO_START = 0; START_TO_END = 1; END_TO_END = 2; END_TO_START = 3; Public constructor Create; overload; procedure setStart(aRefNode: IJSNode; aOffset: Cardinal); overload; procedure setEnd(aRefNode: IJSNode; aOffset: Cardinal); overload; procedure setStartBefore(aRefNode: IJSNode); overload; procedure setStartAfter(aRefNode: IJSNode); overload; procedure setEndBefore(aRefNode: IJSNode); overload; procedure setEndAfter(aRefNode: IJSNode); overload; procedure collapse(aToStart: Boolean); overload; procedure collapse; overload; procedure selectNode(aRefNode: IJSNode); overload; procedure selectNodeContents(aRefNode: IJSNode); overload; function compareBoundaryPoints(aHow: Word; aSourceRange: IJSRange): SmallInt; overload; procedure deleteContents; overload; function extractContents: IJSDocumentFragment; overload; function cloneContents: IJSDocumentFragment; overload; procedure insertNode(aNode: IJSNode); overload; procedure surroundContents(aNewParent: IJSNode); overload; function cloneRange: IJSRange; overload; procedure detach; overload; function isPointInRange(aNode: IJSNode; aOffset: Cardinal): Boolean; overload; function comparePoint(aNode: IJSNode; aOffset: Cardinal): SmallInt; overload; function intersectsNode(aNode: IJSNode): Boolean; overload; function createContextualFragment(const aFragment: UnicodeString): IJSDocumentFragment; overload; function getClientRects: IJSDOMRectList; overload; function getBoundingClientRect: IJSDOMRect; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRange; property commonAncestorContainer: IJSNode read _GetcommonAncestorContainer; end; { -------------------------------------------------------------------- TJSReadableStreamBYOBReader --------------------------------------------------------------------} IJSReadableStreamBYOBReader = interface(IJSReadableStreamGenericReader) ['{BE1E8B02-B108-3741-A9C8-96D56DA87D8E}'] function read(aView: IJSArrayBufferView): IJSPromise; // Promise procedure releaseLock; end; TJSReadableStreamBYOBReader = class(TJSReadableStreamGenericReader,IJSReadableStreamBYOBReader) Private Protected Public constructor Create(aStream: IJSReadableStream); overload; function read(aView: IJSArrayBufferView): IJSPromise; overload; // Promise procedure releaseLock; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamBYOBReader; end; { -------------------------------------------------------------------- TJSReadableStreamDefaultReader --------------------------------------------------------------------} IJSReadableStreamDefaultReader = interface(IJSReadableStreamGenericReader) ['{5B471CFF-5A17-3F24-8BB3-2961CBA0B058}'] function read: IJSPromise; // Promise procedure releaseLock; end; TJSReadableStreamDefaultReader = class(TJSReadableStreamGenericReader,IJSReadableStreamDefaultReader) Private Protected Public constructor Create(aStream: IJSReadableStream); overload; function read: IJSPromise; overload; // Promise procedure releaseLock; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSReadableStreamDefaultReader; end; { -------------------------------------------------------------------- TJSDeprecationReportBody --------------------------------------------------------------------} IJSDeprecationReportBody = interface(IJSReportBody) ['{718AC7F7-F9F6-3D3B-97FF-CDEBE608EA45}'] function _Getid: UnicodeString; function _GetanticipatedRemoval: TDOMTimeStamp; function _Getmessage: UnicodeString; function _GetsourceFile: UnicodeString; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; property id: UnicodeString read _Getid; property anticipatedRemoval: TDOMTimeStamp read _GetanticipatedRemoval; property message: UnicodeString read _Getmessage; property sourceFile: UnicodeString read _GetsourceFile; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; end; TJSDeprecationReportBody = class(TJSReportBody,IJSDeprecationReportBody) Private Protected function _Getid: UnicodeString; function _GetanticipatedRemoval: TDOMTimeStamp; function _Getmessage: UnicodeString; function _GetsourceFile: UnicodeString; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDeprecationReportBody; property id: UnicodeString read _Getid; property anticipatedRemoval: TDOMTimeStamp read _GetanticipatedRemoval; property message: UnicodeString read _Getmessage; property sourceFile: UnicodeString read _GetsourceFile; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; end; { -------------------------------------------------------------------- TJSRequest --------------------------------------------------------------------} IJSRequest = interface(IJSBody) ['{3EE4C181-B65F-3FCA-9A66-A476C02339EE}'] function _Getmethod: UnicodeString; function _Geturl: UTF8String; function _Getheaders: IJSHeaders; function _Getdestination: TRequestDestination; function _Getreferrer: UTF8String; function _GetreferrerPolicy: TReferrerPolicy; function _Getmode: TRequestMode; function _Getcredentials: TRequestCredentials; function _Getcache: TRequestCache; function _Getredirect: TRequestRedirect; function _Getintegrity: UnicodeString; function _Getkeepalive: Boolean; function _Getsignal: IJSAbortSignal; function clone: IJSRequest; property method: UnicodeString read _Getmethod; property url: UTF8String read _Geturl; property headers: IJSHeaders read _Getheaders; property destination: TRequestDestination read _Getdestination; property referrer: UTF8String read _Getreferrer; property referrerPolicy: TReferrerPolicy read _GetreferrerPolicy; property mode: TRequestMode read _Getmode; property credentials: TRequestCredentials read _Getcredentials; property cache: TRequestCache read _Getcache; property redirect: TRequestRedirect read _Getredirect; property integrity: UnicodeString read _Getintegrity; property keepalive: Boolean read _Getkeepalive; property signal: IJSAbortSignal read _Getsignal; end; TJSRequest = class(TJSBody,IJSRequest) Private Protected function _Getmethod: UnicodeString; function _Geturl: UTF8String; function _Getheaders: IJSHeaders; function _Getdestination: TRequestDestination; function _Getreferrer: UTF8String; function _GetreferrerPolicy: TReferrerPolicy; function _Getmode: TRequestMode; function _Getcredentials: TRequestCredentials; function _Getcache: TRequestCache; function _Getredirect: TRequestRedirect; function _Getintegrity: UnicodeString; function _Getkeepalive: Boolean; function _Getsignal: IJSAbortSignal; Public constructor Create(aInput: IJSRequest; const aInit: IJSRequestInit); overload; constructor Create(const aInput: UTF8String; const aInit: IJSRequestInit); overload; constructor Create(const aInput: UTF8String); overload; constructor Create(aInput: IJSRequest); overload; function clone: IJSRequest; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRequest; property method: UnicodeString read _Getmethod; property url: UTF8String read _Geturl; property headers: IJSHeaders read _Getheaders; property destination: TRequestDestination read _Getdestination; property referrer: UTF8String read _Getreferrer; property referrerPolicy: TReferrerPolicy read _GetreferrerPolicy; property mode: TRequestMode read _Getmode; property credentials: TRequestCredentials read _Getcredentials; property cache: TRequestCache read _Getcache; property redirect: TRequestRedirect read _Getredirect; property integrity: UnicodeString read _Getintegrity; property keepalive: Boolean read _Getkeepalive; property signal: IJSAbortSignal read _Getsignal; end; { -------------------------------------------------------------------- TJSRTCDataChannel --------------------------------------------------------------------} IJSRTCDataChannel = interface(IJSEventTarget) ['{84384DB7-1896-3BAC-A48C-6AA8682005C5}'] function _Getlabel_: UnicodeString; function _Getnegotiated: Boolean; function _Getordered: Boolean; function _Getreliable: Boolean; function _GetmaxPacketLifeTime: Word; function _GetmaxRetransmits: Word; function _Getprotocol: UnicodeString; function _Getid: Word; function _GetreadyState: TRTCDataChannelState; function _GetbufferedAmount: Cardinal; function _GetbufferedAmountLowThreshold: Cardinal; function _Getonopen: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Getonmessage: TEventHandler; function _Getonbufferedamountlow: TEventHandler; function _GetbinaryType: TRTCDataChannelType; procedure _SetbufferedAmountLowThreshold(const aValue: Cardinal); procedure _Setonopen(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonbufferedamountlow(const aValue: TEventHandler); procedure _SetbinaryType(const aValue: TRTCDataChannelType); procedure close; procedure send(const aData: UnicodeString); procedure send(aData: IJSBlob); procedure send(aData: IJSArrayBuffer); procedure send(aData: IJSArrayBufferView); property label_: UnicodeString read _Getlabel_; property negotiated: Boolean read _Getnegotiated; property ordered: Boolean read _Getordered; property reliable: Boolean read _Getreliable; property maxPacketLifeTime: Word read _GetmaxPacketLifeTime; property maxRetransmits: Word read _GetmaxRetransmits; property protocol: UnicodeString read _Getprotocol; property id: Word read _Getid; property readyState: TRTCDataChannelState read _GetreadyState; property bufferedAmount: Cardinal read _GetbufferedAmount; property bufferedAmountLowThreshold: Cardinal read _GetbufferedAmountLowThreshold write _SetbufferedAmountLowThreshold; property onopen: TEventHandler read _Getonopen write _Setonopen; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onbufferedamountlow: TEventHandler read _Getonbufferedamountlow write _Setonbufferedamountlow; property binaryType: TRTCDataChannelType read _GetbinaryType write _SetbinaryType; end; TJSRTCDataChannel = class(TJSEventTarget,IJSRTCDataChannel) Private Protected function _Getlabel_: UnicodeString; function _Getnegotiated: Boolean; function _Getordered: Boolean; function _Getreliable: Boolean; function _GetmaxPacketLifeTime: Word; function _GetmaxRetransmits: Word; function _Getprotocol: UnicodeString; function _Getid: Word; function _GetreadyState: TRTCDataChannelState; function _GetbufferedAmount: Cardinal; function _GetbufferedAmountLowThreshold: Cardinal; function _Getonopen: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Getonmessage: TEventHandler; function _Getonbufferedamountlow: TEventHandler; function _GetbinaryType: TRTCDataChannelType; procedure _SetbufferedAmountLowThreshold(const aValue: Cardinal); procedure _Setonopen(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonbufferedamountlow(const aValue: TEventHandler); procedure _SetbinaryType(const aValue: TRTCDataChannelType); Public procedure close; overload; procedure send(const aData: UnicodeString); overload; procedure send(aData: IJSBlob); overload; procedure send(aData: IJSArrayBuffer); overload; procedure send(aData: IJSArrayBufferView); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDataChannel; property label_: UnicodeString read _Getlabel_; property negotiated: Boolean read _Getnegotiated; property ordered: Boolean read _Getordered; property reliable: Boolean read _Getreliable; property maxPacketLifeTime: Word read _GetmaxPacketLifeTime; property maxRetransmits: Word read _GetmaxRetransmits; property protocol: UnicodeString read _Getprotocol; property id: Word read _Getid; property readyState: TRTCDataChannelState read _GetreadyState; property bufferedAmount: Cardinal read _GetbufferedAmount; property bufferedAmountLowThreshold: Cardinal read _GetbufferedAmountLowThreshold write _SetbufferedAmountLowThreshold; property onopen: TEventHandler read _Getonopen write _Setonopen; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onbufferedamountlow: TEventHandler read _Getonbufferedamountlow write _Setonbufferedamountlow; property binaryType: TRTCDataChannelType read _GetbinaryType write _SetbinaryType; end; { -------------------------------------------------------------------- TJSRTCDataChannelEvent --------------------------------------------------------------------} IJSRTCDataChannelEvent = interface(IJSEvent) ['{038F325E-DBBE-3A65-A6B9-B11C5B9C607C}'] function _Getchannel: IJSRTCDataChannel; property channel: IJSRTCDataChannel read _Getchannel; end; TJSRTCDataChannelEvent = class(TJSEvent,IJSRTCDataChannelEvent) Private Protected function _Getchannel: IJSRTCDataChannel; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCDataChannelEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDataChannelEvent; property channel: IJSRTCDataChannel read _Getchannel; end; { -------------------------------------------------------------------- TJSRTCDtlsTransport --------------------------------------------------------------------} IJSRTCDtlsTransport = interface(IJSEventTarget) ['{8688A3A3-40AB-3E5F-A82E-8F12200E56AF}'] function _GeticeTransport: IJSRTCIceTransport; function _Getstate: TRTCDtlsTransportState; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); property iceTransport: IJSRTCIceTransport read _GeticeTransport; property state: TRTCDtlsTransportState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; TJSRTCDtlsTransport = class(TJSEventTarget,IJSRTCDtlsTransport) Private Protected function _GeticeTransport: IJSRTCIceTransport; function _Getstate: TRTCDtlsTransportState; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDtlsTransport; property iceTransport: IJSRTCIceTransport read _GeticeTransport; property state: TRTCDtlsTransportState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; { -------------------------------------------------------------------- TJSRTCDTMFSender --------------------------------------------------------------------} IJSRTCDTMFSender = interface(IJSEventTarget) ['{EDD5A101-3486-3DA8-980E-CD6C175D8368}'] function _Getontonechange: TEventHandler; function _GettoneBuffer: UnicodeString; procedure _Setontonechange(const aValue: TEventHandler); procedure insertDTMF(const aTones: UnicodeString; aDuration: Cardinal; aInterToneGap: Cardinal); procedure insertDTMF(const aTones: UnicodeString); procedure insertDTMF(const aTones: UnicodeString; aDuration: Cardinal); property ontonechange: TEventHandler read _Getontonechange write _Setontonechange; property toneBuffer: UnicodeString read _GettoneBuffer; end; TJSRTCDTMFSender = class(TJSEventTarget,IJSRTCDTMFSender) Private Protected function _Getontonechange: TEventHandler; function _GettoneBuffer: UnicodeString; procedure _Setontonechange(const aValue: TEventHandler); Public procedure insertDTMF(const aTones: UnicodeString; aDuration: Cardinal; aInterToneGap: Cardinal); overload; procedure insertDTMF(const aTones: UnicodeString); overload; procedure insertDTMF(const aTones: UnicodeString; aDuration: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDTMFSender; property ontonechange: TEventHandler read _Getontonechange write _Setontonechange; property toneBuffer: UnicodeString read _GettoneBuffer; end; { -------------------------------------------------------------------- TJSRTCDTMFToneChangeEvent --------------------------------------------------------------------} IJSRTCDTMFToneChangeEvent = interface(IJSEvent) ['{5C3DDE2F-8AD8-3A42-A9BF-55DB47B082FA}'] function _Gettone: UnicodeString; property tone: UnicodeString read _Gettone; end; TJSRTCDTMFToneChangeEvent = class(TJSEvent,IJSRTCDTMFToneChangeEvent) Private Protected function _Gettone: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCDTMFToneChangeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCDTMFToneChangeEvent; property tone: UnicodeString read _Gettone; end; { -------------------------------------------------------------------- TJSRTCIceTransport --------------------------------------------------------------------} IJSRTCIceTransport = interface(IJSEventTarget) ['{8EEF47F1-4C43-3B65-AD9D-C714622D8CFB}'] function _Getstate: TRTCIceTransportState; function _GetgatheringState: TRTCIceGathererState; function _Getonstatechange: TEventHandler; function _Getongatheringstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setongatheringstatechange(const aValue: TEventHandler); property state: TRTCIceTransportState read _Getstate; property gatheringState: TRTCIceGathererState read _GetgatheringState; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property ongatheringstatechange: TEventHandler read _Getongatheringstatechange write _Setongatheringstatechange; end; TJSRTCIceTransport = class(TJSEventTarget,IJSRTCIceTransport) Private Protected function _Getstate: TRTCIceTransportState; function _GetgatheringState: TRTCIceGathererState; function _Getonstatechange: TEventHandler; function _Getongatheringstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setongatheringstatechange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCIceTransport; property state: TRTCIceTransportState read _Getstate; property gatheringState: TRTCIceGathererState read _GetgatheringState; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property ongatheringstatechange: TEventHandler read _Getongatheringstatechange write _Setongatheringstatechange; end; { -------------------------------------------------------------------- TJSRTCPeerConnection --------------------------------------------------------------------} // Union of RTCIceCandidateInit, RTCIceCandidate TRTCPeerConnection_addIceCandidate_candidate_Type = Variant; // Union of MediaStreamTrack, DOMString TRTCPeerConnection_addTransceiver_trackOrKind_Type = Variant; TJSRTCRtpSenderDynArray = IJSArray; // array of RTCRtpSender TJSRTCRtpReceiverDynArray = IJSArray; // array of RTCRtpReceiver TJSRTCRtpTransceiverDynArray = IJSArray; // array of RTCRtpTransceiver IJSRTCPeerConnection = interface(IJSEventTarget) ['{B63F0174-D1B0-3634-AC7F-0A158A9577E1}'] function _GetlocalDescription: IJSRTCSessionDescription; function _GetcurrentLocalDescription: IJSRTCSessionDescription; function _GetpendingLocalDescription: IJSRTCSessionDescription; function _GetremoteDescription: IJSRTCSessionDescription; function _GetcurrentRemoteDescription: IJSRTCSessionDescription; function _GetpendingRemoteDescription: IJSRTCSessionDescription; function _GetsignalingState: TRTCSignalingState; function _GetcanTrickleIceCandidates: Boolean; function _GeticeGatheringState: TRTCIceGatheringState; function _GeticeConnectionState: TRTCIceConnectionState; function _GetconnectionState: TRTCPeerConnectionState; function _GetpeerIdentity: IJSPromise; function _GetidpLoginUrl: UnicodeString; function _Getonnegotiationneeded: TEventHandler; function _Getonicecandidate: TEventHandler; function _Getonsignalingstatechange: TEventHandler; function _Getonaddstream: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getontrack: TEventHandler; function _Getoniceconnectionstatechange: TEventHandler; function _Getonicegatheringstatechange: TEventHandler; function _Getonconnectionstatechange: TEventHandler; function _Getsctp: IJSRTCSctpTransport; function _Getondatachannel: TEventHandler; procedure _Setonnegotiationneeded(const aValue: TEventHandler); procedure _Setonicecandidate(const aValue: TEventHandler); procedure _Setonsignalingstatechange(const aValue: TEventHandler); procedure _Setonaddstream(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setontrack(const aValue: TEventHandler); procedure _Setoniceconnectionstatechange(const aValue: TEventHandler); procedure _Setonicegatheringstatechange(const aValue: TEventHandler); procedure _Setonconnectionstatechange(const aValue: TEventHandler); procedure _Setondatachannel(const aValue: TEventHandler); procedure setIdentityProvider(const aProvider: UnicodeString; const aOptions: IJSRTCIdentityProviderOptions); procedure setIdentityProvider(const aProvider: UnicodeString); function getIdentityAssertion: IJSPromise; // Promise function createOffer(const aOptions: IJSRTCOfferOptions): IJSPromise; // Promise function createOffer: IJSPromise; // Promise function createAnswer(const aOptions: IJSRTCAnswerOptions): IJSPromise; // Promise function createAnswer: IJSPromise; // Promise function setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit): IJSPromise; // Promise function setLocalDescription: IJSPromise; // Promise function setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit): IJSPromise; // Promise function addIceCandidate(aCandidate: IJSRTCIceCandidate): IJSPromise; // Promise function addIceCandidate: IJSPromise; // Promise function addIceCandidate(const aCandidate: IJSRTCIceCandidateInit): IJSPromise; // Promise procedure restartIce; function getConfiguration: IJSRTCConfiguration; procedure setConfiguration(const aConfiguration: IJSRTCConfiguration); procedure setConfiguration; function getLocalStreams: TJSMediaStreamDynArray; function getRemoteStreams: TJSMediaStreamDynArray; procedure addStream(aStream: IJSMediaStream); function addTrack(aTrack: IJSMediaStreamTrack; aStreams: IJSMediaStream): IJSRTCRtpSender{; ToDo:varargs}; procedure removeTrack(aSender: IJSRTCRtpSender); function addTransceiver(const aTrackOrKind: UnicodeString; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; function addTransceiver(aTrackOrKind: IJSMediaStreamTrack; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; function addTransceiver(aTrackOrKind: IJSMediaStreamTrack): IJSRTCRtpTransceiver; function addTransceiver(const aTrackOrKind: UnicodeString): IJSRTCRtpTransceiver; function getSenders: TJSRTCRtpSenderDynArray; function getReceivers: TJSRTCRtpReceiverDynArray; function getTransceivers: TJSRTCRtpTransceiverDynArray; procedure close; function getStats(aSelector: IJSMediaStreamTrack): IJSPromise; // Promise function getStats: IJSPromise; // Promise function createDataChannel(const aLabel_: UnicodeString; const aDataChannelDict: IJSRTCDataChannelInit): IJSRTCDataChannel; function createDataChannel(const aLabel_: UnicodeString): IJSRTCDataChannel; function createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback; const aOptions: IJSRTCOfferOptions): IJSPromise; // Promise function createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise function setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise function createAnswer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise function setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise function addIceCandidate(const aCandidate: IJSRTCIceCandidateInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise property localDescription: IJSRTCSessionDescription read _GetlocalDescription; property currentLocalDescription: IJSRTCSessionDescription read _GetcurrentLocalDescription; property pendingLocalDescription: IJSRTCSessionDescription read _GetpendingLocalDescription; property remoteDescription: IJSRTCSessionDescription read _GetremoteDescription; property currentRemoteDescription: IJSRTCSessionDescription read _GetcurrentRemoteDescription; property pendingRemoteDescription: IJSRTCSessionDescription read _GetpendingRemoteDescription; property signalingState: TRTCSignalingState read _GetsignalingState; property canTrickleIceCandidates: Boolean read _GetcanTrickleIceCandidates; property iceGatheringState: TRTCIceGatheringState read _GeticeGatheringState; property iceConnectionState: TRTCIceConnectionState read _GeticeConnectionState; property connectionState: TRTCPeerConnectionState read _GetconnectionState; property peerIdentity: IJSPromise read _GetpeerIdentity; property idpLoginUrl: UnicodeString read _GetidpLoginUrl; property onnegotiationneeded: TEventHandler read _Getonnegotiationneeded write _Setonnegotiationneeded; property onicecandidate: TEventHandler read _Getonicecandidate write _Setonicecandidate; property onsignalingstatechange: TEventHandler read _Getonsignalingstatechange write _Setonsignalingstatechange; property onaddstream: TEventHandler read _Getonaddstream write _Setonaddstream; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property ontrack: TEventHandler read _Getontrack write _Setontrack; property oniceconnectionstatechange: TEventHandler read _Getoniceconnectionstatechange write _Setoniceconnectionstatechange; property onicegatheringstatechange: TEventHandler read _Getonicegatheringstatechange write _Setonicegatheringstatechange; property onconnectionstatechange: TEventHandler read _Getonconnectionstatechange write _Setonconnectionstatechange; property sctp: IJSRTCSctpTransport read _Getsctp; property ondatachannel: TEventHandler read _Getondatachannel write _Setondatachannel; end; TJSRTCPeerConnection = class(TJSEventTarget,IJSRTCPeerConnection) Private Protected function _GetlocalDescription: IJSRTCSessionDescription; function _GetcurrentLocalDescription: IJSRTCSessionDescription; function _GetpendingLocalDescription: IJSRTCSessionDescription; function _GetremoteDescription: IJSRTCSessionDescription; function _GetcurrentRemoteDescription: IJSRTCSessionDescription; function _GetpendingRemoteDescription: IJSRTCSessionDescription; function _GetsignalingState: TRTCSignalingState; function _GetcanTrickleIceCandidates: Boolean; function _GeticeGatheringState: TRTCIceGatheringState; function _GeticeConnectionState: TRTCIceConnectionState; function _GetconnectionState: TRTCPeerConnectionState; function _GetpeerIdentity: IJSPromise; function _GetidpLoginUrl: UnicodeString; function _Getonnegotiationneeded: TEventHandler; function _Getonicecandidate: TEventHandler; function _Getonsignalingstatechange: TEventHandler; function _Getonaddstream: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getontrack: TEventHandler; function _Getoniceconnectionstatechange: TEventHandler; function _Getonicegatheringstatechange: TEventHandler; function _Getonconnectionstatechange: TEventHandler; function _Getsctp: IJSRTCSctpTransport; function _Getondatachannel: TEventHandler; procedure _Setonnegotiationneeded(const aValue: TEventHandler); procedure _Setonicecandidate(const aValue: TEventHandler); procedure _Setonsignalingstatechange(const aValue: TEventHandler); procedure _Setonaddstream(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setontrack(const aValue: TEventHandler); procedure _Setoniceconnectionstatechange(const aValue: TEventHandler); procedure _Setonicegatheringstatechange(const aValue: TEventHandler); procedure _Setonconnectionstatechange(const aValue: TEventHandler); procedure _Setondatachannel(const aValue: TEventHandler); Public constructor Create(const aConfiguration: IJSRTCConfiguration); overload; constructor Create; overload; function generateCertificate(const aKeygenAlgorithm: UnicodeString): IJSPromise; overload; // Promise function generateCertificate(aKeygenAlgorithm: IJSObject): IJSPromise; overload; // Promise procedure setIdentityProvider(const aProvider: UnicodeString; const aOptions: IJSRTCIdentityProviderOptions); overload; procedure setIdentityProvider(const aProvider: UnicodeString); overload; function getIdentityAssertion: IJSPromise; overload; // Promise function createOffer(const aOptions: IJSRTCOfferOptions): IJSPromise; overload; // Promise function createOffer: IJSPromise; overload; // Promise function createAnswer(const aOptions: IJSRTCAnswerOptions): IJSPromise; overload; // Promise function createAnswer: IJSPromise; overload; // Promise function setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit): IJSPromise; overload; // Promise function setLocalDescription: IJSPromise; overload; // Promise function setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit): IJSPromise; overload; // Promise function addIceCandidate(aCandidate: IJSRTCIceCandidate): IJSPromise; overload; // Promise function addIceCandidate: IJSPromise; overload; // Promise function addIceCandidate(const aCandidate: IJSRTCIceCandidateInit): IJSPromise; overload; // Promise procedure restartIce; overload; function getConfiguration: IJSRTCConfiguration; overload; procedure setConfiguration(const aConfiguration: IJSRTCConfiguration); overload; procedure setConfiguration; overload; function getLocalStreams: TJSMediaStreamDynArray; overload; function getRemoteStreams: TJSMediaStreamDynArray; overload; procedure addStream(aStream: IJSMediaStream); overload; function addTrack(aTrack: IJSMediaStreamTrack; aStreams: IJSMediaStream): IJSRTCRtpSender{; ToDo:varargs}; overload; procedure removeTrack(aSender: IJSRTCRtpSender); overload; function addTransceiver(const aTrackOrKind: UnicodeString; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; overload; function addTransceiver(aTrackOrKind: IJSMediaStreamTrack; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; overload; function addTransceiver(aTrackOrKind: IJSMediaStreamTrack): IJSRTCRtpTransceiver; overload; function addTransceiver(const aTrackOrKind: UnicodeString): IJSRTCRtpTransceiver; overload; function getSenders: TJSRTCRtpSenderDynArray; overload; function getReceivers: TJSRTCRtpReceiverDynArray; overload; function getTransceivers: TJSRTCRtpTransceiverDynArray; overload; procedure close; overload; function getStats(aSelector: IJSMediaStreamTrack): IJSPromise; overload; // Promise function getStats: IJSPromise; overload; // Promise function createDataChannel(const aLabel_: UnicodeString; const aDataChannelDict: IJSRTCDataChannelInit): IJSRTCDataChannel; overload; function createDataChannel(const aLabel_: UnicodeString): IJSRTCDataChannel; overload; function createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback; const aOptions: IJSRTCOfferOptions): IJSPromise; overload; // Promise function createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; overload; // Promise function setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; overload; // Promise function createAnswer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; overload; // Promise function setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; overload; // Promise function addIceCandidate(const aCandidate: IJSRTCIceCandidateInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCPeerConnection; property localDescription: IJSRTCSessionDescription read _GetlocalDescription; property currentLocalDescription: IJSRTCSessionDescription read _GetcurrentLocalDescription; property pendingLocalDescription: IJSRTCSessionDescription read _GetpendingLocalDescription; property remoteDescription: IJSRTCSessionDescription read _GetremoteDescription; property currentRemoteDescription: IJSRTCSessionDescription read _GetcurrentRemoteDescription; property pendingRemoteDescription: IJSRTCSessionDescription read _GetpendingRemoteDescription; property signalingState: TRTCSignalingState read _GetsignalingState; property canTrickleIceCandidates: Boolean read _GetcanTrickleIceCandidates; property iceGatheringState: TRTCIceGatheringState read _GeticeGatheringState; property iceConnectionState: TRTCIceConnectionState read _GeticeConnectionState; property connectionState: TRTCPeerConnectionState read _GetconnectionState; property peerIdentity: IJSPromise read _GetpeerIdentity; property idpLoginUrl: UnicodeString read _GetidpLoginUrl; property onnegotiationneeded: TEventHandler read _Getonnegotiationneeded write _Setonnegotiationneeded; property onicecandidate: TEventHandler read _Getonicecandidate write _Setonicecandidate; property onsignalingstatechange: TEventHandler read _Getonsignalingstatechange write _Setonsignalingstatechange; property onaddstream: TEventHandler read _Getonaddstream write _Setonaddstream; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property ontrack: TEventHandler read _Getontrack write _Setontrack; property oniceconnectionstatechange: TEventHandler read _Getoniceconnectionstatechange write _Setoniceconnectionstatechange; property onicegatheringstatechange: TEventHandler read _Getonicegatheringstatechange write _Setonicegatheringstatechange; property onconnectionstatechange: TEventHandler read _Getonconnectionstatechange write _Setonconnectionstatechange; property sctp: IJSRTCSctpTransport read _Getsctp; property ondatachannel: TEventHandler read _Getondatachannel write _Setondatachannel; end; { -------------------------------------------------------------------- TJSRTCPeerConnectionIceEvent --------------------------------------------------------------------} IJSRTCPeerConnectionIceEvent = interface(IJSEvent) ['{A8B21EE0-BB87-314C-B361-04888C8759D6}'] function _Getcandidate: IJSRTCIceCandidate; property candidate: IJSRTCIceCandidate read _Getcandidate; end; TJSRTCPeerConnectionIceEvent = class(TJSEvent,IJSRTCPeerConnectionIceEvent) Private Protected function _Getcandidate: IJSRTCIceCandidate; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCPeerConnectionIceEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCPeerConnectionIceEvent; property candidate: IJSRTCIceCandidate read _Getcandidate; end; { -------------------------------------------------------------------- TJSRTCSctpTransport --------------------------------------------------------------------} IJSRTCSctpTransport = interface(IJSEventTarget) ['{032CAA62-D70C-3A20-AF50-EF9404CAFAB0}'] function _Gettransport: IJSRTCDtlsTransport; function _Getstate: TRTCSctpTransportState; function _GetmaxMessageSize: Double; function _GetmaxChannels: Word; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); property transport: IJSRTCDtlsTransport read _Gettransport; property state: TRTCSctpTransportState read _Getstate; property maxMessageSize: Double read _GetmaxMessageSize; property maxChannels: Word read _GetmaxChannels; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; TJSRTCSctpTransport = class(TJSEventTarget,IJSRTCSctpTransport) Private Protected function _Gettransport: IJSRTCDtlsTransport; function _Getstate: TRTCSctpTransportState; function _GetmaxMessageSize: Double; function _GetmaxChannels: Word; function _Getonstatechange: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCSctpTransport; property transport: IJSRTCDtlsTransport read _Gettransport; property state: TRTCSctpTransportState read _Getstate; property maxMessageSize: Double read _GetmaxMessageSize; property maxChannels: Word read _GetmaxChannels; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; end; { -------------------------------------------------------------------- TJSRTCTrackEvent --------------------------------------------------------------------} IJSRTCTrackEvent = interface(IJSEvent) ['{DC0379CF-7BC1-3E00-9A88-D0034D08ECA4}'] function _Getreceiver: IJSRTCRtpReceiver; function _Gettrack: IJSMediaStreamTrack; function _Getstreams: TJSMediaStreamDynArray; function _Gettransceiver: IJSRTCRtpTransceiver; property receiver: IJSRTCRtpReceiver read _Getreceiver; property track: IJSMediaStreamTrack read _Gettrack; property streams: TJSMediaStreamDynArray read _Getstreams; property transceiver: IJSRTCRtpTransceiver read _Gettransceiver; end; TJSRTCTrackEvent = class(TJSEvent,IJSRTCTrackEvent) Private Protected function _Getreceiver: IJSRTCRtpReceiver; function _Gettrack: IJSMediaStreamTrack; function _Getstreams: TJSMediaStreamDynArray; function _Gettransceiver: IJSRTCRtpTransceiver; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCTrackEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCTrackEvent; property receiver: IJSRTCRtpReceiver read _Getreceiver; property track: IJSMediaStreamTrack read _Gettrack; property streams: TJSMediaStreamDynArray read _Getstreams; property transceiver: IJSRTCRtpTransceiver read _Gettransceiver; end; { -------------------------------------------------------------------- TJSRTCTransformEvent --------------------------------------------------------------------} IJSRTCTransformEvent = interface(IJSEvent) ['{6AF6AD80-6CC5-38AD-9F3C-CCBC67C06FEF}'] function _Gettransformer: IJSRTCRtpScriptTransformer; property transformer: IJSRTCRtpScriptTransformer read _Gettransformer; end; TJSRTCTransformEvent = class(TJSEvent,IJSRTCTransformEvent) Private Protected function _Gettransformer: IJSRTCRtpScriptTransformer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCTransformEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSRTCTransformEvent; property transformer: IJSRTCRtpScriptTransformer read _Gettransformer; end; { -------------------------------------------------------------------- TJSScreen --------------------------------------------------------------------} IJSScreen = interface(IJSEventTarget) ['{50081500-62A8-3C0B-B01A-A5E254E77476}'] function _GetavailWidth: LongInt; function _GetavailHeight: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _GetcolorDepth: LongInt; function _GetpixelDepth: LongInt; function _Gettop: LongInt; function _Getleft: LongInt; function _GetavailTop: LongInt; function _GetavailLeft: LongInt; function _GetmozOrientation: UnicodeString; function _Getonmozorientationchange: TEventHandler; function _Getorientation: IJSScreenOrientation; function _GetcolorGamut: TScreenColorGamut; function _Getluminance: IJSScreenLuminance; function _Getonchange: TEventHandler; procedure _Setonmozorientationchange(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); function mozLockOrientation(const aOrientation: UnicodeString): Boolean; function mozLockOrientation(const aOrientation: TUnicodeStringDynArray): Boolean; procedure mozUnlockOrientation; property availWidth: LongInt read _GetavailWidth; property availHeight: LongInt read _GetavailHeight; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; property colorDepth: LongInt read _GetcolorDepth; property pixelDepth: LongInt read _GetpixelDepth; property top: LongInt read _Gettop; property left: LongInt read _Getleft; property availTop: LongInt read _GetavailTop; property availLeft: LongInt read _GetavailLeft; property mozOrientation: UnicodeString read _GetmozOrientation; property onmozorientationchange: TEventHandler read _Getonmozorientationchange write _Setonmozorientationchange; property orientation: IJSScreenOrientation read _Getorientation; property colorGamut: TScreenColorGamut read _GetcolorGamut; property luminance: IJSScreenLuminance read _Getluminance; property onchange: TEventHandler read _Getonchange write _Setonchange; end; TJSScreen = class(TJSEventTarget,IJSScreen) Private Protected function _GetavailWidth: LongInt; function _GetavailHeight: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _GetcolorDepth: LongInt; function _GetpixelDepth: LongInt; function _Gettop: LongInt; function _Getleft: LongInt; function _GetavailTop: LongInt; function _GetavailLeft: LongInt; function _GetmozOrientation: UnicodeString; function _Getonmozorientationchange: TEventHandler; function _Getorientation: IJSScreenOrientation; function _GetcolorGamut: TScreenColorGamut; function _Getluminance: IJSScreenLuminance; function _Getonchange: TEventHandler; procedure _Setonmozorientationchange(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); Public function mozLockOrientation(const aOrientation: UnicodeString): Boolean; overload; function mozLockOrientation(const aOrientation: TUnicodeStringDynArray): Boolean; overload; procedure mozUnlockOrientation; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScreen; property availWidth: LongInt read _GetavailWidth; property availHeight: LongInt read _GetavailHeight; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; property colorDepth: LongInt read _GetcolorDepth; property pixelDepth: LongInt read _GetpixelDepth; property top: LongInt read _Gettop; property left: LongInt read _Getleft; property availTop: LongInt read _GetavailTop; property availLeft: LongInt read _GetavailLeft; property mozOrientation: UnicodeString read _GetmozOrientation; property onmozorientationchange: TEventHandler read _Getonmozorientationchange write _Setonmozorientationchange; property orientation: IJSScreenOrientation read _Getorientation; property colorGamut: TScreenColorGamut read _GetcolorGamut; property luminance: IJSScreenLuminance read _Getluminance; property onchange: TEventHandler read _Getonchange write _Setonchange; end; { -------------------------------------------------------------------- TJSScreenOrientation --------------------------------------------------------------------} IJSScreenOrientation = interface(IJSEventTarget) ['{122E004B-C22C-3AE6-8F0D-3EBD7E86B5E8}'] function _Gettype_: TOrientationType; function _Getangle: Word; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); function lock(aOrientation: TOrientationLockType): IJSPromise; // Promise procedure unlock; property type_: TOrientationType read _Gettype_; property angle: Word read _Getangle; property onchange: TEventHandler read _Getonchange write _Setonchange; end; TJSScreenOrientation = class(TJSEventTarget,IJSScreenOrientation) Private Protected function _Gettype_: TOrientationType; function _Getangle: Word; function _Getonchange: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); Public function lock(aOrientation: TOrientationLockType): IJSPromise; overload; // Promise procedure unlock; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScreenOrientation; property type_: TOrientationType read _Gettype_; property angle: Word read _Getangle; property onchange: TEventHandler read _Getonchange write _Setonchange; end; { -------------------------------------------------------------------- TJSSecurityPolicyViolationEvent --------------------------------------------------------------------} IJSSecurityPolicyViolationEvent = interface(IJSEvent) ['{A24E839F-C6A7-37D4-8AC5-EAE10F9A666B}'] function _GetdocumentURI: UnicodeString; function _Getreferrer: UnicodeString; function _GetblockedURI: UnicodeString; function _GetviolatedDirective: UnicodeString; function _GeteffectiveDirective: UnicodeString; function _GetoriginalPolicy: UnicodeString; function _GetsourceFile: UnicodeString; function _Getsample: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _GetstatusCode: Word; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; property documentURI: UnicodeString read _GetdocumentURI; property referrer: UnicodeString read _Getreferrer; property blockedURI: UnicodeString read _GetblockedURI; property violatedDirective: UnicodeString read _GetviolatedDirective; property effectiveDirective: UnicodeString read _GeteffectiveDirective; property originalPolicy: UnicodeString read _GetoriginalPolicy; property sourceFile: UnicodeString read _GetsourceFile; property sample: UnicodeString read _Getsample; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition; property statusCode: Word read _GetstatusCode; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; end; TJSSecurityPolicyViolationEvent = class(TJSEvent,IJSSecurityPolicyViolationEvent) Private Protected function _GetdocumentURI: UnicodeString; function _Getreferrer: UnicodeString; function _GetblockedURI: UnicodeString; function _GetviolatedDirective: UnicodeString; function _GeteffectiveDirective: UnicodeString; function _GetoriginalPolicy: UnicodeString; function _GetsourceFile: UnicodeString; function _Getsample: UnicodeString; function _Getdisposition: TSecurityPolicyViolationEventDisposition; function _GetstatusCode: Word; function _GetlineNumber: Cardinal; function _GetcolumnNumber: Cardinal; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSecurityPolicyViolationEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSecurityPolicyViolationEvent; property documentURI: UnicodeString read _GetdocumentURI; property referrer: UnicodeString read _Getreferrer; property blockedURI: UnicodeString read _GetblockedURI; property violatedDirective: UnicodeString read _GetviolatedDirective; property effectiveDirective: UnicodeString read _GeteffectiveDirective; property originalPolicy: UnicodeString read _GetoriginalPolicy; property sourceFile: UnicodeString read _GetsourceFile; property sample: UnicodeString read _Getsample; property disposition: TSecurityPolicyViolationEventDisposition read _Getdisposition; property statusCode: Word read _GetstatusCode; property lineNumber: Cardinal read _GetlineNumber; property columnNumber: Cardinal read _GetcolumnNumber; end; { -------------------------------------------------------------------- TJSServiceWorker --------------------------------------------------------------------} IJSServiceWorker = interface(IJSEventTarget) ['{74F2313E-0293-36F2-ABE3-934BD707B50A}'] function _GetscriptURL: UnicodeString; function _Getstate: TServiceWorkerState; function _Getonstatechange: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); procedure postMessage(const aMessage: Variant); property scriptURL: UnicodeString read _GetscriptURL; property state: TServiceWorkerState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSServiceWorker = class(TJSEventTarget,IJSServiceWorker) Private Protected function _GetscriptURL: UnicodeString; function _Getstate: TServiceWorkerState; function _Getonstatechange: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonstatechange(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public procedure postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); overload; procedure postMessage(const aMessage: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSServiceWorker; property scriptURL: UnicodeString read _GetscriptURL; property state: TServiceWorkerState read _Getstate; property onstatechange: TEventHandler read _Getonstatechange write _Setonstatechange; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSServiceWorkerContainer --------------------------------------------------------------------} IJSServiceWorkerContainer = interface(IJSEventTarget) ['{B2561097-DB4F-3A03-9AEE-A533E6C58607}'] function _Getcontroller: IJSServiceWorker; function _Getready: IJSPromise; function _Getoncontrollerchange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setoncontrollerchange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); function register(const aScriptURL: UnicodeString; const aOptions: IJSRegistrationOptions): IJSPromise; // Promise function register(const aScriptURL: UnicodeString): IJSPromise; // Promise function getRegistration(const aDocumentURL: UnicodeString): IJSPromise; // Promise function getRegistration: IJSPromise; // Promise function getRegistrations: IJSPromise; // Promise procedure startMessages; function getScopeForUrl(const aUrl: UnicodeString): UnicodeString; property controller: IJSServiceWorker read _Getcontroller; property ready: IJSPromise read _Getready; property oncontrollerchange: TEventHandler read _Getoncontrollerchange write _Setoncontrollerchange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; TJSServiceWorkerContainer = class(TJSEventTarget,IJSServiceWorkerContainer) Private Protected function _Getcontroller: IJSServiceWorker; function _Getready: IJSPromise; function _Getoncontrollerchange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setoncontrollerchange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); Public function register(const aScriptURL: UnicodeString; const aOptions: IJSRegistrationOptions): IJSPromise; overload; // Promise function register(const aScriptURL: UnicodeString): IJSPromise; overload; // Promise function getRegistration(const aDocumentURL: UnicodeString): IJSPromise; overload; // Promise function getRegistration: IJSPromise; overload; // Promise function getRegistrations: IJSPromise; overload; // Promise procedure startMessages; overload; function getScopeForUrl(const aUrl: UnicodeString): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSServiceWorkerContainer; property controller: IJSServiceWorker read _Getcontroller; property ready: IJSPromise read _Getready; property oncontrollerchange: TEventHandler read _Getoncontrollerchange write _Setoncontrollerchange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; { -------------------------------------------------------------------- TJSServiceWorkerRegistration --------------------------------------------------------------------} IJSServiceWorkerRegistration = interface(IJSEventTarget) ['{0FC82B91-17C0-309F-BBAA-4803F30F66F0}'] function _Getinstalling: IJSServiceWorker; function _Getwaiting: IJSServiceWorker; function _Getactive: IJSServiceWorker; function _GetnavigationPreload: IJSNavigationPreloadManager; function _Getscope: UnicodeString; function _GetupdateViaCache: TServiceWorkerUpdateViaCache; function _Getonupdatefound: TEventHandler; function _GetpushManager: IJSPushManager; procedure _Setonupdatefound(const aValue: TEventHandler); function update: IJSPromise; // Promise function unregister: IJSPromise; // Promise function showNotification(const aTitle: UnicodeString; const aOptions: IJSNotificationOptions): IJSPromise; // Promise function showNotification(const aTitle: UnicodeString): IJSPromise; // Promise function getNotifications(const aFilter: IJSGetNotificationOptions): IJSPromise; // Promise function getNotifications: IJSPromise; // Promise property installing: IJSServiceWorker read _Getinstalling; property waiting: IJSServiceWorker read _Getwaiting; property active: IJSServiceWorker read _Getactive; property navigationPreload: IJSNavigationPreloadManager read _GetnavigationPreload; property scope: UnicodeString read _Getscope; property updateViaCache: TServiceWorkerUpdateViaCache read _GetupdateViaCache; property onupdatefound: TEventHandler read _Getonupdatefound write _Setonupdatefound; property pushManager: IJSPushManager read _GetpushManager; end; TJSServiceWorkerRegistration = class(TJSEventTarget,IJSServiceWorkerRegistration) Private Protected function _Getinstalling: IJSServiceWorker; function _Getwaiting: IJSServiceWorker; function _Getactive: IJSServiceWorker; function _GetnavigationPreload: IJSNavigationPreloadManager; function _Getscope: UnicodeString; function _GetupdateViaCache: TServiceWorkerUpdateViaCache; function _Getonupdatefound: TEventHandler; function _GetpushManager: IJSPushManager; procedure _Setonupdatefound(const aValue: TEventHandler); Public function update: IJSPromise; overload; // Promise function unregister: IJSPromise; overload; // Promise function showNotification(const aTitle: UnicodeString; const aOptions: IJSNotificationOptions): IJSPromise; overload; // Promise function showNotification(const aTitle: UnicodeString): IJSPromise; overload; // Promise function getNotifications(const aFilter: IJSGetNotificationOptions): IJSPromise; overload; // Promise function getNotifications: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSServiceWorkerRegistration; property installing: IJSServiceWorker read _Getinstalling; property waiting: IJSServiceWorker read _Getwaiting; property active: IJSServiceWorker read _Getactive; property navigationPreload: IJSNavigationPreloadManager read _GetnavigationPreload; property scope: UnicodeString read _Getscope; property updateViaCache: TServiceWorkerUpdateViaCache read _GetupdateViaCache; property onupdatefound: TEventHandler read _Getonupdatefound write _Setonupdatefound; property pushManager: IJSPushManager read _GetpushManager; end; { -------------------------------------------------------------------- TJSSharedWorker --------------------------------------------------------------------} // Union of DOMString, WorkerOptions TSharedWorker_New_options_Type = Variant; IJSSharedWorker = interface(IJSEventTarget) ['{CA65B9FF-C9AF-3848-9283-CE6CCE669AC6}'] function _Getport: IJSMessagePort; function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); property port: IJSMessagePort read _Getport; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSSharedWorker = class(TJSEventTarget,IJSSharedWorker) Private Protected function _Getport: IJSMessagePort; function _Getonerror: TEventHandler; procedure _Setonerror(const aValue: TEventHandler); Public constructor Create(const aScriptURL: UnicodeString; const aOptions: UnicodeString); overload; constructor Create(const aScriptURL: UnicodeString); overload; constructor Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSharedWorker; property port: IJSMessagePort read _Getport; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSSourceBuffer --------------------------------------------------------------------} IJSSourceBuffer = interface(IJSEventTarget) ['{0976ACCA-1D41-3979-8C4C-F233676D0B94}'] function _Getmode: TSourceBufferAppendMode; function _Getupdating: Boolean; function _Getbuffered: IJSTimeRanges; function _GettimestampOffset: Double; function _GetappendWindowStart: Double; function _GetappendWindowEnd: Double; function _Getonupdatestart: TEventHandler; function _Getonupdate: TEventHandler; function _Getonupdateend: TEventHandler; function _Getonerror: TEventHandler; function _Getonabort: TEventHandler; procedure _Setmode(const aValue: TSourceBufferAppendMode); procedure _SettimestampOffset(const aValue: Double); procedure _SetappendWindowStart(const aValue: Double); procedure _SetappendWindowEnd(const aValue: Double); procedure _Setonupdatestart(const aValue: TEventHandler); procedure _Setonupdate(const aValue: TEventHandler); procedure _Setonupdateend(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure appendBuffer(aData: IJSArrayBuffer); procedure appendBuffer(aData: IJSArrayBufferView); procedure abort; procedure remove(aStart: Double; aEnd_: Double); function appendBufferAsync(aData: IJSArrayBuffer): IJSPromise; // Promise function appendBufferAsync(aData: IJSArrayBufferView): IJSPromise; // Promise function removeAsync(aStart: Double; aEnd_: Double): IJSPromise; // Promise procedure changeType(const aType_: UnicodeString); property mode: TSourceBufferAppendMode read _Getmode write _Setmode; property updating: Boolean read _Getupdating; property buffered: IJSTimeRanges read _Getbuffered; property timestampOffset: Double read _GettimestampOffset write _SettimestampOffset; property appendWindowStart: Double read _GetappendWindowStart write _SetappendWindowStart; property appendWindowEnd: Double read _GetappendWindowEnd write _SetappendWindowEnd; property onupdatestart: TEventHandler read _Getonupdatestart write _Setonupdatestart; property onupdate: TEventHandler read _Getonupdate write _Setonupdate; property onupdateend: TEventHandler read _Getonupdateend write _Setonupdateend; property onerror: TEventHandler read _Getonerror write _Setonerror; property onabort: TEventHandler read _Getonabort write _Setonabort; end; TJSSourceBuffer = class(TJSEventTarget,IJSSourceBuffer) Private Protected function _Getmode: TSourceBufferAppendMode; function _Getupdating: Boolean; function _Getbuffered: IJSTimeRanges; function _GettimestampOffset: Double; function _GetappendWindowStart: Double; function _GetappendWindowEnd: Double; function _Getonupdatestart: TEventHandler; function _Getonupdate: TEventHandler; function _Getonupdateend: TEventHandler; function _Getonerror: TEventHandler; function _Getonabort: TEventHandler; procedure _Setmode(const aValue: TSourceBufferAppendMode); procedure _SettimestampOffset(const aValue: Double); procedure _SetappendWindowStart(const aValue: Double); procedure _SetappendWindowEnd(const aValue: Double); procedure _Setonupdatestart(const aValue: TEventHandler); procedure _Setonupdate(const aValue: TEventHandler); procedure _Setonupdateend(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); Public procedure appendBuffer(aData: IJSArrayBuffer); overload; procedure appendBuffer(aData: IJSArrayBufferView); overload; procedure abort; overload; procedure remove(aStart: Double; aEnd_: Double); overload; function appendBufferAsync(aData: IJSArrayBuffer): IJSPromise; overload; // Promise function appendBufferAsync(aData: IJSArrayBufferView): IJSPromise; overload; // Promise function removeAsync(aStart: Double; aEnd_: Double): IJSPromise; overload; // Promise procedure changeType(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSourceBuffer; property mode: TSourceBufferAppendMode read _Getmode write _Setmode; property updating: Boolean read _Getupdating; property buffered: IJSTimeRanges read _Getbuffered; property timestampOffset: Double read _GettimestampOffset write _SettimestampOffset; property appendWindowStart: Double read _GetappendWindowStart write _SetappendWindowStart; property appendWindowEnd: Double read _GetappendWindowEnd write _SetappendWindowEnd; property onupdatestart: TEventHandler read _Getonupdatestart write _Setonupdatestart; property onupdate: TEventHandler read _Getonupdate write _Setonupdate; property onupdateend: TEventHandler read _Getonupdateend write _Setonupdateend; property onerror: TEventHandler read _Getonerror write _Setonerror; property onabort: TEventHandler read _Getonabort write _Setonabort; end; { -------------------------------------------------------------------- TJSSourceBufferList --------------------------------------------------------------------} IJSSourceBufferList = interface(IJSEventTarget) ['{504D1339-561D-320F-9C68-F3B70DDD5584}'] function _Getlength_: Cardinal; function _Getonaddsourcebuffer: TEventHandler; function _Getonremovesourcebuffer: TEventHandler; procedure _Setonaddsourcebuffer(const aValue: TEventHandler); procedure _Setonremovesourcebuffer(const aValue: TEventHandler); function GetDefault(aIndex: Cardinal): IJSSourceBuffer; property length_: Cardinal read _Getlength_; property onaddsourcebuffer: TEventHandler read _Getonaddsourcebuffer write _Setonaddsourcebuffer; property onremovesourcebuffer: TEventHandler read _Getonremovesourcebuffer write _Setonremovesourcebuffer; end; TJSSourceBufferList = class(TJSEventTarget,IJSSourceBufferList) Private Protected function _Getlength_: Cardinal; function _Getonaddsourcebuffer: TEventHandler; function _Getonremovesourcebuffer: TEventHandler; procedure _Setonaddsourcebuffer(const aValue: TEventHandler); procedure _Setonremovesourcebuffer(const aValue: TEventHandler); Public function GetDefault(aIndex: Cardinal): IJSSourceBuffer; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSourceBufferList; property length_: Cardinal read _Getlength_; property onaddsourcebuffer: TEventHandler read _Getonaddsourcebuffer write _Setonaddsourcebuffer; property onremovesourcebuffer: TEventHandler read _Getonremovesourcebuffer write _Setonremovesourcebuffer; end; { -------------------------------------------------------------------- TJSSpeechRecognition --------------------------------------------------------------------} IJSSpeechRecognition = interface(IJSEventTarget) ['{B413C3E9-B876-325D-8EB6-878BDAA90CCC}'] function _Getgrammars: IJSSpeechGrammarList; function _Getlang: UnicodeString; function _Getcontinuous: Boolean; function _GetinterimResults: Boolean; function _GetmaxAlternatives: Cardinal; function _GetserviceURI: UnicodeString; function _Getonaudiostart: TEventHandler; function _Getonsoundstart: TEventHandler; function _Getonspeechstart: TEventHandler; function _Getonspeechend: TEventHandler; function _Getonsoundend: TEventHandler; function _Getonaudioend: TEventHandler; function _Getonresult: TEventHandler; function _Getonnomatch: TEventHandler; function _Getonerror: TEventHandler; function _Getonstart: TEventHandler; function _Getonend: TEventHandler; procedure _Setgrammars(const aValue: IJSSpeechGrammarList); procedure _Setlang(const aValue: UnicodeString); procedure _Setcontinuous(const aValue: Boolean); procedure _SetinterimResults(const aValue: Boolean); procedure _SetmaxAlternatives(const aValue: Cardinal); procedure _SetserviceURI(const aValue: UnicodeString); procedure _Setonaudiostart(const aValue: TEventHandler); procedure _Setonsoundstart(const aValue: TEventHandler); procedure _Setonspeechstart(const aValue: TEventHandler); procedure _Setonspeechend(const aValue: TEventHandler); procedure _Setonsoundend(const aValue: TEventHandler); procedure _Setonaudioend(const aValue: TEventHandler); procedure _Setonresult(const aValue: TEventHandler); procedure _Setonnomatch(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); procedure start(aStream: IJSMediaStream); procedure start; procedure stop; procedure abort; property grammars: IJSSpeechGrammarList read _Getgrammars write _Setgrammars; property lang: UnicodeString read _Getlang write _Setlang; property continuous: Boolean read _Getcontinuous write _Setcontinuous; property interimResults: Boolean read _GetinterimResults write _SetinterimResults; property maxAlternatives: Cardinal read _GetmaxAlternatives write _SetmaxAlternatives; property serviceURI: UnicodeString read _GetserviceURI write _SetserviceURI; property onaudiostart: TEventHandler read _Getonaudiostart write _Setonaudiostart; property onsoundstart: TEventHandler read _Getonsoundstart write _Setonsoundstart; property onspeechstart: TEventHandler read _Getonspeechstart write _Setonspeechstart; property onspeechend: TEventHandler read _Getonspeechend write _Setonspeechend; property onsoundend: TEventHandler read _Getonsoundend write _Setonsoundend; property onaudioend: TEventHandler read _Getonaudioend write _Setonaudioend; property onresult: TEventHandler read _Getonresult write _Setonresult; property onnomatch: TEventHandler read _Getonnomatch write _Setonnomatch; property onerror: TEventHandler read _Getonerror write _Setonerror; property onstart: TEventHandler read _Getonstart write _Setonstart; property onend: TEventHandler read _Getonend write _Setonend; end; TJSSpeechRecognition = class(TJSEventTarget,IJSSpeechRecognition) Private Protected function _Getgrammars: IJSSpeechGrammarList; function _Getlang: UnicodeString; function _Getcontinuous: Boolean; function _GetinterimResults: Boolean; function _GetmaxAlternatives: Cardinal; function _GetserviceURI: UnicodeString; function _Getonaudiostart: TEventHandler; function _Getonsoundstart: TEventHandler; function _Getonspeechstart: TEventHandler; function _Getonspeechend: TEventHandler; function _Getonsoundend: TEventHandler; function _Getonaudioend: TEventHandler; function _Getonresult: TEventHandler; function _Getonnomatch: TEventHandler; function _Getonerror: TEventHandler; function _Getonstart: TEventHandler; function _Getonend: TEventHandler; procedure _Setgrammars(const aValue: IJSSpeechGrammarList); procedure _Setlang(const aValue: UnicodeString); procedure _Setcontinuous(const aValue: Boolean); procedure _SetinterimResults(const aValue: Boolean); procedure _SetmaxAlternatives(const aValue: Cardinal); procedure _SetserviceURI(const aValue: UnicodeString); procedure _Setonaudiostart(const aValue: TEventHandler); procedure _Setonsoundstart(const aValue: TEventHandler); procedure _Setonspeechstart(const aValue: TEventHandler); procedure _Setonspeechend(const aValue: TEventHandler); procedure _Setonsoundend(const aValue: TEventHandler); procedure _Setonaudioend(const aValue: TEventHandler); procedure _Setonresult(const aValue: TEventHandler); procedure _Setonnomatch(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); Public constructor Create; overload; procedure start(aStream: IJSMediaStream); overload; procedure start; overload; procedure stop; overload; procedure abort; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognition; property grammars: IJSSpeechGrammarList read _Getgrammars write _Setgrammars; property lang: UnicodeString read _Getlang write _Setlang; property continuous: Boolean read _Getcontinuous write _Setcontinuous; property interimResults: Boolean read _GetinterimResults write _SetinterimResults; property maxAlternatives: Cardinal read _GetmaxAlternatives write _SetmaxAlternatives; property serviceURI: UnicodeString read _GetserviceURI write _SetserviceURI; property onaudiostart: TEventHandler read _Getonaudiostart write _Setonaudiostart; property onsoundstart: TEventHandler read _Getonsoundstart write _Setonsoundstart; property onspeechstart: TEventHandler read _Getonspeechstart write _Setonspeechstart; property onspeechend: TEventHandler read _Getonspeechend write _Setonspeechend; property onsoundend: TEventHandler read _Getonsoundend write _Setonsoundend; property onaudioend: TEventHandler read _Getonaudioend write _Setonaudioend; property onresult: TEventHandler read _Getonresult write _Setonresult; property onnomatch: TEventHandler read _Getonnomatch write _Setonnomatch; property onerror: TEventHandler read _Getonerror write _Setonerror; property onstart: TEventHandler read _Getonstart write _Setonstart; property onend: TEventHandler read _Getonend write _Setonend; end; { -------------------------------------------------------------------- TJSSpeechRecognitionError --------------------------------------------------------------------} IJSSpeechRecognitionError = interface(IJSEvent) ['{27F275FF-4558-3EC9-B28C-904F89377A8F}'] function _Geterror: TSpeechRecognitionErrorCode; function _Getmessage: UnicodeString; property error: TSpeechRecognitionErrorCode read _Geterror; property message: UnicodeString read _Getmessage; end; TJSSpeechRecognitionError = class(TJSEvent,IJSSpeechRecognitionError) Private Protected function _Geterror: TSpeechRecognitionErrorCode; function _Getmessage: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechRecognitionErrorInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionError; property error: TSpeechRecognitionErrorCode read _Geterror; property message: UnicodeString read _Getmessage; end; { -------------------------------------------------------------------- TJSSpeechRecognitionEvent --------------------------------------------------------------------} IJSSpeechRecognitionEvent = interface(IJSEvent) ['{4C34CCB1-2BF2-37C6-84B2-87C18AC7A4C6}'] function _GetresultIndex: Cardinal; function _Getresults: IJSSpeechRecognitionResultList; function _Getinterpretation: Variant; function _Getemma: IJSDocument; property resultIndex: Cardinal read _GetresultIndex; property results: IJSSpeechRecognitionResultList read _Getresults; property interpretation: Variant read _Getinterpretation; property emma: IJSDocument read _Getemma; end; TJSSpeechRecognitionEvent = class(TJSEvent,IJSSpeechRecognitionEvent) Private Protected function _GetresultIndex: Cardinal; function _Getresults: IJSSpeechRecognitionResultList; function _Getinterpretation: Variant; function _Getemma: IJSDocument; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechRecognitionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechRecognitionEvent; property resultIndex: Cardinal read _GetresultIndex; property results: IJSSpeechRecognitionResultList read _Getresults; property interpretation: Variant read _Getinterpretation; property emma: IJSDocument read _Getemma; end; { -------------------------------------------------------------------- TJSSpeechSynthesis --------------------------------------------------------------------} TJSSpeechSynthesisVoiceDynArray = IJSArray; // array of SpeechSynthesisVoice IJSSpeechSynthesis = interface(IJSEventTarget) ['{D01DE2C8-C27D-3A7D-9706-6564F9E7696F}'] function _Getpending: Boolean; function _Getspeaking: Boolean; function _Getpaused: Boolean; function _Getonvoiceschanged: TEventHandler; procedure _Setonvoiceschanged(const aValue: TEventHandler); procedure speak(aUtterance: IJSSpeechSynthesisUtterance); procedure cancel; procedure pause; procedure resume; function getVoices: TJSSpeechSynthesisVoiceDynArray; property pending: Boolean read _Getpending; property speaking: Boolean read _Getspeaking; property paused: Boolean read _Getpaused; property onvoiceschanged: TEventHandler read _Getonvoiceschanged write _Setonvoiceschanged; end; TJSSpeechSynthesis = class(TJSEventTarget,IJSSpeechSynthesis) Private Protected function _Getpending: Boolean; function _Getspeaking: Boolean; function _Getpaused: Boolean; function _Getonvoiceschanged: TEventHandler; procedure _Setonvoiceschanged(const aValue: TEventHandler); Public procedure speak(aUtterance: IJSSpeechSynthesisUtterance); overload; procedure cancel; overload; procedure pause; overload; procedure resume; overload; function getVoices: TJSSpeechSynthesisVoiceDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesis; property pending: Boolean read _Getpending; property speaking: Boolean read _Getspeaking; property paused: Boolean read _Getpaused; property onvoiceschanged: TEventHandler read _Getonvoiceschanged write _Setonvoiceschanged; end; { -------------------------------------------------------------------- TJSSpeechSynthesisEvent --------------------------------------------------------------------} IJSSpeechSynthesisEvent = interface(IJSEvent) ['{594D5A6D-CD25-3EBE-8362-11F13E1F990C}'] function _Getutterance: IJSSpeechSynthesisUtterance; function _GetcharIndex: Cardinal; function _GetcharLength: Cardinal; function _GetelapsedTime: Single; function _Getname: UnicodeString; property utterance: IJSSpeechSynthesisUtterance read _Getutterance; property charIndex: Cardinal read _GetcharIndex; property charLength: Cardinal read _GetcharLength; property elapsedTime: Single read _GetelapsedTime; property name: UnicodeString read _Getname; end; TJSSpeechSynthesisEvent = class(TJSEvent,IJSSpeechSynthesisEvent) Private Protected function _Getutterance: IJSSpeechSynthesisUtterance; function _GetcharIndex: Cardinal; function _GetcharLength: Cardinal; function _GetelapsedTime: Single; function _Getname: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechSynthesisEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisEvent; property utterance: IJSSpeechSynthesisUtterance read _Getutterance; property charIndex: Cardinal read _GetcharIndex; property charLength: Cardinal read _GetcharLength; property elapsedTime: Single read _GetelapsedTime; property name: UnicodeString read _Getname; end; { -------------------------------------------------------------------- TJSSpeechSynthesisUtterance --------------------------------------------------------------------} IJSSpeechSynthesisUtterance = interface(IJSEventTarget) ['{407DB04F-2990-3A3E-8A0D-25B2514E833E}'] function _Gettext: UnicodeString; function _Getlang: UnicodeString; function _Getvoice: IJSSpeechSynthesisVoice; function _Getvolume: Single; function _Getrate: Single; function _Getpitch: Single; function _Getonstart: TEventHandler; function _Getonend: TEventHandler; function _Getonerror: TEventHandler; function _Getonpause: TEventHandler; function _Getonresume: TEventHandler; function _Getonmark: TEventHandler; function _Getonboundary: TEventHandler; procedure _Settext(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Setvoice(const aValue: IJSSpeechSynthesisVoice); procedure _Setvolume(const aValue: Single); procedure _Setrate(const aValue: Single); procedure _Setpitch(const aValue: Single); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonresume(const aValue: TEventHandler); procedure _Setonmark(const aValue: TEventHandler); procedure _Setonboundary(const aValue: TEventHandler); property text: UnicodeString read _Gettext write _Settext; property lang: UnicodeString read _Getlang write _Setlang; property voice: IJSSpeechSynthesisVoice read _Getvoice write _Setvoice; property volume: Single read _Getvolume write _Setvolume; property rate: Single read _Getrate write _Setrate; property pitch: Single read _Getpitch write _Setpitch; property onstart: TEventHandler read _Getonstart write _Setonstart; property onend: TEventHandler read _Getonend write _Setonend; property onerror: TEventHandler read _Getonerror write _Setonerror; property onpause: TEventHandler read _Getonpause write _Setonpause; property onresume: TEventHandler read _Getonresume write _Setonresume; property onmark: TEventHandler read _Getonmark write _Setonmark; property onboundary: TEventHandler read _Getonboundary write _Setonboundary; end; TJSSpeechSynthesisUtterance = class(TJSEventTarget,IJSSpeechSynthesisUtterance) Private Protected function _Gettext: UnicodeString; function _Getlang: UnicodeString; function _Getvoice: IJSSpeechSynthesisVoice; function _Getvolume: Single; function _Getrate: Single; function _Getpitch: Single; function _Getonstart: TEventHandler; function _Getonend: TEventHandler; function _Getonerror: TEventHandler; function _Getonpause: TEventHandler; function _Getonresume: TEventHandler; function _Getonmark: TEventHandler; function _Getonboundary: TEventHandler; procedure _Settext(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Setvoice(const aValue: IJSSpeechSynthesisVoice); procedure _Setvolume(const aValue: Single); procedure _Setrate(const aValue: Single); procedure _Setpitch(const aValue: Single); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonresume(const aValue: TEventHandler); procedure _Setonmark(const aValue: TEventHandler); procedure _Setonboundary(const aValue: TEventHandler); Public constructor Create; overload; constructor Create(const aText: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisUtterance; property text: UnicodeString read _Gettext write _Settext; property lang: UnicodeString read _Getlang write _Setlang; property voice: IJSSpeechSynthesisVoice read _Getvoice write _Setvoice; property volume: Single read _Getvolume write _Setvolume; property rate: Single read _Getrate write _Setrate; property pitch: Single read _Getpitch write _Setpitch; property onstart: TEventHandler read _Getonstart write _Setonstart; property onend: TEventHandler read _Getonend write _Setonend; property onerror: TEventHandler read _Getonerror write _Setonerror; property onpause: TEventHandler read _Getonpause write _Setonpause; property onresume: TEventHandler read _Getonresume write _Setonresume; property onmark: TEventHandler read _Getonmark write _Setonmark; property onboundary: TEventHandler read _Getonboundary write _Setonboundary; end; { -------------------------------------------------------------------- TJSStaticRange --------------------------------------------------------------------} IJSStaticRange = interface(IJSAbstractRange) ['{EEE0BE14-9E16-396D-B9C6-A6C92C79D931}'] end; TJSStaticRange = class(TJSAbstractRange,IJSStaticRange) Private Protected Public constructor Create(const aInit: IJSStaticRangeInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStaticRange; end; { -------------------------------------------------------------------- TJSStorageEvent --------------------------------------------------------------------} IJSStorageEvent = interface(IJSEvent) ['{4DAA3541-0635-34B4-B2C0-130AD6EFBA40}'] function _Getkey: UnicodeString; function _GetoldValue: UnicodeString; function _GetnewValue: UnicodeString; function _Geturl: UnicodeString; function _GetstorageArea: IJSStorage; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString; aStorageArea: IJSStorage); procedure initStorageEvent(const aType_: UnicodeString); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString); procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString); property key: UnicodeString read _Getkey; property oldValue: UnicodeString read _GetoldValue; property newValue: UnicodeString read _GetnewValue; property url: UnicodeString read _Geturl; property storageArea: IJSStorage read _GetstorageArea; end; TJSStorageEvent = class(TJSEvent,IJSStorageEvent) Private Protected function _Getkey: UnicodeString; function _GetoldValue: UnicodeString; function _GetnewValue: UnicodeString; function _Geturl: UnicodeString; function _GetstorageArea: IJSStorage; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSStorageEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString; aStorageArea: IJSStorage); overload; procedure initStorageEvent(const aType_: UnicodeString); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString); overload; procedure initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStorageEvent; property key: UnicodeString read _Getkey; property oldValue: UnicodeString read _GetoldValue; property newValue: UnicodeString read _GetnewValue; property url: UnicodeString read _Geturl; property storageArea: IJSStorage read _GetstorageArea; end; { -------------------------------------------------------------------- TJSStreamFilter --------------------------------------------------------------------} // Union of ArrayBuffer, Uint8Array TStreamFilter_write_data_Type = Variant; IJSStreamFilter = interface(IJSEventTarget) ['{762264AA-C029-3F13-BA2D-A0AAE8DA61E4}'] function _Getstatus: TStreamFilterStatus; function _Geterror: UnicodeString; function _Getondata: TEventHandler; function _Getonstart: TEventHandler; function _Getonstop: TEventHandler; function _Getonerror: TEventHandler; procedure _Setondata(const aValue: TEventHandler); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonstop(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure suspend; procedure resume; procedure close; procedure disconnect; procedure write(aData: IJSArrayBuffer); procedure write(aData: IJSUint8Array); property status: TStreamFilterStatus read _Getstatus; property error: UnicodeString read _Geterror; property ondata: TEventHandler read _Getondata write _Setondata; property onstart: TEventHandler read _Getonstart write _Setonstart; property onstop: TEventHandler read _Getonstop write _Setonstop; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSStreamFilter = class(TJSEventTarget,IJSStreamFilter) Private Protected function _Getstatus: TStreamFilterStatus; function _Geterror: UnicodeString; function _Getondata: TEventHandler; function _Getonstart: TEventHandler; function _Getonstop: TEventHandler; function _Getonerror: TEventHandler; procedure _Setondata(const aValue: TEventHandler); procedure _Setonstart(const aValue: TEventHandler); procedure _Setonstop(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public procedure suspend; overload; procedure resume; overload; procedure close; overload; procedure disconnect; overload; procedure write(aData: IJSArrayBuffer); overload; procedure write(aData: IJSUint8Array); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStreamFilter; property status: TStreamFilterStatus read _Getstatus; property error: UnicodeString read _Geterror; property ondata: TEventHandler read _Getondata write _Setondata; property onstart: TEventHandler read _Getonstart write _Setonstart; property onstop: TEventHandler read _Getonstop write _Setonstop; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSStreamFilterDataEvent --------------------------------------------------------------------} IJSStreamFilterDataEvent = interface(IJSEvent) ['{0D04F90C-1408-3039-A91A-E6E0354D6C3D}'] function _Getdata: IJSArrayBuffer; property data: IJSArrayBuffer read _Getdata; end; TJSStreamFilterDataEvent = class(TJSEvent,IJSStreamFilterDataEvent) Private Protected function _Getdata: IJSArrayBuffer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSStreamFilterDataEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStreamFilterDataEvent; property data: IJSArrayBuffer read _Getdata; end; { -------------------------------------------------------------------- TJSSubmitEvent --------------------------------------------------------------------} IJSSubmitEvent = interface(IJSEvent) ['{B23AAA6E-1D1E-3EC1-B900-07A433E8DA59}'] function _Getsubmitter: IJSHTMLElement; property submitter: IJSHTMLElement read _Getsubmitter; end; TJSSubmitEvent = class(TJSEvent,IJSSubmitEvent) Private Protected function _Getsubmitter: IJSHTMLElement; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSubmitEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSubmitEvent; property submitter: IJSHTMLElement read _Getsubmitter; end; { -------------------------------------------------------------------- TJSSVGPathSegClosePath --------------------------------------------------------------------} IJSSVGPathSegClosePath = interface(IJSSVGPathSeg) ['{7D9DAF47-924F-31D9-8F3B-7B5AA3AB901A}'] end; TJSSVGPathSegClosePath = class(TJSSVGPathSeg,IJSSVGPathSegClosePath) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegClosePath; end; { -------------------------------------------------------------------- TJSSVGPathSegMovetoAbs --------------------------------------------------------------------} IJSSVGPathSegMovetoAbs = interface(IJSSVGPathSeg) ['{1A439E6C-F1FC-37C9-9CA2-0F569AD79079}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegMovetoAbs = class(TJSSVGPathSeg,IJSSVGPathSegMovetoAbs) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegMovetoAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegMovetoRel --------------------------------------------------------------------} IJSSVGPathSegMovetoRel = interface(IJSSVGPathSeg) ['{1A439E6C-F1FC-37C9-9CA2-0F57AA3B9079}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegMovetoRel = class(TJSSVGPathSeg,IJSSVGPathSegMovetoRel) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegMovetoRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoAbs --------------------------------------------------------------------} IJSSVGPathSegLinetoAbs = interface(IJSSVGPathSeg) ['{1A439E6C-F1FC-37C9-98DA-0F569AD79079}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegLinetoAbs = class(TJSSVGPathSeg,IJSSVGPathSegLinetoAbs) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoRel --------------------------------------------------------------------} IJSSVGPathSegLinetoRel = interface(IJSSVGPathSeg) ['{1A439E6C-F1FC-37C9-98DA-0F57AA3B9079}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegLinetoRel = class(TJSSVGPathSeg,IJSSVGPathSegLinetoRel) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoCubicAbs --------------------------------------------------------------------} IJSSVGPathSegCurvetoCubicAbs = interface(IJSSVGPathSeg) ['{13F74DAC-FCD3-38E4-B555-2ED35D3E8485}'] function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; TJSSVGPathSegCurvetoCubicAbs = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoCubicAbs) Private Protected function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoCubicRel --------------------------------------------------------------------} IJSSVGPathSegCurvetoCubicRel = interface(IJSSVGPathSeg) ['{58874DAC-FCD3-38E4-B555-2ED35D3E8389}'] function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; TJSSVGPathSegCurvetoCubicRel = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoCubicRel) Private Protected function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoQuadraticAbs --------------------------------------------------------------------} IJSSVGPathSegCurvetoQuadraticAbs = interface(IJSSVGPathSeg) ['{789A277A-A56C-32A4-965F-6F517F3E1605}'] function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; end; TJSSVGPathSegCurvetoQuadraticAbs = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoQuadraticAbs) Private Protected function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoQuadraticRel --------------------------------------------------------------------} IJSSVGPathSegCurvetoQuadraticRel = interface(IJSSVGPathSeg) ['{789A6BD3-A56C-32A4-965F-6F517F3E1605}'] function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; end; TJSSVGPathSegCurvetoQuadraticRel = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoQuadraticRel) Private Protected function _Getx: Single; function _Gety: Single; function _Getx1: Single; function _Gety1: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx1(const aValue: Single); procedure _Sety1(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x1: Single read _Getx1 write _Setx1; property y1: Single read _Gety1 write _Sety1; end; { -------------------------------------------------------------------- TJSSVGPathSegArcAbs --------------------------------------------------------------------} IJSSVGPathSegArcAbs = interface(IJSSVGPathSeg) ['{A29323F1-50E8-3403-88AC-6B127C576CFA}'] function _Getx: Single; function _Gety: Single; function _Getr1: Single; function _Getr2: Single; function _Getangle: Single; function _GetlargeArcFlag: Boolean; function _GetsweepFlag: Boolean; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setr1(const aValue: Single); procedure _Setr2(const aValue: Single); procedure _Setangle(const aValue: Single); procedure _SetlargeArcFlag(const aValue: Boolean); procedure _SetsweepFlag(const aValue: Boolean); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property r1: Single read _Getr1 write _Setr1; property r2: Single read _Getr2 write _Setr2; property angle: Single read _Getangle write _Setangle; property largeArcFlag: Boolean read _GetlargeArcFlag write _SetlargeArcFlag; property sweepFlag: Boolean read _GetsweepFlag write _SetsweepFlag; end; TJSSVGPathSegArcAbs = class(TJSSVGPathSeg,IJSSVGPathSegArcAbs) Private Protected function _Getx: Single; function _Gety: Single; function _Getr1: Single; function _Getr2: Single; function _Getangle: Single; function _GetlargeArcFlag: Boolean; function _GetsweepFlag: Boolean; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setr1(const aValue: Single); procedure _Setr2(const aValue: Single); procedure _Setangle(const aValue: Single); procedure _SetlargeArcFlag(const aValue: Boolean); procedure _SetsweepFlag(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegArcAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property r1: Single read _Getr1 write _Setr1; property r2: Single read _Getr2 write _Setr2; property angle: Single read _Getangle write _Setangle; property largeArcFlag: Boolean read _GetlargeArcFlag write _SetlargeArcFlag; property sweepFlag: Boolean read _GetsweepFlag write _SetsweepFlag; end; { -------------------------------------------------------------------- TJSSVGPathSegArcRel --------------------------------------------------------------------} IJSSVGPathSegArcRel = interface(IJSSVGPathSeg) ['{A29323F1-50E8-3403-88AB-F3C47C576CFA}'] function _Getx: Single; function _Gety: Single; function _Getr1: Single; function _Getr2: Single; function _Getangle: Single; function _GetlargeArcFlag: Boolean; function _GetsweepFlag: Boolean; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setr1(const aValue: Single); procedure _Setr2(const aValue: Single); procedure _Setangle(const aValue: Single); procedure _SetlargeArcFlag(const aValue: Boolean); procedure _SetsweepFlag(const aValue: Boolean); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property r1: Single read _Getr1 write _Setr1; property r2: Single read _Getr2 write _Setr2; property angle: Single read _Getangle write _Setangle; property largeArcFlag: Boolean read _GetlargeArcFlag write _SetlargeArcFlag; property sweepFlag: Boolean read _GetsweepFlag write _SetsweepFlag; end; TJSSVGPathSegArcRel = class(TJSSVGPathSeg,IJSSVGPathSegArcRel) Private Protected function _Getx: Single; function _Gety: Single; function _Getr1: Single; function _Getr2: Single; function _Getangle: Single; function _GetlargeArcFlag: Boolean; function _GetsweepFlag: Boolean; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setr1(const aValue: Single); procedure _Setr2(const aValue: Single); procedure _Setangle(const aValue: Single); procedure _SetlargeArcFlag(const aValue: Boolean); procedure _SetsweepFlag(const aValue: Boolean); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegArcRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property r1: Single read _Getr1 write _Setr1; property r2: Single read _Getr2 write _Setr2; property angle: Single read _Getangle write _Setangle; property largeArcFlag: Boolean read _GetlargeArcFlag write _SetlargeArcFlag; property sweepFlag: Boolean read _GetsweepFlag write _SetsweepFlag; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoHorizontalAbs --------------------------------------------------------------------} IJSSVGPathSegLinetoHorizontalAbs = interface(IJSSVGPathSeg) ['{F8CEBE1B-8517-3A06-8B5F-9246E4E848A6}'] function _Getx: Single; procedure _Setx(const aValue: Single); property x: Single read _Getx write _Setx; end; TJSSVGPathSegLinetoHorizontalAbs = class(TJSSVGPathSeg,IJSSVGPathSegLinetoHorizontalAbs) Private Protected function _Getx: Single; procedure _Setx(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoHorizontalAbs; property x: Single read _Getx write _Setx; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoHorizontalRel --------------------------------------------------------------------} IJSSVGPathSegLinetoHorizontalRel = interface(IJSSVGPathSeg) ['{F8CE0274-8517-3A06-8B5F-9246E4E848A6}'] function _Getx: Single; procedure _Setx(const aValue: Single); property x: Single read _Getx write _Setx; end; TJSSVGPathSegLinetoHorizontalRel = class(TJSSVGPathSeg,IJSSVGPathSegLinetoHorizontalRel) Private Protected function _Getx: Single; procedure _Setx(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoHorizontalRel; property x: Single read _Getx write _Setx; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoVerticalAbs --------------------------------------------------------------------} IJSSVGPathSegLinetoVerticalAbs = interface(IJSSVGPathSeg) ['{EAC432B6-DB8A-35C7-83BF-DA98E80C35F9}'] function _Gety: Single; procedure _Sety(const aValue: Single); property y: Single read _Gety write _Sety; end; TJSSVGPathSegLinetoVerticalAbs = class(TJSSVGPathSeg,IJSSVGPathSegLinetoVerticalAbs) Private Protected function _Gety: Single; procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoVerticalAbs; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegLinetoVerticalRel --------------------------------------------------------------------} IJSSVGPathSegLinetoVerticalRel = interface(IJSSVGPathSeg) ['{EBD696B6-DB8A-35C7-83BF-DA98E80C35F9}'] function _Gety: Single; procedure _Sety(const aValue: Single); property y: Single read _Gety write _Sety; end; TJSSVGPathSegLinetoVerticalRel = class(TJSSVGPathSeg,IJSSVGPathSegLinetoVerticalRel) Private Protected function _Gety: Single; procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegLinetoVerticalRel; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoCubicSmoothAbs --------------------------------------------------------------------} IJSSVGPathSegCurvetoCubicSmoothAbs = interface(IJSSVGPathSeg) ['{90CA21B6-B50B-35AB-A73F-DA15D6776090}'] function _Getx: Single; function _Gety: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; TJSSVGPathSegCurvetoCubicSmoothAbs = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoCubicSmoothAbs) Private Protected function _Getx: Single; function _Gety: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicSmoothAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoCubicSmoothRel --------------------------------------------------------------------} IJSSVGPathSegCurvetoCubicSmoothRel = interface(IJSSVGPathSeg) ['{90CA21C7-CB4B-35AB-A73F-DA15D6776090}'] function _Getx: Single; function _Gety: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; TJSSVGPathSegCurvetoCubicSmoothRel = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoCubicSmoothRel) Private Protected function _Getx: Single; function _Gety: Single; function _Getx2: Single; function _Gety2: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); procedure _Setx2(const aValue: Single); procedure _Sety2(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicSmoothRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; property x2: Single read _Getx2 write _Setx2; property y2: Single read _Gety2 write _Sety2; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoQuadraticSmoothAbs --------------------------------------------------------------------} IJSSVGPathSegCurvetoQuadraticSmoothAbs = interface(IJSSVGPathSeg) ['{E2310F81-BF02-355A-AA8D-89455CA614EA}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegCurvetoQuadraticSmoothAbs = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoQuadraticSmoothAbs) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticSmoothAbs; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSSVGPathSegCurvetoQuadraticSmoothRel --------------------------------------------------------------------} IJSSVGPathSegCurvetoQuadraticSmoothRel = interface(IJSSVGPathSeg) ['{E2310F81-BF03-38BE-AA8D-89455CA614EA}'] function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; TJSSVGPathSegCurvetoQuadraticSmoothRel = class(TJSSVGPathSeg,IJSSVGPathSegCurvetoQuadraticSmoothRel) Private Protected function _Getx: Single; function _Gety: Single; procedure _Setx(const aValue: Single); procedure _Sety(const aValue: Single); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticSmoothRel; property x: Single read _Getx write _Setx; property y: Single read _Gety write _Sety; end; { -------------------------------------------------------------------- TJSTaskPriorityChangeEvent --------------------------------------------------------------------} IJSTaskPriorityChangeEvent = interface(IJSEvent) ['{DA9BF9C5-4E26-3CDF-8C73-73A17D702B68}'] function _GetpreviousPriority: TTaskPriority; property previousPriority: TTaskPriority read _GetpreviousPriority; end; TJSTaskPriorityChangeEvent = class(TJSEvent,IJSTaskPriorityChangeEvent) Private Protected function _GetpreviousPriority: TTaskPriority; Public constructor Create(const aType_: UnicodeString; const aPriorityChangeEventInitDict: IJSTaskPriorityChangeEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTaskPriorityChangeEvent; property previousPriority: TTaskPriority read _GetpreviousPriority; end; { -------------------------------------------------------------------- TJSTCPServerSocket --------------------------------------------------------------------} IJSTCPServerSocket = interface(IJSEventTarget) ['{C9129474-C57F-37E5-80FF-475A69038DF0}'] function _GetlocalPort: Word; function _Getonconnect: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonconnect(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure close; property localPort: Word read _GetlocalPort; property onconnect: TEventHandler read _Getonconnect write _Setonconnect; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSTCPServerSocket = class(TJSEventTarget,IJSTCPServerSocket) Private Protected function _GetlocalPort: Word; function _Getonconnect: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonconnect(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public constructor Create(aPort: Word; const aOptions: IJSServerSocketOptions; aBacklog: Word); overload; constructor Create(aPort: Word); overload; constructor Create(aPort: Word; const aOptions: IJSServerSocketOptions); overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPServerSocket; property localPort: Word read _GetlocalPort; property onconnect: TEventHandler read _Getonconnect write _Setonconnect; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSTCPServerSocketEvent --------------------------------------------------------------------} IJSTCPServerSocketEvent = interface(IJSEvent) ['{9A5EC91F-1291-3F3E-9EBC-68E6C714E60F}'] function _Getsocket: IJSTCPSocket; property socket: IJSTCPSocket read _Getsocket; end; TJSTCPServerSocketEvent = class(TJSEvent,IJSTCPServerSocketEvent) Private Protected function _Getsocket: IJSTCPSocket; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPServerSocketEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPServerSocketEvent; property socket: IJSTCPSocket read _Getsocket; end; { -------------------------------------------------------------------- TJSTCPSocket --------------------------------------------------------------------} IJSTCPSocket = interface(IJSEventTarget) ['{149DD817-8158-3B0F-B185-F8B1A7B4BDA0}'] function _Gettransport: IJSnsISocketTransport; function _Gethost: UnicodeString; function _Getport: Word; function _Getssl: Boolean; function _GetbufferedAmount: QWord; function _GetreadyState: TTCPReadyState; function _GetbinaryType: TTCPSocketBinaryType; function _Getonopen: TEventHandler; function _Getondrain: TEventHandler; function _Getondata: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; procedure _Setonopen(const aValue: TEventHandler); procedure _Setondrain(const aValue: TEventHandler); procedure _Setondata(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure upgradeToSecure; procedure suspend; procedure resume; procedure close; function send(const aData: UnicodeString): Boolean; function send(aData: IJSArrayBuffer; aByteOffset: Cardinal; aByteLength: Cardinal): Boolean; function send(aData: IJSArrayBuffer): Boolean; function send(aData: IJSArrayBuffer; aByteOffset: Cardinal): Boolean; property transport: IJSnsISocketTransport read _Gettransport; property host: UnicodeString read _Gethost; property port: Word read _Getport; property ssl: Boolean read _Getssl; property bufferedAmount: QWord read _GetbufferedAmount; property readyState: TTCPReadyState read _GetreadyState; property binaryType: TTCPSocketBinaryType read _GetbinaryType; property onopen: TEventHandler read _Getonopen write _Setonopen; property ondrain: TEventHandler read _Getondrain write _Setondrain; property ondata: TEventHandler read _Getondata write _Setondata; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; end; TJSTCPSocket = class(TJSEventTarget,IJSTCPSocket) Private Protected function _Gettransport: IJSnsISocketTransport; function _Gethost: UnicodeString; function _Getport: Word; function _Getssl: Boolean; function _GetbufferedAmount: QWord; function _GetreadyState: TTCPReadyState; function _GetbinaryType: TTCPSocketBinaryType; function _Getonopen: TEventHandler; function _Getondrain: TEventHandler; function _Getondata: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; procedure _Setonopen(const aValue: TEventHandler); procedure _Setondrain(const aValue: TEventHandler); procedure _Setondata(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); Public constructor Create(const aHost: UnicodeString; aPort: Word; const aOptions: IJSSocketOptions); overload; constructor Create(const aHost: UnicodeString; aPort: Word); overload; procedure upgradeToSecure; overload; procedure suspend; overload; procedure resume; overload; procedure close; overload; function send(const aData: UnicodeString): Boolean; overload; function send(aData: IJSArrayBuffer; aByteOffset: Cardinal; aByteLength: Cardinal): Boolean; overload; function send(aData: IJSArrayBuffer): Boolean; overload; function send(aData: IJSArrayBuffer; aByteOffset: Cardinal): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPSocket; property transport: IJSnsISocketTransport read _Gettransport; property host: UnicodeString read _Gethost; property port: Word read _Getport; property ssl: Boolean read _Getssl; property bufferedAmount: QWord read _GetbufferedAmount; property readyState: TTCPReadyState read _GetreadyState; property binaryType: TTCPSocketBinaryType read _GetbinaryType; property onopen: TEventHandler read _Getonopen write _Setonopen; property ondrain: TEventHandler read _Getondrain write _Setondrain; property ondata: TEventHandler read _Getondata write _Setondata; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; end; { -------------------------------------------------------------------- TJSTCPSocketErrorEvent --------------------------------------------------------------------} IJSTCPSocketErrorEvent = interface(IJSEvent) ['{24CECD5D-C2CF-3742-A844-3842FE863806}'] function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _GeterrorCode: Cardinal; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property errorCode: Cardinal read _GeterrorCode; end; TJSTCPSocketErrorEvent = class(TJSEvent,IJSTCPSocketErrorEvent) Private Protected function _Getname: UnicodeString; function _Getmessage: UnicodeString; function _GeterrorCode: Cardinal; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPSocketErrorEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPSocketErrorEvent; property name: UnicodeString read _Getname; property message: UnicodeString read _Getmessage; property errorCode: Cardinal read _GeterrorCode; end; { -------------------------------------------------------------------- TJSTCPSocketEvent --------------------------------------------------------------------} IJSTCPSocketEvent = interface(IJSEvent) ['{2E0D8A34-7864-3837-B087-71ECA8D4B84B}'] function _Getdata: Variant; property data: Variant read _Getdata; end; TJSTCPSocketEvent = class(TJSEvent,IJSTCPSocketEvent) Private Protected function _Getdata: Variant; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPSocketEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTCPSocketEvent; property data: Variant read _Getdata; end; { -------------------------------------------------------------------- TJSTestInterfaceJS --------------------------------------------------------------------} // Union of object, DOMString TTestInterfaceJS_pingPongObjectOrString_objOrString_Type = Variant; // Union of TestInterfaceJSUnionableDictionary, long TTestInterfaceJS_pingPongDictionaryOrLong_dictOrLong_Type = Variant; // Union of TestInterfaceJS, long TTestInterfaceJS_pingPongUnion_Type = Variant; // Union of TestInterfaceJS, long TTestInterfaceJS_pingPongUnion_something_Type = Variant; // Union of DOMString, TestInterfaceJS TTestInterfaceJS_pingPongUnionContainingNull_Type = Variant; // Union of TestInterfaceJS, DOMString TTestInterfaceJS_pingPongUnionContainingNull_something_Type = Variant; // Union of TestInterfaceJS, long TTestInterfaceJS_pingPongNullableUnion_Type = Variant; // Union of TestInterfaceJS, long TTestInterfaceJS_pingPongNullableUnion_something_Type = Variant; // Union of Location, TestInterfaceJS TTestInterfaceJS_returnBadUnion_Type = Variant; // Union of sequence, DOMString TTestInterfaceJS_testSequenceUnion_arg_Type = Variant; IJSTestInterfaceJS = interface(IJSEventTarget) ['{21F8D9D3-D88F-3939-946B-FFFDF6C78902}'] function _GetanyArg: Variant; function _GetobjectArg: IJSObject; function _GetanyAttr: Variant; function _GetobjectAttr: IJSObject; function _Getonsomething: TEventHandler; procedure _SetanyAttr(const aValue: Variant); procedure _SetobjectAttr(const aValue: IJSObject); procedure _Setonsomething(const aValue: TEventHandler); function getDictionaryArg: IJSTestInterfaceJSDictionary; function getDictionaryAttr: IJSTestInterfaceJSDictionary; procedure setDictionaryAttr(const aDict: IJSTestInterfaceJSDictionary); procedure setDictionaryAttr; function pingPongAny(const aArg: Variant): Variant; function pingPongObject(aObj: IJSObject): IJSObject; function pingPongObjectOrString(const aObjOrString: UnicodeString): Variant; function pingPongObjectOrString(aObjOrString: IJSObject): Variant; function pingPongDictionary(const aDict: IJSTestInterfaceJSDictionary): IJSTestInterfaceJSDictionary; function pingPongDictionary: IJSTestInterfaceJSDictionary; function pingPongDictionaryOrLong(aDictOrLong: LongInt): LongInt; function pingPongDictionaryOrLong: LongInt; function pingPongDictionaryOrLong(const aDictOrLong: IJSTestInterfaceJSUnionableDictionary): LongInt; function pingPongRecord(aRec: IJSObject): UnicodeString; function objectSequenceLength(const aSeq: TIJSObjectDynArray): LongInt; function anySequenceLength(const aSeq: TVariantDynArray): LongInt; function getCallerPrincipal: UnicodeString; function convertSVS(const aSvs: UnicodeString): UnicodeString; function pingPongUnion(aSomething: LongInt): TTestInterfaceJS_pingPongUnion_Type; function pingPongUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnion_Type; function pingPongUnionContainingNull(const aSomething: UnicodeString): TTestInterfaceJS_pingPongUnionContainingNull_Type; function pingPongUnionContainingNull(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnionContainingNull_Type; function pingPongNullableUnion(aSomething: LongInt): TTestInterfaceJS_pingPongNullableUnion_Type; function pingPongNullableUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongNullableUnion_Type; function returnBadUnion: TTestInterfaceJS_returnBadUnion_Type; procedure testSequenceOverload(const aArg: TUnicodeStringDynArray); procedure testSequenceOverload(const aArg: UnicodeString); procedure testSequenceUnion(const aArg: UnicodeString); procedure testSequenceUnion(const aArg: TUnicodeStringDynArray); procedure testThrowError; procedure testThrowDOMException; procedure testThrowTypeError; procedure testThrowCallbackError(const aCallback: TFunction); procedure testThrowXraySelfHosted; procedure testThrowSelfHosted; function testPromiseWithThrowingChromePromiseInit: IJSPromise; // Promise function testPromiseWithThrowingContentPromiseInit(const aFunc: TFunction): IJSPromise; // Promise function testPromiseWithDOMExceptionThrowingPromiseInit: IJSPromise; // Promise function testPromiseWithThrowingChromeThenFunction: IJSPromise; // Promise function testPromiseWithThrowingContentThenFunction(const aFunc: TAnyCallback): IJSPromise; // Promise function testPromiseWithDOMExceptionThrowingThenFunction: IJSPromise; // Promise function testPromiseWithThrowingChromeThenable: IJSPromise; // Promise function testPromiseWithThrowingContentThenable(aThenable: IJSObject): IJSPromise; // Promise function testPromiseWithDOMExceptionThrowingThenable: IJSPromise; // Promise property anyArg: Variant read _GetanyArg; property objectArg: IJSObject read _GetobjectArg; property anyAttr: Variant read _GetanyAttr write _SetanyAttr; property objectAttr: IJSObject read _GetobjectAttr write _SetobjectAttr; property onsomething: TEventHandler read _Getonsomething write _Setonsomething; end; TJSTestInterfaceJS = class(TJSEventTarget,IJSTestInterfaceJS) Private Protected function _GetanyArg: Variant; function _GetobjectArg: IJSObject; function _GetanyAttr: Variant; function _GetobjectAttr: IJSObject; function _Getonsomething: TEventHandler; procedure _SetanyAttr(const aValue: Variant); procedure _SetobjectAttr(const aValue: IJSObject); procedure _Setonsomething(const aValue: TEventHandler); Public constructor Create(const aAnyArg: Variant; aObjectArg: IJSObject; const aDictionaryArg: IJSTestInterfaceJSDictionary); overload; constructor Create; overload; constructor Create(const aAnyArg: Variant); overload; constructor Create(const aAnyArg: Variant; aObjectArg: IJSObject); overload; function getDictionaryArg: IJSTestInterfaceJSDictionary; overload; function getDictionaryAttr: IJSTestInterfaceJSDictionary; overload; procedure setDictionaryAttr(const aDict: IJSTestInterfaceJSDictionary); overload; procedure setDictionaryAttr; overload; function pingPongAny(const aArg: Variant): Variant; overload; function pingPongObject(aObj: IJSObject): IJSObject; overload; function pingPongObjectOrString(const aObjOrString: UnicodeString): Variant; overload; function pingPongObjectOrString(aObjOrString: IJSObject): Variant; overload; function pingPongDictionary(const aDict: IJSTestInterfaceJSDictionary): IJSTestInterfaceJSDictionary; overload; function pingPongDictionary: IJSTestInterfaceJSDictionary; overload; function pingPongDictionaryOrLong(aDictOrLong: LongInt): LongInt; overload; function pingPongDictionaryOrLong: LongInt; overload; function pingPongDictionaryOrLong(const aDictOrLong: IJSTestInterfaceJSUnionableDictionary): LongInt; overload; function pingPongRecord(aRec: IJSObject): UnicodeString; overload; function objectSequenceLength(const aSeq: TIJSObjectDynArray): LongInt; overload; function anySequenceLength(const aSeq: TVariantDynArray): LongInt; overload; function getCallerPrincipal: UnicodeString; overload; function convertSVS(const aSvs: UnicodeString): UnicodeString; overload; function pingPongUnion(aSomething: LongInt): TTestInterfaceJS_pingPongUnion_Type; overload; function pingPongUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnion_Type; overload; function pingPongUnionContainingNull(const aSomething: UnicodeString): TTestInterfaceJS_pingPongUnionContainingNull_Type; overload; function pingPongUnionContainingNull(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnionContainingNull_Type; overload; function pingPongNullableUnion(aSomething: LongInt): TTestInterfaceJS_pingPongNullableUnion_Type; overload; function pingPongNullableUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongNullableUnion_Type; overload; function returnBadUnion: TTestInterfaceJS_returnBadUnion_Type; overload; procedure testSequenceOverload(const aArg: TUnicodeStringDynArray); overload; procedure testSequenceOverload(const aArg: UnicodeString); overload; procedure testSequenceUnion(const aArg: UnicodeString); overload; procedure testSequenceUnion(const aArg: TUnicodeStringDynArray); overload; procedure testThrowError; overload; procedure testThrowDOMException; overload; procedure testThrowTypeError; overload; procedure testThrowCallbackError(const aCallback: TFunction); overload; procedure testThrowXraySelfHosted; overload; procedure testThrowSelfHosted; overload; function testPromiseWithThrowingChromePromiseInit: IJSPromise; overload; // Promise function testPromiseWithThrowingContentPromiseInit(const aFunc: TFunction): IJSPromise; overload; // Promise function testPromiseWithDOMExceptionThrowingPromiseInit: IJSPromise; overload; // Promise function testPromiseWithThrowingChromeThenFunction: IJSPromise; overload; // Promise function testPromiseWithThrowingContentThenFunction(const aFunc: TAnyCallback): IJSPromise; overload; // Promise function testPromiseWithDOMExceptionThrowingThenFunction: IJSPromise; overload; // Promise function testPromiseWithThrowingChromeThenable: IJSPromise; overload; // Promise function testPromiseWithThrowingContentThenable(aThenable: IJSObject): IJSPromise; overload; // Promise function testPromiseWithDOMExceptionThrowingThenable: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestInterfaceJS; property anyArg: Variant read _GetanyArg; property objectArg: IJSObject read _GetobjectArg; property anyAttr: Variant read _GetanyAttr write _SetanyAttr; property objectAttr: IJSObject read _GetobjectAttr write _SetobjectAttr; property onsomething: TEventHandler read _Getonsomething write _Setonsomething; end; { -------------------------------------------------------------------- TJSTextDecoder --------------------------------------------------------------------} IJSTextDecoder = interface(IJSTextDecoderCommon) ['{7029ADC7-F33E-35BA-B1DD-BE29BC3D8C00}'] function decode(aInput: IJSBufferSource; const aOptions: IJSTextDecodeOptions): UnicodeString; function decode: UnicodeString; function decode(aInput: IJSBufferSource): UnicodeString; end; TJSTextDecoder = class(TJSTextDecoderCommon,IJSTextDecoder) Private Protected Public constructor Create(const aLabel_: UnicodeString; const aOptions: IJSTextDecoderOptions); overload; constructor Create; overload; constructor Create(const aLabel_: UnicodeString); overload; function decode(aInput: IJSBufferSource; const aOptions: IJSTextDecodeOptions): UnicodeString; overload; function decode: UnicodeString; overload; function decode(aInput: IJSBufferSource): UnicodeString; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextDecoder; end; { -------------------------------------------------------------------- TJSTextEncoder --------------------------------------------------------------------} IJSTextEncoder = interface(IJSTextEncoderCommon) ['{0029ADCC-C481-32A3-BEBE-A5CC9C3D8C02}'] function encode(const aInput: UTF8String): IJSUint8Array; function encode: IJSUint8Array; function encodeInto(aSource: IJSString; aDestination: IJSUint8Array): IJSTextEncoderEncodeIntoResult; end; TJSTextEncoder = class(TJSTextEncoderCommon,IJSTextEncoder) Private Protected Public constructor Create; overload; function encode(const aInput: UTF8String): IJSUint8Array; overload; function encode: IJSUint8Array; overload; function encodeInto(aSource: IJSString; aDestination: IJSUint8Array): IJSTextEncoderEncodeIntoResult; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextEncoder; end; { -------------------------------------------------------------------- TJSTextTrack --------------------------------------------------------------------} IJSTextTrack = interface(IJSEventTarget) ['{ABECB1C0-1A84-37A6-9385-9BF16B9FB721}'] function _Getkind: TTextTrackKind; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getid: UnicodeString; function _GetinBandMetadataTrackDispatchType: UnicodeString; function _Getmode: TTextTrackMode; function _Getcues: IJSTextTrackCueList; function _GetactiveCues: IJSTextTrackCueList; function _Getoncuechange: TEventHandler; procedure _Setmode(const aValue: TTextTrackMode); procedure _Setoncuechange(const aValue: TEventHandler); procedure addCue(aCue: IJSVTTCue); procedure removeCue(aCue: IJSVTTCue); property kind: TTextTrackKind read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property id: UnicodeString read _Getid; property inBandMetadataTrackDispatchType: UnicodeString read _GetinBandMetadataTrackDispatchType; property mode: TTextTrackMode read _Getmode write _Setmode; property cues: IJSTextTrackCueList read _Getcues; property activeCues: IJSTextTrackCueList read _GetactiveCues; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; end; TJSTextTrack = class(TJSEventTarget,IJSTextTrack) Private Protected function _Getkind: TTextTrackKind; function _Getlabel_: UnicodeString; function _Getlanguage: UnicodeString; function _Getid: UnicodeString; function _GetinBandMetadataTrackDispatchType: UnicodeString; function _Getmode: TTextTrackMode; function _Getcues: IJSTextTrackCueList; function _GetactiveCues: IJSTextTrackCueList; function _Getoncuechange: TEventHandler; procedure _Setmode(const aValue: TTextTrackMode); procedure _Setoncuechange(const aValue: TEventHandler); Public procedure addCue(aCue: IJSVTTCue); overload; procedure removeCue(aCue: IJSVTTCue); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextTrack; property kind: TTextTrackKind read _Getkind; property label_: UnicodeString read _Getlabel_; property language: UnicodeString read _Getlanguage; property id: UnicodeString read _Getid; property inBandMetadataTrackDispatchType: UnicodeString read _GetinBandMetadataTrackDispatchType; property mode: TTextTrackMode read _Getmode write _Setmode; property cues: IJSTextTrackCueList read _Getcues; property activeCues: IJSTextTrackCueList read _GetactiveCues; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; end; { -------------------------------------------------------------------- TJSTextTrackCue --------------------------------------------------------------------} IJSTextTrackCue = interface(IJSEventTarget) ['{F5AA948D-188D-38F7-BCAE-A6DFB57E4843}'] function _Gettrack: IJSTextTrack; function _Getid: UnicodeString; function _GetstartTime: Double; function _GetendTime: Double; function _GetpauseOnExit: Boolean; function _Getonenter: TEventHandler; function _Getonexit: TEventHandler; procedure _Setid(const aValue: UnicodeString); procedure _SetstartTime(const aValue: Double); procedure _SetendTime(const aValue: Double); procedure _SetpauseOnExit(const aValue: Boolean); procedure _Setonenter(const aValue: TEventHandler); procedure _Setonexit(const aValue: TEventHandler); property track: IJSTextTrack read _Gettrack; property id: UnicodeString read _Getid write _Setid; property startTime: Double read _GetstartTime write _SetstartTime; property endTime: Double read _GetendTime write _SetendTime; property pauseOnExit: Boolean read _GetpauseOnExit write _SetpauseOnExit; property onenter: TEventHandler read _Getonenter write _Setonenter; property onexit: TEventHandler read _Getonexit write _Setonexit; end; TJSTextTrackCue = class(TJSEventTarget,IJSTextTrackCue) Private Protected function _Gettrack: IJSTextTrack; function _Getid: UnicodeString; function _GetstartTime: Double; function _GetendTime: Double; function _GetpauseOnExit: Boolean; function _Getonenter: TEventHandler; function _Getonexit: TEventHandler; procedure _Setid(const aValue: UnicodeString); procedure _SetstartTime(const aValue: Double); procedure _SetendTime(const aValue: Double); procedure _SetpauseOnExit(const aValue: Boolean); procedure _Setonenter(const aValue: TEventHandler); procedure _Setonexit(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextTrackCue; property track: IJSTextTrack read _Gettrack; property id: UnicodeString read _Getid write _Setid; property startTime: Double read _GetstartTime write _SetstartTime; property endTime: Double read _GetendTime write _SetendTime; property pauseOnExit: Boolean read _GetpauseOnExit write _SetpauseOnExit; property onenter: TEventHandler read _Getonenter write _Setonenter; property onexit: TEventHandler read _Getonexit write _Setonexit; end; { -------------------------------------------------------------------- TJSTextTrackList --------------------------------------------------------------------} IJSTextTrackList = interface(IJSEventTarget) ['{9C31B9EE-C9BD-34BD-8C6E-22C12253A160}'] function _Getlength_: Cardinal; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); function GetDefault(aIndex: Cardinal): IJSTextTrack; function getTrackById(const aId: UnicodeString): IJSTextTrack; property length_: Cardinal read _Getlength_; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; TJSTextTrackList = class(TJSEventTarget,IJSTextTrackList) Private Protected function _Getlength_: Cardinal; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); Public function GetDefault(aIndex: Cardinal): IJSTextTrack; overload; function getTrackById(const aId: UnicodeString): IJSTextTrack; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextTrackList; property length_: Cardinal read _Getlength_; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; { -------------------------------------------------------------------- TJSTimeEvent --------------------------------------------------------------------} IJSTimeEvent = interface(IJSEvent) ['{812FDD94-E17D-341C-9F05-AD0D876813D7}'] function _Getdetail: LongInt; function _Getview: IJSWindowProxy; procedure initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow; aADetail: LongInt); procedure initTimeEvent(const aAType: UnicodeString); procedure initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow); property detail: LongInt read _Getdetail; property view: IJSWindowProxy read _Getview; end; TJSTimeEvent = class(TJSEvent,IJSTimeEvent) Private Protected function _Getdetail: LongInt; function _Getview: IJSWindowProxy; Public procedure initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow; aADetail: LongInt); overload; procedure initTimeEvent(const aAType: UnicodeString); overload; procedure initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTimeEvent; property detail: LongInt read _Getdetail; property view: IJSWindowProxy read _Getview; end; { -------------------------------------------------------------------- TJSToggleEvent --------------------------------------------------------------------} IJSToggleEvent = interface(IJSEvent) ['{9B7F9FE8-B229-3125-AECA-6F1E1BB28A3E}'] function _GetoldState: UnicodeString; function _GetnewState: UnicodeString; property oldState: UnicodeString read _GetoldState; property newState: UnicodeString read _GetnewState; end; TJSToggleEvent = class(TJSEvent,IJSToggleEvent) Private Protected function _GetoldState: UnicodeString; function _GetnewState: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSToggleEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSToggleEvent; property oldState: UnicodeString read _GetoldState; property newState: UnicodeString read _GetnewState; end; { -------------------------------------------------------------------- TJSTrackEvent --------------------------------------------------------------------} // Union of VideoTrack, AudioTrack, TextTrack TTrackEvent_track_Type = Variant; IJSTrackEvent = interface(IJSEvent) ['{D0F41CB5-589A-365F-9E3D-4DB0BC590D57}'] function _Gettrack: TTrackEvent_track_Type; property track: TTrackEvent_track_Type read _Gettrack; end; TJSTrackEvent = class(TJSEvent,IJSTrackEvent) Private Protected function _Gettrack: TTrackEvent_track_Type; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTrackEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTrackEvent; property track: TTrackEvent_track_Type read _Gettrack; end; { -------------------------------------------------------------------- TJSTransitionEvent --------------------------------------------------------------------} IJSTransitionEvent = interface(IJSEvent) ['{F5C35D1C-263F-3D2A-996D-326FAA21E6A4}'] function _GetpropertyName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; property propertyName: UnicodeString read _GetpropertyName; property elapsedTime: Single read _GetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement; end; TJSTransitionEvent = class(TJSEvent,IJSTransitionEvent) Private Protected function _GetpropertyName: UnicodeString; function _GetelapsedTime: Single; function _GetpseudoElement: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTransitionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTransitionEvent; property propertyName: UnicodeString read _GetpropertyName; property elapsedTime: Single read _GetelapsedTime; property pseudoElement: UnicodeString read _GetpseudoElement; end; { -------------------------------------------------------------------- TJSUIEvent --------------------------------------------------------------------} IJSUIEvent = interface(IJSEvent) ['{E1117B61-9923-311E-BFA0-D6A31F90F3F4}'] function _Getview: IJSWindowProxy; function _Getdetail: LongInt; function _GetlayerX: LongInt; function _GetlayerY: LongInt; function _Getwhich: Cardinal; function _GetrangeParent: IJSNode; function _GetrangeOffset: LongInt; procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); procedure initUIEvent(const aAType: UnicodeString); procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean); procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean); procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow); property view: IJSWindowProxy read _Getview; property detail: LongInt read _Getdetail; property layerX: LongInt read _GetlayerX; property layerY: LongInt read _GetlayerY; property which: Cardinal read _Getwhich; property rangeParent: IJSNode read _GetrangeParent; property rangeOffset: LongInt read _GetrangeOffset; end; TJSUIEvent = class(TJSEvent,IJSUIEvent) Private Protected function _Getview: IJSWindowProxy; function _Getdetail: LongInt; function _GetlayerX: LongInt; function _GetlayerY: LongInt; function _Getwhich: Cardinal; function _GetrangeParent: IJSNode; function _GetrangeOffset: LongInt; Public Const SCROLL_PAGE_UP = -32768; SCROLL_PAGE_DOWN = 32768; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSUIEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); overload; procedure initUIEvent(const aAType: UnicodeString); overload; procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean); overload; procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean); overload; procedure initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUIEvent; property view: IJSWindowProxy read _Getview; property detail: LongInt read _Getdetail; property layerX: LongInt read _GetlayerX; property layerY: LongInt read _GetlayerY; property which: Cardinal read _Getwhich; property rangeParent: IJSNode read _GetrangeParent; property rangeOffset: LongInt read _GetrangeOffset; end; { -------------------------------------------------------------------- TJSUserProximityEvent --------------------------------------------------------------------} IJSUserProximityEvent = interface(IJSEvent) ['{F0F02E20-64CE-3068-9786-9A26DF885EAE}'] function _Getnear: Boolean; property near: Boolean read _Getnear; end; TJSUserProximityEvent = class(TJSEvent,IJSUserProximityEvent) Private Protected function _Getnear: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSUserProximityEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSUserProximityEvent; property near: Boolean read _Getnear; end; { -------------------------------------------------------------------- TJSVideoDecoder --------------------------------------------------------------------} IJSVideoDecoder = interface(IJSEventTarget) ['{720038D1-3D7A-3462-A2CC-DF999EFD8C2E}'] function _Getstate: TCodecState; function _GetdecodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); procedure configure(const aConfig: IJSVideoDecoderConfig); procedure decode(aChunk: IJSEncodedVideoChunk); function flush: IJSPromise; // Promise procedure reset; procedure close; property state: TCodecState read _Getstate; property decodeQueueSize: Cardinal read _GetdecodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; TJSVideoDecoder = class(TJSEventTarget,IJSVideoDecoder) Private Protected function _Getstate: TCodecState; function _GetdecodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); Public constructor Create(const aInit: IJSVideoDecoderInit); overload; procedure configure(const aConfig: IJSVideoDecoderConfig); overload; procedure decode(aChunk: IJSEncodedVideoChunk); overload; function flush: IJSPromise; overload; // Promise procedure reset; overload; procedure close; overload; function isConfigSupported(const aConfig: IJSVideoDecoderConfig): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoDecoder; property state: TCodecState read _Getstate; property decodeQueueSize: Cardinal read _GetdecodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; { -------------------------------------------------------------------- TJSVideoEncoder --------------------------------------------------------------------} IJSVideoEncoder = interface(IJSEventTarget) ['{720038D1-3D83-3982-A2CC-E03D9EFD8C2E}'] function _Getstate: TCodecState; function _GetencodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); procedure configure(const aConfig: IJSVideoEncoderConfig); procedure encode(aFrame: IJSVideoFrame; const aOptions: IJSVideoEncoderEncodeOptions); procedure encode(aFrame: IJSVideoFrame); function flush: IJSPromise; // Promise procedure reset; procedure close; property state: TCodecState read _Getstate; property encodeQueueSize: Cardinal read _GetencodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; TJSVideoEncoder = class(TJSEventTarget,IJSVideoEncoder) Private Protected function _Getstate: TCodecState; function _GetencodeQueueSize: Cardinal; function _Getondequeue: TEventHandler; procedure _Setondequeue(const aValue: TEventHandler); Public constructor Create(const aInit: IJSVideoEncoderInit); overload; procedure configure(const aConfig: IJSVideoEncoderConfig); overload; procedure encode(aFrame: IJSVideoFrame; const aOptions: IJSVideoEncoderEncodeOptions); overload; procedure encode(aFrame: IJSVideoFrame); overload; function flush: IJSPromise; overload; // Promise procedure reset; overload; procedure close; overload; function isConfigSupported(const aConfig: IJSVideoEncoderConfig): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoEncoder; property state: TCodecState read _Getstate; property encodeQueueSize: Cardinal read _GetencodeQueueSize; property ondequeue: TEventHandler read _Getondequeue write _Setondequeue; end; { -------------------------------------------------------------------- TJSVideoTrackList --------------------------------------------------------------------} IJSVideoTrackList = interface(IJSEventTarget) ['{4722259F-ECEA-390A-A162-1CE2380F78D5}'] function _Getlength_: Cardinal; function _GetselectedIndex: LongInt; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); function GetDefault(aIndex: Cardinal): IJSVideoTrack; function getTrackById(const aId: UnicodeString): IJSVideoTrack; property length_: Cardinal read _Getlength_; property selectedIndex: LongInt read _GetselectedIndex; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; TJSVideoTrackList = class(TJSEventTarget,IJSVideoTrackList) Private Protected function _Getlength_: Cardinal; function _GetselectedIndex: LongInt; function _Getonchange: TEventHandler; function _Getonaddtrack: TEventHandler; function _Getonremovetrack: TEventHandler; procedure _Setonchange(const aValue: TEventHandler); procedure _Setonaddtrack(const aValue: TEventHandler); procedure _Setonremovetrack(const aValue: TEventHandler); Public function GetDefault(aIndex: Cardinal): IJSVideoTrack; overload; function getTrackById(const aId: UnicodeString): IJSVideoTrack; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVideoTrackList; property length_: Cardinal read _Getlength_; property selectedIndex: LongInt read _GetselectedIndex; property onchange: TEventHandler read _Getonchange write _Setonchange; property onaddtrack: TEventHandler read _Getonaddtrack write _Setonaddtrack; property onremovetrack: TEventHandler read _Getonremovetrack write _Setonremovetrack; end; { -------------------------------------------------------------------- TJSVisualViewport --------------------------------------------------------------------} IJSVisualViewport = interface(IJSEventTarget) ['{B22BE921-5B5D-3E05-A183-9FE8D07C55DD}'] function _GetoffsetLeft: Double; function _GetoffsetTop: Double; function _GetpageLeft: Double; function _GetpageTop: Double; function _Getwidth: Double; function _Getheight: Double; function _Getscale: Double; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); property offsetLeft: Double read _GetoffsetLeft; property offsetTop: Double read _GetoffsetTop; property pageLeft: Double read _GetpageLeft; property pageTop: Double read _GetpageTop; property width: Double read _Getwidth; property height: Double read _Getheight; property scale: Double read _Getscale; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; end; TJSVisualViewport = class(TJSEventTarget,IJSVisualViewport) Private Protected function _GetoffsetLeft: Double; function _GetoffsetTop: Double; function _GetpageLeft: Double; function _GetpageTop: Double; function _Getwidth: Double; function _Getheight: Double; function _Getscale: Double; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVisualViewport; property offsetLeft: Double read _GetoffsetLeft; property offsetTop: Double read _GetoffsetTop; property pageLeft: Double read _GetpageLeft; property pageTop: Double read _GetpageTop; property width: Double read _Getwidth; property height: Double read _Getheight; property scale: Double read _Getscale; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; end; { -------------------------------------------------------------------- TJSVRDisplay --------------------------------------------------------------------} TJSVRLayerDynArray = IJSArray; // array of VRLayer IJSVRDisplay = interface(IJSEventTarget) ['{24A143AA-91BE-33D2-9386-5D0949E43467}'] function _GetisConnected: Boolean; function _GetisPresenting: Boolean; function _Getcapabilities: IJSVRDisplayCapabilities; function _GetstageParameters: IJSVRStageParameters; function _GetdisplayId: Cardinal; function _GetdisplayName: UnicodeString; function _GetdepthNear: Double; function _GetdepthFar: Double; procedure _SetdepthNear(const aValue: Double); procedure _SetdepthFar(const aValue: Double); function getEyeParameters(aWhichEye: TVREye): IJSVREyeParameters; function getFrameData(aFrameData: IJSVRFrameData): Boolean; function getPose: IJSVRPose; procedure resetPose; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; procedure cancelAnimationFrame(aHandle: LongInt); function requestPresent(const aLayers: TJSVRLayerDynArray): IJSPromise; // Promise function exitPresent: IJSPromise; // Promise function getLayers: TJSVRLayerDynArray; procedure submitFrame; property isConnected: Boolean read _GetisConnected; property isPresenting: Boolean read _GetisPresenting; property capabilities: IJSVRDisplayCapabilities read _Getcapabilities; property stageParameters: IJSVRStageParameters read _GetstageParameters; property displayId: Cardinal read _GetdisplayId; property displayName: UnicodeString read _GetdisplayName; property depthNear: Double read _GetdepthNear write _SetdepthNear; property depthFar: Double read _GetdepthFar write _SetdepthFar; end; TJSVRDisplay = class(TJSEventTarget,IJSVRDisplay) Private Protected function _GetisConnected: Boolean; function _GetisPresenting: Boolean; function _Getcapabilities: IJSVRDisplayCapabilities; function _GetstageParameters: IJSVRStageParameters; function _GetdisplayId: Cardinal; function _GetdisplayName: UnicodeString; function _GetdepthNear: Double; function _GetdepthFar: Double; procedure _SetdepthNear(const aValue: Double); procedure _SetdepthFar(const aValue: Double); Public function getEyeParameters(aWhichEye: TVREye): IJSVREyeParameters; overload; function getFrameData(aFrameData: IJSVRFrameData): Boolean; overload; function getPose: IJSVRPose; overload; procedure resetPose; overload; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; overload; procedure cancelAnimationFrame(aHandle: LongInt); overload; function requestPresent(const aLayers: TJSVRLayerDynArray): IJSPromise; overload; // Promise function exitPresent: IJSPromise; overload; // Promise function getLayers: TJSVRLayerDynArray; overload; procedure submitFrame; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRDisplay; property isConnected: Boolean read _GetisConnected; property isPresenting: Boolean read _GetisPresenting; property capabilities: IJSVRDisplayCapabilities read _Getcapabilities; property stageParameters: IJSVRStageParameters read _GetstageParameters; property displayId: Cardinal read _GetdisplayId; property displayName: UnicodeString read _GetdisplayName; property depthNear: Double read _GetdepthNear write _SetdepthNear; property depthFar: Double read _GetdepthFar write _SetdepthFar; end; { -------------------------------------------------------------------- TJSVRDisplayEvent --------------------------------------------------------------------} IJSVRDisplayEvent = interface(IJSEvent) ['{AB4DE7D1-4280-350D-B0B4-A8D7021AF807}'] function _Getdisplay: IJSVRDisplay; function _Getreason: TVRDisplayEventReason; property display: IJSVRDisplay read _Getdisplay; property reason: TVRDisplayEventReason read _Getreason; end; TJSVRDisplayEvent = class(TJSEvent,IJSVRDisplayEvent) Private Protected function _Getdisplay: IJSVRDisplay; function _Getreason: TVRDisplayEventReason; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSVRDisplayEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVRDisplayEvent; property display: IJSVRDisplay read _Getdisplay; property reason: TVRDisplayEventReason read _Getreason; end; { -------------------------------------------------------------------- TJSWakeLockSentinel --------------------------------------------------------------------} IJSWakeLockSentinel = interface(IJSEventTarget) ['{713641F1-B797-3461-B7E9-C9EC5CFB5B50}'] function _Getreleased: Boolean; function _Gettype_: TWakeLockType; function _Getonrelease: TEventHandler; procedure _Setonrelease(const aValue: TEventHandler); function release: IJSPromise; // Promise property released: Boolean read _Getreleased; property type_: TWakeLockType read _Gettype_; property onrelease: TEventHandler read _Getonrelease write _Setonrelease; end; TJSWakeLockSentinel = class(TJSEventTarget,IJSWakeLockSentinel) Private Protected function _Getreleased: Boolean; function _Gettype_: TWakeLockType; function _Getonrelease: TEventHandler; procedure _Setonrelease(const aValue: TEventHandler); Public function release: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWakeLockSentinel; property released: Boolean read _Getreleased; property type_: TWakeLockType read _Gettype_; property onrelease: TEventHandler read _Getonrelease write _Setonrelease; end; { -------------------------------------------------------------------- TJSPublicKeyCredential --------------------------------------------------------------------} IJSPublicKeyCredential = interface(IJSCredential) ['{E5335C4B-DC3C-3DC9-8C33-6EC05DA193B3}'] function _GetrawId: IJSArrayBuffer; function _Getresponse: IJSAuthenticatorResponse; function _GetauthenticatorAttachment: UnicodeString; function getClientExtensionResults: IJSAuthenticationExtensionsClientOutputs; function toJSON: IJSObject; property rawId: IJSArrayBuffer read _GetrawId; property response: IJSAuthenticatorResponse read _Getresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment; end; TJSPublicKeyCredential = class(TJSCredential,IJSPublicKeyCredential) Private Protected function _GetrawId: IJSArrayBuffer; function _Getresponse: IJSAuthenticatorResponse; function _GetauthenticatorAttachment: UnicodeString; Public function getClientExtensionResults: IJSAuthenticationExtensionsClientOutputs; overload; function isConditionalMediationAvailable: IJSPromise; overload; // Promise function toJSON: IJSObject; overload; function isUserVerifyingPlatformAuthenticatorAvailable: IJSPromise; overload; // Promise function parseCreationOptionsFromJSON(const aOptions: IJSPublicKeyCredentialCreationOptionsJSON): IJSPublicKeyCredentialCreationOptions; overload; function parseRequestOptionsFromJSON(const aOptions: IJSPublicKeyCredentialRequestOptionsJSON): IJSPublicKeyCredentialRequestOptions; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPublicKeyCredential; property rawId: IJSArrayBuffer read _GetrawId; property response: IJSAuthenticatorResponse read _Getresponse; property authenticatorAttachment: UnicodeString read _GetauthenticatorAttachment; end; { -------------------------------------------------------------------- TJSAuthenticatorAttestationResponse --------------------------------------------------------------------} IJSAuthenticatorAttestationResponse = interface(IJSAuthenticatorResponse) ['{8DAB0507-197C-320D-8BD1-9A4B77D66D3C}'] function _GetattestationObject: IJSArrayBuffer; function getTransports: TUnicodeStringDynArray; function getAuthenticatorData: IJSArrayBuffer; function getPublicKey: IJSArrayBuffer; function getPublicKeyAlgorithm: TCOSEAlgorithmIdentifier; property attestationObject: IJSArrayBuffer read _GetattestationObject; end; TJSAuthenticatorAttestationResponse = class(TJSAuthenticatorResponse,IJSAuthenticatorAttestationResponse) Private Protected function _GetattestationObject: IJSArrayBuffer; Public function getTransports: TUnicodeStringDynArray; overload; function getAuthenticatorData: IJSArrayBuffer; overload; function getPublicKey: IJSArrayBuffer; overload; function getPublicKeyAlgorithm: TCOSEAlgorithmIdentifier; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorAttestationResponse; property attestationObject: IJSArrayBuffer read _GetattestationObject; end; { -------------------------------------------------------------------- TJSAuthenticatorAssertionResponse --------------------------------------------------------------------} IJSAuthenticatorAssertionResponse = interface(IJSAuthenticatorResponse) ['{55925D81-5399-397C-959B-572E7C07DC3C}'] function _GetauthenticatorData: IJSArrayBuffer; function _Getsignature: IJSArrayBuffer; function _GetuserHandle: IJSArrayBuffer; property authenticatorData: IJSArrayBuffer read _GetauthenticatorData; property signature: IJSArrayBuffer read _Getsignature; property userHandle: IJSArrayBuffer read _GetuserHandle; end; TJSAuthenticatorAssertionResponse = class(TJSAuthenticatorResponse,IJSAuthenticatorAssertionResponse) Private Protected function _GetauthenticatorData: IJSArrayBuffer; function _Getsignature: IJSArrayBuffer; function _GetuserHandle: IJSArrayBuffer; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAuthenticatorAssertionResponse; property authenticatorData: IJSArrayBuffer read _GetauthenticatorData; property signature: IJSArrayBuffer read _Getsignature; property userHandle: IJSArrayBuffer read _GetuserHandle; end; { -------------------------------------------------------------------- TJSWebGLContextEvent --------------------------------------------------------------------} IJSWebGLContextEvent = interface(IJSEvent) ['{A5D3378A-06AF-36A6-B91F-B74FD3041E56}'] function _GetstatusMessage: UnicodeString; property statusMessage: UnicodeString read _GetstatusMessage; end; TJSWebGLContextEvent = class(TJSEvent,IJSWebGLContextEvent) Private Protected function _GetstatusMessage: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInit: IJSWebGLContextEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLContextEvent; property statusMessage: UnicodeString read _GetstatusMessage; end; { -------------------------------------------------------------------- TJSWebGLRenderingContext --------------------------------------------------------------------} IJSWebGLRenderingContext = interface(IJSWebGLRenderingContextBase) ['{934B04AF-A7AC-3EB4-9728-0BCBA82CAAF2}'] procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aData: IJSArrayBuffer; aUsage: TGLenum); procedure bufferData(aTarget: TGLenum; aData: IJSArrayBufferView; aUsage: TGLenum); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBuffer); procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBufferView); procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aData: IJSArrayBufferView); procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aData: IJSArrayBufferView); procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); end; TJSWebGLRenderingContext = class(TJSWebGLRenderingContextBase,IJSWebGLRenderingContext) Private Protected Public procedure bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aData: IJSArrayBuffer; aUsage: TGLenum); overload; procedure bufferData(aTarget: TGLenum; aData: IJSArrayBufferView; aUsage: TGLenum); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBuffer); overload; procedure bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBufferView); overload; procedure compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aData: IJSArrayBufferView); overload; procedure compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aData: IJSArrayBufferView); overload; procedure readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); overload; procedure texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); overload; procedure texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); overload; procedure uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); overload; procedure uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); overload; procedure uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebGLRenderingContext; end; { -------------------------------------------------------------------- TJSGPUDevice --------------------------------------------------------------------} IJSGPUDevice = interface(IJSEventTarget) ['{5F825503-86AF-3453-8355-5F1B71874B24}'] function _Getfeatures: IJSGPUSupportedFeatures; function _Getlimits: IJSGPUSupportedLimits; function _Getqueue: IJSGPUQueue; function _Getlost: IJSPromise; function _Getonuncapturederror: TEventHandler; function _Getlabel_: UnicodeString; procedure _Setonuncapturederror(const aValue: TEventHandler); procedure _Setlabel_(const aValue: UnicodeString); procedure destroy; function createBuffer(const aDescriptor: IJSGPUBufferDescriptor): IJSGPUBuffer; function createTexture(const aDescriptor: IJSGPUTextureDescriptor): IJSGPUTexture; function createSampler(const aDescriptor: IJSGPUSamplerDescriptor): IJSGPUSampler; function createSampler: IJSGPUSampler; function createBindGroupLayout(const aDescriptor: IJSGPUBindGroupLayoutDescriptor): IJSGPUBindGroupLayout; function createPipelineLayout(const aDescriptor: IJSGPUPipelineLayoutDescriptor): IJSGPUPipelineLayout; function createBindGroup(const aDescriptor: IJSGPUBindGroupDescriptor): IJSGPUBindGroup; function createShaderModule(const aDescriptor: IJSGPUShaderModuleDescriptor): IJSGPUShaderModule; function createComputePipeline(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSGPUComputePipeline; function createRenderPipeline(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSGPURenderPipeline; function createComputePipelineAsync(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSPromise; // Promise function createRenderPipelineAsync(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSPromise; // Promise function createCommandEncoder(const aDescriptor: IJSGPUCommandEncoderDescriptor): IJSGPUCommandEncoder; function createCommandEncoder: IJSGPUCommandEncoder; function createRenderBundleEncoder(const aDescriptor: IJSGPURenderBundleEncoderDescriptor): IJSGPURenderBundleEncoder; procedure pushErrorScope(aFilter: TGPUErrorFilter); function popErrorScope: IJSPromise; // Promise property features: IJSGPUSupportedFeatures read _Getfeatures; property limits: IJSGPUSupportedLimits read _Getlimits; property queue: IJSGPUQueue read _Getqueue; property lost: IJSPromise read _Getlost; property onuncapturederror: TEventHandler read _Getonuncapturederror write _Setonuncapturederror; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSGPUDevice = class(TJSEventTarget,IJSGPUDevice) Private Protected function _Getfeatures: IJSGPUSupportedFeatures; function _Getlimits: IJSGPUSupportedLimits; function _Getqueue: IJSGPUQueue; function _Getlost: IJSPromise; function _Getonuncapturederror: TEventHandler; function _Getlabel_: UnicodeString; procedure _Setonuncapturederror(const aValue: TEventHandler); procedure _Setlabel_(const aValue: UnicodeString); Public procedure destroy; overload; function createBuffer(const aDescriptor: IJSGPUBufferDescriptor): IJSGPUBuffer; overload; function createTexture(const aDescriptor: IJSGPUTextureDescriptor): IJSGPUTexture; overload; function createSampler(const aDescriptor: IJSGPUSamplerDescriptor): IJSGPUSampler; overload; function createSampler: IJSGPUSampler; overload; function createBindGroupLayout(const aDescriptor: IJSGPUBindGroupLayoutDescriptor): IJSGPUBindGroupLayout; overload; function createPipelineLayout(const aDescriptor: IJSGPUPipelineLayoutDescriptor): IJSGPUPipelineLayout; overload; function createBindGroup(const aDescriptor: IJSGPUBindGroupDescriptor): IJSGPUBindGroup; overload; function createShaderModule(const aDescriptor: IJSGPUShaderModuleDescriptor): IJSGPUShaderModule; overload; function createComputePipeline(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSGPUComputePipeline; overload; function createRenderPipeline(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSGPURenderPipeline; overload; function createComputePipelineAsync(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSPromise; overload; // Promise function createRenderPipelineAsync(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSPromise; overload; // Promise function createCommandEncoder(const aDescriptor: IJSGPUCommandEncoderDescriptor): IJSGPUCommandEncoder; overload; function createCommandEncoder: IJSGPUCommandEncoder; overload; function createRenderBundleEncoder(const aDescriptor: IJSGPURenderBundleEncoderDescriptor): IJSGPURenderBundleEncoder; overload; procedure pushErrorScope(aFilter: TGPUErrorFilter); overload; function popErrorScope: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUDevice; property features: IJSGPUSupportedFeatures read _Getfeatures; property limits: IJSGPUSupportedLimits read _Getlimits; property queue: IJSGPUQueue read _Getqueue; property lost: IJSPromise read _Getlost; property onuncapturederror: TEventHandler read _Getonuncapturederror write _Setonuncapturederror; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSGPUBuffer --------------------------------------------------------------------} IJSGPUBuffer = interface(IJSGPUObjectBase) ['{DB6EA287-517F-32F8-8164-43535AF5498A}'] function _Getsize: TGPUSize64Out; function _Getusage: TGPUFlagsConstant; function _GetmapState: TGPUBufferMapState; function mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64; aSize: TGPUSize64): IJSPromise; // Promise function mapAsync(aMode: TGPUMapModeFlags): IJSPromise; // Promise function mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64): IJSPromise; // Promise function getMappedRange(aOffset: TGPUSize64; aSize: TGPUSize64): IJSArrayBuffer; function getMappedRange: IJSArrayBuffer; function getMappedRange(aOffset: TGPUSize64): IJSArrayBuffer; procedure unmap; procedure destroy; property size: TGPUSize64Out read _Getsize; property usage: TGPUFlagsConstant read _Getusage; property mapState: TGPUBufferMapState read _GetmapState; end; TJSGPUBuffer = class(TJSGPUObjectBase,IJSGPUBuffer) Private Protected function _Getsize: TGPUSize64Out; function _Getusage: TGPUFlagsConstant; function _GetmapState: TGPUBufferMapState; Public function mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64; aSize: TGPUSize64): IJSPromise; overload; // Promise function mapAsync(aMode: TGPUMapModeFlags): IJSPromise; overload; // Promise function mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64): IJSPromise; overload; // Promise function getMappedRange(aOffset: TGPUSize64; aSize: TGPUSize64): IJSArrayBuffer; overload; function getMappedRange: IJSArrayBuffer; overload; function getMappedRange(aOffset: TGPUSize64): IJSArrayBuffer; overload; procedure unmap; overload; procedure destroy; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBuffer; property size: TGPUSize64Out read _Getsize; property usage: TGPUFlagsConstant read _Getusage; property mapState: TGPUBufferMapState read _GetmapState; end; { -------------------------------------------------------------------- TJSGPUTexture --------------------------------------------------------------------} IJSGPUTexture = interface(IJSGPUObjectBase) ['{67553666-FDE8-336A-B22B-9D408D2C50C0}'] function _Getwidth: TGPUIntegerCoordinateOut; function _Getheight: TGPUIntegerCoordinateOut; function _GetdepthOrArrayLayers: TGPUIntegerCoordinateOut; function _GetmipLevelCount: TGPUIntegerCoordinateOut; function _GetsampleCount: TGPUSize32Out; function _Getdimension: TGPUTextureDimension; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUFlagsConstant; function createView(const aDescriptor: IJSGPUTextureViewDescriptor): IJSGPUTextureView; function createView: IJSGPUTextureView; procedure destroy; property width: TGPUIntegerCoordinateOut read _Getwidth; property height: TGPUIntegerCoordinateOut read _Getheight; property depthOrArrayLayers: TGPUIntegerCoordinateOut read _GetdepthOrArrayLayers; property mipLevelCount: TGPUIntegerCoordinateOut read _GetmipLevelCount; property sampleCount: TGPUSize32Out read _GetsampleCount; property dimension: TGPUTextureDimension read _Getdimension; property format: TGPUTextureFormat read _Getformat; property usage: TGPUFlagsConstant read _Getusage; end; TJSGPUTexture = class(TJSGPUObjectBase,IJSGPUTexture) Private Protected function _Getwidth: TGPUIntegerCoordinateOut; function _Getheight: TGPUIntegerCoordinateOut; function _GetdepthOrArrayLayers: TGPUIntegerCoordinateOut; function _GetmipLevelCount: TGPUIntegerCoordinateOut; function _GetsampleCount: TGPUSize32Out; function _Getdimension: TGPUTextureDimension; function _Getformat: TGPUTextureFormat; function _Getusage: TGPUFlagsConstant; Public function createView(const aDescriptor: IJSGPUTextureViewDescriptor): IJSGPUTextureView; overload; function createView: IJSGPUTextureView; overload; procedure destroy; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTexture; property width: TGPUIntegerCoordinateOut read _Getwidth; property height: TGPUIntegerCoordinateOut read _Getheight; property depthOrArrayLayers: TGPUIntegerCoordinateOut read _GetdepthOrArrayLayers; property mipLevelCount: TGPUIntegerCoordinateOut read _GetmipLevelCount; property sampleCount: TGPUSize32Out read _GetsampleCount; property dimension: TGPUTextureDimension read _Getdimension; property format: TGPUTextureFormat read _Getformat; property usage: TGPUFlagsConstant read _Getusage; end; { -------------------------------------------------------------------- TJSGPUTextureView --------------------------------------------------------------------} IJSGPUTextureView = interface(IJSGPUObjectBase) ['{A28DC1C8-8F43-3868-8ABA-4AC54D92E5A9}'] end; TJSGPUTextureView = class(TJSGPUObjectBase,IJSGPUTextureView) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUTextureView; end; { -------------------------------------------------------------------- TJSGPUSampler --------------------------------------------------------------------} IJSGPUSampler = interface(IJSGPUObjectBase) ['{F0F43EB3-52DF-30E1-A871-F82E89A48332}'] end; TJSGPUSampler = class(TJSGPUObjectBase,IJSGPUSampler) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUSampler; end; { -------------------------------------------------------------------- TJSGPUBindGroupLayout --------------------------------------------------------------------} IJSGPUBindGroupLayout = interface(IJSGPUObjectBase) ['{88B33CDF-DB20-3EFD-B7DC-80A7E22871F8}'] end; TJSGPUBindGroupLayout = class(TJSGPUObjectBase,IJSGPUBindGroupLayout) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroupLayout; end; { -------------------------------------------------------------------- TJSGPUBindGroup --------------------------------------------------------------------} IJSGPUBindGroup = interface(IJSGPUObjectBase) ['{E6CF4A03-3E6D-3AF7-B649-1D3C4AA2A621}'] end; TJSGPUBindGroup = class(TJSGPUObjectBase,IJSGPUBindGroup) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUBindGroup; end; { -------------------------------------------------------------------- TJSGPUPipelineLayout --------------------------------------------------------------------} IJSGPUPipelineLayout = interface(IJSGPUObjectBase) ['{2B7D2823-BB72-3292-8C0C-331B658B9B25}'] end; TJSGPUPipelineLayout = class(TJSGPUObjectBase,IJSGPUPipelineLayout) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUPipelineLayout; end; { -------------------------------------------------------------------- TJSGPUShaderModule --------------------------------------------------------------------} IJSGPUShaderModule = interface(IJSGPUObjectBase) ['{8407A11E-F59B-3C34-B50A-AFEE8614BD5B}'] function compilationInfo: IJSPromise; // Promise function getCompilationInfo: IJSPromise; // Promise end; TJSGPUShaderModule = class(TJSGPUObjectBase,IJSGPUShaderModule) Private Protected Public function compilationInfo: IJSPromise; overload; // Promise function getCompilationInfo: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUShaderModule; end; { -------------------------------------------------------------------- TJSGPUCommandBuffer --------------------------------------------------------------------} IJSGPUCommandBuffer = interface(IJSGPUObjectBase) ['{84BBB024-2AAD-306F-986F-5687B0D2E1B9}'] end; TJSGPUCommandBuffer = class(TJSGPUObjectBase,IJSGPUCommandBuffer) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUCommandBuffer; end; { -------------------------------------------------------------------- TJSGPURenderBundle --------------------------------------------------------------------} IJSGPURenderBundle = interface(IJSGPUObjectBase) ['{AC6CB1A7-0ADC-3B0A-8B65-25D4397A9444}'] end; TJSGPURenderBundle = class(TJSGPUObjectBase,IJSGPURenderBundle) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPURenderBundle; end; { -------------------------------------------------------------------- TJSGPUQueue --------------------------------------------------------------------} TJSGPUCommandBufferDynArray = IJSArray; // array of GPUCommandBuffer IJSGPUQueue = interface(IJSGPUObjectBase) ['{EE8345FC-5213-3CB6-A931-3D8CAADD79CC}'] procedure submit(const aBuffers: TJSGPUCommandBufferDynArray); function onSubmittedWorkDone: IJSPromise; // Promise procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64; aSize: TGPUSize64); procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource); procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64); procedure writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: IJSGPUExtent3DDict); procedure writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: TGPUIntegerCoordinateDynArray); procedure copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: IJSGPUExtent3DDict); procedure copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: TGPUIntegerCoordinateDynArray); end; TJSGPUQueue = class(TJSGPUObjectBase,IJSGPUQueue) Private Protected Public procedure submit(const aBuffers: TJSGPUCommandBufferDynArray); overload; function onSubmittedWorkDone: IJSPromise; overload; // Promise procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64; aSize: TGPUSize64); overload; procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource); overload; procedure writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64); overload; procedure writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: IJSGPUExtent3DDict); overload; procedure writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: TGPUIntegerCoordinateDynArray); overload; procedure copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: IJSGPUExtent3DDict); overload; procedure copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: TGPUIntegerCoordinateDynArray); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUQueue; end; { -------------------------------------------------------------------- TJSGPUQuerySet --------------------------------------------------------------------} IJSGPUQuerySet = interface(IJSGPUObjectBase) ['{1B5FED8E-51CF-397C-9661-A6C92E39D61C}'] procedure destroy; end; TJSGPUQuerySet = class(TJSGPUObjectBase,IJSGPUQuerySet) Private Protected Public procedure destroy; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUQuerySet; end; { -------------------------------------------------------------------- TJSGPUValidationError --------------------------------------------------------------------} IJSGPUValidationError = interface(IJSGPUError) ['{C8B33CE1-5310-37F0-8692-AF93D3334991}'] end; TJSGPUValidationError = class(TJSGPUError,IJSGPUValidationError) Private Protected Public constructor Create(const aMessage: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUValidationError; end; { -------------------------------------------------------------------- TJSGPUOutOfMemoryError --------------------------------------------------------------------} IJSGPUOutOfMemoryError = interface(IJSGPUError) ['{ED9DED7E-8648-3557-B10C-0482A498B06B}'] end; TJSGPUOutOfMemoryError = class(TJSGPUError,IJSGPUOutOfMemoryError) Private Protected Public constructor Create(const aMessage: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUOutOfMemoryError; end; { -------------------------------------------------------------------- TJSGPUInternalError --------------------------------------------------------------------} IJSGPUInternalError = interface(IJSGPUError) ['{84BBB025-E9E3-326C-8ABE-524CD73246B9}'] end; TJSGPUInternalError = class(TJSGPUError,IJSGPUInternalError) Private Protected Public constructor Create(const aMessage: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGPUInternalError; end; { -------------------------------------------------------------------- TJSWebSocket --------------------------------------------------------------------} // Union of DOMString, sequence TWebSocket_New_protocols_Type = Variant; IJSWebSocket = interface(IJSEventTarget) ['{DD3636D6-08D2-3813-AA92-E9380571B6FF}'] function _Geturl: UnicodeString; function _GetreadyState: Word; function _GetbufferedAmount: QWord; function _Getonopen: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Getextensions: UnicodeString; function _Getprotocol: UnicodeString; function _Getonmessage: TEventHandler; function _GetbinaryType: TBinaryType; procedure _Setonopen(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _SetbinaryType(const aValue: TBinaryType); procedure close(aCode: Word; const aReason: UnicodeString); procedure close; procedure close(aCode: Word); procedure send(const aData: UnicodeString); procedure send(aData: IJSBlob); procedure send(aData: IJSArrayBuffer); procedure send(aData: IJSArrayBufferView); property url: UnicodeString read _Geturl; property readyState: Word read _GetreadyState; property bufferedAmount: QWord read _GetbufferedAmount; property onopen: TEventHandler read _Getonopen write _Setonopen; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property extensions: UnicodeString read _Getextensions; property protocol: UnicodeString read _Getprotocol; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property binaryType: TBinaryType read _GetbinaryType write _SetbinaryType; end; TJSWebSocket = class(TJSEventTarget,IJSWebSocket) Private Protected function _Geturl: UnicodeString; function _GetreadyState: Word; function _GetbufferedAmount: QWord; function _Getonopen: TEventHandler; function _Getonerror: TEventHandler; function _Getonclose: TEventHandler; function _Getextensions: UnicodeString; function _Getprotocol: UnicodeString; function _Getonmessage: TEventHandler; function _GetbinaryType: TBinaryType; procedure _Setonopen(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _SetbinaryType(const aValue: TBinaryType); Public Const CONNECTING = 0; OPEN = 1; CLOSING = 2; CLOSED = 3; Public constructor Create(const aUrl: UnicodeString; const aProtocols: UnicodeString); overload; constructor Create(const aUrl: UnicodeString); overload; constructor Create(const aUrl: UnicodeString; const aProtocols: TUnicodeStringDynArray); overload; procedure close(aCode: Word; const aReason: UnicodeString); overload; procedure close; overload; procedure close(aCode: Word); overload; procedure send(const aData: UnicodeString); overload; procedure send(aData: IJSBlob); overload; procedure send(aData: IJSArrayBuffer); overload; procedure send(aData: IJSArrayBufferView); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebSocket; property url: UnicodeString read _Geturl; property readyState: Word read _GetreadyState; property bufferedAmount: QWord read _GetbufferedAmount; property onopen: TEventHandler read _Getonopen write _Setonopen; property onerror: TEventHandler read _Getonerror write _Setonerror; property onclose: TEventHandler read _Getonclose write _Setonclose; property extensions: UnicodeString read _Getextensions; property protocol: UnicodeString read _Getprotocol; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property binaryType: TBinaryType read _GetbinaryType write _SetbinaryType; end; { -------------------------------------------------------------------- TJSTaskController --------------------------------------------------------------------} IJSTaskController = interface(IJSAbortController) ['{B5EF8C08-F2F3-32D8-8AB2-83A2F0583806}'] procedure setPriority(aPriority: TTaskPriority); end; TJSTaskController = class(TJSAbortController,IJSTaskController) Private Protected Public constructor Create(const aInit: IJSTaskControllerInit); overload; constructor Create; overload; procedure setPriority(aPriority: TTaskPriority); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTaskController; end; { -------------------------------------------------------------------- TJSWebTransportSendStream --------------------------------------------------------------------} IJSWebTransportSendStream = interface(IJSWritableStream) ['{E6C0F141-9691-3941-BDA1-4F5CCA290F5C}'] function _GetsendOrder: Int64; procedure _SetsendOrder(const aValue: Int64); function getStats: IJSPromise; // Promise property sendOrder: Int64 read _GetsendOrder write _SetsendOrder; end; TJSWebTransportSendStream = class(TJSWritableStream,IJSWebTransportSendStream) Private Protected function _GetsendOrder: Int64; procedure _SetsendOrder(const aValue: Int64); Public function getStats: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportSendStream; property sendOrder: Int64 read _GetsendOrder write _SetsendOrder; end; { -------------------------------------------------------------------- TJSWebTransportReceiveStream --------------------------------------------------------------------} IJSWebTransportReceiveStream = interface(IJSReadableStream) ['{DB693F9E-14CA-39DB-90ED-93696B22F507}'] function getStats: IJSPromise; // Promise end; TJSWebTransportReceiveStream = class(TJSReadableStream,IJSWebTransportReceiveStream) Private Protected Public function getStats: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportReceiveStream; end; { -------------------------------------------------------------------- TJSXRSystem --------------------------------------------------------------------} IJSXRSystem = interface(IJSEventTarget) ['{AEB8F56A-CC7D-3E01-8C97-C18DBCDEDA4A}'] function _Getondevicechange: TEventHandler; procedure _Setondevicechange(const aValue: TEventHandler); function isSessionSupported(aMode: TXRSessionMode): IJSPromise; // Promise function requestSession(aMode: TXRSessionMode; const aOptions: IJSXRSessionInit): IJSPromise; // Promise function requestSession(aMode: TXRSessionMode): IJSPromise; // Promise property ondevicechange: TEventHandler read _Getondevicechange write _Setondevicechange; end; TJSXRSystem = class(TJSEventTarget,IJSXRSystem) Private Protected function _Getondevicechange: TEventHandler; procedure _Setondevicechange(const aValue: TEventHandler); Public function isSessionSupported(aMode: TXRSessionMode): IJSPromise; overload; // Promise function requestSession(aMode: TXRSessionMode; const aOptions: IJSXRSessionInit): IJSPromise; overload; // Promise function requestSession(aMode: TXRSessionMode): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSystem; property ondevicechange: TEventHandler read _Getondevicechange write _Setondevicechange; end; { -------------------------------------------------------------------- TJSXRSession --------------------------------------------------------------------} IJSXRSession = interface(IJSEventTarget) ['{9C6239C1-4B16-3AA9-9D2C-8067C3478282}'] function _GetvisibilityState: TXRVisibilityState; function _GetrenderState: IJSXRRenderState; function _GetinputSources: IJSXRInputSourceArray; function _GetframeRate: Single; function _GetsupportedFrameRates: IJSFloat32Array; function _Getonend: TEventHandler; function _Getoninputsourceschange: TEventHandler; function _Getonselect: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectend: TEventHandler; function _Getonsqueeze: TEventHandler; function _Getonsqueezestart: TEventHandler; function _Getonsqueezeend: TEventHandler; function _Getonvisibilitychange: TEventHandler; procedure _Setonend(const aValue: TEventHandler); procedure _Setoninputsourceschange(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectend(const aValue: TEventHandler); procedure _Setonsqueeze(const aValue: TEventHandler); procedure _Setonsqueezestart(const aValue: TEventHandler); procedure _Setonsqueezeend(const aValue: TEventHandler); procedure _Setonvisibilitychange(const aValue: TEventHandler); procedure updateRenderState(const aState: IJSXRRenderStateInit); procedure updateRenderState; function requestReferenceSpace(aType_: TXRReferenceSpaceType): IJSPromise; // Promise function updateTargetFrameRate(aRate: Single): IJSPromise; // Promise function requestAnimationFrame(const aCallback: TXRFrameRequestCallback): LongInt; procedure cancelAnimationFrame(aHandle: LongInt); function end_: IJSPromise; // Promise property visibilityState: TXRVisibilityState read _GetvisibilityState; property renderState: IJSXRRenderState read _GetrenderState; property inputSources: IJSXRInputSourceArray read _GetinputSources; property frameRate: Single read _GetframeRate; property supportedFrameRates: IJSFloat32Array read _GetsupportedFrameRates; property onend: TEventHandler read _Getonend write _Setonend; property oninputsourceschange: TEventHandler read _Getoninputsourceschange write _Setoninputsourceschange; property onselect: TEventHandler read _Getonselect write _Setonselect; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectend: TEventHandler read _Getonselectend write _Setonselectend; property onsqueeze: TEventHandler read _Getonsqueeze write _Setonsqueeze; property onsqueezestart: TEventHandler read _Getonsqueezestart write _Setonsqueezestart; property onsqueezeend: TEventHandler read _Getonsqueezeend write _Setonsqueezeend; property onvisibilitychange: TEventHandler read _Getonvisibilitychange write _Setonvisibilitychange; end; TJSXRSession = class(TJSEventTarget,IJSXRSession) Private Protected function _GetvisibilityState: TXRVisibilityState; function _GetrenderState: IJSXRRenderState; function _GetinputSources: IJSXRInputSourceArray; function _GetframeRate: Single; function _GetsupportedFrameRates: IJSFloat32Array; function _Getonend: TEventHandler; function _Getoninputsourceschange: TEventHandler; function _Getonselect: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectend: TEventHandler; function _Getonsqueeze: TEventHandler; function _Getonsqueezestart: TEventHandler; function _Getonsqueezeend: TEventHandler; function _Getonvisibilitychange: TEventHandler; procedure _Setonend(const aValue: TEventHandler); procedure _Setoninputsourceschange(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectend(const aValue: TEventHandler); procedure _Setonsqueeze(const aValue: TEventHandler); procedure _Setonsqueezestart(const aValue: TEventHandler); procedure _Setonsqueezeend(const aValue: TEventHandler); procedure _Setonvisibilitychange(const aValue: TEventHandler); Public procedure updateRenderState(const aState: IJSXRRenderStateInit); overload; procedure updateRenderState; overload; function requestReferenceSpace(aType_: TXRReferenceSpaceType): IJSPromise; overload; // Promise function updateTargetFrameRate(aRate: Single): IJSPromise; overload; // Promise function requestAnimationFrame(const aCallback: TXRFrameRequestCallback): LongInt; overload; procedure cancelAnimationFrame(aHandle: LongInt); overload; function end_: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSession; property visibilityState: TXRVisibilityState read _GetvisibilityState; property renderState: IJSXRRenderState read _GetrenderState; property inputSources: IJSXRInputSourceArray read _GetinputSources; property frameRate: Single read _GetframeRate; property supportedFrameRates: IJSFloat32Array read _GetsupportedFrameRates; property onend: TEventHandler read _Getonend write _Setonend; property oninputsourceschange: TEventHandler read _Getoninputsourceschange write _Setoninputsourceschange; property onselect: TEventHandler read _Getonselect write _Setonselect; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectend: TEventHandler read _Getonselectend write _Setonselectend; property onsqueeze: TEventHandler read _Getonsqueeze write _Setonsqueeze; property onsqueezestart: TEventHandler read _Getonsqueezestart write _Setonsqueezestart; property onsqueezeend: TEventHandler read _Getonsqueezeend write _Setonsqueezeend; property onvisibilitychange: TEventHandler read _Getonvisibilitychange write _Setonvisibilitychange; end; { -------------------------------------------------------------------- TJSXRSpace --------------------------------------------------------------------} IJSXRSpace = interface(IJSEventTarget) ['{ABBEEF2E-8585-3D8A-B134-445241194965}'] end; TJSXRSpace = class(TJSEventTarget,IJSXRSpace) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSpace; end; { -------------------------------------------------------------------- TJSXRViewerPose --------------------------------------------------------------------} TJSXRViewDynArray = IJSArray; // array of XRView IJSXRViewerPose = interface(IJSXRPose) ['{F8E45B1D-29B6-3B60-848B-028191674B32}'] function _Getviews: TJSXRViewDynArray; property views: TJSXRViewDynArray read _Getviews; end; TJSXRViewerPose = class(TJSXRPose,IJSXRViewerPose) Private Protected function _Getviews: TJSXRViewDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRViewerPose; property views: TJSXRViewDynArray read _Getviews; end; { -------------------------------------------------------------------- TJSWindow --------------------------------------------------------------------} // Union of Event, undefined TWindow_event_Type = Variant; IJSWindow = interface(IJSEventTarget) ['{8C2FFAA1-2B45-34DB-931F-96C5BAE6A914}'] function _Getwindow: IJSWindowProxy; function _Getself_: IJSWindowProxy; function _Getdocument: IJSDocument; function _Getname: UnicodeString; function _Getlocation: IJSLocation; function _Gethistory: IJSHistory; function _GetcustomElements: IJSCustomElementRegistry; function _Getlocationbar: IJSBarProp; function _Getmenubar: IJSBarProp; function _Getpersonalbar: IJSBarProp; function _Getscrollbars: IJSBarProp; function _Getstatusbar: IJSBarProp; function _Gettoolbar: IJSBarProp; function _Getstatus: UnicodeString; function _Getclosed: Boolean; function _Getevent: TWindow_event_Type; function _Getframes: IJSWindowProxy; function _Getlength_: Cardinal; function _Gettop: IJSWindowProxy; function _Getopener: Variant; function _Getparent: IJSWindowProxy; function _GetframeElement: IJSElement; function _Getnavigator: IJSNavigator; function _GetclientInformation: IJSNavigator; function _Getexternal: IJSExternal; function _Getscreen: IJSScreen; function _GetinnerWidth: Double; function _GetinnerHeight: Double; function _GetscrollX: Double; function _GetpageXOffset: Double; function _GetscrollY: Double; function _GetpageYOffset: Double; function _GetscreenLeft: Double; function _GetscreenTop: Double; function _GetscreenX: Double; function _GetscreenY: Double; function _GetouterWidth: Double; function _GetouterHeight: Double; function _Getperformance: IJSPerformance; function _GetmozInnerScreenX: Single; function _GetmozInnerScreenY: Single; function _GetdevicePixelRatio: Double; function _GetscrollMaxX: LongInt; function _GetscrollMaxY: LongInt; function _GetfullScreen: Boolean; function _Getondevicemotion: TEventHandler; function _Getondeviceorientation: TEventHandler; function _Getondeviceorientationabsolute: TEventHandler; function _Getonuserproximity: TEventHandler; function _Getondevicelight: TEventHandler; function _GetwindowState: Word; function _GetisFullyOccluded: Boolean; function _GetbrowserDOMWindow: IJSnsIBrowserDOMWindow; function _GetisChromeWindow: Boolean; function _GetGlean: IJSGleanImpl; function _GetGleanPings: IJSGleanPingsImpl; function _Getonvrdisplayconnect: TEventHandler; function _Getonvrdisplaydisconnect: TEventHandler; function _Getonvrdisplayactivate: TEventHandler; function _Getonvrdisplaydeactivate: TEventHandler; function _Getonvrdisplaypresentchange: TEventHandler; function _GetpaintWorklet: IJSWorklet; function _GetintlUtils: IJSIntlUtils; function _GetvisualViewport: IJSVisualViewport; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; function _GetsessionStorage: IJSStorage; function _GetlocalStorage: IJSStorage; function _Getcrypto: IJSCrypto; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TOnErrorEventHandler; function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; procedure _Setname(const aValue: UnicodeString); procedure _Setstatus(const aValue: UnicodeString); procedure _Setopener(const aValue: Variant); procedure _SetfullScreen(const aValue: Boolean); procedure _Setondevicemotion(const aValue: TEventHandler); procedure _Setondeviceorientation(const aValue: TEventHandler); procedure _Setondeviceorientationabsolute(const aValue: TEventHandler); procedure _Setonuserproximity(const aValue: TEventHandler); procedure _Setondevicelight(const aValue: TEventHandler); procedure _SetbrowserDOMWindow(const aValue: IJSnsIBrowserDOMWindow); procedure _Setonvrdisplayconnect(const aValue: TEventHandler); procedure _Setonvrdisplaydisconnect(const aValue: TEventHandler); procedure _Setonvrdisplayactivate(const aValue: TEventHandler); procedure _Setonvrdisplaydeactivate(const aValue: TEventHandler); procedure _Setonvrdisplaypresentchange(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TOnErrorEventHandler); procedure close; procedure stop; procedure focus; procedure blur; function open(const aUrl: UnicodeString; const aTarget: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; function open: IJSWindowProxy; function open(const aUrl: UnicodeString): IJSWindowProxy; function open(const aUrl: UnicodeString; const aTarget: UnicodeString): IJSWindowProxy; function GetDefault(const aName: UnicodeString): IJSObject; procedure alert; procedure alert(const aMessage: UnicodeString); function confirm(const aMessage: UnicodeString): Boolean; function confirm: Boolean; function prompt(const aMessage: UnicodeString; const aDefault: UnicodeString): UnicodeString; function prompt: UnicodeString; function prompt(const aMessage: UnicodeString): UnicodeString; procedure print; procedure postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString; const aTransfer: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString); procedure postMessage(const aMessage: Variant; const aOptions: IJSWindowPostMessageOptions); procedure postMessage(const aMessage: Variant); procedure captureEvents; procedure releaseEvents; function getSelection: IJSSelection; function getComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; function getComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; function matchMedia(const aQuery: UTF8String): IJSMediaQueryList; procedure moveTo(aX: LongInt; aY: LongInt); procedure moveBy(aX: LongInt; aY: LongInt); procedure resizeTo(aX: LongInt; aY: LongInt); procedure resizeBy(aX: LongInt; aY: LongInt); procedure scroll(aX: Double; aY: Double); procedure scroll(const aOptions: IJSScrollToOptions); procedure scroll; procedure scrollTo(aX: Double; aY: Double); procedure scrollTo(const aOptions: IJSScrollToOptions); procedure scrollTo; procedure scrollBy(aX: Double; aY: Double); procedure scrollBy(const aOptions: IJSScrollToOptions); procedure scrollBy; function getDefaultComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; function getDefaultComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; procedure scrollByLines(aNumLines: LongInt; const aOptions: IJSScrollOptions); procedure scrollByLines(aNumLines: LongInt); procedure scrollByPages(aNumPages: LongInt; const aOptions: IJSScrollOptions); procedure scrollByPages(aNumPages: LongInt); procedure sizeToContent; procedure updateCommands(const aAction: UnicodeString); function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean; aShowDialog: Boolean): Boolean; function find: Boolean; function find(const aStr: UnicodeString): Boolean; function find(const aStr: UnicodeString; aCaseSensitive: Boolean): Boolean; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean): Boolean; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean): Boolean; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean): Boolean; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean): Boolean; procedure dump(const aStr: UnicodeString); procedure setResizable(aResizable: Boolean); procedure getAttention; procedure getAttentionWithCycleCount(aACycleCount: LongInt); procedure setCursor(const aCursor: UTF8String); procedure maximize; procedure minimize; procedure restore; function getWorkspaceID: UnicodeString; procedure moveToWorkspace(const aWorkspaceID: UnicodeString); procedure notifyDefaultButtonLoaded(aDefaultButton: IJSElement); function promiseDocumentFlushed(const aCallback: TPromiseDocumentFlushedCallback): IJSPromise; // Promise function requestIdleCallback(const aCallback: TIdleRequestCallback; const aOptions: IJSIdleRequestOptions): Cardinal; function requestIdleCallback(const aCallback: TIdleRequestCallback): Cardinal; procedure cancelIdleCallback(aHandle: Cardinal); function getRegionalPrefsLocales: TUnicodeStringDynArray; function getWebExposedLocales: TUnicodeStringDynArray; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; procedure cancelAnimationFrame(aHandle: LongInt); procedure reportError(const aE: Variant); function btoa(const aBtoa: UnicodeString): UnicodeString; function atob(const aAtob: UnicodeString): UnicodeString; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearTimeout(aHandle: LongInt); procedure clearTimeout; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearInterval(aHandle: LongInt); procedure clearInterval; procedure queueMicrotask(const aCallback: TVoidFunction); function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; function structuredClone(const aValue: Variant): Variant; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String): IJSPromise; // Promise function fetch(aInput: IJSRequest): IJSPromise; // Promise property window: IJSWindowProxy read _Getwindow; property self_: IJSWindowProxy read _Getself_; property document: IJSDocument read _Getdocument; property name: UnicodeString read _Getname write _Setname; property location: IJSLocation read _Getlocation; property history: IJSHistory read _Gethistory; property customElements: IJSCustomElementRegistry read _GetcustomElements; property locationbar: IJSBarProp read _Getlocationbar; property menubar: IJSBarProp read _Getmenubar; property personalbar: IJSBarProp read _Getpersonalbar; property scrollbars: IJSBarProp read _Getscrollbars; property statusbar: IJSBarProp read _Getstatusbar; property toolbar: IJSBarProp read _Gettoolbar; property status: UnicodeString read _Getstatus write _Setstatus; property closed: Boolean read _Getclosed; property event: TWindow_event_Type read _Getevent; property frames: IJSWindowProxy read _Getframes; property length_: Cardinal read _Getlength_; property top: IJSWindowProxy read _Gettop; property opener: Variant read _Getopener write _Setopener; property parent: IJSWindowProxy read _Getparent; property frameElement: IJSElement read _GetframeElement; property navigator: IJSNavigator read _Getnavigator; property clientInformation: IJSNavigator read _GetclientInformation; property external: IJSExternal read _Getexternal; property screen: IJSScreen read _Getscreen; property innerWidth: Double read _GetinnerWidth; property innerHeight: Double read _GetinnerHeight; property scrollX: Double read _GetscrollX; property pageXOffset: Double read _GetpageXOffset; property scrollY: Double read _GetscrollY; property pageYOffset: Double read _GetpageYOffset; property screenLeft: Double read _GetscreenLeft; property screenTop: Double read _GetscreenTop; property screenX: Double read _GetscreenX; property screenY: Double read _GetscreenY; property outerWidth: Double read _GetouterWidth; property outerHeight: Double read _GetouterHeight; property performance: IJSPerformance read _Getperformance; property mozInnerScreenX: Single read _GetmozInnerScreenX; property mozInnerScreenY: Single read _GetmozInnerScreenY; property devicePixelRatio: Double read _GetdevicePixelRatio; property scrollMaxX: LongInt read _GetscrollMaxX; property scrollMaxY: LongInt read _GetscrollMaxY; property fullScreen: Boolean read _GetfullScreen write _SetfullScreen; property ondevicemotion: TEventHandler read _Getondevicemotion write _Setondevicemotion; property ondeviceorientation: TEventHandler read _Getondeviceorientation write _Setondeviceorientation; property ondeviceorientationabsolute: TEventHandler read _Getondeviceorientationabsolute write _Setondeviceorientationabsolute; property onuserproximity: TEventHandler read _Getonuserproximity write _Setonuserproximity; property ondevicelight: TEventHandler read _Getondevicelight write _Setondevicelight; property windowState: Word read _GetwindowState; property isFullyOccluded: Boolean read _GetisFullyOccluded; property browserDOMWindow: IJSnsIBrowserDOMWindow read _GetbrowserDOMWindow write _SetbrowserDOMWindow; property isChromeWindow: Boolean read _GetisChromeWindow; property Glean: IJSGleanImpl read _GetGlean; property GleanPings: IJSGleanPingsImpl read _GetGleanPings; property onvrdisplayconnect: TEventHandler read _Getonvrdisplayconnect write _Setonvrdisplayconnect; property onvrdisplaydisconnect: TEventHandler read _Getonvrdisplaydisconnect write _Setonvrdisplaydisconnect; property onvrdisplayactivate: TEventHandler read _Getonvrdisplayactivate write _Setonvrdisplayactivate; property onvrdisplaydeactivate: TEventHandler read _Getonvrdisplaydeactivate write _Setonvrdisplaydeactivate; property onvrdisplaypresentchange: TEventHandler read _Getonvrdisplaypresentchange write _Setonvrdisplaypresentchange; property paintWorklet: IJSWorklet read _GetpaintWorklet; property intlUtils: IJSIntlUtils read _GetintlUtils; property visualViewport: IJSVisualViewport read _GetvisualViewport; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; property sessionStorage: IJSStorage read _GetsessionStorage; property localStorage: IJSStorage read _GetlocalStorage; property crypto: IJSCrypto read _Getcrypto; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; TJSWindow = class(TJSEventTarget,IJSWindow) Private Protected function _Getwindow: IJSWindowProxy; function _Getself_: IJSWindowProxy; function _Getdocument: IJSDocument; function _Getname: UnicodeString; function _Getlocation: IJSLocation; function _Gethistory: IJSHistory; function _GetcustomElements: IJSCustomElementRegistry; function _Getlocationbar: IJSBarProp; function _Getmenubar: IJSBarProp; function _Getpersonalbar: IJSBarProp; function _Getscrollbars: IJSBarProp; function _Getstatusbar: IJSBarProp; function _Gettoolbar: IJSBarProp; function _Getstatus: UnicodeString; function _Getclosed: Boolean; function _Getevent: TWindow_event_Type; function _Getframes: IJSWindowProxy; function _Getlength_: Cardinal; function _Gettop: IJSWindowProxy; function _Getopener: Variant; function _Getparent: IJSWindowProxy; function _GetframeElement: IJSElement; function _Getnavigator: IJSNavigator; function _GetclientInformation: IJSNavigator; function _Getexternal: IJSExternal; function _Getscreen: IJSScreen; function _GetinnerWidth: Double; function _GetinnerHeight: Double; function _GetscrollX: Double; function _GetpageXOffset: Double; function _GetscrollY: Double; function _GetpageYOffset: Double; function _GetscreenLeft: Double; function _GetscreenTop: Double; function _GetscreenX: Double; function _GetscreenY: Double; function _GetouterWidth: Double; function _GetouterHeight: Double; function _Getperformance: IJSPerformance; function _GetmozInnerScreenX: Single; function _GetmozInnerScreenY: Single; function _GetdevicePixelRatio: Double; function _GetscrollMaxX: LongInt; function _GetscrollMaxY: LongInt; function _GetfullScreen: Boolean; function _Getondevicemotion: TEventHandler; function _Getondeviceorientation: TEventHandler; function _Getondeviceorientationabsolute: TEventHandler; function _Getonuserproximity: TEventHandler; function _Getondevicelight: TEventHandler; function _GetwindowState: Word; function _GetisFullyOccluded: Boolean; function _GetbrowserDOMWindow: IJSnsIBrowserDOMWindow; function _GetisChromeWindow: Boolean; function _GetGlean: IJSGleanImpl; function _GetGleanPings: IJSGleanPingsImpl; function _Getonvrdisplayconnect: TEventHandler; function _Getonvrdisplaydisconnect: TEventHandler; function _Getonvrdisplayactivate: TEventHandler; function _Getonvrdisplaydeactivate: TEventHandler; function _Getonvrdisplaypresentchange: TEventHandler; function _GetpaintWorklet: IJSWorklet; function _GetintlUtils: IJSIntlUtils; function _GetvisualViewport: IJSVisualViewport; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; function _GetsessionStorage: IJSStorage; function _GetlocalStorage: IJSStorage; function _Getcrypto: IJSCrypto; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TOnErrorEventHandler; function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; procedure _Setname(const aValue: UnicodeString); procedure _Setstatus(const aValue: UnicodeString); procedure _Setopener(const aValue: Variant); procedure _SetfullScreen(const aValue: Boolean); procedure _Setondevicemotion(const aValue: TEventHandler); procedure _Setondeviceorientation(const aValue: TEventHandler); procedure _Setondeviceorientationabsolute(const aValue: TEventHandler); procedure _Setonuserproximity(const aValue: TEventHandler); procedure _Setondevicelight(const aValue: TEventHandler); procedure _SetbrowserDOMWindow(const aValue: IJSnsIBrowserDOMWindow); procedure _Setonvrdisplayconnect(const aValue: TEventHandler); procedure _Setonvrdisplaydisconnect(const aValue: TEventHandler); procedure _Setonvrdisplayactivate(const aValue: TEventHandler); procedure _Setonvrdisplaydeactivate(const aValue: TEventHandler); procedure _Setonvrdisplaypresentchange(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TOnErrorEventHandler); Public Const STATE_MAXIMIZED = 1; STATE_MINIMIZED = 2; STATE_NORMAL = 3; STATE_FULLSCREEN = 4; Public procedure close; overload; procedure stop; overload; procedure focus; overload; procedure blur; overload; function open(const aUrl: UnicodeString; const aTarget: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; overload; function open: IJSWindowProxy; overload; function open(const aUrl: UnicodeString): IJSWindowProxy; overload; function open(const aUrl: UnicodeString; const aTarget: UnicodeString): IJSWindowProxy; overload; function GetDefault(const aName: UnicodeString): IJSObject; overload; procedure alert; overload; procedure alert(const aMessage: UnicodeString); overload; function confirm(const aMessage: UnicodeString): Boolean; overload; function confirm: Boolean; overload; function prompt(const aMessage: UnicodeString; const aDefault: UnicodeString): UnicodeString; overload; function prompt: UnicodeString; overload; function prompt(const aMessage: UnicodeString): UnicodeString; overload; procedure print; overload; procedure postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString; const aTransfer: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString); overload; procedure postMessage(const aMessage: Variant; const aOptions: IJSWindowPostMessageOptions); overload; procedure postMessage(const aMessage: Variant); overload; procedure captureEvents; overload; procedure releaseEvents; overload; function getSelection: IJSSelection; overload; function getComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; overload; function getComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; overload; function matchMedia(const aQuery: UTF8String): IJSMediaQueryList; overload; procedure moveTo(aX: LongInt; aY: LongInt); overload; procedure moveBy(aX: LongInt; aY: LongInt); overload; procedure resizeTo(aX: LongInt; aY: LongInt); overload; procedure resizeBy(aX: LongInt; aY: LongInt); overload; procedure scroll(aX: Double; aY: Double); overload; procedure scroll(const aOptions: IJSScrollToOptions); overload; procedure scroll; overload; procedure scrollTo(aX: Double; aY: Double); overload; procedure scrollTo(const aOptions: IJSScrollToOptions); overload; procedure scrollTo; overload; procedure scrollBy(aX: Double; aY: Double); overload; procedure scrollBy(const aOptions: IJSScrollToOptions); overload; procedure scrollBy; overload; function getDefaultComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; overload; function getDefaultComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; overload; procedure scrollByLines(aNumLines: LongInt; const aOptions: IJSScrollOptions); overload; procedure scrollByLines(aNumLines: LongInt); overload; procedure scrollByPages(aNumPages: LongInt; const aOptions: IJSScrollOptions); overload; procedure scrollByPages(aNumPages: LongInt); overload; procedure sizeToContent; overload; procedure updateCommands(const aAction: UnicodeString); overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean; aShowDialog: Boolean): Boolean; overload; function find: Boolean; overload; function find(const aStr: UnicodeString): Boolean; overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean): Boolean; overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean): Boolean; overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean): Boolean; overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean): Boolean; overload; function find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean): Boolean; overload; procedure dump(const aStr: UnicodeString); overload; procedure setResizable(aResizable: Boolean); overload; procedure getAttention; overload; procedure getAttentionWithCycleCount(aACycleCount: LongInt); overload; procedure setCursor(const aCursor: UTF8String); overload; procedure maximize; overload; procedure minimize; overload; procedure restore; overload; function getWorkspaceID: UnicodeString; overload; procedure moveToWorkspace(const aWorkspaceID: UnicodeString); overload; procedure notifyDefaultButtonLoaded(aDefaultButton: IJSElement); overload; function promiseDocumentFlushed(const aCallback: TPromiseDocumentFlushedCallback): IJSPromise; overload; // Promise function requestIdleCallback(const aCallback: TIdleRequestCallback; const aOptions: IJSIdleRequestOptions): Cardinal; overload; function requestIdleCallback(const aCallback: TIdleRequestCallback): Cardinal; overload; procedure cancelIdleCallback(aHandle: Cardinal); overload; function getRegionalPrefsLocales: TUnicodeStringDynArray; overload; function getWebExposedLocales: TUnicodeStringDynArray; overload; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; overload; procedure cancelAnimationFrame(aHandle: LongInt); overload; procedure reportError(const aE: Variant); overload; function btoa(const aBtoa: UnicodeString): UnicodeString; overload; function atob(const aAtob: UnicodeString): UnicodeString; overload; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearTimeout(aHandle: LongInt); overload; procedure clearTimeout; overload; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearInterval(aHandle: LongInt); overload; procedure clearInterval; overload; procedure queueMicrotask(const aCallback: TVoidFunction); overload; function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; overload; function structuredClone(const aValue: Variant): Variant; overload; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String): IJSPromise; overload; // Promise function fetch(aInput: IJSRequest): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWindow; property window: IJSWindowProxy read _Getwindow; property self_: IJSWindowProxy read _Getself_; property document: IJSDocument read _Getdocument; property name: UnicodeString read _Getname write _Setname; property location: IJSLocation read _Getlocation; property history: IJSHistory read _Gethistory; property customElements: IJSCustomElementRegistry read _GetcustomElements; property locationbar: IJSBarProp read _Getlocationbar; property menubar: IJSBarProp read _Getmenubar; property personalbar: IJSBarProp read _Getpersonalbar; property scrollbars: IJSBarProp read _Getscrollbars; property statusbar: IJSBarProp read _Getstatusbar; property toolbar: IJSBarProp read _Gettoolbar; property status: UnicodeString read _Getstatus write _Setstatus; property closed: Boolean read _Getclosed; property event: TWindow_event_Type read _Getevent; property frames: IJSWindowProxy read _Getframes; property length_: Cardinal read _Getlength_; property top: IJSWindowProxy read _Gettop; property opener: Variant read _Getopener write _Setopener; property parent: IJSWindowProxy read _Getparent; property frameElement: IJSElement read _GetframeElement; property navigator: IJSNavigator read _Getnavigator; property clientInformation: IJSNavigator read _GetclientInformation; property external: IJSExternal read _Getexternal; property screen: IJSScreen read _Getscreen; property innerWidth: Double read _GetinnerWidth; property innerHeight: Double read _GetinnerHeight; property scrollX: Double read _GetscrollX; property pageXOffset: Double read _GetpageXOffset; property scrollY: Double read _GetscrollY; property pageYOffset: Double read _GetpageYOffset; property screenLeft: Double read _GetscreenLeft; property screenTop: Double read _GetscreenTop; property screenX: Double read _GetscreenX; property screenY: Double read _GetscreenY; property outerWidth: Double read _GetouterWidth; property outerHeight: Double read _GetouterHeight; property performance: IJSPerformance read _Getperformance; property mozInnerScreenX: Single read _GetmozInnerScreenX; property mozInnerScreenY: Single read _GetmozInnerScreenY; property devicePixelRatio: Double read _GetdevicePixelRatio; property scrollMaxX: LongInt read _GetscrollMaxX; property scrollMaxY: LongInt read _GetscrollMaxY; property fullScreen: Boolean read _GetfullScreen write _SetfullScreen; property ondevicemotion: TEventHandler read _Getondevicemotion write _Setondevicemotion; property ondeviceorientation: TEventHandler read _Getondeviceorientation write _Setondeviceorientation; property ondeviceorientationabsolute: TEventHandler read _Getondeviceorientationabsolute write _Setondeviceorientationabsolute; property onuserproximity: TEventHandler read _Getonuserproximity write _Setonuserproximity; property ondevicelight: TEventHandler read _Getondevicelight write _Setondevicelight; property windowState: Word read _GetwindowState; property isFullyOccluded: Boolean read _GetisFullyOccluded; property browserDOMWindow: IJSnsIBrowserDOMWindow read _GetbrowserDOMWindow write _SetbrowserDOMWindow; property isChromeWindow: Boolean read _GetisChromeWindow; property Glean: IJSGleanImpl read _GetGlean; property GleanPings: IJSGleanPingsImpl read _GetGleanPings; property onvrdisplayconnect: TEventHandler read _Getonvrdisplayconnect write _Setonvrdisplayconnect; property onvrdisplaydisconnect: TEventHandler read _Getonvrdisplaydisconnect write _Setonvrdisplaydisconnect; property onvrdisplayactivate: TEventHandler read _Getonvrdisplayactivate write _Setonvrdisplayactivate; property onvrdisplaydeactivate: TEventHandler read _Getonvrdisplaydeactivate write _Setonvrdisplaydeactivate; property onvrdisplaypresentchange: TEventHandler read _Getonvrdisplaypresentchange write _Setonvrdisplaypresentchange; property paintWorklet: IJSWorklet read _GetpaintWorklet; property intlUtils: IJSIntlUtils read _GetintlUtils; property visualViewport: IJSVisualViewport read _GetvisualViewport; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; property sessionStorage: IJSStorage read _GetsessionStorage; property localStorage: IJSStorage read _GetlocalStorage; property crypto: IJSCrypto read _Getcrypto; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; { -------------------------------------------------------------------- TJSWorker --------------------------------------------------------------------} IJSWorker = interface(IJSEventTarget) ['{080D49E9-8A29-34B2-8558-B77FCBC05313}'] function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure terminate; procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); procedure postMessage(const aMessage: Variant); property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSWorker = class(TJSEventTarget,IJSWorker) Private Protected function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public constructor Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); overload; constructor Create(const aScriptURL: UnicodeString); overload; procedure terminate; overload; procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); overload; procedure postMessage(const aMessage: Variant); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorker; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSWorkerDebuggerGlobalScope --------------------------------------------------------------------} IJSWorkerDebuggerGlobalScope = interface(IJSEventTarget) ['{9B1FDC46-DE15-335D-827C-588CC88FAE6D}'] function _Getglobal: IJSObject; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); function createSandbox(const aName: UnicodeString; aPrototype: IJSObject): IJSObject; procedure loadSubScript(const aUrl: UnicodeString; aSandbox: IJSObject); procedure loadSubScript(const aUrl: UnicodeString); procedure enterEventLoop; procedure leaveEventLoop; procedure postMessage(const aMessage: UnicodeString); procedure setImmediate(const aHandler: TFunction); procedure reportError(const aMessage: UnicodeString); function retrieveConsoleEvents: TVariantDynArray; procedure setConsoleEventHandler(const aHandler: TAnyCallback); procedure clearConsoleEvents; function btoa(const aBtoa: UnicodeString): UnicodeString; function atob(const aAtob: UnicodeString): UnicodeString; procedure dump(const aString_: UnicodeString); procedure dump; property global: IJSObject read _Getglobal; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; TJSWorkerDebuggerGlobalScope = class(TJSEventTarget,IJSWorkerDebuggerGlobalScope) Private Protected function _Getglobal: IJSObject; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); Public function createSandbox(const aName: UnicodeString; aPrototype: IJSObject): IJSObject; overload; procedure loadSubScript(const aUrl: UnicodeString; aSandbox: IJSObject); overload; procedure loadSubScript(const aUrl: UnicodeString); overload; procedure enterEventLoop; overload; procedure leaveEventLoop; overload; procedure postMessage(const aMessage: UnicodeString); overload; procedure setImmediate(const aHandler: TFunction); overload; procedure reportError(const aMessage: UnicodeString); overload; function retrieveConsoleEvents: TVariantDynArray; overload; procedure setConsoleEventHandler(const aHandler: TAnyCallback); overload; procedure clearConsoleEvents; overload; function btoa(const aBtoa: UnicodeString): UnicodeString; overload; function atob(const aAtob: UnicodeString): UnicodeString; overload; procedure dump(const aString_: UnicodeString); overload; procedure dump; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerDebuggerGlobalScope; property global: IJSObject read _Getglobal; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; end; { -------------------------------------------------------------------- TJSWorkerGlobalScope --------------------------------------------------------------------} IJSWorkerGlobalScope = interface(IJSEventTarget) ['{B251E3D4-EE2E-34E4-92E3-E077341CA161}'] function _Getself_: IJSWorkerGlobalScope; function _Getlocation: IJSWorkerLocation; function _Getnavigator: IJSWorkerNavigator; function _Getonerror: TOnErrorEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getperformance: IJSPerformance; function _Getcrypto: IJSCrypto; function _Getfonts: IJSFontFaceSet; function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; procedure _Setonerror(const aValue: TOnErrorEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure importScripts(const aUrls: UnicodeString){; ToDo:varargs}; procedure dump(const aStr: UnicodeString); procedure dump; function getJSTestingFunctions: IJSObject; procedure reportError(const aE: Variant); function btoa(const aBtoa: UnicodeString): UnicodeString; function atob(const aAtob: UnicodeString): UnicodeString; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearTimeout(aHandle: LongInt); procedure clearTimeout; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; procedure clearInterval(aHandle: LongInt); procedure clearInterval; procedure queueMicrotask(const aCallback: TVoidFunction); function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; function structuredClone(const aValue: Variant): Variant; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise function fetch(const aInput: UTF8String): IJSPromise; // Promise function fetch(aInput: IJSRequest): IJSPromise; // Promise property self_: IJSWorkerGlobalScope read _Getself_; property location: IJSWorkerLocation read _Getlocation; property navigator: IJSWorkerNavigator read _Getnavigator; property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property performance: IJSPerformance read _Getperformance; property crypto: IJSCrypto read _Getcrypto; property fonts: IJSFontFaceSet read _Getfonts; property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; TJSWorkerGlobalScope = class(TJSEventTarget,IJSWorkerGlobalScope) Private Protected function _Getself_: IJSWorkerGlobalScope; function _Getlocation: IJSWorkerLocation; function _Getnavigator: IJSWorkerNavigator; function _Getonerror: TOnErrorEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getperformance: IJSPerformance; function _Getcrypto: IJSCrypto; function _Getfonts: IJSFontFaceSet; function _Getorigin: UnicodeString; function _GetcrossOriginIsolated: Boolean; function _GetisSecureContext: Boolean; function _GetindexedDB: IJSIDBFactory; function _Getcaches: IJSCacheStorage; function _Getscheduler: IJSScheduler; function _GettrustedTypes: IJSTrustedTypePolicyFactory; procedure _Setonerror(const aValue: TOnErrorEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); Public procedure importScripts(const aUrls: UnicodeString){; ToDo:varargs}; overload; procedure dump(const aStr: UnicodeString); overload; procedure dump; overload; function getJSTestingFunctions: IJSObject; overload; procedure reportError(const aE: Variant); overload; function btoa(const aBtoa: UnicodeString): UnicodeString; overload; function atob(const aAtob: UnicodeString): UnicodeString; overload; function setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearTimeout(aHandle: LongInt); overload; procedure clearTimeout; overload; function setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; overload; function setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; overload; procedure clearInterval(aHandle: LongInt); overload; procedure clearInterval; overload; procedure queueMicrotask(const aCallback: TVoidFunction); overload; function createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; overload; // Promise function structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; overload; function structuredClone(const aValue: Variant): Variant; overload; function fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; overload; // Promise function fetch(const aInput: UTF8String): IJSPromise; overload; // Promise function fetch(aInput: IJSRequest): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerGlobalScope; property self_: IJSWorkerGlobalScope read _Getself_; property location: IJSWorkerLocation read _Getlocation; property navigator: IJSWorkerNavigator read _Getnavigator; property onerror: TOnErrorEventHandler read _Getonerror write _Setonerror; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property performance: IJSPerformance read _Getperformance; property crypto: IJSCrypto read _Getcrypto; property fonts: IJSFontFaceSet read _Getfonts; property origin: UnicodeString read _Getorigin; property crossOriginIsolated: Boolean read _GetcrossOriginIsolated; property isSecureContext: Boolean read _GetisSecureContext; property indexedDB: IJSIDBFactory read _GetindexedDB; property caches: IJSCacheStorage read _Getcaches; property scheduler: IJSScheduler read _Getscheduler; property trustedTypes: IJSTrustedTypePolicyFactory read _GettrustedTypes; end; { -------------------------------------------------------------------- TJSXMLHttpRequestEventTarget --------------------------------------------------------------------} IJSXMLHttpRequestEventTarget = interface(IJSEventTarget) ['{F5B4D465-1525-3757-B96D-D4E14D83A032}'] function _Getonloadstart: TEventHandler; function _Getonprogress: TEventHandler; function _Getonabort: TEventHandler; function _Getonerror: TEventHandler; function _Getonload: TEventHandler; function _Getontimeout: TEventHandler; function _Getonloadend: TEventHandler; procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setontimeout(const aValue: TEventHandler); procedure _Setonloadend(const aValue: TEventHandler); property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onabort: TEventHandler read _Getonabort write _Setonabort; property onerror: TEventHandler read _Getonerror write _Setonerror; property onload: TEventHandler read _Getonload write _Setonload; property ontimeout: TEventHandler read _Getontimeout write _Setontimeout; property onloadend: TEventHandler read _Getonloadend write _Setonloadend; end; TJSXMLHttpRequestEventTarget = class(TJSEventTarget,IJSXMLHttpRequestEventTarget) Private Protected function _Getonloadstart: TEventHandler; function _Getonprogress: TEventHandler; function _Getonabort: TEventHandler; function _Getonerror: TEventHandler; function _Getonload: TEventHandler; function _Getontimeout: TEventHandler; function _Getonloadend: TEventHandler; procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setontimeout(const aValue: TEventHandler); procedure _Setonloadend(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXMLHttpRequestEventTarget; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onabort: TEventHandler read _Getonabort write _Setonabort; property onerror: TEventHandler read _Getonerror write _Setonerror; property onload: TEventHandler read _Getonload write _Setonload; property ontimeout: TEventHandler read _Getontimeout write _Setontimeout; property onloadend: TEventHandler read _Getonloadend write _Setonloadend; end; { -------------------------------------------------------------------- TJSXPathEvaluator --------------------------------------------------------------------} IJSXPathEvaluator = interface(IJSXPathEvaluatorMixin) ['{97C49F42-56EB-32A2-A812-88C6FED34B82}'] end; TJSXPathEvaluator = class(TJSXPathEvaluatorMixin,IJSXPathEvaluator) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXPathEvaluator; end; { -------------------------------------------------------------------- TJSXRInputSourceEvent --------------------------------------------------------------------} IJSXRInputSourceEvent = interface(IJSEvent) ['{CCA9B281-6667-3BE1-AD03-EB4258CA6457}'] function _Getframe: IJSXRFrame; function _GetinputSource: IJSXRInputSource; property frame: IJSXRFrame read _Getframe; property inputSource: IJSXRInputSource read _GetinputSource; end; TJSXRInputSourceEvent = class(TJSEvent,IJSXRInputSourceEvent) Private Protected function _Getframe: IJSXRFrame; function _GetinputSource: IJSXRInputSource; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSXRInputSourceEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSourceEvent; property frame: IJSXRFrame read _Getframe; property inputSource: IJSXRInputSource read _GetinputSource; end; { -------------------------------------------------------------------- TJSXRInputSourcesChangeEvent --------------------------------------------------------------------} IJSXRInputSourcesChangeEvent = interface(IJSEvent) ['{13BBCBF9-B0B8-3C79-B719-DE4473263F4F}'] function _Getsession: IJSXRSession; function _Getadded: TJSXRInputSourceDynArray; function _Getremoved: TJSXRInputSourceDynArray; property session: IJSXRSession read _Getsession; property added: TJSXRInputSourceDynArray read _Getadded; property removed: TJSXRInputSourceDynArray read _Getremoved; end; TJSXRInputSourcesChangeEvent = class(TJSEvent,IJSXRInputSourcesChangeEvent) Private Protected function _Getsession: IJSXRSession; function _Getadded: TJSXRInputSourceDynArray; function _Getremoved: TJSXRInputSourceDynArray; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSXRInputSourcesChangeEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRInputSourcesChangeEvent; property session: IJSXRSession read _Getsession; property added: TJSXRInputSourceDynArray read _Getadded; property removed: TJSXRInputSourceDynArray read _Getremoved; end; { -------------------------------------------------------------------- TJSXRReferenceSpaceEvent --------------------------------------------------------------------} IJSXRReferenceSpaceEvent = interface(IJSEvent) ['{98F05DC5-1E87-3C51-8724-8D4EE5A6D0B1}'] function _GetreferenceSpace: IJSXRReferenceSpace; function _Gettransform: IJSXRRigidTransform; property referenceSpace: IJSXRReferenceSpace read _GetreferenceSpace; property transform: IJSXRRigidTransform read _Gettransform; end; TJSXRReferenceSpaceEvent = class(TJSEvent,IJSXRReferenceSpaceEvent) Private Protected function _GetreferenceSpace: IJSXRReferenceSpace; function _Gettransform: IJSXRRigidTransform; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSXRReferenceSpaceEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRReferenceSpaceEvent; property referenceSpace: IJSXRReferenceSpace read _GetreferenceSpace; property transform: IJSXRRigidTransform read _Gettransform; end; { -------------------------------------------------------------------- TJSXRSessionEvent --------------------------------------------------------------------} IJSXRSessionEvent = interface(IJSEvent) ['{9FF96507-69AC-33D7-B082-F9020C5997CE}'] function _Getsession: IJSXRSession; property session: IJSXRSession read _Getsession; end; TJSXRSessionEvent = class(TJSEvent,IJSXRSessionEvent) Private Protected function _Getsession: IJSXRSession; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSXRSessionEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRSessionEvent; property session: IJSXRSession read _Getsession; end; { -------------------------------------------------------------------- TJSAnalyserNode --------------------------------------------------------------------} IJSAnalyserNode = interface(IJSAudioNode) ['{68ADF427-3AEF-3971-80E3-15ACB527DA77}'] function _GetfftSize: Cardinal; function _GetfrequencyBinCount: Cardinal; function _GetminDecibels: Double; function _GetmaxDecibels: Double; function _GetsmoothingTimeConstant: Double; procedure _SetfftSize(const aValue: Cardinal); procedure _SetminDecibels(const aValue: Double); procedure _SetmaxDecibels(const aValue: Double); procedure _SetsmoothingTimeConstant(const aValue: Double); procedure getFloatFrequencyData(aArray_: IJSFloat32Array); procedure getByteFrequencyData(aArray_: IJSUint8Array); procedure getFloatTimeDomainData(aArray_: IJSFloat32Array); procedure getByteTimeDomainData(aArray_: IJSUint8Array); property fftSize: Cardinal read _GetfftSize write _SetfftSize; property frequencyBinCount: Cardinal read _GetfrequencyBinCount; property minDecibels: Double read _GetminDecibels write _SetminDecibels; property maxDecibels: Double read _GetmaxDecibels write _SetmaxDecibels; property smoothingTimeConstant: Double read _GetsmoothingTimeConstant write _SetsmoothingTimeConstant; end; TJSAnalyserNode = class(TJSAudioNode,IJSAnalyserNode) Private Protected function _GetfftSize: Cardinal; function _GetfrequencyBinCount: Cardinal; function _GetminDecibels: Double; function _GetmaxDecibels: Double; function _GetsmoothingTimeConstant: Double; procedure _SetfftSize(const aValue: Cardinal); procedure _SetminDecibels(const aValue: Double); procedure _SetmaxDecibels(const aValue: Double); procedure _SetsmoothingTimeConstant(const aValue: Double); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSAnalyserOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; procedure getFloatFrequencyData(aArray_: IJSFloat32Array); overload; procedure getByteFrequencyData(aArray_: IJSUint8Array); overload; procedure getFloatTimeDomainData(aArray_: IJSFloat32Array); overload; procedure getByteTimeDomainData(aArray_: IJSUint8Array); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAnalyserNode; property fftSize: Cardinal read _GetfftSize write _SetfftSize; property frequencyBinCount: Cardinal read _GetfrequencyBinCount; property minDecibels: Double read _GetminDecibels write _SetminDecibels; property maxDecibels: Double read _GetmaxDecibels write _SetmaxDecibels; property smoothingTimeConstant: Double read _GetsmoothingTimeConstant write _SetsmoothingTimeConstant; end; { -------------------------------------------------------------------- TJSAttr --------------------------------------------------------------------} IJSAttr = interface(IJSNode) ['{B228055E-5C9C-353E-AEDD-5F1137194B25}'] function _GetlocalName: UnicodeString; function _Getvalue: UnicodeString; function _Getname: UnicodeString; function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; function _Getspecified: Boolean; function _GetownerElement: IJSElement; procedure _Setvalue(const aValue: UnicodeString); property localName: UnicodeString read _GetlocalName; property value: UnicodeString read _Getvalue write _Setvalue; property name: UnicodeString read _Getname; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; property specified: Boolean read _Getspecified; property ownerElement: IJSElement read _GetownerElement; end; TJSAttr = class(TJSNode,IJSAttr) Private Protected function _GetlocalName: UnicodeString; function _Getvalue: UnicodeString; function _Getname: UnicodeString; function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; function _Getspecified: Boolean; function _GetownerElement: IJSElement; procedure _Setvalue(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAttr; property localName: UnicodeString read _GetlocalName; property value: UnicodeString read _Getvalue write _Setvalue; property name: UnicodeString read _Getname; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; property specified: Boolean read _Getspecified; property ownerElement: IJSElement read _GetownerElement; end; { -------------------------------------------------------------------- TJSAudioContext --------------------------------------------------------------------} IJSAudioContext = interface(IJSBaseAudioContext) ['{30D5B735-C99B-3DB2-B739-466ECA3C886D}'] function _GetbaseLatency: Double; function _GetoutputLatency: Double; function getOutputTimestamp: IJSAudioTimestamp; function suspend: IJSPromise; // Promise function close: IJSPromise; // Promise function createMediaElementSource(aMediaElement: IJSHTMLMediaElement): IJSMediaElementAudioSourceNode; function createMediaStreamSource(aMediaStream: IJSMediaStream): IJSMediaStreamAudioSourceNode; function createMediaStreamTrackSource(aMediaStreamTrack: IJSMediaStreamTrack): IJSMediaStreamTrackAudioSourceNode; function createMediaStreamDestination: IJSMediaStreamAudioDestinationNode; property baseLatency: Double read _GetbaseLatency; property outputLatency: Double read _GetoutputLatency; end; TJSAudioContext = class(TJSBaseAudioContext,IJSAudioContext) Private Protected function _GetbaseLatency: Double; function _GetoutputLatency: Double; Public constructor Create(const aContextOptions: IJSAudioContextOptions); overload; constructor Create; overload; function getOutputTimestamp: IJSAudioTimestamp; overload; function suspend: IJSPromise; overload; // Promise function close: IJSPromise; overload; // Promise function createMediaElementSource(aMediaElement: IJSHTMLMediaElement): IJSMediaElementAudioSourceNode; overload; function createMediaStreamSource(aMediaStream: IJSMediaStream): IJSMediaStreamAudioSourceNode; overload; function createMediaStreamTrackSource(aMediaStreamTrack: IJSMediaStreamTrack): IJSMediaStreamTrackAudioSourceNode; overload; function createMediaStreamDestination: IJSMediaStreamAudioDestinationNode; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioContext; property baseLatency: Double read _GetbaseLatency; property outputLatency: Double read _GetoutputLatency; end; { -------------------------------------------------------------------- TJSAudioDestinationNode --------------------------------------------------------------------} IJSAudioDestinationNode = interface(IJSAudioNode) ['{FDD4B4E7-124B-3B7B-B2D0-C390668A1D85}'] function _GetmaxChannelCount: Cardinal; property maxChannelCount: Cardinal read _GetmaxChannelCount; end; TJSAudioDestinationNode = class(TJSAudioNode,IJSAudioDestinationNode) Private Protected function _GetmaxChannelCount: Cardinal; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioDestinationNode; property maxChannelCount: Cardinal read _GetmaxChannelCount; end; { -------------------------------------------------------------------- TJSAudioScheduledSourceNode --------------------------------------------------------------------} IJSAudioScheduledSourceNode = interface(IJSAudioNode) ['{E60FF121-E28C-3E20-B262-C282CAA0A019}'] function _Getonended: TEventHandler; procedure _Setonended(const aValue: TEventHandler); procedure start(aWhen: Double); procedure start; procedure stop(aWhen: Double); procedure stop; property onended: TEventHandler read _Getonended write _Setonended; end; TJSAudioScheduledSourceNode = class(TJSAudioNode,IJSAudioScheduledSourceNode) Private Protected function _Getonended: TEventHandler; procedure _Setonended(const aValue: TEventHandler); Public procedure start(aWhen: Double); overload; procedure start; overload; procedure stop(aWhen: Double); overload; procedure stop; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioScheduledSourceNode; property onended: TEventHandler read _Getonended write _Setonended; end; { -------------------------------------------------------------------- TJSAudioWorkletNode --------------------------------------------------------------------} IJSAudioWorkletNode = interface(IJSAudioNode) ['{69257409-3F32-3206-8AE0-B22AED56EE28}'] function _Getparameters: IJSAudioParamMap; function _Getport: IJSMessagePort; function _Getonprocessorerror: TEventHandler; procedure _Setonprocessorerror(const aValue: TEventHandler); property parameters: IJSAudioParamMap read _Getparameters; property port: IJSMessagePort read _Getport; property onprocessorerror: TEventHandler read _Getonprocessorerror write _Setonprocessorerror; end; TJSAudioWorkletNode = class(TJSAudioNode,IJSAudioWorkletNode) Private Protected function _Getparameters: IJSAudioParamMap; function _Getport: IJSMessagePort; function _Getonprocessorerror: TEventHandler; procedure _Setonprocessorerror(const aValue: TEventHandler); Public constructor Create(aContext: IJSBaseAudioContext; const aName: UnicodeString; const aOptions: IJSAudioWorkletNodeOptions); overload; constructor Create(aContext: IJSBaseAudioContext; const aName: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioWorkletNode; property parameters: IJSAudioParamMap read _Getparameters; property port: IJSMessagePort read _Getport; property onprocessorerror: TEventHandler read _Getonprocessorerror write _Setonprocessorerror; end; { -------------------------------------------------------------------- TJSBiquadFilterNode --------------------------------------------------------------------} IJSBiquadFilterNode = interface(IJSAudioNode) ['{B6DF09A9-3950-365E-86C2-4443015CDC7E}'] function _Gettype_: TBiquadFilterType; function _Getfrequency: IJSAudioParam; function _Getdetune: IJSAudioParam; function _GetQ: IJSAudioParam; function _Getgain: IJSAudioParam; procedure _Settype_(const aValue: TBiquadFilterType); procedure getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); property type_: TBiquadFilterType read _Gettype_ write _Settype_; property frequency: IJSAudioParam read _Getfrequency; property detune: IJSAudioParam read _Getdetune; property Q: IJSAudioParam read _GetQ; property gain: IJSAudioParam read _Getgain; end; TJSBiquadFilterNode = class(TJSAudioNode,IJSBiquadFilterNode) Private Protected function _Gettype_: TBiquadFilterType; function _Getfrequency: IJSAudioParam; function _Getdetune: IJSAudioParam; function _GetQ: IJSAudioParam; function _Getgain: IJSAudioParam; procedure _Settype_(const aValue: TBiquadFilterType); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSBiquadFilterOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; procedure getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSBiquadFilterNode; property type_: TBiquadFilterType read _Gettype_ write _Settype_; property frequency: IJSAudioParam read _Getfrequency; property detune: IJSAudioParam read _Getdetune; property Q: IJSAudioParam read _GetQ; property gain: IJSAudioParam read _Getgain; end; { -------------------------------------------------------------------- TJSCanvasCaptureMediaStream --------------------------------------------------------------------} IJSCanvasCaptureMediaStream = interface(IJSMediaStream) ['{378F6437-EC4E-3E9F-A9E6-A0231380F71D}'] function _Getcanvas: IJSHTMLCanvasElement; procedure requestFrame; property canvas: IJSHTMLCanvasElement read _Getcanvas; end; TJSCanvasCaptureMediaStream = class(TJSMediaStream,IJSCanvasCaptureMediaStream) Private Protected function _Getcanvas: IJSHTMLCanvasElement; Public procedure requestFrame; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCanvasCaptureMediaStream; property canvas: IJSHTMLCanvasElement read _Getcanvas; end; { -------------------------------------------------------------------- TJSChannelMergerNode --------------------------------------------------------------------} IJSChannelMergerNode = interface(IJSAudioNode) ['{2B7DF456-801C-31EA-919E-EF008AA4F2BB}'] end; TJSChannelMergerNode = class(TJSAudioNode,IJSChannelMergerNode) Private Protected Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSChannelMergerOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChannelMergerNode; end; { -------------------------------------------------------------------- TJSChannelSplitterNode --------------------------------------------------------------------} IJSChannelSplitterNode = interface(IJSAudioNode) ['{091CB9B2-5FD8-328A-872E-67393F61A8BC}'] end; TJSChannelSplitterNode = class(TJSAudioNode,IJSChannelSplitterNode) Private Protected Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSChannelSplitterOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChannelSplitterNode; end; { -------------------------------------------------------------------- TJSCharacterData --------------------------------------------------------------------} IJSCharacterData = interface(IJSNode) ['{A9D51760-E53A-3E9E-A2F1-668F01FC3154}'] function _Getdata: UnicodeString; function _Getlength_: Cardinal; function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; procedure _Setdata(const aValue: UnicodeString); function substringData(aOffset: Cardinal; aCount: Cardinal): UnicodeString; procedure appendData(const aData: UnicodeString); procedure insertData(aOffset: Cardinal; const aData: UnicodeString); procedure deleteData(aOffset: Cardinal; aCount: Cardinal); procedure replaceData(aOffset: Cardinal; aCount: Cardinal; const aData: UnicodeString); procedure before(const aNodes: UnicodeString){; ToDo:varargs}; procedure before(aNodes: IJSNode){; ToDo:varargs}; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; procedure after(aNodes: IJSNode){; ToDo:varargs}; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; procedure remove; property data: UnicodeString read _Getdata write _Setdata; property length_: Cardinal read _Getlength_; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; end; TJSCharacterData = class(TJSNode,IJSCharacterData) Private Protected function _Getdata: UnicodeString; function _Getlength_: Cardinal; function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; procedure _Setdata(const aValue: UnicodeString); Public function substringData(aOffset: Cardinal; aCount: Cardinal): UnicodeString; overload; procedure appendData(const aData: UnicodeString); overload; procedure insertData(aOffset: Cardinal; const aData: UnicodeString); overload; procedure deleteData(aOffset: Cardinal; aCount: Cardinal); overload; procedure replaceData(aOffset: Cardinal; aCount: Cardinal; const aData: UnicodeString); overload; procedure before(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure before(aNodes: IJSNode){; ToDo:varargs}; overload; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure after(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; overload; procedure remove; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCharacterData; property data: UnicodeString read _Getdata write _Setdata; property length_: Cardinal read _Getlength_; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; end; { -------------------------------------------------------------------- TJSCompositionEvent --------------------------------------------------------------------} IJSCompositionEvent = interface(IJSUIEvent) ['{DE527D9F-5420-3355-9B2E-A42791A7D18F}'] function _Getdata: UnicodeString; function _Getlocale: UnicodeString; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString; const aLocaleArg: UnicodeString); procedure initCompositionEvent(const aTypeArg: UnicodeString); procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString); property data: UnicodeString read _Getdata; property locale: UnicodeString read _Getlocale; end; TJSCompositionEvent = class(TJSUIEvent,IJSCompositionEvent) Private Protected function _Getdata: UnicodeString; function _Getlocale: UnicodeString; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSCompositionEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString; const aLocaleArg: UnicodeString); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); overload; procedure initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCompositionEvent; property data: UnicodeString read _Getdata; property locale: UnicodeString read _Getlocale; end; { -------------------------------------------------------------------- TJSConvolverNode --------------------------------------------------------------------} IJSConvolverNode = interface(IJSAudioNode) ['{D5FA9C0F-5CE9-3888-A88E-221591E1B64D}'] function _Getbuffer: IJSAudioBuffer; function _Getnormalize: Boolean; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setnormalize(const aValue: Boolean); property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property normalize: Boolean read _Getnormalize write _Setnormalize; end; TJSConvolverNode = class(TJSAudioNode,IJSConvolverNode) Private Protected function _Getbuffer: IJSAudioBuffer; function _Getnormalize: Boolean; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setnormalize(const aValue: Boolean); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSConvolverOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConvolverNode; property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property normalize: Boolean read _Getnormalize write _Setnormalize; end; { -------------------------------------------------------------------- TJSCSSAnimation --------------------------------------------------------------------} IJSCSSAnimation = interface(IJSAnimation) ['{ED5F1156-BB7C-31CF-A0F3-4E1FCCA36046}'] function _GetanimationName: UnicodeString; property animationName: UnicodeString read _GetanimationName; end; TJSCSSAnimation = class(TJSAnimation,IJSCSSAnimation) Private Protected function _GetanimationName: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSAnimation; property animationName: UnicodeString read _GetanimationName; end; { -------------------------------------------------------------------- TJSCSSConditionRule --------------------------------------------------------------------} IJSCSSConditionRule = interface(IJSCSSGroupingRule) ['{DA54C0D6-597B-342E-B822-64B2177E6061}'] function _GetconditionText: UTF8String; property conditionText: UTF8String read _GetconditionText; end; TJSCSSConditionRule = class(TJSCSSGroupingRule,IJSCSSConditionRule) Private Protected function _GetconditionText: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSConditionRule; property conditionText: UTF8String read _GetconditionText; end; { -------------------------------------------------------------------- TJSCSSLayerBlockRule --------------------------------------------------------------------} IJSCSSLayerBlockRule = interface(IJSCSSGroupingRule) ['{D13B0B1B-EE34-3880-ABD0-71D2A52A2C59}'] function _Getname: UTF8String; property name: UTF8String read _Getname; end; TJSCSSLayerBlockRule = class(TJSCSSGroupingRule,IJSCSSLayerBlockRule) Private Protected function _Getname: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSLayerBlockRule; property name: UTF8String read _Getname; end; { -------------------------------------------------------------------- TJSCSSPageRule --------------------------------------------------------------------} IJSCSSPageRule = interface(IJSCSSGroupingRule) ['{E0F0ADF1-09F5-3ACC-8489-3BE917B5CB42}'] function _GetselectorText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetselectorText(const aValue: UTF8String); property selectorText: UTF8String read _GetselectorText write _SetselectorText; property style: IJSCSSStyleDeclaration read _Getstyle; end; TJSCSSPageRule = class(TJSCSSGroupingRule,IJSCSSPageRule) Private Protected function _GetselectorText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetselectorText(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSPageRule; property selectorText: UTF8String read _GetselectorText write _SetselectorText; property style: IJSCSSStyleDeclaration read _Getstyle; end; { -------------------------------------------------------------------- TJSCSSScopeRule --------------------------------------------------------------------} IJSCSSScopeRule = interface(IJSCSSGroupingRule) ['{F453D24E-203D-3BC8-9A13-B651A72CCCBD}'] function _Getstart: UTF8String; function _Getend_: UTF8String; property start: UTF8String read _Getstart; property end_: UTF8String read _Getend_; end; TJSCSSScopeRule = class(TJSCSSGroupingRule,IJSCSSScopeRule) Private Protected function _Getstart: UTF8String; function _Getend_: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSScopeRule; property start: UTF8String read _Getstart; property end_: UTF8String read _Getend_; end; { -------------------------------------------------------------------- TJSCSSStartingStyleRule --------------------------------------------------------------------} IJSCSSStartingStyleRule = interface(IJSCSSGroupingRule) ['{B9DE487C-F4B0-337A-8981-3826BCA54A5B}'] end; TJSCSSStartingStyleRule = class(TJSCSSGroupingRule,IJSCSSStartingStyleRule) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSStartingStyleRule; end; { -------------------------------------------------------------------- TJSCSSStyleRule --------------------------------------------------------------------} IJSCSSStyleRule = interface(IJSCSSGroupingRule) ['{150B048C-1186-3120-BB27-10AD05211076}'] function _GetselectorText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetselectorText(const aValue: UTF8String); property selectorText: UTF8String read _GetselectorText write _SetselectorText; property style: IJSCSSStyleDeclaration read _Getstyle; end; TJSCSSStyleRule = class(TJSCSSGroupingRule,IJSCSSStyleRule) Private Protected function _GetselectorText: UTF8String; function _Getstyle: IJSCSSStyleDeclaration; procedure _SetselectorText(const aValue: UTF8String); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSStyleRule; property selectorText: UTF8String read _GetselectorText write _SetselectorText; property style: IJSCSSStyleDeclaration read _Getstyle; end; { -------------------------------------------------------------------- TJSCSSTransition --------------------------------------------------------------------} IJSCSSTransition = interface(IJSAnimation) ['{2ED0F9FD-E6D6-38AB-8CB5-2332C26AC476}'] function _GettransitionProperty: UnicodeString; property transitionProperty: UnicodeString read _GettransitionProperty; end; TJSCSSTransition = class(TJSAnimation,IJSCSSTransition) Private Protected function _GettransitionProperty: UnicodeString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSTransition; property transitionProperty: UnicodeString read _GettransitionProperty; end; { -------------------------------------------------------------------- TJSDedicatedWorkerGlobalScope --------------------------------------------------------------------} IJSDedicatedWorkerGlobalScope = interface(IJSWorkerGlobalScope) ['{B98E72B7-2686-34D5-A06D-E4D8C5A09250}'] function _Getname: UnicodeString; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonrtctransform: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonrtctransform(const aValue: TEventHandler); procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); procedure postMessage(const aMessage: Variant); procedure close; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; procedure cancelAnimationFrame(aHandle: LongInt); property name: UnicodeString read _Getname; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onrtctransform: TEventHandler read _Getonrtctransform write _Setonrtctransform; end; TJSDedicatedWorkerGlobalScope = class(TJSWorkerGlobalScope,IJSDedicatedWorkerGlobalScope) Private Protected function _Getname: UnicodeString; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonrtctransform: TEventHandler; procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonrtctransform(const aValue: TEventHandler); Public procedure postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); overload; procedure postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); overload; procedure postMessage(const aMessage: Variant); overload; procedure close; overload; function requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; overload; procedure cancelAnimationFrame(aHandle: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDedicatedWorkerGlobalScope; property name: UnicodeString read _Getname; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onrtctransform: TEventHandler read _Getonrtctransform write _Setonrtctransform; end; { -------------------------------------------------------------------- TJSDelayNode --------------------------------------------------------------------} IJSDelayNode = interface(IJSAudioNode) ['{4B7B7B52-4ED5-35A1-A06B-14FAA2B30FF8}'] function _GetdelayTime: IJSAudioParam; property delayTime: IJSAudioParam read _GetdelayTime; end; TJSDelayNode = class(TJSAudioNode,IJSDelayNode) Private Protected function _GetdelayTime: IJSAudioParam; Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSDelayOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDelayNode; property delayTime: IJSAudioParam read _GetdelayTime; end; { -------------------------------------------------------------------- TJSDocument --------------------------------------------------------------------} // Union of ElementCreationOptions, DOMString TDocument_createElement_options_Type = Variant; // Union of ElementCreationOptions, DOMString TDocument_createElementNS_options_Type = Variant; IJSDocument = interface(IJSNode) ['{9180855A-25CB-31EF-BC1F-05C678F5A703}'] function _Getimplementation_: IJSDOMImplementation; function _GetURL: UnicodeString; function _GetdocumentURI: UnicodeString; function _GetcompatMode: UnicodeString; function _GetcharacterSet: UnicodeString; function _Getcharset: UnicodeString; function _GetinputEncoding: UnicodeString; function _GetcontentType: UnicodeString; function _Getdoctype: IJSDocumentType; function _GetdocumentElement: IJSElement; function _Getlocation: IJSLocation; function _Getdomain: UnicodeString; function _Getreferrer: UTF8String; function _Getcookie: UnicodeString; function _GetlastModified: UnicodeString; function _GetreadyState: UnicodeString; function _Gettitle: UnicodeString; function _Getdir: UnicodeString; function _Getbody: IJSHTMLElement; function _Gethead: IJSHTMLHeadElement; function _Getimages: IJSHTMLCollection; function _Getembeds: IJSHTMLCollection; function _Getplugins: IJSHTMLCollection; function _Getlinks: IJSHTMLCollection; function _Getforms: IJSHTMLCollection; function _Getscripts: IJSHTMLCollection; function _GetdefaultView: IJSWindowProxy; function _GetdesignMode: UnicodeString; function _Getonreadystatechange: TEventHandler; function _Getonbeforescriptexecute: TEventHandler; function _Getonafterscriptexecute: TEventHandler; function _GetmozSyntheticDocument: Boolean; function _GetcurrentScript: IJSElement; function _GetfgColor: UnicodeString; function _GetlinkColor: UnicodeString; function _GetvlinkColor: UnicodeString; function _GetalinkColor: UnicodeString; function _GetbgColor: UnicodeString; function _Getanchors: IJSHTMLCollection; function _Getapplets: IJSHTMLCollection; function _Getall: IJSHTMLAllCollection; function _Getfullscreen: Boolean; function _GetmozFullScreen: Boolean; function _GetfullscreenEnabled: Boolean; function _GetmozFullScreenEnabled: Boolean; function _Getonfullscreenchange: TEventHandler; function _Getonfullscreenerror: TEventHandler; function _Getonpointerlockchange: TEventHandler; function _Getonpointerlockerror: TEventHandler; function _Gethidden: Boolean; function _GetvisibilityState: TVisibilityState; function _Getonvisibilitychange: TEventHandler; function _GetselectedStyleSheetSet: UnicodeString; function _GetlastStyleSheetSet: UnicodeString; function _GetpreferredStyleSheetSet: UnicodeString; function _GetstyleSheetSets: IJSDOMStringList; function _GetscrollingElement: IJSElement; function _Gettimeline: IJSDocumentTimeline; function _GetrootElement: IJSSVGSVGElement; function _Getl10n: IJSObject; function _GethasPendingL10nMutations: Boolean; function _GetfeaturePolicy: IJSFeaturePolicy; function _GetfragmentDirective: IJSFragmentDirective; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; function _Getonerror: TEventHandler; function _Getfonts: IJSFontFaceSet; function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _Setdomain(const aValue: UnicodeString); procedure _Setcookie(const aValue: UnicodeString); procedure _Settitle(const aValue: UnicodeString); procedure _Setdir(const aValue: UnicodeString); procedure _Setbody(const aValue: IJSHTMLElement); procedure _SetdesignMode(const aValue: UnicodeString); procedure _Setonreadystatechange(const aValue: TEventHandler); procedure _Setonbeforescriptexecute(const aValue: TEventHandler); procedure _Setonafterscriptexecute(const aValue: TEventHandler); procedure _SetfgColor(const aValue: UnicodeString); procedure _SetlinkColor(const aValue: UnicodeString); procedure _SetvlinkColor(const aValue: UnicodeString); procedure _SetalinkColor(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setonfullscreenchange(const aValue: TEventHandler); procedure _Setonfullscreenerror(const aValue: TEventHandler); procedure _Setonpointerlockchange(const aValue: TEventHandler); procedure _Setonpointerlockerror(const aValue: TEventHandler); procedure _Setonvisibilitychange(const aValue: TEventHandler); procedure _SetselectedStyleSheetSet(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); function getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; function getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; function getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; function createElement(const aLocalName: UnicodeString; const aOptions: UnicodeString): IJSElement; function createElement(const aLocalName: UnicodeString): IJSElement; function createElement(const aLocalName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: UnicodeString): IJSElement; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSElement; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; function createDocumentFragment: IJSDocumentFragment; function createTextNode(const aData: UnicodeString): IJSText; function createComment(const aData: UnicodeString): IJSComment; function createProcessingInstruction(const aTarget: UnicodeString; const aData: UnicodeString): IJSProcessingInstruction; function importNode(aNode: IJSNode; aDeep: Boolean): IJSNode; function importNode(aNode: IJSNode): IJSNode; function adoptNode(aNode: IJSNode): IJSNode; function createEvent(const aInterface_: UnicodeString): IJSEvent; function createRange: IJSRange; function createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSNodeIterator; function createNodeIterator(aRoot: IJSNode): IJSNodeIterator; function createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal): IJSNodeIterator; function createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSTreeWalker; function createTreeWalker(aRoot: IJSNode): IJSTreeWalker; function createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal): IJSTreeWalker; function createCDATASection(const aData: UnicodeString): IJSCDATASection; function createAttribute(const aName: UnicodeString): IJSAttr; function createAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString): IJSAttr; function getElementsByName(const aElementName: UnicodeString): IJSNodeList; function open(const aUnused1: UnicodeString; const aUnused2: UnicodeString): IJSDocument; function open: IJSDocument; function open(const aUnused1: UnicodeString): IJSDocument; function open(const aUrl: UnicodeString; const aName: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; procedure close; procedure write(const aText: UnicodeString){; ToDo:varargs}; procedure writeln(const aText: UnicodeString){; ToDo:varargs}; function hasFocus: Boolean; function execCommand(const aCommandId: UnicodeString; aShowUI: Boolean; const aValue: UnicodeString): Boolean; function execCommand(const aCommandId: UnicodeString): Boolean; function execCommand(const aCommandId: UnicodeString; aShowUI: Boolean): Boolean; function queryCommandEnabled(const aCommandId: UnicodeString): Boolean; function queryCommandIndeterm(const aCommandId: UnicodeString): Boolean; function queryCommandState(const aCommandId: UnicodeString): Boolean; function queryCommandSupported(const aCommandId: UnicodeString): Boolean; function queryCommandValue(const aCommandId: UnicodeString): UnicodeString; procedure releaseCapture; procedure mozSetImageElement(const aAImageElementId: UnicodeString; aAImageElement: IJSElement); procedure clear; procedure captureEvents; procedure releaseEvents; function exitFullscreen: IJSPromise; // Promise function mozCancelFullScreen: IJSPromise; // Promise procedure exitPointerLock; function addCertException(aIsTemporary: Boolean): IJSPromise; // Promise procedure reloadWithHttpsOnlyException; function getFailedCertSecurityInfo: IJSFailedCertSecurityInfo; function getNetErrorInfo: IJSNetErrorInfo; procedure enableStyleSheetsForSet(const aName: UnicodeString); function caretPositionFromPoint(aX: Single; aY: Single): IJSCaretPosition; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single; aForce: Single): IJSTouch; function createTouch: IJSTouch; function createTouch(aView: IJSWindow): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt): IJSTouch; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single): IJSTouch; function createTouchList(aTouch: IJSTouch; aTouches: IJSTouch): IJSTouchList{; ToDo:varargs}; function createTouchList: IJSTouchList; function createTouchList(const aTouches: TJSTouchDynArray): IJSTouchList; procedure blockUnblockOnload(aBlock: Boolean); function getSelection: IJSSelection; function hasStorageAccess: IJSPromise; // Promise function requestStorageAccess: IJSPromise; // Promise function requestStorageAccessUnderSite(const aSerializedSite: UnicodeString): IJSPromise; // Promise function completeStorageAccessRequestFromSite(const aSerializedSite: UnicodeString): IJSPromise; // Promise function requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString; aRequireUserInteraction: Boolean): IJSPromise; // Promise function requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString): IJSPromise; // Promise function createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; function createExpression(const aExpression: UnicodeString): IJSXPathExpression; function createNSResolver(aNodeResolver: IJSNode): IJSNode; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; procedure append(aNodes: IJSNode){; ToDo:varargs}; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; function querySelector(const aSelectors: UTF8String): IJSElement; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; function getBoxQuads: TJSDOMQuadDynArray; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; function elementFromPoint(aX: Single; aY: Single): IJSElement; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; function getAnimations: TJSAnimationDynArray; function getElementById(const aElementId: UnicodeString): IJSElement; property implementation_: IJSDOMImplementation read _Getimplementation_; property URL: UnicodeString read _GetURL; property documentURI: UnicodeString read _GetdocumentURI; property compatMode: UnicodeString read _GetcompatMode; property characterSet: UnicodeString read _GetcharacterSet; property charset: UnicodeString read _Getcharset; property inputEncoding: UnicodeString read _GetinputEncoding; property contentType: UnicodeString read _GetcontentType; property doctype: IJSDocumentType read _Getdoctype; property documentElement: IJSElement read _GetdocumentElement; property location: IJSLocation read _Getlocation; property domain: UnicodeString read _Getdomain write _Setdomain; property referrer: UTF8String read _Getreferrer; property cookie: UnicodeString read _Getcookie write _Setcookie; property lastModified: UnicodeString read _GetlastModified; property readyState: UnicodeString read _GetreadyState; property title: UnicodeString read _Gettitle write _Settitle; property dir: UnicodeString read _Getdir write _Setdir; property body: IJSHTMLElement read _Getbody write _Setbody; property head: IJSHTMLHeadElement read _Gethead; property images: IJSHTMLCollection read _Getimages; property embeds: IJSHTMLCollection read _Getembeds; property plugins: IJSHTMLCollection read _Getplugins; property links: IJSHTMLCollection read _Getlinks; property forms: IJSHTMLCollection read _Getforms; property scripts: IJSHTMLCollection read _Getscripts; property defaultView: IJSWindowProxy read _GetdefaultView; property designMode: UnicodeString read _GetdesignMode write _SetdesignMode; property onreadystatechange: TEventHandler read _Getonreadystatechange write _Setonreadystatechange; property onbeforescriptexecute: TEventHandler read _Getonbeforescriptexecute write _Setonbeforescriptexecute; property onafterscriptexecute: TEventHandler read _Getonafterscriptexecute write _Setonafterscriptexecute; property mozSyntheticDocument: Boolean read _GetmozSyntheticDocument; property currentScript: IJSElement read _GetcurrentScript; property fgColor: UnicodeString read _GetfgColor write _SetfgColor; property linkColor: UnicodeString read _GetlinkColor write _SetlinkColor; property vlinkColor: UnicodeString read _GetvlinkColor write _SetvlinkColor; property alinkColor: UnicodeString read _GetalinkColor write _SetalinkColor; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property anchors: IJSHTMLCollection read _Getanchors; property applets: IJSHTMLCollection read _Getapplets; property all: IJSHTMLAllCollection read _Getall; property fullscreen: Boolean read _Getfullscreen; property mozFullScreen: Boolean read _GetmozFullScreen; property fullscreenEnabled: Boolean read _GetfullscreenEnabled; property mozFullScreenEnabled: Boolean read _GetmozFullScreenEnabled; property onfullscreenchange: TEventHandler read _Getonfullscreenchange write _Setonfullscreenchange; property onfullscreenerror: TEventHandler read _Getonfullscreenerror write _Setonfullscreenerror; property onpointerlockchange: TEventHandler read _Getonpointerlockchange write _Setonpointerlockchange; property onpointerlockerror: TEventHandler read _Getonpointerlockerror write _Setonpointerlockerror; property hidden: Boolean read _Gethidden; property visibilityState: TVisibilityState read _GetvisibilityState; property onvisibilitychange: TEventHandler read _Getonvisibilitychange write _Setonvisibilitychange; property selectedStyleSheetSet: UnicodeString read _GetselectedStyleSheetSet write _SetselectedStyleSheetSet; property lastStyleSheetSet: UnicodeString read _GetlastStyleSheetSet; property preferredStyleSheetSet: UnicodeString read _GetpreferredStyleSheetSet; property styleSheetSets: IJSDOMStringList read _GetstyleSheetSets; property scrollingElement: IJSElement read _GetscrollingElement; property timeline: IJSDocumentTimeline read _Gettimeline; property rootElement: IJSSVGSVGElement read _GetrootElement; property l10n: IJSObject read _Getl10n; property hasPendingL10nMutations: Boolean read _GethasPendingL10nMutations; property featurePolicy: IJSFeaturePolicy read _GetfeaturePolicy; property fragmentDirective: IJSFragmentDirective read _GetfragmentDirective; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; property onerror: TEventHandler read _Getonerror write _Setonerror; property fonts: IJSFontFaceSet read _Getfonts; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; TJSDocument = class(TJSNode,IJSDocument) Private Protected function _Getimplementation_: IJSDOMImplementation; function _GetURL: UnicodeString; function _GetdocumentURI: UnicodeString; function _GetcompatMode: UnicodeString; function _GetcharacterSet: UnicodeString; function _Getcharset: UnicodeString; function _GetinputEncoding: UnicodeString; function _GetcontentType: UnicodeString; function _Getdoctype: IJSDocumentType; function _GetdocumentElement: IJSElement; function _Getlocation: IJSLocation; function _Getdomain: UnicodeString; function _Getreferrer: UTF8String; function _Getcookie: UnicodeString; function _GetlastModified: UnicodeString; function _GetreadyState: UnicodeString; function _Gettitle: UnicodeString; function _Getdir: UnicodeString; function _Getbody: IJSHTMLElement; function _Gethead: IJSHTMLHeadElement; function _Getimages: IJSHTMLCollection; function _Getembeds: IJSHTMLCollection; function _Getplugins: IJSHTMLCollection; function _Getlinks: IJSHTMLCollection; function _Getforms: IJSHTMLCollection; function _Getscripts: IJSHTMLCollection; function _GetdefaultView: IJSWindowProxy; function _GetdesignMode: UnicodeString; function _Getonreadystatechange: TEventHandler; function _Getonbeforescriptexecute: TEventHandler; function _Getonafterscriptexecute: TEventHandler; function _GetmozSyntheticDocument: Boolean; function _GetcurrentScript: IJSElement; function _GetfgColor: UnicodeString; function _GetlinkColor: UnicodeString; function _GetvlinkColor: UnicodeString; function _GetalinkColor: UnicodeString; function _GetbgColor: UnicodeString; function _Getanchors: IJSHTMLCollection; function _Getapplets: IJSHTMLCollection; function _Getall: IJSHTMLAllCollection; function _Getfullscreen: Boolean; function _GetmozFullScreen: Boolean; function _GetfullscreenEnabled: Boolean; function _GetmozFullScreenEnabled: Boolean; function _Getonfullscreenchange: TEventHandler; function _Getonfullscreenerror: TEventHandler; function _Getonpointerlockchange: TEventHandler; function _Getonpointerlockerror: TEventHandler; function _Gethidden: Boolean; function _GetvisibilityState: TVisibilityState; function _Getonvisibilitychange: TEventHandler; function _GetselectedStyleSheetSet: UnicodeString; function _GetlastStyleSheetSet: UnicodeString; function _GetpreferredStyleSheetSet: UnicodeString; function _GetstyleSheetSets: IJSDOMStringList; function _GetscrollingElement: IJSElement; function _Gettimeline: IJSDocumentTimeline; function _GetrootElement: IJSSVGSVGElement; function _Getl10n: IJSObject; function _GethasPendingL10nMutations: Boolean; function _GetfeaturePolicy: IJSFeaturePolicy; function _GetfragmentDirective: IJSFragmentDirective; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; function _Getonerror: TEventHandler; function _Getfonts: IJSFontFaceSet; function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _Setdomain(const aValue: UnicodeString); procedure _Setcookie(const aValue: UnicodeString); procedure _Settitle(const aValue: UnicodeString); procedure _Setdir(const aValue: UnicodeString); procedure _Setbody(const aValue: IJSHTMLElement); procedure _SetdesignMode(const aValue: UnicodeString); procedure _Setonreadystatechange(const aValue: TEventHandler); procedure _Setonbeforescriptexecute(const aValue: TEventHandler); procedure _Setonafterscriptexecute(const aValue: TEventHandler); procedure _SetfgColor(const aValue: UnicodeString); procedure _SetlinkColor(const aValue: UnicodeString); procedure _SetvlinkColor(const aValue: UnicodeString); procedure _SetalinkColor(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setonfullscreenchange(const aValue: TEventHandler); procedure _Setonfullscreenerror(const aValue: TEventHandler); procedure _Setonpointerlockchange(const aValue: TEventHandler); procedure _Setonpointerlockerror(const aValue: TEventHandler); procedure _Setonvisibilitychange(const aValue: TEventHandler); procedure _SetselectedStyleSheetSet(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); Public constructor Create; overload; function getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; overload; function getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; overload; function getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; overload; function createElement(const aLocalName: UnicodeString; const aOptions: UnicodeString): IJSElement; overload; function createElement(const aLocalName: UnicodeString): IJSElement; overload; function createElement(const aLocalName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; overload; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: UnicodeString): IJSElement; overload; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSElement; overload; function createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; overload; function createDocumentFragment: IJSDocumentFragment; overload; function createTextNode(const aData: UnicodeString): IJSText; overload; function createComment(const aData: UnicodeString): IJSComment; overload; function createProcessingInstruction(const aTarget: UnicodeString; const aData: UnicodeString): IJSProcessingInstruction; overload; function importNode(aNode: IJSNode; aDeep: Boolean): IJSNode; overload; function importNode(aNode: IJSNode): IJSNode; overload; function adoptNode(aNode: IJSNode): IJSNode; overload; function createEvent(const aInterface_: UnicodeString): IJSEvent; overload; function createRange: IJSRange; overload; function createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSNodeIterator; overload; function createNodeIterator(aRoot: IJSNode): IJSNodeIterator; overload; function createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal): IJSNodeIterator; overload; function createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSTreeWalker; overload; function createTreeWalker(aRoot: IJSNode): IJSTreeWalker; overload; function createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal): IJSTreeWalker; overload; function createCDATASection(const aData: UnicodeString): IJSCDATASection; overload; function createAttribute(const aName: UnicodeString): IJSAttr; overload; function createAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString): IJSAttr; overload; function parseHTMLUnsafe(const aHtml: UnicodeString): IJSDocument; overload; function getElementsByName(const aElementName: UnicodeString): IJSNodeList; overload; function open(const aUnused1: UnicodeString; const aUnused2: UnicodeString): IJSDocument; overload; function open: IJSDocument; overload; function open(const aUnused1: UnicodeString): IJSDocument; overload; function open(const aUrl: UnicodeString; const aName: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; overload; procedure close; overload; procedure write(const aText: UnicodeString){; ToDo:varargs}; overload; procedure writeln(const aText: UnicodeString){; ToDo:varargs}; overload; function hasFocus: Boolean; overload; function execCommand(const aCommandId: UnicodeString; aShowUI: Boolean; const aValue: UnicodeString): Boolean; overload; function execCommand(const aCommandId: UnicodeString): Boolean; overload; function execCommand(const aCommandId: UnicodeString; aShowUI: Boolean): Boolean; overload; function queryCommandEnabled(const aCommandId: UnicodeString): Boolean; overload; function queryCommandIndeterm(const aCommandId: UnicodeString): Boolean; overload; function queryCommandState(const aCommandId: UnicodeString): Boolean; overload; function queryCommandSupported(const aCommandId: UnicodeString): Boolean; overload; function queryCommandValue(const aCommandId: UnicodeString): UnicodeString; overload; procedure releaseCapture; overload; procedure mozSetImageElement(const aAImageElementId: UnicodeString; aAImageElement: IJSElement); overload; procedure clear; overload; procedure captureEvents; overload; procedure releaseEvents; overload; function exitFullscreen: IJSPromise; overload; // Promise function mozCancelFullScreen: IJSPromise; overload; // Promise procedure exitPointerLock; overload; function addCertException(aIsTemporary: Boolean): IJSPromise; overload; // Promise procedure reloadWithHttpsOnlyException; overload; function getFailedCertSecurityInfo: IJSFailedCertSecurityInfo; overload; function getNetErrorInfo: IJSNetErrorInfo; overload; procedure enableStyleSheetsForSet(const aName: UnicodeString); overload; function caretPositionFromPoint(aX: Single; aY: Single): IJSCaretPosition; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single; aForce: Single): IJSTouch; overload; function createTouch: IJSTouch; overload; function createTouch(aView: IJSWindow): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt): IJSTouch; overload; function createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single): IJSTouch; overload; function createTouchList(aTouch: IJSTouch; aTouches: IJSTouch): IJSTouchList{; ToDo:varargs}; overload; function createTouchList: IJSTouchList; overload; function createTouchList(const aTouches: TJSTouchDynArray): IJSTouchList; overload; procedure blockUnblockOnload(aBlock: Boolean); overload; function getSelection: IJSSelection; overload; function hasStorageAccess: IJSPromise; overload; // Promise function requestStorageAccess: IJSPromise; overload; // Promise function requestStorageAccessUnderSite(const aSerializedSite: UnicodeString): IJSPromise; overload; // Promise function completeStorageAccessRequestFromSite(const aSerializedSite: UnicodeString): IJSPromise; overload; // Promise function requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString; aRequireUserInteraction: Boolean): IJSPromise; overload; // Promise function requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString): IJSPromise; overload; // Promise function createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; overload; function createExpression(const aExpression: UnicodeString): IJSXPathExpression; overload; function createNSResolver(aNodeResolver: IJSNode): IJSNode; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; overload; function evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; overload; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; overload; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure append(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; overload; function querySelector(const aSelectors: UTF8String): IJSElement; overload; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; overload; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; overload; function getBoxQuads: TJSDOMQuadDynArray; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; overload; function elementFromPoint(aX: Single; aY: Single): IJSElement; overload; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; overload; function getAnimations: TJSAnimationDynArray; overload; function getElementById(const aElementId: UnicodeString): IJSElement; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocument; property implementation_: IJSDOMImplementation read _Getimplementation_; property URL: UnicodeString read _GetURL; property documentURI: UnicodeString read _GetdocumentURI; property compatMode: UnicodeString read _GetcompatMode; property characterSet: UnicodeString read _GetcharacterSet; property charset: UnicodeString read _Getcharset; property inputEncoding: UnicodeString read _GetinputEncoding; property contentType: UnicodeString read _GetcontentType; property doctype: IJSDocumentType read _Getdoctype; property documentElement: IJSElement read _GetdocumentElement; property location: IJSLocation read _Getlocation; property domain: UnicodeString read _Getdomain write _Setdomain; property referrer: UTF8String read _Getreferrer; property cookie: UnicodeString read _Getcookie write _Setcookie; property lastModified: UnicodeString read _GetlastModified; property readyState: UnicodeString read _GetreadyState; property title: UnicodeString read _Gettitle write _Settitle; property dir: UnicodeString read _Getdir write _Setdir; property body: IJSHTMLElement read _Getbody write _Setbody; property head: IJSHTMLHeadElement read _Gethead; property images: IJSHTMLCollection read _Getimages; property embeds: IJSHTMLCollection read _Getembeds; property plugins: IJSHTMLCollection read _Getplugins; property links: IJSHTMLCollection read _Getlinks; property forms: IJSHTMLCollection read _Getforms; property scripts: IJSHTMLCollection read _Getscripts; property defaultView: IJSWindowProxy read _GetdefaultView; property designMode: UnicodeString read _GetdesignMode write _SetdesignMode; property onreadystatechange: TEventHandler read _Getonreadystatechange write _Setonreadystatechange; property onbeforescriptexecute: TEventHandler read _Getonbeforescriptexecute write _Setonbeforescriptexecute; property onafterscriptexecute: TEventHandler read _Getonafterscriptexecute write _Setonafterscriptexecute; property mozSyntheticDocument: Boolean read _GetmozSyntheticDocument; property currentScript: IJSElement read _GetcurrentScript; property fgColor: UnicodeString read _GetfgColor write _SetfgColor; property linkColor: UnicodeString read _GetlinkColor write _SetlinkColor; property vlinkColor: UnicodeString read _GetvlinkColor write _SetvlinkColor; property alinkColor: UnicodeString read _GetalinkColor write _SetalinkColor; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property anchors: IJSHTMLCollection read _Getanchors; property applets: IJSHTMLCollection read _Getapplets; property all: IJSHTMLAllCollection read _Getall; property fullscreen: Boolean read _Getfullscreen; property mozFullScreen: Boolean read _GetmozFullScreen; property fullscreenEnabled: Boolean read _GetfullscreenEnabled; property mozFullScreenEnabled: Boolean read _GetmozFullScreenEnabled; property onfullscreenchange: TEventHandler read _Getonfullscreenchange write _Setonfullscreenchange; property onfullscreenerror: TEventHandler read _Getonfullscreenerror write _Setonfullscreenerror; property onpointerlockchange: TEventHandler read _Getonpointerlockchange write _Setonpointerlockchange; property onpointerlockerror: TEventHandler read _Getonpointerlockerror write _Setonpointerlockerror; property hidden: Boolean read _Gethidden; property visibilityState: TVisibilityState read _GetvisibilityState; property onvisibilitychange: TEventHandler read _Getonvisibilitychange write _Setonvisibilitychange; property selectedStyleSheetSet: UnicodeString read _GetselectedStyleSheetSet write _SetselectedStyleSheetSet; property lastStyleSheetSet: UnicodeString read _GetlastStyleSheetSet; property preferredStyleSheetSet: UnicodeString read _GetpreferredStyleSheetSet; property styleSheetSets: IJSDOMStringList read _GetstyleSheetSets; property scrollingElement: IJSElement read _GetscrollingElement; property timeline: IJSDocumentTimeline read _Gettimeline; property rootElement: IJSSVGSVGElement read _GetrootElement; property l10n: IJSObject read _Getl10n; property hasPendingL10nMutations: Boolean read _GethasPendingL10nMutations; property featurePolicy: IJSFeaturePolicy read _GetfeaturePolicy; property fragmentDirective: IJSFragmentDirective read _GetfragmentDirective; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; property onerror: TEventHandler read _Getonerror write _Setonerror; property fonts: IJSFontFaceSet read _Getfonts; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; { -------------------------------------------------------------------- TJSDocumentFragment --------------------------------------------------------------------} IJSDocumentFragment = interface(IJSNode) ['{02E9D37B-03DC-3859-A0C2-99DB272D7EB0}'] function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; procedure append(aNodes: IJSNode){; ToDo:varargs}; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; function querySelector(const aSelectors: UTF8String): IJSElement; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; function getElementById(const aElementId: UnicodeString): IJSElement; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; end; TJSDocumentFragment = class(TJSNode,IJSDocumentFragment) Private Protected function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; Public constructor Create; overload; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; overload; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure append(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; overload; function querySelector(const aSelectors: UTF8String): IJSElement; overload; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; overload; function getElementById(const aElementId: UnicodeString): IJSElement; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocumentFragment; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; end; { -------------------------------------------------------------------- TJSDocumentType --------------------------------------------------------------------} IJSDocumentType = interface(IJSNode) ['{E198DB92-C0D2-36FE-9BB8-E37C1EC26C85}'] function _Getname: UnicodeString; function _GetpublicId: UnicodeString; function _GetsystemId: UnicodeString; procedure before(const aNodes: UnicodeString){; ToDo:varargs}; procedure before(aNodes: IJSNode){; ToDo:varargs}; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; procedure after(aNodes: IJSNode){; ToDo:varargs}; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; procedure remove; property name: UnicodeString read _Getname; property publicId: UnicodeString read _GetpublicId; property systemId: UnicodeString read _GetsystemId; end; TJSDocumentType = class(TJSNode,IJSDocumentType) Private Protected function _Getname: UnicodeString; function _GetpublicId: UnicodeString; function _GetsystemId: UnicodeString; Public procedure before(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure before(aNodes: IJSNode){; ToDo:varargs}; overload; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure after(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; overload; procedure remove; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDocumentType; property name: UnicodeString read _Getname; property publicId: UnicodeString read _GetpublicId; property systemId: UnicodeString read _GetsystemId; end; { -------------------------------------------------------------------- TJSDynamicsCompressorNode --------------------------------------------------------------------} IJSDynamicsCompressorNode = interface(IJSAudioNode) ['{B0D6CF81-10B0-3763-892E-69ECB008DF04}'] function _Getthreshold: IJSAudioParam; function _Getknee: IJSAudioParam; function _Getratio: IJSAudioParam; function _Getreduction: Single; function _Getattack: IJSAudioParam; function _Getrelease: IJSAudioParam; property threshold: IJSAudioParam read _Getthreshold; property knee: IJSAudioParam read _Getknee; property ratio: IJSAudioParam read _Getratio; property reduction: Single read _Getreduction; property attack: IJSAudioParam read _Getattack; property release: IJSAudioParam read _Getrelease; end; TJSDynamicsCompressorNode = class(TJSAudioNode,IJSDynamicsCompressorNode) Private Protected function _Getthreshold: IJSAudioParam; function _Getknee: IJSAudioParam; function _Getratio: IJSAudioParam; function _Getreduction: Single; function _Getattack: IJSAudioParam; function _Getrelease: IJSAudioParam; Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSDynamicsCompressorOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDynamicsCompressorNode; property threshold: IJSAudioParam read _Getthreshold; property knee: IJSAudioParam read _Getknee; property ratio: IJSAudioParam read _Getratio; property reduction: Single read _Getreduction; property attack: IJSAudioParam read _Getattack; property release: IJSAudioParam read _Getrelease; end; { -------------------------------------------------------------------- TJSElement --------------------------------------------------------------------} // Union of boolean, ScrollIntoViewOptions TElement_scrollIntoView_arg_Type = Variant; IJSElement = interface(IJSNode) ['{0DA8F935-861E-31B0-84E1-FF9EEB366403}'] function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; function _GetlocalName: UnicodeString; function _GettagName: UnicodeString; function _Getid: UnicodeString; function _GetclassName_: UnicodeString; function _GetclassList: IJSDOMTokenList; function _Getpart: IJSDOMTokenList; function _Getattributes: IJSNamedNodeMap; function _GetscrollTop: LongInt; function _GetscrollLeft: LongInt; function _GetscrollWidth: LongInt; function _GetscrollHeight: LongInt; function _GetclientTop: LongInt; function _GetclientLeft: LongInt; function _GetclientWidth: LongInt; function _GetclientHeight: LongInt; function _GetscrollTopMax: LongInt; function _GetscrollLeftMax: LongInt; function _GetcurrentCSSZoom: Double; function _GetinnerHTML: UnicodeString; function _GetouterHTML: UnicodeString; function _GetshadowRoot: IJSShadowRoot; function _GetopenOrClosedShadowRoot: IJSShadowRoot; function _GetassignedSlot: IJSHTMLSlotElement; function _Getslot: UnicodeString; function _Getonfullscreenchange: TEventHandler; function _Getonfullscreenerror: TEventHandler; function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _Setid(const aValue: UnicodeString); procedure _SetclassName_(const aValue: UnicodeString); procedure _SetscrollTop(const aValue: LongInt); procedure _SetscrollLeft(const aValue: LongInt); procedure _SetinnerHTML(const aValue: UnicodeString); procedure _SetouterHTML(const aValue: UnicodeString); procedure _Setslot(const aValue: UnicodeString); procedure _Setonfullscreenchange(const aValue: TEventHandler); procedure _Setonfullscreenerror(const aValue: TEventHandler); procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); function getAttributeNames: TUnicodeStringDynArray; function getAttribute(const aName: UnicodeString): UnicodeString; function getAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): UnicodeString; function toggleAttribute(const aName: UnicodeString; aForce: Boolean): Boolean; function toggleAttribute(const aName: UnicodeString): Boolean; procedure setAttribute(const aName: UnicodeString; const aValue: UnicodeString); procedure setAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString; const aValue: UnicodeString); procedure removeAttribute(const aName: UnicodeString); procedure removeAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString); function hasAttribute(const aName: UnicodeString): Boolean; function hasAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): Boolean; function hasAttributes: Boolean; function closest(const aSelector: UTF8String): IJSElement; function matches(const aSelector: UTF8String): Boolean; function webkitMatchesSelector(const aSelector: UTF8String): Boolean; function getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; function getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; function getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; function insertAdjacentElement(const aWhere: UnicodeString; aElement: IJSElement): IJSElement; procedure insertAdjacentText(const aWhere: UnicodeString; const aData: UnicodeString); function mozMatchesSelector(const aSelector: UTF8String): Boolean; procedure setPointerCapture(aPointerId: LongInt); procedure releasePointerCapture(aPointerId: LongInt); function hasPointerCapture(aPointerId: LongInt): Boolean; procedure setCapture(aRetargetToElement: Boolean); procedure setCapture; procedure releaseCapture; function getAttributeNode(const aName: UnicodeString): IJSAttr; function setAttributeNode(aNewAttr: IJSAttr): IJSAttr; function removeAttributeNode(aOldAttr: IJSAttr): IJSAttr; function getAttributeNodeNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; function setAttributeNodeNS(aNewAttr: IJSAttr): IJSAttr; function getTransformToAncestor(aAncestor: IJSElement): IJSDOMMatrixReadOnly; function getTransformToParent: IJSDOMMatrixReadOnly; function getTransformToViewport: IJSDOMMatrixReadOnly; function getClientRects: IJSDOMRectList; function getBoundingClientRect: IJSDOMRect; function checkVisibility(const aOptions: IJSCheckVisibilityOptions): Boolean; function checkVisibility: Boolean; procedure scrollIntoView(aArg: Boolean); procedure scrollIntoView; procedure scrollIntoView(const aArg: IJSScrollIntoViewOptions); procedure scroll(aX: Double; aY: Double); procedure scroll(const aOptions: IJSScrollToOptions); procedure scroll; procedure scrollTo(aX: Double; aY: Double); procedure scrollTo(const aOptions: IJSScrollToOptions); procedure scrollTo; procedure scrollBy(aX: Double; aY: Double); procedure scrollBy(const aOptions: IJSScrollToOptions); procedure scrollBy; procedure insertAdjacentHTML(const aPosition: UnicodeString; const aText: UnicodeString); function attachShadow(const aShadowRootInitDict: IJSShadowRootInit): IJSShadowRoot; function requestFullscreen: IJSPromise; // Promise function mozRequestFullScreen: IJSPromise; // Promise procedure requestPointerLock; procedure setHTML(const aAInnerHTML: UnicodeString; const aOptions: IJSSetHTMLOptions); procedure setHTML(const aAInnerHTML: UnicodeString); procedure setHTMLUnsafe(const aHtml: UnicodeString); procedure before(const aNodes: UnicodeString){; ToDo:varargs}; procedure before(aNodes: IJSNode){; ToDo:varargs}; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; procedure after(aNodes: IJSNode){; ToDo:varargs}; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; procedure remove; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; procedure append(aNodes: IJSNode){; ToDo:varargs}; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; function querySelector(const aSelectors: UTF8String): IJSElement; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; function animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; function animate(aKeyframes: IJSObject): IJSAnimation; function animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; function getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; function getAnimations: TJSAnimationDynArray; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; function getBoxQuads: TJSDOMQuadDynArray; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; property localName: UnicodeString read _GetlocalName; property tagName: UnicodeString read _GettagName; property id: UnicodeString read _Getid write _Setid; property className_: UnicodeString read _GetclassName_ write _SetclassName_; property classList: IJSDOMTokenList read _GetclassList; property part: IJSDOMTokenList read _Getpart; property attributes: IJSNamedNodeMap read _Getattributes; property scrollTop: LongInt read _GetscrollTop write _SetscrollTop; property scrollLeft: LongInt read _GetscrollLeft write _SetscrollLeft; property scrollWidth: LongInt read _GetscrollWidth; property scrollHeight: LongInt read _GetscrollHeight; property clientTop: LongInt read _GetclientTop; property clientLeft: LongInt read _GetclientLeft; property clientWidth: LongInt read _GetclientWidth; property clientHeight: LongInt read _GetclientHeight; property scrollTopMax: LongInt read _GetscrollTopMax; property scrollLeftMax: LongInt read _GetscrollLeftMax; property currentCSSZoom: Double read _GetcurrentCSSZoom; property innerHTML: UnicodeString read _GetinnerHTML write _SetinnerHTML; property outerHTML: UnicodeString read _GetouterHTML write _SetouterHTML; property shadowRoot: IJSShadowRoot read _GetshadowRoot; property openOrClosedShadowRoot: IJSShadowRoot read _GetopenOrClosedShadowRoot; property assignedSlot: IJSHTMLSlotElement read _GetassignedSlot; property slot: UnicodeString read _Getslot write _Setslot; property onfullscreenchange: TEventHandler read _Getonfullscreenchange write _Setonfullscreenchange; property onfullscreenerror: TEventHandler read _Getonfullscreenerror write _Setonfullscreenerror; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; TJSElement = class(TJSNode,IJSElement) Private Protected function _GetnamespaceURI: UnicodeString; function _Getprefix: UnicodeString; function _GetlocalName: UnicodeString; function _GettagName: UnicodeString; function _Getid: UnicodeString; function _GetclassName_: UnicodeString; function _GetclassList: IJSDOMTokenList; function _Getpart: IJSDOMTokenList; function _Getattributes: IJSNamedNodeMap; function _GetscrollTop: LongInt; function _GetscrollLeft: LongInt; function _GetscrollWidth: LongInt; function _GetscrollHeight: LongInt; function _GetclientTop: LongInt; function _GetclientLeft: LongInt; function _GetclientWidth: LongInt; function _GetclientHeight: LongInt; function _GetscrollTopMax: LongInt; function _GetscrollLeftMax: LongInt; function _GetcurrentCSSZoom: Double; function _GetinnerHTML: UnicodeString; function _GetouterHTML: UnicodeString; function _GetshadowRoot: IJSShadowRoot; function _GetopenOrClosedShadowRoot: IJSShadowRoot; function _GetassignedSlot: IJSHTMLSlotElement; function _Getslot: UnicodeString; function _Getonfullscreenchange: TEventHandler; function _Getonfullscreenerror: TEventHandler; function _GetpreviousElementSibling: IJSElement; function _GetnextElementSibling: IJSElement; function _Getchildren: IJSHTMLCollection; function _GetfirstElementChild: IJSElement; function _GetlastElementChild: IJSElement; function _GetchildElementCount: Cardinal; function _GetariaActiveDescendantElement: IJSElement; function _Getrole: UnicodeString; function _GetariaAtomic: UnicodeString; function _GetariaAutoComplete: UnicodeString; function _GetariaBrailleLabel: UnicodeString; function _GetariaBrailleRoleDescription: UnicodeString; function _GetariaBusy: UnicodeString; function _GetariaChecked: UnicodeString; function _GetariaColCount: UnicodeString; function _GetariaColIndex: UnicodeString; function _GetariaColIndexText: UnicodeString; function _GetariaColSpan: UnicodeString; function _GetariaCurrent: UnicodeString; function _GetariaDescription: UnicodeString; function _GetariaDisabled: UnicodeString; function _GetariaExpanded: UnicodeString; function _GetariaHasPopup: UnicodeString; function _GetariaHidden: UnicodeString; function _GetariaInvalid: UnicodeString; function _GetariaKeyShortcuts: UnicodeString; function _GetariaLabel: UnicodeString; function _GetariaLevel: UnicodeString; function _GetariaLive: UnicodeString; function _GetariaModal: UnicodeString; function _GetariaMultiLine: UnicodeString; function _GetariaMultiSelectable: UnicodeString; function _GetariaOrientation: UnicodeString; function _GetariaPlaceholder: UnicodeString; function _GetariaPosInSet: UnicodeString; function _GetariaPressed: UnicodeString; function _GetariaReadOnly: UnicodeString; function _GetariaRelevant: UnicodeString; function _GetariaRequired: UnicodeString; function _GetariaRoleDescription: UnicodeString; function _GetariaRowCount: UnicodeString; function _GetariaRowIndex: UnicodeString; function _GetariaRowIndexText: UnicodeString; function _GetariaRowSpan: UnicodeString; function _GetariaSelected: UnicodeString; function _GetariaSetSize: UnicodeString; function _GetariaSort: UnicodeString; function _GetariaValueMax: UnicodeString; function _GetariaValueMin: UnicodeString; function _GetariaValueNow: UnicodeString; function _GetariaValueText: UnicodeString; procedure _Setid(const aValue: UnicodeString); procedure _SetclassName_(const aValue: UnicodeString); procedure _SetscrollTop(const aValue: LongInt); procedure _SetscrollLeft(const aValue: LongInt); procedure _SetinnerHTML(const aValue: UnicodeString); procedure _SetouterHTML(const aValue: UnicodeString); procedure _Setslot(const aValue: UnicodeString); procedure _Setonfullscreenchange(const aValue: TEventHandler); procedure _Setonfullscreenerror(const aValue: TEventHandler); procedure _SetariaActiveDescendantElement(const aValue: IJSElement); procedure _Setrole(const aValue: UnicodeString); procedure _SetariaAtomic(const aValue: UnicodeString); procedure _SetariaAutoComplete(const aValue: UnicodeString); procedure _SetariaBrailleLabel(const aValue: UnicodeString); procedure _SetariaBrailleRoleDescription(const aValue: UnicodeString); procedure _SetariaBusy(const aValue: UnicodeString); procedure _SetariaChecked(const aValue: UnicodeString); procedure _SetariaColCount(const aValue: UnicodeString); procedure _SetariaColIndex(const aValue: UnicodeString); procedure _SetariaColIndexText(const aValue: UnicodeString); procedure _SetariaColSpan(const aValue: UnicodeString); procedure _SetariaCurrent(const aValue: UnicodeString); procedure _SetariaDescription(const aValue: UnicodeString); procedure _SetariaDisabled(const aValue: UnicodeString); procedure _SetariaExpanded(const aValue: UnicodeString); procedure _SetariaHasPopup(const aValue: UnicodeString); procedure _SetariaHidden(const aValue: UnicodeString); procedure _SetariaInvalid(const aValue: UnicodeString); procedure _SetariaKeyShortcuts(const aValue: UnicodeString); procedure _SetariaLabel(const aValue: UnicodeString); procedure _SetariaLevel(const aValue: UnicodeString); procedure _SetariaLive(const aValue: UnicodeString); procedure _SetariaModal(const aValue: UnicodeString); procedure _SetariaMultiLine(const aValue: UnicodeString); procedure _SetariaMultiSelectable(const aValue: UnicodeString); procedure _SetariaOrientation(const aValue: UnicodeString); procedure _SetariaPlaceholder(const aValue: UnicodeString); procedure _SetariaPosInSet(const aValue: UnicodeString); procedure _SetariaPressed(const aValue: UnicodeString); procedure _SetariaReadOnly(const aValue: UnicodeString); procedure _SetariaRelevant(const aValue: UnicodeString); procedure _SetariaRequired(const aValue: UnicodeString); procedure _SetariaRoleDescription(const aValue: UnicodeString); procedure _SetariaRowCount(const aValue: UnicodeString); procedure _SetariaRowIndex(const aValue: UnicodeString); procedure _SetariaRowIndexText(const aValue: UnicodeString); procedure _SetariaRowSpan(const aValue: UnicodeString); procedure _SetariaSelected(const aValue: UnicodeString); procedure _SetariaSetSize(const aValue: UnicodeString); procedure _SetariaSort(const aValue: UnicodeString); procedure _SetariaValueMax(const aValue: UnicodeString); procedure _SetariaValueMin(const aValue: UnicodeString); procedure _SetariaValueNow(const aValue: UnicodeString); procedure _SetariaValueText(const aValue: UnicodeString); Public function getAttributeNames: TUnicodeStringDynArray; overload; function getAttribute(const aName: UnicodeString): UnicodeString; overload; function getAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): UnicodeString; overload; function toggleAttribute(const aName: UnicodeString; aForce: Boolean): Boolean; overload; function toggleAttribute(const aName: UnicodeString): Boolean; overload; procedure setAttribute(const aName: UnicodeString; const aValue: UnicodeString); overload; procedure setAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString; const aValue: UnicodeString); overload; procedure removeAttribute(const aName: UnicodeString); overload; procedure removeAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString); overload; function hasAttribute(const aName: UnicodeString): Boolean; overload; function hasAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): Boolean; overload; function hasAttributes: Boolean; overload; function closest(const aSelector: UTF8String): IJSElement; overload; function matches(const aSelector: UTF8String): Boolean; overload; function webkitMatchesSelector(const aSelector: UTF8String): Boolean; overload; function getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; overload; function getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; overload; function getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; overload; function insertAdjacentElement(const aWhere: UnicodeString; aElement: IJSElement): IJSElement; overload; procedure insertAdjacentText(const aWhere: UnicodeString; const aData: UnicodeString); overload; function mozMatchesSelector(const aSelector: UTF8String): Boolean; overload; procedure setPointerCapture(aPointerId: LongInt); overload; procedure releasePointerCapture(aPointerId: LongInt); overload; function hasPointerCapture(aPointerId: LongInt): Boolean; overload; procedure setCapture(aRetargetToElement: Boolean); overload; procedure setCapture; overload; procedure releaseCapture; overload; function getAttributeNode(const aName: UnicodeString): IJSAttr; overload; function setAttributeNode(aNewAttr: IJSAttr): IJSAttr; overload; function removeAttributeNode(aOldAttr: IJSAttr): IJSAttr; overload; function getAttributeNodeNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; overload; function setAttributeNodeNS(aNewAttr: IJSAttr): IJSAttr; overload; function getTransformToAncestor(aAncestor: IJSElement): IJSDOMMatrixReadOnly; overload; function getTransformToParent: IJSDOMMatrixReadOnly; overload; function getTransformToViewport: IJSDOMMatrixReadOnly; overload; function getClientRects: IJSDOMRectList; overload; function getBoundingClientRect: IJSDOMRect; overload; function checkVisibility(const aOptions: IJSCheckVisibilityOptions): Boolean; overload; function checkVisibility: Boolean; overload; procedure scrollIntoView(aArg: Boolean); overload; procedure scrollIntoView; overload; procedure scrollIntoView(const aArg: IJSScrollIntoViewOptions); overload; procedure scroll(aX: Double; aY: Double); overload; procedure scroll(const aOptions: IJSScrollToOptions); overload; procedure scroll; overload; procedure scrollTo(aX: Double; aY: Double); overload; procedure scrollTo(const aOptions: IJSScrollToOptions); overload; procedure scrollTo; overload; procedure scrollBy(aX: Double; aY: Double); overload; procedure scrollBy(const aOptions: IJSScrollToOptions); overload; procedure scrollBy; overload; procedure insertAdjacentHTML(const aPosition: UnicodeString; const aText: UnicodeString); overload; function attachShadow(const aShadowRootInitDict: IJSShadowRootInit): IJSShadowRoot; overload; function requestFullscreen: IJSPromise; overload; // Promise function mozRequestFullScreen: IJSPromise; overload; // Promise procedure requestPointerLock; overload; procedure setHTML(const aAInnerHTML: UnicodeString; const aOptions: IJSSetHTMLOptions); overload; procedure setHTML(const aAInnerHTML: UnicodeString); overload; procedure setHTMLUnsafe(const aHtml: UnicodeString); overload; procedure before(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure before(aNodes: IJSNode){; ToDo:varargs}; overload; procedure after(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure after(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceWith(aNodes: IJSNode){; ToDo:varargs}; overload; procedure remove; overload; procedure prepend(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure prepend(aNodes: IJSNode){; ToDo:varargs}; overload; procedure append(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure append(aNodes: IJSNode){; ToDo:varargs}; overload; procedure replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; overload; procedure replaceChildren(aNodes: IJSNode){; ToDo:varargs}; overload; function querySelector(const aSelectors: UTF8String): IJSElement; overload; function querySelectorAll(const aSelectors: UTF8String): IJSNodeList; overload; function animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; overload; function animate(aKeyframes: IJSObject): IJSAnimation; overload; function animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; overload; function getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; overload; function getAnimations: TJSAnimationDynArray; overload; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; overload; function getBoxQuads: TJSDOMQuadDynArray; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSElement; property namespaceURI: UnicodeString read _GetnamespaceURI; property prefix: UnicodeString read _Getprefix; property localName: UnicodeString read _GetlocalName; property tagName: UnicodeString read _GettagName; property id: UnicodeString read _Getid write _Setid; property className_: UnicodeString read _GetclassName_ write _SetclassName_; property classList: IJSDOMTokenList read _GetclassList; property part: IJSDOMTokenList read _Getpart; property attributes: IJSNamedNodeMap read _Getattributes; property scrollTop: LongInt read _GetscrollTop write _SetscrollTop; property scrollLeft: LongInt read _GetscrollLeft write _SetscrollLeft; property scrollWidth: LongInt read _GetscrollWidth; property scrollHeight: LongInt read _GetscrollHeight; property clientTop: LongInt read _GetclientTop; property clientLeft: LongInt read _GetclientLeft; property clientWidth: LongInt read _GetclientWidth; property clientHeight: LongInt read _GetclientHeight; property scrollTopMax: LongInt read _GetscrollTopMax; property scrollLeftMax: LongInt read _GetscrollLeftMax; property currentCSSZoom: Double read _GetcurrentCSSZoom; property innerHTML: UnicodeString read _GetinnerHTML write _SetinnerHTML; property outerHTML: UnicodeString read _GetouterHTML write _SetouterHTML; property shadowRoot: IJSShadowRoot read _GetshadowRoot; property openOrClosedShadowRoot: IJSShadowRoot read _GetopenOrClosedShadowRoot; property assignedSlot: IJSHTMLSlotElement read _GetassignedSlot; property slot: UnicodeString read _Getslot write _Setslot; property onfullscreenchange: TEventHandler read _Getonfullscreenchange write _Setonfullscreenchange; property onfullscreenerror: TEventHandler read _Getonfullscreenerror write _Setonfullscreenerror; property previousElementSibling: IJSElement read _GetpreviousElementSibling; property nextElementSibling: IJSElement read _GetnextElementSibling; property children: IJSHTMLCollection read _Getchildren; property firstElementChild: IJSElement read _GetfirstElementChild; property lastElementChild: IJSElement read _GetlastElementChild; property childElementCount: Cardinal read _GetchildElementCount; property ariaActiveDescendantElement: IJSElement read _GetariaActiveDescendantElement write _SetariaActiveDescendantElement; property role: UnicodeString read _Getrole write _Setrole; property ariaAtomic: UnicodeString read _GetariaAtomic write _SetariaAtomic; property ariaAutoComplete: UnicodeString read _GetariaAutoComplete write _SetariaAutoComplete; property ariaBrailleLabel: UnicodeString read _GetariaBrailleLabel write _SetariaBrailleLabel; property ariaBrailleRoleDescription: UnicodeString read _GetariaBrailleRoleDescription write _SetariaBrailleRoleDescription; property ariaBusy: UnicodeString read _GetariaBusy write _SetariaBusy; property ariaChecked: UnicodeString read _GetariaChecked write _SetariaChecked; property ariaColCount: UnicodeString read _GetariaColCount write _SetariaColCount; property ariaColIndex: UnicodeString read _GetariaColIndex write _SetariaColIndex; property ariaColIndexText: UnicodeString read _GetariaColIndexText write _SetariaColIndexText; property ariaColSpan: UnicodeString read _GetariaColSpan write _SetariaColSpan; property ariaCurrent: UnicodeString read _GetariaCurrent write _SetariaCurrent; property ariaDescription: UnicodeString read _GetariaDescription write _SetariaDescription; property ariaDisabled: UnicodeString read _GetariaDisabled write _SetariaDisabled; property ariaExpanded: UnicodeString read _GetariaExpanded write _SetariaExpanded; property ariaHasPopup: UnicodeString read _GetariaHasPopup write _SetariaHasPopup; property ariaHidden: UnicodeString read _GetariaHidden write _SetariaHidden; property ariaInvalid: UnicodeString read _GetariaInvalid write _SetariaInvalid; property ariaKeyShortcuts: UnicodeString read _GetariaKeyShortcuts write _SetariaKeyShortcuts; property ariaLabel: UnicodeString read _GetariaLabel write _SetariaLabel; property ariaLevel: UnicodeString read _GetariaLevel write _SetariaLevel; property ariaLive: UnicodeString read _GetariaLive write _SetariaLive; property ariaModal: UnicodeString read _GetariaModal write _SetariaModal; property ariaMultiLine: UnicodeString read _GetariaMultiLine write _SetariaMultiLine; property ariaMultiSelectable: UnicodeString read _GetariaMultiSelectable write _SetariaMultiSelectable; property ariaOrientation: UnicodeString read _GetariaOrientation write _SetariaOrientation; property ariaPlaceholder: UnicodeString read _GetariaPlaceholder write _SetariaPlaceholder; property ariaPosInSet: UnicodeString read _GetariaPosInSet write _SetariaPosInSet; property ariaPressed: UnicodeString read _GetariaPressed write _SetariaPressed; property ariaReadOnly: UnicodeString read _GetariaReadOnly write _SetariaReadOnly; property ariaRelevant: UnicodeString read _GetariaRelevant write _SetariaRelevant; property ariaRequired: UnicodeString read _GetariaRequired write _SetariaRequired; property ariaRoleDescription: UnicodeString read _GetariaRoleDescription write _SetariaRoleDescription; property ariaRowCount: UnicodeString read _GetariaRowCount write _SetariaRowCount; property ariaRowIndex: UnicodeString read _GetariaRowIndex write _SetariaRowIndex; property ariaRowIndexText: UnicodeString read _GetariaRowIndexText write _SetariaRowIndexText; property ariaRowSpan: UnicodeString read _GetariaRowSpan write _SetariaRowSpan; property ariaSelected: UnicodeString read _GetariaSelected write _SetariaSelected; property ariaSetSize: UnicodeString read _GetariaSetSize write _SetariaSetSize; property ariaSort: UnicodeString read _GetariaSort write _SetariaSort; property ariaValueMax: UnicodeString read _GetariaValueMax write _SetariaValueMax; property ariaValueMin: UnicodeString read _GetariaValueMin write _SetariaValueMin; property ariaValueNow: UnicodeString read _GetariaValueNow write _SetariaValueNow; property ariaValueText: UnicodeString read _GetariaValueText write _SetariaValueText; end; { -------------------------------------------------------------------- TJSExtendableMessageEvent --------------------------------------------------------------------} // Union of Client, ServiceWorker, MessagePort TExtendableMessageEvent_source_Type = Variant; IJSExtendableMessageEvent = interface(IJSExtendableEvent) ['{82BC921B-4A49-3C28-BD95-2B2D0E86C67A}'] function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TExtendableMessageEvent_source_Type; function _Getports: TJSMessagePortDynArray; property data: Variant read _Getdata; property origin: UnicodeString read _Getorigin; property lastEventId: UnicodeString read _GetlastEventId; property source: TExtendableMessageEvent_source_Type read _Getsource; property ports: TJSMessagePortDynArray read _Getports; end; TJSExtendableMessageEvent = class(TJSExtendableEvent,IJSExtendableMessageEvent) Private Protected function _Getdata: Variant; function _Getorigin: UnicodeString; function _GetlastEventId: UnicodeString; function _Getsource: TExtendableMessageEvent_source_Type; function _Getports: TJSMessagePortDynArray; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSExtendableMessageEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSExtendableMessageEvent; property data: Variant read _Getdata; property origin: UnicodeString read _Getorigin; property lastEventId: UnicodeString read _GetlastEventId; property source: TExtendableMessageEvent_source_Type read _Getsource; property ports: TJSMessagePortDynArray read _Getports; end; { -------------------------------------------------------------------- TJSFetchEvent --------------------------------------------------------------------} IJSFetchEvent = interface(IJSExtendableEvent) ['{7CF19364-8484-3BC3-9F87-2A6BB7735363}'] function _Getrequest: IJSRequest; function _GetpreloadResponse: IJSPromise; function _GetclientId: UnicodeString; function _GetresultingClientId: UnicodeString; function _Gethandled: IJSPromise; procedure respondWith(aR: IJSPromise); property request: IJSRequest read _Getrequest; property preloadResponse: IJSPromise read _GetpreloadResponse; property clientId: UnicodeString read _GetclientId; property resultingClientId: UnicodeString read _GetresultingClientId; property handled: IJSPromise read _Gethandled; end; TJSFetchEvent = class(TJSExtendableEvent,IJSFetchEvent) Private Protected function _Getrequest: IJSRequest; function _GetpreloadResponse: IJSPromise; function _GetclientId: UnicodeString; function _GetresultingClientId: UnicodeString; function _Gethandled: IJSPromise; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSFetchEventInit); overload; procedure respondWith(aR: IJSPromise); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFetchEvent; property request: IJSRequest read _Getrequest; property preloadResponse: IJSPromise read _GetpreloadResponse; property clientId: UnicodeString read _GetclientId; property resultingClientId: UnicodeString read _GetresultingClientId; property handled: IJSPromise read _Gethandled; end; { -------------------------------------------------------------------- TJSFocusEvent --------------------------------------------------------------------} IJSFocusEvent = interface(IJSUIEvent) ['{399D8861-0EEF-3E31-BE97-C2C1C538C4E1}'] function _GetrelatedTarget: IJSEventTarget; property relatedTarget: IJSEventTarget read _GetrelatedTarget; end; TJSFocusEvent = class(TJSUIEvent,IJSFocusEvent) Private Protected function _GetrelatedTarget: IJSEventTarget; Public constructor Create(const aTypeArg: UnicodeString; const aFocusEventInitDict: IJSFocusEventInit); overload; constructor Create(const aTypeArg: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFocusEvent; property relatedTarget: IJSEventTarget read _GetrelatedTarget; end; { -------------------------------------------------------------------- TJSGainNode --------------------------------------------------------------------} IJSGainNode = interface(IJSAudioNode) ['{0CAF8B06-B950-3A07-9116-5C139295F2A4}'] function _Getgain: IJSAudioParam; property gain: IJSAudioParam read _Getgain; end; TJSGainNode = class(TJSAudioNode,IJSGainNode) Private Protected function _Getgain: IJSAudioParam; Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSGainOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGainNode; property gain: IJSAudioParam read _Getgain; end; { -------------------------------------------------------------------- TJSGamepadAxisMoveEvent --------------------------------------------------------------------} IJSGamepadAxisMoveEvent = interface(IJSGamepadEvent) ['{BD8C9B04-E295-3315-853D-10CCD1D035E0}'] function _Getaxis: Cardinal; function _Getvalue: Double; property axis: Cardinal read _Getaxis; property value: Double read _Getvalue; end; TJSGamepadAxisMoveEvent = class(TJSGamepadEvent,IJSGamepadAxisMoveEvent) Private Protected function _Getaxis: Cardinal; function _Getvalue: Double; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadAxisMoveEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadAxisMoveEvent; property axis: Cardinal read _Getaxis; property value: Double read _Getvalue; end; { -------------------------------------------------------------------- TJSGamepadButtonEvent --------------------------------------------------------------------} IJSGamepadButtonEvent = interface(IJSGamepadEvent) ['{B9953856-3E3F-3EB9-B39C-437CA608BC6E}'] function _Getbutton: Cardinal; property button: Cardinal read _Getbutton; end; TJSGamepadButtonEvent = class(TJSGamepadEvent,IJSGamepadButtonEvent) Private Protected function _Getbutton: Cardinal; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadButtonEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSGamepadButtonEvent; property button: Cardinal read _Getbutton; end; { -------------------------------------------------------------------- TJSIDBOpenDBRequest --------------------------------------------------------------------} IJSIDBOpenDBRequest = interface(IJSIDBRequest) ['{0DBA1818-2D17-39EC-8DED-D9862F6A48AD}'] function _Getonblocked: TEventHandler; function _Getonupgradeneeded: TEventHandler; procedure _Setonblocked(const aValue: TEventHandler); procedure _Setonupgradeneeded(const aValue: TEventHandler); property onblocked: TEventHandler read _Getonblocked write _Setonblocked; property onupgradeneeded: TEventHandler read _Getonupgradeneeded write _Setonupgradeneeded; end; TJSIDBOpenDBRequest = class(TJSIDBRequest,IJSIDBOpenDBRequest) Private Protected function _Getonblocked: TEventHandler; function _Getonupgradeneeded: TEventHandler; procedure _Setonblocked(const aValue: TEventHandler); procedure _Setonupgradeneeded(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIDBOpenDBRequest; property onblocked: TEventHandler read _Getonblocked write _Setonblocked; property onupgradeneeded: TEventHandler read _Getonupgradeneeded write _Setonupgradeneeded; end; { -------------------------------------------------------------------- TJSIIRFilterNode --------------------------------------------------------------------} IJSIIRFilterNode = interface(IJSAudioNode) ['{4A1BA371-A164-3CD2-BF69-30477D4F92C9}'] procedure getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); end; TJSIIRFilterNode = class(TJSAudioNode,IJSIIRFilterNode) Private Protected Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSIIRFilterOptions); overload; procedure getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSIIRFilterNode; end; { -------------------------------------------------------------------- TJSInputEvent --------------------------------------------------------------------} IJSInputEvent = interface(IJSUIEvent) ['{6279D641-0389-311C-AE46-8A9C8B0B3167}'] function _GetisComposing: Boolean; function _GetinputType: UnicodeString; function _Getdata: UnicodeString; function _GetdataTransfer: IJSDataTransfer; function getTargetRanges: TJSStaticRangeDynArray; property isComposing: Boolean read _GetisComposing; property inputType: UnicodeString read _GetinputType; property data: UnicodeString read _Getdata; property dataTransfer: IJSDataTransfer read _GetdataTransfer; end; TJSInputEvent = class(TJSUIEvent,IJSInputEvent) Private Protected function _GetisComposing: Boolean; function _GetinputType: UnicodeString; function _Getdata: UnicodeString; function _GetdataTransfer: IJSDataTransfer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSInputEventInit); overload; constructor Create(const aType_: UnicodeString); overload; function getTargetRanges: TJSStaticRangeDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSInputEvent; property isComposing: Boolean read _GetisComposing; property inputType: UnicodeString read _GetinputType; property data: UnicodeString read _Getdata; property dataTransfer: IJSDataTransfer read _GetdataTransfer; end; { -------------------------------------------------------------------- TJSKeyboardEvent --------------------------------------------------------------------} IJSKeyboardEvent = interface(IJSUIEvent) ['{16C5A887-84EC-3434-AC5F-722E057F1FF8}'] function _GetcharCode: Cardinal; function _GetkeyCode: Cardinal; function _GetaltKey: Boolean; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetmetaKey: Boolean; function _Getlocation: Cardinal; function _Getrepeat_: Boolean; function _GetisComposing: Boolean; function _Getkey: UnicodeString; function _Getcode: UnicodeString; function getModifierState(const aKey: UnicodeString): Boolean; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); procedure initKeyboardEvent(const aTypeArg: UnicodeString); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean); procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); procedure initKeyEvent(const aType_: UnicodeString); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); property charCode: Cardinal read _GetcharCode; property keyCode: Cardinal read _GetkeyCode; property altKey: Boolean read _GetaltKey; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; property metaKey: Boolean read _GetmetaKey; property location: Cardinal read _Getlocation; property repeat_: Boolean read _Getrepeat_; property isComposing: Boolean read _GetisComposing; property key: UnicodeString read _Getkey; property code: UnicodeString read _Getcode; end; TJSKeyboardEvent = class(TJSUIEvent,IJSKeyboardEvent) Private Protected function _GetcharCode: Cardinal; function _GetkeyCode: Cardinal; function _GetaltKey: Boolean; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetmetaKey: Boolean; function _Getlocation: Cardinal; function _Getrepeat_: Boolean; function _GetisComposing: Boolean; function _Getkey: UnicodeString; function _Getcode: UnicodeString; Public Const DOM_KEY_LOCATION_STANDARD = $00; DOM_KEY_LOCATION_LEFT = $01; DOM_KEY_LOCATION_RIGHT = $02; DOM_KEY_LOCATION_NUMPAD = $03; DOM_VK_CANCEL = $03; DOM_VK_HELP = $06; DOM_VK_BACK_SPACE = $08; DOM_VK_TAB = $09; DOM_VK_CLEAR = $0C; DOM_VK_RETURN = $0D; DOM_VK_SHIFT = $10; DOM_VK_CONTROL = $11; DOM_VK_ALT = $12; DOM_VK_PAUSE = $13; DOM_VK_CAPS_LOCK = $14; DOM_VK_KANA = $15; DOM_VK_HANGUL = $15; DOM_VK_EISU = $16; DOM_VK_JUNJA = $17; DOM_VK_FINAL = $18; DOM_VK_HANJA = $19; DOM_VK_KANJI = $19; DOM_VK_ESCAPE = $1B; DOM_VK_CONVERT = $1C; DOM_VK_NONCONVERT = $1D; DOM_VK_ACCEPT = $1E; DOM_VK_MODECHANGE = $1F; DOM_VK_SPACE = $20; DOM_VK_PAGE_UP = $21; DOM_VK_PAGE_DOWN = $22; DOM_VK_END = $23; DOM_VK_HOME = $24; DOM_VK_LEFT = $25; DOM_VK_UP = $26; DOM_VK_RIGHT = $27; DOM_VK_DOWN = $28; DOM_VK_SELECT = $29; DOM_VK_PRINT = $2A; DOM_VK_EXECUTE = $2B; DOM_VK_PRINTSCREEN = $2C; DOM_VK_INSERT = $2D; DOM_VK_DELETE = $2E; DOM_VK_0 = $30; DOM_VK_1 = $31; DOM_VK_2 = $32; DOM_VK_3 = $33; DOM_VK_4 = $34; DOM_VK_5 = $35; DOM_VK_6 = $36; DOM_VK_7 = $37; DOM_VK_8 = $38; DOM_VK_9 = $39; DOM_VK_COLON = $3A; DOM_VK_SEMICOLON = $3B; DOM_VK_LESS_THAN = $3C; DOM_VK_EQUALS = $3D; DOM_VK_GREATER_THAN = $3E; DOM_VK_QUESTION_MARK = $3F; DOM_VK_AT = $40; DOM_VK_A = $41; DOM_VK_B = $42; DOM_VK_C = $43; DOM_VK_D = $44; DOM_VK_E = $45; DOM_VK_F = $46; DOM_VK_G = $47; DOM_VK_H = $48; DOM_VK_I = $49; DOM_VK_J = $4A; DOM_VK_K = $4B; DOM_VK_L = $4C; DOM_VK_M = $4D; DOM_VK_N = $4E; DOM_VK_O = $4F; DOM_VK_P = $50; DOM_VK_Q = $51; DOM_VK_R = $52; DOM_VK_S = $53; DOM_VK_T = $54; DOM_VK_U = $55; DOM_VK_V = $56; DOM_VK_W = $57; DOM_VK_X = $58; DOM_VK_Y = $59; DOM_VK_Z = $5A; DOM_VK_WIN = $5B; DOM_VK_CONTEXT_MENU = $5D; DOM_VK_SLEEP = $5F; DOM_VK_NUMPAD0 = $60; DOM_VK_NUMPAD1 = $61; DOM_VK_NUMPAD2 = $62; DOM_VK_NUMPAD3 = $63; DOM_VK_NUMPAD4 = $64; DOM_VK_NUMPAD5 = $65; DOM_VK_NUMPAD6 = $66; DOM_VK_NUMPAD7 = $67; DOM_VK_NUMPAD8 = $68; DOM_VK_NUMPAD9 = $69; DOM_VK_MULTIPLY = $6A; DOM_VK_ADD = $6B; DOM_VK_SEPARATOR = $6C; DOM_VK_SUBTRACT = $6D; DOM_VK_DECIMAL = $6E; DOM_VK_DIVIDE = $6F; DOM_VK_F1 = $70; DOM_VK_F2 = $71; DOM_VK_F3 = $72; DOM_VK_F4 = $73; DOM_VK_F5 = $74; DOM_VK_F6 = $75; DOM_VK_F7 = $76; DOM_VK_F8 = $77; DOM_VK_F9 = $78; DOM_VK_F10 = $79; DOM_VK_F11 = $7A; DOM_VK_F12 = $7B; DOM_VK_F13 = $7C; DOM_VK_F14 = $7D; DOM_VK_F15 = $7E; DOM_VK_F16 = $7F; DOM_VK_F17 = $80; DOM_VK_F18 = $81; DOM_VK_F19 = $82; DOM_VK_F20 = $83; DOM_VK_F21 = $84; DOM_VK_F22 = $85; DOM_VK_F23 = $86; DOM_VK_F24 = $87; DOM_VK_NUM_LOCK = $90; DOM_VK_SCROLL_LOCK = $91; DOM_VK_WIN_OEM_FJ_JISHO = $92; DOM_VK_WIN_OEM_FJ_MASSHOU = $93; DOM_VK_WIN_OEM_FJ_TOUROKU = $94; DOM_VK_WIN_OEM_FJ_LOYA = $95; DOM_VK_WIN_OEM_FJ_ROYA = $96; DOM_VK_CIRCUMFLEX = $A0; DOM_VK_EXCLAMATION = $A1; DOM_VK_DOUBLE_QUOTE = $A2; DOM_VK_HASH = $A3; DOM_VK_DOLLAR = $A4; DOM_VK_PERCENT = $A5; DOM_VK_AMPERSAND = $A6; DOM_VK_UNDERSCORE = $A7; DOM_VK_OPEN_PAREN = $A8; DOM_VK_CLOSE_PAREN = $A9; DOM_VK_ASTERISK = $AA; DOM_VK_PLUS = $AB; DOM_VK_PIPE = $AC; DOM_VK_HYPHEN_MINUS = $AD; DOM_VK_OPEN_CURLY_BRACKET = $AE; DOM_VK_CLOSE_CURLY_BRACKET = $AF; DOM_VK_TILDE = $B0; DOM_VK_VOLUME_MUTE = $B5; DOM_VK_VOLUME_DOWN = $B6; DOM_VK_VOLUME_UP = $B7; DOM_VK_COMMA = $BC; DOM_VK_PERIOD = $BE; DOM_VK_SLASH = $BF; DOM_VK_BACK_QUOTE = $C0; DOM_VK_OPEN_BRACKET = $DB; DOM_VK_BACK_SLASH = $DC; DOM_VK_CLOSE_BRACKET = $DD; DOM_VK_QUOTE = $DE; DOM_VK_META = $E0; DOM_VK_ALTGR = $E1; DOM_VK_WIN_ICO_HELP = $E3; DOM_VK_WIN_ICO_00 = $E4; DOM_VK_PROCESSKEY = $E5; DOM_VK_WIN_ICO_CLEAR = $E6; DOM_VK_WIN_OEM_RESET = $E9; DOM_VK_WIN_OEM_JUMP = $EA; DOM_VK_WIN_OEM_PA1 = $EB; DOM_VK_WIN_OEM_PA2 = $EC; DOM_VK_WIN_OEM_PA3 = $ED; DOM_VK_WIN_OEM_WSCTRL = $EE; DOM_VK_WIN_OEM_CUSEL = $EF; DOM_VK_WIN_OEM_ATTN = $F0; DOM_VK_WIN_OEM_FINISH = $F1; DOM_VK_WIN_OEM_COPY = $F2; DOM_VK_WIN_OEM_AUTO = $F3; DOM_VK_WIN_OEM_ENLW = $F4; DOM_VK_WIN_OEM_BACKTAB = $F5; DOM_VK_ATTN = $F6; DOM_VK_CRSEL = $F7; DOM_VK_EXSEL = $F8; DOM_VK_EREOF = $F9; DOM_VK_PLAY = $FA; DOM_VK_ZOOM = $FB; DOM_VK_PA1 = $FD; DOM_VK_WIN_OEM_CLEAR = $FE; Public constructor Create(const aTypeArg: UnicodeString; const aKeyboardEventInitDict: IJSKeyboardEventInit); overload; constructor Create(const aTypeArg: UnicodeString); overload; function getModifierState(const aKey: UnicodeString): Boolean; overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean); overload; procedure initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); overload; procedure initKeyEvent(const aType_: UnicodeString); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); overload; procedure initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSKeyboardEvent; property charCode: Cardinal read _GetcharCode; property keyCode: Cardinal read _GetkeyCode; property altKey: Boolean read _GetaltKey; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; property metaKey: Boolean read _GetmetaKey; property location: Cardinal read _Getlocation; property repeat_: Boolean read _Getrepeat_; property isComposing: Boolean read _GetisComposing; property key: UnicodeString read _Getkey; property code: UnicodeString read _Getcode; end; { -------------------------------------------------------------------- TJSMediaElementAudioSourceNode --------------------------------------------------------------------} IJSMediaElementAudioSourceNode = interface(IJSAudioNode) ['{AB164B88-8FF0-3E46-910B-6F37AF7D537F}'] function _GetmediaElement: IJSHTMLMediaElement; property mediaElement: IJSHTMLMediaElement read _GetmediaElement; end; TJSMediaElementAudioSourceNode = class(TJSAudioNode,IJSMediaElementAudioSourceNode) Private Protected function _GetmediaElement: IJSHTMLMediaElement; Public constructor Create(aContext: IJSAudioContext; const aOptions: IJSMediaElementAudioSourceOptions); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaElementAudioSourceNode; property mediaElement: IJSHTMLMediaElement read _GetmediaElement; end; { -------------------------------------------------------------------- TJSMediaStreamAudioDestinationNode --------------------------------------------------------------------} IJSMediaStreamAudioDestinationNode = interface(IJSAudioNode) ['{19771BE6-56DF-3356-B3C6-050318865F45}'] function _Getstream: IJSMediaStream; property stream: IJSMediaStream read _Getstream; end; TJSMediaStreamAudioDestinationNode = class(TJSAudioNode,IJSMediaStreamAudioDestinationNode) Private Protected function _Getstream: IJSMediaStream; Public constructor Create(aContext: IJSAudioContext; const aOptions: IJSAudioNodeOptions); overload; constructor Create(aContext: IJSAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamAudioDestinationNode; property stream: IJSMediaStream read _Getstream; end; { -------------------------------------------------------------------- TJSMediaStreamAudioSourceNode --------------------------------------------------------------------} IJSMediaStreamAudioSourceNode = interface(IJSAudioNode) ['{0EC2C8AB-7B64-34A5-8028-1E75E72B19B7}'] function _GetmediaStream: IJSMediaStream; property mediaStream: IJSMediaStream read _GetmediaStream; end; TJSMediaStreamAudioSourceNode = class(TJSAudioNode,IJSMediaStreamAudioSourceNode) Private Protected function _GetmediaStream: IJSMediaStream; Public constructor Create(aContext: IJSAudioContext; const aOptions: IJSMediaStreamAudioSourceOptions); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamAudioSourceNode; property mediaStream: IJSMediaStream read _GetmediaStream; end; { -------------------------------------------------------------------- TJSMediaStreamTrackAudioSourceNode --------------------------------------------------------------------} IJSMediaStreamTrackAudioSourceNode = interface(IJSAudioNode) ['{81DBE0AD-CDDF-3356-B51C-BC314B12A5A1}'] end; TJSMediaStreamTrackAudioSourceNode = class(TJSAudioNode,IJSMediaStreamTrackAudioSourceNode) Private Protected Public constructor Create(aContext: IJSAudioContext; const aOptions: IJSMediaStreamTrackAudioSourceOptions); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMediaStreamTrackAudioSourceNode; end; { -------------------------------------------------------------------- TJSMIDIInput --------------------------------------------------------------------} IJSMIDIInput = interface(IJSMIDIPort) ['{A0A4C6EF-9B7F-336B-B7F4-A64594A37566}'] function _Getonmidimessage: TEventHandler; procedure _Setonmidimessage(const aValue: TEventHandler); property onmidimessage: TEventHandler read _Getonmidimessage write _Setonmidimessage; end; TJSMIDIInput = class(TJSMIDIPort,IJSMIDIInput) Private Protected function _Getonmidimessage: TEventHandler; procedure _Setonmidimessage(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIInput; property onmidimessage: TEventHandler read _Getonmidimessage write _Setonmidimessage; end; { -------------------------------------------------------------------- TJSMIDIOutput --------------------------------------------------------------------} TByteDynArray = IJSArray; // array of octet IJSMIDIOutput = interface(IJSMIDIPort) ['{F0F4B1FD-CBAB-3134-B3F3-33B748690C32}'] procedure send(const aData: TByteDynArray; aTimestamp: TDOMHighResTimeStamp); procedure send(const aData: TByteDynArray); procedure clear; end; TJSMIDIOutput = class(TJSMIDIPort,IJSMIDIOutput) Private Protected Public procedure send(const aData: TByteDynArray; aTimestamp: TDOMHighResTimeStamp); overload; procedure send(const aData: TByteDynArray); overload; procedure clear; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMIDIOutput; end; { -------------------------------------------------------------------- TJSMouseEvent --------------------------------------------------------------------} IJSMouseEvent = interface(IJSUIEvent) ['{5C2254A3-0C96-357D-9BB5-F0D18B1D1525}'] function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _Getx: LongInt; function _Gety: LongInt; function _GetoffsetX: LongInt; function _GetoffsetY: LongInt; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _Getbutton: SmallInt; function _Getbuttons: Word; function _GetrelatedTarget: IJSEventTarget; function _GetmovementX: LongInt; function _GetmovementY: LongInt; function _GetmozPressure: Single; function _GetmozInputSource: Word; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); procedure initMouseEvent(const aTypeArg: UnicodeString); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); function getModifierState(const aKeyArg: UnicodeString): Boolean; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single; aInputSourceArg: Word); procedure initNSMouseEvent(const aTypeArg: UnicodeString); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single); property screenX: LongInt read _GetscreenX; property screenY: LongInt read _GetscreenY; property pageX: LongInt read _GetpageX; property pageY: LongInt read _GetpageY; property clientX: LongInt read _GetclientX; property clientY: LongInt read _GetclientY; property x: LongInt read _Getx; property y: LongInt read _Gety; property offsetX: LongInt read _GetoffsetX; property offsetY: LongInt read _GetoffsetY; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; property altKey: Boolean read _GetaltKey; property metaKey: Boolean read _GetmetaKey; property button: SmallInt read _Getbutton; property buttons: Word read _Getbuttons; property relatedTarget: IJSEventTarget read _GetrelatedTarget; property movementX: LongInt read _GetmovementX; property movementY: LongInt read _GetmovementY; property mozPressure: Single read _GetmozPressure; property mozInputSource: Word read _GetmozInputSource; end; TJSMouseEvent = class(TJSUIEvent,IJSMouseEvent) Private Protected function _GetscreenX: LongInt; function _GetscreenY: LongInt; function _GetpageX: LongInt; function _GetpageY: LongInt; function _GetclientX: LongInt; function _GetclientY: LongInt; function _Getx: LongInt; function _Gety: LongInt; function _GetoffsetX: LongInt; function _GetoffsetY: LongInt; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _Getbutton: SmallInt; function _Getbuttons: Word; function _GetrelatedTarget: IJSEventTarget; function _GetmovementX: LongInt; function _GetmovementY: LongInt; function _GetmozPressure: Single; function _GetmozInputSource: Word; Public Const MOZ_SOURCE_UNKNOWN = 0; MOZ_SOURCE_MOUSE = 1; MOZ_SOURCE_PEN = 2; MOZ_SOURCE_ERASER = 3; MOZ_SOURCE_CURSOR = 4; MOZ_SOURCE_TOUCH = 5; MOZ_SOURCE_KEYBOARD = 6; Public constructor Create(const aTypeArg: UnicodeString; const aMouseEventInitDict: IJSMouseEventInit); overload; constructor Create(const aTypeArg: UnicodeString); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); overload; procedure initMouseEvent(const aTypeArg: UnicodeString); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); overload; procedure initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); overload; function getModifierState(const aKeyArg: UnicodeString): Boolean; overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single; aInputSourceArg: Word); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); overload; procedure initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMouseEvent; property screenX: LongInt read _GetscreenX; property screenY: LongInt read _GetscreenY; property pageX: LongInt read _GetpageX; property pageY: LongInt read _GetpageY; property clientX: LongInt read _GetclientX; property clientY: LongInt read _GetclientY; property x: LongInt read _Getx; property y: LongInt read _Gety; property offsetX: LongInt read _GetoffsetX; property offsetY: LongInt read _GetoffsetY; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; property altKey: Boolean read _GetaltKey; property metaKey: Boolean read _GetmetaKey; property button: SmallInt read _Getbutton; property buttons: Word read _Getbuttons; property relatedTarget: IJSEventTarget read _GetrelatedTarget; property movementX: LongInt read _GetmovementX; property movementY: LongInt read _GetmovementY; property mozPressure: Single read _GetmozPressure; property mozInputSource: Word read _GetmozInputSource; end; { -------------------------------------------------------------------- TJSNotificationEvent --------------------------------------------------------------------} IJSNotificationEvent = interface(IJSExtendableEvent) ['{E9CB3081-BB63-3C0B-9EBD-58B97BA3868C}'] function _Getnotification: IJSNotification; property notification: IJSNotification read _Getnotification; end; TJSNotificationEvent = class(TJSExtendableEvent,IJSNotificationEvent) Private Protected function _Getnotification: IJSNotification; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSNotificationEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSNotificationEvent; property notification: IJSNotification read _Getnotification; end; { -------------------------------------------------------------------- TJSOfflineAudioContext --------------------------------------------------------------------} IJSOfflineAudioContext = interface(IJSBaseAudioContext) ['{A41F666D-3343-3DB0-89BB-A7C345B53C74}'] function _Getlength_: Cardinal; function _Getoncomplete: TEventHandler; procedure _Setoncomplete(const aValue: TEventHandler); function startRendering: IJSPromise; // Promise property length_: Cardinal read _Getlength_; property oncomplete: TEventHandler read _Getoncomplete write _Setoncomplete; end; TJSOfflineAudioContext = class(TJSBaseAudioContext,IJSOfflineAudioContext) Private Protected function _Getlength_: Cardinal; function _Getoncomplete: TEventHandler; procedure _Setoncomplete(const aValue: TEventHandler); Public constructor Create(const aContextOptions: IJSOfflineAudioContextOptions); overload; constructor Create(aNumberOfChannels: Cardinal; aLength_: Cardinal; aSampleRate: Single); overload; function startRendering: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOfflineAudioContext; property length_: Cardinal read _Getlength_; property oncomplete: TEventHandler read _Getoncomplete write _Setoncomplete; end; { -------------------------------------------------------------------- TJSPannerNode --------------------------------------------------------------------} IJSPannerNode = interface(IJSAudioNode) ['{BA4DE1ED-1AFC-31CD-B96F-8660AFBAF9CE}'] function _GetpanningModel: TPanningModelType; function _GetpositionX: IJSAudioParam; function _GetpositionY: IJSAudioParam; function _GetpositionZ: IJSAudioParam; function _GetorientationX: IJSAudioParam; function _GetorientationY: IJSAudioParam; function _GetorientationZ: IJSAudioParam; function _GetdistanceModel: TDistanceModelType; function _GetrefDistance: Double; function _GetmaxDistance: Double; function _GetrolloffFactor: Double; function _GetconeInnerAngle: Double; function _GetconeOuterAngle: Double; function _GetconeOuterGain: Double; procedure _SetpanningModel(const aValue: TPanningModelType); procedure _SetdistanceModel(const aValue: TDistanceModelType); procedure _SetrefDistance(const aValue: Double); procedure _SetmaxDistance(const aValue: Double); procedure _SetrolloffFactor(const aValue: Double); procedure _SetconeInnerAngle(const aValue: Double); procedure _SetconeOuterAngle(const aValue: Double); procedure _SetconeOuterGain(const aValue: Double); procedure setPosition(aX: Double; aY: Double; aZ: Double); procedure setOrientation(aX: Double; aY: Double; aZ: Double); property panningModel: TPanningModelType read _GetpanningModel write _SetpanningModel; property positionX: IJSAudioParam read _GetpositionX; property positionY: IJSAudioParam read _GetpositionY; property positionZ: IJSAudioParam read _GetpositionZ; property orientationX: IJSAudioParam read _GetorientationX; property orientationY: IJSAudioParam read _GetorientationY; property orientationZ: IJSAudioParam read _GetorientationZ; property distanceModel: TDistanceModelType read _GetdistanceModel write _SetdistanceModel; property refDistance: Double read _GetrefDistance write _SetrefDistance; property maxDistance: Double read _GetmaxDistance write _SetmaxDistance; property rolloffFactor: Double read _GetrolloffFactor write _SetrolloffFactor; property coneInnerAngle: Double read _GetconeInnerAngle write _SetconeInnerAngle; property coneOuterAngle: Double read _GetconeOuterAngle write _SetconeOuterAngle; property coneOuterGain: Double read _GetconeOuterGain write _SetconeOuterGain; end; TJSPannerNode = class(TJSAudioNode,IJSPannerNode) Private Protected function _GetpanningModel: TPanningModelType; function _GetpositionX: IJSAudioParam; function _GetpositionY: IJSAudioParam; function _GetpositionZ: IJSAudioParam; function _GetorientationX: IJSAudioParam; function _GetorientationY: IJSAudioParam; function _GetorientationZ: IJSAudioParam; function _GetdistanceModel: TDistanceModelType; function _GetrefDistance: Double; function _GetmaxDistance: Double; function _GetrolloffFactor: Double; function _GetconeInnerAngle: Double; function _GetconeOuterAngle: Double; function _GetconeOuterGain: Double; procedure _SetpanningModel(const aValue: TPanningModelType); procedure _SetdistanceModel(const aValue: TDistanceModelType); procedure _SetrefDistance(const aValue: Double); procedure _SetmaxDistance(const aValue: Double); procedure _SetrolloffFactor(const aValue: Double); procedure _SetconeInnerAngle(const aValue: Double); procedure _SetconeOuterAngle(const aValue: Double); procedure _SetconeOuterGain(const aValue: Double); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSPannerOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; procedure setPosition(aX: Double; aY: Double; aZ: Double); overload; procedure setOrientation(aX: Double; aY: Double; aZ: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPannerNode; property panningModel: TPanningModelType read _GetpanningModel write _SetpanningModel; property positionX: IJSAudioParam read _GetpositionX; property positionY: IJSAudioParam read _GetpositionY; property positionZ: IJSAudioParam read _GetpositionZ; property orientationX: IJSAudioParam read _GetorientationX; property orientationY: IJSAudioParam read _GetorientationY; property orientationZ: IJSAudioParam read _GetorientationZ; property distanceModel: TDistanceModelType read _GetdistanceModel write _SetdistanceModel; property refDistance: Double read _GetrefDistance write _SetrefDistance; property maxDistance: Double read _GetmaxDistance write _SetmaxDistance; property rolloffFactor: Double read _GetrolloffFactor write _SetrolloffFactor; property coneInnerAngle: Double read _GetconeInnerAngle write _SetconeInnerAngle; property coneOuterAngle: Double read _GetconeOuterAngle write _SetconeOuterAngle; property coneOuterGain: Double read _GetconeOuterGain write _SetconeOuterGain; end; { -------------------------------------------------------------------- TJSPaymentMethodChangeEvent --------------------------------------------------------------------} IJSPaymentMethodChangeEvent = interface(IJSPaymentRequestUpdateEvent) ['{ED48604D-E317-3C1A-99B8-D4160208C02B}'] function _GetmethodName: UnicodeString; function _GetmethodDetails: IJSObject; property methodName: UnicodeString read _GetmethodName; property methodDetails: IJSObject read _GetmethodDetails; end; TJSPaymentMethodChangeEvent = class(TJSPaymentRequestUpdateEvent,IJSPaymentMethodChangeEvent) Private Protected function _GetmethodName: UnicodeString; function _GetmethodDetails: IJSObject; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPaymentMethodChangeEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPaymentMethodChangeEvent; property methodName: UnicodeString read _GetmethodName; property methodDetails: IJSObject read _GetmethodDetails; end; { -------------------------------------------------------------------- TJSPerformanceNavigationTiming --------------------------------------------------------------------} IJSPerformanceNavigationTiming = interface(IJSPerformanceResourceTiming) ['{33F6F397-FE93-3120-AD86-B03110857310}'] function _GetunloadEventStart: TDOMHighResTimeStamp; function _GetunloadEventEnd: TDOMHighResTimeStamp; function _GetdomInteractive: TDOMHighResTimeStamp; function _GetdomContentLoadedEventStart: TDOMHighResTimeStamp; function _GetdomContentLoadedEventEnd: TDOMHighResTimeStamp; function _GetdomComplete: TDOMHighResTimeStamp; function _GetloadEventStart: TDOMHighResTimeStamp; function _GetloadEventEnd: TDOMHighResTimeStamp; function _Gettype_: TNavigationType; function _GetredirectCount: Word; function toJSON: IJSObject; property unloadEventStart: TDOMHighResTimeStamp read _GetunloadEventStart; property unloadEventEnd: TDOMHighResTimeStamp read _GetunloadEventEnd; property domInteractive: TDOMHighResTimeStamp read _GetdomInteractive; property domContentLoadedEventStart: TDOMHighResTimeStamp read _GetdomContentLoadedEventStart; property domContentLoadedEventEnd: TDOMHighResTimeStamp read _GetdomContentLoadedEventEnd; property domComplete: TDOMHighResTimeStamp read _GetdomComplete; property loadEventStart: TDOMHighResTimeStamp read _GetloadEventStart; property loadEventEnd: TDOMHighResTimeStamp read _GetloadEventEnd; property type_: TNavigationType read _Gettype_; property redirectCount: Word read _GetredirectCount; end; TJSPerformanceNavigationTiming = class(TJSPerformanceResourceTiming,IJSPerformanceNavigationTiming) Private Protected function _GetunloadEventStart: TDOMHighResTimeStamp; function _GetunloadEventEnd: TDOMHighResTimeStamp; function _GetdomInteractive: TDOMHighResTimeStamp; function _GetdomContentLoadedEventStart: TDOMHighResTimeStamp; function _GetdomContentLoadedEventEnd: TDOMHighResTimeStamp; function _GetdomComplete: TDOMHighResTimeStamp; function _GetloadEventStart: TDOMHighResTimeStamp; function _GetloadEventEnd: TDOMHighResTimeStamp; function _Gettype_: TNavigationType; function _GetredirectCount: Word; Public function toJSON: IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPerformanceNavigationTiming; property unloadEventStart: TDOMHighResTimeStamp read _GetunloadEventStart; property unloadEventEnd: TDOMHighResTimeStamp read _GetunloadEventEnd; property domInteractive: TDOMHighResTimeStamp read _GetdomInteractive; property domContentLoadedEventStart: TDOMHighResTimeStamp read _GetdomContentLoadedEventStart; property domContentLoadedEventEnd: TDOMHighResTimeStamp read _GetdomContentLoadedEventEnd; property domComplete: TDOMHighResTimeStamp read _GetdomComplete; property loadEventStart: TDOMHighResTimeStamp read _GetloadEventStart; property loadEventEnd: TDOMHighResTimeStamp read _GetloadEventEnd; property type_: TNavigationType read _Gettype_; property redirectCount: Word read _GetredirectCount; end; { -------------------------------------------------------------------- TJSPushEvent --------------------------------------------------------------------} IJSPushEvent = interface(IJSExtendableEvent) ['{6DD6F583-7AD4-36CE-864A-0AD310717D0B}'] function _Getdata: IJSPushMessageData; property data: IJSPushMessageData read _Getdata; end; TJSPushEvent = class(TJSExtendableEvent,IJSPushEvent) Private Protected function _Getdata: IJSPushMessageData; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPushEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPushEvent; property data: IJSPushMessageData read _Getdata; end; { -------------------------------------------------------------------- TJSScriptProcessorNode --------------------------------------------------------------------} IJSScriptProcessorNode = interface(IJSAudioNode) ['{2964F484-BF90-3E4C-997B-85FADD644CD0}'] function _Getonaudioprocess: TEventHandler; function _GetbufferSize: LongInt; procedure _Setonaudioprocess(const aValue: TEventHandler); property onaudioprocess: TEventHandler read _Getonaudioprocess write _Setonaudioprocess; property bufferSize: LongInt read _GetbufferSize; end; TJSScriptProcessorNode = class(TJSAudioNode,IJSScriptProcessorNode) Private Protected function _Getonaudioprocess: TEventHandler; function _GetbufferSize: LongInt; procedure _Setonaudioprocess(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScriptProcessorNode; property onaudioprocess: TEventHandler read _Getonaudioprocess write _Setonaudioprocess; property bufferSize: LongInt read _GetbufferSize; end; { -------------------------------------------------------------------- TJSScrollAreaEvent --------------------------------------------------------------------} IJSScrollAreaEvent = interface(IJSUIEvent) ['{BFB8C893-6A70-3A35-BE41-396B64BC4ADD}'] function _Getx: Single; function _Gety: Single; function _Getwidth: Single; function _Getheight: Single; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single; aHeight: Single); procedure initScrollAreaEvent(const aType_: UnicodeString); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single); procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single); property x: Single read _Getx; property y: Single read _Gety; property width: Single read _Getwidth; property height: Single read _Getheight; end; TJSScrollAreaEvent = class(TJSUIEvent,IJSScrollAreaEvent) Private Protected function _Getx: Single; function _Gety: Single; function _Getwidth: Single; function _Getheight: Single; Public procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single; aHeight: Single); overload; procedure initScrollAreaEvent(const aType_: UnicodeString); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single); overload; procedure initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSScrollAreaEvent; property x: Single read _Getx; property y: Single read _Gety; property width: Single read _Getwidth; property height: Single read _Getheight; end; { -------------------------------------------------------------------- TJSServiceWorkerGlobalScope --------------------------------------------------------------------} IJSServiceWorkerGlobalScope = interface(IJSWorkerGlobalScope) ['{3C8CEC54-C62C-3A9A-8FA5-89873B69A3BD}'] function _Getclients: IJSClients; function _Getregistration: IJSServiceWorkerRegistration; function _Getoninstall: TEventHandler; function _Getonactivate: TEventHandler; function _Getonfetch: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonpush: TEventHandler; function _Getonpushsubscriptionchange: TEventHandler; function _Getonnotificationclick: TEventHandler; function _Getonnotificationclose: TEventHandler; function _Getbrowser: IJSExtensionBrowser; procedure _Setoninstall(const aValue: TEventHandler); procedure _Setonactivate(const aValue: TEventHandler); procedure _Setonfetch(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonpush(const aValue: TEventHandler); procedure _Setonpushsubscriptionchange(const aValue: TEventHandler); procedure _Setonnotificationclick(const aValue: TEventHandler); procedure _Setonnotificationclose(const aValue: TEventHandler); function skipWaiting: IJSPromise; // Promise property clients: IJSClients read _Getclients; property registration: IJSServiceWorkerRegistration read _Getregistration; property oninstall: TEventHandler read _Getoninstall write _Setoninstall; property onactivate: TEventHandler read _Getonactivate write _Setonactivate; property onfetch: TEventHandler read _Getonfetch write _Setonfetch; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onpush: TEventHandler read _Getonpush write _Setonpush; property onpushsubscriptionchange: TEventHandler read _Getonpushsubscriptionchange write _Setonpushsubscriptionchange; property onnotificationclick: TEventHandler read _Getonnotificationclick write _Setonnotificationclick; property onnotificationclose: TEventHandler read _Getonnotificationclose write _Setonnotificationclose; property browser: IJSExtensionBrowser read _Getbrowser; end; TJSServiceWorkerGlobalScope = class(TJSWorkerGlobalScope,IJSServiceWorkerGlobalScope) Private Protected function _Getclients: IJSClients; function _Getregistration: IJSServiceWorkerRegistration; function _Getoninstall: TEventHandler; function _Getonactivate: TEventHandler; function _Getonfetch: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonpush: TEventHandler; function _Getonpushsubscriptionchange: TEventHandler; function _Getonnotificationclick: TEventHandler; function _Getonnotificationclose: TEventHandler; function _Getbrowser: IJSExtensionBrowser; procedure _Setoninstall(const aValue: TEventHandler); procedure _Setonactivate(const aValue: TEventHandler); procedure _Setonfetch(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonpush(const aValue: TEventHandler); procedure _Setonpushsubscriptionchange(const aValue: TEventHandler); procedure _Setonnotificationclick(const aValue: TEventHandler); procedure _Setonnotificationclose(const aValue: TEventHandler); Public function skipWaiting: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSServiceWorkerGlobalScope; property clients: IJSClients read _Getclients; property registration: IJSServiceWorkerRegistration read _Getregistration; property oninstall: TEventHandler read _Getoninstall write _Setoninstall; property onactivate: TEventHandler read _Getonactivate write _Setonactivate; property onfetch: TEventHandler read _Getonfetch write _Setonfetch; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onpush: TEventHandler read _Getonpush write _Setonpush; property onpushsubscriptionchange: TEventHandler read _Getonpushsubscriptionchange write _Setonpushsubscriptionchange; property onnotificationclick: TEventHandler read _Getonnotificationclick write _Setonnotificationclick; property onnotificationclose: TEventHandler read _Getonnotificationclose write _Setonnotificationclose; property browser: IJSExtensionBrowser read _Getbrowser; end; { -------------------------------------------------------------------- TJSSharedWorkerGlobalScope --------------------------------------------------------------------} IJSSharedWorkerGlobalScope = interface(IJSWorkerGlobalScope) ['{707E6379-DDC7-30C3-8DD6-0A6A90E10C14}'] function _Getname: UnicodeString; function _Getonconnect: TEventHandler; procedure _Setonconnect(const aValue: TEventHandler); procedure close; property name: UnicodeString read _Getname; property onconnect: TEventHandler read _Getonconnect write _Setonconnect; end; TJSSharedWorkerGlobalScope = class(TJSWorkerGlobalScope,IJSSharedWorkerGlobalScope) Private Protected function _Getname: UnicodeString; function _Getonconnect: TEventHandler; procedure _Setonconnect(const aValue: TEventHandler); Public procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSharedWorkerGlobalScope; property name: UnicodeString read _Getname; property onconnect: TEventHandler read _Getonconnect write _Setonconnect; end; { -------------------------------------------------------------------- TJSSpeechSynthesisErrorEvent --------------------------------------------------------------------} IJSSpeechSynthesisErrorEvent = interface(IJSSpeechSynthesisEvent) ['{5DABA92A-6D09-3024-AFEC-E0C42B56E979}'] function _Geterror: TSpeechSynthesisErrorCode; property error: TSpeechSynthesisErrorCode read _Geterror; end; TJSSpeechSynthesisErrorEvent = class(TJSSpeechSynthesisEvent,IJSSpeechSynthesisErrorEvent) Private Protected function _Geterror: TSpeechSynthesisErrorCode; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechSynthesisErrorEventInit); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSpeechSynthesisErrorEvent; property error: TSpeechSynthesisErrorCode read _Geterror; end; { -------------------------------------------------------------------- TJSStereoPannerNode --------------------------------------------------------------------} IJSStereoPannerNode = interface(IJSAudioNode) ['{AAA997FB-20CE-34D5-A400-69863B87857C}'] function _Getpan: IJSAudioParam; property pan: IJSAudioParam read _Getpan; end; TJSStereoPannerNode = class(TJSAudioNode,IJSStereoPannerNode) Private Protected function _Getpan: IJSAudioParam; Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSStereoPannerOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSStereoPannerNode; property pan: IJSAudioParam read _Getpan; end; { -------------------------------------------------------------------- TJSTextEvent --------------------------------------------------------------------} IJSTextEvent = interface(IJSUIEvent) ['{B9364839-DAED-3B32-A621-463811646F74}'] function _Getdata: UnicodeString; procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow; const aData: UnicodeString); procedure initTextEvent(const aType_: UnicodeString); procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean); procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow); property data: UnicodeString read _Getdata; end; TJSTextEvent = class(TJSUIEvent,IJSTextEvent) Private Protected function _Getdata: UnicodeString; Public procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow; const aData: UnicodeString); overload; procedure initTextEvent(const aType_: UnicodeString); overload; procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean); overload; procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); overload; procedure initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTextEvent; property data: UnicodeString read _Getdata; end; { -------------------------------------------------------------------- TJSTouchEvent --------------------------------------------------------------------} IJSTouchEvent = interface(IJSUIEvent) ['{75A7D314-62C5-3796-B79D-BB2B7D166E40}'] function _Gettouches: IJSTouchList; function _GettargetTouches: IJSTouchList; function _GetchangedTouches: IJSTouchList; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList; aChangedTouches: IJSTouchList); procedure initTouchEvent(const aType_: UnicodeString); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList); procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList); property touches: IJSTouchList read _Gettouches; property targetTouches: IJSTouchList read _GettargetTouches; property changedTouches: IJSTouchList read _GetchangedTouches; property altKey: Boolean read _GetaltKey; property metaKey: Boolean read _GetmetaKey; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; end; TJSTouchEvent = class(TJSUIEvent,IJSTouchEvent) Private Protected function _Gettouches: IJSTouchList; function _GettargetTouches: IJSTouchList; function _GetchangedTouches: IJSTouchList; function _GetaltKey: Boolean; function _GetmetaKey: Boolean; function _GetctrlKey: Boolean; function _GetshiftKey: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSTouchEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList; aChangedTouches: IJSTouchList); overload; procedure initTouchEvent(const aType_: UnicodeString); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList); overload; procedure initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTouchEvent; property touches: IJSTouchList read _Gettouches; property targetTouches: IJSTouchList read _GettargetTouches; property changedTouches: IJSTouchList read _GetchangedTouches; property altKey: Boolean read _GetaltKey; property metaKey: Boolean read _GetmetaKey; property ctrlKey: Boolean read _GetctrlKey; property shiftKey: Boolean read _GetshiftKey; end; { -------------------------------------------------------------------- TJSVTTCue --------------------------------------------------------------------} // Union of double, AutoKeyword TVTTCue_line_Type = Variant; // Union of double, AutoKeyword TVTTCue_position_Type = Variant; IJSVTTCue = interface(IJSTextTrackCue) ['{D3666E9A-3307-32C0-8003-1A3BE7F5B82B}'] function _Getregion: IJSVTTRegion; function _Getvertical: TDirectionSetting; function _GetsnapToLines: Boolean; function _Getline: TVTTCue_line_Type; function _GetlineAlign: TLineAlignSetting; function _Getposition: TVTTCue_position_Type; function _GetpositionAlign: TPositionAlignSetting; function _Getsize: Double; function _Getalign: TAlignSetting; function _Gettext: UnicodeString; procedure _Setregion(const aValue: IJSVTTRegion); procedure _Setvertical(const aValue: TDirectionSetting); procedure _SetsnapToLines(const aValue: Boolean); procedure _Setline(const aValue: TVTTCue_line_Type); procedure _SetlineAlign(const aValue: TLineAlignSetting); procedure _Setposition(const aValue: TVTTCue_position_Type); procedure _SetpositionAlign(const aValue: TPositionAlignSetting); procedure _Setsize(const aValue: Double); procedure _Setalign(const aValue: TAlignSetting); procedure _Settext(const aValue: UnicodeString); function getCueAsHTML: IJSDocumentFragment; property region: IJSVTTRegion read _Getregion write _Setregion; property vertical: TDirectionSetting read _Getvertical write _Setvertical; property snapToLines: Boolean read _GetsnapToLines write _SetsnapToLines; property line: TVTTCue_line_Type read _Getline write _Setline; property lineAlign: TLineAlignSetting read _GetlineAlign write _SetlineAlign; property position: TVTTCue_position_Type read _Getposition write _Setposition; property positionAlign: TPositionAlignSetting read _GetpositionAlign write _SetpositionAlign; property size: Double read _Getsize write _Setsize; property align: TAlignSetting read _Getalign write _Setalign; property text: UnicodeString read _Gettext write _Settext; end; TJSVTTCue = class(TJSTextTrackCue,IJSVTTCue) Private Protected function _Getregion: IJSVTTRegion; function _Getvertical: TDirectionSetting; function _GetsnapToLines: Boolean; function _Getline: TVTTCue_line_Type; function _GetlineAlign: TLineAlignSetting; function _Getposition: TVTTCue_position_Type; function _GetpositionAlign: TPositionAlignSetting; function _Getsize: Double; function _Getalign: TAlignSetting; function _Gettext: UnicodeString; procedure _Setregion(const aValue: IJSVTTRegion); procedure _Setvertical(const aValue: TDirectionSetting); procedure _SetsnapToLines(const aValue: Boolean); procedure _Setline(const aValue: TVTTCue_line_Type); procedure _SetlineAlign(const aValue: TLineAlignSetting); procedure _Setposition(const aValue: TVTTCue_position_Type); procedure _SetpositionAlign(const aValue: TPositionAlignSetting); procedure _Setsize(const aValue: Double); procedure _Setalign(const aValue: TAlignSetting); procedure _Settext(const aValue: UnicodeString); Public constructor Create(aStartTime: Double; aEndTime: Double; const aText: UnicodeString); overload; function getCueAsHTML: IJSDocumentFragment; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSVTTCue; property region: IJSVTTRegion read _Getregion write _Setregion; property vertical: TDirectionSetting read _Getvertical write _Setvertical; property snapToLines: Boolean read _GetsnapToLines write _SetsnapToLines; property line: TVTTCue_line_Type read _Getline write _Setline; property lineAlign: TLineAlignSetting read _GetlineAlign write _SetlineAlign; property position: TVTTCue_position_Type read _Getposition write _Setposition; property positionAlign: TPositionAlignSetting read _GetpositionAlign write _SetpositionAlign; property size: Double read _Getsize write _Setsize; property align: TAlignSetting read _Getalign write _Setalign; property text: UnicodeString read _Gettext write _Settext; end; { -------------------------------------------------------------------- TJSWaveShaperNode --------------------------------------------------------------------} IJSWaveShaperNode = interface(IJSAudioNode) ['{DA3371C3-4124-3A58-B6E1-FA1894778863}'] function _Getcurve: IJSFloat32Array; function _Getoversample: TOverSampleType; procedure _Setcurve(const aValue: IJSFloat32Array); procedure _Setoversample(const aValue: TOverSampleType); property curve: IJSFloat32Array read _Getcurve write _Setcurve; property oversample: TOverSampleType read _Getoversample write _Setoversample; end; TJSWaveShaperNode = class(TJSAudioNode,IJSWaveShaperNode) Private Protected function _Getcurve: IJSFloat32Array; function _Getoversample: TOverSampleType; procedure _Setcurve(const aValue: IJSFloat32Array); procedure _Setoversample(const aValue: TOverSampleType); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSWaveShaperOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWaveShaperNode; property curve: IJSFloat32Array read _Getcurve write _Setcurve; property oversample: TOverSampleType read _Getoversample write _Setoversample; end; { -------------------------------------------------------------------- TJSTaskSignal --------------------------------------------------------------------} IJSTaskSignal = interface(IJSAbortSignal) ['{C2A138C0-3706-3CFC-B0A6-B85169C90253}'] function _Getpriority: TTaskPriority; function _Getonprioritychange: TEventHandler; procedure _Setonprioritychange(const aValue: TEventHandler); property priority: TTaskPriority read _Getpriority; property onprioritychange: TEventHandler read _Getonprioritychange write _Setonprioritychange; end; TJSTaskSignal = class(TJSAbortSignal,IJSTaskSignal) Private Protected function _Getpriority: TTaskPriority; function _Getonprioritychange: TEventHandler; procedure _Setonprioritychange(const aValue: TEventHandler); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTaskSignal; property priority: TTaskPriority read _Getpriority; property onprioritychange: TEventHandler read _Getonprioritychange write _Setonprioritychange; end; { -------------------------------------------------------------------- TJSWebTransportError --------------------------------------------------------------------} IJSWebTransportError = interface(IJSDOMException) ['{4B2BE296-D19D-366A-A97B-DA28F297C0B8}'] function _Getsource: TWebTransportErrorSource; function _GetstreamErrorCode: Byte; property source: TWebTransportErrorSource read _Getsource; property streamErrorCode: Byte read _GetstreamErrorCode; end; TJSWebTransportError = class(TJSDOMException,IJSWebTransportError) Private Protected function _Getsource: TWebTransportErrorSource; function _GetstreamErrorCode: Byte; Public constructor Create(const aInit: IJSWebTransportErrorInit); overload; constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWebTransportError; property source: TWebTransportErrorSource read _Getsource; property streamErrorCode: Byte read _GetstreamErrorCode; end; { -------------------------------------------------------------------- TJSXRReferenceSpace --------------------------------------------------------------------} IJSXRReferenceSpace = interface(IJSXRSpace) ['{093CF3FB-D194-37EE-970E-1B2CF865B169}'] function _Getonreset: TEventHandler; procedure _Setonreset(const aValue: TEventHandler); function getOffsetReferenceSpace(aOriginOffset: IJSXRRigidTransform): IJSXRReferenceSpace; property onreset: TEventHandler read _Getonreset write _Setonreset; end; TJSXRReferenceSpace = class(TJSXRSpace,IJSXRReferenceSpace) Private Protected function _Getonreset: TEventHandler; procedure _Setonreset(const aValue: TEventHandler); Public function getOffsetReferenceSpace(aOriginOffset: IJSXRRigidTransform): IJSXRReferenceSpace; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRReferenceSpace; property onreset: TEventHandler read _Getonreset write _Setonreset; end; { -------------------------------------------------------------------- TJSChromeWorker --------------------------------------------------------------------} IJSChromeWorker = interface(IJSWorker) ['{E6CE178C-E199-3EFE-8EEA-1ED81AA2A621}'] end; TJSChromeWorker = class(TJSWorker,IJSChromeWorker) Private Protected Public constructor Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); overload; constructor Create(const aScriptURL: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSChromeWorker; end; { -------------------------------------------------------------------- TJSXMLHttpRequest --------------------------------------------------------------------} // Union of Document, XMLHttpRequestBodyInit TXMLHttpRequest_send_body_Type = Variant; IJSXMLHttpRequest = interface(IJSXMLHttpRequestEventTarget) ['{EEA3FB69-E5CF-3082-A97E-949C15D3BC06}'] function _Getonreadystatechange: TEventHandler; function _GetreadyState: Word; function _Gettimeout: Cardinal; function _GetwithCredentials: Boolean; function _Getupload: IJSXMLHttpRequestUpload; function _GetresponseURL: UnicodeString; function _Getstatus: Word; function _GetstatusText: UnicodeString; function _GetresponseType: TXMLHttpRequestResponseType; function _Getresponse: Variant; function _GetresponseText: UnicodeString; function _GetresponseXML: IJSDocument; function _GetmozAnon: Boolean; function _GetmozSystem: Boolean; procedure _Setonreadystatechange(const aValue: TEventHandler); procedure _Settimeout(const aValue: Cardinal); procedure _SetwithCredentials(const aValue: Boolean); procedure _SetresponseType(const aValue: TXMLHttpRequestResponseType); procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString); procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString; const aPassword: UnicodeString); procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean); procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString); procedure setRequestHeader(const aHeader: UnicodeString; const aValue: UnicodeString); procedure send(aBody: IJSDocument); procedure send; procedure send(const aBody: TXMLHttpRequestBodyInit); procedure abort; function getResponseHeader(const aHeader: UnicodeString): UnicodeString; function getAllResponseHeaders: UnicodeString; procedure overrideMimeType(const aMime: UnicodeString); property onreadystatechange: TEventHandler read _Getonreadystatechange write _Setonreadystatechange; property readyState: Word read _GetreadyState; property timeout: Cardinal read _Gettimeout write _Settimeout; property withCredentials: Boolean read _GetwithCredentials write _SetwithCredentials; property upload: IJSXMLHttpRequestUpload read _Getupload; property responseURL: UnicodeString read _GetresponseURL; property status: Word read _Getstatus; property statusText: UnicodeString read _GetstatusText; property responseType: TXMLHttpRequestResponseType read _GetresponseType write _SetresponseType; property response: Variant read _Getresponse; property responseText: UnicodeString read _GetresponseText; property responseXML: IJSDocument read _GetresponseXML; property mozAnon: Boolean read _GetmozAnon; property mozSystem: Boolean read _GetmozSystem; end; TJSXMLHttpRequest = class(TJSXMLHttpRequestEventTarget,IJSXMLHttpRequest) Private Protected function _Getonreadystatechange: TEventHandler; function _GetreadyState: Word; function _Gettimeout: Cardinal; function _GetwithCredentials: Boolean; function _Getupload: IJSXMLHttpRequestUpload; function _GetresponseURL: UnicodeString; function _Getstatus: Word; function _GetstatusText: UnicodeString; function _GetresponseType: TXMLHttpRequestResponseType; function _Getresponse: Variant; function _GetresponseText: UnicodeString; function _GetresponseXML: IJSDocument; function _GetmozAnon: Boolean; function _GetmozSystem: Boolean; procedure _Setonreadystatechange(const aValue: TEventHandler); procedure _Settimeout(const aValue: Cardinal); procedure _SetwithCredentials(const aValue: Boolean); procedure _SetresponseType(const aValue: TXMLHttpRequestResponseType); Public Const UNSENT = 0; OPENED = 1; HEADERS_RECEIVED = 2; LOADING = 3; DONE = 4; Public constructor Create(const aParams: IJSMozXMLHttpRequestParameters); overload; constructor Create; overload; constructor Create(const aIgnored: UnicodeString); overload; procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString); overload; procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString; const aPassword: UnicodeString); overload; procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean); overload; procedure open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString); overload; procedure setRequestHeader(const aHeader: UnicodeString; const aValue: UnicodeString); overload; procedure send(aBody: IJSDocument); overload; procedure send; overload; procedure send(const aBody: TXMLHttpRequestBodyInit); overload; procedure abort; overload; function getResponseHeader(const aHeader: UnicodeString): UnicodeString; overload; function getAllResponseHeaders: UnicodeString; overload; procedure overrideMimeType(const aMime: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXMLHttpRequest; property onreadystatechange: TEventHandler read _Getonreadystatechange write _Setonreadystatechange; property readyState: Word read _GetreadyState; property timeout: Cardinal read _Gettimeout write _Settimeout; property withCredentials: Boolean read _GetwithCredentials write _SetwithCredentials; property upload: IJSXMLHttpRequestUpload read _Getupload; property responseURL: UnicodeString read _GetresponseURL; property status: Word read _Getstatus; property statusText: UnicodeString read _GetstatusText; property responseType: TXMLHttpRequestResponseType read _GetresponseType write _SetresponseType; property response: Variant read _Getresponse; property responseText: UnicodeString read _GetresponseText; property responseXML: IJSDocument read _GetresponseXML; property mozAnon: Boolean read _GetmozAnon; property mozSystem: Boolean read _GetmozSystem; end; { -------------------------------------------------------------------- TJSXMLHttpRequestUpload --------------------------------------------------------------------} IJSXMLHttpRequestUpload = interface(IJSXMLHttpRequestEventTarget) ['{9D686DEC-4392-374E-AB8E-4CA0C1B54601}'] end; TJSXMLHttpRequestUpload = class(TJSXMLHttpRequestEventTarget,IJSXMLHttpRequestUpload) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXMLHttpRequestUpload; end; { -------------------------------------------------------------------- TJSAudioBufferSourceNode --------------------------------------------------------------------} IJSAudioBufferSourceNode = interface(IJSAudioScheduledSourceNode) ['{AAB3C3D5-3006-358A-B82F-3DFD0EC30D2D}'] function _Getbuffer: IJSAudioBuffer; function _GetplaybackRate: IJSAudioParam; function _Getdetune: IJSAudioParam; function _Getloop: Boolean; function _GetloopStart: Double; function _GetloopEnd: Double; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setloop(const aValue: Boolean); procedure _SetloopStart(const aValue: Double); procedure _SetloopEnd(const aValue: Double); procedure start(aWhen: Double; aGrainOffset: Double; aGrainDuration: Double); procedure start; procedure start(aWhen: Double); procedure start(aWhen: Double; aGrainOffset: Double); property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property playbackRate: IJSAudioParam read _GetplaybackRate; property detune: IJSAudioParam read _Getdetune; property loop: Boolean read _Getloop write _Setloop; property loopStart: Double read _GetloopStart write _SetloopStart; property loopEnd: Double read _GetloopEnd write _SetloopEnd; end; TJSAudioBufferSourceNode = class(TJSAudioScheduledSourceNode,IJSAudioBufferSourceNode) Private Protected function _Getbuffer: IJSAudioBuffer; function _GetplaybackRate: IJSAudioParam; function _Getdetune: IJSAudioParam; function _Getloop: Boolean; function _GetloopStart: Double; function _GetloopEnd: Double; procedure _Setbuffer(const aValue: IJSAudioBuffer); procedure _Setloop(const aValue: Boolean); procedure _SetloopStart(const aValue: Double); procedure _SetloopEnd(const aValue: Double); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSAudioBufferSourceOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; procedure start(aWhen: Double; aGrainOffset: Double; aGrainDuration: Double); overload; procedure start; overload; procedure start(aWhen: Double); overload; procedure start(aWhen: Double; aGrainOffset: Double); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAudioBufferSourceNode; property buffer: IJSAudioBuffer read _Getbuffer write _Setbuffer; property playbackRate: IJSAudioParam read _GetplaybackRate; property detune: IJSAudioParam read _Getdetune; property loop: Boolean read _Getloop write _Setloop; property loopStart: Double read _GetloopStart write _SetloopStart; property loopEnd: Double read _GetloopEnd write _SetloopEnd; end; { -------------------------------------------------------------------- TJSComment --------------------------------------------------------------------} IJSComment = interface(IJSCharacterData) ['{A6DABBC4-BEB5-343C-BA9F-E6DDC1194965}'] end; TJSComment = class(TJSCharacterData,IJSComment) Private Protected Public constructor Create(const aData: UnicodeString); overload; constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSComment; end; { -------------------------------------------------------------------- TJSConstantSourceNode --------------------------------------------------------------------} IJSConstantSourceNode = interface(IJSAudioScheduledSourceNode) ['{4DA4462E-B0AC-30A6-AF37-9FEC4541B1BA}'] function _Getoffset: IJSAudioParam; property offset: IJSAudioParam read _Getoffset; end; TJSConstantSourceNode = class(TJSAudioScheduledSourceNode,IJSConstantSourceNode) Private Protected function _Getoffset: IJSAudioParam; Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSConstantSourceOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSConstantSourceNode; property offset: IJSAudioParam read _Getoffset; end; { -------------------------------------------------------------------- TJSCSSContainerRule --------------------------------------------------------------------} IJSCSSContainerRule = interface(IJSCSSConditionRule) ['{F2D60421-2492-3398-AC28-5FA21D81B5FF}'] function _GetcontainerName: UTF8String; function _GetcontainerQuery: UTF8String; property containerName: UTF8String read _GetcontainerName; property containerQuery: UTF8String read _GetcontainerQuery; end; TJSCSSContainerRule = class(TJSCSSConditionRule,IJSCSSContainerRule) Private Protected function _GetcontainerName: UTF8String; function _GetcontainerQuery: UTF8String; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSContainerRule; property containerName: UTF8String read _GetcontainerName; property containerQuery: UTF8String read _GetcontainerQuery; end; { -------------------------------------------------------------------- TJSCSSMediaRule --------------------------------------------------------------------} IJSCSSMediaRule = interface(IJSCSSConditionRule) ['{687E66F9-C046-3C8A-B024-9132576B1102}'] function _Getmedia: IJSMediaList; property media: IJSMediaList read _Getmedia; end; TJSCSSMediaRule = class(TJSCSSConditionRule,IJSCSSMediaRule) Private Protected function _Getmedia: IJSMediaList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSMediaRule; property media: IJSMediaList read _Getmedia; end; { -------------------------------------------------------------------- TJSCSSMozDocumentRule --------------------------------------------------------------------} IJSCSSMozDocumentRule = interface(IJSCSSConditionRule) ['{BBDD7D58-4178-3D00-B342-56E54F9644D4}'] end; TJSCSSMozDocumentRule = class(TJSCSSConditionRule,IJSCSSMozDocumentRule) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSMozDocumentRule; end; { -------------------------------------------------------------------- TJSCSSSupportsRule --------------------------------------------------------------------} IJSCSSSupportsRule = interface(IJSCSSConditionRule) ['{6C6B721F-3AE8-3EF4-A4EF-A84B2266ADD9}'] end; TJSCSSSupportsRule = class(TJSCSSConditionRule,IJSCSSSupportsRule) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSSSupportsRule; end; { -------------------------------------------------------------------- TJSDragEvent --------------------------------------------------------------------} IJSDragEvent = interface(IJSMouseEvent) ['{5EA518AC-BF4C-30EC-89C0-1EF3F5D9656F}'] function _GetdataTransfer: IJSDataTransfer; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget; aADataTransfer: IJSDataTransfer); procedure initDragEvent(const aType_: UnicodeString); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word); procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget); property dataTransfer: IJSDataTransfer read _GetdataTransfer; end; TJSDragEvent = class(TJSMouseEvent,IJSDragEvent) Private Protected function _GetdataTransfer: IJSDataTransfer; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSDragEventInit); overload; constructor Create(const aType_: UnicodeString); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget; aADataTransfer: IJSDataTransfer); overload; procedure initDragEvent(const aType_: UnicodeString); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word); overload; procedure initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSDragEvent; property dataTransfer: IJSDataTransfer read _GetdataTransfer; end; { -------------------------------------------------------------------- TJSHTMLDocument --------------------------------------------------------------------} IJSHTMLDocument = interface(IJSDocument) ['{E6CF5CE1-5541-3248-AF00-F0D81AA2A621}'] function GetDefault(const aName: UnicodeString): IJSObject; end; TJSHTMLDocument = class(TJSDocument,IJSHTMLDocument) Private Protected Public function GetDefault(const aName: UnicodeString): IJSObject; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDocument; end; { -------------------------------------------------------------------- TJSHTMLElement --------------------------------------------------------------------} IJSHTMLElement = interface(IJSElement) ['{242E0E7D-6856-3974-BED3-8025D30051D5}'] function _Gettitle: UnicodeString; function _Getlang: UnicodeString; function _Gettranslate: Boolean; function _Getdir: UnicodeString; function _GetinnerText: UnicodeString; function _GetouterText: UnicodeString; function _Gethidden: Boolean; function _Getinert: Boolean; function _GetaccessKey: UnicodeString; function _GetaccessKeyLabel: UnicodeString; function _Getdraggable: Boolean; function _GetcontentEditable: UnicodeString; function _GetisContentEditable: Boolean; function _Getpopover: UnicodeString; function _Getspellcheck: Boolean; function _GetinputMode: UnicodeString; function _GetenterKeyHint: UnicodeString; function _Getautocapitalize: UnicodeString; function _Getnonce: UnicodeString; function _GetoffsetParent: IJSElement; function _GetoffsetTop: LongInt; function _GetoffsetLeft: LongInt; function _GetoffsetWidth: LongInt; function _GetoffsetHeight: LongInt; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Settitle(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Settranslate(const aValue: Boolean); procedure _Setdir(const aValue: UnicodeString); procedure _SetinnerText(const aValue: UnicodeString); procedure _SetouterText(const aValue: UnicodeString); procedure _Sethidden(const aValue: Boolean); procedure _Setinert(const aValue: Boolean); procedure _SetaccessKey(const aValue: UnicodeString); procedure _Setdraggable(const aValue: Boolean); procedure _SetcontentEditable(const aValue: UnicodeString); procedure _Setpopover(const aValue: UnicodeString); procedure _Setspellcheck(const aValue: Boolean); procedure _SetinputMode(const aValue: UnicodeString); procedure _SetenterKeyHint(const aValue: UnicodeString); procedure _Setautocapitalize(const aValue: UnicodeString); procedure _Setnonce(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure click; function attachInternals: IJSElementInternals; procedure showPopover; procedure hidePopover; function togglePopover(aForce: Boolean): Boolean; function togglePopover: Boolean; procedure focus(const aOptions: IJSFocusOptions); procedure focus; procedure blur; property title: UnicodeString read _Gettitle write _Settitle; property lang: UnicodeString read _Getlang write _Setlang; property translate: Boolean read _Gettranslate write _Settranslate; property dir: UnicodeString read _Getdir write _Setdir; property innerText: UnicodeString read _GetinnerText write _SetinnerText; property outerText: UnicodeString read _GetouterText write _SetouterText; property hidden: Boolean read _Gethidden write _Sethidden; property inert: Boolean read _Getinert write _Setinert; property accessKey: UnicodeString read _GetaccessKey write _SetaccessKey; property accessKeyLabel: UnicodeString read _GetaccessKeyLabel; property draggable: Boolean read _Getdraggable write _Setdraggable; property contentEditable: UnicodeString read _GetcontentEditable write _SetcontentEditable; property isContentEditable: Boolean read _GetisContentEditable; property popover: UnicodeString read _Getpopover write _Setpopover; property spellcheck: Boolean read _Getspellcheck write _Setspellcheck; property inputMode: UnicodeString read _GetinputMode write _SetinputMode; property enterKeyHint: UnicodeString read _GetenterKeyHint write _SetenterKeyHint; property autocapitalize: UnicodeString read _Getautocapitalize write _Setautocapitalize; property nonce: UnicodeString read _Getnonce write _Setnonce; property offsetParent: IJSElement read _GetoffsetParent; property offsetTop: LongInt read _GetoffsetTop; property offsetLeft: LongInt read _GetoffsetLeft; property offsetWidth: LongInt read _GetoffsetWidth; property offsetHeight: LongInt read _GetoffsetHeight; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSHTMLElement = class(TJSElement,IJSHTMLElement) Private Protected function _Gettitle: UnicodeString; function _Getlang: UnicodeString; function _Gettranslate: Boolean; function _Getdir: UnicodeString; function _GetinnerText: UnicodeString; function _GetouterText: UnicodeString; function _Gethidden: Boolean; function _Getinert: Boolean; function _GetaccessKey: UnicodeString; function _GetaccessKeyLabel: UnicodeString; function _Getdraggable: Boolean; function _GetcontentEditable: UnicodeString; function _GetisContentEditable: Boolean; function _Getpopover: UnicodeString; function _Getspellcheck: Boolean; function _GetinputMode: UnicodeString; function _GetenterKeyHint: UnicodeString; function _Getautocapitalize: UnicodeString; function _Getnonce: UnicodeString; function _GetoffsetParent: IJSElement; function _GetoffsetTop: LongInt; function _GetoffsetLeft: LongInt; function _GetoffsetWidth: LongInt; function _GetoffsetHeight: LongInt; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Settitle(const aValue: UnicodeString); procedure _Setlang(const aValue: UnicodeString); procedure _Settranslate(const aValue: Boolean); procedure _Setdir(const aValue: UnicodeString); procedure _SetinnerText(const aValue: UnicodeString); procedure _SetouterText(const aValue: UnicodeString); procedure _Sethidden(const aValue: Boolean); procedure _Setinert(const aValue: Boolean); procedure _SetaccessKey(const aValue: UnicodeString); procedure _Setdraggable(const aValue: Boolean); procedure _SetcontentEditable(const aValue: UnicodeString); procedure _Setpopover(const aValue: UnicodeString); procedure _Setspellcheck(const aValue: Boolean); procedure _SetinputMode(const aValue: UnicodeString); procedure _SetenterKeyHint(const aValue: UnicodeString); procedure _Setautocapitalize(const aValue: UnicodeString); procedure _Setnonce(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public constructor Create; overload; procedure click; overload; function attachInternals: IJSElementInternals; overload; procedure showPopover; overload; procedure hidePopover; overload; function togglePopover(aForce: Boolean): Boolean; overload; function togglePopover: Boolean; overload; procedure focus(const aOptions: IJSFocusOptions); overload; procedure focus; overload; procedure blur; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLElement; property title: UnicodeString read _Gettitle write _Settitle; property lang: UnicodeString read _Getlang write _Setlang; property translate: Boolean read _Gettranslate write _Settranslate; property dir: UnicodeString read _Getdir write _Setdir; property innerText: UnicodeString read _GetinnerText write _SetinnerText; property outerText: UnicodeString read _GetouterText write _SetouterText; property hidden: Boolean read _Gethidden write _Sethidden; property inert: Boolean read _Getinert write _Setinert; property accessKey: UnicodeString read _GetaccessKey write _SetaccessKey; property accessKeyLabel: UnicodeString read _GetaccessKeyLabel; property draggable: Boolean read _Getdraggable write _Setdraggable; property contentEditable: UnicodeString read _GetcontentEditable write _SetcontentEditable; property isContentEditable: Boolean read _GetisContentEditable; property popover: UnicodeString read _Getpopover write _Setpopover; property spellcheck: Boolean read _Getspellcheck write _Setspellcheck; property inputMode: UnicodeString read _GetinputMode write _SetinputMode; property enterKeyHint: UnicodeString read _GetenterKeyHint write _SetenterKeyHint; property autocapitalize: UnicodeString read _Getautocapitalize write _Setautocapitalize; property nonce: UnicodeString read _Getnonce write _Setnonce; property offsetParent: IJSElement read _GetoffsetParent; property offsetTop: LongInt read _GetoffsetTop; property offsetLeft: LongInt read _GetoffsetLeft; property offsetWidth: LongInt read _GetoffsetWidth; property offsetHeight: LongInt read _GetoffsetHeight; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSMathMLElement --------------------------------------------------------------------} IJSMathMLElement = interface(IJSElement) ['{83AF2FD7-C29D-36C9-82CC-192B38D9F4FC}'] function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure focus(const aOptions: IJSFocusOptions); procedure focus; procedure blur; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSMathMLElement = class(TJSElement,IJSMathMLElement) Private Protected function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public procedure focus(const aOptions: IJSFocusOptions); overload; procedure focus; overload; procedure blur; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMathMLElement; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSMouseScrollEvent --------------------------------------------------------------------} IJSMouseScrollEvent = interface(IJSMouseEvent) ['{0AA5CB2C-174A-3C89-B569-59E94C893F34}'] function _Getaxis: LongInt; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget; aAxis: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt); procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget); property axis: LongInt read _Getaxis; end; TJSMouseScrollEvent = class(TJSMouseEvent,IJSMouseScrollEvent) Private Protected function _Getaxis: LongInt; Public Const HORIZONTAL_AXIS = 1; VERTICAL_AXIS = 2; Public procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget; aAxis: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt); overload; procedure initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSMouseScrollEvent; property axis: LongInt read _Getaxis; end; { -------------------------------------------------------------------- TJSOscillatorNode --------------------------------------------------------------------} IJSOscillatorNode = interface(IJSAudioScheduledSourceNode) ['{0C958E71-6D54-3F80-8340-CF612B6DA474}'] function _Gettype_: TOscillatorType; function _Getfrequency: IJSAudioParam; function _Getdetune: IJSAudioParam; procedure _Settype_(const aValue: TOscillatorType); procedure setPeriodicWave(aPeriodicWave: IJSPeriodicWave); property type_: TOscillatorType read _Gettype_ write _Settype_; property frequency: IJSAudioParam read _Getfrequency; property detune: IJSAudioParam read _Getdetune; end; TJSOscillatorNode = class(TJSAudioScheduledSourceNode,IJSOscillatorNode) Private Protected function _Gettype_: TOscillatorType; function _Getfrequency: IJSAudioParam; function _Getdetune: IJSAudioParam; procedure _Settype_(const aValue: TOscillatorType); Public constructor Create(aContext: IJSBaseAudioContext; const aOptions: IJSOscillatorOptions); overload; constructor Create(aContext: IJSBaseAudioContext); overload; procedure setPeriodicWave(aPeriodicWave: IJSPeriodicWave); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSOscillatorNode; property type_: TOscillatorType read _Gettype_ write _Settype_; property frequency: IJSAudioParam read _Getfrequency; property detune: IJSAudioParam read _Getdetune; end; { -------------------------------------------------------------------- TJSPointerEvent --------------------------------------------------------------------} IJSPointerEvent = interface(IJSMouseEvent) ['{1EBB15A9-FD6D-3839-A941-0F79345C940C}'] function _GetpointerId: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _Getpressure: Single; function _GettangentialPressure: Single; function _GettiltX: LongInt; function _GettiltY: LongInt; function _Gettwist: LongInt; function _GetpointerType: UnicodeString; function _GetisPrimary: Boolean; function getCoalescedEvents: TJSPointerEventDynArray; function getPredictedEvents: TJSPointerEventDynArray; property pointerId: LongInt read _GetpointerId; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; property pressure: Single read _Getpressure; property tangentialPressure: Single read _GettangentialPressure; property tiltX: LongInt read _GettiltX; property tiltY: LongInt read _GettiltY; property twist: LongInt read _Gettwist; property pointerType: UnicodeString read _GetpointerType; property isPrimary: Boolean read _GetisPrimary; end; TJSPointerEvent = class(TJSMouseEvent,IJSPointerEvent) Private Protected function _GetpointerId: LongInt; function _Getwidth: LongInt; function _Getheight: LongInt; function _Getpressure: Single; function _GettangentialPressure: Single; function _GettiltX: LongInt; function _GettiltY: LongInt; function _Gettwist: LongInt; function _GetpointerType: UnicodeString; function _GetisPrimary: Boolean; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSPointerEventInit); overload; constructor Create(const aType_: UnicodeString); overload; function getCoalescedEvents: TJSPointerEventDynArray; overload; function getPredictedEvents: TJSPointerEventDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSPointerEvent; property pointerId: LongInt read _GetpointerId; property width: LongInt read _Getwidth; property height: LongInt read _Getheight; property pressure: Single read _Getpressure; property tangentialPressure: Single read _GettangentialPressure; property tiltX: LongInt read _GettiltX; property tiltY: LongInt read _GettiltY; property twist: LongInt read _Gettwist; property pointerType: UnicodeString read _GetpointerType; property isPrimary: Boolean read _GetisPrimary; end; { -------------------------------------------------------------------- TJSProcessingInstruction --------------------------------------------------------------------} IJSProcessingInstruction = interface(IJSCharacterData) ['{73D5F6EC-4820-3C4C-A734-E9619913B82C}'] function _Gettarget: UnicodeString; function _Getsheet: IJSStyleSheet; property target: UnicodeString read _Gettarget; property sheet: IJSStyleSheet read _Getsheet; end; TJSProcessingInstruction = class(TJSCharacterData,IJSProcessingInstruction) Private Protected function _Gettarget: UnicodeString; function _Getsheet: IJSStyleSheet; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSProcessingInstruction; property target: UnicodeString read _Gettarget; property sheet: IJSStyleSheet read _Getsheet; end; { -------------------------------------------------------------------- TJSShadowRoot --------------------------------------------------------------------} IJSShadowRoot = interface(IJSDocumentFragment) ['{DE1D6D95-9EE6-3AC9-9056-F48730FACE38}'] function _Getmode: TShadowRootMode; function _GetdelegatesFocus: Boolean; function _GetslotAssignment: TSlotAssignmentMode; function _Getclonable: Boolean; function _Gethost: IJSElement; function _Getonslotchange: TEventHandler; function _GetinnerHTML: UnicodeString; function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _Setonslotchange(const aValue: TEventHandler); procedure _SetinnerHTML(const aValue: UnicodeString); procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); function getElementById(const aElementId: UnicodeString): IJSElement; function importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode; aDeep: Boolean): IJSNode; function importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode): IJSNode; function createElementAndAppendChildAt(aParentNode: IJSNode; const aLocalName: UnicodeString): IJSNode; procedure setHTMLUnsafe(const aHtml: UnicodeString); function elementFromPoint(aX: Single; aY: Single): IJSElement; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; function getAnimations: TJSAnimationDynArray; property mode: TShadowRootMode read _Getmode; property delegatesFocus: Boolean read _GetdelegatesFocus; property slotAssignment: TSlotAssignmentMode read _GetslotAssignment; property clonable: Boolean read _Getclonable; property host: IJSElement read _Gethost; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property innerHTML: UnicodeString read _GetinnerHTML write _SetinnerHTML; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; TJSShadowRoot = class(TJSDocumentFragment,IJSShadowRoot) Private Protected function _Getmode: TShadowRootMode; function _GetdelegatesFocus: Boolean; function _GetslotAssignment: TSlotAssignmentMode; function _Getclonable: Boolean; function _Gethost: IJSElement; function _Getonslotchange: TEventHandler; function _GetinnerHTML: UnicodeString; function _GetactiveElement: IJSElement; function _GetstyleSheets: IJSStyleSheetList; function _GetpointerLockElement: IJSElement; function _GetfullscreenElement: IJSElement; function _GetmozFullScreenElement: IJSElement; function _GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; procedure _Setonslotchange(const aValue: TEventHandler); procedure _SetinnerHTML(const aValue: UnicodeString); procedure _SetadoptedStyleSheets(const aValue: TJSCSSStyleSheetDynArray); Public function getElementById(const aElementId: UnicodeString): IJSElement; overload; function importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode; aDeep: Boolean): IJSNode; overload; function importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode): IJSNode; overload; function createElementAndAppendChildAt(aParentNode: IJSNode; const aLocalName: UnicodeString): IJSNode; overload; procedure setHTMLUnsafe(const aHtml: UnicodeString); overload; function elementFromPoint(aX: Single; aY: Single): IJSElement; overload; function elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; overload; function getAnimations: TJSAnimationDynArray; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSShadowRoot; property mode: TShadowRootMode read _Getmode; property delegatesFocus: Boolean read _GetdelegatesFocus; property slotAssignment: TSlotAssignmentMode read _GetslotAssignment; property clonable: Boolean read _Getclonable; property host: IJSElement read _Gethost; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property innerHTML: UnicodeString read _GetinnerHTML write _SetinnerHTML; property activeElement: IJSElement read _GetactiveElement; property styleSheets: IJSStyleSheetList read _GetstyleSheets; property pointerLockElement: IJSElement read _GetpointerLockElement; property fullscreenElement: IJSElement read _GetfullscreenElement; property mozFullScreenElement: IJSElement read _GetmozFullScreenElement; property adoptedStyleSheets: TJSCSSStyleSheetDynArray read _GetadoptedStyleSheets write _SetadoptedStyleSheets; end; { -------------------------------------------------------------------- TJSSVGElement --------------------------------------------------------------------} IJSSVGElement = interface(IJSElement) ['{868ADAA5-CF9B-3E63-8B25-7E8C1EB87B94}'] function _Getid2: UnicodeString; function _GetclassName_2: IJSSVGAnimatedString; function _GetownerSVGElement: IJSSVGSVGElement; function _GetviewportElement: IJSSVGElement; function _Getnonce: UnicodeString; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Setid2(const aValue: UnicodeString); procedure _Setnonce(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); procedure focus(const aOptions: IJSFocusOptions); procedure focus; procedure blur; property id: UnicodeString read _Getid2 write _Setid2; property className_: IJSSVGAnimatedString read _GetclassName_2; property ownerSVGElement: IJSSVGSVGElement read _GetownerSVGElement; property viewportElement: IJSSVGElement read _GetviewportElement; property nonce: UnicodeString read _Getnonce write _Setnonce; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; TJSSVGElement = class(TJSElement,IJSSVGElement) Private Protected function _Getid2: UnicodeString; function _GetclassName_2: IJSSVGAnimatedString; function _GetownerSVGElement: IJSSVGSVGElement; function _GetviewportElement: IJSSVGElement; function _Getnonce: UnicodeString; function _Getonabort: TEventHandler; function _Getonblur: TEventHandler; function _Getonfocus: TEventHandler; function _Getoncancel: TEventHandler; function _Getonauxclick: TEventHandler; function _Getonbeforeinput: TEventHandler; function _Getonbeforetoggle: TEventHandler; function _Getoncanplay: TEventHandler; function _Getoncanplaythrough: TEventHandler; function _Getonchange: TEventHandler; function _Getonclick: TEventHandler; function _Getonclose: TEventHandler; function _Getoncontextlost: TEventHandler; function _Getoncontextmenu: TEventHandler; function _Getoncontextrestored: TEventHandler; function _Getoncopy: TEventHandler; function _Getoncuechange: TEventHandler; function _Getoncut: TEventHandler; function _Getondblclick: TEventHandler; function _Getondrag: TEventHandler; function _Getondragend: TEventHandler; function _Getondragenter: TEventHandler; function _Getondragexit: TEventHandler; function _Getondragleave: TEventHandler; function _Getondragover: TEventHandler; function _Getondragstart: TEventHandler; function _Getondrop: TEventHandler; function _Getondurationchange: TEventHandler; function _Getonemptied: TEventHandler; function _Getonended: TEventHandler; function _Getonformdata: TEventHandler; function _Getoninput: TEventHandler; function _Getoninvalid: TEventHandler; function _Getonkeydown: TEventHandler; function _Getonkeypress: TEventHandler; function _Getonkeyup: TEventHandler; function _Getonload: TEventHandler; function _Getonloadeddata: TEventHandler; function _Getonloadedmetadata: TEventHandler; function _Getonloadstart: TEventHandler; function _Getonmousedown: TEventHandler; function _Getonmouseenter: TEventHandler; function _Getonmouseleave: TEventHandler; function _Getonmousemove: TEventHandler; function _Getonmouseout: TEventHandler; function _Getonmouseover: TEventHandler; function _Getonmouseup: TEventHandler; function _Getonwheel: TEventHandler; function _Getonpaste: TEventHandler; function _Getonpause: TEventHandler; function _Getonplay: TEventHandler; function _Getonplaying: TEventHandler; function _Getonprogress: TEventHandler; function _Getonratechange: TEventHandler; function _Getonreset: TEventHandler; function _Getonresize: TEventHandler; function _Getonscroll: TEventHandler; function _Getonscrollend: TEventHandler; function _Getonsecuritypolicyviolation: TEventHandler; function _Getonseeked: TEventHandler; function _Getonseeking: TEventHandler; function _Getonselect: TEventHandler; function _Getonslotchange: TEventHandler; function _Getonstalled: TEventHandler; function _Getonsubmit: TEventHandler; function _Getonsuspend: TEventHandler; function _Getontimeupdate: TEventHandler; function _Getonvolumechange: TEventHandler; function _Getonwaiting: TEventHandler; function _Getonselectstart: TEventHandler; function _Getonselectionchange: TEventHandler; function _Getontoggle: TEventHandler; function _Getonpointercancel: TEventHandler; function _Getonpointerdown: TEventHandler; function _Getonpointerup: TEventHandler; function _Getonpointermove: TEventHandler; function _Getonpointerout: TEventHandler; function _Getonpointerover: TEventHandler; function _Getonpointerenter: TEventHandler; function _Getonpointerleave: TEventHandler; function _Getongotpointercapture: TEventHandler; function _Getonlostpointercapture: TEventHandler; function _Getonmozfullscreenchange: TEventHandler; function _Getonmozfullscreenerror: TEventHandler; function _Getonanimationcancel: TEventHandler; function _Getonanimationend: TEventHandler; function _Getonanimationiteration: TEventHandler; function _Getonanimationstart: TEventHandler; function _Getontransitioncancel: TEventHandler; function _Getontransitionend: TEventHandler; function _Getontransitionrun: TEventHandler; function _Getontransitionstart: TEventHandler; function _Getonwebkitanimationend: TEventHandler; function _Getonwebkitanimationiteration: TEventHandler; function _Getonwebkitanimationstart: TEventHandler; function _Getonwebkittransitionend: TEventHandler; function _Getdataset: IJSDOMStringMap; function _Getautofocus: Boolean; function _GettabIndex: LongInt; function _Getstyle: IJSCSSStyleDeclaration; function _Getontouchstart: TEventHandler; function _Getontouchend: TEventHandler; function _Getontouchmove: TEventHandler; function _Getontouchcancel: TEventHandler; function _Getonerror: TEventHandler; procedure _Setid2(const aValue: UnicodeString); procedure _Setnonce(const aValue: UnicodeString); procedure _Setonabort(const aValue: TEventHandler); procedure _Setonblur(const aValue: TEventHandler); procedure _Setonfocus(const aValue: TEventHandler); procedure _Setoncancel(const aValue: TEventHandler); procedure _Setonauxclick(const aValue: TEventHandler); procedure _Setonbeforeinput(const aValue: TEventHandler); procedure _Setonbeforetoggle(const aValue: TEventHandler); procedure _Setoncanplay(const aValue: TEventHandler); procedure _Setoncanplaythrough(const aValue: TEventHandler); procedure _Setonchange(const aValue: TEventHandler); procedure _Setonclick(const aValue: TEventHandler); procedure _Setonclose(const aValue: TEventHandler); procedure _Setoncontextlost(const aValue: TEventHandler); procedure _Setoncontextmenu(const aValue: TEventHandler); procedure _Setoncontextrestored(const aValue: TEventHandler); procedure _Setoncopy(const aValue: TEventHandler); procedure _Setoncuechange(const aValue: TEventHandler); procedure _Setoncut(const aValue: TEventHandler); procedure _Setondblclick(const aValue: TEventHandler); procedure _Setondrag(const aValue: TEventHandler); procedure _Setondragend(const aValue: TEventHandler); procedure _Setondragenter(const aValue: TEventHandler); procedure _Setondragexit(const aValue: TEventHandler); procedure _Setondragleave(const aValue: TEventHandler); procedure _Setondragover(const aValue: TEventHandler); procedure _Setondragstart(const aValue: TEventHandler); procedure _Setondrop(const aValue: TEventHandler); procedure _Setondurationchange(const aValue: TEventHandler); procedure _Setonemptied(const aValue: TEventHandler); procedure _Setonended(const aValue: TEventHandler); procedure _Setonformdata(const aValue: TEventHandler); procedure _Setoninput(const aValue: TEventHandler); procedure _Setoninvalid(const aValue: TEventHandler); procedure _Setonkeydown(const aValue: TEventHandler); procedure _Setonkeypress(const aValue: TEventHandler); procedure _Setonkeyup(const aValue: TEventHandler); procedure _Setonload(const aValue: TEventHandler); procedure _Setonloadeddata(const aValue: TEventHandler); procedure _Setonloadedmetadata(const aValue: TEventHandler); procedure _Setonloadstart(const aValue: TEventHandler); procedure _Setonmousedown(const aValue: TEventHandler); procedure _Setonmouseenter(const aValue: TEventHandler); procedure _Setonmouseleave(const aValue: TEventHandler); procedure _Setonmousemove(const aValue: TEventHandler); procedure _Setonmouseout(const aValue: TEventHandler); procedure _Setonmouseover(const aValue: TEventHandler); procedure _Setonmouseup(const aValue: TEventHandler); procedure _Setonwheel(const aValue: TEventHandler); procedure _Setonpaste(const aValue: TEventHandler); procedure _Setonpause(const aValue: TEventHandler); procedure _Setonplay(const aValue: TEventHandler); procedure _Setonplaying(const aValue: TEventHandler); procedure _Setonprogress(const aValue: TEventHandler); procedure _Setonratechange(const aValue: TEventHandler); procedure _Setonreset(const aValue: TEventHandler); procedure _Setonresize(const aValue: TEventHandler); procedure _Setonscroll(const aValue: TEventHandler); procedure _Setonscrollend(const aValue: TEventHandler); procedure _Setonsecuritypolicyviolation(const aValue: TEventHandler); procedure _Setonseeked(const aValue: TEventHandler); procedure _Setonseeking(const aValue: TEventHandler); procedure _Setonselect(const aValue: TEventHandler); procedure _Setonslotchange(const aValue: TEventHandler); procedure _Setonstalled(const aValue: TEventHandler); procedure _Setonsubmit(const aValue: TEventHandler); procedure _Setonsuspend(const aValue: TEventHandler); procedure _Setontimeupdate(const aValue: TEventHandler); procedure _Setonvolumechange(const aValue: TEventHandler); procedure _Setonwaiting(const aValue: TEventHandler); procedure _Setonselectstart(const aValue: TEventHandler); procedure _Setonselectionchange(const aValue: TEventHandler); procedure _Setontoggle(const aValue: TEventHandler); procedure _Setonpointercancel(const aValue: TEventHandler); procedure _Setonpointerdown(const aValue: TEventHandler); procedure _Setonpointerup(const aValue: TEventHandler); procedure _Setonpointermove(const aValue: TEventHandler); procedure _Setonpointerout(const aValue: TEventHandler); procedure _Setonpointerover(const aValue: TEventHandler); procedure _Setonpointerenter(const aValue: TEventHandler); procedure _Setonpointerleave(const aValue: TEventHandler); procedure _Setongotpointercapture(const aValue: TEventHandler); procedure _Setonlostpointercapture(const aValue: TEventHandler); procedure _Setonmozfullscreenchange(const aValue: TEventHandler); procedure _Setonmozfullscreenerror(const aValue: TEventHandler); procedure _Setonanimationcancel(const aValue: TEventHandler); procedure _Setonanimationend(const aValue: TEventHandler); procedure _Setonanimationiteration(const aValue: TEventHandler); procedure _Setonanimationstart(const aValue: TEventHandler); procedure _Setontransitioncancel(const aValue: TEventHandler); procedure _Setontransitionend(const aValue: TEventHandler); procedure _Setontransitionrun(const aValue: TEventHandler); procedure _Setontransitionstart(const aValue: TEventHandler); procedure _Setonwebkitanimationend(const aValue: TEventHandler); procedure _Setonwebkitanimationiteration(const aValue: TEventHandler); procedure _Setonwebkitanimationstart(const aValue: TEventHandler); procedure _Setonwebkittransitionend(const aValue: TEventHandler); procedure _Setautofocus(const aValue: Boolean); procedure _SettabIndex(const aValue: LongInt); procedure _Setontouchstart(const aValue: TEventHandler); procedure _Setontouchend(const aValue: TEventHandler); procedure _Setontouchmove(const aValue: TEventHandler); procedure _Setontouchcancel(const aValue: TEventHandler); procedure _Setonerror(const aValue: TEventHandler); Public procedure focus(const aOptions: IJSFocusOptions); overload; procedure focus; overload; procedure blur; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGElement; property id: UnicodeString read _Getid2 write _Setid2; property className_: IJSSVGAnimatedString read _GetclassName_2; property ownerSVGElement: IJSSVGSVGElement read _GetownerSVGElement; property viewportElement: IJSSVGElement read _GetviewportElement; property nonce: UnicodeString read _Getnonce write _Setnonce; property onabort: TEventHandler read _Getonabort write _Setonabort; property onblur: TEventHandler read _Getonblur write _Setonblur; property onfocus: TEventHandler read _Getonfocus write _Setonfocus; property oncancel: TEventHandler read _Getoncancel write _Setoncancel; property onauxclick: TEventHandler read _Getonauxclick write _Setonauxclick; property onbeforeinput: TEventHandler read _Getonbeforeinput write _Setonbeforeinput; property onbeforetoggle: TEventHandler read _Getonbeforetoggle write _Setonbeforetoggle; property oncanplay: TEventHandler read _Getoncanplay write _Setoncanplay; property oncanplaythrough: TEventHandler read _Getoncanplaythrough write _Setoncanplaythrough; property onchange: TEventHandler read _Getonchange write _Setonchange; property onclick: TEventHandler read _Getonclick write _Setonclick; property onclose: TEventHandler read _Getonclose write _Setonclose; property oncontextlost: TEventHandler read _Getoncontextlost write _Setoncontextlost; property oncontextmenu: TEventHandler read _Getoncontextmenu write _Setoncontextmenu; property oncontextrestored: TEventHandler read _Getoncontextrestored write _Setoncontextrestored; property oncopy: TEventHandler read _Getoncopy write _Setoncopy; property oncuechange: TEventHandler read _Getoncuechange write _Setoncuechange; property oncut: TEventHandler read _Getoncut write _Setoncut; property ondblclick: TEventHandler read _Getondblclick write _Setondblclick; property ondrag: TEventHandler read _Getondrag write _Setondrag; property ondragend: TEventHandler read _Getondragend write _Setondragend; property ondragenter: TEventHandler read _Getondragenter write _Setondragenter; property ondragexit: TEventHandler read _Getondragexit write _Setondragexit; property ondragleave: TEventHandler read _Getondragleave write _Setondragleave; property ondragover: TEventHandler read _Getondragover write _Setondragover; property ondragstart: TEventHandler read _Getondragstart write _Setondragstart; property ondrop: TEventHandler read _Getondrop write _Setondrop; property ondurationchange: TEventHandler read _Getondurationchange write _Setondurationchange; property onemptied: TEventHandler read _Getonemptied write _Setonemptied; property onended: TEventHandler read _Getonended write _Setonended; property onformdata: TEventHandler read _Getonformdata write _Setonformdata; property oninput: TEventHandler read _Getoninput write _Setoninput; property oninvalid: TEventHandler read _Getoninvalid write _Setoninvalid; property onkeydown: TEventHandler read _Getonkeydown write _Setonkeydown; property onkeypress: TEventHandler read _Getonkeypress write _Setonkeypress; property onkeyup: TEventHandler read _Getonkeyup write _Setonkeyup; property onload: TEventHandler read _Getonload write _Setonload; property onloadeddata: TEventHandler read _Getonloadeddata write _Setonloadeddata; property onloadedmetadata: TEventHandler read _Getonloadedmetadata write _Setonloadedmetadata; property onloadstart: TEventHandler read _Getonloadstart write _Setonloadstart; property onmousedown: TEventHandler read _Getonmousedown write _Setonmousedown; property onmouseenter: TEventHandler read _Getonmouseenter write _Setonmouseenter; property onmouseleave: TEventHandler read _Getonmouseleave write _Setonmouseleave; property onmousemove: TEventHandler read _Getonmousemove write _Setonmousemove; property onmouseout: TEventHandler read _Getonmouseout write _Setonmouseout; property onmouseover: TEventHandler read _Getonmouseover write _Setonmouseover; property onmouseup: TEventHandler read _Getonmouseup write _Setonmouseup; property onwheel: TEventHandler read _Getonwheel write _Setonwheel; property onpaste: TEventHandler read _Getonpaste write _Setonpaste; property onpause: TEventHandler read _Getonpause write _Setonpause; property onplay: TEventHandler read _Getonplay write _Setonplay; property onplaying: TEventHandler read _Getonplaying write _Setonplaying; property onprogress: TEventHandler read _Getonprogress write _Setonprogress; property onratechange: TEventHandler read _Getonratechange write _Setonratechange; property onreset: TEventHandler read _Getonreset write _Setonreset; property onresize: TEventHandler read _Getonresize write _Setonresize; property onscroll: TEventHandler read _Getonscroll write _Setonscroll; property onscrollend: TEventHandler read _Getonscrollend write _Setonscrollend; property onsecuritypolicyviolation: TEventHandler read _Getonsecuritypolicyviolation write _Setonsecuritypolicyviolation; property onseeked: TEventHandler read _Getonseeked write _Setonseeked; property onseeking: TEventHandler read _Getonseeking write _Setonseeking; property onselect: TEventHandler read _Getonselect write _Setonselect; property onslotchange: TEventHandler read _Getonslotchange write _Setonslotchange; property onstalled: TEventHandler read _Getonstalled write _Setonstalled; property onsubmit: TEventHandler read _Getonsubmit write _Setonsubmit; property onsuspend: TEventHandler read _Getonsuspend write _Setonsuspend; property ontimeupdate: TEventHandler read _Getontimeupdate write _Setontimeupdate; property onvolumechange: TEventHandler read _Getonvolumechange write _Setonvolumechange; property onwaiting: TEventHandler read _Getonwaiting write _Setonwaiting; property onselectstart: TEventHandler read _Getonselectstart write _Setonselectstart; property onselectionchange: TEventHandler read _Getonselectionchange write _Setonselectionchange; property ontoggle: TEventHandler read _Getontoggle write _Setontoggle; property onpointercancel: TEventHandler read _Getonpointercancel write _Setonpointercancel; property onpointerdown: TEventHandler read _Getonpointerdown write _Setonpointerdown; property onpointerup: TEventHandler read _Getonpointerup write _Setonpointerup; property onpointermove: TEventHandler read _Getonpointermove write _Setonpointermove; property onpointerout: TEventHandler read _Getonpointerout write _Setonpointerout; property onpointerover: TEventHandler read _Getonpointerover write _Setonpointerover; property onpointerenter: TEventHandler read _Getonpointerenter write _Setonpointerenter; property onpointerleave: TEventHandler read _Getonpointerleave write _Setonpointerleave; property ongotpointercapture: TEventHandler read _Getongotpointercapture write _Setongotpointercapture; property onlostpointercapture: TEventHandler read _Getonlostpointercapture write _Setonlostpointercapture; property onmozfullscreenchange: TEventHandler read _Getonmozfullscreenchange write _Setonmozfullscreenchange; property onmozfullscreenerror: TEventHandler read _Getonmozfullscreenerror write _Setonmozfullscreenerror; property onanimationcancel: TEventHandler read _Getonanimationcancel write _Setonanimationcancel; property onanimationend: TEventHandler read _Getonanimationend write _Setonanimationend; property onanimationiteration: TEventHandler read _Getonanimationiteration write _Setonanimationiteration; property onanimationstart: TEventHandler read _Getonanimationstart write _Setonanimationstart; property ontransitioncancel: TEventHandler read _Getontransitioncancel write _Setontransitioncancel; property ontransitionend: TEventHandler read _Getontransitionend write _Setontransitionend; property ontransitionrun: TEventHandler read _Getontransitionrun write _Setontransitionrun; property ontransitionstart: TEventHandler read _Getontransitionstart write _Setontransitionstart; property onwebkitanimationend: TEventHandler read _Getonwebkitanimationend write _Setonwebkitanimationend; property onwebkitanimationiteration: TEventHandler read _Getonwebkitanimationiteration write _Setonwebkitanimationiteration; property onwebkitanimationstart: TEventHandler read _Getonwebkitanimationstart write _Setonwebkitanimationstart; property onwebkittransitionend: TEventHandler read _Getonwebkittransitionend write _Setonwebkittransitionend; property dataset: IJSDOMStringMap read _Getdataset; property autofocus: Boolean read _Getautofocus write _Setautofocus; property tabIndex: LongInt read _GettabIndex write _SettabIndex; property style: IJSCSSStyleDeclaration read _Getstyle; property ontouchstart: TEventHandler read _Getontouchstart write _Setontouchstart; property ontouchend: TEventHandler read _Getontouchend write _Setontouchend; property ontouchmove: TEventHandler read _Getontouchmove write _Setontouchmove; property ontouchcancel: TEventHandler read _Getontouchcancel write _Setontouchcancel; property onerror: TEventHandler read _Getonerror write _Setonerror; end; { -------------------------------------------------------------------- TJSText --------------------------------------------------------------------} IJSText = interface(IJSCharacterData) ['{7C963D44-58D2-375D-AC19-3555C19ECEBE}'] function _GetwholeText: UnicodeString; function _GetassignedSlot: IJSHTMLSlotElement; function splitText(aOffset: Cardinal): IJSText; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; function getBoxQuads: TJSDOMQuadDynArray; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; property wholeText: UnicodeString read _GetwholeText; property assignedSlot: IJSHTMLSlotElement read _GetassignedSlot; end; TJSText = class(TJSCharacterData,IJSText) Private Protected function _GetwholeText: UnicodeString; function _GetassignedSlot: IJSHTMLSlotElement; Public constructor Create(const aData: UnicodeString); overload; constructor Create; overload; function splitText(aOffset: Cardinal): IJSText; overload; function getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; overload; function getBoxQuads: TJSDOMQuadDynArray; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; overload; function convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; overload; function convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; overload; function convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSText; property wholeText: UnicodeString read _GetwholeText; property assignedSlot: IJSHTMLSlotElement read _GetassignedSlot; end; { -------------------------------------------------------------------- TJSXRBoundedReferenceSpace --------------------------------------------------------------------} TJSDOMPointReadOnlyDynArray = IJSArray; // array of DOMPointReadOnly IJSXRBoundedReferenceSpace = interface(IJSXRReferenceSpace) ['{627AFEC6-7FB1-37D7-B274-C0B408BB7F2D}'] function _GetboundsGeometry: TJSDOMPointReadOnlyDynArray; property boundsGeometry: TJSDOMPointReadOnlyDynArray read _GetboundsGeometry; end; TJSXRBoundedReferenceSpace = class(TJSXRReferenceSpace,IJSXRBoundedReferenceSpace) Private Protected function _GetboundsGeometry: TJSDOMPointReadOnlyDynArray; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXRBoundedReferenceSpace; property boundsGeometry: TJSDOMPointReadOnlyDynArray read _GetboundsGeometry; end; { -------------------------------------------------------------------- TJSWheelEvent --------------------------------------------------------------------} IJSWheelEvent = interface(IJSMouseEvent) ['{71889328-C9C6-356E-9EB2-F97242C0B6C1}'] function _GetwheelDeltaX: LongInt; function _GetwheelDeltaY: LongInt; function _GetwheelDelta: LongInt; function _GetdeltaX: Double; function _GetdeltaY: Double; function _GetdeltaZ: Double; function _GetdeltaMode: Cardinal; property wheelDeltaX: LongInt read _GetwheelDeltaX; property wheelDeltaY: LongInt read _GetwheelDeltaY; property wheelDelta: LongInt read _GetwheelDelta; property deltaX: Double read _GetdeltaX; property deltaY: Double read _GetdeltaY; property deltaZ: Double read _GetdeltaZ; property deltaMode: Cardinal read _GetdeltaMode; end; TJSWheelEvent = class(TJSMouseEvent,IJSWheelEvent) Private Protected function _GetwheelDeltaX: LongInt; function _GetwheelDeltaY: LongInt; function _GetwheelDelta: LongInt; function _GetdeltaX: Double; function _GetdeltaY: Double; function _GetdeltaZ: Double; function _GetdeltaMode: Cardinal; Public Const DOM_DELTA_PIXEL = $00; DOM_DELTA_LINE = $01; DOM_DELTA_PAGE = $02; Public constructor Create(const aType_: UnicodeString; const aEventInitDict: IJSWheelEventInit); overload; constructor Create(const aType_: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWheelEvent; property wheelDeltaX: LongInt read _GetwheelDeltaX; property wheelDeltaY: LongInt read _GetwheelDeltaY; property wheelDelta: LongInt read _GetwheelDelta; property deltaX: Double read _GetdeltaX; property deltaY: Double read _GetdeltaY; property deltaZ: Double read _GetdeltaZ; property deltaMode: Cardinal read _GetdeltaMode; end; { -------------------------------------------------------------------- TJSXMLDocument --------------------------------------------------------------------} IJSXMLDocument = interface(IJSDocument) ['{EEE0FBA7-2455-375C-A03D-1A2372542131}'] end; TJSXMLDocument = class(TJSDocument,IJSXMLDocument) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSXMLDocument; end; { -------------------------------------------------------------------- TJSCDATASection --------------------------------------------------------------------} IJSCDATASection = interface(IJSText) ['{E6CE04C2-079B-3374-89E0-F0D81AA2A621}'] end; TJSCDATASection = class(TJSText,IJSCDATASection) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCDATASection; end; { -------------------------------------------------------------------- TJSHTMLAnchorElement --------------------------------------------------------------------} IJSHTMLAnchorElement = interface(IJSHTMLElement) ['{ACB6427F-B596-3C35-BE05-51EE80812782}'] function _Gettarget: UnicodeString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _Gettext: UnicodeString; function _Getcoords: UnicodeString; function _Getcharset: UnicodeString; function _Getname: UnicodeString; function _Getrev: UnicodeString; function _Getshape: UnicodeString; function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Settarget(const aValue: UnicodeString); procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _Setcoords(const aValue: UnicodeString); procedure _Setcharset(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setrev(const aValue: UnicodeString); procedure _Setshape(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); property target: UnicodeString read _Gettarget write _Settarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property text: UnicodeString read _Gettext write _Settext; property coords: UnicodeString read _Getcoords write _Setcoords; property charset: UnicodeString read _Getcharset write _Setcharset; property name: UnicodeString read _Getname write _Setname; property rev: UnicodeString read _Getrev write _Setrev; property shape: UnicodeString read _Getshape write _Setshape; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; TJSHTMLAnchorElement = class(TJSHTMLElement,IJSHTMLAnchorElement) Private Protected function _Gettarget: UnicodeString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _Gettext: UnicodeString; function _Getcoords: UnicodeString; function _Getcharset: UnicodeString; function _Getname: UnicodeString; function _Getrev: UnicodeString; function _Getshape: UnicodeString; function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Settarget(const aValue: UnicodeString); procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _Setcoords(const aValue: UnicodeString); procedure _Setcharset(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setrev(const aValue: UnicodeString); procedure _Setshape(const aValue: UnicodeString); procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLAnchorElement; property target: UnicodeString read _Gettarget write _Settarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property text: UnicodeString read _Gettext write _Settext; property coords: UnicodeString read _Getcoords write _Setcoords; property charset: UnicodeString read _Getcharset write _Setcharset; property name: UnicodeString read _Getname write _Setname; property rev: UnicodeString read _Getrev write _Setrev; property shape: UnicodeString read _Getshape write _Setshape; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSHTMLAreaElement --------------------------------------------------------------------} IJSHTMLAreaElement = interface(IJSHTMLElement) ['{ED8A8481-D59E-325B-A2E2-A78AC1BCC16B}'] function _Getalt: UnicodeString; function _Getcoords: UnicodeString; function _Getshape: UnicodeString; function _Gettarget: UnicodeString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _GetnoHref: Boolean; function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Setalt(const aValue: UnicodeString); procedure _Setcoords(const aValue: UnicodeString); procedure _Setshape(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetnoHref(const aValue: Boolean); procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); property alt: UnicodeString read _Getalt write _Setalt; property coords: UnicodeString read _Getcoords write _Setcoords; property shape: UnicodeString read _Getshape write _Setshape; property target: UnicodeString read _Gettarget write _Settarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property noHref: Boolean read _GetnoHref write _SetnoHref; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; TJSHTMLAreaElement = class(TJSHTMLElement,IJSHTMLAreaElement) Private Protected function _Getalt: UnicodeString; function _Getcoords: UnicodeString; function _Getshape: UnicodeString; function _Gettarget: UnicodeString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _GetnoHref: Boolean; function _Gethref: UTF8String; function _Getorigin: UTF8String; function _Getprotocol: UTF8String; function _Getusername: UTF8String; function _Getpassword: UTF8String; function _Gethost: UTF8String; function _Gethostname: UTF8String; function _Getport: UTF8String; function _Getpathname: UTF8String; function _Getsearch: UTF8String; function _Gethash: UTF8String; procedure _Setalt(const aValue: UnicodeString); procedure _Setcoords(const aValue: UnicodeString); procedure _Setshape(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetnoHref(const aValue: Boolean); procedure _Setprotocol(const aValue: UTF8String); procedure _Setusername(const aValue: UTF8String); procedure _Setpassword(const aValue: UTF8String); procedure _Sethost(const aValue: UTF8String); procedure _Sethostname(const aValue: UTF8String); procedure _Setport(const aValue: UTF8String); procedure _Setpathname(const aValue: UTF8String); procedure _Setsearch(const aValue: UTF8String); procedure _Sethash(const aValue: UTF8String); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLAreaElement; property alt: UnicodeString read _Getalt write _Setalt; property coords: UnicodeString read _Getcoords write _Setcoords; property shape: UnicodeString read _Getshape write _Setshape; property target: UnicodeString read _Gettarget write _Settarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property noHref: Boolean read _GetnoHref write _SetnoHref; property href: UTF8String read _Gethref; property origin: UTF8String read _Getorigin; property protocol: UTF8String read _Getprotocol write _Setprotocol; property username: UTF8String read _Getusername write _Setusername; property password: UTF8String read _Getpassword write _Setpassword; property host: UTF8String read _Gethost write _Sethost; property hostname: UTF8String read _Gethostname write _Sethostname; property port: UTF8String read _Getport write _Setport; property pathname: UTF8String read _Getpathname write _Setpathname; property search: UTF8String read _Getsearch write _Setsearch; property hash: UTF8String read _Gethash write _Sethash; end; { -------------------------------------------------------------------- TJSHTMLBaseElement --------------------------------------------------------------------} IJSHTMLBaseElement = interface(IJSHTMLElement) ['{04785389-1140-360D-B367-0EB2CF0C9DAB}'] function _Gethref: UnicodeString; function _Gettarget: UnicodeString; procedure _Sethref(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); property href: UnicodeString read _Gethref write _Sethref; property target: UnicodeString read _Gettarget write _Settarget; end; TJSHTMLBaseElement = class(TJSHTMLElement,IJSHTMLBaseElement) Private Protected function _Gethref: UnicodeString; function _Gettarget: UnicodeString; procedure _Sethref(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLBaseElement; property href: UnicodeString read _Gethref write _Sethref; property target: UnicodeString read _Gettarget write _Settarget; end; { -------------------------------------------------------------------- TJSHTMLBodyElement --------------------------------------------------------------------} IJSHTMLBodyElement = interface(IJSHTMLElement) ['{C3C32F61-38B4-3DCC-899F-799D5A738889}'] function _Gettext: UnicodeString; function _Getlink: UnicodeString; function _GetvLink: UnicodeString; function _GetaLink: UnicodeString; function _GetbgColor: UnicodeString; function _Getbackground: UnicodeString; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Settext(const aValue: UnicodeString); procedure _Setlink(const aValue: UnicodeString); procedure _SetvLink(const aValue: UnicodeString); procedure _SetaLink(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setbackground(const aValue: UnicodeString); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); property text: UnicodeString read _Gettext write _Settext; property link: UnicodeString read _Getlink write _Setlink; property vLink: UnicodeString read _GetvLink write _SetvLink; property aLink: UnicodeString read _GetaLink write _SetaLink; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property background: UnicodeString read _Getbackground write _Setbackground; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; TJSHTMLBodyElement = class(TJSHTMLElement,IJSHTMLBodyElement) Private Protected function _Gettext: UnicodeString; function _Getlink: UnicodeString; function _GetvLink: UnicodeString; function _GetaLink: UnicodeString; function _GetbgColor: UnicodeString; function _Getbackground: UnicodeString; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Settext(const aValue: UnicodeString); procedure _Setlink(const aValue: UnicodeString); procedure _SetvLink(const aValue: UnicodeString); procedure _SetaLink(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setbackground(const aValue: UnicodeString); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLBodyElement; property text: UnicodeString read _Gettext write _Settext; property link: UnicodeString read _Getlink write _Setlink; property vLink: UnicodeString read _GetvLink write _SetvLink; property aLink: UnicodeString read _GetaLink write _SetaLink; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property background: UnicodeString read _Getbackground write _Setbackground; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; { -------------------------------------------------------------------- TJSHTMLBRElement --------------------------------------------------------------------} IJSHTMLBRElement = interface(IJSHTMLElement) ['{B7FB15C3-78B2-3295-8B11-8530E73DE9A8}'] function _Getclear: UnicodeString; procedure _Setclear(const aValue: UnicodeString); property clear: UnicodeString read _Getclear write _Setclear; end; TJSHTMLBRElement = class(TJSHTMLElement,IJSHTMLBRElement) Private Protected function _Getclear: UnicodeString; procedure _Setclear(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLBRElement; property clear: UnicodeString read _Getclear write _Setclear; end; { -------------------------------------------------------------------- TJSHTMLButtonElement --------------------------------------------------------------------} IJSHTMLButtonElement = interface(IJSHTMLElement) ['{CE0264C7-04EC-30C5-B048-4D7EEDAAEE9B}'] function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _GetformAction: UnicodeString; function _GetformEnctype: UnicodeString; function _GetformMethod: UnicodeString; function _GetformNoValidate: Boolean; function _GetformTarget: UnicodeString; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _SetformAction(const aValue: UnicodeString); procedure _SetformEnctype(const aValue: UnicodeString); procedure _SetformMethod(const aValue: UnicodeString); procedure _SetformNoValidate(const aValue: Boolean); procedure _SetformTarget(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property formAction: UnicodeString read _GetformAction write _SetformAction; property formEnctype: UnicodeString read _GetformEnctype write _SetformEnctype; property formMethod: UnicodeString read _GetformMethod write _SetformMethod; property formNoValidate: Boolean read _GetformNoValidate write _SetformNoValidate; property formTarget: UnicodeString read _GetformTarget write _SetformTarget; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_ write _Settype_; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; TJSHTMLButtonElement = class(TJSHTMLElement,IJSHTMLButtonElement) Private Protected function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _GetformAction: UnicodeString; function _GetformEnctype: UnicodeString; function _GetformMethod: UnicodeString; function _GetformNoValidate: Boolean; function _GetformTarget: UnicodeString; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _SetformAction(const aValue: UnicodeString); procedure _SetformEnctype(const aValue: UnicodeString); procedure _SetformMethod(const aValue: UnicodeString); procedure _SetformNoValidate(const aValue: Boolean); procedure _SetformTarget(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); Public constructor Create; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLButtonElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property formAction: UnicodeString read _GetformAction write _SetformAction; property formEnctype: UnicodeString read _GetformEnctype write _SetformEnctype; property formMethod: UnicodeString read _GetformMethod write _SetformMethod; property formNoValidate: Boolean read _GetformNoValidate write _SetformNoValidate; property formTarget: UnicodeString read _GetformTarget write _SetformTarget; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_ write _Settype_; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; { -------------------------------------------------------------------- TJSHTMLCanvasElement --------------------------------------------------------------------} IJSHTMLCanvasElement = interface(IJSHTMLElement) ['{B80BEE54-E309-364F-9221-FF8F17B65E4C}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetmozOpaque: Boolean; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetmozOpaque(const aValue: Boolean); function getContext(const aContextId: UnicodeString; const aContextOptions: Variant): IJSnsISupports; function getContext(const aContextId: UnicodeString): IJSnsISupports; function toDataURL(const aType_: UnicodeString; const aEncoderOptions: Variant): UnicodeString; function toDataURL: UnicodeString; function toDataURL(const aType_: UnicodeString): UnicodeString; procedure toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString; const aEncoderOptions: Variant); procedure toBlob(const aCallback: TBlobCallback); procedure toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString); function captureStream(aFrameRate: Double): IJSCanvasCaptureMediaStream; function captureStream: IJSCanvasCaptureMediaStream; function transferControlToOffscreen: IJSOffscreenCanvas; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property mozOpaque: Boolean read _GetmozOpaque write _SetmozOpaque; end; TJSHTMLCanvasElement = class(TJSHTMLElement,IJSHTMLCanvasElement) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetmozOpaque: Boolean; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _SetmozOpaque(const aValue: Boolean); Public constructor Create; overload; function getContext(const aContextId: UnicodeString; const aContextOptions: Variant): IJSnsISupports; overload; function getContext(const aContextId: UnicodeString): IJSnsISupports; overload; function toDataURL(const aType_: UnicodeString; const aEncoderOptions: Variant): UnicodeString; overload; function toDataURL: UnicodeString; overload; function toDataURL(const aType_: UnicodeString): UnicodeString; overload; procedure toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString; const aEncoderOptions: Variant); overload; procedure toBlob(const aCallback: TBlobCallback); overload; procedure toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString); overload; function captureStream(aFrameRate: Double): IJSCanvasCaptureMediaStream; overload; function captureStream: IJSCanvasCaptureMediaStream; overload; function transferControlToOffscreen: IJSOffscreenCanvas; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLCanvasElement; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property mozOpaque: Boolean read _GetmozOpaque write _SetmozOpaque; end; { -------------------------------------------------------------------- TJSHTMLDataElement --------------------------------------------------------------------} IJSHTMLDataElement = interface(IJSHTMLElement) ['{A7FEB8BC-3591-3731-9096-9E5D8A5DBD75}'] function _Getvalue: UnicodeString; procedure _Setvalue(const aValue: UnicodeString); property value: UnicodeString read _Getvalue write _Setvalue; end; TJSHTMLDataElement = class(TJSHTMLElement,IJSHTMLDataElement) Private Protected function _Getvalue: UnicodeString; procedure _Setvalue(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDataElement; property value: UnicodeString read _Getvalue write _Setvalue; end; { -------------------------------------------------------------------- TJSHTMLDataListElement --------------------------------------------------------------------} IJSHTMLDataListElement = interface(IJSHTMLElement) ['{9C400AF2-E481-31E3-83DE-EA5DB423967C}'] function _Getoptions: IJSHTMLCollection; property options: IJSHTMLCollection read _Getoptions; end; TJSHTMLDataListElement = class(TJSHTMLElement,IJSHTMLDataListElement) Private Protected function _Getoptions: IJSHTMLCollection; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDataListElement; property options: IJSHTMLCollection read _Getoptions; end; { -------------------------------------------------------------------- TJSHTMLDetailsElement --------------------------------------------------------------------} IJSHTMLDetailsElement = interface(IJSHTMLElement) ['{DB143D5A-16AD-3CBD-A199-61963CBB13C0}'] function _Getopen: Boolean; procedure _Setopen(const aValue: Boolean); property open: Boolean read _Getopen write _Setopen; end; TJSHTMLDetailsElement = class(TJSHTMLElement,IJSHTMLDetailsElement) Private Protected function _Getopen: Boolean; procedure _Setopen(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDetailsElement; property open: Boolean read _Getopen write _Setopen; end; { -------------------------------------------------------------------- TJSHTMLDialogElement --------------------------------------------------------------------} IJSHTMLDialogElement = interface(IJSHTMLElement) ['{CF6EB7C1-B34A-3C40-A054-19B880CE1F01}'] function _Getopen: Boolean; function _GetreturnValue: UnicodeString; procedure _Setopen(const aValue: Boolean); procedure _SetreturnValue(const aValue: UnicodeString); procedure show; procedure showModal; procedure close(const aReturnValue: UnicodeString); procedure close; property open: Boolean read _Getopen write _Setopen; property returnValue: UnicodeString read _GetreturnValue write _SetreturnValue; end; TJSHTMLDialogElement = class(TJSHTMLElement,IJSHTMLDialogElement) Private Protected function _Getopen: Boolean; function _GetreturnValue: UnicodeString; procedure _Setopen(const aValue: Boolean); procedure _SetreturnValue(const aValue: UnicodeString); Public constructor Create; overload; procedure show; overload; procedure showModal; overload; procedure close(const aReturnValue: UnicodeString); overload; procedure close; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDialogElement; property open: Boolean read _Getopen write _Setopen; property returnValue: UnicodeString read _GetreturnValue write _SetreturnValue; end; { -------------------------------------------------------------------- TJSHTMLDirectoryElement --------------------------------------------------------------------} IJSHTMLDirectoryElement = interface(IJSHTMLElement) ['{09DE997C-F34D-396C-AB75-169BBA4B2D44}'] function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); property compact: Boolean read _Getcompact write _Setcompact; end; TJSHTMLDirectoryElement = class(TJSHTMLElement,IJSHTMLDirectoryElement) Private Protected function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDirectoryElement; property compact: Boolean read _Getcompact write _Setcompact; end; { -------------------------------------------------------------------- TJSHTMLDivElement --------------------------------------------------------------------} IJSHTMLDivElement = interface(IJSHTMLElement) ['{9FA7005C-58D8-37E1-AB4F-CBD069275FBE}'] function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); property align: UnicodeString read _Getalign write _Setalign; end; TJSHTMLDivElement = class(TJSHTMLElement,IJSHTMLDivElement) Private Protected function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDivElement; property align: UnicodeString read _Getalign write _Setalign; end; { -------------------------------------------------------------------- TJSHTMLDListElement --------------------------------------------------------------------} IJSHTMLDListElement = interface(IJSHTMLElement) ['{8C4C96ED-83CA-372D-B5D7-D3F1F359075E}'] function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); property compact: Boolean read _Getcompact write _Setcompact; end; TJSHTMLDListElement = class(TJSHTMLElement,IJSHTMLDListElement) Private Protected function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLDListElement; property compact: Boolean read _Getcompact write _Setcompact; end; { -------------------------------------------------------------------- TJSHTMLUnknownElement --------------------------------------------------------------------} IJSHTMLUnknownElement = interface(IJSHTMLElement) ['{C8B34EC0-0721-3BD5-8D7D-61963CBB1363}'] end; TJSHTMLUnknownElement = class(TJSHTMLElement,IJSHTMLUnknownElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLUnknownElement; end; { -------------------------------------------------------------------- TJSHTMLEmbedElement --------------------------------------------------------------------} IJSHTMLEmbedElement = interface(IJSHTMLElement) ['{3CE87BFA-DA96-3E30-BC35-73B2E8BDF7A5}'] function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _Getalign: UnicodeString; function _Getname: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); function getSVGDocument: IJSDocument; property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property align: UnicodeString read _Getalign write _Setalign; property name: UnicodeString read _Getname write _Setname; end; TJSHTMLEmbedElement = class(TJSHTMLElement,IJSHTMLEmbedElement) Private Protected function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _Getalign: UnicodeString; function _Getname: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); Public constructor Create; overload; function getSVGDocument: IJSDocument; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLEmbedElement; property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property align: UnicodeString read _Getalign write _Setalign; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSHTMLFieldSetElement --------------------------------------------------------------------} IJSHTMLFieldSetElement = interface(IJSHTMLElement) ['{C0DD1BF1-C237-3F86-AF4B-37B161D94EE4}'] function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _Getelements: IJSHTMLCollection; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_; property elements: IJSHTMLCollection read _Getelements; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; end; TJSHTMLFieldSetElement = class(TJSHTMLElement,IJSHTMLFieldSetElement) Private Protected function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _Getelements: IJSHTMLCollection; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); Public constructor Create; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFieldSetElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_; property elements: IJSHTMLCollection read _Getelements; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; end; { -------------------------------------------------------------------- TJSHTMLFontElement --------------------------------------------------------------------} IJSHTMLFontElement = interface(IJSHTMLElement) ['{762BD722-3FB1-327F-94BE-E005EF1253AA}'] function _Getcolor: UnicodeString; function _Getface: UnicodeString; function _Getsize: UnicodeString; procedure _Setcolor(const aValue: UnicodeString); procedure _Setface(const aValue: UnicodeString); procedure _Setsize(const aValue: UnicodeString); property color: UnicodeString read _Getcolor write _Setcolor; property face: UnicodeString read _Getface write _Setface; property size: UnicodeString read _Getsize write _Setsize; end; TJSHTMLFontElement = class(TJSHTMLElement,IJSHTMLFontElement) Private Protected function _Getcolor: UnicodeString; function _Getface: UnicodeString; function _Getsize: UnicodeString; procedure _Setcolor(const aValue: UnicodeString); procedure _Setface(const aValue: UnicodeString); procedure _Setsize(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFontElement; property color: UnicodeString read _Getcolor write _Setcolor; property face: UnicodeString read _Getface write _Setface; property size: UnicodeString read _Getsize write _Setsize; end; { -------------------------------------------------------------------- TJSHTMLFormElement --------------------------------------------------------------------} IJSHTMLFormElement = interface(IJSHTMLElement) ['{CA72448A-0E51-3627-ABA0-F83067164747}'] function _GetacceptCharset: UnicodeString; function _Getaction: UnicodeString; function _Getautocomplete: UnicodeString; function _Getenctype: UnicodeString; function _Getencoding: UnicodeString; function _Getmethod: UnicodeString; function _Getname: UnicodeString; function _GetnoValidate: Boolean; function _Gettarget: UnicodeString; function _Getrel: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Getelements: IJSHTMLFormControlsCollection; function _Getlength_: LongInt; procedure _SetacceptCharset(const aValue: UnicodeString); procedure _Setaction(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setenctype(const aValue: UnicodeString); procedure _Setencoding(const aValue: UnicodeString); procedure _Setmethod(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetnoValidate(const aValue: Boolean); procedure _Settarget(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); function GetDefault(aIndex: Cardinal): IJSElement; function GetDefault(const aName: UnicodeString): IJSnsISupports; procedure submit; procedure requestSubmit(aSubmitter: IJSHTMLElement); procedure requestSubmit; procedure reset; function checkValidity: Boolean; function reportValidity: Boolean; property acceptCharset: UnicodeString read _GetacceptCharset write _SetacceptCharset; property action: UnicodeString read _Getaction write _Setaction; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property enctype: UnicodeString read _Getenctype write _Setenctype; property encoding: UnicodeString read _Getencoding write _Setencoding; property method: UnicodeString read _Getmethod write _Setmethod; property name: UnicodeString read _Getname write _Setname; property noValidate: Boolean read _GetnoValidate write _SetnoValidate; property target: UnicodeString read _Gettarget write _Settarget; property rel: UnicodeString read _Getrel write _Setrel; property relList: IJSDOMTokenList read _GetrelList; property elements: IJSHTMLFormControlsCollection read _Getelements; property length_: LongInt read _Getlength_; end; TJSHTMLFormElement = class(TJSHTMLElement,IJSHTMLFormElement) Private Protected function _GetacceptCharset: UnicodeString; function _Getaction: UnicodeString; function _Getautocomplete: UnicodeString; function _Getenctype: UnicodeString; function _Getencoding: UnicodeString; function _Getmethod: UnicodeString; function _Getname: UnicodeString; function _GetnoValidate: Boolean; function _Gettarget: UnicodeString; function _Getrel: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Getelements: IJSHTMLFormControlsCollection; function _Getlength_: LongInt; procedure _SetacceptCharset(const aValue: UnicodeString); procedure _Setaction(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setenctype(const aValue: UnicodeString); procedure _Setencoding(const aValue: UnicodeString); procedure _Setmethod(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetnoValidate(const aValue: Boolean); procedure _Settarget(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); Public constructor Create; overload; function GetDefault(aIndex: Cardinal): IJSElement; overload; function GetDefault(const aName: UnicodeString): IJSnsISupports; overload; procedure submit; overload; procedure requestSubmit(aSubmitter: IJSHTMLElement); overload; procedure requestSubmit; overload; procedure reset; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFormElement; property acceptCharset: UnicodeString read _GetacceptCharset write _SetacceptCharset; property action: UnicodeString read _Getaction write _Setaction; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property enctype: UnicodeString read _Getenctype write _Setenctype; property encoding: UnicodeString read _Getencoding write _Setencoding; property method: UnicodeString read _Getmethod write _Setmethod; property name: UnicodeString read _Getname write _Setname; property noValidate: Boolean read _GetnoValidate write _SetnoValidate; property target: UnicodeString read _Gettarget write _Settarget; property rel: UnicodeString read _Getrel write _Setrel; property relList: IJSDOMTokenList read _GetrelList; property elements: IJSHTMLFormControlsCollection read _Getelements; property length_: LongInt read _Getlength_; end; { -------------------------------------------------------------------- TJSHTMLFrameElement --------------------------------------------------------------------} IJSHTMLFrameElement = interface(IJSHTMLElement) ['{FF9B10CF-28C8-3204-9FD1-8C65652741D7}'] function _Getname: UnicodeString; function _Getscrolling: UnicodeString; function _Getsrc: UnicodeString; function _GetframeBorder: UnicodeString; function _GetlongDesc: UnicodeString; function _GetnoResize: Boolean; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _GetmarginHeight: UnicodeString; function _GetmarginWidth: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setscrolling(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _SetframeBorder(const aValue: UnicodeString); procedure _SetlongDesc(const aValue: UnicodeString); procedure _SetnoResize(const aValue: Boolean); procedure _SetmarginHeight(const aValue: UnicodeString); procedure _SetmarginWidth(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property scrolling: UnicodeString read _Getscrolling write _Setscrolling; property src: UnicodeString read _Getsrc write _Setsrc; property frameBorder: UnicodeString read _GetframeBorder write _SetframeBorder; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property noResize: Boolean read _GetnoResize write _SetnoResize; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property marginHeight: UnicodeString read _GetmarginHeight write _SetmarginHeight; property marginWidth: UnicodeString read _GetmarginWidth write _SetmarginWidth; end; TJSHTMLFrameElement = class(TJSHTMLElement,IJSHTMLFrameElement) Private Protected function _Getname: UnicodeString; function _Getscrolling: UnicodeString; function _Getsrc: UnicodeString; function _GetframeBorder: UnicodeString; function _GetlongDesc: UnicodeString; function _GetnoResize: Boolean; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _GetmarginHeight: UnicodeString; function _GetmarginWidth: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setscrolling(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _SetframeBorder(const aValue: UnicodeString); procedure _SetlongDesc(const aValue: UnicodeString); procedure _SetnoResize(const aValue: Boolean); procedure _SetmarginHeight(const aValue: UnicodeString); procedure _SetmarginWidth(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFrameElement; property name: UnicodeString read _Getname write _Setname; property scrolling: UnicodeString read _Getscrolling write _Setscrolling; property src: UnicodeString read _Getsrc write _Setsrc; property frameBorder: UnicodeString read _GetframeBorder write _SetframeBorder; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property noResize: Boolean read _GetnoResize write _SetnoResize; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property marginHeight: UnicodeString read _GetmarginHeight write _SetmarginHeight; property marginWidth: UnicodeString read _GetmarginWidth write _SetmarginWidth; end; { -------------------------------------------------------------------- TJSHTMLFrameSetElement --------------------------------------------------------------------} IJSHTMLFrameSetElement = interface(IJSHTMLElement) ['{F680FDF8-0B73-3AB6-90B8-EB602730338D}'] function _Getcols: UnicodeString; function _Getrows: UnicodeString; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Setcols(const aValue: UnicodeString); procedure _Setrows(const aValue: UnicodeString); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); property cols: UnicodeString read _Getcols write _Setcols; property rows: UnicodeString read _Getrows write _Setrows; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; TJSHTMLFrameSetElement = class(TJSHTMLElement,IJSHTMLFrameSetElement) Private Protected function _Getcols: UnicodeString; function _Getrows: UnicodeString; function _Getonafterprint: TEventHandler; function _Getonbeforeprint: TEventHandler; function _Getonbeforeunload: TOnBeforeUnloadEventHandler; function _Getonhashchange: TEventHandler; function _Getonlanguagechange: TEventHandler; function _Getonmessage: TEventHandler; function _Getonmessageerror: TEventHandler; function _Getonoffline: TEventHandler; function _Getononline: TEventHandler; function _Getonpagehide: TEventHandler; function _Getonpageshow: TEventHandler; function _Getonpopstate: TEventHandler; function _Getonrejectionhandled: TEventHandler; function _Getonstorage: TEventHandler; function _Getonunhandledrejection: TEventHandler; function _Getonunload: TEventHandler; function _Getongamepadconnected: TEventHandler; function _Getongamepaddisconnected: TEventHandler; procedure _Setcols(const aValue: UnicodeString); procedure _Setrows(const aValue: UnicodeString); procedure _Setonafterprint(const aValue: TEventHandler); procedure _Setonbeforeprint(const aValue: TEventHandler); procedure _Setonbeforeunload(const aValue: TOnBeforeUnloadEventHandler); procedure _Setonhashchange(const aValue: TEventHandler); procedure _Setonlanguagechange(const aValue: TEventHandler); procedure _Setonmessage(const aValue: TEventHandler); procedure _Setonmessageerror(const aValue: TEventHandler); procedure _Setonoffline(const aValue: TEventHandler); procedure _Setononline(const aValue: TEventHandler); procedure _Setonpagehide(const aValue: TEventHandler); procedure _Setonpageshow(const aValue: TEventHandler); procedure _Setonpopstate(const aValue: TEventHandler); procedure _Setonrejectionhandled(const aValue: TEventHandler); procedure _Setonstorage(const aValue: TEventHandler); procedure _Setonunhandledrejection(const aValue: TEventHandler); procedure _Setonunload(const aValue: TEventHandler); procedure _Setongamepadconnected(const aValue: TEventHandler); procedure _Setongamepaddisconnected(const aValue: TEventHandler); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLFrameSetElement; property cols: UnicodeString read _Getcols write _Setcols; property rows: UnicodeString read _Getrows write _Setrows; property onafterprint: TEventHandler read _Getonafterprint write _Setonafterprint; property onbeforeprint: TEventHandler read _Getonbeforeprint write _Setonbeforeprint; property onbeforeunload: TOnBeforeUnloadEventHandler read _Getonbeforeunload write _Setonbeforeunload; property onhashchange: TEventHandler read _Getonhashchange write _Setonhashchange; property onlanguagechange: TEventHandler read _Getonlanguagechange write _Setonlanguagechange; property onmessage: TEventHandler read _Getonmessage write _Setonmessage; property onmessageerror: TEventHandler read _Getonmessageerror write _Setonmessageerror; property onoffline: TEventHandler read _Getonoffline write _Setonoffline; property ononline: TEventHandler read _Getononline write _Setononline; property onpagehide: TEventHandler read _Getonpagehide write _Setonpagehide; property onpageshow: TEventHandler read _Getonpageshow write _Setonpageshow; property onpopstate: TEventHandler read _Getonpopstate write _Setonpopstate; property onrejectionhandled: TEventHandler read _Getonrejectionhandled write _Setonrejectionhandled; property onstorage: TEventHandler read _Getonstorage write _Setonstorage; property onunhandledrejection: TEventHandler read _Getonunhandledrejection write _Setonunhandledrejection; property onunload: TEventHandler read _Getonunload write _Setonunload; property ongamepadconnected: TEventHandler read _Getongamepadconnected write _Setongamepadconnected; property ongamepaddisconnected: TEventHandler read _Getongamepaddisconnected write _Setongamepaddisconnected; end; { -------------------------------------------------------------------- TJSHTMLHeadElement --------------------------------------------------------------------} IJSHTMLHeadElement = interface(IJSHTMLElement) ['{AC6CC386-2D95-333F-AD48-9E5D8A5DBD72}'] end; TJSHTMLHeadElement = class(TJSHTMLElement,IJSHTMLHeadElement) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLHeadElement; end; { -------------------------------------------------------------------- TJSHTMLHeadingElement --------------------------------------------------------------------} IJSHTMLHeadingElement = interface(IJSHTMLElement) ['{0E649CA1-9DD0-361B-BB9A-74F23CBB13C1}'] function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); property align: UnicodeString read _Getalign write _Setalign; end; TJSHTMLHeadingElement = class(TJSHTMLElement,IJSHTMLHeadingElement) Private Protected function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLHeadingElement; property align: UnicodeString read _Getalign write _Setalign; end; { -------------------------------------------------------------------- TJSHTMLHRElement --------------------------------------------------------------------} IJSHTMLHRElement = interface(IJSHTMLElement) ['{E6847AE8-41A5-3061-AFED-FDFFDE8A4CBD}'] function _Getalign: UnicodeString; function _Getcolor: UnicodeString; function _GetnoShade: Boolean; function _Getsize: UnicodeString; function _Getwidth: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setcolor(const aValue: UnicodeString); procedure _SetnoShade(const aValue: Boolean); procedure _Setsize(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); property align: UnicodeString read _Getalign write _Setalign; property color: UnicodeString read _Getcolor write _Setcolor; property noShade: Boolean read _GetnoShade write _SetnoShade; property size: UnicodeString read _Getsize write _Setsize; property width: UnicodeString read _Getwidth write _Setwidth; end; TJSHTMLHRElement = class(TJSHTMLElement,IJSHTMLHRElement) Private Protected function _Getalign: UnicodeString; function _Getcolor: UnicodeString; function _GetnoShade: Boolean; function _Getsize: UnicodeString; function _Getwidth: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setcolor(const aValue: UnicodeString); procedure _SetnoShade(const aValue: Boolean); procedure _Setsize(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLHRElement; property align: UnicodeString read _Getalign write _Setalign; property color: UnicodeString read _Getcolor write _Setcolor; property noShade: Boolean read _GetnoShade write _SetnoShade; property size: UnicodeString read _Getsize write _Setsize; property width: UnicodeString read _Getwidth write _Setwidth; end; { -------------------------------------------------------------------- TJSHTMLHtmlElement --------------------------------------------------------------------} IJSHTMLHtmlElement = interface(IJSHTMLElement) ['{A70F76E9-CCD2-3832-A9A1-B1DD8A5DBD75}'] function _Getversion: UnicodeString; procedure _Setversion(const aValue: UnicodeString); property version: UnicodeString read _Getversion write _Setversion; end; TJSHTMLHtmlElement = class(TJSHTMLElement,IJSHTMLHtmlElement) Private Protected function _Getversion: UnicodeString; procedure _Setversion(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLHtmlElement; property version: UnicodeString read _Getversion write _Setversion; end; { -------------------------------------------------------------------- TJSHTMLIFrameElement --------------------------------------------------------------------} IJSHTMLIFrameElement = interface(IJSHTMLElement) ['{794010ED-8164-3773-A1F6-636B181355BD}'] function _Getsrc: UnicodeString; function _Getsrcdoc: UnicodeString; function _Getname: UnicodeString; function _Getsandbox: IJSDOMTokenList; function _GetallowFullscreen: Boolean; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Getloading: UnicodeString; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _Getalign: UnicodeString; function _Getscrolling: UnicodeString; function _GetframeBorder: UnicodeString; function _GetlongDesc: UnicodeString; function _GetmarginHeight: UnicodeString; function _GetmarginWidth: UnicodeString; function _GetfeaturePolicy: IJSFeaturePolicy; function _Getallow: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrcdoc(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetallowFullscreen(const aValue: Boolean); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Setloading(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setscrolling(const aValue: UnicodeString); procedure _SetframeBorder(const aValue: UnicodeString); procedure _SetlongDesc(const aValue: UnicodeString); procedure _SetmarginHeight(const aValue: UnicodeString); procedure _SetmarginWidth(const aValue: UnicodeString); procedure _Setallow(const aValue: UnicodeString); function getSVGDocument: IJSDocument; property src: UnicodeString read _Getsrc write _Setsrc; property srcdoc: UnicodeString read _Getsrcdoc write _Setsrcdoc; property name: UnicodeString read _Getname write _Setname; property sandbox: IJSDOMTokenList read _Getsandbox; property allowFullscreen: Boolean read _GetallowFullscreen write _SetallowFullscreen; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property loading: UnicodeString read _Getloading write _Setloading; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property align: UnicodeString read _Getalign write _Setalign; property scrolling: UnicodeString read _Getscrolling write _Setscrolling; property frameBorder: UnicodeString read _GetframeBorder write _SetframeBorder; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property marginHeight: UnicodeString read _GetmarginHeight write _SetmarginHeight; property marginWidth: UnicodeString read _GetmarginWidth write _SetmarginWidth; property featurePolicy: IJSFeaturePolicy read _GetfeaturePolicy; property allow: UnicodeString read _Getallow write _Setallow; end; TJSHTMLIFrameElement = class(TJSHTMLElement,IJSHTMLIFrameElement) Private Protected function _Getsrc: UnicodeString; function _Getsrcdoc: UnicodeString; function _Getname: UnicodeString; function _Getsandbox: IJSDOMTokenList; function _GetallowFullscreen: Boolean; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Getloading: UnicodeString; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _Getalign: UnicodeString; function _Getscrolling: UnicodeString; function _GetframeBorder: UnicodeString; function _GetlongDesc: UnicodeString; function _GetmarginHeight: UnicodeString; function _GetmarginWidth: UnicodeString; function _GetfeaturePolicy: IJSFeaturePolicy; function _Getallow: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrcdoc(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetallowFullscreen(const aValue: Boolean); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Setloading(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setscrolling(const aValue: UnicodeString); procedure _SetframeBorder(const aValue: UnicodeString); procedure _SetlongDesc(const aValue: UnicodeString); procedure _SetmarginHeight(const aValue: UnicodeString); procedure _SetmarginWidth(const aValue: UnicodeString); procedure _Setallow(const aValue: UnicodeString); Public constructor Create; overload; function getSVGDocument: IJSDocument; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLIFrameElement; property src: UnicodeString read _Getsrc write _Setsrc; property srcdoc: UnicodeString read _Getsrcdoc write _Setsrcdoc; property name: UnicodeString read _Getname write _Setname; property sandbox: IJSDOMTokenList read _Getsandbox; property allowFullscreen: Boolean read _GetallowFullscreen write _SetallowFullscreen; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property loading: UnicodeString read _Getloading write _Setloading; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property align: UnicodeString read _Getalign write _Setalign; property scrolling: UnicodeString read _Getscrolling write _Setscrolling; property frameBorder: UnicodeString read _GetframeBorder write _SetframeBorder; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property marginHeight: UnicodeString read _GetmarginHeight write _SetmarginHeight; property marginWidth: UnicodeString read _GetmarginWidth write _SetmarginWidth; property featurePolicy: IJSFeaturePolicy read _GetfeaturePolicy; property allow: UnicodeString read _Getallow write _Setallow; end; { -------------------------------------------------------------------- TJSHTMLImageElement --------------------------------------------------------------------} IJSHTMLImageElement = interface(IJSHTMLElement) ['{C3D04BC7-A826-3FA6-AB5E-F55DD6840CF2}'] function _Getalt: UnicodeString; function _Getsrc: UnicodeString; function _Getsrcset: UnicodeString; function _GetcrossOrigin: UnicodeString; function _GetuseMap: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetisMap: Boolean; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getdecoding: UnicodeString; function _Getloading: UnicodeString; function _GetfetchPriority: UnicodeString; function _GetnaturalWidth: Cardinal; function _GetnaturalHeight: Cardinal; function _Getcomplete: Boolean; function _Getname: UnicodeString; function _Getalign: UnicodeString; function _Gethspace: Cardinal; function _Getvspace: Cardinal; function _GetlongDesc: UnicodeString; function _Getborder: UnicodeString; function _Getsizes: UnicodeString; function _GetcurrentSrc: UnicodeString; function _Getlowsrc: UnicodeString; function _Getx: LongInt; function _Gety: LongInt; procedure _Setalt(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrcset(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetisMap(const aValue: Boolean); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setdecoding(const aValue: UnicodeString); procedure _Setloading(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Sethspace(const aValue: Cardinal); procedure _Setvspace(const aValue: Cardinal); procedure _SetlongDesc(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Setlowsrc(const aValue: UnicodeString); function decode: IJSPromise; // Promise property alt: UnicodeString read _Getalt write _Setalt; property src: UnicodeString read _Getsrc write _Setsrc; property srcset: UnicodeString read _Getsrcset write _Setsrcset; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property isMap: Boolean read _GetisMap write _SetisMap; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property decoding: UnicodeString read _Getdecoding write _Setdecoding; property loading: UnicodeString read _Getloading write _Setloading; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property naturalWidth: Cardinal read _GetnaturalWidth; property naturalHeight: Cardinal read _GetnaturalHeight; property complete: Boolean read _Getcomplete; property name: UnicodeString read _Getname write _Setname; property align: UnicodeString read _Getalign write _Setalign; property hspace: Cardinal read _Gethspace write _Sethspace; property vspace: Cardinal read _Getvspace write _Setvspace; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property border: UnicodeString read _Getborder write _Setborder; property sizes: UnicodeString read _Getsizes write _Setsizes; property currentSrc: UnicodeString read _GetcurrentSrc; property lowsrc: UnicodeString read _Getlowsrc write _Setlowsrc; property x: LongInt read _Getx; property y: LongInt read _Gety; end; TJSHTMLImageElement = class(TJSHTMLElement,IJSHTMLImageElement) Private Protected function _Getalt: UnicodeString; function _Getsrc: UnicodeString; function _Getsrcset: UnicodeString; function _GetcrossOrigin: UnicodeString; function _GetuseMap: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetisMap: Boolean; function _Getwidth: Cardinal; function _Getheight: Cardinal; function _Getdecoding: UnicodeString; function _Getloading: UnicodeString; function _GetfetchPriority: UnicodeString; function _GetnaturalWidth: Cardinal; function _GetnaturalHeight: Cardinal; function _Getcomplete: Boolean; function _Getname: UnicodeString; function _Getalign: UnicodeString; function _Gethspace: Cardinal; function _Getvspace: Cardinal; function _GetlongDesc: UnicodeString; function _Getborder: UnicodeString; function _Getsizes: UnicodeString; function _GetcurrentSrc: UnicodeString; function _Getlowsrc: UnicodeString; function _Getx: LongInt; function _Gety: LongInt; procedure _Setalt(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrcset(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetisMap(const aValue: Boolean); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setdecoding(const aValue: UnicodeString); procedure _Setloading(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Sethspace(const aValue: Cardinal); procedure _Setvspace(const aValue: Cardinal); procedure _SetlongDesc(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Setlowsrc(const aValue: UnicodeString); Public constructor Create; overload; function decode: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLImageElement; property alt: UnicodeString read _Getalt write _Setalt; property src: UnicodeString read _Getsrc write _Setsrc; property srcset: UnicodeString read _Getsrcset write _Setsrcset; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property isMap: Boolean read _GetisMap write _SetisMap; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property decoding: UnicodeString read _Getdecoding write _Setdecoding; property loading: UnicodeString read _Getloading write _Setloading; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property naturalWidth: Cardinal read _GetnaturalWidth; property naturalHeight: Cardinal read _GetnaturalHeight; property complete: Boolean read _Getcomplete; property name: UnicodeString read _Getname write _Setname; property align: UnicodeString read _Getalign write _Setalign; property hspace: Cardinal read _Gethspace write _Sethspace; property vspace: Cardinal read _Getvspace write _Setvspace; property longDesc: UnicodeString read _GetlongDesc write _SetlongDesc; property border: UnicodeString read _Getborder write _Setborder; property sizes: UnicodeString read _Getsizes write _Setsizes; property currentSrc: UnicodeString read _GetcurrentSrc; property lowsrc: UnicodeString read _Getlowsrc write _Setlowsrc; property x: LongInt read _Getx; property y: LongInt read _Gety; end; { -------------------------------------------------------------------- TJSHTMLInputElement --------------------------------------------------------------------} IJSHTMLInputElement = interface(IJSHTMLElement) ['{86DAED69-5AF5-3F10-BEC0-863D573D9F14}'] function _Getaccept: UnicodeString; function _Getalt: UnicodeString; function _Getautocomplete: UnicodeString; function _Getcapture: UnicodeString; function _GetdefaultChecked: Boolean; function _Getchecked: Boolean; function _GetdirName: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getfiles: IJSFileList; function _GetformAction: UnicodeString; function _GetformEnctype: UnicodeString; function _GetformMethod: UnicodeString; function _GetformNoValidate: Boolean; function _GetformTarget: UnicodeString; function _Getheight: Cardinal; function _Getindeterminate: Boolean; function _Getlist: IJSHTMLDataListElement; function _Getmax: UnicodeString; function _GetmaxLength: LongInt; function _Getmin: UnicodeString; function _GetminLength: LongInt; function _Getmultiple: Boolean; function _Getname: UnicodeString; function _Getpattern: UnicodeString; function _Getplaceholder: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getsize: Cardinal; function _Getsrc: UnicodeString; function _Getstep: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GetvalueAsDate: IJSObject; function _GetvalueAsNumber: Double; function _Getwidth: Cardinal; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetselectionStart: Cardinal; function _GetselectionEnd: Cardinal; function _GetselectionDirection: UnicodeString; function _Getalign: UnicodeString; function _GetuseMap: UnicodeString; function _GettextLength: LongInt; function _GetwebkitEntries: TJSFileSystemEntryDynArray; function _Getwebkitdirectory: Boolean; function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _Setaccept(const aValue: UnicodeString); procedure _Setalt(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setcapture(const aValue: UnicodeString); procedure _SetdefaultChecked(const aValue: Boolean); procedure _Setchecked(const aValue: Boolean); procedure _SetdirName(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setfiles(const aValue: IJSFileList); procedure _SetformAction(const aValue: UnicodeString); procedure _SetformEnctype(const aValue: UnicodeString); procedure _SetformMethod(const aValue: UnicodeString); procedure _SetformNoValidate(const aValue: Boolean); procedure _SetformTarget(const aValue: UnicodeString); procedure _Setheight(const aValue: Cardinal); procedure _Setindeterminate(const aValue: Boolean); procedure _Setmax(const aValue: UnicodeString); procedure _SetmaxLength(const aValue: LongInt); procedure _Setmin(const aValue: UnicodeString); procedure _SetminLength(const aValue: LongInt); procedure _Setmultiple(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); procedure _Setpattern(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setsize(const aValue: Cardinal); procedure _Setsrc(const aValue: UnicodeString); procedure _Setstep(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetvalueAsDate(const aValue: IJSObject); procedure _SetvalueAsNumber(const aValue: Double); procedure _Setwidth(const aValue: Cardinal); procedure _SetselectionStart(const aValue: Cardinal); procedure _SetselectionEnd(const aValue: Cardinal); procedure _SetselectionDirection(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _Setwebkitdirectory(const aValue: Boolean); procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); procedure stepUp(aN: LongInt); procedure stepUp; procedure stepDown(aN: LongInt); procedure stepDown; function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); procedure select; procedure setRangeText(const aReplacement: UnicodeString); procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); procedure showPicker; function mozIsTextField(aAExcludePassword: Boolean): Boolean; procedure openDateTimePicker(const aInitialValue: IJSDateTimeValue); procedure openDateTimePicker; procedure updateDateTimePicker(const aValue: IJSDateTimeValue); procedure updateDateTimePicker; procedure closeDateTimePicker; procedure setFocusState(aAIsFocused: Boolean); procedure updateValidityState; function getStep: Double; function getStepBase: Double; procedure setUserInput(const aInput: UnicodeString); property accept: UnicodeString read _Getaccept write _Setaccept; property alt: UnicodeString read _Getalt write _Setalt; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property capture: UnicodeString read _Getcapture write _Setcapture; property defaultChecked: Boolean read _GetdefaultChecked write _SetdefaultChecked; property checked: Boolean read _Getchecked write _Setchecked; property dirName: UnicodeString read _GetdirName write _SetdirName; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property files: IJSFileList read _Getfiles write _Setfiles; property formAction: UnicodeString read _GetformAction write _SetformAction; property formEnctype: UnicodeString read _GetformEnctype write _SetformEnctype; property formMethod: UnicodeString read _GetformMethod write _SetformMethod; property formNoValidate: Boolean read _GetformNoValidate write _SetformNoValidate; property formTarget: UnicodeString read _GetformTarget write _SetformTarget; property height: Cardinal read _Getheight write _Setheight; property indeterminate: Boolean read _Getindeterminate write _Setindeterminate; property list: IJSHTMLDataListElement read _Getlist; property max: UnicodeString read _Getmax write _Setmax; property maxLength: LongInt read _GetmaxLength write _SetmaxLength; property min: UnicodeString read _Getmin write _Setmin; property minLength: LongInt read _GetminLength write _SetminLength; property multiple: Boolean read _Getmultiple write _Setmultiple; property name: UnicodeString read _Getname write _Setname; property pattern: UnicodeString read _Getpattern write _Setpattern; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property size: Cardinal read _Getsize write _Setsize; property src: UnicodeString read _Getsrc write _Setsrc; property step: UnicodeString read _Getstep write _Setstep; property type_: UnicodeString read _Gettype_ write _Settype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property valueAsDate: IJSObject read _GetvalueAsDate write _SetvalueAsDate; property valueAsNumber: Double read _GetvalueAsNumber write _SetvalueAsNumber; property width: Cardinal read _Getwidth write _Setwidth; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property selectionStart: Cardinal read _GetselectionStart write _SetselectionStart; property selectionEnd: Cardinal read _GetselectionEnd write _SetselectionEnd; property selectionDirection: UnicodeString read _GetselectionDirection write _SetselectionDirection; property align: UnicodeString read _Getalign write _Setalign; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property textLength: LongInt read _GettextLength; property webkitEntries: TJSFileSystemEntryDynArray read _GetwebkitEntries; property webkitdirectory: Boolean read _Getwebkitdirectory write _Setwebkitdirectory; property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; TJSHTMLInputElement = class(TJSHTMLElement,IJSHTMLInputElement) Private Protected function _Getaccept: UnicodeString; function _Getalt: UnicodeString; function _Getautocomplete: UnicodeString; function _Getcapture: UnicodeString; function _GetdefaultChecked: Boolean; function _Getchecked: Boolean; function _GetdirName: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getfiles: IJSFileList; function _GetformAction: UnicodeString; function _GetformEnctype: UnicodeString; function _GetformMethod: UnicodeString; function _GetformNoValidate: Boolean; function _GetformTarget: UnicodeString; function _Getheight: Cardinal; function _Getindeterminate: Boolean; function _Getlist: IJSHTMLDataListElement; function _Getmax: UnicodeString; function _GetmaxLength: LongInt; function _Getmin: UnicodeString; function _GetminLength: LongInt; function _Getmultiple: Boolean; function _Getname: UnicodeString; function _Getpattern: UnicodeString; function _Getplaceholder: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getsize: Cardinal; function _Getsrc: UnicodeString; function _Getstep: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GetvalueAsDate: IJSObject; function _GetvalueAsNumber: Double; function _Getwidth: Cardinal; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetselectionStart: Cardinal; function _GetselectionEnd: Cardinal; function _GetselectionDirection: UnicodeString; function _Getalign: UnicodeString; function _GetuseMap: UnicodeString; function _GettextLength: LongInt; function _GetwebkitEntries: TJSFileSystemEntryDynArray; function _Getwebkitdirectory: Boolean; function _GetpopoverTargetElement: IJSElement; function _GetpopoverTargetAction: UnicodeString; function _GetinvokeTargetElement: IJSElement; function _GetinvokeAction: UnicodeString; procedure _Setaccept(const aValue: UnicodeString); procedure _Setalt(const aValue: UnicodeString); procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setcapture(const aValue: UnicodeString); procedure _SetdefaultChecked(const aValue: Boolean); procedure _Setchecked(const aValue: Boolean); procedure _SetdirName(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setfiles(const aValue: IJSFileList); procedure _SetformAction(const aValue: UnicodeString); procedure _SetformEnctype(const aValue: UnicodeString); procedure _SetformMethod(const aValue: UnicodeString); procedure _SetformNoValidate(const aValue: Boolean); procedure _SetformTarget(const aValue: UnicodeString); procedure _Setheight(const aValue: Cardinal); procedure _Setindeterminate(const aValue: Boolean); procedure _Setmax(const aValue: UnicodeString); procedure _SetmaxLength(const aValue: LongInt); procedure _Setmin(const aValue: UnicodeString); procedure _SetminLength(const aValue: LongInt); procedure _Setmultiple(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); procedure _Setpattern(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setsize(const aValue: Cardinal); procedure _Setsrc(const aValue: UnicodeString); procedure _Setstep(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetvalueAsDate(const aValue: IJSObject); procedure _SetvalueAsNumber(const aValue: Double); procedure _Setwidth(const aValue: Cardinal); procedure _SetselectionStart(const aValue: Cardinal); procedure _SetselectionEnd(const aValue: Cardinal); procedure _SetselectionDirection(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _Setwebkitdirectory(const aValue: Boolean); procedure _SetpopoverTargetElement(const aValue: IJSElement); procedure _SetpopoverTargetAction(const aValue: UnicodeString); procedure _SetinvokeTargetElement(const aValue: IJSElement); procedure _SetinvokeAction(const aValue: UnicodeString); Public constructor Create; overload; procedure stepUp(aN: LongInt); overload; procedure stepUp; overload; procedure stepDown(aN: LongInt); overload; procedure stepDown; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; procedure select; overload; procedure setRangeText(const aReplacement: UnicodeString); overload; procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); overload; procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); overload; procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); overload; procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); overload; procedure showPicker; overload; function mozIsTextField(aAExcludePassword: Boolean): Boolean; overload; procedure openDateTimePicker(const aInitialValue: IJSDateTimeValue); overload; procedure openDateTimePicker; overload; procedure updateDateTimePicker(const aValue: IJSDateTimeValue); overload; procedure updateDateTimePicker; overload; procedure closeDateTimePicker; overload; procedure setFocusState(aAIsFocused: Boolean); overload; procedure updateValidityState; overload; function getStep: Double; overload; function getStepBase: Double; overload; procedure setUserInput(const aInput: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLInputElement; property accept: UnicodeString read _Getaccept write _Setaccept; property alt: UnicodeString read _Getalt write _Setalt; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property capture: UnicodeString read _Getcapture write _Setcapture; property defaultChecked: Boolean read _GetdefaultChecked write _SetdefaultChecked; property checked: Boolean read _Getchecked write _Setchecked; property dirName: UnicodeString read _GetdirName write _SetdirName; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property files: IJSFileList read _Getfiles write _Setfiles; property formAction: UnicodeString read _GetformAction write _SetformAction; property formEnctype: UnicodeString read _GetformEnctype write _SetformEnctype; property formMethod: UnicodeString read _GetformMethod write _SetformMethod; property formNoValidate: Boolean read _GetformNoValidate write _SetformNoValidate; property formTarget: UnicodeString read _GetformTarget write _SetformTarget; property height: Cardinal read _Getheight write _Setheight; property indeterminate: Boolean read _Getindeterminate write _Setindeterminate; property list: IJSHTMLDataListElement read _Getlist; property max: UnicodeString read _Getmax write _Setmax; property maxLength: LongInt read _GetmaxLength write _SetmaxLength; property min: UnicodeString read _Getmin write _Setmin; property minLength: LongInt read _GetminLength write _SetminLength; property multiple: Boolean read _Getmultiple write _Setmultiple; property name: UnicodeString read _Getname write _Setname; property pattern: UnicodeString read _Getpattern write _Setpattern; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property size: Cardinal read _Getsize write _Setsize; property src: UnicodeString read _Getsrc write _Setsrc; property step: UnicodeString read _Getstep write _Setstep; property type_: UnicodeString read _Gettype_ write _Settype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property valueAsDate: IJSObject read _GetvalueAsDate write _SetvalueAsDate; property valueAsNumber: Double read _GetvalueAsNumber write _SetvalueAsNumber; property width: Cardinal read _Getwidth write _Setwidth; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property selectionStart: Cardinal read _GetselectionStart write _SetselectionStart; property selectionEnd: Cardinal read _GetselectionEnd write _SetselectionEnd; property selectionDirection: UnicodeString read _GetselectionDirection write _SetselectionDirection; property align: UnicodeString read _Getalign write _Setalign; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property textLength: LongInt read _GettextLength; property webkitEntries: TJSFileSystemEntryDynArray read _GetwebkitEntries; property webkitdirectory: Boolean read _Getwebkitdirectory write _Setwebkitdirectory; property popoverTargetElement: IJSElement read _GetpopoverTargetElement write _SetpopoverTargetElement; property popoverTargetAction: UnicodeString read _GetpopoverTargetAction write _SetpopoverTargetAction; property invokeTargetElement: IJSElement read _GetinvokeTargetElement write _SetinvokeTargetElement; property invokeAction: UnicodeString read _GetinvokeAction write _SetinvokeAction; end; { -------------------------------------------------------------------- TJSHTMLLabelElement --------------------------------------------------------------------} IJSHTMLLabelElement = interface(IJSHTMLElement) ['{49240B9F-6860-39AF-9920-F2C6E4DC339F}'] function _Getform: IJSHTMLFormElement; function _GethtmlFor: UnicodeString; function _Getcontrol: IJSHTMLElement; procedure _SethtmlFor(const aValue: UnicodeString); property form: IJSHTMLFormElement read _Getform; property htmlFor: UnicodeString read _GethtmlFor write _SethtmlFor; property control: IJSHTMLElement read _Getcontrol; end; TJSHTMLLabelElement = class(TJSHTMLElement,IJSHTMLLabelElement) Private Protected function _Getform: IJSHTMLFormElement; function _GethtmlFor: UnicodeString; function _Getcontrol: IJSHTMLElement; procedure _SethtmlFor(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLLabelElement; property form: IJSHTMLFormElement read _Getform; property htmlFor: UnicodeString read _GethtmlFor write _SethtmlFor; property control: IJSHTMLElement read _Getcontrol; end; { -------------------------------------------------------------------- TJSHTMLLegendElement --------------------------------------------------------------------} IJSHTMLLegendElement = interface(IJSHTMLElement) ['{758BAD55-045A-373F-90FB-7AE01F55B0EC}'] function _Getform: IJSHTMLFormElement; function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); property form: IJSHTMLFormElement read _Getform; property align: UnicodeString read _Getalign write _Setalign; end; TJSHTMLLegendElement = class(TJSHTMLElement,IJSHTMLLegendElement) Private Protected function _Getform: IJSHTMLFormElement; function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLLegendElement; property form: IJSHTMLFormElement read _Getform; property align: UnicodeString read _Getalign write _Setalign; end; { -------------------------------------------------------------------- TJSHTMLLIElement --------------------------------------------------------------------} IJSHTMLLIElement = interface(IJSHTMLElement) ['{2E2A5B5B-0F70-33E9-ABC0-74472D952337}'] function _Getvalue: LongInt; function _Gettype_: UnicodeString; procedure _Setvalue(const aValue: LongInt); procedure _Settype_(const aValue: UnicodeString); property value: LongInt read _Getvalue write _Setvalue; property type_: UnicodeString read _Gettype_ write _Settype_; end; TJSHTMLLIElement = class(TJSHTMLElement,IJSHTMLLIElement) Private Protected function _Getvalue: LongInt; function _Gettype_: UnicodeString; procedure _Setvalue(const aValue: LongInt); procedure _Settype_(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLLIElement; property value: LongInt read _Getvalue write _Setvalue; property type_: UnicodeString read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSHTMLLinkElement --------------------------------------------------------------------} IJSHTMLLinkElement = interface(IJSHTMLElement) ['{8471557F-1379-393F-98D4-5A3645C5F286}'] function _Getdisabled: Boolean; function _Gethref: UnicodeString; function _GetcrossOrigin: UnicodeString; function _Getrel: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Getmedia: UnicodeString; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Getsizes: IJSDOMTokenList; function _GetimageSrcset: UnicodeString; function _GetimageSizes: UnicodeString; function _Getblocking: IJSDOMTokenList; function _GetfetchPriority: UnicodeString; function _Getcharset: UnicodeString; function _Getrev: UnicodeString; function _Gettarget: UnicodeString; function _Getintegrity: UnicodeString; function _Getas_: UnicodeString; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Sethref(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetimageSrcset(const aValue: UnicodeString); procedure _SetimageSizes(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setcharset(const aValue: UnicodeString); procedure _Setrev(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); procedure _Setintegrity(const aValue: UnicodeString); procedure _Setas_(const aValue: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property href: UnicodeString read _Gethref write _Sethref; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property rel: UnicodeString read _Getrel write _Setrel; property relList: IJSDOMTokenList read _GetrelList; property media: UnicodeString read _Getmedia write _Setmedia; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property sizes: IJSDOMTokenList read _Getsizes; property imageSrcset: UnicodeString read _GetimageSrcset write _SetimageSrcset; property imageSizes: UnicodeString read _GetimageSizes write _SetimageSizes; property blocking: IJSDOMTokenList read _Getblocking; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property charset: UnicodeString read _Getcharset write _Setcharset; property rev: UnicodeString read _Getrev write _Setrev; property target: UnicodeString read _Gettarget write _Settarget; property integrity: UnicodeString read _Getintegrity write _Setintegrity; property as_: UnicodeString read _Getas_ write _Setas_; property sheet: IJSStyleSheet read _Getsheet; end; TJSHTMLLinkElement = class(TJSHTMLElement,IJSHTMLLinkElement) Private Protected function _Getdisabled: Boolean; function _Gethref: UnicodeString; function _GetcrossOrigin: UnicodeString; function _Getrel: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Getmedia: UnicodeString; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Getsizes: IJSDOMTokenList; function _GetimageSrcset: UnicodeString; function _GetimageSizes: UnicodeString; function _Getblocking: IJSDOMTokenList; function _GetfetchPriority: UnicodeString; function _Getcharset: UnicodeString; function _Getrev: UnicodeString; function _Gettarget: UnicodeString; function _Getintegrity: UnicodeString; function _Getas_: UnicodeString; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Sethref(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _SetimageSrcset(const aValue: UnicodeString); procedure _SetimageSizes(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setcharset(const aValue: UnicodeString); procedure _Setrev(const aValue: UnicodeString); procedure _Settarget(const aValue: UnicodeString); procedure _Setintegrity(const aValue: UnicodeString); procedure _Setas_(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLLinkElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property href: UnicodeString read _Gethref write _Sethref; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property rel: UnicodeString read _Getrel write _Setrel; property relList: IJSDOMTokenList read _GetrelList; property media: UnicodeString read _Getmedia write _Setmedia; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property sizes: IJSDOMTokenList read _Getsizes; property imageSrcset: UnicodeString read _GetimageSrcset write _SetimageSrcset; property imageSizes: UnicodeString read _GetimageSizes write _SetimageSizes; property blocking: IJSDOMTokenList read _Getblocking; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property charset: UnicodeString read _Getcharset write _Setcharset; property rev: UnicodeString read _Getrev write _Setrev; property target: UnicodeString read _Gettarget write _Settarget; property integrity: UnicodeString read _Getintegrity write _Setintegrity; property as_: UnicodeString read _Getas_ write _Setas_; property sheet: IJSStyleSheet read _Getsheet; end; { -------------------------------------------------------------------- TJSHTMLMapElement --------------------------------------------------------------------} IJSHTMLMapElement = interface(IJSHTMLElement) ['{4D612934-2F23-36E7-892E-C2626E0831AC}'] function _Getname: UnicodeString; function _Getareas: IJSHTMLCollection; procedure _Setname(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property areas: IJSHTMLCollection read _Getareas; end; TJSHTMLMapElement = class(TJSHTMLElement,IJSHTMLMapElement) Private Protected function _Getname: UnicodeString; function _Getareas: IJSHTMLCollection; procedure _Setname(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMapElement; property name: UnicodeString read _Getname write _Setname; property areas: IJSHTMLCollection read _Getareas; end; { -------------------------------------------------------------------- TJSHTMLMarqueeElement --------------------------------------------------------------------} IJSHTMLMarqueeElement = interface(IJSHTMLElement) ['{BEC10B0E-EFE6-3964-93F2-41B5ECF9C1E2}'] function _Getbehavior: UnicodeString; function _GetbgColor: UnicodeString; function _Getdirection: UnicodeString; function _Getheight: UnicodeString; function _Gethspace: Cardinal; function _Getloop: LongInt; function _GetscrollAmount: Cardinal; function _GetscrollDelay: Cardinal; function _GettrueSpeed: Boolean; function _Getvspace: Cardinal; function _Getwidth: UnicodeString; procedure _Setbehavior(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setdirection(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Sethspace(const aValue: Cardinal); procedure _Setloop(const aValue: LongInt); procedure _SetscrollAmount(const aValue: Cardinal); procedure _SetscrollDelay(const aValue: Cardinal); procedure _SettrueSpeed(const aValue: Boolean); procedure _Setvspace(const aValue: Cardinal); procedure _Setwidth(const aValue: UnicodeString); procedure start; procedure stop; property behavior: UnicodeString read _Getbehavior write _Setbehavior; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property direction: UnicodeString read _Getdirection write _Setdirection; property height: UnicodeString read _Getheight write _Setheight; property hspace: Cardinal read _Gethspace write _Sethspace; property loop: LongInt read _Getloop write _Setloop; property scrollAmount: Cardinal read _GetscrollAmount write _SetscrollAmount; property scrollDelay: Cardinal read _GetscrollDelay write _SetscrollDelay; property trueSpeed: Boolean read _GettrueSpeed write _SettrueSpeed; property vspace: Cardinal read _Getvspace write _Setvspace; property width: UnicodeString read _Getwidth write _Setwidth; end; TJSHTMLMarqueeElement = class(TJSHTMLElement,IJSHTMLMarqueeElement) Private Protected function _Getbehavior: UnicodeString; function _GetbgColor: UnicodeString; function _Getdirection: UnicodeString; function _Getheight: UnicodeString; function _Gethspace: Cardinal; function _Getloop: LongInt; function _GetscrollAmount: Cardinal; function _GetscrollDelay: Cardinal; function _GettrueSpeed: Boolean; function _Getvspace: Cardinal; function _Getwidth: UnicodeString; procedure _Setbehavior(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _Setdirection(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Sethspace(const aValue: Cardinal); procedure _Setloop(const aValue: LongInt); procedure _SetscrollAmount(const aValue: Cardinal); procedure _SetscrollDelay(const aValue: Cardinal); procedure _SettrueSpeed(const aValue: Boolean); procedure _Setvspace(const aValue: Cardinal); procedure _Setwidth(const aValue: UnicodeString); Public constructor Create; overload; procedure start; overload; procedure stop; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMarqueeElement; property behavior: UnicodeString read _Getbehavior write _Setbehavior; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property direction: UnicodeString read _Getdirection write _Setdirection; property height: UnicodeString read _Getheight write _Setheight; property hspace: Cardinal read _Gethspace write _Sethspace; property loop: LongInt read _Getloop write _Setloop; property scrollAmount: Cardinal read _GetscrollAmount write _SetscrollAmount; property scrollDelay: Cardinal read _GetscrollDelay write _SetscrollDelay; property trueSpeed: Boolean read _GettrueSpeed write _SettrueSpeed; property vspace: Cardinal read _Getvspace write _Setvspace; property width: UnicodeString read _Getwidth write _Setwidth; end; { -------------------------------------------------------------------- TJSHTMLMediaElement --------------------------------------------------------------------} IJSHTMLMediaElement = interface(IJSHTMLElement) ['{3E069718-1467-3BE7-B488-60605EBEB9DB}'] function _Geterror: IJSMediaError; function _Getsrc: UnicodeString; function _GetcurrentSrc: UnicodeString; function _GetcrossOrigin: UnicodeString; function _GetnetworkState: Word; function _Getpreload: UnicodeString; function _Getbuffered: IJSTimeRanges; function _GetreadyState: Word; function _Getseeking: Boolean; function _GetcurrentTime: Double; function _Getduration: Double; function _Getpaused: Boolean; function _GetdefaultPlaybackRate: Double; function _GetplaybackRate: Double; function _Getplayed: IJSTimeRanges; function _Getseekable: IJSTimeRanges; function _Getended: Boolean; function _Getautoplay: Boolean; function _Getloop: Boolean; function _Getcontrols: Boolean; function _Getvolume: Double; function _Getmuted: Boolean; function _GetdefaultMuted: Boolean; function _GetaudioTracks: IJSAudioTrackList; function _GetvideoTracks: IJSVideoTrackList; function _GettextTracks: IJSTextTrackList; function _GetmozMediaSourceObject: IJSMediaSource; function _GetsrcObject: IJSMediaStream; function _GetpreservesPitch: Boolean; function _GetmozAllowCasting: Boolean; function _GetmozIsCasting: Boolean; function _GetmozAudioCaptured: Boolean; function _GetmozFragmentEnd: Double; function _GetmediaKeys: IJSMediaKeys; function _Getonencrypted: TEventHandler; function _Getonwaitingforkey: TEventHandler; function _GetcomputedVolume: Double; function _GetcomputedMuted: Boolean; function _GetsinkId: UnicodeString; function _GetallowedToPlay: Boolean; procedure _Setsrc(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setpreload(const aValue: UnicodeString); procedure _SetcurrentTime(const aValue: Double); procedure _SetdefaultPlaybackRate(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setautoplay(const aValue: Boolean); procedure _Setloop(const aValue: Boolean); procedure _Setcontrols(const aValue: Boolean); procedure _Setvolume(const aValue: Double); procedure _Setmuted(const aValue: Boolean); procedure _SetdefaultMuted(const aValue: Boolean); procedure _SetsrcObject(const aValue: IJSMediaStream); procedure _SetpreservesPitch(const aValue: Boolean); procedure _SetmozAllowCasting(const aValue: Boolean); procedure _SetmozIsCasting(const aValue: Boolean); procedure _Setonencrypted(const aValue: TEventHandler); procedure _Setonwaitingforkey(const aValue: TEventHandler); procedure load; function canPlayType(const aType_: UnicodeString): UnicodeString; procedure fastSeek(aTime: Double); function play: IJSPromise; // Promise procedure pause; function addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString; const aLanguage: UnicodeString): IJSTextTrack; function addTextTrack(aKind: TTextTrackKind): IJSTextTrack; function addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString): IJSTextTrack; function mozRequestDebugInfo: IJSPromise; // Promise function mozRequestDebugLog: IJSPromise; // Promise function mozCaptureStream: IJSMediaStream; function mozCaptureStreamUntilEnded: IJSMediaStream; function mozGetMetadata: IJSObject; function setMediaKeys(aMediaKeys: IJSMediaKeys): IJSPromise; // Promise function seekToNextFrame: IJSPromise; // Promise procedure setVisible(aAVisible: Boolean); function hasSuspendTaint: Boolean; function setSinkId(const aSinkId: UnicodeString): IJSPromise; // Promise property error: IJSMediaError read _Geterror; property src: UnicodeString read _Getsrc write _Setsrc; property currentSrc: UnicodeString read _GetcurrentSrc; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property networkState: Word read _GetnetworkState; property preload: UnicodeString read _Getpreload write _Setpreload; property buffered: IJSTimeRanges read _Getbuffered; property readyState: Word read _GetreadyState; property seeking: Boolean read _Getseeking; property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property duration: Double read _Getduration; property paused: Boolean read _Getpaused; property defaultPlaybackRate: Double read _GetdefaultPlaybackRate write _SetdefaultPlaybackRate; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property played: IJSTimeRanges read _Getplayed; property seekable: IJSTimeRanges read _Getseekable; property ended: Boolean read _Getended; property autoplay: Boolean read _Getautoplay write _Setautoplay; property loop: Boolean read _Getloop write _Setloop; property controls: Boolean read _Getcontrols write _Setcontrols; property volume: Double read _Getvolume write _Setvolume; property muted: Boolean read _Getmuted write _Setmuted; property defaultMuted: Boolean read _GetdefaultMuted write _SetdefaultMuted; property audioTracks: IJSAudioTrackList read _GetaudioTracks; property videoTracks: IJSVideoTrackList read _GetvideoTracks; property textTracks: IJSTextTrackList read _GettextTracks; property mozMediaSourceObject: IJSMediaSource read _GetmozMediaSourceObject; property srcObject: IJSMediaStream read _GetsrcObject write _SetsrcObject; property preservesPitch: Boolean read _GetpreservesPitch write _SetpreservesPitch; property mozAllowCasting: Boolean read _GetmozAllowCasting write _SetmozAllowCasting; property mozIsCasting: Boolean read _GetmozIsCasting write _SetmozIsCasting; property mozAudioCaptured: Boolean read _GetmozAudioCaptured; property mozFragmentEnd: Double read _GetmozFragmentEnd; property mediaKeys: IJSMediaKeys read _GetmediaKeys; property onencrypted: TEventHandler read _Getonencrypted write _Setonencrypted; property onwaitingforkey: TEventHandler read _Getonwaitingforkey write _Setonwaitingforkey; property computedVolume: Double read _GetcomputedVolume; property computedMuted: Boolean read _GetcomputedMuted; property sinkId: UnicodeString read _GetsinkId; property allowedToPlay: Boolean read _GetallowedToPlay; end; TJSHTMLMediaElement = class(TJSHTMLElement,IJSHTMLMediaElement) Private Protected function _Geterror: IJSMediaError; function _Getsrc: UnicodeString; function _GetcurrentSrc: UnicodeString; function _GetcrossOrigin: UnicodeString; function _GetnetworkState: Word; function _Getpreload: UnicodeString; function _Getbuffered: IJSTimeRanges; function _GetreadyState: Word; function _Getseeking: Boolean; function _GetcurrentTime: Double; function _Getduration: Double; function _Getpaused: Boolean; function _GetdefaultPlaybackRate: Double; function _GetplaybackRate: Double; function _Getplayed: IJSTimeRanges; function _Getseekable: IJSTimeRanges; function _Getended: Boolean; function _Getautoplay: Boolean; function _Getloop: Boolean; function _Getcontrols: Boolean; function _Getvolume: Double; function _Getmuted: Boolean; function _GetdefaultMuted: Boolean; function _GetaudioTracks: IJSAudioTrackList; function _GetvideoTracks: IJSVideoTrackList; function _GettextTracks: IJSTextTrackList; function _GetmozMediaSourceObject: IJSMediaSource; function _GetsrcObject: IJSMediaStream; function _GetpreservesPitch: Boolean; function _GetmozAllowCasting: Boolean; function _GetmozIsCasting: Boolean; function _GetmozAudioCaptured: Boolean; function _GetmozFragmentEnd: Double; function _GetmediaKeys: IJSMediaKeys; function _Getonencrypted: TEventHandler; function _Getonwaitingforkey: TEventHandler; function _GetcomputedVolume: Double; function _GetcomputedMuted: Boolean; function _GetsinkId: UnicodeString; function _GetallowedToPlay: Boolean; procedure _Setsrc(const aValue: UnicodeString); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setpreload(const aValue: UnicodeString); procedure _SetcurrentTime(const aValue: Double); procedure _SetdefaultPlaybackRate(const aValue: Double); procedure _SetplaybackRate(const aValue: Double); procedure _Setautoplay(const aValue: Boolean); procedure _Setloop(const aValue: Boolean); procedure _Setcontrols(const aValue: Boolean); procedure _Setvolume(const aValue: Double); procedure _Setmuted(const aValue: Boolean); procedure _SetdefaultMuted(const aValue: Boolean); procedure _SetsrcObject(const aValue: IJSMediaStream); procedure _SetpreservesPitch(const aValue: Boolean); procedure _SetmozAllowCasting(const aValue: Boolean); procedure _SetmozIsCasting(const aValue: Boolean); procedure _Setonencrypted(const aValue: TEventHandler); procedure _Setonwaitingforkey(const aValue: TEventHandler); Public Const NETWORK_EMPTY = 0; NETWORK_IDLE = 1; NETWORK_LOADING = 2; NETWORK_NO_SOURCE = 3; HAVE_NOTHING = 0; HAVE_METADATA = 1; HAVE_CURRENT_DATA = 2; HAVE_FUTURE_DATA = 3; HAVE_ENOUGH_DATA = 4; Public procedure load; overload; function canPlayType(const aType_: UnicodeString): UnicodeString; overload; procedure fastSeek(aTime: Double); overload; function play: IJSPromise; overload; // Promise procedure pause; overload; function addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString; const aLanguage: UnicodeString): IJSTextTrack; overload; function addTextTrack(aKind: TTextTrackKind): IJSTextTrack; overload; function addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString): IJSTextTrack; overload; function mozRequestDebugInfo: IJSPromise; overload; // Promise procedure mozEnableDebugLog; overload; function mozRequestDebugLog: IJSPromise; overload; // Promise function mozCaptureStream: IJSMediaStream; overload; function mozCaptureStreamUntilEnded: IJSMediaStream; overload; function mozGetMetadata: IJSObject; overload; function setMediaKeys(aMediaKeys: IJSMediaKeys): IJSPromise; overload; // Promise function seekToNextFrame: IJSPromise; overload; // Promise procedure setVisible(aAVisible: Boolean); overload; function hasSuspendTaint: Boolean; overload; function setSinkId(const aSinkId: UnicodeString): IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMediaElement; property error: IJSMediaError read _Geterror; property src: UnicodeString read _Getsrc write _Setsrc; property currentSrc: UnicodeString read _GetcurrentSrc; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property networkState: Word read _GetnetworkState; property preload: UnicodeString read _Getpreload write _Setpreload; property buffered: IJSTimeRanges read _Getbuffered; property readyState: Word read _GetreadyState; property seeking: Boolean read _Getseeking; property currentTime: Double read _GetcurrentTime write _SetcurrentTime; property duration: Double read _Getduration; property paused: Boolean read _Getpaused; property defaultPlaybackRate: Double read _GetdefaultPlaybackRate write _SetdefaultPlaybackRate; property playbackRate: Double read _GetplaybackRate write _SetplaybackRate; property played: IJSTimeRanges read _Getplayed; property seekable: IJSTimeRanges read _Getseekable; property ended: Boolean read _Getended; property autoplay: Boolean read _Getautoplay write _Setautoplay; property loop: Boolean read _Getloop write _Setloop; property controls: Boolean read _Getcontrols write _Setcontrols; property volume: Double read _Getvolume write _Setvolume; property muted: Boolean read _Getmuted write _Setmuted; property defaultMuted: Boolean read _GetdefaultMuted write _SetdefaultMuted; property audioTracks: IJSAudioTrackList read _GetaudioTracks; property videoTracks: IJSVideoTrackList read _GetvideoTracks; property textTracks: IJSTextTrackList read _GettextTracks; property mozMediaSourceObject: IJSMediaSource read _GetmozMediaSourceObject; property srcObject: IJSMediaStream read _GetsrcObject write _SetsrcObject; property preservesPitch: Boolean read _GetpreservesPitch write _SetpreservesPitch; property mozAllowCasting: Boolean read _GetmozAllowCasting write _SetmozAllowCasting; property mozIsCasting: Boolean read _GetmozIsCasting write _SetmozIsCasting; property mozAudioCaptured: Boolean read _GetmozAudioCaptured; property mozFragmentEnd: Double read _GetmozFragmentEnd; property mediaKeys: IJSMediaKeys read _GetmediaKeys; property onencrypted: TEventHandler read _Getonencrypted write _Setonencrypted; property onwaitingforkey: TEventHandler read _Getonwaitingforkey write _Setonwaitingforkey; property computedVolume: Double read _GetcomputedVolume; property computedMuted: Boolean read _GetcomputedMuted; property sinkId: UnicodeString read _GetsinkId; property allowedToPlay: Boolean read _GetallowedToPlay; end; { -------------------------------------------------------------------- TJSHTMLMenuElement --------------------------------------------------------------------} IJSHTMLMenuElement = interface(IJSHTMLElement) ['{DC877DB1-D78B-362B-B676-9E5D8A5D68E5}'] function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); property compact: Boolean read _Getcompact write _Setcompact; end; TJSHTMLMenuElement = class(TJSHTMLElement,IJSHTMLMenuElement) Private Protected function _Getcompact: Boolean; procedure _Setcompact(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMenuElement; property compact: Boolean read _Getcompact write _Setcompact; end; { -------------------------------------------------------------------- TJSHTMLMetaElement --------------------------------------------------------------------} IJSHTMLMetaElement = interface(IJSHTMLElement) ['{B8875C4F-F04E-312B-BB25-7496E32BEDC1}'] function _Getname: UnicodeString; function _GethttpEquiv: UnicodeString; function _Getcontent: UnicodeString; function _Getmedia: UnicodeString; function _Getscheme: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SethttpEquiv(const aValue: UnicodeString); procedure _Setcontent(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Setscheme(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property httpEquiv: UnicodeString read _GethttpEquiv write _SethttpEquiv; property content: UnicodeString read _Getcontent write _Setcontent; property media: UnicodeString read _Getmedia write _Setmedia; property scheme: UnicodeString read _Getscheme write _Setscheme; end; TJSHTMLMetaElement = class(TJSHTMLElement,IJSHTMLMetaElement) Private Protected function _Getname: UnicodeString; function _GethttpEquiv: UnicodeString; function _Getcontent: UnicodeString; function _Getmedia: UnicodeString; function _Getscheme: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _SethttpEquiv(const aValue: UnicodeString); procedure _Setcontent(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Setscheme(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMetaElement; property name: UnicodeString read _Getname write _Setname; property httpEquiv: UnicodeString read _GethttpEquiv write _SethttpEquiv; property content: UnicodeString read _Getcontent write _Setcontent; property media: UnicodeString read _Getmedia write _Setmedia; property scheme: UnicodeString read _Getscheme write _Setscheme; end; { -------------------------------------------------------------------- TJSHTMLMeterElement --------------------------------------------------------------------} IJSHTMLMeterElement = interface(IJSHTMLElement) ['{08E5A0B7-E44D-3159-B2F4-0A32A19C4F0C}'] function _Getvalue: Double; function _Getmin: Double; function _Getmax: Double; function _Getlow: Double; function _Gethigh: Double; function _Getoptimum: Double; function _Getlabels: IJSNodeList; procedure _Setvalue(const aValue: Double); procedure _Setmin(const aValue: Double); procedure _Setmax(const aValue: Double); procedure _Setlow(const aValue: Double); procedure _Sethigh(const aValue: Double); procedure _Setoptimum(const aValue: Double); property value: Double read _Getvalue write _Setvalue; property min: Double read _Getmin write _Setmin; property max: Double read _Getmax write _Setmax; property low: Double read _Getlow write _Setlow; property high: Double read _Gethigh write _Sethigh; property optimum: Double read _Getoptimum write _Setoptimum; property labels: IJSNodeList read _Getlabels; end; TJSHTMLMeterElement = class(TJSHTMLElement,IJSHTMLMeterElement) Private Protected function _Getvalue: Double; function _Getmin: Double; function _Getmax: Double; function _Getlow: Double; function _Gethigh: Double; function _Getoptimum: Double; function _Getlabels: IJSNodeList; procedure _Setvalue(const aValue: Double); procedure _Setmin(const aValue: Double); procedure _Setmax(const aValue: Double); procedure _Setlow(const aValue: Double); procedure _Sethigh(const aValue: Double); procedure _Setoptimum(const aValue: Double); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLMeterElement; property value: Double read _Getvalue write _Setvalue; property min: Double read _Getmin write _Setmin; property max: Double read _Getmax write _Setmax; property low: Double read _Getlow write _Setlow; property high: Double read _Gethigh write _Sethigh; property optimum: Double read _Getoptimum write _Setoptimum; property labels: IJSNodeList read _Getlabels; end; { -------------------------------------------------------------------- TJSHTMLModElement --------------------------------------------------------------------} IJSHTMLModElement = interface(IJSHTMLElement) ['{16FA39B5-4052-32F4-9E7E-92EBEDB437F0}'] function _Getcite: UnicodeString; function _GetdateTime: UnicodeString; procedure _Setcite(const aValue: UnicodeString); procedure _SetdateTime(const aValue: UnicodeString); property cite: UnicodeString read _Getcite write _Setcite; property dateTime: UnicodeString read _GetdateTime write _SetdateTime; end; TJSHTMLModElement = class(TJSHTMLElement,IJSHTMLModElement) Private Protected function _Getcite: UnicodeString; function _GetdateTime: UnicodeString; procedure _Setcite(const aValue: UnicodeString); procedure _SetdateTime(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLModElement; property cite: UnicodeString read _Getcite write _Setcite; property dateTime: UnicodeString read _GetdateTime write _SetdateTime; end; { -------------------------------------------------------------------- TJSHTMLObjectElement --------------------------------------------------------------------} IJSHTMLObjectElement = interface(IJSHTMLElement) ['{248CCAFD-8785-3F53-A4CC-0B6E4C1FF43D}'] function _Getdata: UnicodeString; function _Gettype_: UnicodeString; function _Getname: UnicodeString; function _GetuseMap: UnicodeString; function _Getform: IJSHTMLFormElement; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getalign: UnicodeString; function _Getarchive: UnicodeString; function _Getcode: UnicodeString; function _Getdeclare: Boolean; function _Gethspace: Cardinal; function _Getstandby: UnicodeString; function _Getvspace: Cardinal; function _GetcodeBase: UnicodeString; function _GetcodeType: UnicodeString; function _Getborder: UnicodeString; procedure _Setdata(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setarchive(const aValue: UnicodeString); procedure _Setcode(const aValue: UnicodeString); procedure _Setdeclare(const aValue: Boolean); procedure _Sethspace(const aValue: Cardinal); procedure _Setstandby(const aValue: UnicodeString); procedure _Setvspace(const aValue: Cardinal); procedure _SetcodeBase(const aValue: UnicodeString); procedure _SetcodeType(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); function getSVGDocument: IJSDocument; property data: UnicodeString read _Getdata write _Setdata; property type_: UnicodeString read _Gettype_ write _Settype_; property name: UnicodeString read _Getname write _Setname; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property form: IJSHTMLFormElement read _Getform; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property align: UnicodeString read _Getalign write _Setalign; property archive: UnicodeString read _Getarchive write _Setarchive; property code: UnicodeString read _Getcode write _Setcode; property declare: Boolean read _Getdeclare write _Setdeclare; property hspace: Cardinal read _Gethspace write _Sethspace; property standby: UnicodeString read _Getstandby write _Setstandby; property vspace: Cardinal read _Getvspace write _Setvspace; property codeBase: UnicodeString read _GetcodeBase write _SetcodeBase; property codeType: UnicodeString read _GetcodeType write _SetcodeType; property border: UnicodeString read _Getborder write _Setborder; end; TJSHTMLObjectElement = class(TJSHTMLElement,IJSHTMLObjectElement) Private Protected function _Getdata: UnicodeString; function _Gettype_: UnicodeString; function _Getname: UnicodeString; function _GetuseMap: UnicodeString; function _Getform: IJSHTMLFormElement; function _Getwidth: UnicodeString; function _Getheight: UnicodeString; function _GetcontentDocument: IJSDocument; function _GetcontentWindow: IJSWindowProxy; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getalign: UnicodeString; function _Getarchive: UnicodeString; function _Getcode: UnicodeString; function _Getdeclare: Boolean; function _Gethspace: Cardinal; function _Getstandby: UnicodeString; function _Getvspace: Cardinal; function _GetcodeBase: UnicodeString; function _GetcodeType: UnicodeString; function _Getborder: UnicodeString; procedure _Setdata(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setname(const aValue: UnicodeString); procedure _SetuseMap(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setarchive(const aValue: UnicodeString); procedure _Setcode(const aValue: UnicodeString); procedure _Setdeclare(const aValue: Boolean); procedure _Sethspace(const aValue: Cardinal); procedure _Setstandby(const aValue: UnicodeString); procedure _Setvspace(const aValue: Cardinal); procedure _SetcodeBase(const aValue: UnicodeString); procedure _SetcodeType(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); Public constructor Create; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; function getSVGDocument: IJSDocument; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLObjectElement; property data: UnicodeString read _Getdata write _Setdata; property type_: UnicodeString read _Gettype_ write _Settype_; property name: UnicodeString read _Getname write _Setname; property useMap: UnicodeString read _GetuseMap write _SetuseMap; property form: IJSHTMLFormElement read _Getform; property width: UnicodeString read _Getwidth write _Setwidth; property height: UnicodeString read _Getheight write _Setheight; property contentDocument: IJSDocument read _GetcontentDocument; property contentWindow: IJSWindowProxy read _GetcontentWindow; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property align: UnicodeString read _Getalign write _Setalign; property archive: UnicodeString read _Getarchive write _Setarchive; property code: UnicodeString read _Getcode write _Setcode; property declare: Boolean read _Getdeclare write _Setdeclare; property hspace: Cardinal read _Gethspace write _Sethspace; property standby: UnicodeString read _Getstandby write _Setstandby; property vspace: Cardinal read _Getvspace write _Setvspace; property codeBase: UnicodeString read _GetcodeBase write _SetcodeBase; property codeType: UnicodeString read _GetcodeType write _SetcodeType; property border: UnicodeString read _Getborder write _Setborder; end; { -------------------------------------------------------------------- TJSHTMLOListElement --------------------------------------------------------------------} IJSHTMLOListElement = interface(IJSHTMLElement) ['{4F77D812-1A68-3B51-A1AD-B3ED8696A651}'] function _Getreversed: Boolean; function _Getstart: LongInt; function _Gettype_: UnicodeString; function _Getcompact: Boolean; procedure _Setreversed(const aValue: Boolean); procedure _Setstart(const aValue: LongInt); procedure _Settype_(const aValue: UnicodeString); procedure _Setcompact(const aValue: Boolean); property reversed: Boolean read _Getreversed write _Setreversed; property start: LongInt read _Getstart write _Setstart; property type_: UnicodeString read _Gettype_ write _Settype_; property compact: Boolean read _Getcompact write _Setcompact; end; TJSHTMLOListElement = class(TJSHTMLElement,IJSHTMLOListElement) Private Protected function _Getreversed: Boolean; function _Getstart: LongInt; function _Gettype_: UnicodeString; function _Getcompact: Boolean; procedure _Setreversed(const aValue: Boolean); procedure _Setstart(const aValue: LongInt); procedure _Settype_(const aValue: UnicodeString); procedure _Setcompact(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOListElement; property reversed: Boolean read _Getreversed write _Setreversed; property start: LongInt read _Getstart write _Setstart; property type_: UnicodeString read _Gettype_ write _Settype_; property compact: Boolean read _Getcompact write _Setcompact; end; { -------------------------------------------------------------------- TJSHTMLOptGroupElement --------------------------------------------------------------------} IJSHTMLOptGroupElement = interface(IJSHTMLElement) ['{2D2469AC-56D4-37FB-B0C8-FFCF4A255F1C}'] function _Getdisabled: Boolean; function _Getlabel_: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _Setlabel_(const aValue: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; TJSHTMLOptGroupElement = class(TJSHTMLElement,IJSHTMLOptGroupElement) Private Protected function _Getdisabled: Boolean; function _Getlabel_: UnicodeString; procedure _Setdisabled(const aValue: Boolean); procedure _Setlabel_(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOptGroupElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property label_: UnicodeString read _Getlabel_ write _Setlabel_; end; { -------------------------------------------------------------------- TJSHTMLOptionElement --------------------------------------------------------------------} IJSHTMLOptionElement = interface(IJSHTMLElement) ['{5EAD9031-9DE6-3602-B3A8-EB5D17437718}'] function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getlabel_: UnicodeString; function _GetdefaultSelected: Boolean; function _Getselected: Boolean; function _Getvalue: UnicodeString; function _Gettext: UnicodeString; function _Getindex: LongInt; procedure _Setdisabled(const aValue: Boolean); procedure _Setlabel_(const aValue: UnicodeString); procedure _SetdefaultSelected(const aValue: Boolean); procedure _Setselected(const aValue: Boolean); procedure _Setvalue(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property defaultSelected: Boolean read _GetdefaultSelected write _SetdefaultSelected; property selected: Boolean read _Getselected write _Setselected; property value: UnicodeString read _Getvalue write _Setvalue; property text: UnicodeString read _Gettext write _Settext; property index: LongInt read _Getindex; end; TJSHTMLOptionElement = class(TJSHTMLElement,IJSHTMLOptionElement) Private Protected function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getlabel_: UnicodeString; function _GetdefaultSelected: Boolean; function _Getselected: Boolean; function _Getvalue: UnicodeString; function _Gettext: UnicodeString; function _Getindex: LongInt; procedure _Setdisabled(const aValue: Boolean); procedure _Setlabel_(const aValue: UnicodeString); procedure _SetdefaultSelected(const aValue: Boolean); procedure _Setselected(const aValue: Boolean); procedure _Setvalue(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOptionElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property defaultSelected: Boolean read _GetdefaultSelected write _SetdefaultSelected; property selected: Boolean read _Getselected write _Setselected; property value: UnicodeString read _Getvalue write _Setvalue; property text: UnicodeString read _Gettext write _Settext; property index: LongInt read _Getindex; end; { -------------------------------------------------------------------- TJSHTMLOutputElement --------------------------------------------------------------------} IJSHTMLOutputElement = interface(IJSHTMLElement) ['{F32A14C7-0108-39FB-98DC-C8275124B971}'] function _GethtmlFor: IJSDOMTokenList; function _Getform: IJSHTMLFormElement; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; procedure _Setname(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); property htmlFor: IJSDOMTokenList read _GethtmlFor; property form: IJSHTMLFormElement read _Getform; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; end; TJSHTMLOutputElement = class(TJSHTMLElement,IJSHTMLOutputElement) Private Protected function _GethtmlFor: IJSDOMTokenList; function _Getform: IJSHTMLFormElement; function _Getname: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; procedure _Setname(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); Public constructor Create; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLOutputElement; property htmlFor: IJSDOMTokenList read _GethtmlFor; property form: IJSHTMLFormElement read _Getform; property name: UnicodeString read _Getname write _Setname; property type_: UnicodeString read _Gettype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; end; { -------------------------------------------------------------------- TJSHTMLParagraphElement --------------------------------------------------------------------} IJSHTMLParagraphElement = interface(IJSHTMLElement) ['{09D53537-E818-3B2F-A43D-A69BBA4B2D44}'] function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); property align: UnicodeString read _Getalign write _Setalign; end; TJSHTMLParagraphElement = class(TJSHTMLElement,IJSHTMLParagraphElement) Private Protected function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLParagraphElement; property align: UnicodeString read _Getalign write _Setalign; end; { -------------------------------------------------------------------- TJSHTMLParamElement --------------------------------------------------------------------} IJSHTMLParamElement = interface(IJSHTMLElement) ['{EA93410E-840E-3106-B44C-BC8CE15A3D3B}'] function _Getname: UnicodeString; function _Getvalue: UnicodeString; function _Gettype_: UnicodeString; function _GetvalueType: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetvalueType(const aValue: UnicodeString); property name: UnicodeString read _Getname write _Setname; property value: UnicodeString read _Getvalue write _Setvalue; property type_: UnicodeString read _Gettype_ write _Settype_; property valueType: UnicodeString read _GetvalueType write _SetvalueType; end; TJSHTMLParamElement = class(TJSHTMLElement,IJSHTMLParamElement) Private Protected function _Getname: UnicodeString; function _Getvalue: UnicodeString; function _Gettype_: UnicodeString; function _GetvalueType: UnicodeString; procedure _Setname(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetvalueType(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLParamElement; property name: UnicodeString read _Getname write _Setname; property value: UnicodeString read _Getvalue write _Setvalue; property type_: UnicodeString read _Gettype_ write _Settype_; property valueType: UnicodeString read _GetvalueType write _SetvalueType; end; { -------------------------------------------------------------------- TJSHTMLPictureElement --------------------------------------------------------------------} IJSHTMLPictureElement = interface(IJSHTMLElement) ['{DB0F4EC0-02F7-3934-A97D-61963CBB13C0}'] end; TJSHTMLPictureElement = class(TJSHTMLElement,IJSHTMLPictureElement) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLPictureElement; end; { -------------------------------------------------------------------- TJSHTMLPreElement --------------------------------------------------------------------} IJSHTMLPreElement = interface(IJSHTMLElement) ['{47ACBB92-5F6A-3613-A58F-CBD069142BC9}'] function _Getwidth: LongInt; procedure _Setwidth(const aValue: LongInt); property width: LongInt read _Getwidth write _Setwidth; end; TJSHTMLPreElement = class(TJSHTMLElement,IJSHTMLPreElement) Private Protected function _Getwidth: LongInt; procedure _Setwidth(const aValue: LongInt); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLPreElement; property width: LongInt read _Getwidth write _Setwidth; end; { -------------------------------------------------------------------- TJSHTMLProgressElement --------------------------------------------------------------------} IJSHTMLProgressElement = interface(IJSHTMLElement) ['{11E5CF7A-2E50-3BF6-B29C-C9287BBD2749}'] function _Getvalue: Double; function _Getmax: Double; function _Getposition: Double; function _Getlabels: IJSNodeList; procedure _Setvalue(const aValue: Double); procedure _Setmax(const aValue: Double); property value: Double read _Getvalue write _Setvalue; property max: Double read _Getmax write _Setmax; property position: Double read _Getposition; property labels: IJSNodeList read _Getlabels; end; TJSHTMLProgressElement = class(TJSHTMLElement,IJSHTMLProgressElement) Private Protected function _Getvalue: Double; function _Getmax: Double; function _Getposition: Double; function _Getlabels: IJSNodeList; procedure _Setvalue(const aValue: Double); procedure _Setmax(const aValue: Double); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLProgressElement; property value: Double read _Getvalue write _Setvalue; property max: Double read _Getmax write _Setmax; property position: Double read _Getposition; property labels: IJSNodeList read _Getlabels; end; { -------------------------------------------------------------------- TJSHTMLQuoteElement --------------------------------------------------------------------} IJSHTMLQuoteElement = interface(IJSHTMLElement) ['{F72C9181-DC42-3DBB-8AB4-63F1F3590752}'] function _Getcite: UnicodeString; procedure _Setcite(const aValue: UnicodeString); property cite: UnicodeString read _Getcite write _Setcite; end; TJSHTMLQuoteElement = class(TJSHTMLElement,IJSHTMLQuoteElement) Private Protected function _Getcite: UnicodeString; procedure _Setcite(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLQuoteElement; property cite: UnicodeString read _Getcite write _Setcite; end; { -------------------------------------------------------------------- TJSHTMLScriptElement --------------------------------------------------------------------} IJSHTMLScriptElement = interface(IJSHTMLElement) ['{C667082B-612B-3098-8FF6-4B72C0FDD741}'] function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _GetnoModule: Boolean; function _Getcharset: UnicodeString; function _Getasync: Boolean; function _Getdefer: Boolean; function _GetcrossOrigin: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Gettext: UnicodeString; function _Getblocking: IJSDOMTokenList; function _GetfetchPriority: UnicodeString; function _Getevent: UnicodeString; function _GethtmlFor: UnicodeString; function _Getintegrity: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetnoModule(const aValue: Boolean); procedure _Setcharset(const aValue: UnicodeString); procedure _Setasync(const aValue: Boolean); procedure _Setdefer(const aValue: Boolean); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setevent(const aValue: UnicodeString); procedure _SethtmlFor(const aValue: UnicodeString); procedure _Setintegrity(const aValue: UnicodeString); property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property noModule: Boolean read _GetnoModule write _SetnoModule; property charset: UnicodeString read _Getcharset write _Setcharset; property async: Boolean read _Getasync write _Setasync; property defer: Boolean read _Getdefer write _Setdefer; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property text: UnicodeString read _Gettext write _Settext; property blocking: IJSDOMTokenList read _Getblocking; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property event: UnicodeString read _Getevent write _Setevent; property htmlFor: UnicodeString read _GethtmlFor write _SethtmlFor; property integrity: UnicodeString read _Getintegrity write _Setintegrity; end; TJSHTMLScriptElement = class(TJSHTMLElement,IJSHTMLScriptElement) Private Protected function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _GetnoModule: Boolean; function _Getcharset: UnicodeString; function _Getasync: Boolean; function _Getdefer: Boolean; function _GetcrossOrigin: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _Gettext: UnicodeString; function _Getblocking: IJSDOMTokenList; function _GetfetchPriority: UnicodeString; function _Getevent: UnicodeString; function _GethtmlFor: UnicodeString; function _Getintegrity: UnicodeString; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _SetnoModule(const aValue: Boolean); procedure _Setcharset(const aValue: UnicodeString); procedure _Setasync(const aValue: Boolean); procedure _Setdefer(const aValue: Boolean); procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); procedure _SetfetchPriority(const aValue: UnicodeString); procedure _Setevent(const aValue: UnicodeString); procedure _SethtmlFor(const aValue: UnicodeString); procedure _Setintegrity(const aValue: UnicodeString); Public constructor Create; overload; function supports(const aType_: UnicodeString): Boolean; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLScriptElement; property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property noModule: Boolean read _GetnoModule write _SetnoModule; property charset: UnicodeString read _Getcharset write _Setcharset; property async: Boolean read _Getasync write _Setasync; property defer: Boolean read _Getdefer write _Setdefer; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property text: UnicodeString read _Gettext write _Settext; property blocking: IJSDOMTokenList read _Getblocking; property fetchPriority: UnicodeString read _GetfetchPriority write _SetfetchPriority; property event: UnicodeString read _Getevent write _Setevent; property htmlFor: UnicodeString read _GethtmlFor write _SethtmlFor; property integrity: UnicodeString read _Getintegrity write _Setintegrity; end; { -------------------------------------------------------------------- TJSHTMLSelectElement --------------------------------------------------------------------} // Union of HTMLOptionElement, HTMLOptGroupElement THTMLSelectElement_add_element_Type = Variant; // Union of HTMLElement, long THTMLSelectElement_add_before_Type = Variant; IJSHTMLSelectElement = interface(IJSHTMLElement) ['{1E0EE654-3378-33AC-9B79-25F697A5A548}'] function _Getautocomplete: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getmultiple: Boolean; function _Getname: UnicodeString; function _Getrequired: Boolean; function _Getsize: Cardinal; function _Gettype_: UnicodeString; function _Getoptions: IJSHTMLOptionsCollection; function _Getlength_: Cardinal; function _GetselectedOptions: IJSHTMLCollection; function _GetselectedIndex: LongInt; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setmultiple(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); procedure _Setrequired(const aValue: Boolean); procedure _Setsize(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetselectedIndex(const aValue: LongInt); procedure _Setvalue(const aValue: UnicodeString); function item(aIndex: Cardinal): IJSElement; function namedItem(const aName: UnicodeString): IJSHTMLOptionElement; procedure add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); procedure add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); procedure add(aElement: IJSHTMLOptionElement); procedure add(aElement: IJSHTMLOptGroupElement); procedure add(aElement: IJSHTMLOptionElement; aBefore: LongInt); procedure add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); procedure remove(aIndex: LongInt); procedure SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); procedure showPicker; procedure remove; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property multiple: Boolean read _Getmultiple write _Setmultiple; property name: UnicodeString read _Getname write _Setname; property required: Boolean read _Getrequired write _Setrequired; property size: Cardinal read _Getsize write _Setsize; property type_: UnicodeString read _Gettype_; property options: IJSHTMLOptionsCollection read _Getoptions; property length_: Cardinal read _Getlength_ write _Setlength_; property selectedOptions: IJSHTMLCollection read _GetselectedOptions; property selectedIndex: LongInt read _GetselectedIndex write _SetselectedIndex; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; end; TJSHTMLSelectElement = class(TJSHTMLElement,IJSHTMLSelectElement) Private Protected function _Getautocomplete: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _Getmultiple: Boolean; function _Getname: UnicodeString; function _Getrequired: Boolean; function _Getsize: Cardinal; function _Gettype_: UnicodeString; function _Getoptions: IJSHTMLOptionsCollection; function _Getlength_: Cardinal; function _GetselectedOptions: IJSHTMLCollection; function _GetselectedIndex: LongInt; function _Getvalue: UnicodeString; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _Setmultiple(const aValue: Boolean); procedure _Setname(const aValue: UnicodeString); procedure _Setrequired(const aValue: Boolean); procedure _Setsize(const aValue: Cardinal); procedure _Setlength_(const aValue: Cardinal); procedure _SetselectedIndex(const aValue: LongInt); procedure _Setvalue(const aValue: UnicodeString); Public constructor Create; overload; function item(aIndex: Cardinal): IJSElement; overload; function namedItem(const aName: UnicodeString): IJSHTMLOptionElement; overload; procedure add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); overload; procedure add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); overload; procedure add(aElement: IJSHTMLOptionElement); overload; procedure add(aElement: IJSHTMLOptGroupElement); overload; procedure add(aElement: IJSHTMLOptionElement; aBefore: LongInt); overload; procedure add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); overload; procedure remove(aIndex: LongInt); overload; procedure SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; procedure showPicker; overload; procedure remove; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLSelectElement; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property multiple: Boolean read _Getmultiple write _Setmultiple; property name: UnicodeString read _Getname write _Setname; property required: Boolean read _Getrequired write _Setrequired; property size: Cardinal read _Getsize write _Setsize; property type_: UnicodeString read _Gettype_; property options: IJSHTMLOptionsCollection read _Getoptions; property length_: Cardinal read _Getlength_ write _Setlength_; property selectedOptions: IJSHTMLCollection read _GetselectedOptions; property selectedIndex: LongInt read _GetselectedIndex write _SetselectedIndex; property value: UnicodeString read _Getvalue write _Setvalue; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; end; { -------------------------------------------------------------------- TJSHTMLSlotElement --------------------------------------------------------------------} // Union of Element, Text THTMLSlotElement_assign_nodes_Type = Variant; IJSHTMLSlotElement = interface(IJSHTMLElement) ['{CBAE2FC9-5AB5-3485-9ECF-E30FC0A48CF9}'] function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); function assignedNodes(const aOptions: IJSAssignedNodesOptions): TIJSNodeDynArray; function assignedNodes: TIJSNodeDynArray; function assignedElements(const aOptions: IJSAssignedNodesOptions): TJSElementDynArray; function assignedElements: TJSElementDynArray; procedure assign(aNodes: IJSElement){; ToDo:varargs}; procedure assign(aNodes: IJSText){; ToDo:varargs}; property name: UnicodeString read _Getname write _Setname; end; TJSHTMLSlotElement = class(TJSHTMLElement,IJSHTMLSlotElement) Private Protected function _Getname: UnicodeString; procedure _Setname(const aValue: UnicodeString); Public constructor Create; overload; function assignedNodes(const aOptions: IJSAssignedNodesOptions): TIJSNodeDynArray; overload; function assignedNodes: TIJSNodeDynArray; overload; function assignedElements(const aOptions: IJSAssignedNodesOptions): TJSElementDynArray; overload; function assignedElements: TJSElementDynArray; overload; procedure assign(aNodes: IJSElement){; ToDo:varargs}; overload; procedure assign(aNodes: IJSText){; ToDo:varargs}; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLSlotElement; property name: UnicodeString read _Getname write _Setname; end; { -------------------------------------------------------------------- TJSHTMLSourceElement --------------------------------------------------------------------} IJSHTMLSourceElement = interface(IJSHTMLElement) ['{3E3694CC-BCD4-377E-881D-41B488A1F027}'] function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _Getsrcset: UnicodeString; function _Getsizes: UnicodeString; function _Getmedia: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setsrcset(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property srcset: UnicodeString read _Getsrcset write _Setsrcset; property sizes: UnicodeString read _Getsizes write _Setsizes; property media: UnicodeString read _Getmedia write _Setmedia; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; end; TJSHTMLSourceElement = class(TJSHTMLElement,IJSHTMLSourceElement) Private Protected function _Getsrc: UnicodeString; function _Gettype_: UnicodeString; function _Getsrcset: UnicodeString; function _Getsizes: UnicodeString; function _Getmedia: UnicodeString; function _Getwidth: Cardinal; function _Getheight: Cardinal; procedure _Setsrc(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Setsrcset(const aValue: UnicodeString); procedure _Setsizes(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLSourceElement; property src: UnicodeString read _Getsrc write _Setsrc; property type_: UnicodeString read _Gettype_ write _Settype_; property srcset: UnicodeString read _Getsrcset write _Setsrcset; property sizes: UnicodeString read _Getsizes write _Setsizes; property media: UnicodeString read _Getmedia write _Setmedia; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; end; { -------------------------------------------------------------------- TJSHTMLSpanElement --------------------------------------------------------------------} IJSHTMLSpanElement = interface(IJSHTMLElement) ['{AC6CC386-38ED-373F-AD48-9E5D8A5DBD72}'] end; TJSHTMLSpanElement = class(TJSHTMLElement,IJSHTMLSpanElement) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLSpanElement; end; { -------------------------------------------------------------------- TJSHTMLStyleElement --------------------------------------------------------------------} IJSHTMLStyleElement = interface(IJSHTMLElement) ['{8614A593-0CF1-387E-A8B1-A5ACA821F177}'] function _Getdisabled: Boolean; function _Getmedia: UnicodeString; function _Gettype_: UnicodeString; function _Getblocking: IJSDOMTokenList; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Setmedia(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property media: UnicodeString read _Getmedia write _Setmedia; property type_: UnicodeString read _Gettype_ write _Settype_; property blocking: IJSDOMTokenList read _Getblocking; property sheet: IJSStyleSheet read _Getsheet; end; TJSHTMLStyleElement = class(TJSHTMLElement,IJSHTMLStyleElement) Private Protected function _Getdisabled: Boolean; function _Getmedia: UnicodeString; function _Gettype_: UnicodeString; function _Getblocking: IJSDOMTokenList; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Setmedia(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLStyleElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property media: UnicodeString read _Getmedia write _Setmedia; property type_: UnicodeString read _Gettype_ write _Settype_; property blocking: IJSDOMTokenList read _Getblocking; property sheet: IJSStyleSheet read _Getsheet; end; { -------------------------------------------------------------------- TJSHTMLTableCaptionElement --------------------------------------------------------------------} IJSHTMLTableCaptionElement = interface(IJSHTMLElement) ['{B7B30794-F019-3059-9888-0C4C4B36769E}'] function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); property align: UnicodeString read _Getalign write _Setalign; end; TJSHTMLTableCaptionElement = class(TJSHTMLElement,IJSHTMLTableCaptionElement) Private Protected function _Getalign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableCaptionElement; property align: UnicodeString read _Getalign write _Setalign; end; { -------------------------------------------------------------------- TJSHTMLTableCellElement --------------------------------------------------------------------} IJSHTMLTableCellElement = interface(IJSHTMLElement) ['{EC2E4E59-C419-3598-93E9-961F1E930620}'] function _GetcolSpan: Cardinal; function _GetrowSpan: Cardinal; function _Getheaders: UnicodeString; function _GetcellIndex: LongInt; function _Getabbr: UnicodeString; function _Getscope: UnicodeString; function _Getalign: UnicodeString; function _Getaxis: UnicodeString; function _Getheight: UnicodeString; function _Getwidth: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetnoWrap: Boolean; function _GetvAlign: UnicodeString; function _GetbgColor: UnicodeString; procedure _SetcolSpan(const aValue: Cardinal); procedure _SetrowSpan(const aValue: Cardinal); procedure _Setheaders(const aValue: UnicodeString); procedure _Setabbr(const aValue: UnicodeString); procedure _Setscope(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setaxis(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetnoWrap(const aValue: Boolean); procedure _SetvAlign(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); property colSpan: Cardinal read _GetcolSpan write _SetcolSpan; property rowSpan: Cardinal read _GetrowSpan write _SetrowSpan; property headers: UnicodeString read _Getheaders write _Setheaders; property cellIndex: LongInt read _GetcellIndex; property abbr: UnicodeString read _Getabbr write _Setabbr; property scope: UnicodeString read _Getscope write _Setscope; property align: UnicodeString read _Getalign write _Setalign; property axis: UnicodeString read _Getaxis write _Setaxis; property height: UnicodeString read _Getheight write _Setheight; property width: UnicodeString read _Getwidth write _Setwidth; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property noWrap: Boolean read _GetnoWrap write _SetnoWrap; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; end; TJSHTMLTableCellElement = class(TJSHTMLElement,IJSHTMLTableCellElement) Private Protected function _GetcolSpan: Cardinal; function _GetrowSpan: Cardinal; function _Getheaders: UnicodeString; function _GetcellIndex: LongInt; function _Getabbr: UnicodeString; function _Getscope: UnicodeString; function _Getalign: UnicodeString; function _Getaxis: UnicodeString; function _Getheight: UnicodeString; function _Getwidth: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetnoWrap: Boolean; function _GetvAlign: UnicodeString; function _GetbgColor: UnicodeString; procedure _SetcolSpan(const aValue: Cardinal); procedure _SetrowSpan(const aValue: Cardinal); procedure _Setheaders(const aValue: UnicodeString); procedure _Setabbr(const aValue: UnicodeString); procedure _Setscope(const aValue: UnicodeString); procedure _Setalign(const aValue: UnicodeString); procedure _Setaxis(const aValue: UnicodeString); procedure _Setheight(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetnoWrap(const aValue: Boolean); procedure _SetvAlign(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableCellElement; property colSpan: Cardinal read _GetcolSpan write _SetcolSpan; property rowSpan: Cardinal read _GetrowSpan write _SetrowSpan; property headers: UnicodeString read _Getheaders write _Setheaders; property cellIndex: LongInt read _GetcellIndex; property abbr: UnicodeString read _Getabbr write _Setabbr; property scope: UnicodeString read _Getscope write _Setscope; property align: UnicodeString read _Getalign write _Setalign; property axis: UnicodeString read _Getaxis write _Setaxis; property height: UnicodeString read _Getheight write _Setheight; property width: UnicodeString read _Getwidth write _Setwidth; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property noWrap: Boolean read _GetnoWrap write _SetnoWrap; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; end; { -------------------------------------------------------------------- TJSHTMLTableColElement --------------------------------------------------------------------} IJSHTMLTableColElement = interface(IJSHTMLElement) ['{0C6EE83C-8D36-3B04-8BD2-42105735C08C}'] function _Getspan: Cardinal; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; function _Getwidth: UnicodeString; procedure _Setspan(const aValue: Cardinal); procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); property span: Cardinal read _Getspan write _Setspan; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property width: UnicodeString read _Getwidth write _Setwidth; end; TJSHTMLTableColElement = class(TJSHTMLElement,IJSHTMLTableColElement) Private Protected function _Getspan: Cardinal; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; function _Getwidth: UnicodeString; procedure _Setspan(const aValue: Cardinal); procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableColElement; property span: Cardinal read _Getspan write _Setspan; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property width: UnicodeString read _Getwidth write _Setwidth; end; { -------------------------------------------------------------------- TJSHTMLTableElement --------------------------------------------------------------------} IJSHTMLTableElement = interface(IJSHTMLElement) ['{E1253BAF-AB48-3B11-936B-53857E089475}'] function _Getcaption: IJSHTMLTableCaptionElement; function _GettHead: IJSHTMLTableSectionElement; function _GettFoot: IJSHTMLTableSectionElement; function _GettBodies: IJSHTMLCollection; function _Getrows: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getborder: UnicodeString; function _Getframe: UnicodeString; function _Getrules: UnicodeString; function _Getsummary: UnicodeString; function _Getwidth: UnicodeString; function _GetbgColor: UnicodeString; function _GetcellPadding: UnicodeString; function _GetcellSpacing: UnicodeString; procedure _Setcaption(const aValue: IJSHTMLTableCaptionElement); procedure _SettHead(const aValue: IJSHTMLTableSectionElement); procedure _SettFoot(const aValue: IJSHTMLTableSectionElement); procedure _Setalign(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); procedure _Setframe(const aValue: UnicodeString); procedure _Setrules(const aValue: UnicodeString); procedure _Setsummary(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _SetcellPadding(const aValue: UnicodeString); procedure _SetcellSpacing(const aValue: UnicodeString); function createCaption: IJSHTMLElement; procedure deleteCaption; function createTHead: IJSHTMLElement; procedure deleteTHead; function createTFoot: IJSHTMLElement; procedure deleteTFoot; function createTBody: IJSHTMLElement; function insertRow(aIndex: LongInt): IJSHTMLElement; function insertRow: IJSHTMLElement; procedure deleteRow(aIndex: LongInt); property caption: IJSHTMLTableCaptionElement read _Getcaption write _Setcaption; property tHead: IJSHTMLTableSectionElement read _GettHead write _SettHead; property tFoot: IJSHTMLTableSectionElement read _GettFoot write _SettFoot; property tBodies: IJSHTMLCollection read _GettBodies; property rows: IJSHTMLCollection read _Getrows; property align: UnicodeString read _Getalign write _Setalign; property border: UnicodeString read _Getborder write _Setborder; property frame: UnicodeString read _Getframe write _Setframe; property rules: UnicodeString read _Getrules write _Setrules; property summary: UnicodeString read _Getsummary write _Setsummary; property width: UnicodeString read _Getwidth write _Setwidth; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property cellPadding: UnicodeString read _GetcellPadding write _SetcellPadding; property cellSpacing: UnicodeString read _GetcellSpacing write _SetcellSpacing; end; TJSHTMLTableElement = class(TJSHTMLElement,IJSHTMLTableElement) Private Protected function _Getcaption: IJSHTMLTableCaptionElement; function _GettHead: IJSHTMLTableSectionElement; function _GettFoot: IJSHTMLTableSectionElement; function _GettBodies: IJSHTMLCollection; function _Getrows: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getborder: UnicodeString; function _Getframe: UnicodeString; function _Getrules: UnicodeString; function _Getsummary: UnicodeString; function _Getwidth: UnicodeString; function _GetbgColor: UnicodeString; function _GetcellPadding: UnicodeString; function _GetcellSpacing: UnicodeString; procedure _Setcaption(const aValue: IJSHTMLTableCaptionElement); procedure _SettHead(const aValue: IJSHTMLTableSectionElement); procedure _SettFoot(const aValue: IJSHTMLTableSectionElement); procedure _Setalign(const aValue: UnicodeString); procedure _Setborder(const aValue: UnicodeString); procedure _Setframe(const aValue: UnicodeString); procedure _Setrules(const aValue: UnicodeString); procedure _Setsummary(const aValue: UnicodeString); procedure _Setwidth(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); procedure _SetcellPadding(const aValue: UnicodeString); procedure _SetcellSpacing(const aValue: UnicodeString); Public constructor Create; overload; function createCaption: IJSHTMLElement; overload; procedure deleteCaption; overload; function createTHead: IJSHTMLElement; overload; procedure deleteTHead; overload; function createTFoot: IJSHTMLElement; overload; procedure deleteTFoot; overload; function createTBody: IJSHTMLElement; overload; function insertRow(aIndex: LongInt): IJSHTMLElement; overload; function insertRow: IJSHTMLElement; overload; procedure deleteRow(aIndex: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableElement; property caption: IJSHTMLTableCaptionElement read _Getcaption write _Setcaption; property tHead: IJSHTMLTableSectionElement read _GettHead write _SettHead; property tFoot: IJSHTMLTableSectionElement read _GettFoot write _SettFoot; property tBodies: IJSHTMLCollection read _GettBodies; property rows: IJSHTMLCollection read _Getrows; property align: UnicodeString read _Getalign write _Setalign; property border: UnicodeString read _Getborder write _Setborder; property frame: UnicodeString read _Getframe write _Setframe; property rules: UnicodeString read _Getrules write _Setrules; property summary: UnicodeString read _Getsummary write _Setsummary; property width: UnicodeString read _Getwidth write _Setwidth; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; property cellPadding: UnicodeString read _GetcellPadding write _SetcellPadding; property cellSpacing: UnicodeString read _GetcellSpacing write _SetcellSpacing; end; { -------------------------------------------------------------------- TJSHTMLTableRowElement --------------------------------------------------------------------} IJSHTMLTableRowElement = interface(IJSHTMLElement) ['{6342FEF0-518C-3C60-BDA6-DB0C08D6D4E0}'] function _GetrowIndex: LongInt; function _GetsectionRowIndex: LongInt; function _Getcells: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; function _GetbgColor: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); function insertCell(aIndex: LongInt): IJSHTMLElement; function insertCell: IJSHTMLElement; procedure deleteCell(aIndex: LongInt); property rowIndex: LongInt read _GetrowIndex; property sectionRowIndex: LongInt read _GetsectionRowIndex; property cells: IJSHTMLCollection read _Getcells; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; end; TJSHTMLTableRowElement = class(TJSHTMLElement,IJSHTMLTableRowElement) Private Protected function _GetrowIndex: LongInt; function _GetsectionRowIndex: LongInt; function _Getcells: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; function _GetbgColor: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); procedure _SetbgColor(const aValue: UnicodeString); Public constructor Create; overload; function insertCell(aIndex: LongInt): IJSHTMLElement; overload; function insertCell: IJSHTMLElement; overload; procedure deleteCell(aIndex: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableRowElement; property rowIndex: LongInt read _GetrowIndex; property sectionRowIndex: LongInt read _GetsectionRowIndex; property cells: IJSHTMLCollection read _Getcells; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; property bgColor: UnicodeString read _GetbgColor write _SetbgColor; end; { -------------------------------------------------------------------- TJSHTMLTableSectionElement --------------------------------------------------------------------} IJSHTMLTableSectionElement = interface(IJSHTMLElement) ['{894BBB55-DF16-3CA6-AAF3-9F9D3CB1162D}'] function _Getrows: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); function insertRow(aIndex: LongInt): IJSHTMLElement; function insertRow: IJSHTMLElement; procedure deleteRow(aIndex: LongInt); property rows: IJSHTMLCollection read _Getrows; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; end; TJSHTMLTableSectionElement = class(TJSHTMLElement,IJSHTMLTableSectionElement) Private Protected function _Getrows: IJSHTMLCollection; function _Getalign: UnicodeString; function _Getch: UnicodeString; function _GetchOff: UnicodeString; function _GetvAlign: UnicodeString; procedure _Setalign(const aValue: UnicodeString); procedure _Setch(const aValue: UnicodeString); procedure _SetchOff(const aValue: UnicodeString); procedure _SetvAlign(const aValue: UnicodeString); Public constructor Create; overload; function insertRow(aIndex: LongInt): IJSHTMLElement; overload; function insertRow: IJSHTMLElement; overload; procedure deleteRow(aIndex: LongInt); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTableSectionElement; property rows: IJSHTMLCollection read _Getrows; property align: UnicodeString read _Getalign write _Setalign; property ch: UnicodeString read _Getch write _Setch; property chOff: UnicodeString read _GetchOff write _SetchOff; property vAlign: UnicodeString read _GetvAlign write _SetvAlign; end; { -------------------------------------------------------------------- TJSHTMLTemplateElement --------------------------------------------------------------------} IJSHTMLTemplateElement = interface(IJSHTMLElement) ['{5EB160BA-EABA-368E-9EA2-5734E5C54B0C}'] function _Getcontent: IJSDocumentFragment; function _GetshadowRootMode: UnicodeString; function _GetshadowRootDelegatesFocus: Boolean; function _GetshadowRootClonable: Boolean; procedure _SetshadowRootMode(const aValue: UnicodeString); procedure _SetshadowRootDelegatesFocus(const aValue: Boolean); procedure _SetshadowRootClonable(const aValue: Boolean); property content: IJSDocumentFragment read _Getcontent; property shadowRootMode: UnicodeString read _GetshadowRootMode write _SetshadowRootMode; property shadowRootDelegatesFocus: Boolean read _GetshadowRootDelegatesFocus write _SetshadowRootDelegatesFocus; property shadowRootClonable: Boolean read _GetshadowRootClonable write _SetshadowRootClonable; end; TJSHTMLTemplateElement = class(TJSHTMLElement,IJSHTMLTemplateElement) Private Protected function _Getcontent: IJSDocumentFragment; function _GetshadowRootMode: UnicodeString; function _GetshadowRootDelegatesFocus: Boolean; function _GetshadowRootClonable: Boolean; procedure _SetshadowRootMode(const aValue: UnicodeString); procedure _SetshadowRootDelegatesFocus(const aValue: Boolean); procedure _SetshadowRootClonable(const aValue: Boolean); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTemplateElement; property content: IJSDocumentFragment read _Getcontent; property shadowRootMode: UnicodeString read _GetshadowRootMode write _SetshadowRootMode; property shadowRootDelegatesFocus: Boolean read _GetshadowRootDelegatesFocus write _SetshadowRootDelegatesFocus; property shadowRootClonable: Boolean read _GetshadowRootClonable write _SetshadowRootClonable; end; { -------------------------------------------------------------------- TJSHTMLTextAreaElement --------------------------------------------------------------------} IJSHTMLTextAreaElement = interface(IJSHTMLElement) ['{0D3D0186-09D1-3B18-9619-8C32E86F11BD}'] function _Getautocomplete: UnicodeString; function _Getcols: Cardinal; function _GetdirName: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _GetmaxLength: LongInt; function _GetminLength: LongInt; function _Getname: UnicodeString; function _Getplaceholder: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getrows: Cardinal; function _Getwrap: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GettextLength: Cardinal; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetselectionStart: Cardinal; function _GetselectionEnd: Cardinal; function _GetselectionDirection: UnicodeString; procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setcols(const aValue: Cardinal); procedure _SetdirName(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _SetmaxLength(const aValue: LongInt); procedure _SetminLength(const aValue: LongInt); procedure _Setname(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setrows(const aValue: Cardinal); procedure _Setwrap(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetselectionStart(const aValue: Cardinal); procedure _SetselectionEnd(const aValue: Cardinal); procedure _SetselectionDirection(const aValue: UnicodeString); function checkValidity: Boolean; function reportValidity: Boolean; procedure setCustomValidity(const aError: UnicodeString); procedure select; procedure setRangeText(const aReplacement: UnicodeString); procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); procedure setUserInput(const aInput: UnicodeString); property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property cols: Cardinal read _Getcols write _Setcols; property dirName: UnicodeString read _GetdirName write _SetdirName; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property maxLength: LongInt read _GetmaxLength write _SetmaxLength; property minLength: LongInt read _GetminLength write _SetminLength; property name: UnicodeString read _Getname write _Setname; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property rows: Cardinal read _Getrows write _Setrows; property wrap: UnicodeString read _Getwrap write _Setwrap; property type_: UnicodeString read _Gettype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property textLength: Cardinal read _GettextLength; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property selectionStart: Cardinal read _GetselectionStart write _SetselectionStart; property selectionEnd: Cardinal read _GetselectionEnd write _SetselectionEnd; property selectionDirection: UnicodeString read _GetselectionDirection write _SetselectionDirection; end; TJSHTMLTextAreaElement = class(TJSHTMLElement,IJSHTMLTextAreaElement) Private Protected function _Getautocomplete: UnicodeString; function _Getcols: Cardinal; function _GetdirName: UnicodeString; function _Getdisabled: Boolean; function _Getform: IJSHTMLFormElement; function _GetmaxLength: LongInt; function _GetminLength: LongInt; function _Getname: UnicodeString; function _Getplaceholder: UnicodeString; function _GetreadOnly: Boolean; function _Getrequired: Boolean; function _Getrows: Cardinal; function _Getwrap: UnicodeString; function _Gettype_: UnicodeString; function _GetdefaultValue: UnicodeString; function _Getvalue: UnicodeString; function _GettextLength: Cardinal; function _GetwillValidate: Boolean; function _Getvalidity: IJSValidityState; function _GetvalidationMessage: UnicodeString; function _Getlabels: IJSNodeList; function _GetselectionStart: Cardinal; function _GetselectionEnd: Cardinal; function _GetselectionDirection: UnicodeString; procedure _Setautocomplete(const aValue: UnicodeString); procedure _Setcols(const aValue: Cardinal); procedure _SetdirName(const aValue: UnicodeString); procedure _Setdisabled(const aValue: Boolean); procedure _SetmaxLength(const aValue: LongInt); procedure _SetminLength(const aValue: LongInt); procedure _Setname(const aValue: UnicodeString); procedure _Setplaceholder(const aValue: UnicodeString); procedure _SetreadOnly(const aValue: Boolean); procedure _Setrequired(const aValue: Boolean); procedure _Setrows(const aValue: Cardinal); procedure _Setwrap(const aValue: UnicodeString); procedure _SetdefaultValue(const aValue: UnicodeString); procedure _Setvalue(const aValue: UnicodeString); procedure _SetselectionStart(const aValue: Cardinal); procedure _SetselectionEnd(const aValue: Cardinal); procedure _SetselectionDirection(const aValue: UnicodeString); Public constructor Create; overload; function checkValidity: Boolean; overload; function reportValidity: Boolean; overload; procedure setCustomValidity(const aError: UnicodeString); overload; procedure select; overload; procedure setRangeText(const aReplacement: UnicodeString); overload; procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); overload; procedure setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); overload; procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); overload; procedure setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); overload; procedure setUserInput(const aInput: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTextAreaElement; property autocomplete: UnicodeString read _Getautocomplete write _Setautocomplete; property cols: Cardinal read _Getcols write _Setcols; property dirName: UnicodeString read _GetdirName write _SetdirName; property disabled: Boolean read _Getdisabled write _Setdisabled; property form: IJSHTMLFormElement read _Getform; property maxLength: LongInt read _GetmaxLength write _SetmaxLength; property minLength: LongInt read _GetminLength write _SetminLength; property name: UnicodeString read _Getname write _Setname; property placeholder: UnicodeString read _Getplaceholder write _Setplaceholder; property readOnly: Boolean read _GetreadOnly write _SetreadOnly; property required: Boolean read _Getrequired write _Setrequired; property rows: Cardinal read _Getrows write _Setrows; property wrap: UnicodeString read _Getwrap write _Setwrap; property type_: UnicodeString read _Gettype_; property defaultValue: UnicodeString read _GetdefaultValue write _SetdefaultValue; property value: UnicodeString read _Getvalue write _Setvalue; property textLength: Cardinal read _GettextLength; property willValidate: Boolean read _GetwillValidate; property validity: IJSValidityState read _Getvalidity; property validationMessage: UnicodeString read _GetvalidationMessage; property labels: IJSNodeList read _Getlabels; property selectionStart: Cardinal read _GetselectionStart write _SetselectionStart; property selectionEnd: Cardinal read _GetselectionEnd write _SetselectionEnd; property selectionDirection: UnicodeString read _GetselectionDirection write _SetselectionDirection; end; { -------------------------------------------------------------------- TJSHTMLTimeElement --------------------------------------------------------------------} IJSHTMLTimeElement = interface(IJSHTMLElement) ['{261EC867-DCB1-33E8-B765-B0B98A5D6C72}'] function _GetdateTime: UnicodeString; procedure _SetdateTime(const aValue: UnicodeString); property dateTime: UnicodeString read _GetdateTime write _SetdateTime; end; TJSHTMLTimeElement = class(TJSHTMLElement,IJSHTMLTimeElement) Private Protected function _GetdateTime: UnicodeString; procedure _SetdateTime(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTimeElement; property dateTime: UnicodeString read _GetdateTime write _SetdateTime; end; { -------------------------------------------------------------------- TJSHTMLTitleElement --------------------------------------------------------------------} IJSHTMLTitleElement = interface(IJSHTMLElement) ['{0A98DAB3-3BA7-33A1-A5D4-63F1F359020A}'] function _Gettext: UnicodeString; procedure _Settext(const aValue: UnicodeString); property text: UnicodeString read _Gettext write _Settext; end; TJSHTMLTitleElement = class(TJSHTMLElement,IJSHTMLTitleElement) Private Protected function _Gettext: UnicodeString; procedure _Settext(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTitleElement; property text: UnicodeString read _Gettext write _Settext; end; { -------------------------------------------------------------------- TJSHTMLTrackElement --------------------------------------------------------------------} IJSHTMLTrackElement = interface(IJSHTMLElement) ['{E827BCDF-CB02-322D-AD7E-4840443DCD8C}'] function _Getkind: UnicodeString; function _Getsrc: UnicodeString; function _Getsrclang: UnicodeString; function _Getlabel_: UnicodeString; function _Getdefault: Boolean; function _GetreadyState: Word; function _Gettrack: IJSTextTrack; procedure _Setkind(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrclang(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setdefault(const aValue: Boolean); property kind: UnicodeString read _Getkind write _Setkind; property src: UnicodeString read _Getsrc write _Setsrc; property srclang: UnicodeString read _Getsrclang write _Setsrclang; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property default: Boolean read _Getdefault write _Setdefault; property readyState: Word read _GetreadyState; property track: IJSTextTrack read _Gettrack; end; TJSHTMLTrackElement = class(TJSHTMLElement,IJSHTMLTrackElement) Private Protected function _Getkind: UnicodeString; function _Getsrc: UnicodeString; function _Getsrclang: UnicodeString; function _Getlabel_: UnicodeString; function _Getdefault: Boolean; function _GetreadyState: Word; function _Gettrack: IJSTextTrack; procedure _Setkind(const aValue: UnicodeString); procedure _Setsrc(const aValue: UnicodeString); procedure _Setsrclang(const aValue: UnicodeString); procedure _Setlabel_(const aValue: UnicodeString); procedure _Setdefault(const aValue: Boolean); Public Const NONE = 0; LOADING = 1; LOADED = 2; ERROR = 3; Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLTrackElement; property kind: UnicodeString read _Getkind write _Setkind; property src: UnicodeString read _Getsrc write _Setsrc; property srclang: UnicodeString read _Getsrclang write _Setsrclang; property label_: UnicodeString read _Getlabel_ write _Setlabel_; property default: Boolean read _Getdefault write _Setdefault; property readyState: Word read _GetreadyState; property track: IJSTextTrack read _Gettrack; end; { -------------------------------------------------------------------- TJSHTMLUListElement --------------------------------------------------------------------} IJSHTMLUListElement = interface(IJSHTMLElement) ['{663EFA3B-94CA-372D-B5D7-E9D1838F1475}'] function _Getcompact: Boolean; function _Gettype_: UnicodeString; procedure _Setcompact(const aValue: Boolean); procedure _Settype_(const aValue: UnicodeString); property compact: Boolean read _Getcompact write _Setcompact; property type_: UnicodeString read _Gettype_ write _Settype_; end; TJSHTMLUListElement = class(TJSHTMLElement,IJSHTMLUListElement) Private Protected function _Getcompact: Boolean; function _Gettype_: UnicodeString; procedure _Setcompact(const aValue: Boolean); procedure _Settype_(const aValue: UnicodeString); Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLUListElement; property compact: Boolean read _Getcompact write _Setcompact; property type_: UnicodeString read _Gettype_ write _Settype_; end; { -------------------------------------------------------------------- TJSSVGAnimationElement --------------------------------------------------------------------} IJSSVGAnimationElement = interface(IJSSVGElement) ['{F0DC9E39-CEE0-385F-BD43-DC9F4C092D44}'] function _GettargetElement: IJSSVGElement; function _Getonbegin: TEventHandler; function _Getonend: TEventHandler; function _Getonrepeat: TEventHandler; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; procedure _Setonbegin(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); procedure _Setonrepeat(const aValue: TEventHandler); function getStartTime: Single; function getCurrentTime: Single; function getSimpleDuration: Single; procedure beginElement; procedure beginElementAt(aOffset: Single); procedure endElement; procedure endElementAt(aOffset: Single); property targetElement: IJSSVGElement read _GettargetElement; property onbegin: TEventHandler read _Getonbegin write _Setonbegin; property onend: TEventHandler read _Getonend write _Setonend; property onrepeat: TEventHandler read _Getonrepeat write _Setonrepeat; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; TJSSVGAnimationElement = class(TJSSVGElement,IJSSVGAnimationElement) Private Protected function _GettargetElement: IJSSVGElement; function _Getonbegin: TEventHandler; function _Getonend: TEventHandler; function _Getonrepeat: TEventHandler; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; procedure _Setonbegin(const aValue: TEventHandler); procedure _Setonend(const aValue: TEventHandler); procedure _Setonrepeat(const aValue: TEventHandler); Public function getStartTime: Single; overload; function getCurrentTime: Single; overload; function getSimpleDuration: Single; overload; procedure beginElement; overload; procedure beginElementAt(aOffset: Single); overload; procedure endElement; overload; procedure endElementAt(aOffset: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimationElement; property targetElement: IJSSVGElement read _GettargetElement; property onbegin: TEventHandler read _Getonbegin write _Setonbegin; property onend: TEventHandler read _Getonend write _Setonend; property onrepeat: TEventHandler read _Getonrepeat write _Setonrepeat; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; { -------------------------------------------------------------------- TJSSVGClipPathElement --------------------------------------------------------------------} IJSSVGClipPathElement = interface(IJSSVGElement) ['{2C28D8FA-4ADB-32C8-9681-B8114759C8FC}'] function _GetclipPathUnits: IJSSVGAnimatedEnumeration; function _Gettransform: IJSSVGAnimatedTransformList; property clipPathUnits: IJSSVGAnimatedEnumeration read _GetclipPathUnits; property transform: IJSSVGAnimatedTransformList read _Gettransform; end; TJSSVGClipPathElement = class(TJSSVGElement,IJSSVGClipPathElement) Private Protected function _GetclipPathUnits: IJSSVGAnimatedEnumeration; function _Gettransform: IJSSVGAnimatedTransformList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGClipPathElement; property clipPathUnits: IJSSVGAnimatedEnumeration read _GetclipPathUnits; property transform: IJSSVGAnimatedTransformList read _Gettransform; end; { -------------------------------------------------------------------- TJSSVGComponentTransferFunctionElement --------------------------------------------------------------------} IJSSVGComponentTransferFunctionElement = interface(IJSSVGElement) ['{97A55B15-BADC-39CE-8401-12196C8C4C06}'] function _Gettype_: IJSSVGAnimatedEnumeration; function _GettableValues: IJSSVGAnimatedNumberList; function _Getslope: IJSSVGAnimatedNumber; function _Getintercept: IJSSVGAnimatedNumber; function _Getamplitude: IJSSVGAnimatedNumber; function _Getexponent: IJSSVGAnimatedNumber; function _Getoffset: IJSSVGAnimatedNumber; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property tableValues: IJSSVGAnimatedNumberList read _GettableValues; property slope: IJSSVGAnimatedNumber read _Getslope; property intercept: IJSSVGAnimatedNumber read _Getintercept; property amplitude: IJSSVGAnimatedNumber read _Getamplitude; property exponent: IJSSVGAnimatedNumber read _Getexponent; property offset: IJSSVGAnimatedNumber read _Getoffset; end; TJSSVGComponentTransferFunctionElement = class(TJSSVGElement,IJSSVGComponentTransferFunctionElement) Private Protected function _Gettype_: IJSSVGAnimatedEnumeration; function _GettableValues: IJSSVGAnimatedNumberList; function _Getslope: IJSSVGAnimatedNumber; function _Getintercept: IJSSVGAnimatedNumber; function _Getamplitude: IJSSVGAnimatedNumber; function _Getexponent: IJSSVGAnimatedNumber; function _Getoffset: IJSSVGAnimatedNumber; Public Const SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGComponentTransferFunctionElement; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property tableValues: IJSSVGAnimatedNumberList read _GettableValues; property slope: IJSSVGAnimatedNumber read _Getslope; property intercept: IJSSVGAnimatedNumber read _Getintercept; property amplitude: IJSSVGAnimatedNumber read _Getamplitude; property exponent: IJSSVGAnimatedNumber read _Getexponent; property offset: IJSSVGAnimatedNumber read _Getoffset; end; { -------------------------------------------------------------------- TJSSVGDescElement --------------------------------------------------------------------} IJSSVGDescElement = interface(IJSSVGElement) ['{A28D848E-9220-332E-8D52-13223446E5A9}'] end; TJSSVGDescElement = class(TJSSVGElement,IJSSVGDescElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGDescElement; end; { -------------------------------------------------------------------- TJSSVGFEBlendElement --------------------------------------------------------------------} IJSSVGFEBlendElement = interface(IJSSVGElement) ['{C3D0F6F7-AF23-3CBF-B4A0-467186A6AD4C}'] function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getmode: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property mode: IJSSVGAnimatedEnumeration read _Getmode; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEBlendElement = class(TJSSVGElement,IJSSVGFEBlendElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getmode: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_FEBLEND_MODE_UNKNOWN = 0; SVG_FEBLEND_MODE_NORMAL = 1; SVG_FEBLEND_MODE_MULTIPLY = 2; SVG_FEBLEND_MODE_SCREEN = 3; SVG_FEBLEND_MODE_DARKEN = 4; SVG_FEBLEND_MODE_LIGHTEN = 5; SVG_FEBLEND_MODE_OVERLAY = 6; SVG_FEBLEND_MODE_COLOR_DODGE = 7; SVG_FEBLEND_MODE_COLOR_BURN = 8; SVG_FEBLEND_MODE_HARD_LIGHT = 9; SVG_FEBLEND_MODE_SOFT_LIGHT = 10; SVG_FEBLEND_MODE_DIFFERENCE = 11; SVG_FEBLEND_MODE_EXCLUSION = 12; SVG_FEBLEND_MODE_HUE = 13; SVG_FEBLEND_MODE_SATURATION = 14; SVG_FEBLEND_MODE_COLOR = 15; SVG_FEBLEND_MODE_LUMINOSITY = 16; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEBlendElement; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property mode: IJSSVGAnimatedEnumeration read _Getmode; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEColorMatrixElement --------------------------------------------------------------------} IJSSVGFEColorMatrixElement = interface(IJSSVGElement) ['{64D70434-58D3-39D6-BF73-A9892EFC1512}'] function _Getin1: IJSSVGAnimatedString; function _Gettype_: IJSSVGAnimatedEnumeration; function _Getvalues: IJSSVGAnimatedNumberList; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property values: IJSSVGAnimatedNumberList read _Getvalues; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEColorMatrixElement = class(TJSSVGElement,IJSSVGFEColorMatrixElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Gettype_: IJSSVGAnimatedEnumeration; function _Getvalues: IJSSVGAnimatedNumberList; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; SVG_FECOLORMATRIX_TYPE_MATRIX = 1; SVG_FECOLORMATRIX_TYPE_SATURATE = 2; SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEColorMatrixElement; property in1: IJSSVGAnimatedString read _Getin1; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property values: IJSSVGAnimatedNumberList read _Getvalues; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEComponentTransferElement --------------------------------------------------------------------} IJSSVGFEComponentTransferElement = interface(IJSSVGElement) ['{445F1013-CE98-37AD-B168-2C4B3E99F26F}'] function _Getin1: IJSSVGAnimatedString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEComponentTransferElement = class(TJSSVGElement,IJSSVGFEComponentTransferElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEComponentTransferElement; property in1: IJSSVGAnimatedString read _Getin1; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFECompositeElement --------------------------------------------------------------------} IJSSVGFECompositeElement = interface(IJSSVGElement) ['{C296CF04-3EDE-342A-B74E-A7A14CC8D253}'] function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getoperator_: IJSSVGAnimatedEnumeration; function _Getk1: IJSSVGAnimatedNumber; function _Getk2: IJSSVGAnimatedNumber; function _Getk3: IJSSVGAnimatedNumber; function _Getk4: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property operator_: IJSSVGAnimatedEnumeration read _Getoperator_; property k1: IJSSVGAnimatedNumber read _Getk1; property k2: IJSSVGAnimatedNumber read _Getk2; property k3: IJSSVGAnimatedNumber read _Getk3; property k4: IJSSVGAnimatedNumber read _Getk4; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFECompositeElement = class(TJSSVGElement,IJSSVGFECompositeElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getoperator_: IJSSVGAnimatedEnumeration; function _Getk1: IJSSVGAnimatedNumber; function _Getk2: IJSSVGAnimatedNumber; function _Getk3: IJSSVGAnimatedNumber; function _Getk4: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; SVG_FECOMPOSITE_OPERATOR_OVER = 1; SVG_FECOMPOSITE_OPERATOR_IN = 2; SVG_FECOMPOSITE_OPERATOR_OUT = 3; SVG_FECOMPOSITE_OPERATOR_ATOP = 4; SVG_FECOMPOSITE_OPERATOR_XOR = 5; SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; SVG_FECOMPOSITE_OPERATOR_LIGHTER = 7; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFECompositeElement; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property operator_: IJSSVGAnimatedEnumeration read _Getoperator_; property k1: IJSSVGAnimatedNumber read _Getk1; property k2: IJSSVGAnimatedNumber read _Getk2; property k3: IJSSVGAnimatedNumber read _Getk3; property k4: IJSSVGAnimatedNumber read _Getk4; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEConvolveMatrixElement --------------------------------------------------------------------} IJSSVGFEConvolveMatrixElement = interface(IJSSVGElement) ['{D8A9A7DF-EC48-3A61-BEB9-928610CFE79A}'] function _Getin1: IJSSVGAnimatedString; function _GetorderX: IJSSVGAnimatedInteger; function _GetorderY: IJSSVGAnimatedInteger; function _GetkernelMatrix: IJSSVGAnimatedNumberList; function _Getdivisor: IJSSVGAnimatedNumber; function _Getbias: IJSSVGAnimatedNumber; function _GettargetX: IJSSVGAnimatedInteger; function _GettargetY: IJSSVGAnimatedInteger; function _GetedgeMode: IJSSVGAnimatedEnumeration; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _GetpreserveAlpha: IJSSVGAnimatedBoolean; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property orderX: IJSSVGAnimatedInteger read _GetorderX; property orderY: IJSSVGAnimatedInteger read _GetorderY; property kernelMatrix: IJSSVGAnimatedNumberList read _GetkernelMatrix; property divisor: IJSSVGAnimatedNumber read _Getdivisor; property bias: IJSSVGAnimatedNumber read _Getbias; property targetX: IJSSVGAnimatedInteger read _GettargetX; property targetY: IJSSVGAnimatedInteger read _GettargetY; property edgeMode: IJSSVGAnimatedEnumeration read _GetedgeMode; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property preserveAlpha: IJSSVGAnimatedBoolean read _GetpreserveAlpha; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEConvolveMatrixElement = class(TJSSVGElement,IJSSVGFEConvolveMatrixElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _GetorderX: IJSSVGAnimatedInteger; function _GetorderY: IJSSVGAnimatedInteger; function _GetkernelMatrix: IJSSVGAnimatedNumberList; function _Getdivisor: IJSSVGAnimatedNumber; function _Getbias: IJSSVGAnimatedNumber; function _GettargetX: IJSSVGAnimatedInteger; function _GettargetY: IJSSVGAnimatedInteger; function _GetedgeMode: IJSSVGAnimatedEnumeration; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _GetpreserveAlpha: IJSSVGAnimatedBoolean; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_EDGEMODE_UNKNOWN = 0; SVG_EDGEMODE_DUPLICATE = 1; SVG_EDGEMODE_WRAP = 2; SVG_EDGEMODE_NONE = 3; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEConvolveMatrixElement; property in1: IJSSVGAnimatedString read _Getin1; property orderX: IJSSVGAnimatedInteger read _GetorderX; property orderY: IJSSVGAnimatedInteger read _GetorderY; property kernelMatrix: IJSSVGAnimatedNumberList read _GetkernelMatrix; property divisor: IJSSVGAnimatedNumber read _Getdivisor; property bias: IJSSVGAnimatedNumber read _Getbias; property targetX: IJSSVGAnimatedInteger read _GettargetX; property targetY: IJSSVGAnimatedInteger read _GettargetY; property edgeMode: IJSSVGAnimatedEnumeration read _GetedgeMode; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property preserveAlpha: IJSSVGAnimatedBoolean read _GetpreserveAlpha; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEDiffuseLightingElement --------------------------------------------------------------------} IJSSVGFEDiffuseLightingElement = interface(IJSSVGElement) ['{64C69F55-CAF8-378A-A8C8-32FC3A95F8C8}'] function _Getin1: IJSSVGAnimatedString; function _GetsurfaceScale: IJSSVGAnimatedNumber; function _GetdiffuseConstant: IJSSVGAnimatedNumber; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property surfaceScale: IJSSVGAnimatedNumber read _GetsurfaceScale; property diffuseConstant: IJSSVGAnimatedNumber read _GetdiffuseConstant; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEDiffuseLightingElement = class(TJSSVGElement,IJSSVGFEDiffuseLightingElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _GetsurfaceScale: IJSSVGAnimatedNumber; function _GetdiffuseConstant: IJSSVGAnimatedNumber; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEDiffuseLightingElement; property in1: IJSSVGAnimatedString read _Getin1; property surfaceScale: IJSSVGAnimatedNumber read _GetsurfaceScale; property diffuseConstant: IJSSVGAnimatedNumber read _GetdiffuseConstant; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEDisplacementMapElement --------------------------------------------------------------------} IJSSVGFEDisplacementMapElement = interface(IJSSVGElement) ['{CAE55E19-E0F1-301C-8E00-023668818FCB}'] function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getscale: IJSSVGAnimatedNumber; function _GetxChannelSelector: IJSSVGAnimatedEnumeration; function _GetyChannelSelector: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property scale: IJSSVGAnimatedNumber read _Getscale; property xChannelSelector: IJSSVGAnimatedEnumeration read _GetxChannelSelector; property yChannelSelector: IJSSVGAnimatedEnumeration read _GetyChannelSelector; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEDisplacementMapElement = class(TJSSVGElement,IJSSVGFEDisplacementMapElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getin2: IJSSVGAnimatedString; function _Getscale: IJSSVGAnimatedNumber; function _GetxChannelSelector: IJSSVGAnimatedEnumeration; function _GetyChannelSelector: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_CHANNEL_UNKNOWN = 0; SVG_CHANNEL_R = 1; SVG_CHANNEL_G = 2; SVG_CHANNEL_B = 3; SVG_CHANNEL_A = 4; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEDisplacementMapElement; property in1: IJSSVGAnimatedString read _Getin1; property in2: IJSSVGAnimatedString read _Getin2; property scale: IJSSVGAnimatedNumber read _Getscale; property xChannelSelector: IJSSVGAnimatedEnumeration read _GetxChannelSelector; property yChannelSelector: IJSSVGAnimatedEnumeration read _GetyChannelSelector; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEDistantLightElement --------------------------------------------------------------------} IJSSVGFEDistantLightElement = interface(IJSSVGElement) ['{ED5AB932-09D3-3E26-9A02-B4C51121A70F}'] function _Getazimuth: IJSSVGAnimatedNumber; function _Getelevation: IJSSVGAnimatedNumber; property azimuth: IJSSVGAnimatedNumber read _Getazimuth; property elevation: IJSSVGAnimatedNumber read _Getelevation; end; TJSSVGFEDistantLightElement = class(TJSSVGElement,IJSSVGFEDistantLightElement) Private Protected function _Getazimuth: IJSSVGAnimatedNumber; function _Getelevation: IJSSVGAnimatedNumber; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEDistantLightElement; property azimuth: IJSSVGAnimatedNumber read _Getazimuth; property elevation: IJSSVGAnimatedNumber read _Getelevation; end; { -------------------------------------------------------------------- TJSSVGFEDropShadowElement --------------------------------------------------------------------} IJSSVGFEDropShadowElement = interface(IJSSVGElement) ['{902A8271-761F-33EA-BAFD-36FC51052AFF}'] function _Getin1: IJSSVGAnimatedString; function _Getdx: IJSSVGAnimatedNumber; function _Getdy: IJSSVGAnimatedNumber; function _GetstdDeviationX: IJSSVGAnimatedNumber; function _GetstdDeviationY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; procedure setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); property in1: IJSSVGAnimatedString read _Getin1; property dx: IJSSVGAnimatedNumber read _Getdx; property dy: IJSSVGAnimatedNumber read _Getdy; property stdDeviationX: IJSSVGAnimatedNumber read _GetstdDeviationX; property stdDeviationY: IJSSVGAnimatedNumber read _GetstdDeviationY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEDropShadowElement = class(TJSSVGElement,IJSSVGFEDropShadowElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getdx: IJSSVGAnimatedNumber; function _Getdy: IJSSVGAnimatedNumber; function _GetstdDeviationX: IJSSVGAnimatedNumber; function _GetstdDeviationY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public procedure setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEDropShadowElement; property in1: IJSSVGAnimatedString read _Getin1; property dx: IJSSVGAnimatedNumber read _Getdx; property dy: IJSSVGAnimatedNumber read _Getdy; property stdDeviationX: IJSSVGAnimatedNumber read _GetstdDeviationX; property stdDeviationY: IJSSVGAnimatedNumber read _GetstdDeviationY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEFloodElement --------------------------------------------------------------------} IJSSVGFEFloodElement = interface(IJSSVGElement) ['{2D459D1A-FCB8-33A4-9A70-FFC2F4915531}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEFloodElement = class(TJSSVGElement,IJSSVGFEFloodElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEFloodElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEGaussianBlurElement --------------------------------------------------------------------} IJSSVGFEGaussianBlurElement = interface(IJSSVGElement) ['{DA1AE0D2-3174-3121-928A-BBDE5E9C2523}'] function _Getin1: IJSSVGAnimatedString; function _GetstdDeviationX: IJSSVGAnimatedNumber; function _GetstdDeviationY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; procedure setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); property in1: IJSSVGAnimatedString read _Getin1; property stdDeviationX: IJSSVGAnimatedNumber read _GetstdDeviationX; property stdDeviationY: IJSSVGAnimatedNumber read _GetstdDeviationY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEGaussianBlurElement = class(TJSSVGElement,IJSSVGFEGaussianBlurElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _GetstdDeviationX: IJSSVGAnimatedNumber; function _GetstdDeviationY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public procedure setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEGaussianBlurElement; property in1: IJSSVGAnimatedString read _Getin1; property stdDeviationX: IJSSVGAnimatedNumber read _GetstdDeviationX; property stdDeviationY: IJSSVGAnimatedNumber read _GetstdDeviationY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEImageElement --------------------------------------------------------------------} IJSSVGFEImageElement = interface(IJSSVGElement) ['{2726B8F5-1BC3-318D-9A11-8BFC4612C1F3}'] function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetcrossOrigin: UnicodeString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; function _Gethref: IJSSVGAnimatedString; procedure _SetcrossOrigin(const aValue: UnicodeString); property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGFEImageElement = class(TJSSVGElement,IJSSVGFEImageElement) Private Protected function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetcrossOrigin: UnicodeString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; function _Gethref: IJSSVGAnimatedString; procedure _SetcrossOrigin(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEImageElement; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGFEMergeElement --------------------------------------------------------------------} IJSSVGFEMergeElement = interface(IJSSVGElement) ['{2D459D1A-FEED-3A23-9A70-FFC2F4915531}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEMergeElement = class(TJSSVGElement,IJSSVGFEMergeElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEMergeElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEMergeNodeElement --------------------------------------------------------------------} IJSSVGFEMergeNodeElement = interface(IJSSVGElement) ['{B6A3281B-BD1E-335D-BDC1-B502D0B08164}'] function _Getin1: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; end; TJSSVGFEMergeNodeElement = class(TJSSVGElement,IJSSVGFEMergeNodeElement) Private Protected function _Getin1: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEMergeNodeElement; property in1: IJSSVGAnimatedString read _Getin1; end; { -------------------------------------------------------------------- TJSSVGFEMorphologyElement --------------------------------------------------------------------} IJSSVGFEMorphologyElement = interface(IJSSVGElement) ['{A0F92B98-EA27-36E2-994F-15F9BF6AA8B7}'] function _Getin1: IJSSVGAnimatedString; function _Getoperator_: IJSSVGAnimatedEnumeration; function _GetradiusX: IJSSVGAnimatedNumber; function _GetradiusY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property operator_: IJSSVGAnimatedEnumeration read _Getoperator_; property radiusX: IJSSVGAnimatedNumber read _GetradiusX; property radiusY: IJSSVGAnimatedNumber read _GetradiusY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEMorphologyElement = class(TJSSVGElement,IJSSVGFEMorphologyElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getoperator_: IJSSVGAnimatedEnumeration; function _GetradiusX: IJSSVGAnimatedNumber; function _GetradiusY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; SVG_MORPHOLOGY_OPERATOR_ERODE = 1; SVG_MORPHOLOGY_OPERATOR_DILATE = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEMorphologyElement; property in1: IJSSVGAnimatedString read _Getin1; property operator_: IJSSVGAnimatedEnumeration read _Getoperator_; property radiusX: IJSSVGAnimatedNumber read _GetradiusX; property radiusY: IJSSVGAnimatedNumber read _GetradiusY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEOffsetElement --------------------------------------------------------------------} IJSSVGFEOffsetElement = interface(IJSSVGElement) ['{B651393A-8CB9-34CE-AD14-D59A61CE702A}'] function _Getin1: IJSSVGAnimatedString; function _Getdx: IJSSVGAnimatedNumber; function _Getdy: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property dx: IJSSVGAnimatedNumber read _Getdx; property dy: IJSSVGAnimatedNumber read _Getdy; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFEOffsetElement = class(TJSSVGElement,IJSSVGFEOffsetElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getdx: IJSSVGAnimatedNumber; function _Getdy: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEOffsetElement; property in1: IJSSVGAnimatedString read _Getin1; property dx: IJSSVGAnimatedNumber read _Getdx; property dy: IJSSVGAnimatedNumber read _Getdy; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFEPointLightElement --------------------------------------------------------------------} IJSSVGFEPointLightElement = interface(IJSSVGElement) ['{5DF872F1-4C70-3907-AACA-A7DD81FA8E8D}'] function _Getx: IJSSVGAnimatedNumber; function _Gety: IJSSVGAnimatedNumber; function _Getz: IJSSVGAnimatedNumber; property x: IJSSVGAnimatedNumber read _Getx; property y: IJSSVGAnimatedNumber read _Gety; property z: IJSSVGAnimatedNumber read _Getz; end; TJSSVGFEPointLightElement = class(TJSSVGElement,IJSSVGFEPointLightElement) Private Protected function _Getx: IJSSVGAnimatedNumber; function _Gety: IJSSVGAnimatedNumber; function _Getz: IJSSVGAnimatedNumber; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEPointLightElement; property x: IJSSVGAnimatedNumber read _Getx; property y: IJSSVGAnimatedNumber read _Gety; property z: IJSSVGAnimatedNumber read _Getz; end; { -------------------------------------------------------------------- TJSSVGFESpecularLightingElement --------------------------------------------------------------------} IJSSVGFESpecularLightingElement = interface(IJSSVGElement) ['{E1011916-452D-3599-8141-D978A0E5467B}'] function _Getin1: IJSSVGAnimatedString; function _GetsurfaceScale: IJSSVGAnimatedNumber; function _GetspecularConstant: IJSSVGAnimatedNumber; function _GetspecularExponent: IJSSVGAnimatedNumber; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property surfaceScale: IJSSVGAnimatedNumber read _GetsurfaceScale; property specularConstant: IJSSVGAnimatedNumber read _GetspecularConstant; property specularExponent: IJSSVGAnimatedNumber read _GetspecularExponent; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFESpecularLightingElement = class(TJSSVGElement,IJSSVGFESpecularLightingElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _GetsurfaceScale: IJSSVGAnimatedNumber; function _GetspecularConstant: IJSSVGAnimatedNumber; function _GetspecularExponent: IJSSVGAnimatedNumber; function _GetkernelUnitLengthX: IJSSVGAnimatedNumber; function _GetkernelUnitLengthY: IJSSVGAnimatedNumber; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFESpecularLightingElement; property in1: IJSSVGAnimatedString read _Getin1; property surfaceScale: IJSSVGAnimatedNumber read _GetsurfaceScale; property specularConstant: IJSSVGAnimatedNumber read _GetspecularConstant; property specularExponent: IJSSVGAnimatedNumber read _GetspecularExponent; property kernelUnitLengthX: IJSSVGAnimatedNumber read _GetkernelUnitLengthX; property kernelUnitLengthY: IJSSVGAnimatedNumber read _GetkernelUnitLengthY; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFESpotLightElement --------------------------------------------------------------------} IJSSVGFESpotLightElement = interface(IJSSVGElement) ['{614E2A4C-B223-3DF6-9786-D78534CCA5A1}'] function _Getx: IJSSVGAnimatedNumber; function _Gety: IJSSVGAnimatedNumber; function _Getz: IJSSVGAnimatedNumber; function _GetpointsAtX: IJSSVGAnimatedNumber; function _GetpointsAtY: IJSSVGAnimatedNumber; function _GetpointsAtZ: IJSSVGAnimatedNumber; function _GetspecularExponent: IJSSVGAnimatedNumber; function _GetlimitingConeAngle: IJSSVGAnimatedNumber; property x: IJSSVGAnimatedNumber read _Getx; property y: IJSSVGAnimatedNumber read _Gety; property z: IJSSVGAnimatedNumber read _Getz; property pointsAtX: IJSSVGAnimatedNumber read _GetpointsAtX; property pointsAtY: IJSSVGAnimatedNumber read _GetpointsAtY; property pointsAtZ: IJSSVGAnimatedNumber read _GetpointsAtZ; property specularExponent: IJSSVGAnimatedNumber read _GetspecularExponent; property limitingConeAngle: IJSSVGAnimatedNumber read _GetlimitingConeAngle; end; TJSSVGFESpotLightElement = class(TJSSVGElement,IJSSVGFESpotLightElement) Private Protected function _Getx: IJSSVGAnimatedNumber; function _Gety: IJSSVGAnimatedNumber; function _Getz: IJSSVGAnimatedNumber; function _GetpointsAtX: IJSSVGAnimatedNumber; function _GetpointsAtY: IJSSVGAnimatedNumber; function _GetpointsAtZ: IJSSVGAnimatedNumber; function _GetspecularExponent: IJSSVGAnimatedNumber; function _GetlimitingConeAngle: IJSSVGAnimatedNumber; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFESpotLightElement; property x: IJSSVGAnimatedNumber read _Getx; property y: IJSSVGAnimatedNumber read _Gety; property z: IJSSVGAnimatedNumber read _Getz; property pointsAtX: IJSSVGAnimatedNumber read _GetpointsAtX; property pointsAtY: IJSSVGAnimatedNumber read _GetpointsAtY; property pointsAtZ: IJSSVGAnimatedNumber read _GetpointsAtZ; property specularExponent: IJSSVGAnimatedNumber read _GetspecularExponent; property limitingConeAngle: IJSSVGAnimatedNumber read _GetlimitingConeAngle; end; { -------------------------------------------------------------------- TJSSVGFETileElement --------------------------------------------------------------------} IJSSVGFETileElement = interface(IJSSVGElement) ['{C0E250EF-F641-3014-9C6E-79E699CF4FF7}'] function _Getin1: IJSSVGAnimatedString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property in1: IJSSVGAnimatedString read _Getin1; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFETileElement = class(TJSSVGElement,IJSSVGFETileElement) Private Protected function _Getin1: IJSSVGAnimatedString; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFETileElement; property in1: IJSSVGAnimatedString read _Getin1; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFETurbulenceElement --------------------------------------------------------------------} IJSSVGFETurbulenceElement = interface(IJSSVGElement) ['{FDA993FC-8BDB-3916-AE38-8865EB1A8B3E}'] function _GetbaseFrequencyX: IJSSVGAnimatedNumber; function _GetbaseFrequencyY: IJSSVGAnimatedNumber; function _GetnumOctaves: IJSSVGAnimatedInteger; function _Getseed: IJSSVGAnimatedNumber; function _GetstitchTiles: IJSSVGAnimatedEnumeration; function _Gettype_: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; property baseFrequencyX: IJSSVGAnimatedNumber read _GetbaseFrequencyX; property baseFrequencyY: IJSSVGAnimatedNumber read _GetbaseFrequencyY; property numOctaves: IJSSVGAnimatedInteger read _GetnumOctaves; property seed: IJSSVGAnimatedNumber read _Getseed; property stitchTiles: IJSSVGAnimatedEnumeration read _GetstitchTiles; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; TJSSVGFETurbulenceElement = class(TJSSVGElement,IJSSVGFETurbulenceElement) Private Protected function _GetbaseFrequencyX: IJSSVGAnimatedNumber; function _GetbaseFrequencyY: IJSSVGAnimatedNumber; function _GetnumOctaves: IJSSVGAnimatedInteger; function _Getseed: IJSSVGAnimatedNumber; function _GetstitchTiles: IJSSVGAnimatedEnumeration; function _Gettype_: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getresult: IJSSVGAnimatedString; Public Const SVG_TURBULENCE_TYPE_UNKNOWN = 0; SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; SVG_TURBULENCE_TYPE_TURBULENCE = 2; SVG_STITCHTYPE_UNKNOWN = 0; SVG_STITCHTYPE_STITCH = 1; SVG_STITCHTYPE_NOSTITCH = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFETurbulenceElement; property baseFrequencyX: IJSSVGAnimatedNumber read _GetbaseFrequencyX; property baseFrequencyY: IJSSVGAnimatedNumber read _GetbaseFrequencyY; property numOctaves: IJSSVGAnimatedInteger read _GetnumOctaves; property seed: IJSSVGAnimatedNumber read _Getseed; property stitchTiles: IJSSVGAnimatedEnumeration read _GetstitchTiles; property type_: IJSSVGAnimatedEnumeration read _Gettype_; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property result: IJSSVGAnimatedString read _Getresult; end; { -------------------------------------------------------------------- TJSSVGFilterElement --------------------------------------------------------------------} IJSSVGFilterElement = interface(IJSSVGElement) ['{65125FF9-B2FE-337E-A8D9-95D1D607542C}'] function _GetfilterUnits: IJSSVGAnimatedEnumeration; function _GetprimitiveUnits: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Gethref: IJSSVGAnimatedString; property filterUnits: IJSSVGAnimatedEnumeration read _GetfilterUnits; property primitiveUnits: IJSSVGAnimatedEnumeration read _GetprimitiveUnits; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGFilterElement = class(TJSSVGElement,IJSSVGFilterElement) Private Protected function _GetfilterUnits: IJSSVGAnimatedEnumeration; function _GetprimitiveUnits: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Gethref: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFilterElement; property filterUnits: IJSSVGAnimatedEnumeration read _GetfilterUnits; property primitiveUnits: IJSSVGAnimatedEnumeration read _GetprimitiveUnits; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGGradientElement --------------------------------------------------------------------} IJSSVGGradientElement = interface(IJSSVGElement) ['{507B4D87-96C0-3C95-89F5-21C1188CBF99}'] function _GetgradientUnits: IJSSVGAnimatedEnumeration; function _GetgradientTransform: IJSSVGAnimatedTransformList; function _GetspreadMethod: IJSSVGAnimatedEnumeration; function _Gethref: IJSSVGAnimatedString; property gradientUnits: IJSSVGAnimatedEnumeration read _GetgradientUnits; property gradientTransform: IJSSVGAnimatedTransformList read _GetgradientTransform; property spreadMethod: IJSSVGAnimatedEnumeration read _GetspreadMethod; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGGradientElement = class(TJSSVGElement,IJSSVGGradientElement) Private Protected function _GetgradientUnits: IJSSVGAnimatedEnumeration; function _GetgradientTransform: IJSSVGAnimatedTransformList; function _GetspreadMethod: IJSSVGAnimatedEnumeration; function _Gethref: IJSSVGAnimatedString; Public Const SVG_SPREADMETHOD_UNKNOWN = 0; SVG_SPREADMETHOD_PAD = 1; SVG_SPREADMETHOD_REFLECT = 2; SVG_SPREADMETHOD_REPEAT = 3; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGGradientElement; property gradientUnits: IJSSVGAnimatedEnumeration read _GetgradientUnits; property gradientTransform: IJSSVGAnimatedTransformList read _GetgradientTransform; property spreadMethod: IJSSVGAnimatedEnumeration read _GetspreadMethod; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGGraphicsElement --------------------------------------------------------------------} IJSSVGGraphicsElement = interface(IJSSVGElement) ['{7271D01F-8AD2-33C3-987D-3C997B541795}'] function _Gettransform: IJSSVGAnimatedTransformList; function _GetnearestViewportElement: IJSSVGElement; function _GetfarthestViewportElement: IJSSVGElement; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; function getBBox(const aAOptions: IJSSVGBoundingBoxOptions): IJSSVGRect; function getBBox: IJSSVGRect; function getCTM: IJSSVGMatrix; function getScreenCTM: IJSSVGMatrix; property transform: IJSSVGAnimatedTransformList read _Gettransform; property nearestViewportElement: IJSSVGElement read _GetnearestViewportElement; property farthestViewportElement: IJSSVGElement read _GetfarthestViewportElement; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; TJSSVGGraphicsElement = class(TJSSVGElement,IJSSVGGraphicsElement) Private Protected function _Gettransform: IJSSVGAnimatedTransformList; function _GetnearestViewportElement: IJSSVGElement; function _GetfarthestViewportElement: IJSSVGElement; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; Public function getBBox(const aAOptions: IJSSVGBoundingBoxOptions): IJSSVGRect; overload; function getBBox: IJSSVGRect; overload; function getCTM: IJSSVGMatrix; overload; function getScreenCTM: IJSSVGMatrix; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGGraphicsElement; property transform: IJSSVGAnimatedTransformList read _Gettransform; property nearestViewportElement: IJSSVGElement read _GetnearestViewportElement; property farthestViewportElement: IJSSVGElement read _GetfarthestViewportElement; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; { -------------------------------------------------------------------- TJSSVGMarkerElement --------------------------------------------------------------------} IJSSVGMarkerElement = interface(IJSSVGElement) ['{ECA18AC6-5EA1-3D01-8758-D49D6A5D0493}'] function _GetrefX: IJSSVGAnimatedLength; function _GetrefY: IJSSVGAnimatedLength; function _GetmarkerUnits: IJSSVGAnimatedEnumeration; function _GetmarkerWidth: IJSSVGAnimatedLength; function _GetmarkerHeight: IJSSVGAnimatedLength; function _GetorientType: IJSSVGAnimatedEnumeration; function _GetorientAngle: IJSSVGAnimatedAngle; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; procedure setOrientToAuto; procedure setOrientToAngle(aAngle: IJSSVGAngle); property refX: IJSSVGAnimatedLength read _GetrefX; property refY: IJSSVGAnimatedLength read _GetrefY; property markerUnits: IJSSVGAnimatedEnumeration read _GetmarkerUnits; property markerWidth: IJSSVGAnimatedLength read _GetmarkerWidth; property markerHeight: IJSSVGAnimatedLength read _GetmarkerHeight; property orientType: IJSSVGAnimatedEnumeration read _GetorientType; property orientAngle: IJSSVGAnimatedAngle read _GetorientAngle; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; end; TJSSVGMarkerElement = class(TJSSVGElement,IJSSVGMarkerElement) Private Protected function _GetrefX: IJSSVGAnimatedLength; function _GetrefY: IJSSVGAnimatedLength; function _GetmarkerUnits: IJSSVGAnimatedEnumeration; function _GetmarkerWidth: IJSSVGAnimatedLength; function _GetmarkerHeight: IJSSVGAnimatedLength; function _GetorientType: IJSSVGAnimatedEnumeration; function _GetorientAngle: IJSSVGAnimatedAngle; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; Public Const SVG_MARKERUNITS_UNKNOWN = 0; SVG_MARKERUNITS_USERSPACEONUSE = 1; SVG_MARKERUNITS_STROKEWIDTH = 2; SVG_MARKER_ORIENT_UNKNOWN = 0; SVG_MARKER_ORIENT_AUTO = 1; SVG_MARKER_ORIENT_ANGLE = 2; SVG_MARKER_ORIENT_AUTO_START_REVERSE = 3; Public procedure setOrientToAuto; overload; procedure setOrientToAngle(aAngle: IJSSVGAngle); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGMarkerElement; property refX: IJSSVGAnimatedLength read _GetrefX; property refY: IJSSVGAnimatedLength read _GetrefY; property markerUnits: IJSSVGAnimatedEnumeration read _GetmarkerUnits; property markerWidth: IJSSVGAnimatedLength read _GetmarkerWidth; property markerHeight: IJSSVGAnimatedLength read _GetmarkerHeight; property orientType: IJSSVGAnimatedEnumeration read _GetorientType; property orientAngle: IJSSVGAnimatedAngle read _GetorientAngle; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; end; { -------------------------------------------------------------------- TJSSVGMaskElement --------------------------------------------------------------------} IJSSVGMaskElement = interface(IJSSVGElement) ['{AAD095AE-24F4-3AE9-9616-A8EB2D0B4F5B}'] function _GetmaskUnits: IJSSVGAnimatedEnumeration; function _GetmaskContentUnits: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; property maskUnits: IJSSVGAnimatedEnumeration read _GetmaskUnits; property maskContentUnits: IJSSVGAnimatedEnumeration read _GetmaskContentUnits; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; end; TJSSVGMaskElement = class(TJSSVGElement,IJSSVGMaskElement) Private Protected function _GetmaskUnits: IJSSVGAnimatedEnumeration; function _GetmaskContentUnits: IJSSVGAnimatedEnumeration; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; Public Const SVG_MASKTYPE_LUMINANCE = 0; SVG_MASKTYPE_ALPHA = 1; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGMaskElement; property maskUnits: IJSSVGAnimatedEnumeration read _GetmaskUnits; property maskContentUnits: IJSSVGAnimatedEnumeration read _GetmaskContentUnits; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; end; { -------------------------------------------------------------------- TJSSVGMetadataElement --------------------------------------------------------------------} IJSSVGMetadataElement = interface(IJSSVGElement) ['{C8B4FFA8-374E-3721-934F-131261302063}'] end; TJSSVGMetadataElement = class(TJSSVGElement,IJSSVGMetadataElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGMetadataElement; end; { -------------------------------------------------------------------- TJSSVGMPathElement --------------------------------------------------------------------} IJSSVGMPathElement = interface(IJSSVGElement) ['{754D95F8-74DB-38FB-83DF-C4181699DD54}'] function _Gethref: IJSSVGAnimatedString; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGMPathElement = class(TJSSVGElement,IJSSVGMPathElement) Private Protected function _Gethref: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGMPathElement; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGPatternElement --------------------------------------------------------------------} IJSSVGPatternElement = interface(IJSSVGElement) ['{AE74AAA7-EE08-36A9-AD86-E2060DC759F6}'] function _GetpatternUnits: IJSSVGAnimatedEnumeration; function _GetpatternContentUnits: IJSSVGAnimatedEnumeration; function _GetpatternTransform: IJSSVGAnimatedTransformList; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _Gethref: IJSSVGAnimatedString; property patternUnits: IJSSVGAnimatedEnumeration read _GetpatternUnits; property patternContentUnits: IJSSVGAnimatedEnumeration read _GetpatternContentUnits; property patternTransform: IJSSVGAnimatedTransformList read _GetpatternTransform; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGPatternElement = class(TJSSVGElement,IJSSVGPatternElement) Private Protected function _GetpatternUnits: IJSSVGAnimatedEnumeration; function _GetpatternContentUnits: IJSSVGAnimatedEnumeration; function _GetpatternTransform: IJSSVGAnimatedTransformList; function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _Gethref: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPatternElement; property patternUnits: IJSSVGAnimatedEnumeration read _GetpatternUnits; property patternContentUnits: IJSSVGAnimatedEnumeration read _GetpatternContentUnits; property patternTransform: IJSSVGAnimatedTransformList read _GetpatternTransform; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGScriptElement --------------------------------------------------------------------} IJSSVGScriptElement = interface(IJSSVGElement) ['{8092242C-0050-34A4-A1D4-E0B384418477}'] function _Gettype_: UnicodeString; function _Getasync: Boolean; function _Getdefer: Boolean; function _GetcrossOrigin: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _Settype_(const aValue: UnicodeString); procedure _Setasync(const aValue: Boolean); procedure _Setdefer(const aValue: Boolean); procedure _SetcrossOrigin(const aValue: UnicodeString); property type_: UnicodeString read _Gettype_ write _Settype_; property async: Boolean read _Getasync write _Setasync; property defer: Boolean read _Getdefer write _Setdefer; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGScriptElement = class(TJSSVGElement,IJSSVGScriptElement) Private Protected function _Gettype_: UnicodeString; function _Getasync: Boolean; function _Getdefer: Boolean; function _GetcrossOrigin: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _Settype_(const aValue: UnicodeString); procedure _Setasync(const aValue: Boolean); procedure _Setdefer(const aValue: Boolean); procedure _SetcrossOrigin(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGScriptElement; property type_: UnicodeString read _Gettype_ write _Settype_; property async: Boolean read _Getasync write _Setasync; property defer: Boolean read _Getdefer write _Setdefer; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGStopElement --------------------------------------------------------------------} IJSSVGStopElement = interface(IJSSVGElement) ['{FFE48BB4-D905-3F32-9A72-656AF28C323A}'] function _Getoffset: IJSSVGAnimatedNumber; property offset: IJSSVGAnimatedNumber read _Getoffset; end; TJSSVGStopElement = class(TJSSVGElement,IJSSVGStopElement) Private Protected function _Getoffset: IJSSVGAnimatedNumber; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGStopElement; property offset: IJSSVGAnimatedNumber read _Getoffset; end; { -------------------------------------------------------------------- TJSSVGStyleElement --------------------------------------------------------------------} IJSSVGStyleElement = interface(IJSSVGElement) ['{CAA4CDE4-195A-34F0-8969-E0991240039B}'] function _Getdisabled: Boolean; function _Gettype_: UnicodeString; function _Getmedia: UnicodeString; function _Gettitle: UnicodeString; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Settype_(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Settitle(const aValue: UnicodeString); property disabled: Boolean read _Getdisabled write _Setdisabled; property type_: UnicodeString read _Gettype_ write _Settype_; property media: UnicodeString read _Getmedia write _Setmedia; property title: UnicodeString read _Gettitle write _Settitle; property sheet: IJSStyleSheet read _Getsheet; end; TJSSVGStyleElement = class(TJSSVGElement,IJSSVGStyleElement) Private Protected function _Getdisabled: Boolean; function _Gettype_: UnicodeString; function _Getmedia: UnicodeString; function _Gettitle: UnicodeString; function _Getsheet: IJSStyleSheet; procedure _Setdisabled(const aValue: Boolean); procedure _Settype_(const aValue: UnicodeString); procedure _Setmedia(const aValue: UnicodeString); procedure _Settitle(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGStyleElement; property disabled: Boolean read _Getdisabled write _Setdisabled; property type_: UnicodeString read _Gettype_ write _Settype_; property media: UnicodeString read _Getmedia write _Setmedia; property title: UnicodeString read _Gettitle write _Settitle; property sheet: IJSStyleSheet read _Getsheet; end; { -------------------------------------------------------------------- TJSSVGSymbolElement --------------------------------------------------------------------} IJSSVGSymbolElement = interface(IJSSVGElement) ['{806DCD11-90BA-365D-AE33-E9909B6BDB4E}'] function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; TJSSVGSymbolElement = class(TJSSVGElement,IJSSVGSymbolElement) Private Protected function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetrequiredExtensions: IJSSVGStringList; function _GetsystemLanguage: IJSSVGStringList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGSymbolElement; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property requiredExtensions: IJSSVGStringList read _GetrequiredExtensions; property systemLanguage: IJSSVGStringList read _GetsystemLanguage; end; { -------------------------------------------------------------------- TJSSVGTitleElement --------------------------------------------------------------------} IJSSVGTitleElement = interface(IJSSVGElement) ['{AC6C746F-4E27-3228-8686-B09810B13444}'] end; TJSSVGTitleElement = class(TJSSVGElement,IJSSVGTitleElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTitleElement; end; { -------------------------------------------------------------------- TJSSVGViewElement --------------------------------------------------------------------} IJSSVGViewElement = interface(IJSSVGElement) ['{2AC25D90-23CD-3D62-96E9-DEEDEB2D8AE2}'] function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetzoomAndPan: Word; procedure _SetzoomAndPan(const aValue: Word); property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; TJSSVGViewElement = class(TJSSVGElement,IJSSVGViewElement) Private Protected function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetzoomAndPan: Word; procedure _SetzoomAndPan(const aValue: Word); Public Const SVG_ZOOMANDPAN_UNKNOWN = 0; SVG_ZOOMANDPAN_DISABLE = 1; SVG_ZOOMANDPAN_MAGNIFY = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGViewElement; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; { -------------------------------------------------------------------- TJSHTMLAudioElement --------------------------------------------------------------------} IJSHTMLAudioElement = interface(IJSHTMLMediaElement) ['{2A75E7BD-1CEC-324F-894E-1B9C5A1AD224}'] end; TJSHTMLAudioElement = class(TJSHTMLMediaElement,IJSHTMLAudioElement) Private Protected Public constructor Create; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLAudioElement; end; { -------------------------------------------------------------------- TJSHTMLVideoElement --------------------------------------------------------------------} IJSHTMLVideoElement = interface(IJSHTMLMediaElement) ['{77665993-54F8-32EE-B7B3-AF5234B37D21}'] function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetvideoWidth: Cardinal; function _GetvideoHeight: Cardinal; function _Getposter: UnicodeString; function _GetmozParsedFrames: Cardinal; function _GetmozDecodedFrames: Cardinal; function _GetmozPresentedFrames: Cardinal; function _GetmozPaintedFrames: Cardinal; function _GetmozFrameDelay: Double; function _GetmozHasAudio: Boolean; function _GetisCloningElementVisually: Boolean; function _GetdisablePictureInPicture: Boolean; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setposter(const aValue: UnicodeString); procedure _SetdisablePictureInPicture(const aValue: Boolean); function cloneElementVisually(aTarget: IJSHTMLVideoElement): IJSPromise; // Promise procedure stopCloningElementVisually; function getVideoPlaybackQuality: IJSVideoPlaybackQuality; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property videoWidth: Cardinal read _GetvideoWidth; property videoHeight: Cardinal read _GetvideoHeight; property poster: UnicodeString read _Getposter write _Setposter; property mozParsedFrames: Cardinal read _GetmozParsedFrames; property mozDecodedFrames: Cardinal read _GetmozDecodedFrames; property mozPresentedFrames: Cardinal read _GetmozPresentedFrames; property mozPaintedFrames: Cardinal read _GetmozPaintedFrames; property mozFrameDelay: Double read _GetmozFrameDelay; property mozHasAudio: Boolean read _GetmozHasAudio; property isCloningElementVisually: Boolean read _GetisCloningElementVisually; property disablePictureInPicture: Boolean read _GetdisablePictureInPicture write _SetdisablePictureInPicture; end; TJSHTMLVideoElement = class(TJSHTMLMediaElement,IJSHTMLVideoElement) Private Protected function _Getwidth: Cardinal; function _Getheight: Cardinal; function _GetvideoWidth: Cardinal; function _GetvideoHeight: Cardinal; function _Getposter: UnicodeString; function _GetmozParsedFrames: Cardinal; function _GetmozDecodedFrames: Cardinal; function _GetmozPresentedFrames: Cardinal; function _GetmozPaintedFrames: Cardinal; function _GetmozFrameDelay: Double; function _GetmozHasAudio: Boolean; function _GetisCloningElementVisually: Boolean; function _GetdisablePictureInPicture: Boolean; procedure _Setwidth(const aValue: Cardinal); procedure _Setheight(const aValue: Cardinal); procedure _Setposter(const aValue: UnicodeString); procedure _SetdisablePictureInPicture(const aValue: Boolean); Public constructor Create; overload; function cloneElementVisually(aTarget: IJSHTMLVideoElement): IJSPromise; overload; // Promise procedure stopCloningElementVisually; overload; function getVideoPlaybackQuality: IJSVideoPlaybackQuality; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSHTMLVideoElement; property width: Cardinal read _Getwidth write _Setwidth; property height: Cardinal read _Getheight write _Setheight; property videoWidth: Cardinal read _GetvideoWidth; property videoHeight: Cardinal read _GetvideoHeight; property poster: UnicodeString read _Getposter write _Setposter; property mozParsedFrames: Cardinal read _GetmozParsedFrames; property mozDecodedFrames: Cardinal read _GetmozDecodedFrames; property mozPresentedFrames: Cardinal read _GetmozPresentedFrames; property mozPaintedFrames: Cardinal read _GetmozPaintedFrames; property mozFrameDelay: Double read _GetmozFrameDelay; property mozHasAudio: Boolean read _GetmozHasAudio; property isCloningElementVisually: Boolean read _GetisCloningElementVisually; property disablePictureInPicture: Boolean read _GetdisablePictureInPicture write _SetdisablePictureInPicture; end; { -------------------------------------------------------------------- TJSSVGAElement --------------------------------------------------------------------} IJSSVGAElement = interface(IJSSVGGraphicsElement) ['{CDD139CB-ED99-39C4-AA45-6194340D56AB}'] function _Gettarget: IJSSVGAnimatedString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _Gettext: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); property target: IJSSVGAnimatedString read _Gettarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property text: UnicodeString read _Gettext write _Settext; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGAElement = class(TJSSVGGraphicsElement,IJSSVGAElement) Private Protected function _Gettarget: IJSSVGAnimatedString; function _Getdownload: UnicodeString; function _Getping: UnicodeString; function _Getrel: UnicodeString; function _GetreferrerPolicy: UnicodeString; function _GetrelList: IJSDOMTokenList; function _Gethreflang: UnicodeString; function _Gettype_: UnicodeString; function _Gettext: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _Setdownload(const aValue: UnicodeString); procedure _Setping(const aValue: UnicodeString); procedure _Setrel(const aValue: UnicodeString); procedure _SetreferrerPolicy(const aValue: UnicodeString); procedure _Sethreflang(const aValue: UnicodeString); procedure _Settype_(const aValue: UnicodeString); procedure _Settext(const aValue: UnicodeString); Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAElement; property target: IJSSVGAnimatedString read _Gettarget; property download: UnicodeString read _Getdownload write _Setdownload; property ping: UnicodeString read _Getping write _Setping; property rel: UnicodeString read _Getrel write _Setrel; property referrerPolicy: UnicodeString read _GetreferrerPolicy write _SetreferrerPolicy; property relList: IJSDOMTokenList read _GetrelList; property hreflang: UnicodeString read _Gethreflang write _Sethreflang; property type_: UnicodeString read _Gettype_ write _Settype_; property text: UnicodeString read _Gettext write _Settext; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGAnimateElement --------------------------------------------------------------------} IJSSVGAnimateElement = interface(IJSSVGAnimationElement) ['{2DC59449-E03C-3253-826F-A16D0246AC5D}'] end; TJSSVGAnimateElement = class(TJSSVGAnimationElement,IJSSVGAnimateElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimateElement; end; { -------------------------------------------------------------------- TJSSVGAnimateMotionElement --------------------------------------------------------------------} IJSSVGAnimateMotionElement = interface(IJSSVGAnimationElement) ['{644B189C-E3CF-340B-8AB9-CF2418CA85BC}'] end; TJSSVGAnimateMotionElement = class(TJSSVGAnimationElement,IJSSVGAnimateMotionElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimateMotionElement; end; { -------------------------------------------------------------------- TJSSVGAnimateTransformElement --------------------------------------------------------------------} IJSSVGAnimateTransformElement = interface(IJSSVGAnimationElement) ['{6BA37166-1058-334A-B4D3-235B00C32F9C}'] end; TJSSVGAnimateTransformElement = class(TJSSVGAnimationElement,IJSSVGAnimateTransformElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGAnimateTransformElement; end; { -------------------------------------------------------------------- TJSSVGDefsElement --------------------------------------------------------------------} IJSSVGDefsElement = interface(IJSSVGGraphicsElement) ['{488D848E-92BC-3446-9068-B5CE70532914}'] end; TJSSVGDefsElement = class(TJSSVGGraphicsElement,IJSSVGDefsElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGDefsElement; end; { -------------------------------------------------------------------- TJSSVGFEFuncAElement --------------------------------------------------------------------} IJSSVGFEFuncAElement = interface(IJSSVGComponentTransferFunctionElement) ['{44A3FD36-7990-3D7F-8749-AA919B8C26D6}'] end; TJSSVGFEFuncAElement = class(TJSSVGComponentTransferFunctionElement,IJSSVGFEFuncAElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEFuncAElement; end; { -------------------------------------------------------------------- TJSSVGFEFuncBElement --------------------------------------------------------------------} IJSSVGFEFuncBElement = interface(IJSSVGComponentTransferFunctionElement) ['{44A3FD36-7990-3D80-8749-AA919B8C26D6}'] end; TJSSVGFEFuncBElement = class(TJSSVGComponentTransferFunctionElement,IJSSVGFEFuncBElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEFuncBElement; end; { -------------------------------------------------------------------- TJSSVGFEFuncGElement --------------------------------------------------------------------} IJSSVGFEFuncGElement = interface(IJSSVGComponentTransferFunctionElement) ['{44A3FD36-7990-3D82-8749-AA919B8C26D6}'] end; TJSSVGFEFuncGElement = class(TJSSVGComponentTransferFunctionElement,IJSSVGFEFuncGElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEFuncGElement; end; { -------------------------------------------------------------------- TJSSVGFEFuncRElement --------------------------------------------------------------------} IJSSVGFEFuncRElement = interface(IJSSVGComponentTransferFunctionElement) ['{44A3FD36-7990-3D88-8749-AA919B8C26D6}'] end; TJSSVGFEFuncRElement = class(TJSSVGComponentTransferFunctionElement,IJSSVGFEFuncRElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGFEFuncRElement; end; { -------------------------------------------------------------------- TJSSVGForeignObjectElement --------------------------------------------------------------------} IJSSVGForeignObjectElement = interface(IJSSVGGraphicsElement) ['{5397F230-BE20-3D6D-B80F-B4296F8CC34B}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; end; TJSSVGForeignObjectElement = class(TJSSVGGraphicsElement,IJSSVGForeignObjectElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGForeignObjectElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; end; { -------------------------------------------------------------------- TJSSVGGElement --------------------------------------------------------------------} IJSSVGGElement = interface(IJSSVGGraphicsElement) ['{EEE0B1DA-6F23-3834-97E6-38A994887431}'] end; TJSSVGGElement = class(TJSSVGGraphicsElement,IJSSVGGElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGGElement; end; { -------------------------------------------------------------------- TJSSVGGeometryElement --------------------------------------------------------------------} IJSSVGGeometryElement = interface(IJSSVGGraphicsElement) ['{8CC82277-1324-3A06-8BAF-085DF1DA973B}'] function _GetpathLength: IJSSVGAnimatedNumber; function isPointInFill(const aPoint: IJSDOMPointInit): Boolean; function isPointInFill: Boolean; function isPointInStroke(const aPoint: IJSDOMPointInit): Boolean; function isPointInStroke: Boolean; function getTotalLength: Single; function getPointAtLength(aDistance: Single): IJSSVGPoint; property pathLength: IJSSVGAnimatedNumber read _GetpathLength; end; TJSSVGGeometryElement = class(TJSSVGGraphicsElement,IJSSVGGeometryElement) Private Protected function _GetpathLength: IJSSVGAnimatedNumber; Public function isPointInFill(const aPoint: IJSDOMPointInit): Boolean; overload; function isPointInFill: Boolean; overload; function isPointInStroke(const aPoint: IJSDOMPointInit): Boolean; overload; function isPointInStroke: Boolean; overload; function getTotalLength: Single; overload; function getPointAtLength(aDistance: Single): IJSSVGPoint; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGGeometryElement; property pathLength: IJSSVGAnimatedNumber read _GetpathLength; end; { -------------------------------------------------------------------- TJSSVGImageElement --------------------------------------------------------------------} IJSSVGImageElement = interface(IJSSVGGraphicsElement) ['{2A32A24E-8DB9-3377-A58F-2DD2D654DA9E}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetcrossOrigin: UnicodeString; function _Getdecoding: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setdecoding(const aValue: UnicodeString); function decode: IJSPromise; // Promise property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property decoding: UnicodeString read _Getdecoding write _Setdecoding; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGImageElement = class(TJSSVGGraphicsElement,IJSSVGImageElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetcrossOrigin: UnicodeString; function _Getdecoding: UnicodeString; function _Gethref: IJSSVGAnimatedString; procedure _SetcrossOrigin(const aValue: UnicodeString); procedure _Setdecoding(const aValue: UnicodeString); Public function decode: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGImageElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property crossOrigin: UnicodeString read _GetcrossOrigin write _SetcrossOrigin; property decoding: UnicodeString read _Getdecoding write _Setdecoding; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGLinearGradientElement --------------------------------------------------------------------} IJSSVGLinearGradientElement = interface(IJSSVGGradientElement) ['{567E7764-C93B-3E90-B849-F2EDF2A7D0CC}'] function _Getx1: IJSSVGAnimatedLength; function _Gety1: IJSSVGAnimatedLength; function _Getx2: IJSSVGAnimatedLength; function _Gety2: IJSSVGAnimatedLength; property x1: IJSSVGAnimatedLength read _Getx1; property y1: IJSSVGAnimatedLength read _Gety1; property x2: IJSSVGAnimatedLength read _Getx2; property y2: IJSSVGAnimatedLength read _Gety2; end; TJSSVGLinearGradientElement = class(TJSSVGGradientElement,IJSSVGLinearGradientElement) Private Protected function _Getx1: IJSSVGAnimatedLength; function _Gety1: IJSSVGAnimatedLength; function _Getx2: IJSSVGAnimatedLength; function _Gety2: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGLinearGradientElement; property x1: IJSSVGAnimatedLength read _Getx1; property y1: IJSSVGAnimatedLength read _Gety1; property x2: IJSSVGAnimatedLength read _Getx2; property y2: IJSSVGAnimatedLength read _Gety2; end; { -------------------------------------------------------------------- TJSSVGRadialGradientElement --------------------------------------------------------------------} IJSSVGRadialGradientElement = interface(IJSSVGGradientElement) ['{42AC7A92-6FC0-35DA-8A86-EC4B0921C685}'] function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getr: IJSSVGAnimatedLength; function _Getfx: IJSSVGAnimatedLength; function _Getfy: IJSSVGAnimatedLength; function _Getfr: IJSSVGAnimatedLength; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property r: IJSSVGAnimatedLength read _Getr; property fx: IJSSVGAnimatedLength read _Getfx; property fy: IJSSVGAnimatedLength read _Getfy; property fr: IJSSVGAnimatedLength read _Getfr; end; TJSSVGRadialGradientElement = class(TJSSVGGradientElement,IJSSVGRadialGradientElement) Private Protected function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getr: IJSSVGAnimatedLength; function _Getfx: IJSSVGAnimatedLength; function _Getfy: IJSSVGAnimatedLength; function _Getfr: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGRadialGradientElement; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property r: IJSSVGAnimatedLength read _Getr; property fx: IJSSVGAnimatedLength read _Getfx; property fy: IJSSVGAnimatedLength read _Getfy; property fr: IJSSVGAnimatedLength read _Getfr; end; { -------------------------------------------------------------------- TJSSVGSetElement --------------------------------------------------------------------} IJSSVGSetElement = interface(IJSSVGAnimationElement) ['{0C8F88B9-73C3-3537-A2EE-348904E955B2}'] end; TJSSVGSetElement = class(TJSSVGAnimationElement,IJSSVGSetElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGSetElement; end; { -------------------------------------------------------------------- TJSSVGSVGElement --------------------------------------------------------------------} IJSSVGSVGElement = interface(IJSSVGGraphicsElement) ['{F01D36DB-00D7-3525-B575-E27DF20F4068}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetcurrentScale: Single; function _GetcurrentTranslate: IJSSVGPoint; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetzoomAndPan: Word; procedure _SetcurrentScale(const aValue: Single); procedure _SetzoomAndPan(const aValue: Word); function suspendRedraw(aMaxWaitMilliseconds: Cardinal): Cardinal; procedure unsuspendRedraw(aSuspendHandleID: Cardinal); procedure unsuspendRedrawAll; procedure forceRedraw; procedure pauseAnimations; procedure unpauseAnimations; function animationsPaused: Boolean; function getCurrentTime: Single; procedure setCurrentTime(aSeconds: Single); procedure deselectAll; function createSVGNumber: IJSSVGNumber; function createSVGLength: IJSSVGLength; function createSVGAngle: IJSSVGAngle; function createSVGPoint: IJSSVGPoint; function createSVGMatrix: IJSSVGMatrix; function createSVGRect: IJSSVGRect; function createSVGTransform: IJSSVGTransform; function createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; function createSVGTransformFromMatrix: IJSSVGTransform; function getElementById(const aElementId: UnicodeString): IJSElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property currentScale: Single read _GetcurrentScale write _SetcurrentScale; property currentTranslate: IJSSVGPoint read _GetcurrentTranslate; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; TJSSVGSVGElement = class(TJSSVGGraphicsElement,IJSSVGSVGElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _GetcurrentScale: Single; function _GetcurrentTranslate: IJSSVGPoint; function _GetviewBox: IJSSVGAnimatedRect; function _GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; function _GetzoomAndPan: Word; procedure _SetcurrentScale(const aValue: Single); procedure _SetzoomAndPan(const aValue: Word); Public Const SVG_ZOOMANDPAN_UNKNOWN = 0; SVG_ZOOMANDPAN_DISABLE = 1; SVG_ZOOMANDPAN_MAGNIFY = 2; Public function suspendRedraw(aMaxWaitMilliseconds: Cardinal): Cardinal; overload; procedure unsuspendRedraw(aSuspendHandleID: Cardinal); overload; procedure unsuspendRedrawAll; overload; procedure forceRedraw; overload; procedure pauseAnimations; overload; procedure unpauseAnimations; overload; function animationsPaused: Boolean; overload; function getCurrentTime: Single; overload; procedure setCurrentTime(aSeconds: Single); overload; procedure deselectAll; overload; function createSVGNumber: IJSSVGNumber; overload; function createSVGLength: IJSSVGLength; overload; function createSVGAngle: IJSSVGAngle; overload; function createSVGPoint: IJSSVGPoint; overload; function createSVGMatrix: IJSSVGMatrix; overload; function createSVGRect: IJSSVGRect; overload; function createSVGTransform: IJSSVGTransform; overload; function createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; overload; function createSVGTransformFromMatrix: IJSSVGTransform; overload; function getElementById(const aElementId: UnicodeString): IJSElement; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGSVGElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property currentScale: Single read _GetcurrentScale write _SetcurrentScale; property currentTranslate: IJSSVGPoint read _GetcurrentTranslate; property viewBox: IJSSVGAnimatedRect read _GetviewBox; property preserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio read _GetpreserveAspectRatio; property zoomAndPan: Word read _GetzoomAndPan write _SetzoomAndPan; end; { -------------------------------------------------------------------- TJSSVGSwitchElement --------------------------------------------------------------------} IJSSVGSwitchElement = interface(IJSSVGGraphicsElement) ['{9E64F3EE-3190-37C7-8E31-192B7219D1CA}'] end; TJSSVGSwitchElement = class(TJSSVGGraphicsElement,IJSSVGSwitchElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGSwitchElement; end; { -------------------------------------------------------------------- TJSSVGTextContentElement --------------------------------------------------------------------} IJSSVGTextContentElement = interface(IJSSVGGraphicsElement) ['{93C94DAC-A776-34D6-9088-8F7F8F46031C}'] function _GettextLength: IJSSVGAnimatedLength; function _GetlengthAdjust: IJSSVGAnimatedEnumeration; function getNumberOfChars: LongInt; function getComputedTextLength: Single; function getSubStringLength(aCharnum: Cardinal; aNchars: Cardinal): Single; function getStartPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; function getEndPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; function getExtentOfChar(aCharnum: Cardinal): IJSSVGRect; function getRotationOfChar(aCharnum: Cardinal): Single; function getCharNumAtPosition(const aPoint: IJSDOMPointInit): LongInt; function getCharNumAtPosition: LongInt; procedure selectSubString(aCharnum: Cardinal; aNchars: Cardinal); property textLength: IJSSVGAnimatedLength read _GettextLength; property lengthAdjust: IJSSVGAnimatedEnumeration read _GetlengthAdjust; end; TJSSVGTextContentElement = class(TJSSVGGraphicsElement,IJSSVGTextContentElement) Private Protected function _GettextLength: IJSSVGAnimatedLength; function _GetlengthAdjust: IJSSVGAnimatedEnumeration; Public Const LENGTHADJUST_UNKNOWN = 0; LENGTHADJUST_SPACING = 1; LENGTHADJUST_SPACINGANDGLYPHS = 2; Public function getNumberOfChars: LongInt; overload; function getComputedTextLength: Single; overload; function getSubStringLength(aCharnum: Cardinal; aNchars: Cardinal): Single; overload; function getStartPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; overload; function getEndPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; overload; function getExtentOfChar(aCharnum: Cardinal): IJSSVGRect; overload; function getRotationOfChar(aCharnum: Cardinal): Single; overload; function getCharNumAtPosition(const aPoint: IJSDOMPointInit): LongInt; overload; function getCharNumAtPosition: LongInt; overload; procedure selectSubString(aCharnum: Cardinal; aNchars: Cardinal); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTextContentElement; property textLength: IJSSVGAnimatedLength read _GettextLength; property lengthAdjust: IJSSVGAnimatedEnumeration read _GetlengthAdjust; end; { -------------------------------------------------------------------- TJSSVGUseElement --------------------------------------------------------------------} IJSSVGUseElement = interface(IJSSVGGraphicsElement) ['{48237984-47B6-362C-B827-81C3E802F0F1}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Gethref: IJSSVGAnimatedString; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGUseElement = class(TJSSVGGraphicsElement,IJSSVGUseElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Gethref: IJSSVGAnimatedString; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGUseElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGCircleElement --------------------------------------------------------------------} IJSSVGCircleElement = interface(IJSSVGGeometryElement) ['{5A49EC7E-86AB-3235-A59C-0C503A8B4941}'] function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getr: IJSSVGAnimatedLength; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property r: IJSSVGAnimatedLength read _Getr; end; TJSSVGCircleElement = class(TJSSVGGeometryElement,IJSSVGCircleElement) Private Protected function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getr: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGCircleElement; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property r: IJSSVGAnimatedLength read _Getr; end; { -------------------------------------------------------------------- TJSSVGEllipseElement --------------------------------------------------------------------} IJSSVGEllipseElement = interface(IJSSVGGeometryElement) ['{877EB2B3-98D0-3FDA-B60C-3922675BB7A1}'] function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getrx: IJSSVGAnimatedLength; function _Getry: IJSSVGAnimatedLength; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property rx: IJSSVGAnimatedLength read _Getrx; property ry: IJSSVGAnimatedLength read _Getry; end; TJSSVGEllipseElement = class(TJSSVGGeometryElement,IJSSVGEllipseElement) Private Protected function _Getcx: IJSSVGAnimatedLength; function _Getcy: IJSSVGAnimatedLength; function _Getrx: IJSSVGAnimatedLength; function _Getry: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGEllipseElement; property cx: IJSSVGAnimatedLength read _Getcx; property cy: IJSSVGAnimatedLength read _Getcy; property rx: IJSSVGAnimatedLength read _Getrx; property ry: IJSSVGAnimatedLength read _Getry; end; { -------------------------------------------------------------------- TJSSVGLineElement --------------------------------------------------------------------} IJSSVGLineElement = interface(IJSSVGGeometryElement) ['{8172F84E-3CC2-3883-9921-D1A97D0D95D2}'] function _Getx1: IJSSVGAnimatedLength; function _Gety1: IJSSVGAnimatedLength; function _Getx2: IJSSVGAnimatedLength; function _Gety2: IJSSVGAnimatedLength; property x1: IJSSVGAnimatedLength read _Getx1; property y1: IJSSVGAnimatedLength read _Gety1; property x2: IJSSVGAnimatedLength read _Getx2; property y2: IJSSVGAnimatedLength read _Gety2; end; TJSSVGLineElement = class(TJSSVGGeometryElement,IJSSVGLineElement) Private Protected function _Getx1: IJSSVGAnimatedLength; function _Gety1: IJSSVGAnimatedLength; function _Getx2: IJSSVGAnimatedLength; function _Gety2: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGLineElement; property x1: IJSSVGAnimatedLength read _Getx1; property y1: IJSSVGAnimatedLength read _Gety1; property x2: IJSSVGAnimatedLength read _Getx2; property y2: IJSSVGAnimatedLength read _Gety2; end; { -------------------------------------------------------------------- TJSSVGPathElement --------------------------------------------------------------------} IJSSVGPathElement = interface(IJSSVGGeometryElement) ['{639003CB-3F37-3402-8DC2-6481C744FB26}'] function _GetpathSegList: IJSSVGPathSegList; function _GetanimatedPathSegList: IJSSVGPathSegList; function getPathSegAtLength(aDistance: Single): Cardinal; property pathSegList: IJSSVGPathSegList read _GetpathSegList; property animatedPathSegList: IJSSVGPathSegList read _GetanimatedPathSegList; end; TJSSVGPathElement = class(TJSSVGGeometryElement,IJSSVGPathElement) Private Protected function _GetpathSegList: IJSSVGPathSegList; function _GetanimatedPathSegList: IJSSVGPathSegList; Public function getPathSegAtLength(aDistance: Single): Cardinal; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPathElement; property pathSegList: IJSSVGPathSegList read _GetpathSegList; property animatedPathSegList: IJSSVGPathSegList read _GetanimatedPathSegList; end; { -------------------------------------------------------------------- TJSSVGPolygonElement --------------------------------------------------------------------} IJSSVGPolygonElement = interface(IJSSVGGeometryElement) ['{B888B192-39EB-387A-A5D7-C9BB542F5B98}'] function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; TJSSVGPolygonElement = class(TJSSVGGeometryElement,IJSSVGPolygonElement) Private Protected function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPolygonElement; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; { -------------------------------------------------------------------- TJSSVGPolylineElement --------------------------------------------------------------------} IJSSVGPolylineElement = interface(IJSSVGGeometryElement) ['{28295BED-D3E7-3796-9351-E25F06BD8D09}'] function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; TJSSVGPolylineElement = class(TJSSVGGeometryElement,IJSSVGPolylineElement) Private Protected function _Getpoints: IJSSVGPointList; function _GetanimatedPoints: IJSSVGPointList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGPolylineElement; property points: IJSSVGPointList read _Getpoints; property animatedPoints: IJSSVGPointList read _GetanimatedPoints; end; { -------------------------------------------------------------------- TJSSVGRectElement --------------------------------------------------------------------} IJSSVGRectElement = interface(IJSSVGGeometryElement) ['{D2621557-C919-38AC-A382-80A5FCD2BA3E}'] function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getrx: IJSSVGAnimatedLength; function _Getry: IJSSVGAnimatedLength; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property rx: IJSSVGAnimatedLength read _Getrx; property ry: IJSSVGAnimatedLength read _Getry; end; TJSSVGRectElement = class(TJSSVGGeometryElement,IJSSVGRectElement) Private Protected function _Getx: IJSSVGAnimatedLength; function _Gety: IJSSVGAnimatedLength; function _Getwidth: IJSSVGAnimatedLength; function _Getheight: IJSSVGAnimatedLength; function _Getrx: IJSSVGAnimatedLength; function _Getry: IJSSVGAnimatedLength; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGRectElement; property x: IJSSVGAnimatedLength read _Getx; property y: IJSSVGAnimatedLength read _Gety; property width: IJSSVGAnimatedLength read _Getwidth; property height: IJSSVGAnimatedLength read _Getheight; property rx: IJSSVGAnimatedLength read _Getrx; property ry: IJSSVGAnimatedLength read _Getry; end; { -------------------------------------------------------------------- TJSSVGTextPathElement --------------------------------------------------------------------} IJSSVGTextPathElement = interface(IJSSVGTextContentElement) ['{4A52B5A8-39B3-3B38-B6AF-B78419E1DE6E}'] function _GetstartOffset: IJSSVGAnimatedLength; function _Getmethod: IJSSVGAnimatedEnumeration; function _Getspacing: IJSSVGAnimatedEnumeration; function _Gethref: IJSSVGAnimatedString; property startOffset: IJSSVGAnimatedLength read _GetstartOffset; property method: IJSSVGAnimatedEnumeration read _Getmethod; property spacing: IJSSVGAnimatedEnumeration read _Getspacing; property href: IJSSVGAnimatedString read _Gethref; end; TJSSVGTextPathElement = class(TJSSVGTextContentElement,IJSSVGTextPathElement) Private Protected function _GetstartOffset: IJSSVGAnimatedLength; function _Getmethod: IJSSVGAnimatedEnumeration; function _Getspacing: IJSSVGAnimatedEnumeration; function _Gethref: IJSSVGAnimatedString; Public Const TEXTPATH_METHODTYPE_UNKNOWN = 0; TEXTPATH_METHODTYPE_ALIGN = 1; TEXTPATH_METHODTYPE_STRETCH = 2; TEXTPATH_SPACINGTYPE_UNKNOWN = 0; TEXTPATH_SPACINGTYPE_AUTO = 1; TEXTPATH_SPACINGTYPE_EXACT = 2; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTextPathElement; property startOffset: IJSSVGAnimatedLength read _GetstartOffset; property method: IJSSVGAnimatedEnumeration read _Getmethod; property spacing: IJSSVGAnimatedEnumeration read _Getspacing; property href: IJSSVGAnimatedString read _Gethref; end; { -------------------------------------------------------------------- TJSSVGTextPositioningElement --------------------------------------------------------------------} IJSSVGTextPositioningElement = interface(IJSSVGTextContentElement) ['{A1C5E787-6EF9-38FF-A989-C0B757723BB6}'] function _Getx: IJSSVGAnimatedLengthList; function _Gety: IJSSVGAnimatedLengthList; function _Getdx: IJSSVGAnimatedLengthList; function _Getdy: IJSSVGAnimatedLengthList; function _Getrotate: IJSSVGAnimatedNumberList; property x: IJSSVGAnimatedLengthList read _Getx; property y: IJSSVGAnimatedLengthList read _Gety; property dx: IJSSVGAnimatedLengthList read _Getdx; property dy: IJSSVGAnimatedLengthList read _Getdy; property rotate: IJSSVGAnimatedNumberList read _Getrotate; end; TJSSVGTextPositioningElement = class(TJSSVGTextContentElement,IJSSVGTextPositioningElement) Private Protected function _Getx: IJSSVGAnimatedLengthList; function _Gety: IJSSVGAnimatedLengthList; function _Getdx: IJSSVGAnimatedLengthList; function _Getdy: IJSSVGAnimatedLengthList; function _Getrotate: IJSSVGAnimatedNumberList; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTextPositioningElement; property x: IJSSVGAnimatedLengthList read _Getx; property y: IJSSVGAnimatedLengthList read _Gety; property dx: IJSSVGAnimatedLengthList read _Getdx; property dy: IJSSVGAnimatedLengthList read _Getdy; property rotate: IJSSVGAnimatedNumberList read _Getrotate; end; { -------------------------------------------------------------------- TJSSVGTextElement --------------------------------------------------------------------} IJSSVGTextElement = interface(IJSSVGTextPositioningElement) ['{282F891D-E70E-3A95-B4AA-5546E69449FB}'] end; TJSSVGTextElement = class(TJSSVGTextPositioningElement,IJSSVGTextElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTextElement; end; { -------------------------------------------------------------------- TJSSVGTSpanElement --------------------------------------------------------------------} IJSSVGTSpanElement = interface(IJSSVGTextPositioningElement) ['{3EA981B2-A2A9-3463-B9B9-72A83D40BE67}'] end; TJSSVGTSpanElement = class(TJSSVGTextPositioningElement,IJSSVGTSpanElement) Private Protected Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSSVGTSpanElement; end; { -------------------------------------------------------------------- TJSAPZHitResultFlags --------------------------------------------------------------------} IJSAPZHitResultFlags = interface(IJSObject) ['{91386298-DC46-3314-B59D-C8A3FC8F8DA7}'] end; TJSAPZHitResultFlags = class(TJSObject,IJSAPZHitResultFlags) Private Protected Public Const INVISIBLE = 0; VISIBLE = $0001; IRREGULAR_AREA = $0002; APZ_AWARE_LISTENERS = $0004; INACTIVE_SCROLLFRAME = $0008; PAN_X_DISABLED = $0010; PAN_Y_DISABLED = $0020; PINCH_ZOOM_DISABLED = $0040; DOUBLE_TAP_ZOOM_DISABLED = $0080; SCROLLBAR = $0100; SCROLLBAR_THUMB = $0200; SCROLLBAR_VERTICAL = $0400; REQUIRES_TARGET_CONFIRMATION = $0800; Public class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSAPZHitResultFlags; end; { -------------------------------------------------------------------- TJSconsole --------------------------------------------------------------------} IJSconsole = interface(IJSObject) ['{78F09AC8-33CB-3693-94DC-A6DEC66C9D25}'] procedure assert(aCondition: Boolean; const aData: Variant){; ToDo:varargs}; procedure assert{; ToDo:varargs}; procedure clear; procedure count(const aLabel_: UnicodeString); procedure count; procedure countReset(const aLabel_: UnicodeString); procedure countReset; procedure debug(const aData: Variant){; ToDo:varargs}; procedure error(const aData: Variant){; ToDo:varargs}; procedure info(const aData: Variant){; ToDo:varargs}; procedure log(const aData: Variant){; ToDo:varargs}; procedure table(const aData: Variant){; ToDo:varargs}; procedure trace(const aData: Variant){; ToDo:varargs}; procedure warn(const aData: Variant){; ToDo:varargs}; procedure dir(const aData: Variant){; ToDo:varargs}; procedure dirxml(const aData: Variant){; ToDo:varargs}; procedure group(const aData: Variant){; ToDo:varargs}; procedure groupCollapsed(const aData: Variant){; ToDo:varargs}; procedure groupEnd; procedure time(const aLabel_: UnicodeString); procedure time; procedure timeLog(const aLabel_: UnicodeString; const aData: Variant){; ToDo:varargs}; procedure timeLog{; ToDo:varargs}; procedure timeEnd(const aLabel_: UnicodeString); procedure timeEnd; procedure exception(const aData: Variant){; ToDo:varargs}; procedure timeStamp(const aData: Variant); procedure timeStamp; procedure profile(const aData: Variant){; ToDo:varargs}; procedure profileEnd(const aData: Variant){; ToDo:varargs}; end; TJSconsole = class(TJSObject,IJSconsole) Private Protected Public procedure assert(aCondition: Boolean; const aData: Variant){; ToDo:varargs}; overload; procedure assert{; ToDo:varargs}; overload; procedure clear; overload; procedure count(const aLabel_: UnicodeString); overload; procedure count; overload; procedure countReset(const aLabel_: UnicodeString); overload; procedure countReset; overload; procedure debug(const aData: Variant){; ToDo:varargs}; overload; procedure error(const aData: Variant){; ToDo:varargs}; overload; procedure info(const aData: Variant){; ToDo:varargs}; overload; procedure log(const aData: Variant){; ToDo:varargs}; overload; procedure table(const aData: Variant){; ToDo:varargs}; overload; procedure trace(const aData: Variant){; ToDo:varargs}; overload; procedure warn(const aData: Variant){; ToDo:varargs}; overload; procedure dir(const aData: Variant){; ToDo:varargs}; overload; procedure dirxml(const aData: Variant){; ToDo:varargs}; overload; procedure group(const aData: Variant){; ToDo:varargs}; overload; procedure groupCollapsed(const aData: Variant){; ToDo:varargs}; overload; procedure groupEnd; overload; procedure time(const aLabel_: UnicodeString); overload; procedure time; overload; procedure timeLog(const aLabel_: UnicodeString; const aData: Variant){; ToDo:varargs}; overload; procedure timeLog{; ToDo:varargs}; overload; procedure timeEnd(const aLabel_: UnicodeString); overload; procedure timeEnd; overload; procedure exception(const aData: Variant){; ToDo:varargs}; overload; procedure timeStamp(const aData: Variant); overload; procedure timeStamp; overload; procedure profile(const aData: Variant){; ToDo:varargs}; overload; procedure profileEnd(const aData: Variant){; ToDo:varargs}; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSconsole; end; { -------------------------------------------------------------------- TJSCSS --------------------------------------------------------------------} IJSCSS = interface(IJSObject) ['{D5A0C307-9088-3817-9A58-3D9211ACC6FA}'] function _Gethighlights: IJSHighlightRegistry; function supports(const aProperty_: UTF8String; const aValue: UTF8String): Boolean; function supports(const aConditionText: UTF8String): Boolean; function escape(const aIdent: UnicodeString): UnicodeString; procedure registerProperty(const aDefinition: IJSPropertyDefinition); property highlights: IJSHighlightRegistry read _Gethighlights; end; TJSCSS = class(TJSObject,IJSCSS) Private Protected function _Gethighlights: IJSHighlightRegistry; Public function supports(const aProperty_: UTF8String; const aValue: UTF8String): Boolean; overload; function supports(const aConditionText: UTF8String): Boolean; overload; function escape(const aIdent: UnicodeString): UnicodeString; overload; procedure registerProperty(const aDefinition: IJSPropertyDefinition); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSCSS; property highlights: IJSHighlightRegistry read _Gethighlights; end; { -------------------------------------------------------------------- TJSFuzzingFunctions --------------------------------------------------------------------} IJSFuzzingFunctions = interface(IJSObject) ['{131F30D4-9CE0-3D46-968E-6E8DF400A2AC}'] procedure garbageCollect; procedure garbageCollectCompacting; procedure crash(const aReason: UnicodeString); procedure crash; procedure cycleCollect; procedure memoryPressure; procedure enableAccessibility; procedure signalIPCReady; procedure synthesizeKeyboardEvents(const aAKeyValue: UnicodeString; const aADictionary: IJSKeyboardEventInit); procedure synthesizeKeyboardEvents(const aAKeyValue: UnicodeString); end; TJSFuzzingFunctions = class(TJSObject,IJSFuzzingFunctions) Private Protected Public procedure garbageCollect; overload; procedure garbageCollectCompacting; overload; procedure crash(const aReason: UnicodeString); overload; procedure crash; overload; procedure cycleCollect; overload; procedure memoryPressure; overload; procedure enableAccessibility; overload; procedure signalIPCReady; overload; procedure synthesizeKeyboardEvents(const aAKeyValue: UnicodeString; const aADictionary: IJSKeyboardEventInit); overload; procedure synthesizeKeyboardEvents(const aAKeyValue: UnicodeString); overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSFuzzingFunctions; end; { -------------------------------------------------------------------- TJSTestUtils --------------------------------------------------------------------} IJSTestUtils = interface(IJSObject) ['{338287FF-0A0E-35E9-9869-8DD15390C552}'] function gc: IJSPromise; // Promise end; TJSTestUtils = class(TJSObject,IJSTestUtils) Private Protected Public function gc: IJSPromise; overload; // Promise class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSTestUtils; end; { -------------------------------------------------------------------- TJSWorkerTestUtils --------------------------------------------------------------------} IJSWorkerTestUtils = interface(IJSObject) ['{72904EE2-D8D0-3BEF-BF54-DA6E3656C1F3}'] function currentTimerNestingLevel: Cardinal; end; TJSWorkerTestUtils = class(TJSObject,IJSWorkerTestUtils) Private Protected Public function currentTimerNestingLevel: Cardinal; overload; class function JSClassName: UnicodeString; override; class function Cast(const Intf: IJSObject): IJSWorkerTestUtils; end; var JSDocument: TJSDocument; JSWindow: TJSWindow; // Namespaces APZHitResultFlags: IJSAPZHitResultFlags; console: IJSconsole; CSS: IJSCSS; FuzzingFunctions: IJSFuzzingFunctions; TestUtils: IJSTestUtils; WorkerTestUtils: IJSWorkerTestUtils; implementation function JOBCallFrameRequestCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var time: TDOMHighResTimeStamp; begin time:=H.GetDouble; TFrameRequestCallback(aMethod)(time); Result:=H.AllocUndefined; end; function JOBCallAudioDataOutputCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var output: IJSAudioData; begin output:=H.GetObject(TJSAudioData) as IJSAudioData; TAudioDataOutputCallback(aMethod)(output); Result:=H.AllocUndefined; end; function JOBCallEncodedAudioChunkOutputCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var output: IJSEncodedAudioChunk; metadata: IJSEncodedAudioChunkMetadata; begin output:=H.GetObject(TJSEncodedAudioChunk) as IJSEncodedAudioChunk; metadata:=H.GetObject(TJSEncodedAudioChunkMetadata) as IJSEncodedAudioChunkMetadata; TEncodedAudioChunkOutputCallback(aMethod)(output,metadata); Result:=H.AllocUndefined; end; function JOBCallAudioWorkletProcessorConstructor(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var options: IJSObject; begin options:=H.GetObject(TJSObject) as IJSObject; Result:=H.AllocIntf(TAudioWorkletProcessorConstructor(aMethod)(options)); end; function JOBCallDecodeSuccessCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var decodedData: IJSAudioBuffer; begin decodedData:=H.GetObject(TJSAudioBuffer) as IJSAudioBuffer; TDecodeSuccessCallback(aMethod)(decodedData); Result:=H.AllocUndefined; end; function JOBCallDecodeErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var error: IJSDOMException; begin error:=H.GetObject(TJSDOMException) as IJSDOMException; TDecodeErrorCallback(aMethod)(error); Result:=H.AllocUndefined; end; function JOBCallCustomElementConstructor(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocVariant(TCustomElementConstructor(aMethod)()); end; function JOBCallCustomElementCreationCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var name: UnicodeString; begin name:=H.GetString; TCustomElementCreationCallback(aMethod)(name); Result:=H.AllocUndefined; end; function JOBCallLifecycleConnectedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TLifecycleConnectedCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallLifecycleDisconnectedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TLifecycleDisconnectedCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallLifecycleAdoptedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var oldDocument: IJSDocument; newDocment: IJSDocument; begin oldDocument:=H.GetObject(TJSDocument) as IJSDocument; newDocment:=H.GetObject(TJSDocument) as IJSDocument; TLifecycleAdoptedCallback(aMethod)(oldDocument,newDocment); Result:=H.AllocUndefined; end; function JOBCallLifecycleAttributeChangedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var attrName: UnicodeString; oldValue: UnicodeString; newValue: UnicodeString; namespaceURI: UnicodeString; begin attrName:=H.GetString; oldValue:=H.GetString; newValue:=H.GetString; namespaceURI:=H.GetString; TLifecycleAttributeChangedCallback(aMethod)(attrName,oldValue,newValue,namespaceURI); Result:=H.AllocUndefined; end; function JOBCallLifecycleFormAssociatedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var form: IJSHTMLFormElement; begin form:=H.GetObject(TJSHTMLFormElement) as IJSHTMLFormElement; TLifecycleFormAssociatedCallback(aMethod)(form); Result:=H.AllocUndefined; end; function JOBCallLifecycleFormResetCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TLifecycleFormResetCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallLifecycleFormDisabledCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var disabled: Boolean; begin disabled:=H.GetBoolean; TLifecycleFormDisabledCallback(aMethod)(disabled); Result:=H.AllocUndefined; end; function JOBCallLifecycleFormStateRestoreCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var state: TLifecycleFormStateRestoreCallback_state_Type; reason: TRestoreReason; begin state:=H.GetVariant; reason:=H.GetString; TLifecycleFormStateRestoreCallback(aMethod)(state,reason); Result:=H.AllocUndefined; end; function JOBCallLifecycleGetCustomInterfaceCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var iid: Variant; begin iid:=H.GetVariant; Result:=H.AllocIntf(TLifecycleGetCustomInterfaceCallback(aMethod)(iid)); end; function JOBCallFunctionStringCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var data: UnicodeString; begin data:=H.GetString; TFunctionStringCallback(aMethod)(data); Result:=H.AllocUndefined; end; function JOBCallEventHandlerNonNull(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var event: IJSEvent; begin event:=H.GetObject(TJSEvent) as IJSEvent; Result:=H.AllocVariant(TEventHandlerNonNull(aMethod)(event)); end; function JOBCallOnBeforeUnloadEventHandlerNonNull(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var event: IJSEvent; begin event:=H.GetObject(TJSEvent) as IJSEvent; Result:=H.AllocString(TOnBeforeUnloadEventHandlerNonNull(aMethod)(event)); end; function JOBCallOnErrorEventHandlerNonNull(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var event: TOnErrorEventHandlerNonNull_event_Type; source: UnicodeString; lineno: Cardinal; column: Cardinal; error: Variant; begin event:=H.GetVariant; source:=H.GetString; lineno:=H.GetMaxInt; column:=H.GetMaxInt; error:=H.GetVariant; Result:=H.AllocVariant(TOnErrorEventHandlerNonNull(aMethod)(event,source,lineno,column,error)); end; function JOBCallFileSystemEntryCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var entry: IJSFileSystemEntry; begin entry:=H.GetObject(TJSFileSystemEntry) as IJSFileSystemEntry; TFileSystemEntryCallback(aMethod)(entry); Result:=H.AllocUndefined; end; function JOBCallErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var err: IJSDOMException; begin err:=H.GetObject(TJSDOMException) as IJSDOMException; TErrorCallback(aMethod)(err); Result:=H.AllocUndefined; end; function JOBCallFileSystemEntriesCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var entries: TJSFileSystemEntryDynArray; begin entries:=H.GetObject(TJSArray) as IJSArray; TFileSystemEntriesCallback(aMethod)(entries); Result:=H.AllocUndefined; end; function JOBCallFileCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var file_: IJSFile; begin file_:=H.GetObject(TJSFile) as IJSFile; TFileCallback(aMethod)(file_); Result:=H.AllocUndefined; end; function JOBCallFinalizationRegistryCleanupCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TFinalizationRegistryCleanupCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallFontFaceSetForEachCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var value: IJSFontFace; key: IJSFontFace; set_: IJSFontFaceSet; begin value:=H.GetObject(TJSFontFace) as IJSFontFace; key:=H.GetObject(TJSFontFace) as IJSFontFace; set_:=H.GetObject(TJSFontFaceSet) as IJSFontFaceSet; TFontFaceSetForEachCallback(aMethod)(value,key,set_); Result:=H.AllocUndefined; end; function JOBCallFunction_(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var arguments: Variant; begin arguments:=H.GetVariant; Result:=H.AllocVariant(TFunction(aMethod)(arguments)); end; function JOBCallVoidFunction(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TVoidFunction(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallPositionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var position: IJSGeolocationPosition; begin position:=H.GetObject(TJSGeolocationPosition) as IJSGeolocationPosition; TPositionCallback(aMethod)(position); Result:=H.AllocUndefined; end; function JOBCallPositionErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var positionError: IJSGeolocationPositionError; begin positionError:=H.GetObject(TJSGeolocationPositionError) as IJSGeolocationPositionError; TPositionErrorCallback(aMethod)(positionError); Result:=H.AllocUndefined; end; function JOBCallBlobCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var blob: IJSBlob; begin blob:=H.GetObject(TJSBlob) as IJSBlob; TBlobCallback(aMethod)(blob); Result:=H.AllocUndefined; end; function JOBCallInstallTriggerCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var url: UnicodeString; status: SmallInt; begin url:=H.GetString; status:=H.GetLongInt; TInstallTriggerCallback(aMethod)(url,status); Result:=H.AllocUndefined; end; function JOBCallIntersectionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var entries: TJSIntersectionObserverEntryDynArray; observer: IJSIntersectionObserver; begin entries:=H.GetObject(TJSArray) as IJSArray; observer:=H.GetObject(TJSIntersectionObserver) as IJSIntersectionObserver; TIntersectionCallback(aMethod)(entries,observer); Result:=H.AllocUndefined; end; function JOBCallLockGrantedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var lock: IJSLock; begin lock:=H.GetObject(TJSLock) as IJSLock; Result:=H.AllocIntf(TLockGrantedCallback(aMethod)(lock)); end; function JOBCallMediaSessionActionHandler(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var details: IJSMediaSessionActionDetails; begin details:=H.GetObject(TJSObject) as IJSMediaSessionActionDetails; TMediaSessionActionHandler(aMethod)(details); Result:=H.AllocUndefined; end; function JOBCallMutationCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var mutations: TJSMutationRecordDynArray; observer: IJSMutationObserver; begin mutations:=H.GetObject(TJSArray) as IJSArray; observer:=H.GetObject(TJSMutationObserver) as IJSMutationObserver; TMutationCallback(aMethod)(mutations,observer); Result:=H.AllocUndefined; end; function JOBCallNavigatorUserMediaSuccessCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var stream: IJSMediaStream; begin stream:=H.GetObject(TJSMediaStream) as IJSMediaStream; TNavigatorUserMediaSuccessCallback(aMethod)(stream); Result:=H.AllocUndefined; end; function JOBCallNavigatorUserMediaErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var error: IJSMediaStreamError; begin error:=H.GetObject(TJSMediaStreamError) as IJSMediaStreamError; TNavigatorUserMediaErrorCallback(aMethod)(error); Result:=H.AllocUndefined; end; function JOBCallNotificationPermissionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var permission: TNotificationPermission; begin permission:=H.GetString; TNotificationPermissionCallback(aMethod)(permission); Result:=H.AllocUndefined; end; function JOBCallChainedOperation(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocIntf(TChainedOperation(aMethod)()); end; function JOBCallPerformanceObserverCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var entries: IJSPerformanceObserverEntryList; observer: IJSPerformanceObserver; begin entries:=H.GetObject(TJSPerformanceObserverEntryList) as IJSPerformanceObserverEntryList; observer:=H.GetObject(TJSPerformanceObserver) as IJSPerformanceObserver; TPerformanceObserverCallback(aMethod)(entries,observer); Result:=H.AllocUndefined; end; function JOBCallPromiseJobCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TPromiseJobCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallAnyCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var value: Variant; begin value:=H.GetVariant; Result:=H.AllocVariant(TAnyCallback(aMethod)(value)); end; function JOBCallQueuingStrategySize(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var chunk: Variant; begin chunk:=H.GetVariant; Result:=H.AllocDouble(TQueuingStrategySize(aMethod)(chunk)); end; function JOBCallReportingObserverCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var reports: TJSReportDynArray; observer: IJSReportingObserver; begin reports:=H.GetObject(TJSArray) as IJSArray; observer:=H.GetObject(TJSReportingObserver) as IJSReportingObserver; TReportingObserverCallback(aMethod)(reports,observer); Result:=H.AllocUndefined; end; function JOBCallResizeObserverCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var entries: TJSResizeObserverEntryDynArray; observer: IJSResizeObserver; begin entries:=H.GetObject(TJSArray) as IJSArray; observer:=H.GetObject(TJSResizeObserver) as IJSResizeObserver; TResizeObserverCallback(aMethod)(entries,observer); Result:=H.AllocUndefined; end; function JOBCallGenerateAssertionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var contents: UnicodeString; origin: UnicodeString; options: IJSRTCIdentityProviderOptions; begin contents:=H.GetString; origin:=H.GetString; options:=H.GetObject(TJSObject) as IJSRTCIdentityProviderOptions; Result:=H.AllocIntf(TGenerateAssertionCallback(aMethod)(contents,origin,options)); end; function JOBCallValidateAssertionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var assertion: UnicodeString; origin: UnicodeString; begin assertion:=H.GetString; origin:=H.GetString; Result:=H.AllocIntf(TValidateAssertionCallback(aMethod)(assertion,origin)); end; function JOBCallRTCSessionDescriptionCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var description: IJSRTCSessionDescriptionInit; begin description:=H.GetObject(TJSObject) as IJSRTCSessionDescriptionInit; TRTCSessionDescriptionCallback(aMethod)(description); Result:=H.AllocUndefined; end; function JOBCallRTCPeerConnectionErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var error: IJSDOMException; begin error:=H.GetObject(TJSDOMException) as IJSDOMException; TRTCPeerConnectionErrorCallback(aMethod)(error); Result:=H.AllocUndefined; end; function JOBCallRTCStatsCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var report: IJSRTCStatsReport; begin report:=H.GetObject(TJSRTCStatsReport) as IJSRTCStatsReport; TRTCStatsCallback(aMethod)(report); Result:=H.AllocUndefined; end; function JOBCallmozPacketCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var level: Cardinal; type_: TmozPacketDumpType; sending: Boolean; packet: IJSArrayBuffer; begin level:=H.GetMaxInt; type_:=H.GetString; sending:=H.GetBoolean; packet:=H.GetObject(TJSArrayBuffer) as IJSArrayBuffer; TmozPacketCallback(aMethod)(level,type_,sending,packet); Result:=H.AllocUndefined; end; function JOBCallPeerConnectionLifecycleCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var pc: IJSRTCPeerConnection; windowId: QWord; eventType: TRTCLifecycleEvent; begin pc:=H.GetObject(TJSRTCPeerConnection) as IJSRTCPeerConnection; windowId:=H.GetMaxInt; eventType:=H.GetString; TPeerConnectionLifecycleCallback(aMethod)(pc,windowId,eventType); Result:=H.AllocUndefined; end; function JOBCallPromiseReturner(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocIntf(TPromiseReturner(aMethod)()); end; function JOBCallPromiseReturner2(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var arg: Variant; arg2: UnicodeString; begin arg:=H.GetVariant; arg2:=H.GetString; Result:=H.AllocIntf(TPromiseReturner2(aMethod)(arg,arg2)); end; function JOBCallTestThrowingCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin TTestThrowingCallback(aMethod)(); Result:=H.AllocUndefined; end; function JOBCallSetDeleteObjectCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var value: IJSObject; index: Cardinal; begin value:=H.GetObject(TJSObject) as IJSObject; index:=H.GetMaxInt; TSetDeleteObjectCallback(aMethod)(value,index); Result:=H.AllocUndefined; end; function JOBCallSetDeleteBooleanCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var value: Boolean; index: Cardinal; begin value:=H.GetBoolean; index:=H.GetMaxInt; TSetDeleteBooleanCallback(aMethod)(value,index); Result:=H.AllocUndefined; end; function JOBCallSetDeleteInterfaceCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var value: IJSTestInterfaceObservableArray; index: Cardinal; begin value:=H.GetObject(TJSTestInterfaceObservableArray) as IJSTestInterfaceObservableArray; index:=H.GetMaxInt; TSetDeleteInterfaceCallback(aMethod)(value,index); Result:=H.AllocUndefined; end; function JOBCallTransformerStartCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var controller: IJSTransformStreamDefaultController; begin controller:=H.GetObject(TJSTransformStreamDefaultController) as IJSTransformStreamDefaultController; Result:=H.AllocVariant(TTransformerStartCallback(aMethod)(controller)); end; function JOBCallTransformerFlushCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var controller: IJSTransformStreamDefaultController; begin controller:=H.GetObject(TJSTransformStreamDefaultController) as IJSTransformStreamDefaultController; Result:=H.AllocIntf(TTransformerFlushCallback(aMethod)(controller)); end; function JOBCallTransformerTransformCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var chunk: Variant; controller: IJSTransformStreamDefaultController; begin chunk:=H.GetVariant; controller:=H.GetObject(TJSTransformStreamDefaultController) as IJSTransformStreamDefaultController; Result:=H.AllocIntf(TTransformerTransformCallback(aMethod)(chunk,controller)); end; function JOBCallCreateHTMLCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var input: UnicodeString; arguments: Variant; begin input:=H.GetString; arguments:=H.GetVariant; Result:=H.AllocString(TCreateHTMLCallback(aMethod)(input,arguments)); end; function JOBCallCreateScriptCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var input: UnicodeString; arguments: Variant; begin input:=H.GetString; arguments:=H.GetVariant; Result:=H.AllocString(TCreateScriptCallback(aMethod)(input,arguments)); end; function JOBCallCreateScriptURLCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var input: UnicodeString; arguments: Variant; begin input:=H.GetString; arguments:=H.GetVariant; Result:=H.AllocString(TCreateScriptURLCallback(aMethod)(input,arguments)); end; function JOBCallUnderlyingSinkStartCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var controller: IJSWritableStreamDefaultController; begin controller:=H.GetObject(TJSWritableStreamDefaultController) as IJSWritableStreamDefaultController; Result:=H.AllocVariant(TUnderlyingSinkStartCallback(aMethod)(controller)); end; function JOBCallUnderlyingSinkWriteCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var chunk: Variant; controller: IJSWritableStreamDefaultController; begin chunk:=H.GetVariant; controller:=H.GetObject(TJSWritableStreamDefaultController) as IJSWritableStreamDefaultController; Result:=H.AllocIntf(TUnderlyingSinkWriteCallback(aMethod)(chunk,controller)); end; function JOBCallUnderlyingSinkCloseCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocIntf(TUnderlyingSinkCloseCallback(aMethod)()); end; function JOBCallUnderlyingSinkAbortCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var reason: Variant; begin reason:=H.GetVariant; Result:=H.AllocIntf(TUnderlyingSinkAbortCallback(aMethod)(reason)); end; function JOBCallUnderlyingSourceStartCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var controller: TReadableStreamController; begin controller:=H.GetVariant; Result:=H.AllocVariant(TUnderlyingSourceStartCallback(aMethod)(controller)); end; function JOBCallUnderlyingSourcePullCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var controller: TReadableStreamController; begin controller:=H.GetVariant; Result:=H.AllocIntf(TUnderlyingSourcePullCallback(aMethod)(controller)); end; function JOBCallUnderlyingSourceCancelCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var reason: Variant; begin reason:=H.GetVariant; Result:=H.AllocIntf(TUnderlyingSourceCancelCallback(aMethod)(reason)); end; function JOBCallVideoFrameOutputCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var output: IJSVideoFrame; begin output:=H.GetObject(TJSVideoFrame) as IJSVideoFrame; TVideoFrameOutputCallback(aMethod)(output); Result:=H.AllocUndefined; end; function JOBCallWebCodecsErrorCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var error: IJSDOMException; begin error:=H.GetObject(TJSDOMException) as IJSDOMException; TWebCodecsErrorCallback(aMethod)(error); Result:=H.AllocUndefined; end; function JOBCallEncodedVideoChunkOutputCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var chunk: IJSEncodedVideoChunk; metadata: IJSEncodedVideoChunkMetadata; begin chunk:=H.GetObject(TJSEncodedVideoChunk) as IJSEncodedVideoChunk; metadata:=H.GetObject(TJSObject) as IJSEncodedVideoChunkMetadata; TEncodedVideoChunkOutputCallback(aMethod)(chunk,metadata); Result:=H.AllocUndefined; end; function JOBCallWebrtcGlobalStatisticsCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var reports: IJSWebrtcGlobalStatisticsReport; begin reports:=H.GetObject(TJSObject) as IJSWebrtcGlobalStatisticsReport; TWebrtcGlobalStatisticsCallback(aMethod)(reports); Result:=H.AllocUndefined; end; function JOBCallWebrtcGlobalStatisticsHistoryPcIdsCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var pcIds: TUnicodeStringDynArray; begin pcIds:=H.GetObject(TJSArray) as IJSArray; TWebrtcGlobalStatisticsHistoryPcIdsCallback(aMethod)(pcIds); Result:=H.AllocUndefined; end; function JOBCallWebrtcGlobalStatisticsHistoryCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var reports: IJSWebrtcGlobalStatisticsReport; begin reports:=H.GetObject(TJSObject) as IJSWebrtcGlobalStatisticsReport; TWebrtcGlobalStatisticsHistoryCallback(aMethod)(reports); Result:=H.AllocUndefined; end; function JOBCallWebrtcGlobalLoggingCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var logMessages: TUnicodeStringDynArray; begin logMessages:=H.GetObject(TJSArray) as IJSArray; TWebrtcGlobalLoggingCallback(aMethod)(logMessages); Result:=H.AllocUndefined; end; function JOBCallSchedulerPostTaskCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocVariant(TSchedulerPostTaskCallback(aMethod)()); end; function JOBCallXRFrameRequestCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var time: TDOMHighResTimeStamp; frame: IJSXRFrame; begin time:=H.GetDouble; frame:=H.GetObject(TJSXRFrame) as IJSXRFrame; TXRFrameRequestCallback(aMethod)(time,frame); Result:=H.AllocUndefined; end; function JOBCallPromiseDocumentFlushedCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; begin Result:=H.AllocVariant(TPromiseDocumentFlushedCallback(aMethod)()); end; function JOBCallIdleRequestCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var deadline: IJSIdleDeadline; begin deadline:=H.GetObject(TJSIdleDeadline) as IJSIdleDeadline; TIdleRequestCallback(aMethod)(deadline); Result:=H.AllocUndefined; end; function JOBCallEventListener(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var event: IJSEvent; begin event:=H.GetObject(TJSEvent) as IJSEvent; TEventListener(aMethod)(event); Result:=H.AllocUndefined; end; function JOBCallObserverCallback(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var observer: IJSFetchObserver; begin observer:=H.GetObject(TJSFetchObserver) as IJSFetchObserver; TObserverCallback(aMethod)(observer); Result:=H.AllocUndefined; end; function JOBCallNodeFilter(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var node: IJSNode; begin node:=H.GetObject(TJSNode) as IJSNode; Result:=H.AllocLongInt(TNodeFilter(aMethod)(node)); end; function JOBCallXPathNSResolver(const aMethod: TMethod; var H: TJOBCallbackHelper): PByte; var prefix: UnicodeString; begin prefix:=H.GetString; Result:=H.AllocString(TXPathNSResolver(aMethod)(prefix)); end; function TJSAbortController._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; constructor TJSAbortController.Create; begin JOBCreate([]); end; procedure TJSAbortController.abort(const aReason: Variant); begin InvokeJSNoResult('abort',[aReason]); end; procedure TJSAbortController.abort; begin InvokeJSNoResult('abort',[]); end; class function TJSAbortController.JSClassName: UnicodeString; begin Result:='AbortController'; end; class function TJSAbortController.Cast(const Intf: IJSObject): IJSAbortController; begin Result:=TJSAbortController.JOBCast(Intf); end; function TJSAbortSignal._Getaborted: Boolean; begin Result:=ReadJSPropertyBoolean('aborted'); end; function TJSAbortSignal._Getreason: Variant; begin Result:=ReadJSPropertyVariant('reason'); end; function TJSAbortSignal._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; procedure TJSAbortSignal._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; function TJSAbortSignal.abort(const aReason: Variant): IJSAbortSignal; begin Result:=InvokeJSObjectResult('abort',[aReason],TJSAbortSignal) as IJSAbortSignal; end; function TJSAbortSignal.abort: IJSAbortSignal; begin Result:=InvokeJSObjectResult('abort',[],TJSAbortSignal) as IJSAbortSignal; end; function TJSAbortSignal.timeout(aMilliseconds: QWord): IJSAbortSignal; begin Result:=InvokeJSObjectResult('timeout',[aMilliseconds],TJSAbortSignal) as IJSAbortSignal; end; function TJSAbortSignal.any(const aSignals: TJSAbortSignalDynArray): IJSAbortSignal; begin Result:=InvokeJSObjectResult('any',[aSignals],TJSAbortSignal) as IJSAbortSignal; end; procedure TJSAbortSignal.throwIfAborted; begin InvokeJSNoResult('throwIfAborted',[]); end; class function TJSAbortSignal.JSClassName: UnicodeString; begin Result:='AbortSignal'; end; class function TJSAbortSignal.Cast(const Intf: IJSObject): IJSAbortSignal; begin Result:=TJSAbortSignal.JOBCast(Intf); end; function TJSAbstractRange._GetstartContainer: IJSNode; begin Result:=ReadJSPropertyObject('startContainer',TJSNode) as IJSNode; end; function TJSAbstractRange._GetstartOffset: Cardinal; begin Result:=ReadJSPropertyInt64('startOffset'); end; function TJSAbstractRange._GetendContainer: IJSNode; begin Result:=ReadJSPropertyObject('endContainer',TJSNode) as IJSNode; end; function TJSAbstractRange._GetendOffset: Cardinal; begin Result:=ReadJSPropertyInt64('endOffset'); end; function TJSAbstractRange._Getcollapsed: Boolean; begin Result:=ReadJSPropertyBoolean('collapsed'); end; class function TJSAbstractRange.JSClassName: UnicodeString; begin Result:='AbstractRange'; end; class function TJSAbstractRange.Cast(const Intf: IJSObject): IJSAbstractRange; begin Result:=TJSAbstractRange.JOBCast(Intf); end; function TJSAbstractWorker._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSAbstractWorker._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; class function TJSAbstractWorker.JSClassName: UnicodeString; begin Result:='AbstractWorker'; end; class function TJSAbstractWorker.Cast(const Intf: IJSObject): IJSAbstractWorker; begin Result:=TJSAbstractWorker.JOBCast(Intf); end; function TJSAccessibleNode._GetcomputedRole: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('computedRole'); end; function TJSAccessibleNode._Getstates: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('states',TJSArray) as TUnicodeStringDynArray; end; function TJSAccessibleNode._Getattributes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('attributes',TJSArray) as TUnicodeStringDynArray; end; function TJSAccessibleNode._GetDOMNode: IJSNode; begin Result:=ReadJSPropertyObject('DOMNode',TJSNode) as IJSNode; end; function TJSAccessibleNode._Getrole: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('role'); end; function TJSAccessibleNode._GetroleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('roleDescription'); end; function TJSAccessibleNode._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSAccessibleNode._Getcurrent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('current'); end; function TJSAccessibleNode._Getautocomplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocomplete'); end; function TJSAccessibleNode._GetkeyShortcuts: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('keyShortcuts'); end; function TJSAccessibleNode._Getmodal: Boolean; begin Result:=ReadJSPropertyBoolean('modal'); end; function TJSAccessibleNode._Getmultiline: Boolean; begin Result:=ReadJSPropertyBoolean('multiline'); end; function TJSAccessibleNode._Getmultiselectable: Boolean; begin Result:=ReadJSPropertyBoolean('multiselectable'); end; function TJSAccessibleNode._Getorientation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('orientation'); end; function TJSAccessibleNode._GetreadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('readOnly'); end; function TJSAccessibleNode._Getrequired: Boolean; begin Result:=ReadJSPropertyBoolean('required'); end; function TJSAccessibleNode._Getsort: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sort'); end; function TJSAccessibleNode._Getplaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('placeholder'); end; function TJSAccessibleNode._GetvalueMax: Double; begin Result:=ReadJSPropertyDouble('valueMax'); end; function TJSAccessibleNode._GetvalueMin: Double; begin Result:=ReadJSPropertyDouble('valueMin'); end; function TJSAccessibleNode._GetvalueNow: Double; begin Result:=ReadJSPropertyDouble('valueNow'); end; function TJSAccessibleNode._GetvalueText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('valueText'); end; function TJSAccessibleNode._Getchecked: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('checked'); end; function TJSAccessibleNode._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSAccessibleNode._Getexpanded: Boolean; begin Result:=ReadJSPropertyBoolean('expanded'); end; function TJSAccessibleNode._GethasPopUp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hasPopUp'); end; function TJSAccessibleNode._Gethidden: Boolean; begin Result:=ReadJSPropertyBoolean('hidden'); end; function TJSAccessibleNode._Getinvalid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('invalid'); end; function TJSAccessibleNode._Getpressed: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pressed'); end; function TJSAccessibleNode._Getselected: Boolean; begin Result:=ReadJSPropertyBoolean('selected'); end; function TJSAccessibleNode._Getatomic: Boolean; begin Result:=ReadJSPropertyBoolean('atomic'); end; function TJSAccessibleNode._Getbusy: Boolean; begin Result:=ReadJSPropertyBoolean('busy'); end; function TJSAccessibleNode._Getlive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('live'); end; function TJSAccessibleNode._Getrelevant: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('relevant'); end; function TJSAccessibleNode._GetactiveDescendant: IJSAccessibleNode; begin Result:=ReadJSPropertyObject('activeDescendant',TJSAccessibleNode) as IJSAccessibleNode; end; function TJSAccessibleNode._Getdetails: IJSAccessibleNode; begin Result:=ReadJSPropertyObject('details',TJSAccessibleNode) as IJSAccessibleNode; end; function TJSAccessibleNode._GeterrorMessage: IJSAccessibleNode; begin Result:=ReadJSPropertyObject('errorMessage',TJSAccessibleNode) as IJSAccessibleNode; end; function TJSAccessibleNode._GetcolCount: LongInt; begin Result:=ReadJSPropertyLongInt('colCount'); end; function TJSAccessibleNode._GetcolIndex: Cardinal; begin Result:=ReadJSPropertyInt64('colIndex'); end; function TJSAccessibleNode._GetcolSpan: Cardinal; begin Result:=ReadJSPropertyInt64('colSpan'); end; function TJSAccessibleNode._Getlevel: Cardinal; begin Result:=ReadJSPropertyInt64('level'); end; function TJSAccessibleNode._GetposInSet: Cardinal; begin Result:=ReadJSPropertyInt64('posInSet'); end; function TJSAccessibleNode._GetrowCount: LongInt; begin Result:=ReadJSPropertyLongInt('rowCount'); end; function TJSAccessibleNode._GetrowIndex: Cardinal; begin Result:=ReadJSPropertyInt64('rowIndex'); end; function TJSAccessibleNode._GetrowSpan: Cardinal; begin Result:=ReadJSPropertyInt64('rowSpan'); end; function TJSAccessibleNode._GetsetSize: LongInt; begin Result:=ReadJSPropertyLongInt('setSize'); end; procedure TJSAccessibleNode._Setrole(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('role',aValue); end; procedure TJSAccessibleNode._SetroleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('roleDescription',aValue); end; procedure TJSAccessibleNode._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSAccessibleNode._Setcurrent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('current',aValue); end; procedure TJSAccessibleNode._Setautocomplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocomplete',aValue); end; procedure TJSAccessibleNode._SetkeyShortcuts(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('keyShortcuts',aValue); end; procedure TJSAccessibleNode._Setmodal(const aValue : Boolean); begin WriteJSPropertyBoolean('modal',aValue); end; procedure TJSAccessibleNode._Setmultiline(const aValue : Boolean); begin WriteJSPropertyBoolean('multiline',aValue); end; procedure TJSAccessibleNode._Setmultiselectable(const aValue : Boolean); begin WriteJSPropertyBoolean('multiselectable',aValue); end; procedure TJSAccessibleNode._Setorientation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('orientation',aValue); end; procedure TJSAccessibleNode._SetreadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('readOnly',aValue); end; procedure TJSAccessibleNode._Setrequired(const aValue : Boolean); begin WriteJSPropertyBoolean('required',aValue); end; procedure TJSAccessibleNode._Setsort(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sort',aValue); end; procedure TJSAccessibleNode._Setplaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('placeholder',aValue); end; procedure TJSAccessibleNode._SetvalueMax(const aValue : Double); begin WriteJSPropertyDouble('valueMax',aValue); end; procedure TJSAccessibleNode._SetvalueMin(const aValue : Double); begin WriteJSPropertyDouble('valueMin',aValue); end; procedure TJSAccessibleNode._SetvalueNow(const aValue : Double); begin WriteJSPropertyDouble('valueNow',aValue); end; procedure TJSAccessibleNode._SetvalueText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('valueText',aValue); end; procedure TJSAccessibleNode._Setchecked(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('checked',aValue); end; procedure TJSAccessibleNode._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSAccessibleNode._Setexpanded(const aValue : Boolean); begin WriteJSPropertyBoolean('expanded',aValue); end; procedure TJSAccessibleNode._SethasPopUp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hasPopUp',aValue); end; procedure TJSAccessibleNode._Sethidden(const aValue : Boolean); begin WriteJSPropertyBoolean('hidden',aValue); end; procedure TJSAccessibleNode._Setinvalid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('invalid',aValue); end; procedure TJSAccessibleNode._Setpressed(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pressed',aValue); end; procedure TJSAccessibleNode._Setselected(const aValue : Boolean); begin WriteJSPropertyBoolean('selected',aValue); end; procedure TJSAccessibleNode._Setatomic(const aValue : Boolean); begin WriteJSPropertyBoolean('atomic',aValue); end; procedure TJSAccessibleNode._Setbusy(const aValue : Boolean); begin WriteJSPropertyBoolean('busy',aValue); end; procedure TJSAccessibleNode._Setlive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('live',aValue); end; procedure TJSAccessibleNode._Setrelevant(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('relevant',aValue); end; procedure TJSAccessibleNode._SetactiveDescendant(const aValue : IJSAccessibleNode); begin WriteJSPropertyObject('activeDescendant',aValue); end; procedure TJSAccessibleNode._Setdetails(const aValue : IJSAccessibleNode); begin WriteJSPropertyObject('details',aValue); end; procedure TJSAccessibleNode._SeterrorMessage(const aValue : IJSAccessibleNode); begin WriteJSPropertyObject('errorMessage',aValue); end; procedure TJSAccessibleNode._SetcolCount(const aValue : LongInt); begin WriteJSPropertyLongInt('colCount',aValue); end; procedure TJSAccessibleNode._SetcolIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('colIndex',aValue); end; procedure TJSAccessibleNode._SetcolSpan(const aValue : Cardinal); begin WriteJSPropertyDouble('colSpan',aValue); end; procedure TJSAccessibleNode._Setlevel(const aValue : Cardinal); begin WriteJSPropertyDouble('level',aValue); end; procedure TJSAccessibleNode._SetposInSet(const aValue : Cardinal); begin WriteJSPropertyDouble('posInSet',aValue); end; procedure TJSAccessibleNode._SetrowCount(const aValue : LongInt); begin WriteJSPropertyLongInt('rowCount',aValue); end; procedure TJSAccessibleNode._SetrowIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('rowIndex',aValue); end; procedure TJSAccessibleNode._SetrowSpan(const aValue : Cardinal); begin WriteJSPropertyDouble('rowSpan',aValue); end; procedure TJSAccessibleNode._SetsetSize(const aValue : LongInt); begin WriteJSPropertyLongInt('setSize',aValue); end; function TJSAccessibleNode.is_(const aStates: UnicodeString): Boolean{; ToDo:varargs}; begin Result:=InvokeJSBooleanResult('is',[aStates]); end; function TJSAccessibleNode.has(const aAttributes: UnicodeString): Boolean{; ToDo:varargs}; begin Result:=InvokeJSBooleanResult('has',[aAttributes]); end; function TJSAccessibleNode.get(const aAttribute: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('get',[aAttribute]); end; class function TJSAccessibleNode.JSClassName: UnicodeString; begin Result:='AccessibleNode'; end; class function TJSAccessibleNode.Cast(const Intf: IJSObject): IJSAccessibleNode; begin Result:=TJSAccessibleNode.JOBCast(Intf); end; function TJSAddonEvent._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; constructor TJSAddonEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSAddonEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSAddonEvent.JSClassName: UnicodeString; begin Result:='AddonEvent'; end; class function TJSAddonEvent.Cast(const Intf: IJSObject): IJSAddonEvent; begin Result:=TJSAddonEvent.JOBCast(Intf); end; function TJSAddonEventInit._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSAddonEventInit._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; constructor TJSAddonEventInit.create(const aDict : TJSAddonEventInitRec); overload; begin Self.id:=aDict.id; end; class function TJSAddonEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAddonEventInit.Cast(const Intf: IJSObject): IJSAddonEventInit; begin Result:=TJSAddonEventInit.JOBCast(Intf); end; function TJSaddonInstallOptions._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSaddonInstallOptions._Gethash: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hash'); end; procedure TJSaddonInstallOptions._Seturl(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('url',aValue); end; procedure TJSaddonInstallOptions._Sethash(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hash',aValue); end; constructor TJSaddonInstallOptions.create(const aDict : TJSaddonInstallOptionsRec); overload; begin Self.url:=aDict.url; Self.hash:=aDict.hash; end; class function TJSaddonInstallOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSaddonInstallOptions.Cast(const Intf: IJSObject): IJSaddonInstallOptions; begin Result:=TJSaddonInstallOptions.JOBCast(Intf); end; function TJSAddonManager._GetabuseReportPanelEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('abuseReportPanelEnabled'); end; function TJSAddonManager.getAddonByID(const aId: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getAddonByID',[aId],TJSPromise) as IJSPromise; end; function TJSAddonManager.createInstall(const aOptions: IJSaddonInstallOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createInstall',[aOptions],TJSPromise) as IJSPromise; end; function TJSAddonManager.createInstall: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createInstall',[],TJSPromise) as IJSPromise; end; function TJSAddonManager.reportAbuse(const aId: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('reportAbuse',[aId],TJSPromise) as IJSPromise; end; class function TJSAddonManager.JSClassName: UnicodeString; begin Result:='AddonManager'; end; class function TJSAddonManager.Cast(const Intf: IJSObject): IJSAddonManager; begin Result:=TJSAddonManager.JOBCast(Intf); end; function TJSAnalyserOptions._GetfftSize: Cardinal; begin Result:=ReadJSPropertyInt64('fftSize'); end; function TJSAnalyserOptions._GetmaxDecibels: Double; begin Result:=ReadJSPropertyDouble('maxDecibels'); end; function TJSAnalyserOptions._GetminDecibels: Double; begin Result:=ReadJSPropertyDouble('minDecibels'); end; function TJSAnalyserOptions._GetsmoothingTimeConstant: Double; begin Result:=ReadJSPropertyDouble('smoothingTimeConstant'); end; procedure TJSAnalyserOptions._SetfftSize(const aValue : Cardinal); begin WriteJSPropertyDouble('fftSize',aValue); end; procedure TJSAnalyserOptions._SetmaxDecibels(const aValue : Double); begin WriteJSPropertyDouble('maxDecibels',aValue); end; procedure TJSAnalyserOptions._SetminDecibels(const aValue : Double); begin WriteJSPropertyDouble('minDecibels',aValue); end; procedure TJSAnalyserOptions._SetsmoothingTimeConstant(const aValue : Double); begin WriteJSPropertyDouble('smoothingTimeConstant',aValue); end; constructor TJSAnalyserOptions.create(const aDict : TJSAnalyserOptionsRec); overload; begin Self.fftSize:=aDict.fftSize; Self.maxDecibels:=aDict.maxDecibels; Self.minDecibels:=aDict.minDecibels; Self.smoothingTimeConstant:=aDict.smoothingTimeConstant; end; class function TJSAnalyserOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAnalyserOptions.Cast(const Intf: IJSObject): IJSAnalyserOptions; begin Result:=TJSAnalyserOptions.JOBCast(Intf); end; function TJSAnalyserNode._GetfftSize: Cardinal; begin Result:=ReadJSPropertyInt64('fftSize'); end; function TJSAnalyserNode._GetfrequencyBinCount: Cardinal; begin Result:=ReadJSPropertyInt64('frequencyBinCount'); end; function TJSAnalyserNode._GetminDecibels: Double; begin Result:=ReadJSPropertyDouble('minDecibels'); end; function TJSAnalyserNode._GetmaxDecibels: Double; begin Result:=ReadJSPropertyDouble('maxDecibels'); end; function TJSAnalyserNode._GetsmoothingTimeConstant: Double; begin Result:=ReadJSPropertyDouble('smoothingTimeConstant'); end; procedure TJSAnalyserNode._SetfftSize(const aValue : Cardinal); begin WriteJSPropertyDouble('fftSize',aValue); end; procedure TJSAnalyserNode._SetminDecibels(const aValue : Double); begin WriteJSPropertyDouble('minDecibels',aValue); end; procedure TJSAnalyserNode._SetmaxDecibels(const aValue : Double); begin WriteJSPropertyDouble('maxDecibels',aValue); end; procedure TJSAnalyserNode._SetsmoothingTimeConstant(const aValue : Double); begin WriteJSPropertyDouble('smoothingTimeConstant',aValue); end; constructor TJSAnalyserNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSAnalyserOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSAnalyserNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; procedure TJSAnalyserNode.getFloatFrequencyData(aArray_: IJSFloat32Array); begin InvokeJSNoResult('getFloatFrequencyData',[aArray_]); end; procedure TJSAnalyserNode.getByteFrequencyData(aArray_: IJSUint8Array); begin InvokeJSNoResult('getByteFrequencyData',[aArray_]); end; procedure TJSAnalyserNode.getFloatTimeDomainData(aArray_: IJSFloat32Array); begin InvokeJSNoResult('getFloatTimeDomainData',[aArray_]); end; procedure TJSAnalyserNode.getByteTimeDomainData(aArray_: IJSUint8Array); begin InvokeJSNoResult('getByteTimeDomainData',[aArray_]); end; class function TJSAnalyserNode.JSClassName: UnicodeString; begin Result:='AnalyserNode'; end; class function TJSAnalyserNode.Cast(const Intf: IJSObject): IJSAnalyserNode; begin Result:=TJSAnalyserNode.JOBCast(Intf); end; function TJSKeyframeAnimationOptions._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSKeyframeAnimationOptions._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; constructor TJSKeyframeAnimationOptions.create(const aDict : TJSKeyframeAnimationOptionsRec); overload; begin Self.id:=aDict.id; end; class function TJSKeyframeAnimationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSKeyframeAnimationOptions.Cast(const Intf: IJSObject): IJSKeyframeAnimationOptions; begin Result:=TJSKeyframeAnimationOptions.JOBCast(Intf); end; function TJSGetAnimationsOptions._Getsubtree: Boolean; begin Result:=ReadJSPropertyBoolean('subtree'); end; procedure TJSGetAnimationsOptions._Setsubtree(const aValue : Boolean); begin WriteJSPropertyBoolean('subtree',aValue); end; constructor TJSGetAnimationsOptions.create(const aDict : TJSGetAnimationsOptionsRec); overload; begin Self.subtree:=aDict.subtree; end; class function TJSGetAnimationsOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGetAnimationsOptions.Cast(const Intf: IJSObject): IJSGetAnimationsOptions; begin Result:=TJSGetAnimationsOptions.JOBCast(Intf); end; function TJSAnimatable.animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes,aOptions],TJSAnimation) as IJSAnimation; end; function TJSAnimatable.animate(aKeyframes: IJSObject): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes],TJSAnimation) as IJSAnimation; end; function TJSAnimatable.animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes,aOptions],TJSAnimation) as IJSAnimation; end; function TJSAnimatable.getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[aOptions],TJSArray) as TJSAnimationDynArray; end; function TJSAnimatable.getAnimations: TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[],TJSArray) as TJSAnimationDynArray; end; class function TJSAnimatable.JSClassName: UnicodeString; begin Result:='Animatable'; end; class function TJSAnimatable.Cast(const Intf: IJSObject): IJSAnimatable; begin Result:=TJSAnimatable.JOBCast(Intf); end; function TJSAnimation._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSAnimation._Geteffect: IJSAnimationEffect; begin Result:=ReadJSPropertyObject('effect',TJSAnimationEffect) as IJSAnimationEffect; end; function TJSAnimation._Gettimeline: IJSAnimationTimeline; begin Result:=ReadJSPropertyObject('timeline',TJSAnimationTimeline) as IJSAnimationTimeline; end; function TJSAnimation._GetstartTime: Double; begin Result:=ReadJSPropertyDouble('startTime'); end; function TJSAnimation._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSAnimation._GetplaybackRate: Double; begin Result:=ReadJSPropertyDouble('playbackRate'); end; function TJSAnimation._GetplayState: TAnimationPlayState; begin Result:=ReadJSPropertyUnicodeString('playState'); end; function TJSAnimation._Getpending: Boolean; begin Result:=ReadJSPropertyBoolean('pending'); end; function TJSAnimation._GetreplaceState: TAnimationReplaceState; begin Result:=ReadJSPropertyUnicodeString('replaceState'); end; function TJSAnimation._Getready: IJSPromise; begin Result:=ReadJSPropertyObject('ready',TJSPromise) as IJSPromise; end; function TJSAnimation._Getfinished: IJSPromise; begin Result:=ReadJSPropertyObject('finished',TJSPromise) as IJSPromise; end; function TJSAnimation._Getonfinish: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfinish'))); end; function TJSAnimation._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSAnimation._Getonremove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremove'))); end; procedure TJSAnimation._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSAnimation._Seteffect(const aValue : IJSAnimationEffect); begin WriteJSPropertyObject('effect',aValue); end; procedure TJSAnimation._Settimeline(const aValue : IJSAnimationTimeline); begin WriteJSPropertyObject('timeline',aValue); end; procedure TJSAnimation._SetstartTime(const aValue : Double); begin WriteJSPropertyDouble('startTime',aValue); end; procedure TJSAnimation._SetcurrentTime(const aValue : Double); begin WriteJSPropertyDouble('currentTime',aValue); end; procedure TJSAnimation._SetplaybackRate(const aValue : Double); begin WriteJSPropertyDouble('playbackRate',aValue); end; procedure TJSAnimation._Setonfinish(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfinish',[m],jiSet); finally m.free end; end; procedure TJSAnimation._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSAnimation._Setonremove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremove',[m],jiSet); finally m.free end; end; constructor TJSAnimation.Create(aEffect: IJSAnimationEffect; aTimeline: IJSAnimationTimeline); begin JOBCreate([aEffect,aTimeline]); end; constructor TJSAnimation.Create; begin JOBCreate([]); end; constructor TJSAnimation.Create(aEffect: IJSAnimationEffect); begin JOBCreate([aEffect]); end; procedure TJSAnimation.cancel; begin InvokeJSNoResult('cancel',[]); end; procedure TJSAnimation.finish; begin InvokeJSNoResult('finish',[]); end; procedure TJSAnimation.play; begin InvokeJSNoResult('play',[]); end; procedure TJSAnimation.pause; begin InvokeJSNoResult('pause',[]); end; procedure TJSAnimation.updatePlaybackRate(aPlaybackRate: Double); begin InvokeJSNoResult('updatePlaybackRate',[aPlaybackRate]); end; procedure TJSAnimation.reverse; begin InvokeJSNoResult('reverse',[]); end; procedure TJSAnimation.persist; begin InvokeJSNoResult('persist',[]); end; procedure TJSAnimation.commitStyles; begin InvokeJSNoResult('commitStyles',[]); end; class function TJSAnimation.JSClassName: UnicodeString; begin Result:='Animation'; end; class function TJSAnimation.Cast(const Intf: IJSObject): IJSAnimation; begin Result:=TJSAnimation.JOBCast(Intf); end; function TJSEffectTiming._Getdelay: Double; begin Result:=ReadJSPropertyDouble('delay'); end; function TJSEffectTiming._GetendDelay: Double; begin Result:=ReadJSPropertyDouble('endDelay'); end; function TJSEffectTiming._Getfill: TFillMode; begin Result:=ReadJSPropertyUnicodeString('fill'); end; function TJSEffectTiming._GetiterationStart: Double; begin Result:=ReadJSPropertyDouble('iterationStart'); end; function TJSEffectTiming._Getiterations: Double; begin Result:=ReadJSPropertyDouble('iterations'); end; function TJSEffectTiming._Getduration: TEffectTiming_duration_Type; begin Result:=ReadJSPropertyVariant('duration'); end; function TJSEffectTiming._Getdirection: TPlaybackDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSEffectTiming._Geteasing: UTF8String; begin Result:=ReadJSPropertyUTF8String('easing'); end; procedure TJSEffectTiming._Setdelay(const aValue : Double); begin WriteJSPropertyDouble('delay',aValue); end; procedure TJSEffectTiming._SetendDelay(const aValue : Double); begin WriteJSPropertyDouble('endDelay',aValue); end; procedure TJSEffectTiming._Setfill(const aValue : TFillMode); begin WriteJSPropertyUnicodeString('fill',aValue); end; procedure TJSEffectTiming._SetiterationStart(const aValue : Double); begin WriteJSPropertyDouble('iterationStart',aValue); end; procedure TJSEffectTiming._Setiterations(const aValue : Double); begin WriteJSPropertyDouble('iterations',aValue); end; procedure TJSEffectTiming._Setduration(const aValue : TEffectTiming_duration_Type); begin WriteJSPropertyVariant('duration',aValue); end; procedure TJSEffectTiming._Setdirection(const aValue : TPlaybackDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSEffectTiming._Seteasing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('easing',aValue); end; constructor TJSEffectTiming.create(const aDict : TJSEffectTimingRec); overload; begin Self.delay:=aDict.delay; Self.endDelay:=aDict.endDelay; Self.fill:=aDict.fill; Self.iterationStart:=aDict.iterationStart; Self.iterations:=aDict.iterations; Self.duration:=aDict.duration; Self.direction:=aDict.direction; Self.easing:=aDict.easing; end; class function TJSEffectTiming.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEffectTiming.Cast(const Intf: IJSObject): IJSEffectTiming; begin Result:=TJSEffectTiming.JOBCast(Intf); end; function TJSOptionalEffectTiming._Getdelay: Double; begin Result:=ReadJSPropertyDouble('delay'); end; function TJSOptionalEffectTiming._GetendDelay: Double; begin Result:=ReadJSPropertyDouble('endDelay'); end; function TJSOptionalEffectTiming._Getfill: TFillMode; begin Result:=ReadJSPropertyUnicodeString('fill'); end; function TJSOptionalEffectTiming._GetiterationStart: Double; begin Result:=ReadJSPropertyDouble('iterationStart'); end; function TJSOptionalEffectTiming._Getiterations: Double; begin Result:=ReadJSPropertyDouble('iterations'); end; function TJSOptionalEffectTiming._Getduration: TOptionalEffectTiming_duration_Type; begin Result:=ReadJSPropertyVariant('duration'); end; function TJSOptionalEffectTiming._Getdirection: TPlaybackDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSOptionalEffectTiming._Geteasing: UTF8String; begin Result:=ReadJSPropertyUTF8String('easing'); end; procedure TJSOptionalEffectTiming._Setdelay(const aValue : Double); begin WriteJSPropertyDouble('delay',aValue); end; procedure TJSOptionalEffectTiming._SetendDelay(const aValue : Double); begin WriteJSPropertyDouble('endDelay',aValue); end; procedure TJSOptionalEffectTiming._Setfill(const aValue : TFillMode); begin WriteJSPropertyUnicodeString('fill',aValue); end; procedure TJSOptionalEffectTiming._SetiterationStart(const aValue : Double); begin WriteJSPropertyDouble('iterationStart',aValue); end; procedure TJSOptionalEffectTiming._Setiterations(const aValue : Double); begin WriteJSPropertyDouble('iterations',aValue); end; procedure TJSOptionalEffectTiming._Setduration(const aValue : TOptionalEffectTiming_duration_Type); begin WriteJSPropertyVariant('duration',aValue); end; procedure TJSOptionalEffectTiming._Setdirection(const aValue : TPlaybackDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSOptionalEffectTiming._Seteasing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('easing',aValue); end; constructor TJSOptionalEffectTiming.create(const aDict : TJSOptionalEffectTimingRec); overload; begin Self.delay:=aDict.delay; Self.endDelay:=aDict.endDelay; Self.fill:=aDict.fill; Self.iterationStart:=aDict.iterationStart; Self.iterations:=aDict.iterations; Self.duration:=aDict.duration; Self.direction:=aDict.direction; Self.easing:=aDict.easing; end; class function TJSOptionalEffectTiming.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOptionalEffectTiming.Cast(const Intf: IJSObject): IJSOptionalEffectTiming; begin Result:=TJSOptionalEffectTiming.JOBCast(Intf); end; function TJSComputedEffectTiming._GetendTime: Double; begin Result:=ReadJSPropertyDouble('endTime'); end; function TJSComputedEffectTiming._GetactiveDuration: Double; begin Result:=ReadJSPropertyDouble('activeDuration'); end; function TJSComputedEffectTiming._GetlocalTime: Double; begin Result:=ReadJSPropertyDouble('localTime'); end; function TJSComputedEffectTiming._Getprogress: Double; begin Result:=ReadJSPropertyDouble('progress'); end; function TJSComputedEffectTiming._GetcurrentIteration: Double; begin Result:=ReadJSPropertyDouble('currentIteration'); end; procedure TJSComputedEffectTiming._SetendTime(const aValue : Double); begin WriteJSPropertyDouble('endTime',aValue); end; procedure TJSComputedEffectTiming._SetactiveDuration(const aValue : Double); begin WriteJSPropertyDouble('activeDuration',aValue); end; procedure TJSComputedEffectTiming._SetlocalTime(const aValue : Double); begin WriteJSPropertyDouble('localTime',aValue); end; procedure TJSComputedEffectTiming._Setprogress(const aValue : Double); begin WriteJSPropertyDouble('progress',aValue); end; procedure TJSComputedEffectTiming._SetcurrentIteration(const aValue : Double); begin WriteJSPropertyDouble('currentIteration',aValue); end; constructor TJSComputedEffectTiming.create(const aDict : TJSComputedEffectTimingRec); overload; begin Self.endTime:=aDict.endTime; Self.activeDuration:=aDict.activeDuration; Self.localTime:=aDict.localTime; Self.progress:=aDict.progress; Self.currentIteration:=aDict.currentIteration; end; class function TJSComputedEffectTiming.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSComputedEffectTiming.Cast(const Intf: IJSObject): IJSComputedEffectTiming; begin Result:=TJSComputedEffectTiming.JOBCast(Intf); end; function TJSAnimationEffect.getTiming: IJSEffectTiming; begin Result:=InvokeJSObjectResult('getTiming',[],TJSEffectTiming) as IJSEffectTiming; end; function TJSAnimationEffect.getComputedTiming: IJSComputedEffectTiming; begin Result:=InvokeJSObjectResult('getComputedTiming',[],TJSComputedEffectTiming) as IJSComputedEffectTiming; end; procedure TJSAnimationEffect.updateTiming(const aTiming: IJSOptionalEffectTiming); begin InvokeJSNoResult('updateTiming',[aTiming]); end; procedure TJSAnimationEffect.updateTiming; begin InvokeJSNoResult('updateTiming',[]); end; class function TJSAnimationEffect.JSClassName: UnicodeString; begin Result:='AnimationEffect'; end; class function TJSAnimationEffect.Cast(const Intf: IJSObject): IJSAnimationEffect; begin Result:=TJSAnimationEffect.JOBCast(Intf); end; function TJSAnimationEvent._GetanimationName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('animationName'); end; function TJSAnimationEvent._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSAnimationEvent._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; constructor TJSAnimationEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSAnimationEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSAnimationEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSAnimationEvent.JSClassName: UnicodeString; begin Result:='AnimationEvent'; end; class function TJSAnimationEvent.Cast(const Intf: IJSObject): IJSAnimationEvent; begin Result:=TJSAnimationEvent.JOBCast(Intf); end; function TJSAnimationEventInit._GetanimationName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('animationName'); end; function TJSAnimationEventInit._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSAnimationEventInit._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; procedure TJSAnimationEventInit._SetanimationName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('animationName',aValue); end; procedure TJSAnimationEventInit._SetelapsedTime(const aValue : Single); begin WriteJSPropertyDouble('elapsedTime',aValue); end; procedure TJSAnimationEventInit._SetpseudoElement(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pseudoElement',aValue); end; constructor TJSAnimationEventInit.create(const aDict : TJSAnimationEventInitRec); overload; begin Self.animationName:=aDict.animationName; Self.elapsedTime:=aDict.elapsedTime; Self.pseudoElement:=aDict.pseudoElement; end; class function TJSAnimationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAnimationEventInit.Cast(const Intf: IJSObject): IJSAnimationEventInit; begin Result:=TJSAnimationEventInit.JOBCast(Intf); end; function TJSAnimationFrameProvider.requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFrameRequestCallback); try Result:=InvokeJSLongIntResult('requestAnimationFrame',[m]); finally m.free; end; end; procedure TJSAnimationFrameProvider.cancelAnimationFrame(aHandle: LongInt); begin InvokeJSNoResult('cancelAnimationFrame',[aHandle]); end; class function TJSAnimationFrameProvider.JSClassName: UnicodeString; begin Result:='AnimationFrameProvider'; end; class function TJSAnimationFrameProvider.Cast(const Intf: IJSObject): IJSAnimationFrameProvider; begin Result:=TJSAnimationFrameProvider.JOBCast(Intf); end; function TJSAnimationPlaybackEvent._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSAnimationPlaybackEvent._GettimelineTime: Double; begin Result:=ReadJSPropertyDouble('timelineTime'); end; constructor TJSAnimationPlaybackEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSAnimationPlaybackEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSAnimationPlaybackEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSAnimationPlaybackEvent.JSClassName: UnicodeString; begin Result:='AnimationPlaybackEvent'; end; class function TJSAnimationPlaybackEvent.Cast(const Intf: IJSObject): IJSAnimationPlaybackEvent; begin Result:=TJSAnimationPlaybackEvent.JOBCast(Intf); end; function TJSAnimationPlaybackEventInit._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSAnimationPlaybackEventInit._GettimelineTime: Double; begin Result:=ReadJSPropertyDouble('timelineTime'); end; procedure TJSAnimationPlaybackEventInit._SetcurrentTime(const aValue : Double); begin WriteJSPropertyDouble('currentTime',aValue); end; procedure TJSAnimationPlaybackEventInit._SettimelineTime(const aValue : Double); begin WriteJSPropertyDouble('timelineTime',aValue); end; constructor TJSAnimationPlaybackEventInit.create(const aDict : TJSAnimationPlaybackEventInitRec); overload; begin Self.currentTime:=aDict.currentTime; Self.timelineTime:=aDict.timelineTime; end; class function TJSAnimationPlaybackEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAnimationPlaybackEventInit.Cast(const Intf: IJSObject): IJSAnimationPlaybackEventInit; begin Result:=TJSAnimationPlaybackEventInit.JOBCast(Intf); end; function TJSAnimationTimeline._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; class function TJSAnimationTimeline.JSClassName: UnicodeString; begin Result:='AnimationTimeline'; end; class function TJSAnimationTimeline.Cast(const Intf: IJSObject): IJSAnimationTimeline; begin Result:=TJSAnimationTimeline.JOBCast(Intf); end; function TJSAppInfo._Getpath: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('path'); end; function TJSAppInfo._GetisCoreApp: Boolean; begin Result:=ReadJSPropertyBoolean('isCoreApp'); end; procedure TJSAppInfo._Setpath(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('path',aValue); end; procedure TJSAppInfo._SetisCoreApp(const aValue : Boolean); begin WriteJSPropertyBoolean('isCoreApp',aValue); end; constructor TJSAppInfo.create(const aDict : TJSAppInfoRec); overload; begin Self.path:=aDict.path; Self.isCoreApp:=aDict.isCoreApp; end; class function TJSAppInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAppInfo.Cast(const Intf: IJSObject): IJSAppInfo; begin Result:=TJSAppInfo.JOBCast(Intf); end; class function TJSMozObserver.JSClassName: UnicodeString; begin Result:='MozObserver'; end; class function TJSMozObserver.Cast(const Intf: IJSObject): IJSMozObserver; begin Result:=TJSMozObserver.JOBCast(Intf); end; function TJSAppNotificationServiceOptions._GettextClickable: Boolean; begin Result:=ReadJSPropertyBoolean('textClickable'); end; function TJSAppNotificationServiceOptions._GetmanifestURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('manifestURL'); end; function TJSAppNotificationServiceOptions._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSAppNotificationServiceOptions._GetdbId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dbId'); end; function TJSAppNotificationServiceOptions._Getdir: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dir'); end; function TJSAppNotificationServiceOptions._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSAppNotificationServiceOptions._Gettag: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tag'); end; function TJSAppNotificationServiceOptions._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSAppNotificationServiceOptions._Getmozbehavior: IJSNotificationBehavior; begin Result:=ReadJSPropertyObject('mozbehavior',TJSNotificationBehavior) as IJSNotificationBehavior; end; procedure TJSAppNotificationServiceOptions._SettextClickable(const aValue : Boolean); begin WriteJSPropertyBoolean('textClickable',aValue); end; procedure TJSAppNotificationServiceOptions._SetmanifestURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('manifestURL',aValue); end; procedure TJSAppNotificationServiceOptions._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSAppNotificationServiceOptions._SetdbId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dbId',aValue); end; procedure TJSAppNotificationServiceOptions._Setdir(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dir',aValue); end; procedure TJSAppNotificationServiceOptions._Setlang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lang',aValue); end; procedure TJSAppNotificationServiceOptions._Settag(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('tag',aValue); end; procedure TJSAppNotificationServiceOptions._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; procedure TJSAppNotificationServiceOptions._Setmozbehavior(const aValue : IJSNotificationBehavior); begin WriteJSPropertyObject('mozbehavior',aValue); end; constructor TJSAppNotificationServiceOptions.create(const aDict : TJSAppNotificationServiceOptionsRec); overload; begin Self.textClickable:=aDict.textClickable; Self.manifestURL:=aDict.manifestURL; Self.id:=aDict.id; Self.dbId:=aDict.dbId; Self.dir:=aDict.dir; Self.lang:=aDict.lang; Self.tag:=aDict.tag; Self.data:=aDict.data; Self.mozbehavior:=aDict.mozbehavior; end; class function TJSAppNotificationServiceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAppNotificationServiceOptions.Cast(const Intf: IJSObject): IJSAppNotificationServiceOptions; begin Result:=TJSAppNotificationServiceOptions.JOBCast(Intf); end; function TJSScrollFrameDataEntry._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSScrollFrameDataEntry._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; procedure TJSScrollFrameDataEntry._Setkey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('key',aValue); end; procedure TJSScrollFrameDataEntry._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSScrollFrameDataEntry.create(const aDict : TJSScrollFrameDataEntryRec); overload; begin Self.key:=aDict.key; Self.value:=aDict.value; end; class function TJSScrollFrameDataEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollFrameDataEntry.Cast(const Intf: IJSObject): IJSScrollFrameDataEntry; begin Result:=TJSScrollFrameDataEntry.JOBCast(Intf); end; function TJSScrollFrameData._GetscrollId: QWord; begin Result:=ReadJSPropertyInt64('scrollId'); end; function TJSScrollFrameData._Getentries: TJSScrollFrameDataEntryDynArray; begin Result:=ReadJSPropertyObject('entries',TJSArray) as TJSScrollFrameDataEntryDynArray; end; procedure TJSScrollFrameData._SetscrollId(const aValue : QWord); begin WriteJSPropertyDouble('scrollId',aValue); end; procedure TJSScrollFrameData._Setentries(const aValue : TJSScrollFrameDataEntryDynArray); begin WriteJSPropertyObject('entries',aValue); end; constructor TJSScrollFrameData.create(const aDict : TJSScrollFrameDataRec); overload; begin Self.scrollId:=aDict.scrollId; Self.entries:=aDict.entries; end; class function TJSScrollFrameData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollFrameData.Cast(const Intf: IJSObject): IJSScrollFrameData; begin Result:=TJSScrollFrameData.JOBCast(Intf); end; function TJSAPZBucket._GetsequenceNumber: Cardinal; begin Result:=ReadJSPropertyInt64('sequenceNumber'); end; function TJSAPZBucket._GetscrollFrames: TJSScrollFrameDataDynArray; begin Result:=ReadJSPropertyObject('scrollFrames',TJSArray) as TJSScrollFrameDataDynArray; end; procedure TJSAPZBucket._SetsequenceNumber(const aValue : Cardinal); begin WriteJSPropertyDouble('sequenceNumber',aValue); end; procedure TJSAPZBucket._SetscrollFrames(const aValue : TJSScrollFrameDataDynArray); begin WriteJSPropertyObject('scrollFrames',aValue); end; constructor TJSAPZBucket.create(const aDict : TJSAPZBucketRec); overload; begin Self.sequenceNumber:=aDict.sequenceNumber; Self.scrollFrames:=aDict.scrollFrames; end; class function TJSAPZBucket.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAPZBucket.Cast(const Intf: IJSObject): IJSAPZBucket; begin Result:=TJSAPZBucket.JOBCast(Intf); end; class function TJSAPZHitResultFlags.JSClassName: UnicodeString; begin Result:='APZHitResultFlags'; end; class function TJSAPZHitResultFlags.Cast(const Intf: IJSObject): IJSAPZHitResultFlags; begin Result:=TJSAPZHitResultFlags.JOBCast(Intf); end; function TJSAPZHitResult._GetscreenX: Single; begin Result:=ReadJSPropertyDouble('screenX'); end; function TJSAPZHitResult._GetscreenY: Single; begin Result:=ReadJSPropertyDouble('screenY'); end; function TJSAPZHitResult._GethitResult: Word; begin Result:=ReadJSPropertyLongInt('hitResult'); end; function TJSAPZHitResult._GetlayersId: QWord; begin Result:=ReadJSPropertyInt64('layersId'); end; function TJSAPZHitResult._GetscrollId: QWord; begin Result:=ReadJSPropertyInt64('scrollId'); end; procedure TJSAPZHitResult._SetscreenX(const aValue : Single); begin WriteJSPropertyDouble('screenX',aValue); end; procedure TJSAPZHitResult._SetscreenY(const aValue : Single); begin WriteJSPropertyDouble('screenY',aValue); end; procedure TJSAPZHitResult._SethitResult(const aValue : Word); begin WriteJSPropertyLongInt('hitResult',aValue); end; procedure TJSAPZHitResult._SetlayersId(const aValue : QWord); begin WriteJSPropertyDouble('layersId',aValue); end; procedure TJSAPZHitResult._SetscrollId(const aValue : QWord); begin WriteJSPropertyDouble('scrollId',aValue); end; constructor TJSAPZHitResult.create(const aDict : TJSAPZHitResultRec); overload; begin Self.screenX:=aDict.screenX; Self.screenY:=aDict.screenY; Self.hitResult:=aDict.hitResult; Self.layersId:=aDict.layersId; Self.scrollId:=aDict.scrollId; end; class function TJSAPZHitResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAPZHitResult.Cast(const Intf: IJSObject): IJSAPZHitResult; begin Result:=TJSAPZHitResult.JOBCast(Intf); end; function TJSAPZSampledResult._GetscrollOffsetX: Single; begin Result:=ReadJSPropertyDouble('scrollOffsetX'); end; function TJSAPZSampledResult._GetscrollOffsetY: Single; begin Result:=ReadJSPropertyDouble('scrollOffsetY'); end; function TJSAPZSampledResult._GetsampledTimeStamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('sampledTimeStamp'); end; function TJSAPZSampledResult._GetlayersId: QWord; begin Result:=ReadJSPropertyInt64('layersId'); end; function TJSAPZSampledResult._GetscrollId: QWord; begin Result:=ReadJSPropertyInt64('scrollId'); end; procedure TJSAPZSampledResult._SetscrollOffsetX(const aValue : Single); begin WriteJSPropertyDouble('scrollOffsetX',aValue); end; procedure TJSAPZSampledResult._SetscrollOffsetY(const aValue : Single); begin WriteJSPropertyDouble('scrollOffsetY',aValue); end; procedure TJSAPZSampledResult._SetsampledTimeStamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('sampledTimeStamp',aValue); end; procedure TJSAPZSampledResult._SetlayersId(const aValue : QWord); begin WriteJSPropertyDouble('layersId',aValue); end; procedure TJSAPZSampledResult._SetscrollId(const aValue : QWord); begin WriteJSPropertyDouble('scrollId',aValue); end; constructor TJSAPZSampledResult.create(const aDict : TJSAPZSampledResultRec); overload; begin Self.scrollOffsetX:=aDict.scrollOffsetX; Self.scrollOffsetY:=aDict.scrollOffsetY; Self.sampledTimeStamp:=aDict.sampledTimeStamp; Self.layersId:=aDict.layersId; Self.scrollId:=aDict.scrollId; end; class function TJSAPZSampledResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAPZSampledResult.Cast(const Intf: IJSObject): IJSAPZSampledResult; begin Result:=TJSAPZSampledResult.JOBCast(Intf); end; function TJSAdditionalDataEntry._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSAdditionalDataEntry._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; procedure TJSAdditionalDataEntry._Setkey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('key',aValue); end; procedure TJSAdditionalDataEntry._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSAdditionalDataEntry.create(const aDict : TJSAdditionalDataEntryRec); overload; begin Self.key:=aDict.key; Self.value:=aDict.value; end; class function TJSAdditionalDataEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAdditionalDataEntry.Cast(const Intf: IJSObject): IJSAdditionalDataEntry; begin Result:=TJSAdditionalDataEntry.JOBCast(Intf); end; function TJSAPZTestData._Getpaints: TJSAPZBucketDynArray; begin Result:=ReadJSPropertyObject('paints',TJSArray) as TJSAPZBucketDynArray; end; function TJSAPZTestData._GetrepaintRequests: TJSAPZBucketDynArray; begin Result:=ReadJSPropertyObject('repaintRequests',TJSArray) as TJSAPZBucketDynArray; end; function TJSAPZTestData._GethitResults: TJSAPZHitResultDynArray; begin Result:=ReadJSPropertyObject('hitResults',TJSArray) as TJSAPZHitResultDynArray; end; function TJSAPZTestData._GetsampledResults: TJSAPZSampledResultDynArray; begin Result:=ReadJSPropertyObject('sampledResults',TJSArray) as TJSAPZSampledResultDynArray; end; function TJSAPZTestData._GetadditionalData: TJSAdditionalDataEntryDynArray; begin Result:=ReadJSPropertyObject('additionalData',TJSArray) as TJSAdditionalDataEntryDynArray; end; procedure TJSAPZTestData._Setpaints(const aValue : TJSAPZBucketDynArray); begin WriteJSPropertyObject('paints',aValue); end; procedure TJSAPZTestData._SetrepaintRequests(const aValue : TJSAPZBucketDynArray); begin WriteJSPropertyObject('repaintRequests',aValue); end; procedure TJSAPZTestData._SethitResults(const aValue : TJSAPZHitResultDynArray); begin WriteJSPropertyObject('hitResults',aValue); end; procedure TJSAPZTestData._SetsampledResults(const aValue : TJSAPZSampledResultDynArray); begin WriteJSPropertyObject('sampledResults',aValue); end; procedure TJSAPZTestData._SetadditionalData(const aValue : TJSAdditionalDataEntryDynArray); begin WriteJSPropertyObject('additionalData',aValue); end; constructor TJSAPZTestData.create(const aDict : TJSAPZTestDataRec); overload; begin Self.paints:=aDict.paints; Self.repaintRequests:=aDict.repaintRequests; Self.hitResults:=aDict.hitResults; Self.sampledResults:=aDict.sampledResults; Self.additionalData:=aDict.additionalData; end; class function TJSAPZTestData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAPZTestData.Cast(const Intf: IJSObject): IJSAPZTestData; begin Result:=TJSAPZTestData.JOBCast(Intf); end; function TJSFrameUniformity._GetlayerAddress: Cardinal; begin Result:=ReadJSPropertyInt64('layerAddress'); end; function TJSFrameUniformity._GetframeUniformity: Single; begin Result:=ReadJSPropertyDouble('frameUniformity'); end; procedure TJSFrameUniformity._SetlayerAddress(const aValue : Cardinal); begin WriteJSPropertyDouble('layerAddress',aValue); end; procedure TJSFrameUniformity._SetframeUniformity(const aValue : Single); begin WriteJSPropertyDouble('frameUniformity',aValue); end; constructor TJSFrameUniformity.create(const aDict : TJSFrameUniformityRec); overload; begin Self.layerAddress:=aDict.layerAddress; Self.frameUniformity:=aDict.frameUniformity; end; class function TJSFrameUniformity.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFrameUniformity.Cast(const Intf: IJSObject): IJSFrameUniformity; begin Result:=TJSFrameUniformity.JOBCast(Intf); end; function TJSFrameUniformityResults._GetlayerUniformities: TJSFrameUniformityDynArray; begin Result:=ReadJSPropertyObject('layerUniformities',TJSArray) as TJSFrameUniformityDynArray; end; procedure TJSFrameUniformityResults._SetlayerUniformities(const aValue : TJSFrameUniformityDynArray); begin WriteJSPropertyObject('layerUniformities',aValue); end; constructor TJSFrameUniformityResults.create(const aDict : TJSFrameUniformityResultsRec); overload; begin Self.layerUniformities:=aDict.layerUniformities; end; class function TJSFrameUniformityResults.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFrameUniformityResults.Cast(const Intf: IJSObject): IJSFrameUniformityResults; begin Result:=TJSFrameUniformityResults.JOBCast(Intf); end; function TJSARIAMixin._GetariaActiveDescendantElement: IJSElement; begin Result:=ReadJSPropertyObject('ariaActiveDescendantElement',TJSElement) as IJSElement; end; function TJSARIAMixin._Getrole: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('role'); end; function TJSARIAMixin._GetariaAtomic: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAtomic'); end; function TJSARIAMixin._GetariaAutoComplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAutoComplete'); end; function TJSARIAMixin._GetariaBrailleLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleLabel'); end; function TJSARIAMixin._GetariaBrailleRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleRoleDescription'); end; function TJSARIAMixin._GetariaBusy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBusy'); end; function TJSARIAMixin._GetariaChecked: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaChecked'); end; function TJSARIAMixin._GetariaColCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColCount'); end; function TJSARIAMixin._GetariaColIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndex'); end; function TJSARIAMixin._GetariaColIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndexText'); end; function TJSARIAMixin._GetariaColSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColSpan'); end; function TJSARIAMixin._GetariaCurrent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaCurrent'); end; function TJSARIAMixin._GetariaDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDescription'); end; function TJSARIAMixin._GetariaDisabled: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDisabled'); end; function TJSARIAMixin._GetariaExpanded: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaExpanded'); end; function TJSARIAMixin._GetariaHasPopup: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHasPopup'); end; function TJSARIAMixin._GetariaHidden: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHidden'); end; function TJSARIAMixin._GetariaInvalid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaInvalid'); end; function TJSARIAMixin._GetariaKeyShortcuts: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaKeyShortcuts'); end; function TJSARIAMixin._GetariaLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLabel'); end; function TJSARIAMixin._GetariaLevel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLevel'); end; function TJSARIAMixin._GetariaLive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLive'); end; function TJSARIAMixin._GetariaModal: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaModal'); end; function TJSARIAMixin._GetariaMultiLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiLine'); end; function TJSARIAMixin._GetariaMultiSelectable: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiSelectable'); end; function TJSARIAMixin._GetariaOrientation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaOrientation'); end; function TJSARIAMixin._GetariaPlaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPlaceholder'); end; function TJSARIAMixin._GetariaPosInSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPosInSet'); end; function TJSARIAMixin._GetariaPressed: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPressed'); end; function TJSARIAMixin._GetariaReadOnly: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaReadOnly'); end; function TJSARIAMixin._GetariaRelevant: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRelevant'); end; function TJSARIAMixin._GetariaRequired: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRequired'); end; function TJSARIAMixin._GetariaRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRoleDescription'); end; function TJSARIAMixin._GetariaRowCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowCount'); end; function TJSARIAMixin._GetariaRowIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndex'); end; function TJSARIAMixin._GetariaRowIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndexText'); end; function TJSARIAMixin._GetariaRowSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowSpan'); end; function TJSARIAMixin._GetariaSelected: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSelected'); end; function TJSARIAMixin._GetariaSetSize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSetSize'); end; function TJSARIAMixin._GetariaSort: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSort'); end; function TJSARIAMixin._GetariaValueMax: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMax'); end; function TJSARIAMixin._GetariaValueMin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMin'); end; function TJSARIAMixin._GetariaValueNow: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueNow'); end; function TJSARIAMixin._GetariaValueText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueText'); end; procedure TJSARIAMixin._SetariaActiveDescendantElement(const aValue : IJSElement); begin WriteJSPropertyObject('ariaActiveDescendantElement',aValue); end; procedure TJSARIAMixin._Setrole(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('role',aValue); end; procedure TJSARIAMixin._SetariaAtomic(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAtomic',aValue); end; procedure TJSARIAMixin._SetariaAutoComplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAutoComplete',aValue); end; procedure TJSARIAMixin._SetariaBrailleLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleLabel',aValue); end; procedure TJSARIAMixin._SetariaBrailleRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleRoleDescription',aValue); end; procedure TJSARIAMixin._SetariaBusy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBusy',aValue); end; procedure TJSARIAMixin._SetariaChecked(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaChecked',aValue); end; procedure TJSARIAMixin._SetariaColCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColCount',aValue); end; procedure TJSARIAMixin._SetariaColIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndex',aValue); end; procedure TJSARIAMixin._SetariaColIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndexText',aValue); end; procedure TJSARIAMixin._SetariaColSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColSpan',aValue); end; procedure TJSARIAMixin._SetariaCurrent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaCurrent',aValue); end; procedure TJSARIAMixin._SetariaDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDescription',aValue); end; procedure TJSARIAMixin._SetariaDisabled(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDisabled',aValue); end; procedure TJSARIAMixin._SetariaExpanded(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaExpanded',aValue); end; procedure TJSARIAMixin._SetariaHasPopup(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHasPopup',aValue); end; procedure TJSARIAMixin._SetariaHidden(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHidden',aValue); end; procedure TJSARIAMixin._SetariaInvalid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaInvalid',aValue); end; procedure TJSARIAMixin._SetariaKeyShortcuts(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaKeyShortcuts',aValue); end; procedure TJSARIAMixin._SetariaLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLabel',aValue); end; procedure TJSARIAMixin._SetariaLevel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLevel',aValue); end; procedure TJSARIAMixin._SetariaLive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLive',aValue); end; procedure TJSARIAMixin._SetariaModal(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaModal',aValue); end; procedure TJSARIAMixin._SetariaMultiLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiLine',aValue); end; procedure TJSARIAMixin._SetariaMultiSelectable(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiSelectable',aValue); end; procedure TJSARIAMixin._SetariaOrientation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaOrientation',aValue); end; procedure TJSARIAMixin._SetariaPlaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPlaceholder',aValue); end; procedure TJSARIAMixin._SetariaPosInSet(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPosInSet',aValue); end; procedure TJSARIAMixin._SetariaPressed(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPressed',aValue); end; procedure TJSARIAMixin._SetariaReadOnly(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaReadOnly',aValue); end; procedure TJSARIAMixin._SetariaRelevant(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRelevant',aValue); end; procedure TJSARIAMixin._SetariaRequired(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRequired',aValue); end; procedure TJSARIAMixin._SetariaRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRoleDescription',aValue); end; procedure TJSARIAMixin._SetariaRowCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowCount',aValue); end; procedure TJSARIAMixin._SetariaRowIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndex',aValue); end; procedure TJSARIAMixin._SetariaRowIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndexText',aValue); end; procedure TJSARIAMixin._SetariaRowSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowSpan',aValue); end; procedure TJSARIAMixin._SetariaSelected(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSelected',aValue); end; procedure TJSARIAMixin._SetariaSetSize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSetSize',aValue); end; procedure TJSARIAMixin._SetariaSort(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSort',aValue); end; procedure TJSARIAMixin._SetariaValueMax(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMax',aValue); end; procedure TJSARIAMixin._SetariaValueMin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMin',aValue); end; procedure TJSARIAMixin._SetariaValueNow(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueNow',aValue); end; procedure TJSARIAMixin._SetariaValueText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueText',aValue); end; class function TJSARIAMixin.JSClassName: UnicodeString; begin Result:='ARIAMixin'; end; class function TJSARIAMixin.Cast(const Intf: IJSObject): IJSARIAMixin; begin Result:=TJSARIAMixin.JOBCast(Intf); end; function TJSAttr._GetlocalName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localName'); end; function TJSAttr._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSAttr._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSAttr._GetnamespaceURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namespaceURI'); end; function TJSAttr._Getprefix: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('prefix'); end; function TJSAttr._Getspecified: Boolean; begin Result:=ReadJSPropertyBoolean('specified'); end; function TJSAttr._GetownerElement: IJSElement; begin Result:=ReadJSPropertyObject('ownerElement',TJSElement) as IJSElement; end; procedure TJSAttr._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; class function TJSAttr.JSClassName: UnicodeString; begin Result:='Attr'; end; class function TJSAttr.Cast(const Intf: IJSObject): IJSAttr; begin Result:=TJSAttr.JOBCast(Intf); end; function TJSAudioBufferOptions._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSAudioBufferOptions._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSAudioBufferOptions._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; procedure TJSAudioBufferOptions._SetnumberOfChannels(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfChannels',aValue); end; procedure TJSAudioBufferOptions._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; procedure TJSAudioBufferOptions._SetsampleRate(const aValue : Single); begin WriteJSPropertyDouble('sampleRate',aValue); end; constructor TJSAudioBufferOptions.create(const aDict : TJSAudioBufferOptionsRec); overload; begin Self.numberOfChannels:=aDict.numberOfChannels; Self.length_:=aDict.length_; Self.sampleRate:=aDict.sampleRate; end; class function TJSAudioBufferOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioBufferOptions.Cast(const Intf: IJSObject): IJSAudioBufferOptions; begin Result:=TJSAudioBufferOptions.JOBCast(Intf); end; function TJSAudioBuffer._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; function TJSAudioBuffer._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSAudioBuffer._Getduration: Double; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSAudioBuffer._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; constructor TJSAudioBuffer.Create(const aOptions: IJSAudioBufferOptions); begin JOBCreate([aOptions]); end; function TJSAudioBuffer.getChannelData(aChannel: Cardinal): IJSFloat32Array; begin Result:=InvokeJSObjectResult('getChannelData',[aChannel],TJSFloat32Array) as IJSFloat32Array; end; procedure TJSAudioBuffer.copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); begin InvokeJSNoResult('copyFromChannel',[aDestination,aChannelNumber,aStartInChannel]); end; procedure TJSAudioBuffer.copyFromChannel(aDestination: IJSFloat32Array; aChannelNumber: Cardinal); begin InvokeJSNoResult('copyFromChannel',[aDestination,aChannelNumber]); end; procedure TJSAudioBuffer.copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal; aStartInChannel: Cardinal); begin InvokeJSNoResult('copyToChannel',[aSource,aChannelNumber,aStartInChannel]); end; procedure TJSAudioBuffer.copyToChannel(aSource: IJSFloat32Array; aChannelNumber: Cardinal); begin InvokeJSNoResult('copyToChannel',[aSource,aChannelNumber]); end; class function TJSAudioBuffer.JSClassName: UnicodeString; begin Result:='AudioBuffer'; end; class function TJSAudioBuffer.Cast(const Intf: IJSObject): IJSAudioBuffer; begin Result:=TJSAudioBuffer.JOBCast(Intf); end; function TJSAudioBufferSourceOptions._Getbuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSAudioBuffer) as IJSAudioBuffer; end; function TJSAudioBufferSourceOptions._Getdetune: Single; begin Result:=ReadJSPropertyDouble('detune'); end; function TJSAudioBufferSourceOptions._Getloop: Boolean; begin Result:=ReadJSPropertyBoolean('loop'); end; function TJSAudioBufferSourceOptions._GetloopEnd: Double; begin Result:=ReadJSPropertyDouble('loopEnd'); end; function TJSAudioBufferSourceOptions._GetloopStart: Double; begin Result:=ReadJSPropertyDouble('loopStart'); end; function TJSAudioBufferSourceOptions._GetplaybackRate: Single; begin Result:=ReadJSPropertyDouble('playbackRate'); end; procedure TJSAudioBufferSourceOptions._Setbuffer(const aValue : IJSAudioBuffer); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSAudioBufferSourceOptions._Setdetune(const aValue : Single); begin WriteJSPropertyDouble('detune',aValue); end; procedure TJSAudioBufferSourceOptions._Setloop(const aValue : Boolean); begin WriteJSPropertyBoolean('loop',aValue); end; procedure TJSAudioBufferSourceOptions._SetloopEnd(const aValue : Double); begin WriteJSPropertyDouble('loopEnd',aValue); end; procedure TJSAudioBufferSourceOptions._SetloopStart(const aValue : Double); begin WriteJSPropertyDouble('loopStart',aValue); end; procedure TJSAudioBufferSourceOptions._SetplaybackRate(const aValue : Single); begin WriteJSPropertyDouble('playbackRate',aValue); end; constructor TJSAudioBufferSourceOptions.create(const aDict : TJSAudioBufferSourceOptionsRec); overload; begin Self.buffer:=aDict.buffer; Self.detune:=aDict.detune; Self.loop:=aDict.loop; Self.loopEnd:=aDict.loopEnd; Self.loopStart:=aDict.loopStart; Self.playbackRate:=aDict.playbackRate; end; class function TJSAudioBufferSourceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioBufferSourceOptions.Cast(const Intf: IJSObject): IJSAudioBufferSourceOptions; begin Result:=TJSAudioBufferSourceOptions.JOBCast(Intf); end; function TJSAudioBufferSourceNode._Getbuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSAudioBuffer) as IJSAudioBuffer; end; function TJSAudioBufferSourceNode._GetplaybackRate: IJSAudioParam; begin Result:=ReadJSPropertyObject('playbackRate',TJSAudioParam) as IJSAudioParam; end; function TJSAudioBufferSourceNode._Getdetune: IJSAudioParam; begin Result:=ReadJSPropertyObject('detune',TJSAudioParam) as IJSAudioParam; end; function TJSAudioBufferSourceNode._Getloop: Boolean; begin Result:=ReadJSPropertyBoolean('loop'); end; function TJSAudioBufferSourceNode._GetloopStart: Double; begin Result:=ReadJSPropertyDouble('loopStart'); end; function TJSAudioBufferSourceNode._GetloopEnd: Double; begin Result:=ReadJSPropertyDouble('loopEnd'); end; procedure TJSAudioBufferSourceNode._Setbuffer(const aValue : IJSAudioBuffer); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSAudioBufferSourceNode._Setloop(const aValue : Boolean); begin WriteJSPropertyBoolean('loop',aValue); end; procedure TJSAudioBufferSourceNode._SetloopStart(const aValue : Double); begin WriteJSPropertyDouble('loopStart',aValue); end; procedure TJSAudioBufferSourceNode._SetloopEnd(const aValue : Double); begin WriteJSPropertyDouble('loopEnd',aValue); end; constructor TJSAudioBufferSourceNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSAudioBufferSourceOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSAudioBufferSourceNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; procedure TJSAudioBufferSourceNode.start(aWhen: Double; aGrainOffset: Double; aGrainDuration: Double); begin InvokeJSNoResult('start',[aWhen,aGrainOffset,aGrainDuration]); end; procedure TJSAudioBufferSourceNode.start; begin InvokeJSNoResult('start',[]); end; procedure TJSAudioBufferSourceNode.start(aWhen: Double); begin InvokeJSNoResult('start',[aWhen]); end; procedure TJSAudioBufferSourceNode.start(aWhen: Double; aGrainOffset: Double); begin InvokeJSNoResult('start',[aWhen,aGrainOffset]); end; class function TJSAudioBufferSourceNode.JSClassName: UnicodeString; begin Result:='AudioBufferSourceNode'; end; class function TJSAudioBufferSourceNode.Cast(const Intf: IJSObject): IJSAudioBufferSourceNode; begin Result:=TJSAudioBufferSourceNode.JOBCast(Intf); end; function TJSAudioContextOptions._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; procedure TJSAudioContextOptions._SetsampleRate(const aValue : Single); begin WriteJSPropertyDouble('sampleRate',aValue); end; constructor TJSAudioContextOptions.create(const aDict : TJSAudioContextOptionsRec); overload; begin Self.sampleRate:=aDict.sampleRate; end; class function TJSAudioContextOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioContextOptions.Cast(const Intf: IJSObject): IJSAudioContextOptions; begin Result:=TJSAudioContextOptions.JOBCast(Intf); end; function TJSAudioTimestamp._GetcontextTime: Double; begin Result:=ReadJSPropertyDouble('contextTime'); end; function TJSAudioTimestamp._GetperformanceTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('performanceTime'); end; procedure TJSAudioTimestamp._SetcontextTime(const aValue : Double); begin WriteJSPropertyDouble('contextTime',aValue); end; procedure TJSAudioTimestamp._SetperformanceTime(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('performanceTime',aValue); end; constructor TJSAudioTimestamp.create(const aDict : TJSAudioTimestampRec); overload; begin Self.contextTime:=aDict.contextTime; Self.performanceTime:=aDict.performanceTime; end; class function TJSAudioTimestamp.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioTimestamp.Cast(const Intf: IJSObject): IJSAudioTimestamp; begin Result:=TJSAudioTimestamp.JOBCast(Intf); end; function TJSAudioContext._GetbaseLatency: Double; begin Result:=ReadJSPropertyDouble('baseLatency'); end; function TJSAudioContext._GetoutputLatency: Double; begin Result:=ReadJSPropertyDouble('outputLatency'); end; constructor TJSAudioContext.Create(const aContextOptions: IJSAudioContextOptions); begin JOBCreate([aContextOptions]); end; constructor TJSAudioContext.Create; begin JOBCreate([]); end; function TJSAudioContext.getOutputTimestamp: IJSAudioTimestamp; begin Result:=InvokeJSObjectResult('getOutputTimestamp',[],TJSAudioTimestamp) as IJSAudioTimestamp; end; function TJSAudioContext.suspend: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('suspend',[],TJSPromise) as IJSPromise; end; function TJSAudioContext.close: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('close',[],TJSPromise) as IJSPromise; end; function TJSAudioContext.createMediaElementSource(aMediaElement: IJSHTMLMediaElement): IJSMediaElementAudioSourceNode; begin Result:=InvokeJSObjectResult('createMediaElementSource',[aMediaElement],TJSMediaElementAudioSourceNode) as IJSMediaElementAudioSourceNode; end; function TJSAudioContext.createMediaStreamSource(aMediaStream: IJSMediaStream): IJSMediaStreamAudioSourceNode; begin Result:=InvokeJSObjectResult('createMediaStreamSource',[aMediaStream],TJSMediaStreamAudioSourceNode) as IJSMediaStreamAudioSourceNode; end; function TJSAudioContext.createMediaStreamTrackSource(aMediaStreamTrack: IJSMediaStreamTrack): IJSMediaStreamTrackAudioSourceNode; begin Result:=InvokeJSObjectResult('createMediaStreamTrackSource',[aMediaStreamTrack],TJSMediaStreamTrackAudioSourceNode) as IJSMediaStreamTrackAudioSourceNode; end; function TJSAudioContext.createMediaStreamDestination: IJSMediaStreamAudioDestinationNode; begin Result:=InvokeJSObjectResult('createMediaStreamDestination',[],TJSMediaStreamAudioDestinationNode) as IJSMediaStreamAudioDestinationNode; end; class function TJSAudioContext.JSClassName: UnicodeString; begin Result:='AudioContext'; end; class function TJSAudioContext.Cast(const Intf: IJSObject): IJSAudioContext; begin Result:=TJSAudioContext.JOBCast(Intf); end; function TJSAudioData._Getformat: TAudioSampleFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSAudioData._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; function TJSAudioData._GetnumberOfFrames: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfFrames'); end; function TJSAudioData._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSAudioData._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSAudioData._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; constructor TJSAudioData.Create(const aInit: IJSAudioDataInit); begin JOBCreate([aInit]); end; function TJSAudioData.allocationSize(const aOptions: IJSAudioDataCopyToOptions): Cardinal; begin Result:=InvokeJSLongIntResult('allocationSize',[aOptions]); end; procedure TJSAudioData.copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSAudioDataCopyToOptions); begin InvokeJSNoResult('copyTo',[aDestination,aOptions]); end; procedure TJSAudioData.copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSAudioDataCopyToOptions); begin InvokeJSNoResult('copyTo',[aDestination,aOptions]); end; function TJSAudioData.clone: IJSAudioData; begin Result:=InvokeJSObjectResult('clone',[],TJSAudioData) as IJSAudioData; end; procedure TJSAudioData.close; begin InvokeJSNoResult('close',[]); end; class function TJSAudioData.JSClassName: UnicodeString; begin Result:='AudioData'; end; class function TJSAudioData.Cast(const Intf: IJSObject): IJSAudioData; begin Result:=TJSAudioData.JOBCast(Intf); end; function TJSAudioDataInit._Getformat: TAudioSampleFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSAudioDataInit._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; function TJSAudioDataInit._GetnumberOfFrames: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfFrames'); end; function TJSAudioDataInit._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSAudioDataInit._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSAudioDataInit._Getdata: TAudioDataInit_data_Type; begin Result:=ReadJSPropertyVariant('data'); end; function TJSAudioDataInit._Gettransfer: TIJSArrayBufferDynArray; begin Result:=ReadJSPropertyObject('transfer',TJSArray) as TIJSArrayBufferDynArray; end; procedure TJSAudioDataInit._Setformat(const aValue : TAudioSampleFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSAudioDataInit._SetsampleRate(const aValue : Single); begin WriteJSPropertyDouble('sampleRate',aValue); end; procedure TJSAudioDataInit._SetnumberOfFrames(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfFrames',aValue); end; procedure TJSAudioDataInit._SetnumberOfChannels(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfChannels',aValue); end; procedure TJSAudioDataInit._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSAudioDataInit._Setdata(const aValue : TAudioDataInit_data_Type); begin WriteJSPropertyVariant('data',aValue); end; procedure TJSAudioDataInit._Settransfer(const aValue : TIJSArrayBufferDynArray); begin WriteJSPropertyObject('transfer',aValue); end; constructor TJSAudioDataInit.create(const aDict : TJSAudioDataInitRec); overload; begin Self.format:=aDict.format; Self.sampleRate:=aDict.sampleRate; Self.numberOfFrames:=aDict.numberOfFrames; Self.numberOfChannels:=aDict.numberOfChannels; Self.timestamp:=aDict.timestamp; Self.data:=aDict.data; Self.transfer:=aDict.transfer; end; class function TJSAudioDataInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioDataInit.Cast(const Intf: IJSObject): IJSAudioDataInit; begin Result:=TJSAudioDataInit.JOBCast(Intf); end; function TJSAudioDataCopyToOptions._GetplaneIndex: Cardinal; begin Result:=ReadJSPropertyInt64('planeIndex'); end; function TJSAudioDataCopyToOptions._GetframeOffset: Cardinal; begin Result:=ReadJSPropertyInt64('frameOffset'); end; function TJSAudioDataCopyToOptions._GetframeCount: Cardinal; begin Result:=ReadJSPropertyInt64('frameCount'); end; function TJSAudioDataCopyToOptions._Getformat: TAudioSampleFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; procedure TJSAudioDataCopyToOptions._SetplaneIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('planeIndex',aValue); end; procedure TJSAudioDataCopyToOptions._SetframeOffset(const aValue : Cardinal); begin WriteJSPropertyDouble('frameOffset',aValue); end; procedure TJSAudioDataCopyToOptions._SetframeCount(const aValue : Cardinal); begin WriteJSPropertyDouble('frameCount',aValue); end; procedure TJSAudioDataCopyToOptions._Setformat(const aValue : TAudioSampleFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; constructor TJSAudioDataCopyToOptions.create(const aDict : TJSAudioDataCopyToOptionsRec); overload; begin Self.planeIndex:=aDict.planeIndex; Self.frameOffset:=aDict.frameOffset; Self.frameCount:=aDict.frameCount; Self.format:=aDict.format; end; class function TJSAudioDataCopyToOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioDataCopyToOptions.Cast(const Intf: IJSObject): IJSAudioDataCopyToOptions; begin Result:=TJSAudioDataCopyToOptions.JOBCast(Intf); end; function TJSAudioDecoder._Getstate: TCodecState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSAudioDecoder._GetdecodeQueueSize: Cardinal; begin Result:=ReadJSPropertyInt64('decodeQueueSize'); end; function TJSAudioDecoder._Getondequeue: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondequeue'))); end; procedure TJSAudioDecoder._Setondequeue(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondequeue',[m],jiSet); finally m.free end; end; constructor TJSAudioDecoder.Create(const aInit: IJSAudioDecoderInit); begin JOBCreate([aInit]); end; procedure TJSAudioDecoder.configure(const aConfig: IJSAudioDecoderConfig); begin InvokeJSNoResult('configure',[aConfig]); end; procedure TJSAudioDecoder.decode(aChunk: IJSEncodedAudioChunk); begin InvokeJSNoResult('decode',[aChunk]); end; function TJSAudioDecoder.flush: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('flush',[],TJSPromise) as IJSPromise; end; procedure TJSAudioDecoder.reset; begin InvokeJSNoResult('reset',[]); end; procedure TJSAudioDecoder.close; begin InvokeJSNoResult('close',[]); end; function TJSAudioDecoder.isConfigSupported(const aConfig: IJSAudioDecoderConfig): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isConfigSupported',[aConfig],TJSPromise) as IJSPromise; end; class function TJSAudioDecoder.JSClassName: UnicodeString; begin Result:='AudioDecoder'; end; class function TJSAudioDecoder.Cast(const Intf: IJSObject): IJSAudioDecoder; begin Result:=TJSAudioDecoder.JOBCast(Intf); end; function TJSAudioDecoderInit._Getoutput: TAudioDataOutputCallback; begin Result:=(TAudioDataOutputCallback(ReadJSPropertyMethod('output'))); end; function TJSAudioDecoderInit._Geterror: TWebCodecsErrorCallback; begin Result:=(TWebCodecsErrorCallback(ReadJSPropertyMethod('error'))); end; procedure TJSAudioDecoderInit._Setoutput(const aValue : TAudioDataOutputCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallAudioDataOutputCallback); try InvokeJSNoResult('output',[m],jiSet); finally m.free end; end; procedure TJSAudioDecoderInit._Seterror(const aValue : TWebCodecsErrorCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallWebCodecsErrorCallback); try InvokeJSNoResult('error',[m],jiSet); finally m.free end; end; constructor TJSAudioDecoderInit.create(const aDict : TJSAudioDecoderInitRec); overload; begin Self.output:=aDict.output; Self.error:=aDict.error; end; class function TJSAudioDecoderInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioDecoderInit.Cast(const Intf: IJSObject): IJSAudioDecoderInit; begin Result:=TJSAudioDecoderInit.JOBCast(Intf); end; function TJSAudioDecoderSupport._Getsupported: Boolean; begin Result:=ReadJSPropertyBoolean('supported'); end; function TJSAudioDecoderSupport._Getconfig: IJSAudioDecoderConfig; begin Result:=ReadJSPropertyObject('config',TJSAudioDecoderConfig) as IJSAudioDecoderConfig; end; procedure TJSAudioDecoderSupport._Setsupported(const aValue : Boolean); begin WriteJSPropertyBoolean('supported',aValue); end; procedure TJSAudioDecoderSupport._Setconfig(const aValue : IJSAudioDecoderConfig); begin WriteJSPropertyObject('config',aValue); end; constructor TJSAudioDecoderSupport.create(const aDict : TJSAudioDecoderSupportRec); overload; begin Self.supported:=aDict.supported; Self.config:=aDict.config; end; class function TJSAudioDecoderSupport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioDecoderSupport.Cast(const Intf: IJSObject): IJSAudioDecoderSupport; begin Result:=TJSAudioDecoderSupport.JOBCast(Intf); end; function TJSAudioDecoderConfig._Getcodec: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codec'); end; function TJSAudioDecoderConfig._GetsampleRate: Cardinal; begin Result:=ReadJSPropertyInt64('sampleRate'); end; function TJSAudioDecoderConfig._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSAudioDecoderConfig._Getdescription: TAudioDecoderConfig_description_Type; begin Result:=ReadJSPropertyVariant('description'); end; procedure TJSAudioDecoderConfig._Setcodec(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codec',aValue); end; procedure TJSAudioDecoderConfig._SetsampleRate(const aValue : Cardinal); begin WriteJSPropertyDouble('sampleRate',aValue); end; procedure TJSAudioDecoderConfig._SetnumberOfChannels(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfChannels',aValue); end; procedure TJSAudioDecoderConfig._Setdescription(const aValue : TAudioDecoderConfig_description_Type); begin WriteJSPropertyVariant('description',aValue); end; constructor TJSAudioDecoderConfig.create(const aDict : TJSAudioDecoderConfigRec); overload; begin Self.codec:=aDict.codec; Self.sampleRate:=aDict.sampleRate; Self.numberOfChannels:=aDict.numberOfChannels; Self.description:=aDict.description; end; class function TJSAudioDecoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioDecoderConfig.Cast(const Intf: IJSObject): IJSAudioDecoderConfig; begin Result:=TJSAudioDecoderConfig.JOBCast(Intf); end; function TJSAudioDestinationNode._GetmaxChannelCount: Cardinal; begin Result:=ReadJSPropertyInt64('maxChannelCount'); end; class function TJSAudioDestinationNode.JSClassName: UnicodeString; begin Result:='AudioDestinationNode'; end; class function TJSAudioDestinationNode.Cast(const Intf: IJSObject): IJSAudioDestinationNode; begin Result:=TJSAudioDestinationNode.JOBCast(Intf); end; function TJSAudioEncoderSupport._Getsupported: Boolean; begin Result:=ReadJSPropertyBoolean('supported'); end; function TJSAudioEncoderSupport._Getconfig: IJSAudioEncoderConfig; begin Result:=ReadJSPropertyObject('config',TJSAudioEncoderConfig) as IJSAudioEncoderConfig; end; procedure TJSAudioEncoderSupport._Setsupported(const aValue : Boolean); begin WriteJSPropertyBoolean('supported',aValue); end; procedure TJSAudioEncoderSupport._Setconfig(const aValue : IJSAudioEncoderConfig); begin WriteJSPropertyObject('config',aValue); end; constructor TJSAudioEncoderSupport.create(const aDict : TJSAudioEncoderSupportRec); overload; begin Self.supported:=aDict.supported; Self.config:=aDict.config; end; class function TJSAudioEncoderSupport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioEncoderSupport.Cast(const Intf: IJSObject): IJSAudioEncoderSupport; begin Result:=TJSAudioEncoderSupport.JOBCast(Intf); end; function TJSAudioEncoderConfig._Getcodec: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codec'); end; function TJSAudioEncoderConfig._GetsampleRate: Cardinal; begin Result:=ReadJSPropertyInt64('sampleRate'); end; function TJSAudioEncoderConfig._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSAudioEncoderConfig._Getbitrate: QWord; begin Result:=ReadJSPropertyInt64('bitrate'); end; function TJSAudioEncoderConfig._GetbitrateMode: TBitrateMode; begin Result:=ReadJSPropertyUnicodeString('bitrateMode'); end; function TJSAudioEncoderConfig._Getopus: IJSOpusEncoderConfig; begin Result:=ReadJSPropertyObject('opus',TJSOpusEncoderConfig) as IJSOpusEncoderConfig; end; procedure TJSAudioEncoderConfig._Setcodec(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codec',aValue); end; procedure TJSAudioEncoderConfig._SetsampleRate(const aValue : Cardinal); begin WriteJSPropertyDouble('sampleRate',aValue); end; procedure TJSAudioEncoderConfig._SetnumberOfChannels(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfChannels',aValue); end; procedure TJSAudioEncoderConfig._Setbitrate(const aValue : QWord); begin WriteJSPropertyDouble('bitrate',aValue); end; procedure TJSAudioEncoderConfig._SetbitrateMode(const aValue : TBitrateMode); begin WriteJSPropertyUnicodeString('bitrateMode',aValue); end; procedure TJSAudioEncoderConfig._Setopus(const aValue : IJSOpusEncoderConfig); begin WriteJSPropertyObject('opus',aValue); end; constructor TJSAudioEncoderConfig.create(const aDict : TJSAudioEncoderConfigRec); overload; begin Self.codec:=aDict.codec; Self.sampleRate:=aDict.sampleRate; Self.numberOfChannels:=aDict.numberOfChannels; Self.bitrate:=aDict.bitrate; Self.bitrateMode:=aDict.bitrateMode; Self.opus:=aDict.opus; end; class function TJSAudioEncoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioEncoderConfig.Cast(const Intf: IJSObject): IJSAudioEncoderConfig; begin Result:=TJSAudioEncoderConfig.JOBCast(Intf); end; function TJSOpusEncoderConfig._Getformat: TOpusBitstreamFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSOpusEncoderConfig._GetframeDuration: QWord; begin Result:=ReadJSPropertyInt64('frameDuration'); end; function TJSOpusEncoderConfig._Getcomplexity: Cardinal; begin Result:=ReadJSPropertyInt64('complexity'); end; function TJSOpusEncoderConfig._Getpacketlossperc: Cardinal; begin Result:=ReadJSPropertyInt64('packetlossperc'); end; function TJSOpusEncoderConfig._Getuseinbandfec: Boolean; begin Result:=ReadJSPropertyBoolean('useinbandfec'); end; function TJSOpusEncoderConfig._Getusedtx: Boolean; begin Result:=ReadJSPropertyBoolean('usedtx'); end; procedure TJSOpusEncoderConfig._Setformat(const aValue : TOpusBitstreamFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSOpusEncoderConfig._SetframeDuration(const aValue : QWord); begin WriteJSPropertyDouble('frameDuration',aValue); end; procedure TJSOpusEncoderConfig._Setcomplexity(const aValue : Cardinal); begin WriteJSPropertyDouble('complexity',aValue); end; procedure TJSOpusEncoderConfig._Setpacketlossperc(const aValue : Cardinal); begin WriteJSPropertyDouble('packetlossperc',aValue); end; procedure TJSOpusEncoderConfig._Setuseinbandfec(const aValue : Boolean); begin WriteJSPropertyBoolean('useinbandfec',aValue); end; procedure TJSOpusEncoderConfig._Setusedtx(const aValue : Boolean); begin WriteJSPropertyBoolean('usedtx',aValue); end; constructor TJSOpusEncoderConfig.create(const aDict : TJSOpusEncoderConfigRec); overload; begin Self.format:=aDict.format; Self.frameDuration:=aDict.frameDuration; Self.complexity:=aDict.complexity; Self.packetlossperc:=aDict.packetlossperc; Self.useinbandfec:=aDict.useinbandfec; Self.usedtx:=aDict.usedtx; end; class function TJSOpusEncoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOpusEncoderConfig.Cast(const Intf: IJSObject): IJSOpusEncoderConfig; begin Result:=TJSOpusEncoderConfig.JOBCast(Intf); end; function TJSAudioEncoder._Getstate: TCodecState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSAudioEncoder._GetencodeQueueSize: Cardinal; begin Result:=ReadJSPropertyInt64('encodeQueueSize'); end; function TJSAudioEncoder._Getondequeue: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondequeue'))); end; procedure TJSAudioEncoder._Setondequeue(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondequeue',[m],jiSet); finally m.free end; end; constructor TJSAudioEncoder.Create(const aInit: IJSAudioEncoderInit); begin JOBCreate([aInit]); end; procedure TJSAudioEncoder.configure(const aConfig: IJSAudioEncoderConfig); begin InvokeJSNoResult('configure',[aConfig]); end; procedure TJSAudioEncoder.encode(aData: IJSAudioData); begin InvokeJSNoResult('encode',[aData]); end; function TJSAudioEncoder.flush: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('flush',[],TJSPromise) as IJSPromise; end; procedure TJSAudioEncoder.reset; begin InvokeJSNoResult('reset',[]); end; procedure TJSAudioEncoder.close; begin InvokeJSNoResult('close',[]); end; function TJSAudioEncoder.isConfigSupported(const aConfig: IJSAudioEncoderConfig): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isConfigSupported',[aConfig],TJSPromise) as IJSPromise; end; class function TJSAudioEncoder.JSClassName: UnicodeString; begin Result:='AudioEncoder'; end; class function TJSAudioEncoder.Cast(const Intf: IJSObject): IJSAudioEncoder; begin Result:=TJSAudioEncoder.JOBCast(Intf); end; function TJSAudioEncoderInit._Getoutput: TEncodedAudioChunkOutputCallback; begin Result:=(TEncodedAudioChunkOutputCallback(ReadJSPropertyMethod('output'))); end; function TJSAudioEncoderInit._Geterror: TWebCodecsErrorCallback; begin Result:=(TWebCodecsErrorCallback(ReadJSPropertyMethod('error'))); end; procedure TJSAudioEncoderInit._Setoutput(const aValue : TEncodedAudioChunkOutputCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEncodedAudioChunkOutputCallback); try InvokeJSNoResult('output',[m],jiSet); finally m.free end; end; procedure TJSAudioEncoderInit._Seterror(const aValue : TWebCodecsErrorCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallWebCodecsErrorCallback); try InvokeJSNoResult('error',[m],jiSet); finally m.free end; end; constructor TJSAudioEncoderInit.create(const aDict : TJSAudioEncoderInitRec); overload; begin Self.output:=aDict.output; Self.error:=aDict.error; end; class function TJSAudioEncoderInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioEncoderInit.Cast(const Intf: IJSObject): IJSAudioEncoderInit; begin Result:=TJSAudioEncoderInit.JOBCast(Intf); end; function TJSEncodedAudioChunkMetadata._GetdecoderConfig: IJSAudioDecoderConfig; begin Result:=ReadJSPropertyObject('decoderConfig',TJSAudioDecoderConfig) as IJSAudioDecoderConfig; end; procedure TJSEncodedAudioChunkMetadata._SetdecoderConfig(const aValue : IJSAudioDecoderConfig); begin WriteJSPropertyObject('decoderConfig',aValue); end; constructor TJSEncodedAudioChunkMetadata.create(const aDict : TJSEncodedAudioChunkMetadataRec); overload; begin Self.decoderConfig:=aDict.decoderConfig; end; class function TJSEncodedAudioChunkMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEncodedAudioChunkMetadata.Cast(const Intf: IJSObject): IJSEncodedAudioChunkMetadata; begin Result:=TJSEncodedAudioChunkMetadata.JOBCast(Intf); end; procedure TJSAudioListener.setPosition(aX: Double; aY: Double; aZ: Double); begin InvokeJSNoResult('setPosition',[aX,aY,aZ]); end; procedure TJSAudioListener.setOrientation(aX: Double; aY: Double; aZ: Double; aXUp: Double; aYUp: Double; aZUp: Double); begin InvokeJSNoResult('setOrientation',[aX,aY,aZ,aXUp,aYUp,aZUp]); end; class function TJSAudioListener.JSClassName: UnicodeString; begin Result:='AudioListener'; end; class function TJSAudioListener.Cast(const Intf: IJSObject): IJSAudioListener; begin Result:=TJSAudioListener.JOBCast(Intf); end; function TJSAudioNodeOptions._GetchannelCount: Cardinal; begin Result:=ReadJSPropertyInt64('channelCount'); end; function TJSAudioNodeOptions._GetchannelCountMode: TChannelCountMode; begin Result:=ReadJSPropertyUnicodeString('channelCountMode'); end; function TJSAudioNodeOptions._GetchannelInterpretation: TChannelInterpretation; begin Result:=ReadJSPropertyUnicodeString('channelInterpretation'); end; procedure TJSAudioNodeOptions._SetchannelCount(const aValue : Cardinal); begin WriteJSPropertyDouble('channelCount',aValue); end; procedure TJSAudioNodeOptions._SetchannelCountMode(const aValue : TChannelCountMode); begin WriteJSPropertyUnicodeString('channelCountMode',aValue); end; procedure TJSAudioNodeOptions._SetchannelInterpretation(const aValue : TChannelInterpretation); begin WriteJSPropertyUnicodeString('channelInterpretation',aValue); end; constructor TJSAudioNodeOptions.create(const aDict : TJSAudioNodeOptionsRec); overload; begin Self.channelCount:=aDict.channelCount; Self.channelCountMode:=aDict.channelCountMode; Self.channelInterpretation:=aDict.channelInterpretation; end; class function TJSAudioNodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioNodeOptions.Cast(const Intf: IJSObject): IJSAudioNodeOptions; begin Result:=TJSAudioNodeOptions.JOBCast(Intf); end; function TJSAudioNode._Getcontext: IJSBaseAudioContext; begin Result:=ReadJSPropertyObject('context',TJSBaseAudioContext) as IJSBaseAudioContext; end; function TJSAudioNode._GetnumberOfInputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfInputs'); end; function TJSAudioNode._GetnumberOfOutputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfOutputs'); end; function TJSAudioNode._GetchannelCount: Cardinal; begin Result:=ReadJSPropertyInt64('channelCount'); end; function TJSAudioNode._GetchannelCountMode: TChannelCountMode; begin Result:=ReadJSPropertyUnicodeString('channelCountMode'); end; function TJSAudioNode._GetchannelInterpretation: TChannelInterpretation; begin Result:=ReadJSPropertyUnicodeString('channelInterpretation'); end; procedure TJSAudioNode._SetchannelCount(const aValue : Cardinal); begin WriteJSPropertyDouble('channelCount',aValue); end; procedure TJSAudioNode._SetchannelCountMode(const aValue : TChannelCountMode); begin WriteJSPropertyUnicodeString('channelCountMode',aValue); end; procedure TJSAudioNode._SetchannelInterpretation(const aValue : TChannelInterpretation); begin WriteJSPropertyUnicodeString('channelInterpretation',aValue); end; function TJSAudioNode.connect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal): IJSAudioNode; begin Result:=InvokeJSObjectResult('connect',[aDestination,aOutput,aInput],TJSAudioNode) as IJSAudioNode; end; function TJSAudioNode.connect(aDestination: IJSAudioNode): IJSAudioNode; begin Result:=InvokeJSObjectResult('connect',[aDestination],TJSAudioNode) as IJSAudioNode; end; function TJSAudioNode.connect(aDestination: IJSAudioNode; aOutput: Cardinal): IJSAudioNode; begin Result:=InvokeJSObjectResult('connect',[aDestination,aOutput],TJSAudioNode) as IJSAudioNode; end; procedure TJSAudioNode.connect(aDestination: IJSAudioParam; aOutput: Cardinal); begin InvokeJSNoResult('connect',[aDestination,aOutput]); end; procedure TJSAudioNode.connect(aDestination: IJSAudioParam); begin InvokeJSNoResult('connect',[aDestination]); end; procedure TJSAudioNode.disconnect; begin InvokeJSNoResult('disconnect',[]); end; procedure TJSAudioNode.disconnect(aOutput: Cardinal); begin InvokeJSNoResult('disconnect',[aOutput]); end; procedure TJSAudioNode.disconnect(aDestination: IJSAudioNode); begin InvokeJSNoResult('disconnect',[aDestination]); end; procedure TJSAudioNode.disconnect(aDestination: IJSAudioNode; aOutput: Cardinal); begin InvokeJSNoResult('disconnect',[aDestination,aOutput]); end; procedure TJSAudioNode.disconnect(aDestination: IJSAudioNode; aOutput: Cardinal; aInput: Cardinal); begin InvokeJSNoResult('disconnect',[aDestination,aOutput,aInput]); end; procedure TJSAudioNode.disconnect(aDestination: IJSAudioParam); begin InvokeJSNoResult('disconnect',[aDestination]); end; procedure TJSAudioNode.disconnect(aDestination: IJSAudioParam; aOutput: Cardinal); begin InvokeJSNoResult('disconnect',[aDestination,aOutput]); end; class function TJSAudioNode.JSClassName: UnicodeString; begin Result:='AudioNode'; end; class function TJSAudioNode.Cast(const Intf: IJSObject): IJSAudioNode; begin Result:=TJSAudioNode.JOBCast(Intf); end; class function TJSAudioNodePassThrough.JSClassName: UnicodeString; begin Result:='AudioNodePassThrough'; end; class function TJSAudioNodePassThrough.Cast(const Intf: IJSObject): IJSAudioNodePassThrough; begin Result:=TJSAudioNodePassThrough.JOBCast(Intf); end; function TJSAudioParam._Getvalue: Single; begin Result:=ReadJSPropertyDouble('value'); end; function TJSAudioParam._GetdefaultValue: Single; begin Result:=ReadJSPropertyDouble('defaultValue'); end; function TJSAudioParam._GetminValue: Single; begin Result:=ReadJSPropertyDouble('minValue'); end; function TJSAudioParam._GetmaxValue: Single; begin Result:=ReadJSPropertyDouble('maxValue'); end; procedure TJSAudioParam._Setvalue(const aValue : Single); begin WriteJSPropertyDouble('value',aValue); end; function TJSAudioParam.setValueAtTime(aValue: Single; aStartTime: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('setValueAtTime',[aValue,aStartTime],TJSAudioParam) as IJSAudioParam; end; function TJSAudioParam.linearRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('linearRampToValueAtTime',[aValue,aEndTime],TJSAudioParam) as IJSAudioParam; end; function TJSAudioParam.exponentialRampToValueAtTime(aValue: Single; aEndTime: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('exponentialRampToValueAtTime',[aValue,aEndTime],TJSAudioParam) as IJSAudioParam; end; function TJSAudioParam.setTargetAtTime(aTarget: Single; aStartTime: Double; aTimeConstant: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('setTargetAtTime',[aTarget,aStartTime,aTimeConstant],TJSAudioParam) as IJSAudioParam; end; function TJSAudioParam.setValueCurveAtTime(const aValues: TSingleDynArray; aStartTime: Double; aDuration: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('setValueCurveAtTime',[aValues,aStartTime,aDuration],TJSAudioParam) as IJSAudioParam; end; function TJSAudioParam.cancelScheduledValues(aStartTime: Double): IJSAudioParam; begin Result:=InvokeJSObjectResult('cancelScheduledValues',[aStartTime],TJSAudioParam) as IJSAudioParam; end; class function TJSAudioParam.JSClassName: UnicodeString; begin Result:='AudioParam'; end; class function TJSAudioParam.Cast(const Intf: IJSObject): IJSAudioParam; begin Result:=TJSAudioParam.JOBCast(Intf); end; function TJSAudioParamDescriptor._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSAudioParamDescriptor._GetdefaultValue: Single; begin Result:=ReadJSPropertyDouble('defaultValue'); end; function TJSAudioParamDescriptor._GetminValue: Single; begin Result:=ReadJSPropertyDouble('minValue'); end; function TJSAudioParamDescriptor._GetmaxValue: Single; begin Result:=ReadJSPropertyDouble('maxValue'); end; procedure TJSAudioParamDescriptor._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSAudioParamDescriptor._SetdefaultValue(const aValue : Single); begin WriteJSPropertyDouble('defaultValue',aValue); end; procedure TJSAudioParamDescriptor._SetminValue(const aValue : Single); begin WriteJSPropertyDouble('minValue',aValue); end; procedure TJSAudioParamDescriptor._SetmaxValue(const aValue : Single); begin WriteJSPropertyDouble('maxValue',aValue); end; constructor TJSAudioParamDescriptor.create(const aDict : TJSAudioParamDescriptorRec); overload; begin Self.name:=aDict.name; Self.defaultValue:=aDict.defaultValue; Self.minValue:=aDict.minValue; Self.maxValue:=aDict.maxValue; end; class function TJSAudioParamDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioParamDescriptor.Cast(const Intf: IJSObject): IJSAudioParamDescriptor; begin Result:=TJSAudioParamDescriptor.JOBCast(Intf); end; function TJSAudioParamMap._Getsize: LongInt; begin Result:=0; end; function TJSAudioParamMap.get(key: UnicodeString) : TJSAudioParam; begin Result:=InvokeJSObjectResult('get',[key],TJSAudioParam) as TJSAudioParam; end; function TJSAudioParamMap.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSAudioParamMap.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSAudioParamMap.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSAudioParamMap.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; class function TJSAudioParamMap.JSClassName: UnicodeString; begin Result:='AudioParamMap'; end; class function TJSAudioParamMap.Cast(const Intf: IJSObject): IJSAudioParamMap; begin Result:=TJSAudioParamMap.JOBCast(Intf); end; function TJSAudioProcessingEvent._GetplaybackTime: Double; begin Result:=ReadJSPropertyDouble('playbackTime'); end; function TJSAudioProcessingEvent._GetinputBuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('inputBuffer',TJSAudioBuffer) as IJSAudioBuffer; end; function TJSAudioProcessingEvent._GetoutputBuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('outputBuffer',TJSAudioBuffer) as IJSAudioBuffer; end; class function TJSAudioProcessingEvent.JSClassName: UnicodeString; begin Result:='AudioProcessingEvent'; end; class function TJSAudioProcessingEvent.Cast(const Intf: IJSObject): IJSAudioProcessingEvent; begin Result:=TJSAudioProcessingEvent.JOBCast(Intf); end; function TJSAudioScheduledSourceNode._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; procedure TJSAudioScheduledSourceNode._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSAudioScheduledSourceNode.start(aWhen: Double); begin InvokeJSNoResult('start',[aWhen]); end; procedure TJSAudioScheduledSourceNode.start; begin InvokeJSNoResult('start',[]); end; procedure TJSAudioScheduledSourceNode.stop(aWhen: Double); begin InvokeJSNoResult('stop',[aWhen]); end; procedure TJSAudioScheduledSourceNode.stop; begin InvokeJSNoResult('stop',[]); end; class function TJSAudioScheduledSourceNode.JSClassName: UnicodeString; begin Result:='AudioScheduledSourceNode'; end; class function TJSAudioScheduledSourceNode.Cast(const Intf: IJSObject): IJSAudioScheduledSourceNode; begin Result:=TJSAudioScheduledSourceNode.JOBCast(Intf); end; function TJSAudioTrack._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSAudioTrack._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSAudioTrack._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSAudioTrack._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSAudioTrack._Getenabled: Boolean; begin Result:=ReadJSPropertyBoolean('enabled'); end; procedure TJSAudioTrack._Setenabled(const aValue : Boolean); begin WriteJSPropertyBoolean('enabled',aValue); end; class function TJSAudioTrack.JSClassName: UnicodeString; begin Result:='AudioTrack'; end; class function TJSAudioTrack.Cast(const Intf: IJSObject): IJSAudioTrack; begin Result:=TJSAudioTrack.JOBCast(Intf); end; function TJSAudioTrackList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSAudioTrackList._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSAudioTrackList._Getonaddtrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddtrack'))); end; function TJSAudioTrackList._Getonremovetrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremovetrack'))); end; procedure TJSAudioTrackList._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSAudioTrackList._Setonaddtrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddtrack',[m],jiSet); finally m.free end; end; procedure TJSAudioTrackList._Setonremovetrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremovetrack',[m],jiSet); finally m.free end; end; function TJSAudioTrackList.GetDefault(aIndex: Cardinal): IJSAudioTrack; begin Result:=InvokeJSObjectResult('',[aIndex],TJSAudioTrack) as IJSAudioTrack; end; function TJSAudioTrackList.getTrackById(const aId: UnicodeString): IJSAudioTrack; begin Result:=InvokeJSObjectResult('getTrackById',[aId],TJSAudioTrack) as IJSAudioTrack; end; class function TJSAudioTrackList.JSClassName: UnicodeString; begin Result:='AudioTrackList'; end; class function TJSAudioTrackList.Cast(const Intf: IJSObject): IJSAudioTrackList; begin Result:=TJSAudioTrackList.JOBCast(Intf); end; class function TJSAudioWorklet.JSClassName: UnicodeString; begin Result:='AudioWorklet'; end; class function TJSAudioWorklet.Cast(const Intf: IJSObject): IJSAudioWorklet; begin Result:=TJSAudioWorklet.JOBCast(Intf); end; function TJSAudioWorkletGlobalScope._GetcurrentFrame: QWord; begin Result:=ReadJSPropertyInt64('currentFrame'); end; function TJSAudioWorkletGlobalScope._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSAudioWorkletGlobalScope._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; procedure TJSAudioWorkletGlobalScope.registerProcessor(const aName: UnicodeString; const aProcessorCtor: TAudioWorkletProcessorConstructor); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aProcessorCtor),@JOBCallAudioWorkletProcessorConstructor); try InvokeJSNoResult('registerProcessor',[aName,m]); finally m.free; end; end; class function TJSAudioWorkletGlobalScope.JSClassName: UnicodeString; begin Result:='AudioWorkletGlobalScope'; end; class function TJSAudioWorkletGlobalScope.Cast(const Intf: IJSObject): IJSAudioWorkletGlobalScope; begin Result:=TJSAudioWorkletGlobalScope.JOBCast(Intf); end; function TJSAudioWorkletNodeOptions._GetnumberOfInputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfInputs'); end; function TJSAudioWorkletNodeOptions._GetnumberOfOutputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfOutputs'); end; function TJSAudioWorkletNodeOptions._GetoutputChannelCount: TCardinalDynArray; begin Result:=ReadJSPropertyObject('outputChannelCount',TJSArray) as TCardinalDynArray; end; function TJSAudioWorkletNodeOptions._GetparameterData: IJSObject; begin Result:=ReadJSPropertyObject('parameterData',TJSObject) as IJSObject; end; function TJSAudioWorkletNodeOptions._GetprocessorOptions: IJSObject; begin Result:=ReadJSPropertyObject('processorOptions',TJSObject) as IJSObject; end; procedure TJSAudioWorkletNodeOptions._SetnumberOfInputs(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfInputs',aValue); end; procedure TJSAudioWorkletNodeOptions._SetnumberOfOutputs(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfOutputs',aValue); end; procedure TJSAudioWorkletNodeOptions._SetoutputChannelCount(const aValue : TCardinalDynArray); begin WriteJSPropertyObject('outputChannelCount',aValue); end; procedure TJSAudioWorkletNodeOptions._SetparameterData(const aValue : IJSObject); begin WriteJSPropertyObject('parameterData',aValue); end; procedure TJSAudioWorkletNodeOptions._SetprocessorOptions(const aValue : IJSObject); begin WriteJSPropertyObject('processorOptions',aValue); end; constructor TJSAudioWorkletNodeOptions.create(const aDict : TJSAudioWorkletNodeOptionsRec); overload; begin Self.numberOfInputs:=aDict.numberOfInputs; Self.numberOfOutputs:=aDict.numberOfOutputs; Self.outputChannelCount:=aDict.outputChannelCount; Self.parameterData:=aDict.parameterData; Self.processorOptions:=aDict.processorOptions; end; class function TJSAudioWorkletNodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioWorkletNodeOptions.Cast(const Intf: IJSObject): IJSAudioWorkletNodeOptions; begin Result:=TJSAudioWorkletNodeOptions.JOBCast(Intf); end; function TJSAudioWorkletNode._Getparameters: IJSAudioParamMap; begin Result:=ReadJSPropertyObject('parameters',TJSAudioParamMap) as IJSAudioParamMap; end; function TJSAudioWorkletNode._Getport: IJSMessagePort; begin Result:=ReadJSPropertyObject('port',TJSMessagePort) as IJSMessagePort; end; function TJSAudioWorkletNode._Getonprocessorerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprocessorerror'))); end; procedure TJSAudioWorkletNode._Setonprocessorerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprocessorerror',[m],jiSet); finally m.free end; end; constructor TJSAudioWorkletNode.Create(aContext: IJSBaseAudioContext; const aName: UnicodeString; const aOptions: IJSAudioWorkletNodeOptions); begin JOBCreate([aContext,aName,aOptions]); end; constructor TJSAudioWorkletNode.Create(aContext: IJSBaseAudioContext; const aName: UnicodeString); begin JOBCreate([aContext,aName]); end; class function TJSAudioWorkletNode.JSClassName: UnicodeString; begin Result:='AudioWorkletNode'; end; class function TJSAudioWorkletNode.Cast(const Intf: IJSObject): IJSAudioWorkletNode; begin Result:=TJSAudioWorkletNode.JOBCast(Intf); end; function TJSAudioWorkletProcessor._Getport: IJSMessagePort; begin Result:=ReadJSPropertyObject('port',TJSMessagePort) as IJSMessagePort; end; constructor TJSAudioWorkletProcessor.Create; begin JOBCreate([]); end; class function TJSAudioWorkletProcessor.JSClassName: UnicodeString; begin Result:='AudioWorkletProcessor'; end; class function TJSAudioWorkletProcessor.Cast(const Intf: IJSObject): IJSAudioWorkletProcessor; begin Result:=TJSAudioWorkletProcessor.JOBCast(Intf); end; function TJSAutocompleteInfo._Getsection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('section'); end; function TJSAutocompleteInfo._GetaddressType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('addressType'); end; function TJSAutocompleteInfo._GetcontactType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contactType'); end; function TJSAutocompleteInfo._GetfieldName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fieldName'); end; function TJSAutocompleteInfo._GetcredentialType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('credentialType'); end; function TJSAutocompleteInfo._GetcanAutomaticallyPersist: Boolean; begin Result:=ReadJSPropertyBoolean('canAutomaticallyPersist'); end; procedure TJSAutocompleteInfo._Setsection(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('section',aValue); end; procedure TJSAutocompleteInfo._SetaddressType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('addressType',aValue); end; procedure TJSAutocompleteInfo._SetcontactType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contactType',aValue); end; procedure TJSAutocompleteInfo._SetfieldName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fieldName',aValue); end; procedure TJSAutocompleteInfo._SetcredentialType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('credentialType',aValue); end; procedure TJSAutocompleteInfo._SetcanAutomaticallyPersist(const aValue : Boolean); begin WriteJSPropertyBoolean('canAutomaticallyPersist',aValue); end; constructor TJSAutocompleteInfo.create(const aDict : TJSAutocompleteInfoRec); overload; begin Self.section:=aDict.section; Self.addressType:=aDict.addressType; Self.contactType:=aDict.contactType; Self.fieldName:=aDict.fieldName; Self.credentialType:=aDict.credentialType; Self.canAutomaticallyPersist:=aDict.canAutomaticallyPersist; end; class function TJSAutocompleteInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAutocompleteInfo.Cast(const Intf: IJSObject): IJSAutocompleteInfo; begin Result:=TJSAutocompleteInfo.JOBCast(Intf); end; function TJSBarProp._Getvisible: Boolean; begin Result:=ReadJSPropertyBoolean('visible'); end; procedure TJSBarProp._Setvisible(const aValue : Boolean); begin WriteJSPropertyBoolean('visible',aValue); end; class function TJSBarProp.JSClassName: UnicodeString; begin Result:='BarProp'; end; class function TJSBarProp.Cast(const Intf: IJSObject): IJSBarProp; begin Result:=TJSBarProp.JOBCast(Intf); end; function TJSBaseAudioContext._Getdestination: IJSAudioDestinationNode; begin Result:=ReadJSPropertyObject('destination',TJSAudioDestinationNode) as IJSAudioDestinationNode; end; function TJSBaseAudioContext._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; function TJSBaseAudioContext._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSBaseAudioContext._Getlistener: IJSAudioListener; begin Result:=ReadJSPropertyObject('listener',TJSAudioListener) as IJSAudioListener; end; function TJSBaseAudioContext._Getstate: TAudioContextState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSBaseAudioContext._GetaudioWorklet: IJSAudioWorklet; begin Result:=ReadJSPropertyObject('audioWorklet',TJSAudioWorklet) as IJSAudioWorklet; end; function TJSBaseAudioContext._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; procedure TJSBaseAudioContext._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; function TJSBaseAudioContext.resume: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('resume',[],TJSPromise) as IJSPromise; end; function TJSBaseAudioContext.createBuffer(aNumberOfChannels: Cardinal; aLength_: Cardinal; aSampleRate: Single): IJSAudioBuffer; begin Result:=InvokeJSObjectResult('createBuffer',[aNumberOfChannels,aLength_,aSampleRate],TJSAudioBuffer) as IJSAudioBuffer; end; function TJSBaseAudioContext.decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback; const aErrorCallback: TDecodeErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallDecodeSuccessCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallDecodeErrorCallback); try Result:=InvokeJSObjectResult('decodeAudioData',[aAudioData,m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSBaseAudioContext.decodeAudioData(aAudioData: IJSArrayBuffer): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decodeAudioData',[aAudioData],TJSPromise) as IJSPromise; end; function TJSBaseAudioContext.decodeAudioData(aAudioData: IJSArrayBuffer; const aSuccessCallback: TDecodeSuccessCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallDecodeSuccessCallback); try Result:=InvokeJSObjectResult('decodeAudioData',[aAudioData,m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSBaseAudioContext.createBufferSource: IJSAudioBufferSourceNode; begin Result:=InvokeJSObjectResult('createBufferSource',[],TJSAudioBufferSourceNode) as IJSAudioBufferSourceNode; end; function TJSBaseAudioContext.createConstantSource: IJSConstantSourceNode; begin Result:=InvokeJSObjectResult('createConstantSource',[],TJSConstantSourceNode) as IJSConstantSourceNode; end; function TJSBaseAudioContext.createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal; aNumberOfOutputChannels: Cardinal): IJSScriptProcessorNode; begin Result:=InvokeJSObjectResult('createScriptProcessor',[aBufferSize,aNumberOfInputChannels,aNumberOfOutputChannels],TJSScriptProcessorNode) as IJSScriptProcessorNode; end; function TJSBaseAudioContext.createScriptProcessor: IJSScriptProcessorNode; begin Result:=InvokeJSObjectResult('createScriptProcessor',[],TJSScriptProcessorNode) as IJSScriptProcessorNode; end; function TJSBaseAudioContext.createScriptProcessor(aBufferSize: Cardinal): IJSScriptProcessorNode; begin Result:=InvokeJSObjectResult('createScriptProcessor',[aBufferSize],TJSScriptProcessorNode) as IJSScriptProcessorNode; end; function TJSBaseAudioContext.createScriptProcessor(aBufferSize: Cardinal; aNumberOfInputChannels: Cardinal): IJSScriptProcessorNode; begin Result:=InvokeJSObjectResult('createScriptProcessor',[aBufferSize,aNumberOfInputChannels],TJSScriptProcessorNode) as IJSScriptProcessorNode; end; function TJSBaseAudioContext.createAnalyser: IJSAnalyserNode; begin Result:=InvokeJSObjectResult('createAnalyser',[],TJSAnalyserNode) as IJSAnalyserNode; end; function TJSBaseAudioContext.createGain: IJSGainNode; begin Result:=InvokeJSObjectResult('createGain',[],TJSGainNode) as IJSGainNode; end; function TJSBaseAudioContext.createDelay(aMaxDelayTime: Double): IJSDelayNode; begin Result:=InvokeJSObjectResult('createDelay',[aMaxDelayTime],TJSDelayNode) as IJSDelayNode; end; function TJSBaseAudioContext.createDelay: IJSDelayNode; begin Result:=InvokeJSObjectResult('createDelay',[],TJSDelayNode) as IJSDelayNode; end; function TJSBaseAudioContext.createBiquadFilter: IJSBiquadFilterNode; begin Result:=InvokeJSObjectResult('createBiquadFilter',[],TJSBiquadFilterNode) as IJSBiquadFilterNode; end; function TJSBaseAudioContext.createIIRFilter(const aFeedforward: TDoubleDynArray; const aFeedback: TDoubleDynArray): IJSIIRFilterNode; begin Result:=InvokeJSObjectResult('createIIRFilter',[aFeedforward,aFeedback],TJSIIRFilterNode) as IJSIIRFilterNode; end; function TJSBaseAudioContext.createWaveShaper: IJSWaveShaperNode; begin Result:=InvokeJSObjectResult('createWaveShaper',[],TJSWaveShaperNode) as IJSWaveShaperNode; end; function TJSBaseAudioContext.createPanner: IJSPannerNode; begin Result:=InvokeJSObjectResult('createPanner',[],TJSPannerNode) as IJSPannerNode; end; function TJSBaseAudioContext.createStereoPanner: IJSStereoPannerNode; begin Result:=InvokeJSObjectResult('createStereoPanner',[],TJSStereoPannerNode) as IJSStereoPannerNode; end; function TJSBaseAudioContext.createConvolver: IJSConvolverNode; begin Result:=InvokeJSObjectResult('createConvolver',[],TJSConvolverNode) as IJSConvolverNode; end; function TJSBaseAudioContext.createChannelSplitter(aNumberOfOutputs: Cardinal): IJSChannelSplitterNode; begin Result:=InvokeJSObjectResult('createChannelSplitter',[aNumberOfOutputs],TJSChannelSplitterNode) as IJSChannelSplitterNode; end; function TJSBaseAudioContext.createChannelSplitter: IJSChannelSplitterNode; begin Result:=InvokeJSObjectResult('createChannelSplitter',[],TJSChannelSplitterNode) as IJSChannelSplitterNode; end; function TJSBaseAudioContext.createChannelMerger(aNumberOfInputs: Cardinal): IJSChannelMergerNode; begin Result:=InvokeJSObjectResult('createChannelMerger',[aNumberOfInputs],TJSChannelMergerNode) as IJSChannelMergerNode; end; function TJSBaseAudioContext.createChannelMerger: IJSChannelMergerNode; begin Result:=InvokeJSObjectResult('createChannelMerger',[],TJSChannelMergerNode) as IJSChannelMergerNode; end; function TJSBaseAudioContext.createDynamicsCompressor: IJSDynamicsCompressorNode; begin Result:=InvokeJSObjectResult('createDynamicsCompressor',[],TJSDynamicsCompressorNode) as IJSDynamicsCompressorNode; end; function TJSBaseAudioContext.createOscillator: IJSOscillatorNode; begin Result:=InvokeJSObjectResult('createOscillator',[],TJSOscillatorNode) as IJSOscillatorNode; end; function TJSBaseAudioContext.createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray; const aConstraints: IJSPeriodicWaveConstraints): IJSPeriodicWave; begin Result:=InvokeJSObjectResult('createPeriodicWave',[aReal,aImag,aConstraints],TJSPeriodicWave) as IJSPeriodicWave; end; function TJSBaseAudioContext.createPeriodicWave(const aReal: TSingleDynArray; const aImag: TSingleDynArray): IJSPeriodicWave; begin Result:=InvokeJSObjectResult('createPeriodicWave',[aReal,aImag],TJSPeriodicWave) as IJSPeriodicWave; end; class function TJSBaseAudioContext.JSClassName: UnicodeString; begin Result:='BaseAudioContext'; end; class function TJSBaseAudioContext.Cast(const Intf: IJSObject): IJSBaseAudioContext; begin Result:=TJSBaseAudioContext.JOBCast(Intf); end; function TJSBasePropertyIndexedKeyframe._Getoffset: TBasePropertyIndexedKeyframe_offset_Type; begin Result:=ReadJSPropertyVariant('offset'); end; function TJSBasePropertyIndexedKeyframe._Geteasing: TBasePropertyIndexedKeyframe_easing_Type; begin Result:=ReadJSPropertyVariant('easing'); end; function TJSBasePropertyIndexedKeyframe._Getcomposite: TBasePropertyIndexedKeyframe_composite_Type; begin Result:=ReadJSPropertyVariant('composite'); end; procedure TJSBasePropertyIndexedKeyframe._Setoffset(const aValue : TBasePropertyIndexedKeyframe_offset_Type); begin WriteJSPropertyVariant('offset',aValue); end; procedure TJSBasePropertyIndexedKeyframe._Seteasing(const aValue : TBasePropertyIndexedKeyframe_easing_Type); begin WriteJSPropertyVariant('easing',aValue); end; procedure TJSBasePropertyIndexedKeyframe._Setcomposite(const aValue : TBasePropertyIndexedKeyframe_composite_Type); begin WriteJSPropertyVariant('composite',aValue); end; constructor TJSBasePropertyIndexedKeyframe.create(const aDict : TJSBasePropertyIndexedKeyframeRec); overload; begin Self.offset:=aDict.offset; Self.easing:=aDict.easing; Self.composite:=aDict.composite; end; class function TJSBasePropertyIndexedKeyframe.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBasePropertyIndexedKeyframe.Cast(const Intf: IJSObject): IJSBasePropertyIndexedKeyframe; begin Result:=TJSBasePropertyIndexedKeyframe.JOBCast(Intf); end; function TJSBaseKeyframe._Getoffset: Double; begin Result:=ReadJSPropertyDouble('offset'); end; function TJSBaseKeyframe._Geteasing: UTF8String; begin Result:=ReadJSPropertyUTF8String('easing'); end; function TJSBaseKeyframe._Getcomposite: TCompositeOperationOrAuto; begin Result:=ReadJSPropertyUnicodeString('composite'); end; procedure TJSBaseKeyframe._Setoffset(const aValue : Double); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSBaseKeyframe._Seteasing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('easing',aValue); end; procedure TJSBaseKeyframe._Setcomposite(const aValue : TCompositeOperationOrAuto); begin WriteJSPropertyUnicodeString('composite',aValue); end; constructor TJSBaseKeyframe.create(const aDict : TJSBaseKeyframeRec); overload; begin Self.offset:=aDict.offset; Self.easing:=aDict.easing; Self.composite:=aDict.composite; end; class function TJSBaseKeyframe.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBaseKeyframe.Cast(const Intf: IJSObject): IJSBaseKeyframe; begin Result:=TJSBaseKeyframe.JOBCast(Intf); end; function TJSBaseComputedKeyframe._GetcomputedOffset: Double; begin Result:=ReadJSPropertyDouble('computedOffset'); end; procedure TJSBaseComputedKeyframe._SetcomputedOffset(const aValue : Double); begin WriteJSPropertyDouble('computedOffset',aValue); end; constructor TJSBaseComputedKeyframe.create(const aDict : TJSBaseComputedKeyframeRec); overload; begin Self.computedOffset:=aDict.computedOffset; end; class function TJSBaseComputedKeyframe.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBaseComputedKeyframe.Cast(const Intf: IJSObject): IJSBaseComputedKeyframe; begin Result:=TJSBaseComputedKeyframe.JOBCast(Intf); end; function TJSBasicCardRequest._GetsupportedNetworks: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('supportedNetworks',TJSArray) as TUnicodeStringDynArray; end; function TJSBasicCardRequest._GetrequestSecurityCode: Boolean; begin Result:=ReadJSPropertyBoolean('requestSecurityCode'); end; procedure TJSBasicCardRequest._SetsupportedNetworks(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('supportedNetworks',aValue); end; procedure TJSBasicCardRequest._SetrequestSecurityCode(const aValue : Boolean); begin WriteJSPropertyBoolean('requestSecurityCode',aValue); end; constructor TJSBasicCardRequest.create(const aDict : TJSBasicCardRequestRec); overload; begin Self.supportedNetworks:=aDict.supportedNetworks; Self.requestSecurityCode:=aDict.requestSecurityCode; end; class function TJSBasicCardRequest.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBasicCardRequest.Cast(const Intf: IJSObject): IJSBasicCardRequest; begin Result:=TJSBasicCardRequest.JOBCast(Intf); end; function TJSBasicCardResponse._GetcardholderName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardholderName'); end; function TJSBasicCardResponse._GetcardNumber: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardNumber'); end; function TJSBasicCardResponse._GetexpiryMonth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('expiryMonth'); end; function TJSBasicCardResponse._GetexpiryYear: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('expiryYear'); end; function TJSBasicCardResponse._GetcardSecurityCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardSecurityCode'); end; function TJSBasicCardResponse._GetbillingAddress: IJSPaymentAddress; begin Result:=ReadJSPropertyObject('billingAddress',TJSPaymentAddress) as IJSPaymentAddress; end; procedure TJSBasicCardResponse._SetcardholderName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardholderName',aValue); end; procedure TJSBasicCardResponse._SetcardNumber(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardNumber',aValue); end; procedure TJSBasicCardResponse._SetexpiryMonth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('expiryMonth',aValue); end; procedure TJSBasicCardResponse._SetexpiryYear(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('expiryYear',aValue); end; procedure TJSBasicCardResponse._SetcardSecurityCode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardSecurityCode',aValue); end; procedure TJSBasicCardResponse._SetbillingAddress(const aValue : IJSPaymentAddress); begin WriteJSPropertyObject('billingAddress',aValue); end; constructor TJSBasicCardResponse.create(const aDict : TJSBasicCardResponseRec); overload; begin Self.cardholderName:=aDict.cardholderName; Self.cardNumber:=aDict.cardNumber; Self.expiryMonth:=aDict.expiryMonth; Self.expiryYear:=aDict.expiryYear; Self.cardSecurityCode:=aDict.cardSecurityCode; Self.billingAddress:=aDict.billingAddress; end; class function TJSBasicCardResponse.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBasicCardResponse.Cast(const Intf: IJSObject): IJSBasicCardResponse; begin Result:=TJSBasicCardResponse.JOBCast(Intf); end; function TJSBasicCardChangeDetails._GetbillingAddress: IJSPaymentAddress; begin Result:=ReadJSPropertyObject('billingAddress',TJSPaymentAddress) as IJSPaymentAddress; end; procedure TJSBasicCardChangeDetails._SetbillingAddress(const aValue : IJSPaymentAddress); begin WriteJSPropertyObject('billingAddress',aValue); end; constructor TJSBasicCardChangeDetails.create(const aDict : TJSBasicCardChangeDetailsRec); overload; begin Self.billingAddress:=aDict.billingAddress; end; class function TJSBasicCardChangeDetails.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBasicCardChangeDetails.Cast(const Intf: IJSObject): IJSBasicCardChangeDetails; begin Result:=TJSBasicCardChangeDetails.JOBCast(Intf); end; function TJSBasicCardErrors._GetcardNumber: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardNumber'); end; function TJSBasicCardErrors._GetcardholderName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardholderName'); end; function TJSBasicCardErrors._GetcardSecurityCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cardSecurityCode'); end; function TJSBasicCardErrors._GetexpiryMonth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('expiryMonth'); end; function TJSBasicCardErrors._GetexpiryYear: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('expiryYear'); end; function TJSBasicCardErrors._GetbillingAddress: IJSAddressErrors; begin Result:=ReadJSPropertyObject('billingAddress',TJSAddressErrors) as IJSAddressErrors; end; procedure TJSBasicCardErrors._SetcardNumber(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardNumber',aValue); end; procedure TJSBasicCardErrors._SetcardholderName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardholderName',aValue); end; procedure TJSBasicCardErrors._SetcardSecurityCode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cardSecurityCode',aValue); end; procedure TJSBasicCardErrors._SetexpiryMonth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('expiryMonth',aValue); end; procedure TJSBasicCardErrors._SetexpiryYear(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('expiryYear',aValue); end; procedure TJSBasicCardErrors._SetbillingAddress(const aValue : IJSAddressErrors); begin WriteJSPropertyObject('billingAddress',aValue); end; constructor TJSBasicCardErrors.create(const aDict : TJSBasicCardErrorsRec); overload; begin Self.cardNumber:=aDict.cardNumber; Self.cardholderName:=aDict.cardholderName; Self.cardSecurityCode:=aDict.cardSecurityCode; Self.expiryMonth:=aDict.expiryMonth; Self.expiryYear:=aDict.expiryYear; Self.billingAddress:=aDict.billingAddress; end; class function TJSBasicCardErrors.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBasicCardErrors.Cast(const Intf: IJSObject): IJSBasicCardErrors; begin Result:=TJSBasicCardErrors.JOBCast(Intf); end; function TJSBeforeUnloadEvent._GetreturnValue2: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('returnValue'); end; procedure TJSBeforeUnloadEvent._SetreturnValue2(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('returnValue',aValue); end; class function TJSBeforeUnloadEvent.JSClassName: UnicodeString; begin Result:='BeforeUnloadEvent'; end; class function TJSBeforeUnloadEvent.Cast(const Intf: IJSObject): IJSBeforeUnloadEvent; begin Result:=TJSBeforeUnloadEvent.JOBCast(Intf); end; function TJSBiquadFilterOptions._Gettype_: TBiquadFilterType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSBiquadFilterOptions._GetQ: Single; begin Result:=ReadJSPropertyDouble('Q'); end; function TJSBiquadFilterOptions._Getdetune: Single; begin Result:=ReadJSPropertyDouble('detune'); end; function TJSBiquadFilterOptions._Getfrequency: Single; begin Result:=ReadJSPropertyDouble('frequency'); end; function TJSBiquadFilterOptions._Getgain: Single; begin Result:=ReadJSPropertyDouble('gain'); end; procedure TJSBiquadFilterOptions._Settype_(const aValue : TBiquadFilterType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSBiquadFilterOptions._SetQ(const aValue : Single); begin WriteJSPropertyDouble('Q',aValue); end; procedure TJSBiquadFilterOptions._Setdetune(const aValue : Single); begin WriteJSPropertyDouble('detune',aValue); end; procedure TJSBiquadFilterOptions._Setfrequency(const aValue : Single); begin WriteJSPropertyDouble('frequency',aValue); end; procedure TJSBiquadFilterOptions._Setgain(const aValue : Single); begin WriteJSPropertyDouble('gain',aValue); end; constructor TJSBiquadFilterOptions.create(const aDict : TJSBiquadFilterOptionsRec); overload; begin Self.type_:=aDict.type_; Self.Q:=aDict.Q; Self.detune:=aDict.detune; Self.frequency:=aDict.frequency; Self.gain:=aDict.gain; end; class function TJSBiquadFilterOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBiquadFilterOptions.Cast(const Intf: IJSObject): IJSBiquadFilterOptions; begin Result:=TJSBiquadFilterOptions.JOBCast(Intf); end; function TJSBiquadFilterNode._Gettype_: TBiquadFilterType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSBiquadFilterNode._Getfrequency: IJSAudioParam; begin Result:=ReadJSPropertyObject('frequency',TJSAudioParam) as IJSAudioParam; end; function TJSBiquadFilterNode._Getdetune: IJSAudioParam; begin Result:=ReadJSPropertyObject('detune',TJSAudioParam) as IJSAudioParam; end; function TJSBiquadFilterNode._GetQ: IJSAudioParam; begin Result:=ReadJSPropertyObject('Q',TJSAudioParam) as IJSAudioParam; end; function TJSBiquadFilterNode._Getgain: IJSAudioParam; begin Result:=ReadJSPropertyObject('gain',TJSAudioParam) as IJSAudioParam; end; procedure TJSBiquadFilterNode._Settype_(const aValue : TBiquadFilterType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSBiquadFilterNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSBiquadFilterOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSBiquadFilterNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; procedure TJSBiquadFilterNode.getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); begin InvokeJSNoResult('getFrequencyResponse',[aFrequencyHz,aMagResponse,aPhaseResponse]); end; class function TJSBiquadFilterNode.JSClassName: UnicodeString; begin Result:='BiquadFilterNode'; end; class function TJSBiquadFilterNode.Cast(const Intf: IJSObject): IJSBiquadFilterNode; begin Result:=TJSBiquadFilterNode.JOBCast(Intf); end; function TJSBlob._Getsize: QWord; begin Result:=ReadJSPropertyInt64('size'); end; function TJSBlob._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; constructor TJSBlob.Create(const aBlobParts: TBlobPartDynArray; const aOptions: IJSBlobPropertyBag); begin JOBCreate([aBlobParts,aOptions]); end; constructor TJSBlob.Create; begin JOBCreate([]); end; constructor TJSBlob.Create(const aBlobParts: TBlobPartDynArray); begin JOBCreate([aBlobParts]); end; function TJSBlob.slice(aStart: Int64; aEnd_: Int64; const aContentType: UnicodeString): IJSBlob; begin Result:=InvokeJSObjectResult('slice',[aStart,aEnd_,aContentType],TJSBlob) as IJSBlob; end; function TJSBlob.slice: IJSBlob; begin Result:=InvokeJSObjectResult('slice',[],TJSBlob) as IJSBlob; end; function TJSBlob.slice(aStart: Int64): IJSBlob; begin Result:=InvokeJSObjectResult('slice',[aStart],TJSBlob) as IJSBlob; end; function TJSBlob.slice(aStart: Int64; aEnd_: Int64): IJSBlob; begin Result:=InvokeJSObjectResult('slice',[aStart,aEnd_],TJSBlob) as IJSBlob; end; function TJSBlob.stream: IJSReadableStream; begin Result:=InvokeJSObjectResult('stream',[],TJSReadableStream) as IJSReadableStream; end; function TJSBlob.text: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('text',[],TJSPromise) as IJSPromise; end; function TJSBlob.arrayBuffer: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('arrayBuffer',[],TJSPromise) as IJSPromise; end; class function TJSBlob.JSClassName: UnicodeString; begin Result:='Blob'; end; class function TJSBlob.Cast(const Intf: IJSObject): IJSBlob; begin Result:=TJSBlob.JOBCast(Intf); end; function TJSBlobPropertyBag._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSBlobPropertyBag._Getendings: TEndingType; begin Result:=ReadJSPropertyUnicodeString('endings'); end; procedure TJSBlobPropertyBag._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSBlobPropertyBag._Setendings(const aValue : TEndingType); begin WriteJSPropertyUnicodeString('endings',aValue); end; constructor TJSBlobPropertyBag.create(const aDict : TJSBlobPropertyBagRec); overload; begin Self.type_:=aDict.type_; Self.endings:=aDict.endings; end; class function TJSBlobPropertyBag.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBlobPropertyBag.Cast(const Intf: IJSObject): IJSBlobPropertyBag; begin Result:=TJSBlobPropertyBag.JOBCast(Intf); end; function TJSBlobEvent._Getdata: IJSBlob; begin Result:=ReadJSPropertyObject('data',TJSBlob) as IJSBlob; end; constructor TJSBlobEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSBlobEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSBlobEvent.JSClassName: UnicodeString; begin Result:='BlobEvent'; end; class function TJSBlobEvent.Cast(const Intf: IJSObject): IJSBlobEvent; begin Result:=TJSBlobEvent.JOBCast(Intf); end; function TJSBlobEventInit._Getdata: IJSBlob; begin Result:=ReadJSPropertyObject('data',TJSBlob) as IJSBlob; end; procedure TJSBlobEventInit._Setdata(const aValue : IJSBlob); begin WriteJSPropertyObject('data',aValue); end; constructor TJSBlobEventInit.create(const aDict : TJSBlobEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSBlobEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBlobEventInit.Cast(const Intf: IJSObject): IJSBlobEventInit; begin Result:=TJSBlobEventInit.JOBCast(Intf); end; function TJSBroadcastChannel._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSBroadcastChannel._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSBroadcastChannel._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; procedure TJSBroadcastChannel._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSBroadcastChannel._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; constructor TJSBroadcastChannel.Create(const aChannel: UnicodeString); begin JOBCreate([aChannel]); end; procedure TJSBroadcastChannel.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; procedure TJSBroadcastChannel.close; begin InvokeJSNoResult('close',[]); end; class function TJSBroadcastChannel.JSClassName: UnicodeString; begin Result:='BroadcastChannel'; end; class function TJSBroadcastChannel.Cast(const Intf: IJSObject): IJSBroadcastChannel; begin Result:=TJSBroadcastChannel.JOBCast(Intf); end; function TJSOpenWindowEventDetail._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSOpenWindowEventDetail._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSOpenWindowEventDetail._Getfeatures: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('features'); end; function TJSOpenWindowEventDetail._GetframeElement: IJSNode; begin Result:=ReadJSPropertyObject('frameElement',TJSNode) as IJSNode; end; function TJSOpenWindowEventDetail._GetforceNoReferrer: Boolean; begin Result:=ReadJSPropertyBoolean('forceNoReferrer'); end; procedure TJSOpenWindowEventDetail._Seturl(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('url',aValue); end; procedure TJSOpenWindowEventDetail._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSOpenWindowEventDetail._Setfeatures(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('features',aValue); end; procedure TJSOpenWindowEventDetail._SetframeElement(const aValue : IJSNode); begin WriteJSPropertyObject('frameElement',aValue); end; procedure TJSOpenWindowEventDetail._SetforceNoReferrer(const aValue : Boolean); begin WriteJSPropertyBoolean('forceNoReferrer',aValue); end; constructor TJSOpenWindowEventDetail.create(const aDict : TJSOpenWindowEventDetailRec); overload; begin Self.url:=aDict.url; Self.name:=aDict.name; Self.features:=aDict.features; Self.frameElement:=aDict.frameElement; Self.forceNoReferrer:=aDict.forceNoReferrer; end; class function TJSOpenWindowEventDetail.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOpenWindowEventDetail.Cast(const Intf: IJSObject): IJSOpenWindowEventDetail; begin Result:=TJSOpenWindowEventDetail.JOBCast(Intf); end; function TJSDOMWindowResizeEventDetail._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSDOMWindowResizeEventDetail._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; procedure TJSDOMWindowResizeEventDetail._Setwidth(const aValue : LongInt); begin WriteJSPropertyLongInt('width',aValue); end; procedure TJSDOMWindowResizeEventDetail._Setheight(const aValue : LongInt); begin WriteJSPropertyLongInt('height',aValue); end; constructor TJSDOMWindowResizeEventDetail.create(const aDict : TJSDOMWindowResizeEventDetailRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; end; class function TJSDOMWindowResizeEventDetail.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMWindowResizeEventDetail.Cast(const Intf: IJSObject): IJSDOMWindowResizeEventDetail; begin Result:=TJSDOMWindowResizeEventDetail.JOBCast(Intf); end; function TJSCache.match(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.match(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.match(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.match(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.matchAll(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.matchAll: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[],TJSPromise) as IJSPromise; end; function TJSCache.matchAll(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.matchAll(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.matchAll(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.add(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('add',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.add(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('add',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.addAll(const aRequests: TRequestInfoDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addAll',[aRequests],TJSPromise) as IJSPromise; end; function TJSCache.put(aRequest: IJSRequest; aResponse: IJSResponse): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('put',[aRequest,aResponse],TJSPromise) as IJSPromise; end; function TJSCache.put(const aRequest: UTF8String; aResponse: IJSResponse): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('put',[aRequest,aResponse],TJSPromise) as IJSPromise; end; function TJSCache.delete(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('delete',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.delete(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('delete',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.delete(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('delete',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.delete(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('delete',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.keys(aRequest: IJSRequest; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.keys: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[],TJSPromise) as IJSPromise; end; function TJSCache.keys(const aRequest: UTF8String; const aOptions: IJSCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCache.keys(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[aRequest],TJSPromise) as IJSPromise; end; function TJSCache.keys(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[aRequest],TJSPromise) as IJSPromise; end; class function TJSCache.JSClassName: UnicodeString; begin Result:='Cache'; end; class function TJSCache.Cast(const Intf: IJSObject): IJSCache; begin Result:=TJSCache.JOBCast(Intf); end; function TJSCacheQueryOptions._GetignoreSearch: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreSearch'); end; function TJSCacheQueryOptions._GetignoreMethod: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreMethod'); end; function TJSCacheQueryOptions._GetignoreVary: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreVary'); end; procedure TJSCacheQueryOptions._SetignoreSearch(const aValue : Boolean); begin WriteJSPropertyBoolean('ignoreSearch',aValue); end; procedure TJSCacheQueryOptions._SetignoreMethod(const aValue : Boolean); begin WriteJSPropertyBoolean('ignoreMethod',aValue); end; procedure TJSCacheQueryOptions._SetignoreVary(const aValue : Boolean); begin WriteJSPropertyBoolean('ignoreVary',aValue); end; constructor TJSCacheQueryOptions.create(const aDict : TJSCacheQueryOptionsRec); overload; begin Self.ignoreSearch:=aDict.ignoreSearch; Self.ignoreMethod:=aDict.ignoreMethod; Self.ignoreVary:=aDict.ignoreVary; end; class function TJSCacheQueryOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCacheQueryOptions.Cast(const Intf: IJSObject): IJSCacheQueryOptions; begin Result:=TJSCacheQueryOptions.JOBCast(Intf); end; function TJSCacheBatchOperation._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSCacheBatchOperation._Getrequest: IJSRequest; begin Result:=ReadJSPropertyObject('request',TJSRequest) as IJSRequest; end; function TJSCacheBatchOperation._Getresponse: IJSResponse; begin Result:=ReadJSPropertyObject('response',TJSResponse) as IJSResponse; end; function TJSCacheBatchOperation._Getoptions: IJSCacheQueryOptions; begin Result:=ReadJSPropertyObject('options',TJSCacheQueryOptions) as IJSCacheQueryOptions; end; procedure TJSCacheBatchOperation._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSCacheBatchOperation._Setrequest(const aValue : IJSRequest); begin WriteJSPropertyObject('request',aValue); end; procedure TJSCacheBatchOperation._Setresponse(const aValue : IJSResponse); begin WriteJSPropertyObject('response',aValue); end; procedure TJSCacheBatchOperation._Setoptions(const aValue : IJSCacheQueryOptions); begin WriteJSPropertyObject('options',aValue); end; constructor TJSCacheBatchOperation.create(const aDict : TJSCacheBatchOperationRec); overload; begin Self.type_:=aDict.type_; Self.request:=aDict.request; Self.response:=aDict.response; Self.options:=aDict.options; end; class function TJSCacheBatchOperation.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCacheBatchOperation.Cast(const Intf: IJSObject): IJSCacheBatchOperation; begin Result:=TJSCacheBatchOperation.JOBCast(Intf); end; class function TJSPrincipal.JSClassName: UnicodeString; begin Result:='Principal'; end; class function TJSPrincipal.Cast(const Intf: IJSObject): IJSPrincipal; begin Result:=TJSPrincipal.JOBCast(Intf); end; function TJSCacheStorage.match(aRequest: IJSRequest; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCacheStorage.match(const aRequest: UTF8String; const aOptions: IJSMultiCacheQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest,aOptions],TJSPromise) as IJSPromise; end; function TJSCacheStorage.match(const aRequest: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest],TJSPromise) as IJSPromise; end; function TJSCacheStorage.match(aRequest: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('match',[aRequest],TJSPromise) as IJSPromise; end; function TJSCacheStorage.has(const aCacheName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('has',[aCacheName],TJSPromise) as IJSPromise; end; function TJSCacheStorage.open(const aCacheName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('open',[aCacheName],TJSPromise) as IJSPromise; end; function TJSCacheStorage.delete(const aCacheName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('delete',[aCacheName],TJSPromise) as IJSPromise; end; function TJSCacheStorage.keys: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('keys',[],TJSPromise) as IJSPromise; end; class function TJSCacheStorage.JSClassName: UnicodeString; begin Result:='CacheStorage'; end; class function TJSCacheStorage.Cast(const Intf: IJSObject): IJSCacheStorage; begin Result:=TJSCacheStorage.JOBCast(Intf); end; function TJSMultiCacheQueryOptions._GetcacheName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cacheName'); end; procedure TJSMultiCacheQueryOptions._SetcacheName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cacheName',aValue); end; constructor TJSMultiCacheQueryOptions.create(const aDict : TJSMultiCacheQueryOptionsRec); overload; begin Self.cacheName:=aDict.cacheName; end; class function TJSMultiCacheQueryOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMultiCacheQueryOptions.Cast(const Intf: IJSObject): IJSMultiCacheQueryOptions; begin Result:=TJSMultiCacheQueryOptions.JOBCast(Intf); end; function TJSCancelContentJSOptions._Getindex: LongInt; begin Result:=ReadJSPropertyLongInt('index'); end; function TJSCancelContentJSOptions._Geturi: IJSURI; begin Result:=ReadJSPropertyObject('uri',TJSURI) as IJSURI; end; function TJSCancelContentJSOptions._Getepoch: LongInt; begin Result:=ReadJSPropertyLongInt('epoch'); end; procedure TJSCancelContentJSOptions._Setindex(const aValue : LongInt); begin WriteJSPropertyLongInt('index',aValue); end; procedure TJSCancelContentJSOptions._Seturi(const aValue : IJSURI); begin WriteJSPropertyObject('uri',aValue); end; procedure TJSCancelContentJSOptions._Setepoch(const aValue : LongInt); begin WriteJSPropertyLongInt('epoch',aValue); end; constructor TJSCancelContentJSOptions.create(const aDict : TJSCancelContentJSOptionsRec); overload; begin Self.index:=aDict.index; Self.uri:=aDict.uri; Self.epoch:=aDict.epoch; end; class function TJSCancelContentJSOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCancelContentJSOptions.Cast(const Intf: IJSObject): IJSCancelContentJSOptions; begin Result:=TJSCancelContentJSOptions.JOBCast(Intf); end; function TJSCanvasCaptureMediaStream._Getcanvas: IJSHTMLCanvasElement; begin Result:=ReadJSPropertyObject('canvas',TJSHTMLCanvasElement) as IJSHTMLCanvasElement; end; procedure TJSCanvasCaptureMediaStream.requestFrame; begin InvokeJSNoResult('requestFrame',[]); end; class function TJSCanvasCaptureMediaStream.JSClassName: UnicodeString; begin Result:='CanvasCaptureMediaStream'; end; class function TJSCanvasCaptureMediaStream.Cast(const Intf: IJSObject): IJSCanvasCaptureMediaStream; begin Result:=TJSCanvasCaptureMediaStream.JOBCast(Intf); end; function TJSCanvasRenderingContext2DSettings._Getalpha: Boolean; begin Result:=ReadJSPropertyBoolean('alpha'); end; function TJSCanvasRenderingContext2DSettings._Getdesynchronized: Boolean; begin Result:=ReadJSPropertyBoolean('desynchronized'); end; function TJSCanvasRenderingContext2DSettings._GetcolorSpace: TPredefinedColorSpace; begin Result:=ReadJSPropertyUnicodeString('colorSpace'); end; function TJSCanvasRenderingContext2DSettings._GetwillReadFrequently: Boolean; begin Result:=ReadJSPropertyBoolean('willReadFrequently'); end; procedure TJSCanvasRenderingContext2DSettings._Setalpha(const aValue : Boolean); begin WriteJSPropertyBoolean('alpha',aValue); end; procedure TJSCanvasRenderingContext2DSettings._Setdesynchronized(const aValue : Boolean); begin WriteJSPropertyBoolean('desynchronized',aValue); end; procedure TJSCanvasRenderingContext2DSettings._SetcolorSpace(const aValue : TPredefinedColorSpace); begin WriteJSPropertyUnicodeString('colorSpace',aValue); end; procedure TJSCanvasRenderingContext2DSettings._SetwillReadFrequently(const aValue : Boolean); begin WriteJSPropertyBoolean('willReadFrequently',aValue); end; constructor TJSCanvasRenderingContext2DSettings.create(const aDict : TJSCanvasRenderingContext2DSettingsRec); overload; begin Self.alpha:=aDict.alpha; Self.desynchronized:=aDict.desynchronized; Self.colorSpace:=aDict.colorSpace; Self.willReadFrequently:=aDict.willReadFrequently; end; class function TJSCanvasRenderingContext2DSettings.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCanvasRenderingContext2DSettings.Cast(const Intf: IJSObject): IJSCanvasRenderingContext2DSettings; begin Result:=TJSCanvasRenderingContext2DSettings.JOBCast(Intf); end; function TJSHitRegionOptions._Getpath: IJSPath2D; begin Result:=ReadJSPropertyObject('path',TJSPath2D) as IJSPath2D; end; function TJSHitRegionOptions._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSHitRegionOptions._Getcontrol: IJSElement; begin Result:=ReadJSPropertyObject('control',TJSElement) as IJSElement; end; procedure TJSHitRegionOptions._Setpath(const aValue : IJSPath2D); begin WriteJSPropertyObject('path',aValue); end; procedure TJSHitRegionOptions._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSHitRegionOptions._Setcontrol(const aValue : IJSElement); begin WriteJSPropertyObject('control',aValue); end; constructor TJSHitRegionOptions.create(const aDict : TJSHitRegionOptionsRec); overload; begin Self.path:=aDict.path; Self.id:=aDict.id; Self.control:=aDict.control; end; class function TJSHitRegionOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHitRegionOptions.Cast(const Intf: IJSObject): IJSHitRegionOptions; begin Result:=TJSHitRegionOptions.JOBCast(Intf); end; function TJSCanvasRenderingContext2D._Getcanvas: IJSHTMLCanvasElement; begin Result:=ReadJSPropertyObject('canvas',TJSHTMLCanvasElement) as IJSHTMLCanvasElement; end; function TJSCanvasRenderingContext2D._GetglobalAlpha: Double; begin Result:=ReadJSPropertyDouble('globalAlpha'); end; function TJSCanvasRenderingContext2D._GetglobalCompositeOperation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('globalCompositeOperation'); end; function TJSCanvasRenderingContext2D._GetimageSmoothingEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('imageSmoothingEnabled'); end; function TJSCanvasRenderingContext2D._GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; begin Result:=ReadJSPropertyVariant('strokeStyle'); end; function TJSCanvasRenderingContext2D._GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; begin Result:=ReadJSPropertyVariant('fillStyle'); end; function TJSCanvasRenderingContext2D._GetshadowOffsetX: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetX'); end; function TJSCanvasRenderingContext2D._GetshadowOffsetY: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetY'); end; function TJSCanvasRenderingContext2D._GetshadowBlur: Double; begin Result:=ReadJSPropertyDouble('shadowBlur'); end; function TJSCanvasRenderingContext2D._GetshadowColor: UTF8String; begin Result:=ReadJSPropertyUTF8String('shadowColor'); end; function TJSCanvasRenderingContext2D._Getfilter: UTF8String; begin Result:=ReadJSPropertyUTF8String('filter'); end; function TJSCanvasRenderingContext2D._GetlineWidth: Double; begin Result:=ReadJSPropertyDouble('lineWidth'); end; function TJSCanvasRenderingContext2D._GetlineCap: TCanvasLineCap; begin Result:=ReadJSPropertyUnicodeString('lineCap'); end; function TJSCanvasRenderingContext2D._GetlineJoin: TCanvasLineJoin; begin Result:=ReadJSPropertyUnicodeString('lineJoin'); end; function TJSCanvasRenderingContext2D._GetmiterLimit: Double; begin Result:=ReadJSPropertyDouble('miterLimit'); end; function TJSCanvasRenderingContext2D._GetlineDashOffset: Double; begin Result:=ReadJSPropertyDouble('lineDashOffset'); end; function TJSCanvasRenderingContext2D._Getfont: UTF8String; begin Result:=ReadJSPropertyUTF8String('font'); end; function TJSCanvasRenderingContext2D._GettextAlign: TCanvasTextAlign; begin Result:=ReadJSPropertyUnicodeString('textAlign'); end; function TJSCanvasRenderingContext2D._GettextBaseline: TCanvasTextBaseline; begin Result:=ReadJSPropertyUnicodeString('textBaseline'); end; function TJSCanvasRenderingContext2D._Getdirection: TCanvasDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSCanvasRenderingContext2D._GetletterSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('letterSpacing'); end; function TJSCanvasRenderingContext2D._GetfontKerning: TCanvasFontKerning; begin Result:=ReadJSPropertyUnicodeString('fontKerning'); end; function TJSCanvasRenderingContext2D._GetfontStretch: TCanvasFontStretch; begin Result:=ReadJSPropertyUnicodeString('fontStretch'); end; function TJSCanvasRenderingContext2D._GetfontVariantCaps: TCanvasFontVariantCaps; begin Result:=ReadJSPropertyUnicodeString('fontVariantCaps'); end; function TJSCanvasRenderingContext2D._GettextRendering: TCanvasTextRendering; begin Result:=ReadJSPropertyUnicodeString('textRendering'); end; function TJSCanvasRenderingContext2D._GetwordSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('wordSpacing'); end; procedure TJSCanvasRenderingContext2D._SetglobalAlpha(const aValue : Double); begin WriteJSPropertyDouble('globalAlpha',aValue); end; procedure TJSCanvasRenderingContext2D._SetglobalCompositeOperation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('globalCompositeOperation',aValue); end; procedure TJSCanvasRenderingContext2D._SetimageSmoothingEnabled(const aValue : Boolean); begin WriteJSPropertyBoolean('imageSmoothingEnabled',aValue); end; procedure TJSCanvasRenderingContext2D._SetstrokeStyle(const aValue : TCanvasFillStrokeStyles_strokeStyle_Type); begin WriteJSPropertyVariant('strokeStyle',aValue); end; procedure TJSCanvasRenderingContext2D._SetfillStyle(const aValue : TCanvasFillStrokeStyles_fillStyle_Type); begin WriteJSPropertyVariant('fillStyle',aValue); end; procedure TJSCanvasRenderingContext2D._SetshadowOffsetX(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetX',aValue); end; procedure TJSCanvasRenderingContext2D._SetshadowOffsetY(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetY',aValue); end; procedure TJSCanvasRenderingContext2D._SetshadowBlur(const aValue : Double); begin WriteJSPropertyDouble('shadowBlur',aValue); end; procedure TJSCanvasRenderingContext2D._SetshadowColor(const aValue : UTF8String); begin WriteJSPropertyUTF8String('shadowColor',aValue); end; procedure TJSCanvasRenderingContext2D._Setfilter(const aValue : UTF8String); begin WriteJSPropertyUTF8String('filter',aValue); end; procedure TJSCanvasRenderingContext2D._SetlineWidth(const aValue : Double); begin WriteJSPropertyDouble('lineWidth',aValue); end; procedure TJSCanvasRenderingContext2D._SetlineCap(const aValue : TCanvasLineCap); begin WriteJSPropertyUnicodeString('lineCap',aValue); end; procedure TJSCanvasRenderingContext2D._SetlineJoin(const aValue : TCanvasLineJoin); begin WriteJSPropertyUnicodeString('lineJoin',aValue); end; procedure TJSCanvasRenderingContext2D._SetmiterLimit(const aValue : Double); begin WriteJSPropertyDouble('miterLimit',aValue); end; procedure TJSCanvasRenderingContext2D._SetlineDashOffset(const aValue : Double); begin WriteJSPropertyDouble('lineDashOffset',aValue); end; procedure TJSCanvasRenderingContext2D._Setfont(const aValue : UTF8String); begin WriteJSPropertyUTF8String('font',aValue); end; procedure TJSCanvasRenderingContext2D._SettextAlign(const aValue : TCanvasTextAlign); begin WriteJSPropertyUnicodeString('textAlign',aValue); end; procedure TJSCanvasRenderingContext2D._SettextBaseline(const aValue : TCanvasTextBaseline); begin WriteJSPropertyUnicodeString('textBaseline',aValue); end; procedure TJSCanvasRenderingContext2D._Setdirection(const aValue : TCanvasDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSCanvasRenderingContext2D._SetletterSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('letterSpacing',aValue); end; procedure TJSCanvasRenderingContext2D._SetfontKerning(const aValue : TCanvasFontKerning); begin WriteJSPropertyUnicodeString('fontKerning',aValue); end; procedure TJSCanvasRenderingContext2D._SetfontStretch(const aValue : TCanvasFontStretch); begin WriteJSPropertyUnicodeString('fontStretch',aValue); end; procedure TJSCanvasRenderingContext2D._SetfontVariantCaps(const aValue : TCanvasFontVariantCaps); begin WriteJSPropertyUnicodeString('fontVariantCaps',aValue); end; procedure TJSCanvasRenderingContext2D._SettextRendering(const aValue : TCanvasTextRendering); begin WriteJSPropertyUnicodeString('textRendering',aValue); end; procedure TJSCanvasRenderingContext2D._SetwordSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('wordSpacing',aValue); end; function TJSCanvasRenderingContext2D.getContextAttributes: IJSCanvasRenderingContext2DSettings; begin Result:=InvokeJSObjectResult('getContextAttributes',[],TJSCanvasRenderingContext2DSettings) as IJSCanvasRenderingContext2DSettings; end; procedure TJSCanvasRenderingContext2D.drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String; aFlags: Cardinal); begin InvokeJSNoResult('drawWindow',[aWindow,aX,aY,aW,aH,aBgColor,aFlags]); end; procedure TJSCanvasRenderingContext2D.drawWindow(aWindow: IJSWindow; aX: Double; aY: Double; aW: Double; aH: Double; const aBgColor: UTF8String); begin InvokeJSNoResult('drawWindow',[aWindow,aX,aY,aW,aH,aBgColor]); end; procedure TJSCanvasRenderingContext2D.save; begin InvokeJSNoResult('save',[]); end; procedure TJSCanvasRenderingContext2D.restore; begin InvokeJSNoResult('restore',[]); end; procedure TJSCanvasRenderingContext2D.reset; begin InvokeJSNoResult('reset',[]); end; function TJSCanvasRenderingContext2D.isContextLost: Boolean; begin Result:=InvokeJSBooleanResult('isContextLost',[]); end; procedure TJSCanvasRenderingContext2D.scale(aX: Double; aY: Double); begin InvokeJSNoResult('scale',[aX,aY]); end; procedure TJSCanvasRenderingContext2D.rotate(aAngle: Double); begin InvokeJSNoResult('rotate',[aAngle]); end; procedure TJSCanvasRenderingContext2D.translate(aX: Double; aY: Double); begin InvokeJSNoResult('translate',[aX,aY]); end; procedure TJSCanvasRenderingContext2D.transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('transform',[aA,aB,aC,aD,aE,aF]); end; function TJSCanvasRenderingContext2D.getTransform: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('getTransform',[],TJSDOMMatrix) as IJSDOMMatrix; end; procedure TJSCanvasRenderingContext2D.setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('setTransform',[aA,aB,aC,aD,aE,aF]); end; procedure TJSCanvasRenderingContext2D.setTransform(const aTransform: IJSDOMMatrix2DInit); begin InvokeJSNoResult('setTransform',[aTransform]); end; procedure TJSCanvasRenderingContext2D.setTransform; begin InvokeJSNoResult('setTransform',[]); end; procedure TJSCanvasRenderingContext2D.resetTransform; begin InvokeJSNoResult('resetTransform',[]); end; function TJSCanvasRenderingContext2D.createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createLinearGradient',[aX0,aY0,aX1,aY1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasRenderingContext2D.createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createRadialGradient',[aX0,aY0,aR0,aX1,aY1,aR1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasRenderingContext2D.createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createConicGradient',[aAngle,aCx,aCy],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasRenderingContext2D.createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasRenderingContext2D.createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasRenderingContext2D.createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasRenderingContext2D.createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasRenderingContext2D.createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasRenderingContext2D.createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; procedure TJSCanvasRenderingContext2D.clearRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('clearRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRenderingContext2D.fillRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('fillRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRenderingContext2D.strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('strokeRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRenderingContext2D.beginPath; begin InvokeJSNoResult('beginPath',[]); end; procedure TJSCanvasRenderingContext2D.fill(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aWinding]); end; procedure TJSCanvasRenderingContext2D.fill; begin InvokeJSNoResult('fill',[]); end; procedure TJSCanvasRenderingContext2D.fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aPath,aWinding]); end; procedure TJSCanvasRenderingContext2D.fill(aPath: IJSPath2D); begin InvokeJSNoResult('fill',[aPath]); end; procedure TJSCanvasRenderingContext2D.stroke; begin InvokeJSNoResult('stroke',[]); end; procedure TJSCanvasRenderingContext2D.stroke(aPath: IJSPath2D); begin InvokeJSNoResult('stroke',[aPath]); end; procedure TJSCanvasRenderingContext2D.clip(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aWinding]); end; procedure TJSCanvasRenderingContext2D.clip; begin InvokeJSNoResult('clip',[]); end; procedure TJSCanvasRenderingContext2D.clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aPath,aWinding]); end; procedure TJSCanvasRenderingContext2D.clip(aPath: IJSPath2D); begin InvokeJSNoResult('clip',[aPath]); end; function TJSCanvasRenderingContext2D.isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY,aWinding]); end; function TJSCanvasRenderingContext2D.isPointInPath(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY]); end; function TJSCanvasRenderingContext2D.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY,aWinding]); end; function TJSCanvasRenderingContext2D.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY]); end; function TJSCanvasRenderingContext2D.isPointInStroke(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aX,aY]); end; function TJSCanvasRenderingContext2D.isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aPath,aX,aY]); end; procedure TJSCanvasRenderingContext2D.drawFocusIfNeeded(aElement: IJSElement); begin InvokeJSNoResult('drawFocusIfNeeded',[aElement]); end; procedure TJSCanvasRenderingContext2D.fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY,aMaxWidth]); end; procedure TJSCanvasRenderingContext2D.fillText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY]); end; procedure TJSCanvasRenderingContext2D.strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY,aMaxWidth]); end; procedure TJSCanvasRenderingContext2D.strokeText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY]); end; function TJSCanvasRenderingContext2D.measureText(const aText: UnicodeString): IJSTextMetrics; begin Result:=InvokeJSObjectResult('measureText',[aText],TJSTextMetrics) as IJSTextMetrics; end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; function TJSCanvasRenderingContext2D.createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aSw,aSh],TJSImageData) as IJSImageData; end; function TJSCanvasRenderingContext2D.createImageData(aImagedata: IJSImageData): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aImagedata],TJSImageData) as IJSImageData; end; function TJSCanvasRenderingContext2D.getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('getImageData',[aSx,aSy,aSw,aSh],TJSImageData) as IJSImageData; end; procedure TJSCanvasRenderingContext2D.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy]); end; procedure TJSCanvasRenderingContext2D.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy,aDirtyX,aDirtyY,aDirtyWidth,aDirtyHeight]); end; procedure TJSCanvasRenderingContext2D.setLineDash(const aSegments: TDoubleDynArray); begin InvokeJSNoResult('setLineDash',[aSegments]); end; function TJSCanvasRenderingContext2D.getLineDash: TDoubleDynArray; begin Result:=InvokeJSObjectResult('getLineDash',[],TJSArray) as TDoubleDynArray; end; procedure TJSCanvasRenderingContext2D.closePath; begin InvokeJSNoResult('closePath',[]); end; procedure TJSCanvasRenderingContext2D.moveTo(aX: Double; aY: Double); begin InvokeJSNoResult('moveTo',[aX,aY]); end; procedure TJSCanvasRenderingContext2D.lineTo(aX: Double; aY: Double); begin InvokeJSNoResult('lineTo',[aX,aY]); end; procedure TJSCanvasRenderingContext2D.quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); begin InvokeJSNoResult('quadraticCurveTo',[aCpx,aCpy,aX,aY]); end; procedure TJSCanvasRenderingContext2D.bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); begin InvokeJSNoResult('bezierCurveTo',[aCp1x,aCp1y,aCp2x,aCp2y,aX,aY]); end; procedure TJSCanvasRenderingContext2D.arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); begin InvokeJSNoResult('arcTo',[aX1,aY1,aX2,aY2,aRadius]); end; procedure TJSCanvasRenderingContext2D.rect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('rect',[aX,aY,aW,aH]); end; procedure TJSCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasRenderingContext2D.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSCanvasRenderingContext2D.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle]); end; procedure TJSCanvasRenderingContext2D.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSCanvasRenderingContext2D.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle]); end; class function TJSCanvasRenderingContext2D.JSClassName: UnicodeString; begin Result:='CanvasRenderingContext2D'; end; class function TJSCanvasRenderingContext2D.Cast(const Intf: IJSObject): IJSCanvasRenderingContext2D; begin Result:=TJSCanvasRenderingContext2D.JOBCast(Intf); end; procedure TJSCanvasState.save; begin InvokeJSNoResult('save',[]); end; procedure TJSCanvasState.restore; begin InvokeJSNoResult('restore',[]); end; procedure TJSCanvasState.reset; begin InvokeJSNoResult('reset',[]); end; function TJSCanvasState.isContextLost: Boolean; begin Result:=InvokeJSBooleanResult('isContextLost',[]); end; class function TJSCanvasState.JSClassName: UnicodeString; begin Result:='CanvasState'; end; class function TJSCanvasState.Cast(const Intf: IJSObject): IJSCanvasState; begin Result:=TJSCanvasState.JOBCast(Intf); end; procedure TJSCanvasTransform.scale(aX: Double; aY: Double); begin InvokeJSNoResult('scale',[aX,aY]); end; procedure TJSCanvasTransform.rotate(aAngle: Double); begin InvokeJSNoResult('rotate',[aAngle]); end; procedure TJSCanvasTransform.translate(aX: Double; aY: Double); begin InvokeJSNoResult('translate',[aX,aY]); end; procedure TJSCanvasTransform.transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('transform',[aA,aB,aC,aD,aE,aF]); end; function TJSCanvasTransform.getTransform: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('getTransform',[],TJSDOMMatrix) as IJSDOMMatrix; end; procedure TJSCanvasTransform.setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('setTransform',[aA,aB,aC,aD,aE,aF]); end; procedure TJSCanvasTransform.setTransform(const aTransform: IJSDOMMatrix2DInit); begin InvokeJSNoResult('setTransform',[aTransform]); end; procedure TJSCanvasTransform.setTransform; begin InvokeJSNoResult('setTransform',[]); end; procedure TJSCanvasTransform.resetTransform; begin InvokeJSNoResult('resetTransform',[]); end; class function TJSCanvasTransform.JSClassName: UnicodeString; begin Result:='CanvasTransform'; end; class function TJSCanvasTransform.Cast(const Intf: IJSObject): IJSCanvasTransform; begin Result:=TJSCanvasTransform.JOBCast(Intf); end; function TJSCanvasCompositing._GetglobalAlpha: Double; begin Result:=ReadJSPropertyDouble('globalAlpha'); end; function TJSCanvasCompositing._GetglobalCompositeOperation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('globalCompositeOperation'); end; procedure TJSCanvasCompositing._SetglobalAlpha(const aValue : Double); begin WriteJSPropertyDouble('globalAlpha',aValue); end; procedure TJSCanvasCompositing._SetglobalCompositeOperation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('globalCompositeOperation',aValue); end; class function TJSCanvasCompositing.JSClassName: UnicodeString; begin Result:='CanvasCompositing'; end; class function TJSCanvasCompositing.Cast(const Intf: IJSObject): IJSCanvasCompositing; begin Result:=TJSCanvasCompositing.JOBCast(Intf); end; function TJSCanvasImageSmoothing._GetimageSmoothingEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('imageSmoothingEnabled'); end; procedure TJSCanvasImageSmoothing._SetimageSmoothingEnabled(const aValue : Boolean); begin WriteJSPropertyBoolean('imageSmoothingEnabled',aValue); end; class function TJSCanvasImageSmoothing.JSClassName: UnicodeString; begin Result:='CanvasImageSmoothing'; end; class function TJSCanvasImageSmoothing.Cast(const Intf: IJSObject): IJSCanvasImageSmoothing; begin Result:=TJSCanvasImageSmoothing.JOBCast(Intf); end; function TJSCanvasFillStrokeStyles._GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; begin Result:=ReadJSPropertyVariant('strokeStyle'); end; function TJSCanvasFillStrokeStyles._GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; begin Result:=ReadJSPropertyVariant('fillStyle'); end; procedure TJSCanvasFillStrokeStyles._SetstrokeStyle(const aValue : TCanvasFillStrokeStyles_strokeStyle_Type); begin WriteJSPropertyVariant('strokeStyle',aValue); end; procedure TJSCanvasFillStrokeStyles._SetfillStyle(const aValue : TCanvasFillStrokeStyles_fillStyle_Type); begin WriteJSPropertyVariant('fillStyle',aValue); end; function TJSCanvasFillStrokeStyles.createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createLinearGradient',[aX0,aY0,aX1,aY1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasFillStrokeStyles.createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createRadialGradient',[aX0,aY0,aR0,aX1,aY1,aR1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasFillStrokeStyles.createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createConicGradient',[aAngle,aCx,aCy],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSCanvasFillStrokeStyles.createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasFillStrokeStyles.createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasFillStrokeStyles.createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasFillStrokeStyles.createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasFillStrokeStyles.createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSCanvasFillStrokeStyles.createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; class function TJSCanvasFillStrokeStyles.JSClassName: UnicodeString; begin Result:='CanvasFillStrokeStyles'; end; class function TJSCanvasFillStrokeStyles.Cast(const Intf: IJSObject): IJSCanvasFillStrokeStyles; begin Result:=TJSCanvasFillStrokeStyles.JOBCast(Intf); end; function TJSCanvasShadowStyles._GetshadowOffsetX: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetX'); end; function TJSCanvasShadowStyles._GetshadowOffsetY: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetY'); end; function TJSCanvasShadowStyles._GetshadowBlur: Double; begin Result:=ReadJSPropertyDouble('shadowBlur'); end; function TJSCanvasShadowStyles._GetshadowColor: UTF8String; begin Result:=ReadJSPropertyUTF8String('shadowColor'); end; procedure TJSCanvasShadowStyles._SetshadowOffsetX(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetX',aValue); end; procedure TJSCanvasShadowStyles._SetshadowOffsetY(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetY',aValue); end; procedure TJSCanvasShadowStyles._SetshadowBlur(const aValue : Double); begin WriteJSPropertyDouble('shadowBlur',aValue); end; procedure TJSCanvasShadowStyles._SetshadowColor(const aValue : UTF8String); begin WriteJSPropertyUTF8String('shadowColor',aValue); end; class function TJSCanvasShadowStyles.JSClassName: UnicodeString; begin Result:='CanvasShadowStyles'; end; class function TJSCanvasShadowStyles.Cast(const Intf: IJSObject): IJSCanvasShadowStyles; begin Result:=TJSCanvasShadowStyles.JOBCast(Intf); end; function TJSCanvasFilters._Getfilter: UTF8String; begin Result:=ReadJSPropertyUTF8String('filter'); end; procedure TJSCanvasFilters._Setfilter(const aValue : UTF8String); begin WriteJSPropertyUTF8String('filter',aValue); end; class function TJSCanvasFilters.JSClassName: UnicodeString; begin Result:='CanvasFilters'; end; class function TJSCanvasFilters.Cast(const Intf: IJSObject): IJSCanvasFilters; begin Result:=TJSCanvasFilters.JOBCast(Intf); end; procedure TJSCanvasRect.clearRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('clearRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRect.fillRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('fillRect',[aX,aY,aW,aH]); end; procedure TJSCanvasRect.strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('strokeRect',[aX,aY,aW,aH]); end; class function TJSCanvasRect.JSClassName: UnicodeString; begin Result:='CanvasRect'; end; class function TJSCanvasRect.Cast(const Intf: IJSObject): IJSCanvasRect; begin Result:=TJSCanvasRect.JOBCast(Intf); end; procedure TJSCanvasDrawPath.beginPath; begin InvokeJSNoResult('beginPath',[]); end; procedure TJSCanvasDrawPath.fill(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aWinding]); end; procedure TJSCanvasDrawPath.fill; begin InvokeJSNoResult('fill',[]); end; procedure TJSCanvasDrawPath.fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aPath,aWinding]); end; procedure TJSCanvasDrawPath.fill(aPath: IJSPath2D); begin InvokeJSNoResult('fill',[aPath]); end; procedure TJSCanvasDrawPath.stroke; begin InvokeJSNoResult('stroke',[]); end; procedure TJSCanvasDrawPath.stroke(aPath: IJSPath2D); begin InvokeJSNoResult('stroke',[aPath]); end; procedure TJSCanvasDrawPath.clip(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aWinding]); end; procedure TJSCanvasDrawPath.clip; begin InvokeJSNoResult('clip',[]); end; procedure TJSCanvasDrawPath.clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aPath,aWinding]); end; procedure TJSCanvasDrawPath.clip(aPath: IJSPath2D); begin InvokeJSNoResult('clip',[aPath]); end; function TJSCanvasDrawPath.isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY,aWinding]); end; function TJSCanvasDrawPath.isPointInPath(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY]); end; function TJSCanvasDrawPath.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY,aWinding]); end; function TJSCanvasDrawPath.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY]); end; function TJSCanvasDrawPath.isPointInStroke(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aX,aY]); end; function TJSCanvasDrawPath.isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aPath,aX,aY]); end; class function TJSCanvasDrawPath.JSClassName: UnicodeString; begin Result:='CanvasDrawPath'; end; class function TJSCanvasDrawPath.Cast(const Intf: IJSObject): IJSCanvasDrawPath; begin Result:=TJSCanvasDrawPath.JOBCast(Intf); end; procedure TJSCanvasUserInterface.drawFocusIfNeeded(aElement: IJSElement); begin InvokeJSNoResult('drawFocusIfNeeded',[aElement]); end; class function TJSCanvasUserInterface.JSClassName: UnicodeString; begin Result:='CanvasUserInterface'; end; class function TJSCanvasUserInterface.Cast(const Intf: IJSObject): IJSCanvasUserInterface; begin Result:=TJSCanvasUserInterface.JOBCast(Intf); end; procedure TJSCanvasText.fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY,aMaxWidth]); end; procedure TJSCanvasText.fillText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY]); end; procedure TJSCanvasText.strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY,aMaxWidth]); end; procedure TJSCanvasText.strokeText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY]); end; function TJSCanvasText.measureText(const aText: UnicodeString): IJSTextMetrics; begin Result:=InvokeJSObjectResult('measureText',[aText],TJSTextMetrics) as IJSTextMetrics; end; class function TJSCanvasText.JSClassName: UnicodeString; begin Result:='CanvasText'; end; class function TJSCanvasText.Cast(const Intf: IJSObject): IJSCanvasText; begin Result:=TJSCanvasText.JOBCast(Intf); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSCanvasDrawImage.drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; class function TJSCanvasDrawImage.JSClassName: UnicodeString; begin Result:='CanvasDrawImage'; end; class function TJSCanvasDrawImage.Cast(const Intf: IJSObject): IJSCanvasDrawImage; begin Result:=TJSCanvasDrawImage.JOBCast(Intf); end; function TJSCanvasImageData.createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aSw,aSh],TJSImageData) as IJSImageData; end; function TJSCanvasImageData.createImageData(aImagedata: IJSImageData): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aImagedata],TJSImageData) as IJSImageData; end; function TJSCanvasImageData.getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('getImageData',[aSx,aSy,aSw,aSh],TJSImageData) as IJSImageData; end; procedure TJSCanvasImageData.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy]); end; procedure TJSCanvasImageData.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy,aDirtyX,aDirtyY,aDirtyWidth,aDirtyHeight]); end; class function TJSCanvasImageData.JSClassName: UnicodeString; begin Result:='CanvasImageData'; end; class function TJSCanvasImageData.Cast(const Intf: IJSObject): IJSCanvasImageData; begin Result:=TJSCanvasImageData.JOBCast(Intf); end; function TJSCanvasPathDrawingStyles._GetlineWidth: Double; begin Result:=ReadJSPropertyDouble('lineWidth'); end; function TJSCanvasPathDrawingStyles._GetlineCap: TCanvasLineCap; begin Result:=ReadJSPropertyUnicodeString('lineCap'); end; function TJSCanvasPathDrawingStyles._GetlineJoin: TCanvasLineJoin; begin Result:=ReadJSPropertyUnicodeString('lineJoin'); end; function TJSCanvasPathDrawingStyles._GetmiterLimit: Double; begin Result:=ReadJSPropertyDouble('miterLimit'); end; function TJSCanvasPathDrawingStyles._GetlineDashOffset: Double; begin Result:=ReadJSPropertyDouble('lineDashOffset'); end; procedure TJSCanvasPathDrawingStyles._SetlineWidth(const aValue : Double); begin WriteJSPropertyDouble('lineWidth',aValue); end; procedure TJSCanvasPathDrawingStyles._SetlineCap(const aValue : TCanvasLineCap); begin WriteJSPropertyUnicodeString('lineCap',aValue); end; procedure TJSCanvasPathDrawingStyles._SetlineJoin(const aValue : TCanvasLineJoin); begin WriteJSPropertyUnicodeString('lineJoin',aValue); end; procedure TJSCanvasPathDrawingStyles._SetmiterLimit(const aValue : Double); begin WriteJSPropertyDouble('miterLimit',aValue); end; procedure TJSCanvasPathDrawingStyles._SetlineDashOffset(const aValue : Double); begin WriteJSPropertyDouble('lineDashOffset',aValue); end; procedure TJSCanvasPathDrawingStyles.setLineDash(const aSegments: TDoubleDynArray); begin InvokeJSNoResult('setLineDash',[aSegments]); end; function TJSCanvasPathDrawingStyles.getLineDash: TDoubleDynArray; begin Result:=InvokeJSObjectResult('getLineDash',[],TJSArray) as TDoubleDynArray; end; class function TJSCanvasPathDrawingStyles.JSClassName: UnicodeString; begin Result:='CanvasPathDrawingStyles'; end; class function TJSCanvasPathDrawingStyles.Cast(const Intf: IJSObject): IJSCanvasPathDrawingStyles; begin Result:=TJSCanvasPathDrawingStyles.JOBCast(Intf); end; function TJSCanvasTextDrawingStyles._Getfont: UTF8String; begin Result:=ReadJSPropertyUTF8String('font'); end; function TJSCanvasTextDrawingStyles._GettextAlign: TCanvasTextAlign; begin Result:=ReadJSPropertyUnicodeString('textAlign'); end; function TJSCanvasTextDrawingStyles._GettextBaseline: TCanvasTextBaseline; begin Result:=ReadJSPropertyUnicodeString('textBaseline'); end; function TJSCanvasTextDrawingStyles._Getdirection: TCanvasDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSCanvasTextDrawingStyles._GetletterSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('letterSpacing'); end; function TJSCanvasTextDrawingStyles._GetfontKerning: TCanvasFontKerning; begin Result:=ReadJSPropertyUnicodeString('fontKerning'); end; function TJSCanvasTextDrawingStyles._GetfontStretch: TCanvasFontStretch; begin Result:=ReadJSPropertyUnicodeString('fontStretch'); end; function TJSCanvasTextDrawingStyles._GetfontVariantCaps: TCanvasFontVariantCaps; begin Result:=ReadJSPropertyUnicodeString('fontVariantCaps'); end; function TJSCanvasTextDrawingStyles._GettextRendering: TCanvasTextRendering; begin Result:=ReadJSPropertyUnicodeString('textRendering'); end; function TJSCanvasTextDrawingStyles._GetwordSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('wordSpacing'); end; procedure TJSCanvasTextDrawingStyles._Setfont(const aValue : UTF8String); begin WriteJSPropertyUTF8String('font',aValue); end; procedure TJSCanvasTextDrawingStyles._SettextAlign(const aValue : TCanvasTextAlign); begin WriteJSPropertyUnicodeString('textAlign',aValue); end; procedure TJSCanvasTextDrawingStyles._SettextBaseline(const aValue : TCanvasTextBaseline); begin WriteJSPropertyUnicodeString('textBaseline',aValue); end; procedure TJSCanvasTextDrawingStyles._Setdirection(const aValue : TCanvasDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSCanvasTextDrawingStyles._SetletterSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('letterSpacing',aValue); end; procedure TJSCanvasTextDrawingStyles._SetfontKerning(const aValue : TCanvasFontKerning); begin WriteJSPropertyUnicodeString('fontKerning',aValue); end; procedure TJSCanvasTextDrawingStyles._SetfontStretch(const aValue : TCanvasFontStretch); begin WriteJSPropertyUnicodeString('fontStretch',aValue); end; procedure TJSCanvasTextDrawingStyles._SetfontVariantCaps(const aValue : TCanvasFontVariantCaps); begin WriteJSPropertyUnicodeString('fontVariantCaps',aValue); end; procedure TJSCanvasTextDrawingStyles._SettextRendering(const aValue : TCanvasTextRendering); begin WriteJSPropertyUnicodeString('textRendering',aValue); end; procedure TJSCanvasTextDrawingStyles._SetwordSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('wordSpacing',aValue); end; class function TJSCanvasTextDrawingStyles.JSClassName: UnicodeString; begin Result:='CanvasTextDrawingStyles'; end; class function TJSCanvasTextDrawingStyles.Cast(const Intf: IJSObject): IJSCanvasTextDrawingStyles; begin Result:=TJSCanvasTextDrawingStyles.JOBCast(Intf); end; procedure TJSCanvasPathMethods.closePath; begin InvokeJSNoResult('closePath',[]); end; procedure TJSCanvasPathMethods.moveTo(aX: Double; aY: Double); begin InvokeJSNoResult('moveTo',[aX,aY]); end; procedure TJSCanvasPathMethods.lineTo(aX: Double; aY: Double); begin InvokeJSNoResult('lineTo',[aX,aY]); end; procedure TJSCanvasPathMethods.quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); begin InvokeJSNoResult('quadraticCurveTo',[aCpx,aCpy,aX,aY]); end; procedure TJSCanvasPathMethods.bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); begin InvokeJSNoResult('bezierCurveTo',[aCp1x,aCp1y,aCp2x,aCp2y,aX,aY]); end; procedure TJSCanvasPathMethods.arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); begin InvokeJSNoResult('arcTo',[aX1,aY1,aX2,aY2,aRadius]); end; procedure TJSCanvasPathMethods.rect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('rect',[aX,aY,aW,aH]); end; procedure TJSCanvasPathMethods.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasPathMethods.roundRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH]); end; procedure TJSCanvasPathMethods.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasPathMethods.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSCanvasPathMethods.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSCanvasPathMethods.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle]); end; procedure TJSCanvasPathMethods.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSCanvasPathMethods.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle]); end; class function TJSCanvasPathMethods.JSClassName: UnicodeString; begin Result:='CanvasPathMethods'; end; class function TJSCanvasPathMethods.Cast(const Intf: IJSObject): IJSCanvasPathMethods; begin Result:=TJSCanvasPathMethods.JOBCast(Intf); end; procedure TJSCanvasGradient.addColorStop(aOffset: Single; const aColor: UTF8String); begin InvokeJSNoResult('addColorStop',[aOffset,aColor]); end; class function TJSCanvasGradient.JSClassName: UnicodeString; begin Result:='CanvasGradient'; end; class function TJSCanvasGradient.Cast(const Intf: IJSObject): IJSCanvasGradient; begin Result:=TJSCanvasGradient.JOBCast(Intf); end; procedure TJSCanvasPattern.setTransform(const aMatrix: IJSDOMMatrix2DInit); begin InvokeJSNoResult('setTransform',[aMatrix]); end; procedure TJSCanvasPattern.setTransform; begin InvokeJSNoResult('setTransform',[]); end; class function TJSCanvasPattern.JSClassName: UnicodeString; begin Result:='CanvasPattern'; end; class function TJSCanvasPattern.Cast(const Intf: IJSObject): IJSCanvasPattern; begin Result:=TJSCanvasPattern.JOBCast(Intf); end; function TJSTextMetrics._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSTextMetrics._GetactualBoundingBoxLeft: Double; begin Result:=ReadJSPropertyDouble('actualBoundingBoxLeft'); end; function TJSTextMetrics._GetactualBoundingBoxRight: Double; begin Result:=ReadJSPropertyDouble('actualBoundingBoxRight'); end; function TJSTextMetrics._GetfontBoundingBoxAscent: Double; begin Result:=ReadJSPropertyDouble('fontBoundingBoxAscent'); end; function TJSTextMetrics._GetfontBoundingBoxDescent: Double; begin Result:=ReadJSPropertyDouble('fontBoundingBoxDescent'); end; function TJSTextMetrics._GetactualBoundingBoxAscent: Double; begin Result:=ReadJSPropertyDouble('actualBoundingBoxAscent'); end; function TJSTextMetrics._GetactualBoundingBoxDescent: Double; begin Result:=ReadJSPropertyDouble('actualBoundingBoxDescent'); end; function TJSTextMetrics._GetemHeightAscent: Double; begin Result:=ReadJSPropertyDouble('emHeightAscent'); end; function TJSTextMetrics._GetemHeightDescent: Double; begin Result:=ReadJSPropertyDouble('emHeightDescent'); end; function TJSTextMetrics._GethangingBaseline: Double; begin Result:=ReadJSPropertyDouble('hangingBaseline'); end; function TJSTextMetrics._GetalphabeticBaseline: Double; begin Result:=ReadJSPropertyDouble('alphabeticBaseline'); end; function TJSTextMetrics._GetideographicBaseline: Double; begin Result:=ReadJSPropertyDouble('ideographicBaseline'); end; class function TJSTextMetrics.JSClassName: UnicodeString; begin Result:='TextMetrics'; end; class function TJSTextMetrics.Cast(const Intf: IJSObject): IJSTextMetrics; begin Result:=TJSTextMetrics.JOBCast(Intf); end; constructor TJSPath2D.Create; begin JOBCreate([]); end; constructor TJSPath2D.Create(aOther: IJSPath2D); begin JOBCreate([aOther]); end; constructor TJSPath2D.Create(const aPathString: UnicodeString); begin JOBCreate([aPathString]); end; procedure TJSPath2D.addPath(aPath: IJSPath2D; const aTransform: IJSDOMMatrix2DInit); begin InvokeJSNoResult('addPath',[aPath,aTransform]); end; procedure TJSPath2D.addPath(aPath: IJSPath2D); begin InvokeJSNoResult('addPath',[aPath]); end; class function TJSPath2D.JSClassName: UnicodeString; begin Result:='Path2D'; end; class function TJSPath2D.Cast(const Intf: IJSObject): IJSPath2D; begin Result:=TJSPath2D.JOBCast(Intf); end; function TJSCaretPosition._GetoffsetNode: IJSNode; begin Result:=ReadJSPropertyObject('offsetNode',TJSNode) as IJSNode; end; function TJSCaretPosition._Getoffset: Cardinal; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSCaretPosition.getClientRect: IJSDOMRect; begin Result:=InvokeJSObjectResult('getClientRect',[],TJSDOMRect) as IJSDOMRect; end; class function TJSCaretPosition.JSClassName: UnicodeString; begin Result:='CaretPosition'; end; class function TJSCaretPosition.Cast(const Intf: IJSObject): IJSCaretPosition; begin Result:=TJSCaretPosition.JOBCast(Intf); end; function TJSCaretStateChangedEventInit._Getcollapsed: Boolean; begin Result:=ReadJSPropertyBoolean('collapsed'); end; function TJSCaretStateChangedEventInit._GetboundingClientRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('boundingClientRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSCaretStateChangedEventInit._Getreason: TCaretChangedReason; begin Result:=ReadJSPropertyUnicodeString('reason'); end; function TJSCaretStateChangedEventInit._GetcaretVisible: Boolean; begin Result:=ReadJSPropertyBoolean('caretVisible'); end; function TJSCaretStateChangedEventInit._GetcaretVisuallyVisible: Boolean; begin Result:=ReadJSPropertyBoolean('caretVisuallyVisible'); end; function TJSCaretStateChangedEventInit._GetselectionVisible: Boolean; begin Result:=ReadJSPropertyBoolean('selectionVisible'); end; function TJSCaretStateChangedEventInit._GetselectionEditable: Boolean; begin Result:=ReadJSPropertyBoolean('selectionEditable'); end; function TJSCaretStateChangedEventInit._GetselectedTextContent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('selectedTextContent'); end; function TJSCaretStateChangedEventInit._GetclientX: LongInt; begin Result:=ReadJSPropertyLongInt('clientX'); end; function TJSCaretStateChangedEventInit._GetclientY: LongInt; begin Result:=ReadJSPropertyLongInt('clientY'); end; procedure TJSCaretStateChangedEventInit._Setcollapsed(const aValue : Boolean); begin WriteJSPropertyBoolean('collapsed',aValue); end; procedure TJSCaretStateChangedEventInit._SetboundingClientRect(const aValue : IJSDOMRectReadOnly); begin WriteJSPropertyObject('boundingClientRect',aValue); end; procedure TJSCaretStateChangedEventInit._Setreason(const aValue : TCaretChangedReason); begin WriteJSPropertyUnicodeString('reason',aValue); end; procedure TJSCaretStateChangedEventInit._SetcaretVisible(const aValue : Boolean); begin WriteJSPropertyBoolean('caretVisible',aValue); end; procedure TJSCaretStateChangedEventInit._SetcaretVisuallyVisible(const aValue : Boolean); begin WriteJSPropertyBoolean('caretVisuallyVisible',aValue); end; procedure TJSCaretStateChangedEventInit._SetselectionVisible(const aValue : Boolean); begin WriteJSPropertyBoolean('selectionVisible',aValue); end; procedure TJSCaretStateChangedEventInit._SetselectionEditable(const aValue : Boolean); begin WriteJSPropertyBoolean('selectionEditable',aValue); end; procedure TJSCaretStateChangedEventInit._SetselectedTextContent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('selectedTextContent',aValue); end; procedure TJSCaretStateChangedEventInit._SetclientX(const aValue : LongInt); begin WriteJSPropertyLongInt('clientX',aValue); end; procedure TJSCaretStateChangedEventInit._SetclientY(const aValue : LongInt); begin WriteJSPropertyLongInt('clientY',aValue); end; constructor TJSCaretStateChangedEventInit.create(const aDict : TJSCaretStateChangedEventInitRec); overload; begin Self.collapsed:=aDict.collapsed; Self.boundingClientRect:=aDict.boundingClientRect; Self.reason:=aDict.reason; Self.caretVisible:=aDict.caretVisible; Self.caretVisuallyVisible:=aDict.caretVisuallyVisible; Self.selectionVisible:=aDict.selectionVisible; Self.selectionEditable:=aDict.selectionEditable; Self.selectedTextContent:=aDict.selectedTextContent; Self.clientX:=aDict.clientX; Self.clientY:=aDict.clientY; end; class function TJSCaretStateChangedEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCaretStateChangedEventInit.Cast(const Intf: IJSObject): IJSCaretStateChangedEventInit; begin Result:=TJSCaretStateChangedEventInit.JOBCast(Intf); end; class function TJSCDATASection.JSClassName: UnicodeString; begin Result:='CDATASection'; end; class function TJSCDATASection.Cast(const Intf: IJSObject): IJSCDATASection; begin Result:=TJSCDATASection.JOBCast(Intf); end; function TJSChannelMergerOptions._GetnumberOfInputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfInputs'); end; procedure TJSChannelMergerOptions._SetnumberOfInputs(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfInputs',aValue); end; constructor TJSChannelMergerOptions.create(const aDict : TJSChannelMergerOptionsRec); overload; begin Self.numberOfInputs:=aDict.numberOfInputs; end; class function TJSChannelMergerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSChannelMergerOptions.Cast(const Intf: IJSObject): IJSChannelMergerOptions; begin Result:=TJSChannelMergerOptions.JOBCast(Intf); end; constructor TJSChannelMergerNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSChannelMergerOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSChannelMergerNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSChannelMergerNode.JSClassName: UnicodeString; begin Result:='ChannelMergerNode'; end; class function TJSChannelMergerNode.Cast(const Intf: IJSObject): IJSChannelMergerNode; begin Result:=TJSChannelMergerNode.JOBCast(Intf); end; function TJSChannelSplitterOptions._GetnumberOfOutputs: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfOutputs'); end; procedure TJSChannelSplitterOptions._SetnumberOfOutputs(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfOutputs',aValue); end; constructor TJSChannelSplitterOptions.create(const aDict : TJSChannelSplitterOptionsRec); overload; begin Self.numberOfOutputs:=aDict.numberOfOutputs; end; class function TJSChannelSplitterOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSChannelSplitterOptions.Cast(const Intf: IJSObject): IJSChannelSplitterOptions; begin Result:=TJSChannelSplitterOptions.JOBCast(Intf); end; constructor TJSChannelSplitterNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSChannelSplitterOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSChannelSplitterNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSChannelSplitterNode.JSClassName: UnicodeString; begin Result:='ChannelSplitterNode'; end; class function TJSChannelSplitterNode.Cast(const Intf: IJSObject): IJSChannelSplitterNode; begin Result:=TJSChannelSplitterNode.JOBCast(Intf); end; function TJSCharacterData._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSCharacterData._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSCharacterData._GetpreviousElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('previousElementSibling',TJSElement) as IJSElement; end; function TJSCharacterData._GetnextElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('nextElementSibling',TJSElement) as IJSElement; end; procedure TJSCharacterData._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; function TJSCharacterData.substringData(aOffset: Cardinal; aCount: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('substringData',[aOffset,aCount]); end; procedure TJSCharacterData.appendData(const aData: UnicodeString); begin InvokeJSNoResult('appendData',[aData]); end; procedure TJSCharacterData.insertData(aOffset: Cardinal; const aData: UnicodeString); begin InvokeJSNoResult('insertData',[aOffset,aData]); end; procedure TJSCharacterData.deleteData(aOffset: Cardinal; aCount: Cardinal); begin InvokeJSNoResult('deleteData',[aOffset,aCount]); end; procedure TJSCharacterData.replaceData(aOffset: Cardinal; aCount: Cardinal; const aData: UnicodeString); begin InvokeJSNoResult('replaceData',[aOffset,aCount,aData]); end; procedure TJSCharacterData.before(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSCharacterData.before(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSCharacterData.after(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSCharacterData.after(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSCharacterData.replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSCharacterData.replaceWith(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSCharacterData.remove; begin InvokeJSNoResult('remove',[]); end; class function TJSCharacterData.JSClassName: UnicodeString; begin Result:='CharacterData'; end; class function TJSCharacterData.Cast(const Intf: IJSObject): IJSCharacterData; begin Result:=TJSCharacterData.JOBCast(Intf); end; function TJSCheckerboardReport._Getseverity: Cardinal; begin Result:=ReadJSPropertyInt64('severity'); end; function TJSCheckerboardReport._Gettimestamp: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSCheckerboardReport._Getlog: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('log'); end; function TJSCheckerboardReport._Getreason: TCheckerboardReason; begin Result:=ReadJSPropertyUnicodeString('reason'); end; procedure TJSCheckerboardReport._Setseverity(const aValue : Cardinal); begin WriteJSPropertyDouble('severity',aValue); end; procedure TJSCheckerboardReport._Settimestamp(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSCheckerboardReport._Setlog(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('log',aValue); end; procedure TJSCheckerboardReport._Setreason(const aValue : TCheckerboardReason); begin WriteJSPropertyUnicodeString('reason',aValue); end; constructor TJSCheckerboardReport.create(const aDict : TJSCheckerboardReportRec); overload; begin Self.severity:=aDict.severity; Self.timestamp:=aDict.timestamp; Self.log:=aDict.log; Self.reason:=aDict.reason; end; class function TJSCheckerboardReport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCheckerboardReport.Cast(const Intf: IJSObject): IJSCheckerboardReport; begin Result:=TJSCheckerboardReport.JOBCast(Intf); end; constructor TJSCheckerboardReportService.Create; begin JOBCreate([]); end; function TJSCheckerboardReportService.getReports: TJSCheckerboardReportDynArray; begin Result:=InvokeJSObjectResult('getReports',[],TJSArray) as TJSCheckerboardReportDynArray; end; function TJSCheckerboardReportService.isRecordingEnabled: Boolean; begin Result:=InvokeJSBooleanResult('isRecordingEnabled',[]); end; procedure TJSCheckerboardReportService.setRecordingEnabled(aAEnabled: Boolean); begin InvokeJSNoResult('setRecordingEnabled',[aAEnabled]); end; procedure TJSCheckerboardReportService.flushActiveReports; begin InvokeJSNoResult('flushActiveReports',[]); end; class function TJSCheckerboardReportService.JSClassName: UnicodeString; begin Result:='CheckerboardReportService'; end; class function TJSCheckerboardReportService.Cast(const Intf: IJSObject): IJSCheckerboardReportService; begin Result:=TJSCheckerboardReportService.JOBCast(Intf); end; procedure TJSChildNode.before(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSChildNode.before(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSChildNode.after(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSChildNode.after(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSChildNode.replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSChildNode.replaceWith(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSChildNode.remove; begin InvokeJSNoResult('remove',[]); end; class function TJSChildNode.JSClassName: UnicodeString; begin Result:='ChildNode'; end; class function TJSChildNode.Cast(const Intf: IJSObject): IJSChildNode; begin Result:=TJSChildNode.JOBCast(Intf); end; function TJSNonDocumentTypeChildNode._GetpreviousElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('previousElementSibling',TJSElement) as IJSElement; end; function TJSNonDocumentTypeChildNode._GetnextElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('nextElementSibling',TJSElement) as IJSElement; end; class function TJSNonDocumentTypeChildNode.JSClassName: UnicodeString; begin Result:='NonDocumentTypeChildNode'; end; class function TJSNonDocumentTypeChildNode.Cast(const Intf: IJSObject): IJSNonDocumentTypeChildNode; begin Result:=TJSNonDocumentTypeChildNode.JOBCast(Intf); end; function TJSClient._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSClient._GetframeType: TFrameType; begin Result:=ReadJSPropertyUnicodeString('frameType'); end; function TJSClient._Gettype_: TClientType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSClient._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSClient.postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTransfer]); end; procedure TJSClient.postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); begin InvokeJSNoResult('postMessage',[aMessage,aAOptions]); end; procedure TJSClient.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; class function TJSClient.JSClassName: UnicodeString; begin Result:='Client'; end; class function TJSClient.Cast(const Intf: IJSObject): IJSClient; begin Result:=TJSClient.JOBCast(Intf); end; function TJSWindowClient._GetvisibilityState: TVisibilityState; begin Result:=ReadJSPropertyUnicodeString('visibilityState'); end; function TJSWindowClient._Getfocused: Boolean; begin Result:=ReadJSPropertyBoolean('focused'); end; function TJSWindowClient.focus: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('focus',[],TJSPromise) as IJSPromise; end; function TJSWindowClient.navigate(const aUrl: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('navigate',[aUrl],TJSPromise) as IJSPromise; end; class function TJSWindowClient.JSClassName: UnicodeString; begin Result:='WindowClient'; end; class function TJSWindowClient.Cast(const Intf: IJSObject): IJSWindowClient; begin Result:=TJSWindowClient.JOBCast(Intf); end; function TJSClients.get(const aId: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('get',[aId],TJSPromise) as IJSPromise; end; function TJSClients.matchAll(const aOptions: IJSClientQueryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[aOptions],TJSPromise) as IJSPromise; end; function TJSClients.matchAll: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('matchAll',[],TJSPromise) as IJSPromise; end; function TJSClients.openWindow(const aUrl: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('openWindow',[aUrl],TJSPromise) as IJSPromise; end; function TJSClients.claim: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('claim',[],TJSPromise) as IJSPromise; end; class function TJSClients.JSClassName: UnicodeString; begin Result:='Clients'; end; class function TJSClients.Cast(const Intf: IJSObject): IJSClients; begin Result:=TJSClients.JOBCast(Intf); end; function TJSClientQueryOptions._GetincludeUncontrolled: Boolean; begin Result:=ReadJSPropertyBoolean('includeUncontrolled'); end; function TJSClientQueryOptions._Gettype_: TClientType; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSClientQueryOptions._SetincludeUncontrolled(const aValue : Boolean); begin WriteJSPropertyBoolean('includeUncontrolled',aValue); end; procedure TJSClientQueryOptions._Settype_(const aValue : TClientType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSClientQueryOptions.create(const aDict : TJSClientQueryOptionsRec); overload; begin Self.includeUncontrolled:=aDict.includeUncontrolled; Self.type_:=aDict.type_; end; class function TJSClientQueryOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSClientQueryOptions.Cast(const Intf: IJSObject): IJSClientQueryOptions; begin Result:=TJSClientQueryOptions.JOBCast(Intf); end; function TJSClipboard.read: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('read',[],TJSPromise) as IJSPromise; end; function TJSClipboard.readText: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('readText',[],TJSPromise) as IJSPromise; end; function TJSClipboard.write(const aData: TClipboardItemsDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aData],TJSPromise) as IJSPromise; end; function TJSClipboard.writeText(const aData: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('writeText',[aData],TJSPromise) as IJSPromise; end; class function TJSClipboard.JSClassName: UnicodeString; begin Result:='Clipboard'; end; class function TJSClipboard.Cast(const Intf: IJSObject): IJSClipboard; begin Result:=TJSClipboard.JOBCast(Intf); end; function TJSClipboardItem._GetpresentationStyle: TPresentationStyle; begin Result:=ReadJSPropertyUnicodeString('presentationStyle'); end; function TJSClipboardItem._Gettypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('types',TJSArray) as TUnicodeStringDynArray; end; constructor TJSClipboardItem.Create(aItems: IJSObject; const aOptions: IJSClipboardItemOptions); begin JOBCreate([aItems,aOptions]); end; constructor TJSClipboardItem.Create(aItems: IJSObject); begin JOBCreate([aItems]); end; function TJSClipboardItem.getType(const aType_: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getType',[aType_],TJSPromise) as IJSPromise; end; class function TJSClipboardItem.JSClassName: UnicodeString; begin Result:='ClipboardItem'; end; class function TJSClipboardItem.Cast(const Intf: IJSObject): IJSClipboardItem; begin Result:=TJSClipboardItem.JOBCast(Intf); end; function TJSClipboardItemOptions._GetpresentationStyle: TPresentationStyle; begin Result:=ReadJSPropertyUnicodeString('presentationStyle'); end; procedure TJSClipboardItemOptions._SetpresentationStyle(const aValue : TPresentationStyle); begin WriteJSPropertyUnicodeString('presentationStyle',aValue); end; constructor TJSClipboardItemOptions.create(const aDict : TJSClipboardItemOptionsRec); overload; begin Self.presentationStyle:=aDict.presentationStyle; end; class function TJSClipboardItemOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSClipboardItemOptions.Cast(const Intf: IJSObject): IJSClipboardItemOptions; begin Result:=TJSClipboardItemOptions.JOBCast(Intf); end; function TJSClipboardEvent._GetclipboardData: IJSDataTransfer; begin Result:=ReadJSPropertyObject('clipboardData',TJSDataTransfer) as IJSDataTransfer; end; constructor TJSClipboardEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSClipboardEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSClipboardEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSClipboardEvent.JSClassName: UnicodeString; begin Result:='ClipboardEvent'; end; class function TJSClipboardEvent.Cast(const Intf: IJSObject): IJSClipboardEvent; begin Result:=TJSClipboardEvent.JOBCast(Intf); end; function TJSClipboardEventInit._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSClipboardEventInit._GetdataType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dataType'); end; procedure TJSClipboardEventInit._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; procedure TJSClipboardEventInit._SetdataType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dataType',aValue); end; constructor TJSClipboardEventInit.create(const aDict : TJSClipboardEventInitRec); overload; begin Self.data:=aDict.data; Self.dataType:=aDict.dataType; end; class function TJSClipboardEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSClipboardEventInit.Cast(const Intf: IJSObject): IJSClipboardEventInit; begin Result:=TJSClipboardEventInit.JOBCast(Intf); end; function TJSCloseEvent._GetwasClean: Boolean; begin Result:=ReadJSPropertyBoolean('wasClean'); end; function TJSCloseEvent._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; function TJSCloseEvent._Getreason: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('reason'); end; constructor TJSCloseEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSCloseEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSCloseEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSCloseEvent.JSClassName: UnicodeString; begin Result:='CloseEvent'; end; class function TJSCloseEvent.Cast(const Intf: IJSObject): IJSCloseEvent; begin Result:=TJSCloseEvent.JOBCast(Intf); end; function TJSCloseEventInit._GetwasClean: Boolean; begin Result:=ReadJSPropertyBoolean('wasClean'); end; function TJSCloseEventInit._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; function TJSCloseEventInit._Getreason: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('reason'); end; procedure TJSCloseEventInit._SetwasClean(const aValue : Boolean); begin WriteJSPropertyBoolean('wasClean',aValue); end; procedure TJSCloseEventInit._Setcode(const aValue : Word); begin WriteJSPropertyLongInt('code',aValue); end; procedure TJSCloseEventInit._Setreason(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('reason',aValue); end; constructor TJSCloseEventInit.create(const aDict : TJSCloseEventInitRec); overload; begin Self.wasClean:=aDict.wasClean; Self.code:=aDict.code; Self.reason:=aDict.reason; end; class function TJSCloseEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCloseEventInit.Cast(const Intf: IJSObject): IJSCloseEventInit; begin Result:=TJSCloseEventInit.JOBCast(Intf); end; constructor TJSComment.Create(const aData: UnicodeString); begin JOBCreate([aData]); end; constructor TJSComment.Create; begin JOBCreate([]); end; class function TJSComment.JSClassName: UnicodeString; begin Result:='Comment'; end; class function TJSComment.Cast(const Intf: IJSObject): IJSComment; begin Result:=TJSComment.JOBCast(Intf); end; function TJSCompositionEvent._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSCompositionEvent._Getlocale: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('locale'); end; constructor TJSCompositionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSCompositionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSCompositionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString; const aLocaleArg: UnicodeString); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDataArg,aLocaleArg]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg,aCanBubbleArg]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg,aCanBubbleArg,aCancelableArg]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg]); end; procedure TJSCompositionEvent.initCompositionEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aDataArg: UnicodeString); begin InvokeJSNoResult('initCompositionEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDataArg]); end; class function TJSCompositionEvent.JSClassName: UnicodeString; begin Result:='CompositionEvent'; end; class function TJSCompositionEvent.Cast(const Intf: IJSObject): IJSCompositionEvent; begin Result:=TJSCompositionEvent.JOBCast(Intf); end; function TJSCompositionEventInit._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; procedure TJSCompositionEventInit._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; constructor TJSCompositionEventInit.create(const aDict : TJSCompositionEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSCompositionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCompositionEventInit.Cast(const Intf: IJSObject): IJSCompositionEventInit; begin Result:=TJSCompositionEventInit.JOBCast(Intf); end; constructor TJSCompressionStream.Create(aFormat: TCompressionFormat); begin JOBCreate([aFormat]); end; class function TJSCompressionStream.JSClassName: UnicodeString; begin Result:='CompressionStream'; end; class function TJSCompressionStream.Cast(const Intf: IJSObject): IJSCompressionStream; begin Result:=TJSCompressionStream.JOBCast(Intf); end; procedure TJSconsole.assert(aCondition: Boolean; const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('assert',[aCondition,aData]); end; procedure TJSconsole.assert{; ToDo:varargs}; begin InvokeJSNoResult('assert',[]); end; procedure TJSconsole.clear; begin InvokeJSNoResult('clear',[]); end; procedure TJSconsole.count(const aLabel_: UnicodeString); begin InvokeJSNoResult('count',[aLabel_]); end; procedure TJSconsole.count; begin InvokeJSNoResult('count',[]); end; procedure TJSconsole.countReset(const aLabel_: UnicodeString); begin InvokeJSNoResult('countReset',[aLabel_]); end; procedure TJSconsole.countReset; begin InvokeJSNoResult('countReset',[]); end; procedure TJSconsole.debug(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('debug',[aData]); end; procedure TJSconsole.error(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('error',[aData]); end; procedure TJSconsole.info(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('info',[aData]); end; procedure TJSconsole.log(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('log',[aData]); end; procedure TJSconsole.table(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('table',[aData]); end; procedure TJSconsole.trace(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('trace',[aData]); end; procedure TJSconsole.warn(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('warn',[aData]); end; procedure TJSconsole.dir(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('dir',[aData]); end; procedure TJSconsole.dirxml(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('dirxml',[aData]); end; procedure TJSconsole.group(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('group',[aData]); end; procedure TJSconsole.groupCollapsed(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('groupCollapsed',[aData]); end; procedure TJSconsole.groupEnd; begin InvokeJSNoResult('groupEnd',[]); end; procedure TJSconsole.time(const aLabel_: UnicodeString); begin InvokeJSNoResult('time',[aLabel_]); end; procedure TJSconsole.time; begin InvokeJSNoResult('time',[]); end; procedure TJSconsole.timeLog(const aLabel_: UnicodeString; const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('timeLog',[aLabel_,aData]); end; procedure TJSconsole.timeLog{; ToDo:varargs}; begin InvokeJSNoResult('timeLog',[]); end; procedure TJSconsole.timeEnd(const aLabel_: UnicodeString); begin InvokeJSNoResult('timeEnd',[aLabel_]); end; procedure TJSconsole.timeEnd; begin InvokeJSNoResult('timeEnd',[]); end; procedure TJSconsole.exception(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('exception',[aData]); end; procedure TJSconsole.timeStamp(const aData: Variant); begin InvokeJSNoResult('timeStamp',[aData]); end; procedure TJSconsole.timeStamp; begin InvokeJSNoResult('timeStamp',[]); end; procedure TJSconsole.profile(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('profile',[aData]); end; procedure TJSconsole.profileEnd(const aData: Variant){; ToDo:varargs}; begin InvokeJSNoResult('profileEnd',[aData]); end; class function TJSconsole.JSClassName: UnicodeString; begin Result:='console'; end; class function TJSconsole.Cast(const Intf: IJSObject): IJSconsole; begin Result:=TJSconsole.JOBCast(Intf); end; function TJSConstantSourceOptions._Getoffset: Single; begin Result:=ReadJSPropertyDouble('offset'); end; procedure TJSConstantSourceOptions._Setoffset(const aValue : Single); begin WriteJSPropertyDouble('offset',aValue); end; constructor TJSConstantSourceOptions.create(const aDict : TJSConstantSourceOptionsRec); overload; begin Self.offset:=aDict.offset; end; class function TJSConstantSourceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstantSourceOptions.Cast(const Intf: IJSObject): IJSConstantSourceOptions; begin Result:=TJSConstantSourceOptions.JOBCast(Intf); end; function TJSConstantSourceNode._Getoffset: IJSAudioParam; begin Result:=ReadJSPropertyObject('offset',TJSAudioParam) as IJSAudioParam; end; constructor TJSConstantSourceNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSConstantSourceOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSConstantSourceNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSConstantSourceNode.JSClassName: UnicodeString; begin Result:='ConstantSourceNode'; end; class function TJSConstantSourceNode.Cast(const Intf: IJSObject): IJSConstantSourceNode; begin Result:=TJSConstantSourceNode.JOBCast(Intf); end; function TJSContentVisibilityAutoStateChangeEvent._Getskipped: Boolean; begin Result:=ReadJSPropertyBoolean('skipped'); end; constructor TJSContentVisibilityAutoStateChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSContentVisibilityAutoStateChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSContentVisibilityAutoStateChangeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSContentVisibilityAutoStateChangeEvent.JSClassName: UnicodeString; begin Result:='ContentVisibilityAutoStateChangeEvent'; end; class function TJSContentVisibilityAutoStateChangeEvent.Cast(const Intf: IJSObject): IJSContentVisibilityAutoStateChangeEvent; begin Result:=TJSContentVisibilityAutoStateChangeEvent.JOBCast(Intf); end; function TJSContentVisibilityAutoStateChangeEventInit._Getskipped: Boolean; begin Result:=ReadJSPropertyBoolean('skipped'); end; procedure TJSContentVisibilityAutoStateChangeEventInit._Setskipped(const aValue : Boolean); begin WriteJSPropertyBoolean('skipped',aValue); end; constructor TJSContentVisibilityAutoStateChangeEventInit.create(const aDict : TJSContentVisibilityAutoStateChangeEventInitRec); overload; begin Self.skipped:=aDict.skipped; end; class function TJSContentVisibilityAutoStateChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSContentVisibilityAutoStateChangeEventInit.Cast(const Intf: IJSObject): IJSContentVisibilityAutoStateChangeEventInit; begin Result:=TJSContentVisibilityAutoStateChangeEventInit.JOBCast(Intf); end; function TJSConvolverOptions._Getbuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSAudioBuffer) as IJSAudioBuffer; end; function TJSConvolverOptions._GetdisableNormalization: Boolean; begin Result:=ReadJSPropertyBoolean('disableNormalization'); end; procedure TJSConvolverOptions._Setbuffer(const aValue : IJSAudioBuffer); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSConvolverOptions._SetdisableNormalization(const aValue : Boolean); begin WriteJSPropertyBoolean('disableNormalization',aValue); end; constructor TJSConvolverOptions.create(const aDict : TJSConvolverOptionsRec); overload; begin Self.buffer:=aDict.buffer; Self.disableNormalization:=aDict.disableNormalization; end; class function TJSConvolverOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConvolverOptions.Cast(const Intf: IJSObject): IJSConvolverOptions; begin Result:=TJSConvolverOptions.JOBCast(Intf); end; function TJSConvolverNode._Getbuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSAudioBuffer) as IJSAudioBuffer; end; function TJSConvolverNode._Getnormalize: Boolean; begin Result:=ReadJSPropertyBoolean('normalize'); end; procedure TJSConvolverNode._Setbuffer(const aValue : IJSAudioBuffer); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSConvolverNode._Setnormalize(const aValue : Boolean); begin WriteJSPropertyBoolean('normalize',aValue); end; constructor TJSConvolverNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSConvolverOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSConvolverNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSConvolverNode.JSClassName: UnicodeString; begin Result:='ConvolverNode'; end; class function TJSConvolverNode.Cast(const Intf: IJSObject): IJSConvolverNode; begin Result:=TJSConvolverNode.JOBCast(Intf); end; function TJSCredential._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSCredential._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; class function TJSCredential.JSClassName: UnicodeString; begin Result:='Credential'; end; class function TJSCredential.Cast(const Intf: IJSObject): IJSCredential; begin Result:=TJSCredential.JOBCast(Intf); end; function TJSCredentialsContainer.get(const aOptions: IJSCredentialRequestOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('get',[aOptions],TJSPromise) as IJSPromise; end; function TJSCredentialsContainer.get: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('get',[],TJSPromise) as IJSPromise; end; function TJSCredentialsContainer.create_(const aOptions: IJSCredentialCreationOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('create',[aOptions],TJSPromise) as IJSPromise; end; function TJSCredentialsContainer.create_: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('create',[],TJSPromise) as IJSPromise; end; function TJSCredentialsContainer.store(aCredential: IJSCredential): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('store',[aCredential],TJSPromise) as IJSPromise; end; function TJSCredentialsContainer.preventSilentAccess: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('preventSilentAccess',[],TJSPromise) as IJSPromise; end; class function TJSCredentialsContainer.JSClassName: UnicodeString; begin Result:='CredentialsContainer'; end; class function TJSCredentialsContainer.Cast(const Intf: IJSObject): IJSCredentialsContainer; begin Result:=TJSCredentialsContainer.JOBCast(Intf); end; function TJSCredentialRequestOptions._Getmediation: TCredentialMediationRequirement; begin Result:=ReadJSPropertyUnicodeString('mediation'); end; function TJSCredentialRequestOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; function TJSCredentialRequestOptions._GetpublicKey: IJSPublicKeyCredentialRequestOptions; begin Result:=ReadJSPropertyObject('publicKey',TJSPublicKeyCredentialRequestOptions) as IJSPublicKeyCredentialRequestOptions; end; function TJSCredentialRequestOptions._Getidentity: IJSIdentityCredentialRequestOptions; begin Result:=ReadJSPropertyObject('identity',TJSIdentityCredentialRequestOptions) as IJSIdentityCredentialRequestOptions; end; procedure TJSCredentialRequestOptions._Setmediation(const aValue : TCredentialMediationRequirement); begin WriteJSPropertyUnicodeString('mediation',aValue); end; procedure TJSCredentialRequestOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; procedure TJSCredentialRequestOptions._SetpublicKey(const aValue : IJSPublicKeyCredentialRequestOptions); begin WriteJSPropertyObject('publicKey',aValue); end; procedure TJSCredentialRequestOptions._Setidentity(const aValue : IJSIdentityCredentialRequestOptions); begin WriteJSPropertyObject('identity',aValue); end; constructor TJSCredentialRequestOptions.create(const aDict : TJSCredentialRequestOptionsRec); overload; begin Self.mediation:=aDict.mediation; Self.signal:=aDict.signal; Self.publicKey:=aDict.publicKey; Self.identity:=aDict.identity; end; class function TJSCredentialRequestOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCredentialRequestOptions.Cast(const Intf: IJSObject): IJSCredentialRequestOptions; begin Result:=TJSCredentialRequestOptions.JOBCast(Intf); end; function TJSCredentialCreationOptions._GetpublicKey: IJSPublicKeyCredentialCreationOptions; begin Result:=ReadJSPropertyObject('publicKey',TJSPublicKeyCredentialCreationOptions) as IJSPublicKeyCredentialCreationOptions; end; function TJSCredentialCreationOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; procedure TJSCredentialCreationOptions._SetpublicKey(const aValue : IJSPublicKeyCredentialCreationOptions); begin WriteJSPropertyObject('publicKey',aValue); end; procedure TJSCredentialCreationOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; constructor TJSCredentialCreationOptions.create(const aDict : TJSCredentialCreationOptionsRec); overload; begin Self.publicKey:=aDict.publicKey; Self.signal:=aDict.signal; end; class function TJSCredentialCreationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCredentialCreationOptions.Cast(const Intf: IJSObject): IJSCredentialCreationOptions; begin Result:=TJSCredentialCreationOptions.JOBCast(Intf); end; function TJSGlobalCrypto._Getcrypto: IJSCrypto; begin Result:=ReadJSPropertyObject('crypto',TJSCrypto) as IJSCrypto; end; class function TJSGlobalCrypto.JSClassName: UnicodeString; begin Result:='GlobalCrypto'; end; class function TJSGlobalCrypto.Cast(const Intf: IJSObject): IJSGlobalCrypto; begin Result:=TJSGlobalCrypto.JOBCast(Intf); end; function TJSCrypto._Getsubtle: IJSSubtleCrypto; begin Result:=ReadJSPropertyObject('subtle',TJSSubtleCrypto) as IJSSubtleCrypto; end; function TJSCrypto.getRandomValues(aArray_: IJSArrayBufferView): IJSArrayBufferView; begin Result:=InvokeJSObjectResult('getRandomValues',[aArray_],TJSArrayBufferView) as IJSArrayBufferView; end; function TJSCrypto.randomUUID: UTF8String; begin Result:=InvokeJSUTF8StringResult('randomUUID',[]); end; class function TJSCrypto.JSClassName: UnicodeString; begin Result:='Crypto'; end; class function TJSCrypto.Cast(const Intf: IJSObject): IJSCrypto; begin Result:=TJSCrypto.JOBCast(Intf); end; function TJSCSP._Getreport_only: Boolean; begin Result:=ReadJSPropertyBoolean('report-only'); end; function TJSCSP._Getdefault_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('default-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getscript_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('script-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getobject_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('object-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getstyle_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('style-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getimg_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('img-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getmedia_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('media-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getframe_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('frame-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getfont_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('font-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getconnect_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('connect-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getreport_uri: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('report-uri',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getframe_ancestors: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('frame-ancestors',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getbase_uri: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('base-uri',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getform_action: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('form-action',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getreferrer: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('referrer',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getmanifest_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('manifest-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getupgrade_insecure_requests: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('upgrade-insecure-requests',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getchild_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('child-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getblock_all_mixed_content: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('block-all-mixed-content',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getsandbox: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('sandbox',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getworker_src: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('worker-src',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getscript_src_elem: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('script-src-elem',TJSArray) as TUnicodeStringDynArray; end; function TJSCSP._Getscript_src_attr: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('script-src-attr',TJSArray) as TUnicodeStringDynArray; end; procedure TJSCSP._Setreport_only(const aValue : Boolean); begin WriteJSPropertyBoolean('report-only',aValue); end; procedure TJSCSP._Setdefault_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('default-src',aValue); end; procedure TJSCSP._Setscript_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('script-src',aValue); end; procedure TJSCSP._Setobject_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('object-src',aValue); end; procedure TJSCSP._Setstyle_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('style-src',aValue); end; procedure TJSCSP._Setimg_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('img-src',aValue); end; procedure TJSCSP._Setmedia_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('media-src',aValue); end; procedure TJSCSP._Setframe_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('frame-src',aValue); end; procedure TJSCSP._Setfont_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('font-src',aValue); end; procedure TJSCSP._Setconnect_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('connect-src',aValue); end; procedure TJSCSP._Setreport_uri(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('report-uri',aValue); end; procedure TJSCSP._Setframe_ancestors(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('frame-ancestors',aValue); end; procedure TJSCSP._Setbase_uri(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('base-uri',aValue); end; procedure TJSCSP._Setform_action(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('form-action',aValue); end; procedure TJSCSP._Setreferrer(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('referrer',aValue); end; procedure TJSCSP._Setmanifest_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('manifest-src',aValue); end; procedure TJSCSP._Setupgrade_insecure_requests(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('upgrade-insecure-requests',aValue); end; procedure TJSCSP._Setchild_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('child-src',aValue); end; procedure TJSCSP._Setblock_all_mixed_content(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('block-all-mixed-content',aValue); end; procedure TJSCSP._Setsandbox(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('sandbox',aValue); end; procedure TJSCSP._Setworker_src(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('worker-src',aValue); end; procedure TJSCSP._Setscript_src_elem(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('script-src-elem',aValue); end; procedure TJSCSP._Setscript_src_attr(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('script-src-attr',aValue); end; constructor TJSCSP.create(const aDict : TJSCSPRec); overload; begin Self.report_only:=aDict.report_only; Self.default_src:=aDict.default_src; Self.script_src:=aDict.script_src; Self.object_src:=aDict.object_src; Self.style_src:=aDict.style_src; Self.img_src:=aDict.img_src; Self.media_src:=aDict.media_src; Self.frame_src:=aDict.frame_src; Self.font_src:=aDict.font_src; Self.connect_src:=aDict.connect_src; Self.report_uri:=aDict.report_uri; Self.frame_ancestors:=aDict.frame_ancestors; Self.base_uri:=aDict.base_uri; Self.form_action:=aDict.form_action; Self.referrer:=aDict.referrer; Self.manifest_src:=aDict.manifest_src; Self.upgrade_insecure_requests:=aDict.upgrade_insecure_requests; Self.child_src:=aDict.child_src; Self.block_all_mixed_content:=aDict.block_all_mixed_content; Self.sandbox:=aDict.sandbox; Self.worker_src:=aDict.worker_src; Self.script_src_elem:=aDict.script_src_elem; Self.script_src_attr:=aDict.script_src_attr; end; class function TJSCSP.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCSP.Cast(const Intf: IJSObject): IJSCSP; begin Result:=TJSCSP.JOBCast(Intf); end; function TJSCSPPolicies._Getcsp_policies: TJSCSPDynArray; begin Result:=ReadJSPropertyObject('csp-policies',TJSArray) as TJSCSPDynArray; end; procedure TJSCSPPolicies._Setcsp_policies(const aValue : TJSCSPDynArray); begin WriteJSPropertyObject('csp-policies',aValue); end; constructor TJSCSPPolicies.create(const aDict : TJSCSPPoliciesRec); overload; begin Self.csp_policies:=aDict.csp_policies; end; class function TJSCSPPolicies.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCSPPolicies.Cast(const Intf: IJSObject): IJSCSPPolicies; begin Result:=TJSCSPPolicies.JOBCast(Intf); end; function TJSCSPReportProperties._Getdocument_uri: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('document-uri'); end; function TJSCSPReportProperties._Getreferrer: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrer'); end; function TJSCSPReportProperties._Getblocked_uri: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('blocked-uri'); end; function TJSCSPReportProperties._Geteffective_directive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('effective-directive'); end; function TJSCSPReportProperties._Getviolated_directive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('violated-directive'); end; function TJSCSPReportProperties._Getoriginal_policy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('original-policy'); end; function TJSCSPReportProperties._Getdisposition: TSecurityPolicyViolationEventDisposition; begin Result:=ReadJSPropertyUnicodeString('disposition'); end; function TJSCSPReportProperties._Getstatus_code: LongInt; begin Result:=ReadJSPropertyLongInt('status-code'); end; function TJSCSPReportProperties._Getsource_file: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('source-file'); end; function TJSCSPReportProperties._Getscript_sample: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('script-sample'); end; function TJSCSPReportProperties._Getline_number: LongInt; begin Result:=ReadJSPropertyLongInt('line-number'); end; function TJSCSPReportProperties._Getcolumn_number: LongInt; begin Result:=ReadJSPropertyLongInt('column-number'); end; procedure TJSCSPReportProperties._Setdocument_uri(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('document-uri',aValue); end; procedure TJSCSPReportProperties._Setreferrer(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrer',aValue); end; procedure TJSCSPReportProperties._Setblocked_uri(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('blocked-uri',aValue); end; procedure TJSCSPReportProperties._Seteffective_directive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('effective-directive',aValue); end; procedure TJSCSPReportProperties._Setviolated_directive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('violated-directive',aValue); end; procedure TJSCSPReportProperties._Setoriginal_policy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('original-policy',aValue); end; procedure TJSCSPReportProperties._Setdisposition(const aValue : TSecurityPolicyViolationEventDisposition); begin WriteJSPropertyUnicodeString('disposition',aValue); end; procedure TJSCSPReportProperties._Setstatus_code(const aValue : LongInt); begin WriteJSPropertyLongInt('status-code',aValue); end; procedure TJSCSPReportProperties._Setsource_file(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('source-file',aValue); end; procedure TJSCSPReportProperties._Setscript_sample(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('script-sample',aValue); end; procedure TJSCSPReportProperties._Setline_number(const aValue : LongInt); begin WriteJSPropertyLongInt('line-number',aValue); end; procedure TJSCSPReportProperties._Setcolumn_number(const aValue : LongInt); begin WriteJSPropertyLongInt('column-number',aValue); end; constructor TJSCSPReportProperties.create(const aDict : TJSCSPReportPropertiesRec); overload; begin Self.document_uri:=aDict.document_uri; Self.referrer:=aDict.referrer; Self.blocked_uri:=aDict.blocked_uri; Self.effective_directive:=aDict.effective_directive; Self.violated_directive:=aDict.violated_directive; Self.original_policy:=aDict.original_policy; Self.disposition:=aDict.disposition; Self.status_code:=aDict.status_code; Self.source_file:=aDict.source_file; Self.script_sample:=aDict.script_sample; Self.line_number:=aDict.line_number; Self.column_number:=aDict.column_number; end; class function TJSCSPReportProperties.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCSPReportProperties.Cast(const Intf: IJSObject): IJSCSPReportProperties; begin Result:=TJSCSPReportProperties.JOBCast(Intf); end; function TJSCSPReport._Getcsp_report: IJSCSPReportProperties; begin Result:=ReadJSPropertyObject('csp-report',TJSCSPReportProperties) as IJSCSPReportProperties; end; procedure TJSCSPReport._Setcsp_report(const aValue : IJSCSPReportProperties); begin WriteJSPropertyObject('csp-report',aValue); end; constructor TJSCSPReport.create(const aDict : TJSCSPReportRec); overload; begin Self.csp_report:=aDict.csp_report; end; class function TJSCSPReport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCSPReport.Cast(const Intf: IJSObject): IJSCSPReport; begin Result:=TJSCSPReport.JOBCast(Intf); end; function TJSCSS._Gethighlights: IJSHighlightRegistry; begin Result:=ReadJSPropertyObject('highlights',TJSHighlightRegistry) as IJSHighlightRegistry; end; function TJSCSS.supports(const aProperty_: UTF8String; const aValue: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('supports',[aProperty_,aValue]); end; function TJSCSS.supports(const aConditionText: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('supports',[aConditionText]); end; function TJSCSS.escape(const aIdent: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('escape',[aIdent]); end; procedure TJSCSS.registerProperty(const aDefinition: IJSPropertyDefinition); begin InvokeJSNoResult('registerProperty',[aDefinition]); end; class function TJSCSS.JSClassName: UnicodeString; begin Result:='CSS'; end; class function TJSCSS.Cast(const Intf: IJSObject): IJSCSS; begin Result:=TJSCSS.JOBCast(Intf); end; function TJSPropertyDefinition._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; function TJSPropertyDefinition._Getsyntax: UTF8String; begin Result:=ReadJSPropertyUTF8String('syntax'); end; function TJSPropertyDefinition._Getinherits: Boolean; begin Result:=ReadJSPropertyBoolean('inherits'); end; function TJSPropertyDefinition._GetinitialValue: UTF8String; begin Result:=ReadJSPropertyUTF8String('initialValue'); end; procedure TJSPropertyDefinition._Setname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('name',aValue); end; procedure TJSPropertyDefinition._Setsyntax(const aValue : UTF8String); begin WriteJSPropertyUTF8String('syntax',aValue); end; procedure TJSPropertyDefinition._Setinherits(const aValue : Boolean); begin WriteJSPropertyBoolean('inherits',aValue); end; procedure TJSPropertyDefinition._SetinitialValue(const aValue : UTF8String); begin WriteJSPropertyUTF8String('initialValue',aValue); end; constructor TJSPropertyDefinition.create(const aDict : TJSPropertyDefinitionRec); overload; begin Self.name:=aDict.name; Self.syntax:=aDict.syntax; Self.inherits:=aDict.inherits; Self.initialValue:=aDict.initialValue; end; class function TJSPropertyDefinition.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPropertyDefinition.Cast(const Intf: IJSObject): IJSPropertyDefinition; begin Result:=TJSPropertyDefinition.JOBCast(Intf); end; function TJSCSSAnimation._GetanimationName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('animationName'); end; class function TJSCSSAnimation.JSClassName: UnicodeString; begin Result:='CSSAnimation'; end; class function TJSCSSAnimation.Cast(const Intf: IJSObject): IJSCSSAnimation; begin Result:=TJSCSSAnimation.JOBCast(Intf); end; function TJSCSSConditionRule._GetconditionText: UTF8String; begin Result:=ReadJSPropertyUTF8String('conditionText'); end; class function TJSCSSConditionRule.JSClassName: UnicodeString; begin Result:='CSSConditionRule'; end; class function TJSCSSConditionRule.Cast(const Intf: IJSObject): IJSCSSConditionRule; begin Result:=TJSCSSConditionRule.JOBCast(Intf); end; function TJSCSSContainerRule._GetcontainerName: UTF8String; begin Result:=ReadJSPropertyUTF8String('containerName'); end; function TJSCSSContainerRule._GetcontainerQuery: UTF8String; begin Result:=ReadJSPropertyUTF8String('containerQuery'); end; class function TJSCSSContainerRule.JSClassName: UnicodeString; begin Result:='CSSContainerRule'; end; class function TJSCSSContainerRule.Cast(const Intf: IJSObject): IJSCSSContainerRule; begin Result:=TJSCSSContainerRule.JOBCast(Intf); end; function TJSCSSCounterStyleRule._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSCSSCounterStyleRule._Getsystem: UTF8String; begin Result:=ReadJSPropertyUTF8String('system'); end; function TJSCSSCounterStyleRule._Getsymbols: UTF8String; begin Result:=ReadJSPropertyUTF8String('symbols'); end; function TJSCSSCounterStyleRule._GetadditiveSymbols: UTF8String; begin Result:=ReadJSPropertyUTF8String('additiveSymbols'); end; function TJSCSSCounterStyleRule._Getnegative: UTF8String; begin Result:=ReadJSPropertyUTF8String('negative'); end; function TJSCSSCounterStyleRule._Getprefix: UTF8String; begin Result:=ReadJSPropertyUTF8String('prefix'); end; function TJSCSSCounterStyleRule._Getsuffix: UTF8String; begin Result:=ReadJSPropertyUTF8String('suffix'); end; function TJSCSSCounterStyleRule._Getrange: UTF8String; begin Result:=ReadJSPropertyUTF8String('range'); end; function TJSCSSCounterStyleRule._Getpad: UTF8String; begin Result:=ReadJSPropertyUTF8String('pad'); end; function TJSCSSCounterStyleRule._GetspeakAs: UTF8String; begin Result:=ReadJSPropertyUTF8String('speakAs'); end; function TJSCSSCounterStyleRule._Getfallback: UTF8String; begin Result:=ReadJSPropertyUTF8String('fallback'); end; procedure TJSCSSCounterStyleRule._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSCSSCounterStyleRule._Setsystem(const aValue : UTF8String); begin WriteJSPropertyUTF8String('system',aValue); end; procedure TJSCSSCounterStyleRule._Setsymbols(const aValue : UTF8String); begin WriteJSPropertyUTF8String('symbols',aValue); end; procedure TJSCSSCounterStyleRule._SetadditiveSymbols(const aValue : UTF8String); begin WriteJSPropertyUTF8String('additiveSymbols',aValue); end; procedure TJSCSSCounterStyleRule._Setnegative(const aValue : UTF8String); begin WriteJSPropertyUTF8String('negative',aValue); end; procedure TJSCSSCounterStyleRule._Setprefix(const aValue : UTF8String); begin WriteJSPropertyUTF8String('prefix',aValue); end; procedure TJSCSSCounterStyleRule._Setsuffix(const aValue : UTF8String); begin WriteJSPropertyUTF8String('suffix',aValue); end; procedure TJSCSSCounterStyleRule._Setrange(const aValue : UTF8String); begin WriteJSPropertyUTF8String('range',aValue); end; procedure TJSCSSCounterStyleRule._Setpad(const aValue : UTF8String); begin WriteJSPropertyUTF8String('pad',aValue); end; procedure TJSCSSCounterStyleRule._SetspeakAs(const aValue : UTF8String); begin WriteJSPropertyUTF8String('speakAs',aValue); end; procedure TJSCSSCounterStyleRule._Setfallback(const aValue : UTF8String); begin WriteJSPropertyUTF8String('fallback',aValue); end; class function TJSCSSCounterStyleRule.JSClassName: UnicodeString; begin Result:='CSSCounterStyleRule'; end; class function TJSCSSCounterStyleRule.Cast(const Intf: IJSObject): IJSCSSCounterStyleRule; begin Result:=TJSCSSCounterStyleRule.JOBCast(Intf); end; function TJSCSSFontFaceRule._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; class function TJSCSSFontFaceRule.JSClassName: UnicodeString; begin Result:='CSSFontFaceRule'; end; class function TJSCSSFontFaceRule.Cast(const Intf: IJSObject): IJSCSSFontFaceRule; begin Result:=TJSCSSFontFaceRule.JOBCast(Intf); end; function TJSCSSFontFeatureValuesRule._GetfontFamily: UTF8String; begin Result:=ReadJSPropertyUTF8String('fontFamily'); end; function TJSCSSFontFeatureValuesRule._GetvalueText: UTF8String; begin Result:=ReadJSPropertyUTF8String('valueText'); end; procedure TJSCSSFontFeatureValuesRule._SetfontFamily(const aValue : UTF8String); begin WriteJSPropertyUTF8String('fontFamily',aValue); end; procedure TJSCSSFontFeatureValuesRule._SetvalueText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('valueText',aValue); end; class function TJSCSSFontFeatureValuesRule.JSClassName: UnicodeString; begin Result:='CSSFontFeatureValuesRule'; end; class function TJSCSSFontFeatureValuesRule.Cast(const Intf: IJSObject): IJSCSSFontFeatureValuesRule; begin Result:=TJSCSSFontFeatureValuesRule.JOBCast(Intf); end; function TJSCSSFontPaletteValuesRule._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; function TJSCSSFontPaletteValuesRule._GetfontFamily: UTF8String; begin Result:=ReadJSPropertyUTF8String('fontFamily'); end; function TJSCSSFontPaletteValuesRule._GetbasePalette: UTF8String; begin Result:=ReadJSPropertyUTF8String('basePalette'); end; function TJSCSSFontPaletteValuesRule._GetoverrideColors: UTF8String; begin Result:=ReadJSPropertyUTF8String('overrideColors'); end; class function TJSCSSFontPaletteValuesRule.JSClassName: UnicodeString; begin Result:='CSSFontPaletteValuesRule'; end; class function TJSCSSFontPaletteValuesRule.Cast(const Intf: IJSObject): IJSCSSFontPaletteValuesRule; begin Result:=TJSCSSFontPaletteValuesRule.JOBCast(Intf); end; function TJSCSSGroupingRule._GetcssRules: IJSCSSRuleList; begin Result:=ReadJSPropertyObject('cssRules',TJSCSSRuleList) as IJSCSSRuleList; end; function TJSCSSGroupingRule.insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; begin Result:=InvokeJSLongIntResult('insertRule',[aRule,aIndex]); end; function TJSCSSGroupingRule.insertRule(const aRule: UTF8String): Cardinal; begin Result:=InvokeJSLongIntResult('insertRule',[aRule]); end; procedure TJSCSSGroupingRule.deleteRule(aIndex: Cardinal); begin InvokeJSNoResult('deleteRule',[aIndex]); end; class function TJSCSSGroupingRule.JSClassName: UnicodeString; begin Result:='CSSGroupingRule'; end; class function TJSCSSGroupingRule.Cast(const Intf: IJSObject): IJSCSSGroupingRule; begin Result:=TJSCSSGroupingRule.JOBCast(Intf); end; function TJSCSSImportRule._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSCSSImportRule._Getmedia: IJSMediaList; begin Result:=ReadJSPropertyObject('media',TJSMediaList) as IJSMediaList; end; function TJSCSSImportRule._GetstyleSheet: IJSCSSStyleSheet; begin Result:=ReadJSPropertyObject('styleSheet',TJSCSSStyleSheet) as IJSCSSStyleSheet; end; function TJSCSSImportRule._GetlayerName: UTF8String; begin Result:=ReadJSPropertyUTF8String('layerName'); end; function TJSCSSImportRule._GetsupportsText: UTF8String; begin Result:=ReadJSPropertyUTF8String('supportsText'); end; class function TJSCSSImportRule.JSClassName: UnicodeString; begin Result:='CSSImportRule'; end; class function TJSCSSImportRule.Cast(const Intf: IJSObject): IJSCSSImportRule; begin Result:=TJSCSSImportRule.JOBCast(Intf); end; function TJSCSSKeyframeRule._GetkeyText: UTF8String; begin Result:=ReadJSPropertyUTF8String('keyText'); end; function TJSCSSKeyframeRule._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; procedure TJSCSSKeyframeRule._SetkeyText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('keyText',aValue); end; class function TJSCSSKeyframeRule.JSClassName: UnicodeString; begin Result:='CSSKeyframeRule'; end; class function TJSCSSKeyframeRule.Cast(const Intf: IJSObject): IJSCSSKeyframeRule; begin Result:=TJSCSSKeyframeRule.JOBCast(Intf); end; function TJSCSSKeyframesRule._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSCSSKeyframesRule._GetcssRules: IJSCSSRuleList; begin Result:=ReadJSPropertyObject('cssRules',TJSCSSRuleList) as IJSCSSRuleList; end; function TJSCSSKeyframesRule._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSCSSKeyframesRule._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; function TJSCSSKeyframesRule.GetDefault(aIndex: Cardinal): IJSCSSKeyframeRule; begin Result:=InvokeJSObjectResult('',[aIndex],TJSCSSKeyframeRule) as IJSCSSKeyframeRule; end; procedure TJSCSSKeyframesRule.appendRule(const aRule: UnicodeString); begin InvokeJSNoResult('appendRule',[aRule]); end; procedure TJSCSSKeyframesRule.deleteRule(const aSelect: UnicodeString); begin InvokeJSNoResult('deleteRule',[aSelect]); end; function TJSCSSKeyframesRule.findRule(const aSelect: UnicodeString): IJSCSSKeyframeRule; begin Result:=InvokeJSObjectResult('findRule',[aSelect],TJSCSSKeyframeRule) as IJSCSSKeyframeRule; end; class function TJSCSSKeyframesRule.JSClassName: UnicodeString; begin Result:='CSSKeyframesRule'; end; class function TJSCSSKeyframesRule.Cast(const Intf: IJSObject): IJSCSSKeyframesRule; begin Result:=TJSCSSKeyframesRule.JOBCast(Intf); end; function TJSCSSLayerBlockRule._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; class function TJSCSSLayerBlockRule.JSClassName: UnicodeString; begin Result:='CSSLayerBlockRule'; end; class function TJSCSSLayerBlockRule.Cast(const Intf: IJSObject): IJSCSSLayerBlockRule; begin Result:=TJSCSSLayerBlockRule.JOBCast(Intf); end; function TJSCSSLayerStatementRule._GetnameList: TUTF8StringDynArray; begin Result:=ReadJSPropertyObject('nameList',TJSArray) as TUTF8StringDynArray; end; class function TJSCSSLayerStatementRule.JSClassName: UnicodeString; begin Result:='CSSLayerStatementRule'; end; class function TJSCSSLayerStatementRule.Cast(const Intf: IJSObject): IJSCSSLayerStatementRule; begin Result:=TJSCSSLayerStatementRule.JOBCast(Intf); end; function TJSCSSMediaRule._Getmedia: IJSMediaList; begin Result:=ReadJSPropertyObject('media',TJSMediaList) as IJSMediaList; end; class function TJSCSSMediaRule.JSClassName: UnicodeString; begin Result:='CSSMediaRule'; end; class function TJSCSSMediaRule.Cast(const Intf: IJSObject): IJSCSSMediaRule; begin Result:=TJSCSSMediaRule.JOBCast(Intf); end; class function TJSCSSMozDocumentRule.JSClassName: UnicodeString; begin Result:='CSSMozDocumentRule'; end; class function TJSCSSMozDocumentRule.Cast(const Intf: IJSObject): IJSCSSMozDocumentRule; begin Result:=TJSCSSMozDocumentRule.JOBCast(Intf); end; function TJSCSSNamespaceRule._GetnamespaceURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namespaceURI'); end; function TJSCSSNamespaceRule._Getprefix: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('prefix'); end; class function TJSCSSNamespaceRule.JSClassName: UnicodeString; begin Result:='CSSNamespaceRule'; end; class function TJSCSSNamespaceRule.Cast(const Intf: IJSObject): IJSCSSNamespaceRule; begin Result:=TJSCSSNamespaceRule.JOBCast(Intf); end; function TJSCSSPageRule._GetselectorText: UTF8String; begin Result:=ReadJSPropertyUTF8String('selectorText'); end; function TJSCSSPageRule._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; procedure TJSCSSPageRule._SetselectorText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('selectorText',aValue); end; class function TJSCSSPageRule.JSClassName: UnicodeString; begin Result:='CSSPageRule'; end; class function TJSCSSPageRule.Cast(const Intf: IJSObject): IJSCSSPageRule; begin Result:=TJSCSSPageRule.JOBCast(Intf); end; function TJSCSSPropertyRule._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; function TJSCSSPropertyRule._Getsyntax: UTF8String; begin Result:=ReadJSPropertyUTF8String('syntax'); end; function TJSCSSPropertyRule._Getinherits: Boolean; begin Result:=ReadJSPropertyBoolean('inherits'); end; function TJSCSSPropertyRule._GetinitialValue: UTF8String; begin Result:=ReadJSPropertyUTF8String('initialValue'); end; class function TJSCSSPropertyRule.JSClassName: UnicodeString; begin Result:='CSSPropertyRule'; end; class function TJSCSSPropertyRule.Cast(const Intf: IJSObject): IJSCSSPropertyRule; begin Result:=TJSCSSPropertyRule.JOBCast(Intf); end; function TJSCSSPseudoElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSCSSPseudoElement._Getelement: IJSElement; begin Result:=ReadJSPropertyObject('element',TJSElement) as IJSElement; end; class function TJSCSSPseudoElement.JSClassName: UnicodeString; begin Result:='CSSPseudoElement'; end; class function TJSCSSPseudoElement.Cast(const Intf: IJSObject): IJSCSSPseudoElement; begin Result:=TJSCSSPseudoElement.JOBCast(Intf); end; function TJSCSSRule._Gettype_: Word; begin Result:=ReadJSPropertyLongInt('type'); end; function TJSCSSRule._GetcssText: UTF8String; begin Result:=ReadJSPropertyUTF8String('cssText'); end; function TJSCSSRule._GetparentRule: IJSCSSRule; begin Result:=ReadJSPropertyObject('parentRule',TJSCSSRule) as IJSCSSRule; end; function TJSCSSRule._GetparentStyleSheet: IJSCSSStyleSheet; begin Result:=ReadJSPropertyObject('parentStyleSheet',TJSCSSStyleSheet) as IJSCSSStyleSheet; end; procedure TJSCSSRule._SetcssText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('cssText',aValue); end; class function TJSCSSRule.JSClassName: UnicodeString; begin Result:='CSSRule'; end; class function TJSCSSRule.Cast(const Intf: IJSObject): IJSCSSRule; begin Result:=TJSCSSRule.JOBCast(Intf); end; function TJSCSSRuleList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSCSSRuleList.item(aIndex: Cardinal): IJSCSSRule; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSCSSRule) as IJSCSSRule; end; class function TJSCSSRuleList.JSClassName: UnicodeString; begin Result:='CSSRuleList'; end; class function TJSCSSRuleList.Cast(const Intf: IJSObject): IJSCSSRuleList; begin Result:=TJSCSSRuleList.JOBCast(Intf); end; function TJSCSSScopeRule._Getstart: UTF8String; begin Result:=ReadJSPropertyUTF8String('start'); end; function TJSCSSScopeRule._Getend_: UTF8String; begin Result:=ReadJSPropertyUTF8String('end'); end; class function TJSCSSScopeRule.JSClassName: UnicodeString; begin Result:='CSSScopeRule'; end; class function TJSCSSScopeRule.Cast(const Intf: IJSObject): IJSCSSScopeRule; begin Result:=TJSCSSScopeRule.JOBCast(Intf); end; class function TJSCSSStartingStyleRule.JSClassName: UnicodeString; begin Result:='CSSStartingStyleRule'; end; class function TJSCSSStartingStyleRule.Cast(const Intf: IJSObject): IJSCSSStartingStyleRule; begin Result:=TJSCSSStartingStyleRule.JOBCast(Intf); end; function TJSCSSStyleDeclaration._GetcssText: UTF8String; begin Result:=ReadJSPropertyUTF8String('cssText'); end; function TJSCSSStyleDeclaration._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSCSSStyleDeclaration._GetparentRule: IJSCSSRule; begin Result:=ReadJSPropertyObject('parentRule',TJSCSSRule) as IJSCSSRule; end; procedure TJSCSSStyleDeclaration._SetcssText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('cssText',aValue); end; function TJSCSSStyleDeclaration.item(aIndex: Cardinal): UTF8String; begin Result:=InvokeJSUTF8StringResult('item',[aIndex]); end; function TJSCSSStyleDeclaration.getPropertyValue(const aProperty_: UTF8String): UTF8String; begin Result:=InvokeJSUTF8StringResult('getPropertyValue',[aProperty_]); end; function TJSCSSStyleDeclaration.getPropertyPriority(const aProperty_: UTF8String): UTF8String; begin Result:=InvokeJSUTF8StringResult('getPropertyPriority',[aProperty_]); end; procedure TJSCSSStyleDeclaration.setProperty(const aProperty_: UTF8String; const aValue: UTF8String; const aPriority: UTF8String); begin InvokeJSNoResult('setProperty',[aProperty_,aValue,aPriority]); end; procedure TJSCSSStyleDeclaration.setProperty(const aProperty_: UTF8String; const aValue: UTF8String); begin InvokeJSNoResult('setProperty',[aProperty_,aValue]); end; function TJSCSSStyleDeclaration.removeProperty(const aProperty_: UTF8String): UTF8String; begin Result:=InvokeJSUTF8StringResult('removeProperty',[aProperty_]); end; class function TJSCSSStyleDeclaration.JSClassName: UnicodeString; begin Result:='CSSStyleDeclaration'; end; class function TJSCSSStyleDeclaration.Cast(const Intf: IJSObject): IJSCSSStyleDeclaration; begin Result:=TJSCSSStyleDeclaration.JOBCast(Intf); end; function TJSCSSStyleRule._GetselectorText: UTF8String; begin Result:=ReadJSPropertyUTF8String('selectorText'); end; function TJSCSSStyleRule._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; procedure TJSCSSStyleRule._SetselectorText(const aValue : UTF8String); begin WriteJSPropertyUTF8String('selectorText',aValue); end; class function TJSCSSStyleRule.JSClassName: UnicodeString; begin Result:='CSSStyleRule'; end; class function TJSCSSStyleRule.Cast(const Intf: IJSObject): IJSCSSStyleRule; begin Result:=TJSCSSStyleRule.JOBCast(Intf); end; function TJSSelectorWarning._Getindex: Cardinal; begin Result:=ReadJSPropertyInt64('index'); end; function TJSSelectorWarning._Getkind: TSelectorWarningKind; begin Result:=ReadJSPropertyUnicodeString('kind'); end; procedure TJSSelectorWarning._Setindex(const aValue : Cardinal); begin WriteJSPropertyDouble('index',aValue); end; procedure TJSSelectorWarning._Setkind(const aValue : TSelectorWarningKind); begin WriteJSPropertyUnicodeString('kind',aValue); end; constructor TJSSelectorWarning.create(const aDict : TJSSelectorWarningRec); overload; begin Self.index:=aDict.index; Self.kind:=aDict.kind; end; class function TJSSelectorWarning.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSelectorWarning.Cast(const Intf: IJSObject): IJSSelectorWarning; begin Result:=TJSSelectorWarning.JOBCast(Intf); end; function TJSCSSStyleSheetInit._Getmedia: TCSSStyleSheetInit_media_Type; begin Result:=ReadJSPropertyVariant('media'); end; function TJSCSSStyleSheetInit._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSCSSStyleSheetInit._GetbaseURL: UTF8String; begin Result:=ReadJSPropertyUTF8String('baseURL'); end; procedure TJSCSSStyleSheetInit._Setmedia(const aValue : TCSSStyleSheetInit_media_Type); begin WriteJSPropertyVariant('media',aValue); end; procedure TJSCSSStyleSheetInit._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSCSSStyleSheetInit._SetbaseURL(const aValue : UTF8String); begin WriteJSPropertyUTF8String('baseURL',aValue); end; constructor TJSCSSStyleSheetInit.create(const aDict : TJSCSSStyleSheetInitRec); overload; begin Self.media:=aDict.media; Self.disabled:=aDict.disabled; Self.baseURL:=aDict.baseURL; end; class function TJSCSSStyleSheetInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCSSStyleSheetInit.Cast(const Intf: IJSObject): IJSCSSStyleSheetInit; begin Result:=TJSCSSStyleSheetInit.JOBCast(Intf); end; function TJSCSSStyleSheet._GetownerRule: IJSCSSRule; begin Result:=ReadJSPropertyObject('ownerRule',TJSCSSRule) as IJSCSSRule; end; function TJSCSSStyleSheet._GetcssRules: IJSCSSRuleList; begin Result:=ReadJSPropertyObject('cssRules',TJSCSSRuleList) as IJSCSSRuleList; end; function TJSCSSStyleSheet._Getrules: IJSCSSRuleList; begin Result:=ReadJSPropertyObject('rules',TJSCSSRuleList) as IJSCSSRuleList; end; constructor TJSCSSStyleSheet.Create(const aOptions: IJSCSSStyleSheetInit); begin JOBCreate([aOptions]); end; constructor TJSCSSStyleSheet.Create; begin JOBCreate([]); end; function TJSCSSStyleSheet.insertRule(const aRule: UTF8String; aIndex: Cardinal): Cardinal; begin Result:=InvokeJSLongIntResult('insertRule',[aRule,aIndex]); end; function TJSCSSStyleSheet.insertRule(const aRule: UTF8String): Cardinal; begin Result:=InvokeJSLongIntResult('insertRule',[aRule]); end; procedure TJSCSSStyleSheet.deleteRule(aIndex: Cardinal); begin InvokeJSNoResult('deleteRule',[aIndex]); end; function TJSCSSStyleSheet.replace(const aText: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('replace',[aText],TJSPromise) as IJSPromise; end; procedure TJSCSSStyleSheet.replaceSync(const aText: UTF8String); begin InvokeJSNoResult('replaceSync',[aText]); end; procedure TJSCSSStyleSheet.removeRule(aIndex: Cardinal); begin InvokeJSNoResult('removeRule',[aIndex]); end; procedure TJSCSSStyleSheet.removeRule; begin InvokeJSNoResult('removeRule',[]); end; function TJSCSSStyleSheet.addRule(const aSelector: UTF8String; const aStyle: UTF8String; aIndex: Cardinal): LongInt; begin Result:=InvokeJSLongIntResult('addRule',[aSelector,aStyle,aIndex]); end; function TJSCSSStyleSheet.addRule: LongInt; begin Result:=InvokeJSLongIntResult('addRule',[]); end; function TJSCSSStyleSheet.addRule(const aSelector: UTF8String): LongInt; begin Result:=InvokeJSLongIntResult('addRule',[aSelector]); end; function TJSCSSStyleSheet.addRule(const aSelector: UTF8String; const aStyle: UTF8String): LongInt; begin Result:=InvokeJSLongIntResult('addRule',[aSelector,aStyle]); end; class function TJSCSSStyleSheet.JSClassName: UnicodeString; begin Result:='CSSStyleSheet'; end; class function TJSCSSStyleSheet.Cast(const Intf: IJSObject): IJSCSSStyleSheet; begin Result:=TJSCSSStyleSheet.JOBCast(Intf); end; class function TJSCSSSupportsRule.JSClassName: UnicodeString; begin Result:='CSSSupportsRule'; end; class function TJSCSSSupportsRule.Cast(const Intf: IJSObject): IJSCSSSupportsRule; begin Result:=TJSCSSSupportsRule.JOBCast(Intf); end; function TJSCSSTransition._GettransitionProperty: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transitionProperty'); end; class function TJSCSSTransition.JSClassName: UnicodeString; begin Result:='CSSTransition'; end; class function TJSCSSTransition.Cast(const Intf: IJSObject): IJSCSSTransition; begin Result:=TJSCSSTransition.JOBCast(Intf); end; procedure TJSCustomElementRegistry.define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor; const aOptions: IJSElementDefinitionOptions); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aConstructor_),@JOBCallCustomElementConstructor); try InvokeJSNoResult('define',[aName,m,aOptions]); finally m.free; end; end; procedure TJSCustomElementRegistry.define(const aName: UnicodeString; const aConstructor_: TCustomElementConstructor); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aConstructor_),@JOBCallCustomElementConstructor); try InvokeJSNoResult('define',[aName,m]); finally m.free; end; end; function TJSCustomElementRegistry.get(const aName: UnicodeString): TCustomElementRegistry_get_Type; begin Result:=InvokeJSVariantResult('get',[aName]); end; function TJSCustomElementRegistry.getName(const aConstructor_: TCustomElementConstructor): UnicodeString; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aConstructor_),@JOBCallCustomElementConstructor); try Result:=InvokeJSUnicodeStringResult('getName',[m]); finally m.free; end; end; function TJSCustomElementRegistry.whenDefined(const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('whenDefined',[aName],TJSPromise) as IJSPromise; end; procedure TJSCustomElementRegistry.upgrade(aRoot: IJSNode); begin InvokeJSNoResult('upgrade',[aRoot]); end; class function TJSCustomElementRegistry.JSClassName: UnicodeString; begin Result:='CustomElementRegistry'; end; class function TJSCustomElementRegistry.Cast(const Intf: IJSObject): IJSCustomElementRegistry; begin Result:=TJSCustomElementRegistry.JOBCast(Intf); end; function TJSElementDefinitionOptions._Getextends: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('extends'); end; procedure TJSElementDefinitionOptions._Setextends(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('extends',aValue); end; constructor TJSElementDefinitionOptions.create(const aDict : TJSElementDefinitionOptionsRec); overload; begin Self.extends:=aDict.extends; end; class function TJSElementDefinitionOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSElementDefinitionOptions.Cast(const Intf: IJSObject): IJSElementDefinitionOptions; begin Result:=TJSElementDefinitionOptions.JOBCast(Intf); end; function TJSLifecycleCallbacks._GetconnectedCallback: TLifecycleConnectedCallback; begin Result:=(TLifecycleConnectedCallback(ReadJSPropertyMethod('connectedCallback'))); end; function TJSLifecycleCallbacks._GetdisconnectedCallback: TLifecycleDisconnectedCallback; begin Result:=(TLifecycleDisconnectedCallback(ReadJSPropertyMethod('disconnectedCallback'))); end; function TJSLifecycleCallbacks._GetadoptedCallback: TLifecycleAdoptedCallback; begin Result:=(TLifecycleAdoptedCallback(ReadJSPropertyMethod('adoptedCallback'))); end; function TJSLifecycleCallbacks._GetattributeChangedCallback: TLifecycleAttributeChangedCallback; begin Result:=(TLifecycleAttributeChangedCallback(ReadJSPropertyMethod('attributeChangedCallback'))); end; procedure TJSLifecycleCallbacks._SetconnectedCallback(const aValue : TLifecycleConnectedCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleConnectedCallback); try InvokeJSNoResult('connectedCallback',[m],jiSet); finally m.free end; end; procedure TJSLifecycleCallbacks._SetdisconnectedCallback(const aValue : TLifecycleDisconnectedCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleDisconnectedCallback); try InvokeJSNoResult('disconnectedCallback',[m],jiSet); finally m.free end; end; procedure TJSLifecycleCallbacks._SetadoptedCallback(const aValue : TLifecycleAdoptedCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleAdoptedCallback); try InvokeJSNoResult('adoptedCallback',[m],jiSet); finally m.free end; end; procedure TJSLifecycleCallbacks._SetattributeChangedCallback(const aValue : TLifecycleAttributeChangedCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleAttributeChangedCallback); try InvokeJSNoResult('attributeChangedCallback',[m],jiSet); finally m.free end; end; constructor TJSLifecycleCallbacks.create(const aDict : TJSLifecycleCallbacksRec); overload; begin Self.connectedCallback:=aDict.connectedCallback; Self.disconnectedCallback:=aDict.disconnectedCallback; Self.adoptedCallback:=aDict.adoptedCallback; Self.attributeChangedCallback:=aDict.attributeChangedCallback; end; class function TJSLifecycleCallbacks.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSLifecycleCallbacks.Cast(const Intf: IJSObject): IJSLifecycleCallbacks; begin Result:=TJSLifecycleCallbacks.JOBCast(Intf); end; function TJSFormAssociatedLifecycleCallbacks._GetformAssociatedCallback: TLifecycleFormAssociatedCallback; begin Result:=(TLifecycleFormAssociatedCallback(ReadJSPropertyMethod('formAssociatedCallback'))); end; function TJSFormAssociatedLifecycleCallbacks._GetformResetCallback: TLifecycleFormResetCallback; begin Result:=(TLifecycleFormResetCallback(ReadJSPropertyMethod('formResetCallback'))); end; function TJSFormAssociatedLifecycleCallbacks._GetformDisabledCallback: TLifecycleFormDisabledCallback; begin Result:=(TLifecycleFormDisabledCallback(ReadJSPropertyMethod('formDisabledCallback'))); end; function TJSFormAssociatedLifecycleCallbacks._GetformStateRestoreCallback: TLifecycleFormStateRestoreCallback; begin Result:=(TLifecycleFormStateRestoreCallback(ReadJSPropertyMethod('formStateRestoreCallback'))); end; procedure TJSFormAssociatedLifecycleCallbacks._SetformAssociatedCallback(const aValue : TLifecycleFormAssociatedCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleFormAssociatedCallback); try InvokeJSNoResult('formAssociatedCallback',[m],jiSet); finally m.free end; end; procedure TJSFormAssociatedLifecycleCallbacks._SetformResetCallback(const aValue : TLifecycleFormResetCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleFormResetCallback); try InvokeJSNoResult('formResetCallback',[m],jiSet); finally m.free end; end; procedure TJSFormAssociatedLifecycleCallbacks._SetformDisabledCallback(const aValue : TLifecycleFormDisabledCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleFormDisabledCallback); try InvokeJSNoResult('formDisabledCallback',[m],jiSet); finally m.free end; end; procedure TJSFormAssociatedLifecycleCallbacks._SetformStateRestoreCallback(const aValue : TLifecycleFormStateRestoreCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallLifecycleFormStateRestoreCallback); try InvokeJSNoResult('formStateRestoreCallback',[m],jiSet); finally m.free end; end; constructor TJSFormAssociatedLifecycleCallbacks.create(const aDict : TJSFormAssociatedLifecycleCallbacksRec); overload; begin Self.formAssociatedCallback:=aDict.formAssociatedCallback; Self.formResetCallback:=aDict.formResetCallback; Self.formDisabledCallback:=aDict.formDisabledCallback; Self.formStateRestoreCallback:=aDict.formStateRestoreCallback; end; class function TJSFormAssociatedLifecycleCallbacks.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFormAssociatedLifecycleCallbacks.Cast(const Intf: IJSObject): IJSFormAssociatedLifecycleCallbacks; begin Result:=TJSFormAssociatedLifecycleCallbacks.JOBCast(Intf); end; function TJSCustomEvent._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; constructor TJSCustomEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSCustomEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSCustomEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSCustomEvent.initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aDetail: Variant); begin InvokeJSNoResult('initCustomEvent',[aType_,aCanBubble,aCancelable,aDetail]); end; procedure TJSCustomEvent.initCustomEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initCustomEvent',[aType_]); end; procedure TJSCustomEvent.initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initCustomEvent',[aType_,aCanBubble]); end; procedure TJSCustomEvent.initCustomEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initCustomEvent',[aType_,aCanBubble,aCancelable]); end; class function TJSCustomEvent.JSClassName: UnicodeString; begin Result:='CustomEvent'; end; class function TJSCustomEvent.Cast(const Intf: IJSObject): IJSCustomEvent; begin Result:=TJSCustomEvent.JOBCast(Intf); end; function TJSCustomEventInit._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; procedure TJSCustomEventInit._Setdetail(const aValue : Variant); begin WriteJSPropertyVariant('detail',aValue); end; constructor TJSCustomEventInit.create(const aDict : TJSCustomEventInitRec); overload; begin Self.detail:=aDict.detail; end; class function TJSCustomEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCustomEventInit.Cast(const Intf: IJSObject): IJSCustomEventInit; begin Result:=TJSCustomEventInit.JOBCast(Intf); end; class function TJSContentSecurityPolicy.JSClassName: UnicodeString; begin Result:='ContentSecurityPolicy'; end; class function TJSContentSecurityPolicy.Cast(const Intf: IJSObject): IJSContentSecurityPolicy; begin Result:=TJSContentSecurityPolicy.JOBCast(Intf); end; function TJSDataTransfer._GetdropEffect: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dropEffect'); end; function TJSDataTransfer._GeteffectAllowed: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('effectAllowed'); end; function TJSDataTransfer._Getitems: IJSDataTransferItemList; begin Result:=ReadJSPropertyObject('items',TJSDataTransferItemList) as IJSDataTransferItemList; end; function TJSDataTransfer._Gettypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('types',TJSArray) as TUnicodeStringDynArray; end; function TJSDataTransfer._Getfiles: IJSFileList; begin Result:=ReadJSPropertyObject('files',TJSFileList) as IJSFileList; end; function TJSDataTransfer._GetmozCursor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mozCursor'); end; function TJSDataTransfer._GetmozUserCancelled: Boolean; begin Result:=ReadJSPropertyBoolean('mozUserCancelled'); end; function TJSDataTransfer._GetmozSourceNode: IJSNode; begin Result:=ReadJSPropertyObject('mozSourceNode',TJSNode) as IJSNode; end; procedure TJSDataTransfer._SetdropEffect(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dropEffect',aValue); end; procedure TJSDataTransfer._SeteffectAllowed(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('effectAllowed',aValue); end; procedure TJSDataTransfer._SetmozCursor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mozCursor',aValue); end; constructor TJSDataTransfer.Create; begin JOBCreate([]); end; procedure TJSDataTransfer.setDragImage(aImage: IJSElement; aX: LongInt; aY: LongInt); begin InvokeJSNoResult('setDragImage',[aImage,aX,aY]); end; function TJSDataTransfer.getData(const aFormat: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getData',[aFormat]); end; procedure TJSDataTransfer.setData(const aFormat: UnicodeString; const aData: UnicodeString); begin InvokeJSNoResult('setData',[aFormat,aData]); end; procedure TJSDataTransfer.clearData(const aFormat: UnicodeString); begin InvokeJSNoResult('clearData',[aFormat]); end; procedure TJSDataTransfer.clearData; begin InvokeJSNoResult('clearData',[]); end; procedure TJSDataTransfer.addElement(aElement: IJSElement); begin InvokeJSNoResult('addElement',[aElement]); end; class function TJSDataTransfer.JSClassName: UnicodeString; begin Result:='DataTransfer'; end; class function TJSDataTransfer.Cast(const Intf: IJSObject): IJSDataTransfer; begin Result:=TJSDataTransfer.JOBCast(Intf); end; function TJSDataTransferItem._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSDataTransferItem._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSDataTransferItem.getAsString(const aCallback: TFunctionStringCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunctionStringCallback); try InvokeJSNoResult('getAsString',[m]); finally m.free; end; end; function TJSDataTransferItem.getAsFile: IJSFile; begin Result:=InvokeJSObjectResult('getAsFile',[],TJSFile) as IJSFile; end; function TJSDataTransferItem.webkitGetAsEntry: IJSFileSystemEntry; begin Result:=InvokeJSObjectResult('webkitGetAsEntry',[],TJSFileSystemEntry) as IJSFileSystemEntry; end; class function TJSDataTransferItem.JSClassName: UnicodeString; begin Result:='DataTransferItem'; end; class function TJSDataTransferItem.Cast(const Intf: IJSObject): IJSDataTransferItem; begin Result:=TJSDataTransferItem.JOBCast(Intf); end; function TJSDataTransferItemList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSDataTransferItemList.GetDefault(aIndex: Cardinal): IJSDataTransferItem; begin Result:=InvokeJSObjectResult('',[aIndex],TJSDataTransferItem) as IJSDataTransferItem; end; function TJSDataTransferItemList.add(const aData: UnicodeString; const aType_: UnicodeString): IJSDataTransferItem; begin Result:=InvokeJSObjectResult('add',[aData,aType_],TJSDataTransferItem) as IJSDataTransferItem; end; function TJSDataTransferItemList.add(aData: IJSFile): IJSDataTransferItem; begin Result:=InvokeJSObjectResult('add',[aData],TJSDataTransferItem) as IJSDataTransferItem; end; procedure TJSDataTransferItemList.remove(aIndex: Cardinal); begin InvokeJSNoResult('remove',[aIndex]); end; procedure TJSDataTransferItemList.clear; begin InvokeJSNoResult('clear',[]); end; class function TJSDataTransferItemList.JSClassName: UnicodeString; begin Result:='DataTransferItemList'; end; class function TJSDataTransferItemList.Cast(const Intf: IJSObject): IJSDataTransferItemList; begin Result:=TJSDataTransferItemList.JOBCast(Intf); end; function TJSDecoderDoctorNotification._Gettype_: TDecoderDoctorNotificationType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSDecoderDoctorNotification._GetisSolved: Boolean; begin Result:=ReadJSPropertyBoolean('isSolved'); end; function TJSDecoderDoctorNotification._GetdecoderDoctorReportId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('decoderDoctorReportId'); end; function TJSDecoderDoctorNotification._Getformats: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formats'); end; function TJSDecoderDoctorNotification._GetdecodeIssue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('decodeIssue'); end; function TJSDecoderDoctorNotification._GetdocURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('docURL'); end; function TJSDecoderDoctorNotification._GetresourceURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('resourceURL'); end; procedure TJSDecoderDoctorNotification._Settype_(const aValue : TDecoderDoctorNotificationType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSDecoderDoctorNotification._SetisSolved(const aValue : Boolean); begin WriteJSPropertyBoolean('isSolved',aValue); end; procedure TJSDecoderDoctorNotification._SetdecoderDoctorReportId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('decoderDoctorReportId',aValue); end; procedure TJSDecoderDoctorNotification._Setformats(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formats',aValue); end; procedure TJSDecoderDoctorNotification._SetdecodeIssue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('decodeIssue',aValue); end; procedure TJSDecoderDoctorNotification._SetdocURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('docURL',aValue); end; procedure TJSDecoderDoctorNotification._SetresourceURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('resourceURL',aValue); end; constructor TJSDecoderDoctorNotification.create(const aDict : TJSDecoderDoctorNotificationRec); overload; begin Self.type_:=aDict.type_; Self.isSolved:=aDict.isSolved; Self.decoderDoctorReportId:=aDict.decoderDoctorReportId; Self.formats:=aDict.formats; Self.decodeIssue:=aDict.decodeIssue; Self.docURL:=aDict.docURL; Self.resourceURL:=aDict.resourceURL; end; class function TJSDecoderDoctorNotification.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDecoderDoctorNotification.Cast(const Intf: IJSObject): IJSDecoderDoctorNotification; begin Result:=TJSDecoderDoctorNotification.JOBCast(Intf); end; constructor TJSDecompressionStream.Create(aFormat: TCompressionFormat); begin JOBCreate([aFormat]); end; class function TJSDecompressionStream.JSClassName: UnicodeString; begin Result:='DecompressionStream'; end; class function TJSDecompressionStream.Cast(const Intf: IJSObject): IJSDecompressionStream; begin Result:=TJSDecompressionStream.JOBCast(Intf); end; function TJSDedicatedWorkerGlobalScope._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSDedicatedWorkerGlobalScope._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSDedicatedWorkerGlobalScope._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSDedicatedWorkerGlobalScope._Getonrtctransform: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrtctransform'))); end; procedure TJSDedicatedWorkerGlobalScope._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSDedicatedWorkerGlobalScope._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSDedicatedWorkerGlobalScope._Setonrtctransform(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrtctransform',[m],jiSet); finally m.free end; end; procedure TJSDedicatedWorkerGlobalScope.postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTransfer]); end; procedure TJSDedicatedWorkerGlobalScope.postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); begin InvokeJSNoResult('postMessage',[aMessage,aOptions]); end; procedure TJSDedicatedWorkerGlobalScope.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; procedure TJSDedicatedWorkerGlobalScope.close; begin InvokeJSNoResult('close',[]); end; function TJSDedicatedWorkerGlobalScope.requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFrameRequestCallback); try Result:=InvokeJSLongIntResult('requestAnimationFrame',[m]); finally m.free; end; end; procedure TJSDedicatedWorkerGlobalScope.cancelAnimationFrame(aHandle: LongInt); begin InvokeJSNoResult('cancelAnimationFrame',[aHandle]); end; class function TJSDedicatedWorkerGlobalScope.JSClassName: UnicodeString; begin Result:='DedicatedWorkerGlobalScope'; end; class function TJSDedicatedWorkerGlobalScope.Cast(const Intf: IJSObject): IJSDedicatedWorkerGlobalScope; begin Result:=TJSDedicatedWorkerGlobalScope.JOBCast(Intf); end; function TJSDelayOptions._GetmaxDelayTime: Double; begin Result:=ReadJSPropertyDouble('maxDelayTime'); end; function TJSDelayOptions._GetdelayTime: Double; begin Result:=ReadJSPropertyDouble('delayTime'); end; procedure TJSDelayOptions._SetmaxDelayTime(const aValue : Double); begin WriteJSPropertyDouble('maxDelayTime',aValue); end; procedure TJSDelayOptions._SetdelayTime(const aValue : Double); begin WriteJSPropertyDouble('delayTime',aValue); end; constructor TJSDelayOptions.create(const aDict : TJSDelayOptionsRec); overload; begin Self.maxDelayTime:=aDict.maxDelayTime; Self.delayTime:=aDict.delayTime; end; class function TJSDelayOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDelayOptions.Cast(const Intf: IJSObject): IJSDelayOptions; begin Result:=TJSDelayOptions.JOBCast(Intf); end; function TJSDelayNode._GetdelayTime: IJSAudioParam; begin Result:=ReadJSPropertyObject('delayTime',TJSAudioParam) as IJSAudioParam; end; constructor TJSDelayNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSDelayOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSDelayNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSDelayNode.JSClassName: UnicodeString; begin Result:='DelayNode'; end; class function TJSDelayNode.Cast(const Intf: IJSObject): IJSDelayNode; begin Result:=TJSDelayNode.JOBCast(Intf); end; function TJSDeviceLightEvent._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; constructor TJSDeviceLightEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceLightEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSDeviceLightEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSDeviceLightEvent.JSClassName: UnicodeString; begin Result:='DeviceLightEvent'; end; class function TJSDeviceLightEvent.Cast(const Intf: IJSObject): IJSDeviceLightEvent; begin Result:=TJSDeviceLightEvent.JOBCast(Intf); end; function TJSDeviceLightEventInit._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; procedure TJSDeviceLightEventInit._Setvalue(const aValue : Double); begin WriteJSPropertyDouble('value',aValue); end; constructor TJSDeviceLightEventInit.create(const aDict : TJSDeviceLightEventInitRec); overload; begin Self.value:=aDict.value; end; class function TJSDeviceLightEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDeviceLightEventInit.Cast(const Intf: IJSObject): IJSDeviceLightEventInit; begin Result:=TJSDeviceLightEventInit.JOBCast(Intf); end; function TJSDeviceAcceleration._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDeviceAcceleration._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDeviceAcceleration._Getz: Double; begin Result:=ReadJSPropertyDouble('z'); end; class function TJSDeviceAcceleration.JSClassName: UnicodeString; begin Result:='DeviceAcceleration'; end; class function TJSDeviceAcceleration.Cast(const Intf: IJSObject): IJSDeviceAcceleration; begin Result:=TJSDeviceAcceleration.JOBCast(Intf); end; function TJSDeviceRotationRate._Getalpha: Double; begin Result:=ReadJSPropertyDouble('alpha'); end; function TJSDeviceRotationRate._Getbeta: Double; begin Result:=ReadJSPropertyDouble('beta'); end; function TJSDeviceRotationRate._Getgamma: Double; begin Result:=ReadJSPropertyDouble('gamma'); end; class function TJSDeviceRotationRate.JSClassName: UnicodeString; begin Result:='DeviceRotationRate'; end; class function TJSDeviceRotationRate.Cast(const Intf: IJSObject): IJSDeviceRotationRate; begin Result:=TJSDeviceRotationRate.JOBCast(Intf); end; function TJSDeviceMotionEvent._Getacceleration: IJSDeviceAcceleration; begin Result:=ReadJSPropertyObject('acceleration',TJSDeviceAcceleration) as IJSDeviceAcceleration; end; function TJSDeviceMotionEvent._GetaccelerationIncludingGravity: IJSDeviceAcceleration; begin Result:=ReadJSPropertyObject('accelerationIncludingGravity',TJSDeviceAcceleration) as IJSDeviceAcceleration; end; function TJSDeviceMotionEvent._GetrotationRate: IJSDeviceRotationRate; begin Result:=ReadJSPropertyObject('rotationRate',TJSDeviceRotationRate) as IJSDeviceRotationRate; end; function TJSDeviceMotionEvent._Getinterval: Double; begin Result:=ReadJSPropertyDouble('interval'); end; constructor TJSDeviceMotionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceMotionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSDeviceMotionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit; aInterval: Double); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble,aCancelable,aAcceleration,aAccelerationIncludingGravity,aRotationRate,aInterval]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble,aCancelable,aAcceleration]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble,aCancelable,aAcceleration,aAccelerationIncludingGravity]); end; procedure TJSDeviceMotionEvent.initDeviceMotionEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aAcceleration: IJSDeviceAccelerationInit; const aAccelerationIncludingGravity: IJSDeviceAccelerationInit; const aRotationRate: IJSDeviceRotationRateInit); begin InvokeJSNoResult('initDeviceMotionEvent',[aType_,aCanBubble,aCancelable,aAcceleration,aAccelerationIncludingGravity,aRotationRate]); end; class function TJSDeviceMotionEvent.JSClassName: UnicodeString; begin Result:='DeviceMotionEvent'; end; class function TJSDeviceMotionEvent.Cast(const Intf: IJSObject): IJSDeviceMotionEvent; begin Result:=TJSDeviceMotionEvent.JOBCast(Intf); end; function TJSDeviceAccelerationInit._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDeviceAccelerationInit._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDeviceAccelerationInit._Getz: Double; begin Result:=ReadJSPropertyDouble('z'); end; procedure TJSDeviceAccelerationInit._Setx(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSDeviceAccelerationInit._Sety(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSDeviceAccelerationInit._Setz(const aValue : Double); begin WriteJSPropertyDouble('z',aValue); end; constructor TJSDeviceAccelerationInit.create(const aDict : TJSDeviceAccelerationInitRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; Self.z:=aDict.z; end; class function TJSDeviceAccelerationInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDeviceAccelerationInit.Cast(const Intf: IJSObject): IJSDeviceAccelerationInit; begin Result:=TJSDeviceAccelerationInit.JOBCast(Intf); end; function TJSDeviceRotationRateInit._Getalpha: Double; begin Result:=ReadJSPropertyDouble('alpha'); end; function TJSDeviceRotationRateInit._Getbeta: Double; begin Result:=ReadJSPropertyDouble('beta'); end; function TJSDeviceRotationRateInit._Getgamma: Double; begin Result:=ReadJSPropertyDouble('gamma'); end; procedure TJSDeviceRotationRateInit._Setalpha(const aValue : Double); begin WriteJSPropertyDouble('alpha',aValue); end; procedure TJSDeviceRotationRateInit._Setbeta(const aValue : Double); begin WriteJSPropertyDouble('beta',aValue); end; procedure TJSDeviceRotationRateInit._Setgamma(const aValue : Double); begin WriteJSPropertyDouble('gamma',aValue); end; constructor TJSDeviceRotationRateInit.create(const aDict : TJSDeviceRotationRateInitRec); overload; begin Self.alpha:=aDict.alpha; Self.beta:=aDict.beta; Self.gamma:=aDict.gamma; end; class function TJSDeviceRotationRateInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDeviceRotationRateInit.Cast(const Intf: IJSObject): IJSDeviceRotationRateInit; begin Result:=TJSDeviceRotationRateInit.JOBCast(Intf); end; function TJSDeviceMotionEventInit._Getacceleration: IJSDeviceAccelerationInit; begin Result:=ReadJSPropertyObject('acceleration',TJSDeviceAccelerationInit) as IJSDeviceAccelerationInit; end; function TJSDeviceMotionEventInit._GetaccelerationIncludingGravity: IJSDeviceAccelerationInit; begin Result:=ReadJSPropertyObject('accelerationIncludingGravity',TJSDeviceAccelerationInit) as IJSDeviceAccelerationInit; end; function TJSDeviceMotionEventInit._GetrotationRate: IJSDeviceRotationRateInit; begin Result:=ReadJSPropertyObject('rotationRate',TJSDeviceRotationRateInit) as IJSDeviceRotationRateInit; end; function TJSDeviceMotionEventInit._Getinterval: Double; begin Result:=ReadJSPropertyDouble('interval'); end; procedure TJSDeviceMotionEventInit._Setacceleration(const aValue : IJSDeviceAccelerationInit); begin WriteJSPropertyObject('acceleration',aValue); end; procedure TJSDeviceMotionEventInit._SetaccelerationIncludingGravity(const aValue : IJSDeviceAccelerationInit); begin WriteJSPropertyObject('accelerationIncludingGravity',aValue); end; procedure TJSDeviceMotionEventInit._SetrotationRate(const aValue : IJSDeviceRotationRateInit); begin WriteJSPropertyObject('rotationRate',aValue); end; procedure TJSDeviceMotionEventInit._Setinterval(const aValue : Double); begin WriteJSPropertyDouble('interval',aValue); end; constructor TJSDeviceMotionEventInit.create(const aDict : TJSDeviceMotionEventInitRec); overload; begin Self.acceleration:=aDict.acceleration; Self.accelerationIncludingGravity:=aDict.accelerationIncludingGravity; Self.rotationRate:=aDict.rotationRate; Self.interval:=aDict.interval; end; class function TJSDeviceMotionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDeviceMotionEventInit.Cast(const Intf: IJSObject): IJSDeviceMotionEventInit; begin Result:=TJSDeviceMotionEventInit.JOBCast(Intf); end; function TJSDeviceOrientationEvent._Getalpha: Double; begin Result:=ReadJSPropertyDouble('alpha'); end; function TJSDeviceOrientationEvent._Getbeta: Double; begin Result:=ReadJSPropertyDouble('beta'); end; function TJSDeviceOrientationEvent._Getgamma: Double; begin Result:=ReadJSPropertyDouble('gamma'); end; function TJSDeviceOrientationEvent._Getabsolute_: Boolean; begin Result:=ReadJSPropertyBoolean('absolute'); end; constructor TJSDeviceOrientationEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSDeviceOrientationEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSDeviceOrientationEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double; aAbsolute_: Boolean); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble,aCancelable,aAlpha,aBeta,aGamma,aAbsolute_]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble,aCancelable,aAlpha]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble,aCancelable,aAlpha,aBeta]); end; procedure TJSDeviceOrientationEvent.initDeviceOrientationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAlpha: Double; aBeta: Double; aGamma: Double); begin InvokeJSNoResult('initDeviceOrientationEvent',[aType_,aCanBubble,aCancelable,aAlpha,aBeta,aGamma]); end; class function TJSDeviceOrientationEvent.JSClassName: UnicodeString; begin Result:='DeviceOrientationEvent'; end; class function TJSDeviceOrientationEvent.Cast(const Intf: IJSObject): IJSDeviceOrientationEvent; begin Result:=TJSDeviceOrientationEvent.JOBCast(Intf); end; function TJSDeviceOrientationEventInit._Getalpha: Double; begin Result:=ReadJSPropertyDouble('alpha'); end; function TJSDeviceOrientationEventInit._Getbeta: Double; begin Result:=ReadJSPropertyDouble('beta'); end; function TJSDeviceOrientationEventInit._Getgamma: Double; begin Result:=ReadJSPropertyDouble('gamma'); end; function TJSDeviceOrientationEventInit._Getabsolute_: Boolean; begin Result:=ReadJSPropertyBoolean('absolute'); end; procedure TJSDeviceOrientationEventInit._Setalpha(const aValue : Double); begin WriteJSPropertyDouble('alpha',aValue); end; procedure TJSDeviceOrientationEventInit._Setbeta(const aValue : Double); begin WriteJSPropertyDouble('beta',aValue); end; procedure TJSDeviceOrientationEventInit._Setgamma(const aValue : Double); begin WriteJSPropertyDouble('gamma',aValue); end; procedure TJSDeviceOrientationEventInit._Setabsolute_(const aValue : Boolean); begin WriteJSPropertyBoolean('absolute',aValue); end; constructor TJSDeviceOrientationEventInit.create(const aDict : TJSDeviceOrientationEventInitRec); overload; begin Self.alpha:=aDict.alpha; Self.beta:=aDict.beta; Self.gamma:=aDict.gamma; Self.absolute_:=aDict.absolute_; end; class function TJSDeviceOrientationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDeviceOrientationEventInit.Cast(const Intf: IJSObject): IJSDeviceOrientationEventInit; begin Result:=TJSDeviceOrientationEventInit.JOBCast(Intf); end; function TJSDirectory._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSDirectory._Getpath: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('path'); end; function TJSDirectory.getFilesAndDirectories: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFilesAndDirectories',[],TJSPromise) as IJSPromise; end; function TJSDirectory.getFiles(aRecursiveFlag: Boolean): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFiles',[aRecursiveFlag],TJSPromise) as IJSPromise; end; function TJSDirectory.getFiles: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFiles',[],TJSPromise) as IJSPromise; end; class function TJSDirectory.JSClassName: UnicodeString; begin Result:='Directory'; end; class function TJSDirectory.Cast(const Intf: IJSObject): IJSDirectory; begin Result:=TJSDirectory.JOBCast(Intf); end; class function TJSWindowProxy.JSClassName: UnicodeString; begin Result:='WindowProxy'; end; class function TJSWindowProxy.Cast(const Intf: IJSObject): IJSWindowProxy; begin Result:=TJSWindowProxy.JOBCast(Intf); end; class function TJSnsISupports.JSClassName: UnicodeString; begin Result:='nsISupports'; end; class function TJSnsISupports.Cast(const Intf: IJSObject): IJSnsISupports; begin Result:=TJSnsISupports.JOBCast(Intf); end; class function TJSURI.JSClassName: UnicodeString; begin Result:='URI'; end; class function TJSURI.Cast(const Intf: IJSObject): IJSURI; begin Result:=TJSURI.JOBCast(Intf); end; class function TJSnsIDocShell.JSClassName: UnicodeString; begin Result:='nsIDocShell'; end; class function TJSnsIDocShell.Cast(const Intf: IJSObject): IJSnsIDocShell; begin Result:=TJSnsIDocShell.JOBCast(Intf); end; class function TJSnsILoadGroup.JSClassName: UnicodeString; begin Result:='nsILoadGroup'; end; class function TJSnsILoadGroup.Cast(const Intf: IJSObject): IJSnsILoadGroup; begin Result:=TJSnsILoadGroup.JOBCast(Intf); end; class function TJSnsIReferrerInfo.JSClassName: UnicodeString; begin Result:='nsIReferrerInfo'; end; class function TJSnsIReferrerInfo.Cast(const Intf: IJSObject): IJSnsIReferrerInfo; begin Result:=TJSnsIReferrerInfo.JOBCast(Intf); end; class function TJSnsICookieJarSettings.JSClassName: UnicodeString; begin Result:='nsICookieJarSettings'; end; class function TJSnsICookieJarSettings.Cast(const Intf: IJSObject): IJSnsICookieJarSettings; begin Result:=TJSnsICookieJarSettings.JOBCast(Intf); end; class function TJSnsIPermissionDelegateHandler.JSClassName: UnicodeString; begin Result:='nsIPermissionDelegateHandler'; end; class function TJSnsIPermissionDelegateHandler.Cast(const Intf: IJSObject): IJSnsIPermissionDelegateHandler; begin Result:=TJSnsIPermissionDelegateHandler.JOBCast(Intf); end; class function TJSXULCommandDispatcher.JSClassName: UnicodeString; begin Result:='XULCommandDispatcher'; end; class function TJSXULCommandDispatcher.Cast(const Intf: IJSObject): IJSXULCommandDispatcher; begin Result:=TJSXULCommandDispatcher.JOBCast(Intf); end; function TJSElementCreationOptions._Getis_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('is'); end; procedure TJSElementCreationOptions._Setis_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('is',aValue); end; constructor TJSElementCreationOptions.create(const aDict : TJSElementCreationOptionsRec); overload; begin Self.is_:=aDict.is_; end; class function TJSElementCreationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSElementCreationOptions.Cast(const Intf: IJSObject): IJSElementCreationOptions; begin Result:=TJSElementCreationOptions.JOBCast(Intf); end; function TJSDocument._Getimplementation_: IJSDOMImplementation; begin Result:=ReadJSPropertyObject('implementation',TJSDOMImplementation) as IJSDOMImplementation; end; function TJSDocument._GetURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('URL'); end; function TJSDocument._GetdocumentURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('documentURI'); end; function TJSDocument._GetcompatMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('compatMode'); end; function TJSDocument._GetcharacterSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('characterSet'); end; function TJSDocument._Getcharset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('charset'); end; function TJSDocument._GetinputEncoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inputEncoding'); end; function TJSDocument._GetcontentType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentType'); end; function TJSDocument._Getdoctype: IJSDocumentType; begin Result:=ReadJSPropertyObject('doctype',TJSDocumentType) as IJSDocumentType; end; function TJSDocument._GetdocumentElement: IJSElement; begin Result:=ReadJSPropertyObject('documentElement',TJSElement) as IJSElement; end; function TJSDocument._Getlocation: IJSLocation; begin Result:=ReadJSPropertyObject('location',TJSLocation) as IJSLocation; end; function TJSDocument._Getdomain: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('domain'); end; function TJSDocument._Getreferrer: UTF8String; begin Result:=ReadJSPropertyUTF8String('referrer'); end; function TJSDocument._Getcookie: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cookie'); end; function TJSDocument._GetlastModified: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastModified'); end; function TJSDocument._GetreadyState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSDocument._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSDocument._Getdir: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dir'); end; function TJSDocument._Getbody: IJSHTMLElement; begin Result:=ReadJSPropertyObject('body',TJSHTMLElement) as IJSHTMLElement; end; function TJSDocument._Gethead: IJSHTMLHeadElement; begin Result:=ReadJSPropertyObject('head',TJSHTMLHeadElement) as IJSHTMLHeadElement; end; function TJSDocument._Getimages: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('images',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getembeds: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('embeds',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getplugins: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('plugins',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getlinks: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('links',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getforms: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('forms',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getscripts: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('scripts',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._GetdefaultView: IJSWindowProxy; begin Result:=ReadJSPropertyObject('defaultView',TJSWindowProxy) as IJSWindowProxy; end; function TJSDocument._GetdesignMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('designMode'); end; function TJSDocument._Getonreadystatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreadystatechange'))); end; function TJSDocument._Getonbeforescriptexecute: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforescriptexecute'))); end; function TJSDocument._Getonafterscriptexecute: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onafterscriptexecute'))); end; function TJSDocument._GetmozSyntheticDocument: Boolean; begin Result:=ReadJSPropertyBoolean('mozSyntheticDocument'); end; function TJSDocument._GetcurrentScript: IJSElement; begin Result:=ReadJSPropertyObject('currentScript',TJSElement) as IJSElement; end; function TJSDocument._GetfgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fgColor'); end; function TJSDocument._GetlinkColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('linkColor'); end; function TJSDocument._GetvlinkColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vlinkColor'); end; function TJSDocument._GetalinkColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('alinkColor'); end; function TJSDocument._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; function TJSDocument._Getanchors: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('anchors',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getapplets: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('applets',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._Getall: IJSHTMLAllCollection; begin Result:=ReadJSPropertyObject('all',TJSHTMLAllCollection) as IJSHTMLAllCollection; end; function TJSDocument._Getfullscreen: Boolean; begin Result:=ReadJSPropertyBoolean('fullscreen'); end; function TJSDocument._GetmozFullScreen: Boolean; begin Result:=ReadJSPropertyBoolean('mozFullScreen'); end; function TJSDocument._GetfullscreenEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('fullscreenEnabled'); end; function TJSDocument._GetmozFullScreenEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('mozFullScreenEnabled'); end; function TJSDocument._Getonfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfullscreenchange'))); end; function TJSDocument._Getonfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfullscreenerror'))); end; function TJSDocument._Getonpointerlockchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerlockchange'))); end; function TJSDocument._Getonpointerlockerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerlockerror'))); end; function TJSDocument._Gethidden: Boolean; begin Result:=ReadJSPropertyBoolean('hidden'); end; function TJSDocument._GetvisibilityState: TVisibilityState; begin Result:=ReadJSPropertyUnicodeString('visibilityState'); end; function TJSDocument._Getonvisibilitychange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvisibilitychange'))); end; function TJSDocument._GetselectedStyleSheetSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('selectedStyleSheetSet'); end; function TJSDocument._GetlastStyleSheetSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastStyleSheetSet'); end; function TJSDocument._GetpreferredStyleSheetSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('preferredStyleSheetSet'); end; function TJSDocument._GetstyleSheetSets: IJSDOMStringList; begin Result:=ReadJSPropertyObject('styleSheetSets',TJSDOMStringList) as IJSDOMStringList; end; function TJSDocument._GetscrollingElement: IJSElement; begin Result:=ReadJSPropertyObject('scrollingElement',TJSElement) as IJSElement; end; function TJSDocument._Gettimeline: IJSDocumentTimeline; begin Result:=ReadJSPropertyObject('timeline',TJSDocumentTimeline) as IJSDocumentTimeline; end; function TJSDocument._GetrootElement: IJSSVGSVGElement; begin Result:=ReadJSPropertyObject('rootElement',TJSSVGSVGElement) as IJSSVGSVGElement; end; function TJSDocument._Getl10n: IJSObject; begin Result:=ReadJSPropertyObject('l10n',TJSObject) as IJSObject; end; function TJSDocument._GethasPendingL10nMutations: Boolean; begin Result:=ReadJSPropertyBoolean('hasPendingL10nMutations'); end; function TJSDocument._GetfeaturePolicy: IJSFeaturePolicy; begin Result:=ReadJSPropertyObject('featurePolicy',TJSFeaturePolicy) as IJSFeaturePolicy; end; function TJSDocument._GetfragmentDirective: IJSFragmentDirective; begin Result:=ReadJSPropertyObject('fragmentDirective',TJSFragmentDirective) as IJSFragmentDirective; end; function TJSDocument._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSDocument._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSDocument._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSDocument._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSDocument._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSDocument._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSDocument._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSDocument._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSDocument._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSDocument._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSDocument._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSDocument._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSDocument._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSDocument._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSDocument._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSDocument._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSDocument._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSDocument._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSDocument._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSDocument._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSDocument._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSDocument._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSDocument._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSDocument._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSDocument._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSDocument._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSDocument._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSDocument._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSDocument._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSDocument._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSDocument._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSDocument._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSDocument._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSDocument._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSDocument._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSDocument._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSDocument._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSDocument._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSDocument._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSDocument._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSDocument._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSDocument._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSDocument._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSDocument._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSDocument._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSDocument._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSDocument._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSDocument._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSDocument._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSDocument._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSDocument._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSDocument._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSDocument._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSDocument._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSDocument._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSDocument._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSDocument._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSDocument._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSDocument._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSDocument._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSDocument._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSDocument._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSDocument._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSDocument._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSDocument._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSDocument._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSDocument._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSDocument._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSDocument._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSDocument._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSDocument._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSDocument._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSDocument._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSDocument._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSDocument._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSDocument._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSDocument._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSDocument._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSDocument._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSDocument._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSDocument._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSDocument._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSDocument._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSDocument._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSDocument._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSDocument._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSDocument._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSDocument._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSDocument._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSDocument._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSDocument._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSDocument._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSDocument._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSDocument._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSDocument._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSDocument._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; function TJSDocument._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSDocument._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSDocument._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSDocument._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; function TJSDocument._Getchildren: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('children',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument._GetfirstElementChild: IJSElement; begin Result:=ReadJSPropertyObject('firstElementChild',TJSElement) as IJSElement; end; function TJSDocument._GetlastElementChild: IJSElement; begin Result:=ReadJSPropertyObject('lastElementChild',TJSElement) as IJSElement; end; function TJSDocument._GetchildElementCount: Cardinal; begin Result:=ReadJSPropertyInt64('childElementCount'); end; function TJSDocument._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSDocument._Getfonts: IJSFontFaceSet; begin Result:=ReadJSPropertyObject('fonts',TJSFontFaceSet) as IJSFontFaceSet; end; function TJSDocument._GetactiveElement: IJSElement; begin Result:=ReadJSPropertyObject('activeElement',TJSElement) as IJSElement; end; function TJSDocument._GetstyleSheets: IJSStyleSheetList; begin Result:=ReadJSPropertyObject('styleSheets',TJSStyleSheetList) as IJSStyleSheetList; end; function TJSDocument._GetpointerLockElement: IJSElement; begin Result:=ReadJSPropertyObject('pointerLockElement',TJSElement) as IJSElement; end; function TJSDocument._GetfullscreenElement: IJSElement; begin Result:=ReadJSPropertyObject('fullscreenElement',TJSElement) as IJSElement; end; function TJSDocument._GetmozFullScreenElement: IJSElement; begin Result:=ReadJSPropertyObject('mozFullScreenElement',TJSElement) as IJSElement; end; function TJSDocument._GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; begin Result:=ReadJSPropertyObject('adoptedStyleSheets',TJSArray) as TJSCSSStyleSheetDynArray; end; procedure TJSDocument._Setdomain(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('domain',aValue); end; procedure TJSDocument._Setcookie(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cookie',aValue); end; procedure TJSDocument._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; procedure TJSDocument._Setdir(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dir',aValue); end; procedure TJSDocument._Setbody(const aValue : IJSHTMLElement); begin WriteJSPropertyObject('body',aValue); end; procedure TJSDocument._SetdesignMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('designMode',aValue); end; procedure TJSDocument._Setonreadystatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreadystatechange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonbeforescriptexecute(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforescriptexecute',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonafterscriptexecute(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onafterscriptexecute',[m],jiSet); finally m.free end; end; procedure TJSDocument._SetfgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fgColor',aValue); end; procedure TJSDocument._SetlinkColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('linkColor',aValue); end; procedure TJSDocument._SetvlinkColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vlinkColor',aValue); end; procedure TJSDocument._SetalinkColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('alinkColor',aValue); end; procedure TJSDocument._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; procedure TJSDocument._Setonfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerlockchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerlockchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerlockerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerlockerror',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonvisibilitychange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvisibilitychange',[m],jiSet); finally m.free end; end; procedure TJSDocument._SetselectedStyleSheetSet(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('selectedStyleSheetSet',aValue); end; procedure TJSDocument._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; procedure TJSDocument._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSDocument._SetadoptedStyleSheets(const aValue : TJSCSSStyleSheetDynArray); begin WriteJSPropertyObject('adoptedStyleSheets',aValue); end; constructor TJSDocument.Create; begin JOBCreate([]); end; function TJSDocument.getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByTagName',[aLocalName],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument.getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByTagNameNS',[aNamespace,aLocalName],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument.getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByClassName',[aClassNames],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocument.createElement(const aLocalName: UnicodeString; const aOptions: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('createElement',[aLocalName,aOptions],TJSElement) as IJSElement; end; function TJSDocument.createElement(const aLocalName: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('createElement',[aLocalName],TJSElement) as IJSElement; end; function TJSDocument.createElement(const aLocalName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; begin Result:=InvokeJSObjectResult('createElement',[aLocalName,aOptions],TJSElement) as IJSElement; end; function TJSDocument.createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('createElementNS',[aNamespace,aQualifiedName,aOptions],TJSElement) as IJSElement; end; function TJSDocument.createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('createElementNS',[aNamespace,aQualifiedName],TJSElement) as IJSElement; end; function TJSDocument.createElementNS(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; const aOptions: IJSElementCreationOptions): IJSElement; begin Result:=InvokeJSObjectResult('createElementNS',[aNamespace,aQualifiedName,aOptions],TJSElement) as IJSElement; end; function TJSDocument.createDocumentFragment: IJSDocumentFragment; begin Result:=InvokeJSObjectResult('createDocumentFragment',[],TJSDocumentFragment) as IJSDocumentFragment; end; function TJSDocument.createTextNode(const aData: UnicodeString): IJSText; begin Result:=InvokeJSObjectResult('createTextNode',[aData],TJSText) as IJSText; end; function TJSDocument.createComment(const aData: UnicodeString): IJSComment; begin Result:=InvokeJSObjectResult('createComment',[aData],TJSComment) as IJSComment; end; function TJSDocument.createProcessingInstruction(const aTarget: UnicodeString; const aData: UnicodeString): IJSProcessingInstruction; begin Result:=InvokeJSObjectResult('createProcessingInstruction',[aTarget,aData],TJSProcessingInstruction) as IJSProcessingInstruction; end; function TJSDocument.importNode(aNode: IJSNode; aDeep: Boolean): IJSNode; begin Result:=InvokeJSObjectResult('importNode',[aNode,aDeep],TJSNode) as IJSNode; end; function TJSDocument.importNode(aNode: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('importNode',[aNode],TJSNode) as IJSNode; end; function TJSDocument.adoptNode(aNode: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('adoptNode',[aNode],TJSNode) as IJSNode; end; function TJSDocument.createEvent(const aInterface_: UnicodeString): IJSEvent; begin Result:=InvokeJSObjectResult('createEvent',[aInterface_],TJSEvent) as IJSEvent; end; function TJSDocument.createRange: IJSRange; begin Result:=InvokeJSObjectResult('createRange',[],TJSRange) as IJSRange; end; function TJSDocument.createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSNodeIterator; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFilter),@JOBCallNodeFilter); try Result:=InvokeJSObjectResult('createNodeIterator',[aRoot,aWhatToShow,m],TJSNodeIterator) as IJSNodeIterator; finally m.free; end; end; function TJSDocument.createNodeIterator(aRoot: IJSNode): IJSNodeIterator; begin Result:=InvokeJSObjectResult('createNodeIterator',[aRoot],TJSNodeIterator) as IJSNodeIterator; end; function TJSDocument.createNodeIterator(aRoot: IJSNode; aWhatToShow: Cardinal): IJSNodeIterator; begin Result:=InvokeJSObjectResult('createNodeIterator',[aRoot,aWhatToShow],TJSNodeIterator) as IJSNodeIterator; end; function TJSDocument.createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal; const aFilter: TNodeFilter): IJSTreeWalker; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFilter),@JOBCallNodeFilter); try Result:=InvokeJSObjectResult('createTreeWalker',[aRoot,aWhatToShow,m],TJSTreeWalker) as IJSTreeWalker; finally m.free; end; end; function TJSDocument.createTreeWalker(aRoot: IJSNode): IJSTreeWalker; begin Result:=InvokeJSObjectResult('createTreeWalker',[aRoot],TJSTreeWalker) as IJSTreeWalker; end; function TJSDocument.createTreeWalker(aRoot: IJSNode; aWhatToShow: Cardinal): IJSTreeWalker; begin Result:=InvokeJSObjectResult('createTreeWalker',[aRoot,aWhatToShow],TJSTreeWalker) as IJSTreeWalker; end; function TJSDocument.createCDATASection(const aData: UnicodeString): IJSCDATASection; begin Result:=InvokeJSObjectResult('createCDATASection',[aData],TJSCDATASection) as IJSCDATASection; end; function TJSDocument.createAttribute(const aName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('createAttribute',[aName],TJSAttr) as IJSAttr; end; function TJSDocument.createAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('createAttributeNS',[aNamespace,aName],TJSAttr) as IJSAttr; end; function TJSDocument.parseHTMLUnsafe(const aHtml: UnicodeString): IJSDocument; begin Result:=InvokeJSObjectResult('parseHTMLUnsafe',[aHtml],TJSDocument) as IJSDocument; end; function TJSDocument.getElementsByName(const aElementName: UnicodeString): IJSNodeList; begin Result:=InvokeJSObjectResult('getElementsByName',[aElementName],TJSNodeList) as IJSNodeList; end; function TJSDocument.open(const aUnused1: UnicodeString; const aUnused2: UnicodeString): IJSDocument; begin Result:=InvokeJSObjectResult('open',[aUnused1,aUnused2],TJSDocument) as IJSDocument; end; function TJSDocument.open: IJSDocument; begin Result:=InvokeJSObjectResult('open',[],TJSDocument) as IJSDocument; end; function TJSDocument.open(const aUnused1: UnicodeString): IJSDocument; begin Result:=InvokeJSObjectResult('open',[aUnused1],TJSDocument) as IJSDocument; end; function TJSDocument.open(const aUrl: UnicodeString; const aName: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; begin Result:=InvokeJSObjectResult('open',[aUrl,aName,aFeatures],TJSWindowProxy) as IJSWindowProxy; end; procedure TJSDocument.close; begin InvokeJSNoResult('close',[]); end; procedure TJSDocument.write(const aText: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('write',[aText]); end; procedure TJSDocument.writeln(const aText: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('writeln',[aText]); end; function TJSDocument.hasFocus: Boolean; begin Result:=InvokeJSBooleanResult('hasFocus',[]); end; function TJSDocument.execCommand(const aCommandId: UnicodeString; aShowUI: Boolean; const aValue: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('execCommand',[aCommandId,aShowUI,aValue]); end; function TJSDocument.execCommand(const aCommandId: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('execCommand',[aCommandId]); end; function TJSDocument.execCommand(const aCommandId: UnicodeString; aShowUI: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('execCommand',[aCommandId,aShowUI]); end; function TJSDocument.queryCommandEnabled(const aCommandId: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('queryCommandEnabled',[aCommandId]); end; function TJSDocument.queryCommandIndeterm(const aCommandId: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('queryCommandIndeterm',[aCommandId]); end; function TJSDocument.queryCommandState(const aCommandId: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('queryCommandState',[aCommandId]); end; function TJSDocument.queryCommandSupported(const aCommandId: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('queryCommandSupported',[aCommandId]); end; function TJSDocument.queryCommandValue(const aCommandId: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('queryCommandValue',[aCommandId]); end; procedure TJSDocument.releaseCapture; begin InvokeJSNoResult('releaseCapture',[]); end; procedure TJSDocument.mozSetImageElement(const aAImageElementId: UnicodeString; aAImageElement: IJSElement); begin InvokeJSNoResult('mozSetImageElement',[aAImageElementId,aAImageElement]); end; procedure TJSDocument.clear; begin InvokeJSNoResult('clear',[]); end; procedure TJSDocument.captureEvents; begin InvokeJSNoResult('captureEvents',[]); end; procedure TJSDocument.releaseEvents; begin InvokeJSNoResult('releaseEvents',[]); end; function TJSDocument.exitFullscreen: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('exitFullscreen',[],TJSPromise) as IJSPromise; end; function TJSDocument.mozCancelFullScreen: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mozCancelFullScreen',[],TJSPromise) as IJSPromise; end; procedure TJSDocument.exitPointerLock; begin InvokeJSNoResult('exitPointerLock',[]); end; function TJSDocument.addCertException(aIsTemporary: Boolean): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addCertException',[aIsTemporary],TJSPromise) as IJSPromise; end; procedure TJSDocument.reloadWithHttpsOnlyException; begin InvokeJSNoResult('reloadWithHttpsOnlyException',[]); end; function TJSDocument.getFailedCertSecurityInfo: IJSFailedCertSecurityInfo; begin Result:=InvokeJSObjectResult('getFailedCertSecurityInfo',[],TJSFailedCertSecurityInfo) as IJSFailedCertSecurityInfo; end; function TJSDocument.getNetErrorInfo: IJSNetErrorInfo; begin Result:=InvokeJSObjectResult('getNetErrorInfo',[],TJSNetErrorInfo) as IJSNetErrorInfo; end; procedure TJSDocument.enableStyleSheetsForSet(const aName: UnicodeString); begin InvokeJSNoResult('enableStyleSheetsForSet',[aName]); end; function TJSDocument.caretPositionFromPoint(aX: Single; aY: Single): IJSCaretPosition; begin Result:=InvokeJSObjectResult('caretPositionFromPoint',[aX,aY],TJSCaretPosition) as IJSCaretPosition; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single; aForce: Single): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX,aClientY,aRadiusX,aRadiusY,aRotationAngle,aForce],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch: IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX,aClientY],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX,aClientY,aRadiusX],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX,aClientY,aRadiusX,aRadiusY],TJSTouch) as IJSTouch; end; function TJSDocument.createTouch(aView: IJSWindow; aTarget: IJSEventTarget; aIdentifier: LongInt; aPageX: LongInt; aPageY: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aRadiusX: LongInt; aRadiusY: LongInt; aRotationAngle: Single): IJSTouch; begin Result:=InvokeJSObjectResult('createTouch',[aView,aTarget,aIdentifier,aPageX,aPageY,aScreenX,aScreenY,aClientX,aClientY,aRadiusX,aRadiusY,aRotationAngle],TJSTouch) as IJSTouch; end; function TJSDocument.createTouchList(aTouch: IJSTouch; aTouches: IJSTouch): IJSTouchList{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('createTouchList',[aTouch,aTouches],TJSTouchList) as IJSTouchList; end; function TJSDocument.createTouchList: IJSTouchList; begin Result:=InvokeJSObjectResult('createTouchList',[],TJSTouchList) as IJSTouchList; end; function TJSDocument.createTouchList(const aTouches: TJSTouchDynArray): IJSTouchList; begin Result:=InvokeJSObjectResult('createTouchList',[aTouches],TJSTouchList) as IJSTouchList; end; procedure TJSDocument.blockUnblockOnload(aBlock: Boolean); begin InvokeJSNoResult('blockUnblockOnload',[aBlock]); end; function TJSDocument.getSelection: IJSSelection; begin Result:=InvokeJSObjectResult('getSelection',[],TJSSelection) as IJSSelection; end; function TJSDocument.hasStorageAccess: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('hasStorageAccess',[],TJSPromise) as IJSPromise; end; function TJSDocument.requestStorageAccess: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestStorageAccess',[],TJSPromise) as IJSPromise; end; function TJSDocument.requestStorageAccessUnderSite(const aSerializedSite: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestStorageAccessUnderSite',[aSerializedSite],TJSPromise) as IJSPromise; end; function TJSDocument.completeStorageAccessRequestFromSite(const aSerializedSite: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('completeStorageAccessRequestFromSite',[aSerializedSite],TJSPromise) as IJSPromise; end; function TJSDocument.requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString; aRequireUserInteraction: Boolean): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestStorageAccessForOrigin',[aThirdPartyOrigin,aRequireUserInteraction],TJSPromise) as IJSPromise; end; function TJSDocument.requestStorageAccessForOrigin(const aThirdPartyOrigin: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestStorageAccessForOrigin',[aThirdPartyOrigin],TJSPromise) as IJSPromise; end; function TJSDocument.createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('createExpression',[aExpression,m],TJSXPathExpression) as IJSXPathExpression; finally m.free; end; end; function TJSDocument.createExpression(const aExpression: UnicodeString): IJSXPathExpression; begin Result:=InvokeJSObjectResult('createExpression',[aExpression],TJSXPathExpression) as IJSXPathExpression; end; function TJSDocument.createNSResolver(aNodeResolver: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('createNSResolver',[aNodeResolver],TJSNode) as IJSNode; end; function TJSDocument.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m,aType_,aResult],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; function TJSDocument.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; begin Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode],TJSXPathResult) as IJSXPathResult; end; function TJSDocument.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; function TJSDocument.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m,aType_],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; procedure TJSDocument.prepend(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSDocument.prepend(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSDocument.append(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSDocument.append(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSDocument.replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; procedure TJSDocument.replaceChildren(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; function TJSDocument.querySelector(const aSelectors: UTF8String): IJSElement; begin Result:=InvokeJSObjectResult('querySelector',[aSelectors],TJSElement) as IJSElement; end; function TJSDocument.querySelectorAll(const aSelectors: UTF8String): IJSNodeList; begin Result:=InvokeJSObjectResult('querySelectorAll',[aSelectors],TJSNodeList) as IJSNodeList; end; function TJSDocument.getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[aOptions],TJSArray) as TJSDOMQuadDynArray; end; function TJSDocument.getBoxQuads: TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[],TJSArray) as TJSDOMQuadDynArray; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSDocument.elementFromPoint(aX: Single; aY: Single): IJSElement; begin Result:=InvokeJSObjectResult('elementFromPoint',[aX,aY],TJSElement) as IJSElement; end; function TJSDocument.elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; begin Result:=InvokeJSObjectResult('elementsFromPoint',[aX,aY],TJSArray) as TJSElementDynArray; end; function TJSDocument.getAnimations: TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[],TJSArray) as TJSAnimationDynArray; end; function TJSDocument.getElementById(const aElementId: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('getElementById',[aElementId],TJSElement) as IJSElement; end; class function TJSDocument.JSClassName: UnicodeString; begin Result:='Document'; end; class function TJSDocument.Cast(const Intf: IJSObject): IJSDocument; begin Result:=TJSDocument.JOBCast(Intf); end; function TJSBlockParsingOptions._GetblockScriptCreated: Boolean; begin Result:=ReadJSPropertyBoolean('blockScriptCreated'); end; procedure TJSBlockParsingOptions._SetblockScriptCreated(const aValue : Boolean); begin WriteJSPropertyBoolean('blockScriptCreated',aValue); end; constructor TJSBlockParsingOptions.create(const aDict : TJSBlockParsingOptionsRec); overload; begin Self.blockScriptCreated:=aDict.blockScriptCreated; end; class function TJSBlockParsingOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBlockParsingOptions.Cast(const Intf: IJSObject): IJSBlockParsingOptions; begin Result:=TJSBlockParsingOptions.JOBCast(Intf); end; function TJSWireframeTaggedRect._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSWireframeTaggedRect._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSWireframeTaggedRect._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSWireframeTaggedRect._Getheight: Double; begin Result:=ReadJSPropertyDouble('height'); end; function TJSWireframeTaggedRect._Getcolor: Cardinal; begin Result:=ReadJSPropertyInt64('color'); end; function TJSWireframeTaggedRect._Gettype_: TWireframeRectType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSWireframeTaggedRect._Getnode: IJSNode; begin Result:=ReadJSPropertyObject('node',TJSNode) as IJSNode; end; procedure TJSWireframeTaggedRect._Setx(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSWireframeTaggedRect._Sety(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSWireframeTaggedRect._Setwidth(const aValue : Double); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSWireframeTaggedRect._Setheight(const aValue : Double); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSWireframeTaggedRect._Setcolor(const aValue : Cardinal); begin WriteJSPropertyDouble('color',aValue); end; procedure TJSWireframeTaggedRect._Settype_(const aValue : TWireframeRectType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSWireframeTaggedRect._Setnode(const aValue : IJSNode); begin WriteJSPropertyObject('node',aValue); end; constructor TJSWireframeTaggedRect.create(const aDict : TJSWireframeTaggedRectRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; Self.width:=aDict.width; Self.height:=aDict.height; Self.color:=aDict.color; Self.type_:=aDict.type_; Self.node:=aDict.node; end; class function TJSWireframeTaggedRect.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWireframeTaggedRect.Cast(const Intf: IJSObject): IJSWireframeTaggedRect; begin Result:=TJSWireframeTaggedRect.JOBCast(Intf); end; function TJSWireframe._GetcanvasBackground: Cardinal; begin Result:=ReadJSPropertyInt64('canvasBackground'); end; function TJSWireframe._Getrects: TJSWireframeTaggedRectDynArray; begin Result:=ReadJSPropertyObject('rects',TJSArray) as TJSWireframeTaggedRectDynArray; end; function TJSWireframe._Getversion: Cardinal; begin Result:=ReadJSPropertyInt64('version'); end; procedure TJSWireframe._SetcanvasBackground(const aValue : Cardinal); begin WriteJSPropertyDouble('canvasBackground',aValue); end; procedure TJSWireframe._Setrects(const aValue : TJSWireframeTaggedRectDynArray); begin WriteJSPropertyObject('rects',aValue); end; procedure TJSWireframe._Setversion(const aValue : Cardinal); begin WriteJSPropertyDouble('version',aValue); end; constructor TJSWireframe.create(const aDict : TJSWireframeRec); overload; begin Self.canvasBackground:=aDict.canvasBackground; Self.rects:=aDict.rects; Self.version:=aDict.version; end; class function TJSWireframe.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWireframe.Cast(const Intf: IJSObject): IJSWireframe; begin Result:=TJSWireframe.JOBCast(Intf); end; function TJSDocumentFragment._Getchildren: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('children',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSDocumentFragment._GetfirstElementChild: IJSElement; begin Result:=ReadJSPropertyObject('firstElementChild',TJSElement) as IJSElement; end; function TJSDocumentFragment._GetlastElementChild: IJSElement; begin Result:=ReadJSPropertyObject('lastElementChild',TJSElement) as IJSElement; end; function TJSDocumentFragment._GetchildElementCount: Cardinal; begin Result:=ReadJSPropertyInt64('childElementCount'); end; constructor TJSDocumentFragment.Create; begin JOBCreate([]); end; procedure TJSDocumentFragment.prepend(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSDocumentFragment.prepend(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSDocumentFragment.append(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSDocumentFragment.append(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSDocumentFragment.replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; procedure TJSDocumentFragment.replaceChildren(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; function TJSDocumentFragment.querySelector(const aSelectors: UTF8String): IJSElement; begin Result:=InvokeJSObjectResult('querySelector',[aSelectors],TJSElement) as IJSElement; end; function TJSDocumentFragment.querySelectorAll(const aSelectors: UTF8String): IJSNodeList; begin Result:=InvokeJSObjectResult('querySelectorAll',[aSelectors],TJSNodeList) as IJSNodeList; end; function TJSDocumentFragment.getElementById(const aElementId: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('getElementById',[aElementId],TJSElement) as IJSElement; end; class function TJSDocumentFragment.JSClassName: UnicodeString; begin Result:='DocumentFragment'; end; class function TJSDocumentFragment.Cast(const Intf: IJSObject): IJSDocumentFragment; begin Result:=TJSDocumentFragment.JOBCast(Intf); end; function TJSDocumentOrShadowRoot._GetactiveElement: IJSElement; begin Result:=ReadJSPropertyObject('activeElement',TJSElement) as IJSElement; end; function TJSDocumentOrShadowRoot._GetstyleSheets: IJSStyleSheetList; begin Result:=ReadJSPropertyObject('styleSheets',TJSStyleSheetList) as IJSStyleSheetList; end; function TJSDocumentOrShadowRoot._GetpointerLockElement: IJSElement; begin Result:=ReadJSPropertyObject('pointerLockElement',TJSElement) as IJSElement; end; function TJSDocumentOrShadowRoot._GetfullscreenElement: IJSElement; begin Result:=ReadJSPropertyObject('fullscreenElement',TJSElement) as IJSElement; end; function TJSDocumentOrShadowRoot._GetmozFullScreenElement: IJSElement; begin Result:=ReadJSPropertyObject('mozFullScreenElement',TJSElement) as IJSElement; end; function TJSDocumentOrShadowRoot._GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; begin Result:=ReadJSPropertyObject('adoptedStyleSheets',TJSArray) as TJSCSSStyleSheetDynArray; end; procedure TJSDocumentOrShadowRoot._SetadoptedStyleSheets(const aValue : TJSCSSStyleSheetDynArray); begin WriteJSPropertyObject('adoptedStyleSheets',aValue); end; function TJSDocumentOrShadowRoot.elementFromPoint(aX: Single; aY: Single): IJSElement; begin Result:=InvokeJSObjectResult('elementFromPoint',[aX,aY],TJSElement) as IJSElement; end; function TJSDocumentOrShadowRoot.elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; begin Result:=InvokeJSObjectResult('elementsFromPoint',[aX,aY],TJSArray) as TJSElementDynArray; end; function TJSDocumentOrShadowRoot.getAnimations: TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[],TJSArray) as TJSAnimationDynArray; end; class function TJSDocumentOrShadowRoot.JSClassName: UnicodeString; begin Result:='DocumentOrShadowRoot'; end; class function TJSDocumentOrShadowRoot.Cast(const Intf: IJSObject): IJSDocumentOrShadowRoot; begin Result:=TJSDocumentOrShadowRoot.JOBCast(Intf); end; function TJSDocumentTimelineOptions._GetoriginTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('originTime'); end; procedure TJSDocumentTimelineOptions._SetoriginTime(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('originTime',aValue); end; constructor TJSDocumentTimelineOptions.create(const aDict : TJSDocumentTimelineOptionsRec); overload; begin Self.originTime:=aDict.originTime; end; class function TJSDocumentTimelineOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDocumentTimelineOptions.Cast(const Intf: IJSObject): IJSDocumentTimelineOptions; begin Result:=TJSDocumentTimelineOptions.JOBCast(Intf); end; constructor TJSDocumentTimeline.Create(const aOptions: IJSDocumentTimelineOptions); begin JOBCreate([aOptions]); end; constructor TJSDocumentTimeline.Create; begin JOBCreate([]); end; class function TJSDocumentTimeline.JSClassName: UnicodeString; begin Result:='DocumentTimeline'; end; class function TJSDocumentTimeline.Cast(const Intf: IJSObject): IJSDocumentTimeline; begin Result:=TJSDocumentTimeline.JOBCast(Intf); end; function TJSDocumentType._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSDocumentType._GetpublicId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('publicId'); end; function TJSDocumentType._GetsystemId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('systemId'); end; procedure TJSDocumentType.before(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSDocumentType.before(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSDocumentType.after(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSDocumentType.after(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSDocumentType.replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSDocumentType.replaceWith(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSDocumentType.remove; begin InvokeJSNoResult('remove',[]); end; class function TJSDocumentType.JSClassName: UnicodeString; begin Result:='DocumentType'; end; class function TJSDocumentType.Cast(const Intf: IJSObject): IJSDocumentType; begin Result:=TJSDocumentType.JOBCast(Intf); end; class function TJSStackFrame.JSClassName: UnicodeString; begin Result:='StackFrame'; end; class function TJSStackFrame.Cast(const Intf: IJSObject): IJSStackFrame; begin Result:=TJSStackFrame.JOBCast(Intf); end; function TJSExceptionMembers._Getresult: Cardinal; begin Result:=ReadJSPropertyInt64('result'); end; function TJSExceptionMembers._Getfilename: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('filename'); end; function TJSExceptionMembers._GetlineNumber: Cardinal; begin Result:=ReadJSPropertyInt64('lineNumber'); end; function TJSExceptionMembers._GetcolumnNumber: Cardinal; begin Result:=ReadJSPropertyInt64('columnNumber'); end; function TJSExceptionMembers._Getdata: IJSnsISupports; begin Result:=ReadJSPropertyObject('data',TJSnsISupports) as IJSnsISupports; end; function TJSExceptionMembers._Getstack: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('stack'); end; class function TJSExceptionMembers.JSClassName: UnicodeString; begin Result:='ExceptionMembers'; end; class function TJSExceptionMembers.Cast(const Intf: IJSObject): IJSExceptionMembers; begin Result:=TJSExceptionMembers.JOBCast(Intf); end; function TJSException._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSException._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSException.JSClassName: UnicodeString; begin Result:='Exception'; end; class function TJSException.Cast(const Intf: IJSObject): IJSException; begin Result:=TJSException.JOBCast(Intf); end; function TJSDOMException._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSDOMException._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSDOMException._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; constructor TJSDOMException.Create(const aMessage: UnicodeString; const aName: UnicodeString); begin JOBCreate([aMessage,aName]); end; constructor TJSDOMException.Create; begin JOBCreate([]); end; constructor TJSDOMException.Create(const aMessage: UnicodeString); begin JOBCreate([aMessage]); end; class function TJSDOMException.JSClassName: UnicodeString; begin Result:='DOMException'; end; class function TJSDOMException.Cast(const Intf: IJSObject): IJSDOMException; begin Result:=TJSDOMException.JOBCast(Intf); end; function TJSDOMImplementation.hasFeature: Boolean; begin Result:=InvokeJSBooleanResult('hasFeature',[]); end; function TJSDOMImplementation.createDocumentType(const aQualifiedName: UnicodeString; const aPublicId: UnicodeString; const aSystemId: UnicodeString): IJSDocumentType; begin Result:=InvokeJSObjectResult('createDocumentType',[aQualifiedName,aPublicId,aSystemId],TJSDocumentType) as IJSDocumentType; end; function TJSDOMImplementation.createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString; aDoctype: IJSDocumentType): IJSDocument; begin Result:=InvokeJSObjectResult('createDocument',[aNamespace,aQualifiedName,aDoctype],TJSDocument) as IJSDocument; end; function TJSDOMImplementation.createDocument(const aNamespace: UnicodeString; const aQualifiedName: UnicodeString): IJSDocument; begin Result:=InvokeJSObjectResult('createDocument',[aNamespace,aQualifiedName],TJSDocument) as IJSDocument; end; function TJSDOMImplementation.createHTMLDocument(const aTitle: UnicodeString): IJSDocument; begin Result:=InvokeJSObjectResult('createHTMLDocument',[aTitle],TJSDocument) as IJSDocument; end; function TJSDOMImplementation.createHTMLDocument: IJSDocument; begin Result:=InvokeJSObjectResult('createHTMLDocument',[],TJSDocument) as IJSDocument; end; class function TJSDOMImplementation.JSClassName: UnicodeString; begin Result:='DOMImplementation'; end; class function TJSDOMImplementation.Cast(const Intf: IJSObject): IJSDOMImplementation; begin Result:=TJSDOMImplementation.JOBCast(Intf); end; constructor TJSDOMLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject; const aALocales: TUTF8StringDynArray); begin JOBCreate([aAResourceIds,aASync,aARegistry,aALocales]); end; constructor TJSDOMLocalization.Create(const aAResourceIds: TDOMStringDynArray); begin JOBCreate([aAResourceIds]); end; constructor TJSDOMLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean); begin JOBCreate([aAResourceIds,aASync]); end; constructor TJSDOMLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject); begin JOBCreate([aAResourceIds,aASync,aARegistry]); end; procedure TJSDOMLocalization.connectRoot(aAElement: IJSNode); begin InvokeJSNoResult('connectRoot',[aAElement]); end; procedure TJSDOMLocalization.disconnectRoot(aAElement: IJSNode); begin InvokeJSNoResult('disconnectRoot',[aAElement]); end; procedure TJSDOMLocalization.pauseObserving; begin InvokeJSNoResult('pauseObserving',[]); end; procedure TJSDOMLocalization.resumeObserving; begin InvokeJSNoResult('resumeObserving',[]); end; procedure TJSDOMLocalization.setAttributes(aAElement: IJSElement; const aAId: UnicodeString; aAArgs: IJSObject); begin InvokeJSNoResult('setAttributes',[aAElement,aAId,aAArgs]); end; procedure TJSDOMLocalization.setAttributes(aAElement: IJSElement; const aAId: UnicodeString); begin InvokeJSNoResult('setAttributes',[aAElement,aAId]); end; function TJSDOMLocalization.getAttributes(aAElement: IJSElement): IJSL10nIdArgs; begin Result:=InvokeJSObjectResult('getAttributes',[aAElement],TJSL10nIdArgs) as IJSL10nIdArgs; end; procedure TJSDOMLocalization.setArgs(aAElement: IJSElement; aAArgs: IJSObject); begin InvokeJSNoResult('setArgs',[aAElement,aAArgs]); end; procedure TJSDOMLocalization.setArgs(aAElement: IJSElement); begin InvokeJSNoResult('setArgs',[aAElement]); end; function TJSDOMLocalization.translateFragment(aANode: IJSNode): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('translateFragment',[aANode],TJSPromise) as IJSPromise; end; function TJSDOMLocalization.translateElements(const aAElements: TJSElementDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('translateElements',[aAElements],TJSPromise) as IJSPromise; end; function TJSDOMLocalization.translateRoots: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('translateRoots',[],TJSPromise) as IJSPromise; end; class function TJSDOMLocalization.JSClassName: UnicodeString; begin Result:='DOMLocalization'; end; class function TJSDOMLocalization.Cast(const Intf: IJSObject): IJSDOMLocalization; begin Result:=TJSDOMLocalization.JOBCast(Intf); end; function TJSDOMMatrixReadOnly._Geta: Double; begin Result:=ReadJSPropertyDouble('a'); end; function TJSDOMMatrixReadOnly._Getb: Double; begin Result:=ReadJSPropertyDouble('b'); end; function TJSDOMMatrixReadOnly._Getc: Double; begin Result:=ReadJSPropertyDouble('c'); end; function TJSDOMMatrixReadOnly._Getd: Double; begin Result:=ReadJSPropertyDouble('d'); end; function TJSDOMMatrixReadOnly._Gete: Double; begin Result:=ReadJSPropertyDouble('e'); end; function TJSDOMMatrixReadOnly._Getf: Double; begin Result:=ReadJSPropertyDouble('f'); end; function TJSDOMMatrixReadOnly._Getm11: Double; begin Result:=ReadJSPropertyDouble('m11'); end; function TJSDOMMatrixReadOnly._Getm12: Double; begin Result:=ReadJSPropertyDouble('m12'); end; function TJSDOMMatrixReadOnly._Getm13: Double; begin Result:=ReadJSPropertyDouble('m13'); end; function TJSDOMMatrixReadOnly._Getm14: Double; begin Result:=ReadJSPropertyDouble('m14'); end; function TJSDOMMatrixReadOnly._Getm21: Double; begin Result:=ReadJSPropertyDouble('m21'); end; function TJSDOMMatrixReadOnly._Getm22: Double; begin Result:=ReadJSPropertyDouble('m22'); end; function TJSDOMMatrixReadOnly._Getm23: Double; begin Result:=ReadJSPropertyDouble('m23'); end; function TJSDOMMatrixReadOnly._Getm24: Double; begin Result:=ReadJSPropertyDouble('m24'); end; function TJSDOMMatrixReadOnly._Getm31: Double; begin Result:=ReadJSPropertyDouble('m31'); end; function TJSDOMMatrixReadOnly._Getm32: Double; begin Result:=ReadJSPropertyDouble('m32'); end; function TJSDOMMatrixReadOnly._Getm33: Double; begin Result:=ReadJSPropertyDouble('m33'); end; function TJSDOMMatrixReadOnly._Getm34: Double; begin Result:=ReadJSPropertyDouble('m34'); end; function TJSDOMMatrixReadOnly._Getm41: Double; begin Result:=ReadJSPropertyDouble('m41'); end; function TJSDOMMatrixReadOnly._Getm42: Double; begin Result:=ReadJSPropertyDouble('m42'); end; function TJSDOMMatrixReadOnly._Getm43: Double; begin Result:=ReadJSPropertyDouble('m43'); end; function TJSDOMMatrixReadOnly._Getm44: Double; begin Result:=ReadJSPropertyDouble('m44'); end; function TJSDOMMatrixReadOnly._Getis2D: Boolean; begin Result:=ReadJSPropertyBoolean('is2D'); end; function TJSDOMMatrixReadOnly._GetisIdentity: Boolean; begin Result:=ReadJSPropertyBoolean('isIdentity'); end; constructor TJSDOMMatrixReadOnly.Create(aInit: IJSDOMMatrixReadOnly); begin JOBCreate([aInit]); end; constructor TJSDOMMatrixReadOnly.Create; begin JOBCreate([]); end; constructor TJSDOMMatrixReadOnly.Create(const aInit: TDoubleDynArray); begin JOBCreate([aInit]); end; constructor TJSDOMMatrixReadOnly.Create(const aInit: UTF8String); begin JOBCreate([aInit]); end; function TJSDOMMatrixReadOnly.fromMatrix(const aOther: IJSDOMMatrixInit): IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('fromMatrix',[aOther],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSDOMMatrixReadOnly.fromMatrix: IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('fromMatrix',[],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSDOMMatrixReadOnly.fromFloat32Array(aArray32: IJSFloat32Array): IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('fromFloat32Array',[aArray32],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSDOMMatrixReadOnly.fromFloat64Array(aArray64: IJSFloat64Array): IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('fromFloat64Array',[aArray64],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSDOMMatrixReadOnly.translate(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translate',[aTx,aTy,aTz],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.translate: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translate',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.translate(aTx: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translate',[aTx],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.translate(aTx: Double; aTy: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translate',[aTx,aTy],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX,aScaleY,aScaleZ,aOriginX,aOriginY,aOriginZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX,aScaleY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX,aScaleY,aScaleZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX,aScaleY,aScaleZ,aOriginX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleX,aScaleY,aScaleZ,aOriginX,aOriginY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scaleNonUniform(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleNonUniform',[aScaleX,aScaleY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scaleNonUniform: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleNonUniform',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scaleNonUniform(aScaleX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleNonUniform',[aScaleX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale3d(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3d',[aScale,aOriginX,aOriginY,aOriginZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale3d: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3d',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale3d(aScale: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3d',[aScale],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale3d(aScale: Double; aOriginX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3d',[aScale,aOriginX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.scale3d(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3d',[aScale,aOriginX,aOriginY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotate(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotate',[aRotX,aRotY,aRotZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotate: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotate',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotate(aRotX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotate',[aRotX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotate(aRotX: Double; aRotY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotate',[aRotX,aRotY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateFromVector(aX: Double; aY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVector',[aX,aY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateFromVector: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVector',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateFromVector(aX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVector',[aX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateAxisAngle(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngle',[aX,aY,aZ,aAngle],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateAxisAngle: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngle',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateAxisAngle(aX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngle',[aX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateAxisAngle(aX: Double; aY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngle',[aX,aY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.rotateAxisAngle(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngle',[aX,aY,aZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.skewX(aSx: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewX',[aSx],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.skewX: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewX',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.skewY(aSy: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewY',[aSy],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.skewY: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewY',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.multiply(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('multiply',[aOther],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.multiply: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('multiply',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.flipX: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('flipX',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.flipY: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('flipY',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.inverse: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('inverse',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrixReadOnly.transformPoint(const aPoint: IJSDOMPointInit): IJSDOMPoint; begin Result:=InvokeJSObjectResult('transformPoint',[aPoint],TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMMatrixReadOnly.transformPoint: IJSDOMPoint; begin Result:=InvokeJSObjectResult('transformPoint',[],TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMMatrixReadOnly.toFloat32Array: IJSFloat32Array; begin Result:=InvokeJSObjectResult('toFloat32Array',[],TJSFloat32Array) as IJSFloat32Array; end; function TJSDOMMatrixReadOnly.toFloat64Array: IJSFloat64Array; begin Result:=InvokeJSObjectResult('toFloat64Array',[],TJSFloat64Array) as IJSFloat64Array; end; function TJSDOMMatrixReadOnly.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSDOMMatrixReadOnly.JSClassName: UnicodeString; begin Result:='DOMMatrixReadOnly'; end; class function TJSDOMMatrixReadOnly.Cast(const Intf: IJSObject): IJSDOMMatrixReadOnly; begin Result:=TJSDOMMatrixReadOnly.JOBCast(Intf); end; function TJSDOMMatrix._Geta2: Double; begin Result:=ReadJSPropertyDouble('a'); end; function TJSDOMMatrix._Getb2: Double; begin Result:=ReadJSPropertyDouble('b'); end; function TJSDOMMatrix._Getc2: Double; begin Result:=ReadJSPropertyDouble('c'); end; function TJSDOMMatrix._Getd2: Double; begin Result:=ReadJSPropertyDouble('d'); end; function TJSDOMMatrix._Gete2: Double; begin Result:=ReadJSPropertyDouble('e'); end; function TJSDOMMatrix._Getf2: Double; begin Result:=ReadJSPropertyDouble('f'); end; function TJSDOMMatrix._Getm112: Double; begin Result:=ReadJSPropertyDouble('m11'); end; function TJSDOMMatrix._Getm122: Double; begin Result:=ReadJSPropertyDouble('m12'); end; function TJSDOMMatrix._Getm132: Double; begin Result:=ReadJSPropertyDouble('m13'); end; function TJSDOMMatrix._Getm142: Double; begin Result:=ReadJSPropertyDouble('m14'); end; function TJSDOMMatrix._Getm212: Double; begin Result:=ReadJSPropertyDouble('m21'); end; function TJSDOMMatrix._Getm222: Double; begin Result:=ReadJSPropertyDouble('m22'); end; function TJSDOMMatrix._Getm232: Double; begin Result:=ReadJSPropertyDouble('m23'); end; function TJSDOMMatrix._Getm242: Double; begin Result:=ReadJSPropertyDouble('m24'); end; function TJSDOMMatrix._Getm312: Double; begin Result:=ReadJSPropertyDouble('m31'); end; function TJSDOMMatrix._Getm322: Double; begin Result:=ReadJSPropertyDouble('m32'); end; function TJSDOMMatrix._Getm332: Double; begin Result:=ReadJSPropertyDouble('m33'); end; function TJSDOMMatrix._Getm342: Double; begin Result:=ReadJSPropertyDouble('m34'); end; function TJSDOMMatrix._Getm412: Double; begin Result:=ReadJSPropertyDouble('m41'); end; function TJSDOMMatrix._Getm422: Double; begin Result:=ReadJSPropertyDouble('m42'); end; function TJSDOMMatrix._Getm432: Double; begin Result:=ReadJSPropertyDouble('m43'); end; function TJSDOMMatrix._Getm442: Double; begin Result:=ReadJSPropertyDouble('m44'); end; procedure TJSDOMMatrix._Seta2(const aValue : Double); begin WriteJSPropertyDouble('a',aValue); end; procedure TJSDOMMatrix._Setb2(const aValue : Double); begin WriteJSPropertyDouble('b',aValue); end; procedure TJSDOMMatrix._Setc2(const aValue : Double); begin WriteJSPropertyDouble('c',aValue); end; procedure TJSDOMMatrix._Setd2(const aValue : Double); begin WriteJSPropertyDouble('d',aValue); end; procedure TJSDOMMatrix._Sete2(const aValue : Double); begin WriteJSPropertyDouble('e',aValue); end; procedure TJSDOMMatrix._Setf2(const aValue : Double); begin WriteJSPropertyDouble('f',aValue); end; procedure TJSDOMMatrix._Setm112(const aValue : Double); begin WriteJSPropertyDouble('m11',aValue); end; procedure TJSDOMMatrix._Setm122(const aValue : Double); begin WriteJSPropertyDouble('m12',aValue); end; procedure TJSDOMMatrix._Setm132(const aValue : Double); begin WriteJSPropertyDouble('m13',aValue); end; procedure TJSDOMMatrix._Setm142(const aValue : Double); begin WriteJSPropertyDouble('m14',aValue); end; procedure TJSDOMMatrix._Setm212(const aValue : Double); begin WriteJSPropertyDouble('m21',aValue); end; procedure TJSDOMMatrix._Setm222(const aValue : Double); begin WriteJSPropertyDouble('m22',aValue); end; procedure TJSDOMMatrix._Setm232(const aValue : Double); begin WriteJSPropertyDouble('m23',aValue); end; procedure TJSDOMMatrix._Setm242(const aValue : Double); begin WriteJSPropertyDouble('m24',aValue); end; procedure TJSDOMMatrix._Setm312(const aValue : Double); begin WriteJSPropertyDouble('m31',aValue); end; procedure TJSDOMMatrix._Setm322(const aValue : Double); begin WriteJSPropertyDouble('m32',aValue); end; procedure TJSDOMMatrix._Setm332(const aValue : Double); begin WriteJSPropertyDouble('m33',aValue); end; procedure TJSDOMMatrix._Setm342(const aValue : Double); begin WriteJSPropertyDouble('m34',aValue); end; procedure TJSDOMMatrix._Setm412(const aValue : Double); begin WriteJSPropertyDouble('m41',aValue); end; procedure TJSDOMMatrix._Setm422(const aValue : Double); begin WriteJSPropertyDouble('m42',aValue); end; procedure TJSDOMMatrix._Setm432(const aValue : Double); begin WriteJSPropertyDouble('m43',aValue); end; procedure TJSDOMMatrix._Setm442(const aValue : Double); begin WriteJSPropertyDouble('m44',aValue); end; constructor TJSDOMMatrix.Create(aInit: IJSDOMMatrixReadOnly); begin JOBCreate([aInit]); end; constructor TJSDOMMatrix.Create; begin JOBCreate([]); end; constructor TJSDOMMatrix.Create(const aInit: TDoubleDynArray); begin JOBCreate([aInit]); end; constructor TJSDOMMatrix.Create(const aInit: UTF8String); begin JOBCreate([aInit]); end; function TJSDOMMatrix.fromMatrix(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('fromMatrix',[aOther],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.fromMatrix: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('fromMatrix',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.fromFloat32Array(aArray32: IJSFloat32Array): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('fromFloat32Array',[aArray32],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.fromFloat64Array(aArray64: IJSFloat64Array): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('fromFloat64Array',[aArray64],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.multiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('multiplySelf',[aOther],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.multiplySelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('multiplySelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.preMultiplySelf(const aOther: IJSDOMMatrixInit): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('preMultiplySelf',[aOther],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.preMultiplySelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('preMultiplySelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.translateSelf(aTx: Double; aTy: Double; aTz: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translateSelf',[aTx,aTy,aTz],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.translateSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translateSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.translateSelf(aTx: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translateSelf',[aTx],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.translateSelf(aTx: Double; aTy: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('translateSelf',[aTx,aTy],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX,aScaleY,aScaleZ,aOriginX,aOriginY,aOriginZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double; aScaleY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX,aScaleY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX,aScaleY,aScaleZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX,aScaleY,aScaleZ,aOriginX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scaleSelf(aScaleX: Double; aScaleY: Double; aScaleZ: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scaleSelf',[aScaleX,aScaleY,aScaleZ,aOriginX,aOriginY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double; aOriginZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3dSelf',[aScale,aOriginX,aOriginY,aOriginZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scale3dSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3dSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scale3dSelf(aScale: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3dSelf',[aScale],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scale3dSelf(aScale: Double; aOriginX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3dSelf',[aScale,aOriginX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.scale3dSelf(aScale: Double; aOriginX: Double; aOriginY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('scale3dSelf',[aScale,aOriginX,aOriginY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateSelf(aRotX: Double; aRotY: Double; aRotZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateSelf',[aRotX,aRotY,aRotZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateSelf(aRotX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateSelf',[aRotX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateSelf(aRotX: Double; aRotY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateSelf',[aRotX,aRotY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateFromVectorSelf(aX: Double; aY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVectorSelf',[aX,aY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateFromVectorSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVectorSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateFromVectorSelf(aX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateFromVectorSelf',[aX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double; aAngle: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngleSelf',[aX,aY,aZ,aAngle],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateAxisAngleSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngleSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateAxisAngleSelf(aX: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngleSelf',[aX],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateAxisAngleSelf(aX: Double; aY: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngleSelf',[aX,aY],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.rotateAxisAngleSelf(aX: Double; aY: Double; aZ: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('rotateAxisAngleSelf',[aX,aY,aZ],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.skewXSelf(aSx: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewXSelf',[aSx],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.skewXSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewXSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.skewYSelf(aSy: Double): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewYSelf',[aSy],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.skewYSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('skewYSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.invertSelf: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('invertSelf',[],TJSDOMMatrix) as IJSDOMMatrix; end; function TJSDOMMatrix.setMatrixValue(const aTransformList: UTF8String): IJSDOMMatrix; begin Result:=InvokeJSObjectResult('setMatrixValue',[aTransformList],TJSDOMMatrix) as IJSDOMMatrix; end; class function TJSDOMMatrix.JSClassName: UnicodeString; begin Result:='DOMMatrix'; end; class function TJSDOMMatrix.Cast(const Intf: IJSObject): IJSDOMMatrix; begin Result:=TJSDOMMatrix.JOBCast(Intf); end; function TJSDOMMatrix2DInit._Geta: Double; begin Result:=ReadJSPropertyDouble('a'); end; function TJSDOMMatrix2DInit._Getb: Double; begin Result:=ReadJSPropertyDouble('b'); end; function TJSDOMMatrix2DInit._Getc: Double; begin Result:=ReadJSPropertyDouble('c'); end; function TJSDOMMatrix2DInit._Getd: Double; begin Result:=ReadJSPropertyDouble('d'); end; function TJSDOMMatrix2DInit._Gete: Double; begin Result:=ReadJSPropertyDouble('e'); end; function TJSDOMMatrix2DInit._Getf: Double; begin Result:=ReadJSPropertyDouble('f'); end; function TJSDOMMatrix2DInit._Getm11: Double; begin Result:=ReadJSPropertyDouble('m11'); end; function TJSDOMMatrix2DInit._Getm12: Double; begin Result:=ReadJSPropertyDouble('m12'); end; function TJSDOMMatrix2DInit._Getm21: Double; begin Result:=ReadJSPropertyDouble('m21'); end; function TJSDOMMatrix2DInit._Getm22: Double; begin Result:=ReadJSPropertyDouble('m22'); end; function TJSDOMMatrix2DInit._Getm41: Double; begin Result:=ReadJSPropertyDouble('m41'); end; function TJSDOMMatrix2DInit._Getm42: Double; begin Result:=ReadJSPropertyDouble('m42'); end; procedure TJSDOMMatrix2DInit._Seta(const aValue : Double); begin WriteJSPropertyDouble('a',aValue); end; procedure TJSDOMMatrix2DInit._Setb(const aValue : Double); begin WriteJSPropertyDouble('b',aValue); end; procedure TJSDOMMatrix2DInit._Setc(const aValue : Double); begin WriteJSPropertyDouble('c',aValue); end; procedure TJSDOMMatrix2DInit._Setd(const aValue : Double); begin WriteJSPropertyDouble('d',aValue); end; procedure TJSDOMMatrix2DInit._Sete(const aValue : Double); begin WriteJSPropertyDouble('e',aValue); end; procedure TJSDOMMatrix2DInit._Setf(const aValue : Double); begin WriteJSPropertyDouble('f',aValue); end; procedure TJSDOMMatrix2DInit._Setm11(const aValue : Double); begin WriteJSPropertyDouble('m11',aValue); end; procedure TJSDOMMatrix2DInit._Setm12(const aValue : Double); begin WriteJSPropertyDouble('m12',aValue); end; procedure TJSDOMMatrix2DInit._Setm21(const aValue : Double); begin WriteJSPropertyDouble('m21',aValue); end; procedure TJSDOMMatrix2DInit._Setm22(const aValue : Double); begin WriteJSPropertyDouble('m22',aValue); end; procedure TJSDOMMatrix2DInit._Setm41(const aValue : Double); begin WriteJSPropertyDouble('m41',aValue); end; procedure TJSDOMMatrix2DInit._Setm42(const aValue : Double); begin WriteJSPropertyDouble('m42',aValue); end; constructor TJSDOMMatrix2DInit.create(const aDict : TJSDOMMatrix2DInitRec); overload; begin Self.a:=aDict.a; Self.b:=aDict.b; Self.c:=aDict.c; Self.d:=aDict.d; Self.e:=aDict.e; Self.f:=aDict.f; Self.m11:=aDict.m11; Self.m12:=aDict.m12; Self.m21:=aDict.m21; Self.m22:=aDict.m22; Self.m41:=aDict.m41; Self.m42:=aDict.m42; end; class function TJSDOMMatrix2DInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMMatrix2DInit.Cast(const Intf: IJSObject): IJSDOMMatrix2DInit; begin Result:=TJSDOMMatrix2DInit.JOBCast(Intf); end; function TJSDOMMatrixInit._Getm13: Double; begin Result:=ReadJSPropertyDouble('m13'); end; function TJSDOMMatrixInit._Getm14: Double; begin Result:=ReadJSPropertyDouble('m14'); end; function TJSDOMMatrixInit._Getm23: Double; begin Result:=ReadJSPropertyDouble('m23'); end; function TJSDOMMatrixInit._Getm24: Double; begin Result:=ReadJSPropertyDouble('m24'); end; function TJSDOMMatrixInit._Getm31: Double; begin Result:=ReadJSPropertyDouble('m31'); end; function TJSDOMMatrixInit._Getm32: Double; begin Result:=ReadJSPropertyDouble('m32'); end; function TJSDOMMatrixInit._Getm33: Double; begin Result:=ReadJSPropertyDouble('m33'); end; function TJSDOMMatrixInit._Getm34: Double; begin Result:=ReadJSPropertyDouble('m34'); end; function TJSDOMMatrixInit._Getm43: Double; begin Result:=ReadJSPropertyDouble('m43'); end; function TJSDOMMatrixInit._Getm44: Double; begin Result:=ReadJSPropertyDouble('m44'); end; function TJSDOMMatrixInit._Getis2D: Boolean; begin Result:=ReadJSPropertyBoolean('is2D'); end; procedure TJSDOMMatrixInit._Setm13(const aValue : Double); begin WriteJSPropertyDouble('m13',aValue); end; procedure TJSDOMMatrixInit._Setm14(const aValue : Double); begin WriteJSPropertyDouble('m14',aValue); end; procedure TJSDOMMatrixInit._Setm23(const aValue : Double); begin WriteJSPropertyDouble('m23',aValue); end; procedure TJSDOMMatrixInit._Setm24(const aValue : Double); begin WriteJSPropertyDouble('m24',aValue); end; procedure TJSDOMMatrixInit._Setm31(const aValue : Double); begin WriteJSPropertyDouble('m31',aValue); end; procedure TJSDOMMatrixInit._Setm32(const aValue : Double); begin WriteJSPropertyDouble('m32',aValue); end; procedure TJSDOMMatrixInit._Setm33(const aValue : Double); begin WriteJSPropertyDouble('m33',aValue); end; procedure TJSDOMMatrixInit._Setm34(const aValue : Double); begin WriteJSPropertyDouble('m34',aValue); end; procedure TJSDOMMatrixInit._Setm43(const aValue : Double); begin WriteJSPropertyDouble('m43',aValue); end; procedure TJSDOMMatrixInit._Setm44(const aValue : Double); begin WriteJSPropertyDouble('m44',aValue); end; procedure TJSDOMMatrixInit._Setis2D(const aValue : Boolean); begin WriteJSPropertyBoolean('is2D',aValue); end; constructor TJSDOMMatrixInit.create(const aDict : TJSDOMMatrixInitRec); overload; begin Self.m13:=aDict.m13; Self.m14:=aDict.m14; Self.m23:=aDict.m23; Self.m24:=aDict.m24; Self.m31:=aDict.m31; Self.m32:=aDict.m32; Self.m33:=aDict.m33; Self.m34:=aDict.m34; Self.m43:=aDict.m43; Self.m44:=aDict.m44; Self.is2D:=aDict.is2D; end; class function TJSDOMMatrixInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMMatrixInit.Cast(const Intf: IJSObject): IJSDOMMatrixInit; begin Result:=TJSDOMMatrixInit.JOBCast(Intf); end; class function TJSInputStream.JSClassName: UnicodeString; begin Result:='InputStream'; end; class function TJSInputStream.Cast(const Intf: IJSObject): IJSInputStream; begin Result:=TJSInputStream.JOBCast(Intf); end; constructor TJSDOMParser.Create; begin JOBCreate([]); end; function TJSDOMParser.parseFromString(const aStr: UnicodeString; aType_: TSupportedType): IJSDocument; begin Result:=InvokeJSObjectResult('parseFromString',[aStr,aType_],TJSDocument) as IJSDocument; end; procedure TJSDOMParser.forceEnableDTD; begin InvokeJSNoResult('forceEnableDTD',[]); end; class function TJSDOMParser.JSClassName: UnicodeString; begin Result:='DOMParser'; end; class function TJSDOMParser.Cast(const Intf: IJSObject): IJSDOMParser; begin Result:=TJSDOMParser.JOBCast(Intf); end; function TJSDOMPointReadOnly._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMPointReadOnly._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMPointReadOnly._Getz: Double; begin Result:=ReadJSPropertyDouble('z'); end; function TJSDOMPointReadOnly._Getw: Double; begin Result:=ReadJSPropertyDouble('w'); end; constructor TJSDOMPointReadOnly.Create(aX: Double; aY: Double; aZ: Double; aW: Double); begin JOBCreate([aX,aY,aZ,aW]); end; constructor TJSDOMPointReadOnly.Create; begin JOBCreate([]); end; constructor TJSDOMPointReadOnly.Create(aX: Double); begin JOBCreate([aX]); end; constructor TJSDOMPointReadOnly.Create(aX: Double; aY: Double); begin JOBCreate([aX,aY]); end; constructor TJSDOMPointReadOnly.Create(aX: Double; aY: Double; aZ: Double); begin JOBCreate([aX,aY,aZ]); end; function TJSDOMPointReadOnly.fromPoint(const aOther: IJSDOMPointInit): IJSDOMPointReadOnly; begin Result:=InvokeJSObjectResult('fromPoint',[aOther],TJSDOMPointReadOnly) as IJSDOMPointReadOnly; end; function TJSDOMPointReadOnly.fromPoint: IJSDOMPointReadOnly; begin Result:=InvokeJSObjectResult('fromPoint',[],TJSDOMPointReadOnly) as IJSDOMPointReadOnly; end; function TJSDOMPointReadOnly.matrixTransform(const aMatrix: IJSDOMMatrixInit): IJSDOMPoint; begin Result:=InvokeJSObjectResult('matrixTransform',[aMatrix],TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMPointReadOnly.matrixTransform: IJSDOMPoint; begin Result:=InvokeJSObjectResult('matrixTransform',[],TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMPointReadOnly.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSDOMPointReadOnly.JSClassName: UnicodeString; begin Result:='DOMPointReadOnly'; end; class function TJSDOMPointReadOnly.Cast(const Intf: IJSObject): IJSDOMPointReadOnly; begin Result:=TJSDOMPointReadOnly.JOBCast(Intf); end; function TJSDOMPoint._Getx2: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMPoint._Gety2: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMPoint._Getz2: Double; begin Result:=ReadJSPropertyDouble('z'); end; function TJSDOMPoint._Getw2: Double; begin Result:=ReadJSPropertyDouble('w'); end; procedure TJSDOMPoint._Setx2(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSDOMPoint._Sety2(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSDOMPoint._Setz2(const aValue : Double); begin WriteJSPropertyDouble('z',aValue); end; procedure TJSDOMPoint._Setw2(const aValue : Double); begin WriteJSPropertyDouble('w',aValue); end; constructor TJSDOMPoint.Create(aX: Double; aY: Double; aZ: Double; aW: Double); begin JOBCreate([aX,aY,aZ,aW]); end; constructor TJSDOMPoint.Create; begin JOBCreate([]); end; constructor TJSDOMPoint.Create(aX: Double); begin JOBCreate([aX]); end; constructor TJSDOMPoint.Create(aX: Double; aY: Double); begin JOBCreate([aX,aY]); end; constructor TJSDOMPoint.Create(aX: Double; aY: Double; aZ: Double); begin JOBCreate([aX,aY,aZ]); end; function TJSDOMPoint.fromPoint(const aOther: IJSDOMPointInit): IJSDOMPoint; begin Result:=InvokeJSObjectResult('fromPoint',[aOther],TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMPoint.fromPoint: IJSDOMPoint; begin Result:=InvokeJSObjectResult('fromPoint',[],TJSDOMPoint) as IJSDOMPoint; end; class function TJSDOMPoint.JSClassName: UnicodeString; begin Result:='DOMPoint'; end; class function TJSDOMPoint.Cast(const Intf: IJSObject): IJSDOMPoint; begin Result:=TJSDOMPoint.JOBCast(Intf); end; function TJSDOMPointInit._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMPointInit._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMPointInit._Getz: Double; begin Result:=ReadJSPropertyDouble('z'); end; function TJSDOMPointInit._Getw: Double; begin Result:=ReadJSPropertyDouble('w'); end; procedure TJSDOMPointInit._Setx(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSDOMPointInit._Sety(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSDOMPointInit._Setz(const aValue : Double); begin WriteJSPropertyDouble('z',aValue); end; procedure TJSDOMPointInit._Setw(const aValue : Double); begin WriteJSPropertyDouble('w',aValue); end; constructor TJSDOMPointInit.create(const aDict : TJSDOMPointInitRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; Self.z:=aDict.z; Self.w:=aDict.w; end; class function TJSDOMPointInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMPointInit.Cast(const Intf: IJSObject): IJSDOMPointInit; begin Result:=TJSDOMPointInit.JOBCast(Intf); end; function TJSDOMQuad._Getp1: IJSDOMPoint; begin Result:=ReadJSPropertyObject('p1',TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMQuad._Getp2: IJSDOMPoint; begin Result:=ReadJSPropertyObject('p2',TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMQuad._Getp3: IJSDOMPoint; begin Result:=ReadJSPropertyObject('p3',TJSDOMPoint) as IJSDOMPoint; end; function TJSDOMQuad._Getp4: IJSDOMPoint; begin Result:=ReadJSPropertyObject('p4',TJSDOMPoint) as IJSDOMPoint; end; constructor TJSDOMQuad.Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit; const aP3: IJSDOMPointInit; const aP4: IJSDOMPointInit); begin JOBCreate([aP1,aP2,aP3,aP4]); end; constructor TJSDOMQuad.Create; begin JOBCreate([]); end; constructor TJSDOMQuad.Create(const aP1: IJSDOMPointInit); begin JOBCreate([aP1]); end; constructor TJSDOMQuad.Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit); begin JOBCreate([aP1,aP2]); end; constructor TJSDOMQuad.Create(const aP1: IJSDOMPointInit; const aP2: IJSDOMPointInit; const aP3: IJSDOMPointInit); begin JOBCreate([aP1,aP2,aP3]); end; constructor TJSDOMQuad.Create(aRect: IJSDOMRectReadOnly); begin JOBCreate([aRect]); end; function TJSDOMQuad.fromRect(const aOther: IJSDOMRectInit): IJSDOMQuad; begin Result:=InvokeJSObjectResult('fromRect',[aOther],TJSDOMQuad) as IJSDOMQuad; end; function TJSDOMQuad.fromRect: IJSDOMQuad; begin Result:=InvokeJSObjectResult('fromRect',[],TJSDOMQuad) as IJSDOMQuad; end; function TJSDOMQuad.fromQuad(const aOther: IJSDOMQuadInit): IJSDOMQuad; begin Result:=InvokeJSObjectResult('fromQuad',[aOther],TJSDOMQuad) as IJSDOMQuad; end; function TJSDOMQuad.fromQuad: IJSDOMQuad; begin Result:=InvokeJSObjectResult('fromQuad',[],TJSDOMQuad) as IJSDOMQuad; end; function TJSDOMQuad.getBounds: IJSDOMRectReadOnly; begin Result:=InvokeJSObjectResult('getBounds',[],TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSDOMQuad.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSDOMQuad.JSClassName: UnicodeString; begin Result:='DOMQuad'; end; class function TJSDOMQuad.Cast(const Intf: IJSObject): IJSDOMQuad; begin Result:=TJSDOMQuad.JOBCast(Intf); end; function TJSDOMQuadInit._Getp1: IJSDOMPointInit; begin Result:=ReadJSPropertyObject('p1',TJSDOMPointInit) as IJSDOMPointInit; end; function TJSDOMQuadInit._Getp2: IJSDOMPointInit; begin Result:=ReadJSPropertyObject('p2',TJSDOMPointInit) as IJSDOMPointInit; end; function TJSDOMQuadInit._Getp3: IJSDOMPointInit; begin Result:=ReadJSPropertyObject('p3',TJSDOMPointInit) as IJSDOMPointInit; end; function TJSDOMQuadInit._Getp4: IJSDOMPointInit; begin Result:=ReadJSPropertyObject('p4',TJSDOMPointInit) as IJSDOMPointInit; end; procedure TJSDOMQuadInit._Setp1(const aValue : IJSDOMPointInit); begin WriteJSPropertyObject('p1',aValue); end; procedure TJSDOMQuadInit._Setp2(const aValue : IJSDOMPointInit); begin WriteJSPropertyObject('p2',aValue); end; procedure TJSDOMQuadInit._Setp3(const aValue : IJSDOMPointInit); begin WriteJSPropertyObject('p3',aValue); end; procedure TJSDOMQuadInit._Setp4(const aValue : IJSDOMPointInit); begin WriteJSPropertyObject('p4',aValue); end; constructor TJSDOMQuadInit.create(const aDict : TJSDOMQuadInitRec); overload; begin Self.p1:=aDict.p1; Self.p2:=aDict.p2; Self.p3:=aDict.p3; Self.p4:=aDict.p4; end; class function TJSDOMQuadInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMQuadInit.Cast(const Intf: IJSObject): IJSDOMQuadInit; begin Result:=TJSDOMQuadInit.JOBCast(Intf); end; function TJSDOMRect._Getx2: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMRect._Gety2: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMRect._Getwidth2: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSDOMRect._Getheight2: Double; begin Result:=ReadJSPropertyDouble('height'); end; procedure TJSDOMRect._Setx2(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSDOMRect._Sety2(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSDOMRect._Setwidth2(const aValue : Double); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSDOMRect._Setheight2(const aValue : Double); begin WriteJSPropertyDouble('height',aValue); end; constructor TJSDOMRect.Create(aX: Double; aY: Double; aWidth: Double; aHeight: Double); begin JOBCreate([aX,aY,aWidth,aHeight]); end; constructor TJSDOMRect.Create; begin JOBCreate([]); end; constructor TJSDOMRect.Create(aX: Double); begin JOBCreate([aX]); end; constructor TJSDOMRect.Create(aX: Double; aY: Double); begin JOBCreate([aX,aY]); end; constructor TJSDOMRect.Create(aX: Double; aY: Double; aWidth: Double); begin JOBCreate([aX,aY,aWidth]); end; function TJSDOMRect.fromRect(const aOther: IJSDOMRectInit): IJSDOMRect; begin Result:=InvokeJSObjectResult('fromRect',[aOther],TJSDOMRect) as IJSDOMRect; end; function TJSDOMRect.fromRect: IJSDOMRect; begin Result:=InvokeJSObjectResult('fromRect',[],TJSDOMRect) as IJSDOMRect; end; class function TJSDOMRect.JSClassName: UnicodeString; begin Result:='DOMRect'; end; class function TJSDOMRect.Cast(const Intf: IJSObject): IJSDOMRect; begin Result:=TJSDOMRect.JOBCast(Intf); end; function TJSDOMRectReadOnly._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMRectReadOnly._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMRectReadOnly._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSDOMRectReadOnly._Getheight: Double; begin Result:=ReadJSPropertyDouble('height'); end; function TJSDOMRectReadOnly._Gettop: Double; begin Result:=ReadJSPropertyDouble('top'); end; function TJSDOMRectReadOnly._Getright: Double; begin Result:=ReadJSPropertyDouble('right'); end; function TJSDOMRectReadOnly._Getbottom: Double; begin Result:=ReadJSPropertyDouble('bottom'); end; function TJSDOMRectReadOnly._Getleft: Double; begin Result:=ReadJSPropertyDouble('left'); end; constructor TJSDOMRectReadOnly.Create(aX: Double; aY: Double; aWidth: Double; aHeight: Double); begin JOBCreate([aX,aY,aWidth,aHeight]); end; constructor TJSDOMRectReadOnly.Create; begin JOBCreate([]); end; constructor TJSDOMRectReadOnly.Create(aX: Double); begin JOBCreate([aX]); end; constructor TJSDOMRectReadOnly.Create(aX: Double; aY: Double); begin JOBCreate([aX,aY]); end; constructor TJSDOMRectReadOnly.Create(aX: Double; aY: Double; aWidth: Double); begin JOBCreate([aX,aY,aWidth]); end; function TJSDOMRectReadOnly.fromRect(const aOther: IJSDOMRectInit): IJSDOMRectReadOnly; begin Result:=InvokeJSObjectResult('fromRect',[aOther],TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSDOMRectReadOnly.fromRect: IJSDOMRectReadOnly; begin Result:=InvokeJSObjectResult('fromRect',[],TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSDOMRectReadOnly.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSDOMRectReadOnly.JSClassName: UnicodeString; begin Result:='DOMRectReadOnly'; end; class function TJSDOMRectReadOnly.Cast(const Intf: IJSObject): IJSDOMRectReadOnly; begin Result:=TJSDOMRectReadOnly.JOBCast(Intf); end; function TJSDOMRectInit._Getx: Double; begin Result:=ReadJSPropertyDouble('x'); end; function TJSDOMRectInit._Gety: Double; begin Result:=ReadJSPropertyDouble('y'); end; function TJSDOMRectInit._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSDOMRectInit._Getheight: Double; begin Result:=ReadJSPropertyDouble('height'); end; procedure TJSDOMRectInit._Setx(const aValue : Double); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSDOMRectInit._Sety(const aValue : Double); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSDOMRectInit._Setwidth(const aValue : Double); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSDOMRectInit._Setheight(const aValue : Double); begin WriteJSPropertyDouble('height',aValue); end; constructor TJSDOMRectInit.create(const aDict : TJSDOMRectInitRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; Self.width:=aDict.width; Self.height:=aDict.height; end; class function TJSDOMRectInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDOMRectInit.Cast(const Intf: IJSObject): IJSDOMRectInit; begin Result:=TJSDOMRectInit.JOBCast(Intf); end; function TJSDOMRectList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSDOMRectList.item(aIndex: Cardinal): IJSDOMRect; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSDOMRect) as IJSDOMRect; end; class function TJSDOMRectList.JSClassName: UnicodeString; begin Result:='DOMRectList'; end; class function TJSDOMRectList.Cast(const Intf: IJSObject): IJSDOMRectList; begin Result:=TJSDOMRectList.JOBCast(Intf); end; function TJSDOMStringList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSDOMStringList.item(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('item',[aIndex]); end; function TJSDOMStringList.contains(const aString_: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('contains',[aString_]); end; class function TJSDOMStringList.JSClassName: UnicodeString; begin Result:='DOMStringList'; end; class function TJSDOMStringList.Cast(const Intf: IJSObject): IJSDOMStringList; begin Result:=TJSDOMStringList.JOBCast(Intf); end; function TJSDOMStringMap.GetDefault(const aName: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('',[aName]); end; procedure TJSDOMStringMap.SetDefault(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('',[aName,aValue]); end; procedure TJSDOMStringMap.DOMStringMapType(const aName: UnicodeString); begin InvokeJSNoResult('',[aName]); end; class function TJSDOMStringMap.JSClassName: UnicodeString; begin Result:='DOMStringMap'; end; class function TJSDOMStringMap.Cast(const Intf: IJSObject): IJSDOMStringMap; begin Result:=TJSDOMStringMap.JOBCast(Intf); end; function TJSDOMTokenList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSDOMTokenList._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSDOMTokenList.item(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('item',[aIndex]); end; function TJSDOMTokenList.contains(const aToken: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('contains',[aToken]); end; procedure TJSDOMTokenList.add(const aTokens: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('add',[aTokens]); end; procedure TJSDOMTokenList.remove(const aTokens: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('remove',[aTokens]); end; function TJSDOMTokenList.replace(const aToken: UnicodeString; const aNewToken: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('replace',[aToken,aNewToken]); end; function TJSDOMTokenList.toggle(const aToken: UnicodeString; aForce: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('toggle',[aToken,aForce]); end; function TJSDOMTokenList.toggle(const aToken: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('toggle',[aToken]); end; function TJSDOMTokenList.supports(const aToken: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('supports',[aToken]); end; class function TJSDOMTokenList.JSClassName: UnicodeString; begin Result:='DOMTokenList'; end; class function TJSDOMTokenList.Cast(const Intf: IJSObject): IJSDOMTokenList; begin Result:=TJSDOMTokenList.JOBCast(Intf); end; function TJSDragEvent._GetdataTransfer: IJSDataTransfer; begin Result:=ReadJSPropertyObject('dataTransfer',TJSDataTransfer) as IJSDataTransfer; end; constructor TJSDragEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSDragEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSDragEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget; aADataTransfer: IJSDataTransfer); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey,aAShiftKey,aAMetaKey,aAButton,aARelatedTarget,aADataTransfer]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initDragEvent',[aType_]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey,aAShiftKey]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey,aAShiftKey,aAMetaKey]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey,aAShiftKey,aAMetaKey,aAButton]); end; procedure TJSDragEvent.initDragEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aAView: IJSWindow; aADetail: LongInt; aAScreenX: LongInt; aAScreenY: LongInt; aAClientX: LongInt; aAClientY: LongInt; aACtrlKey: Boolean; aAAltKey: Boolean; aAShiftKey: Boolean; aAMetaKey: Boolean; aAButton: Word; aARelatedTarget: IJSEventTarget); begin InvokeJSNoResult('initDragEvent',[aType_,aCanBubble,aCancelable,aAView,aADetail,aAScreenX,aAScreenY,aAClientX,aAClientY,aACtrlKey,aAAltKey,aAShiftKey,aAMetaKey,aAButton,aARelatedTarget]); end; class function TJSDragEvent.JSClassName: UnicodeString; begin Result:='DragEvent'; end; class function TJSDragEvent.Cast(const Intf: IJSObject): IJSDragEvent; begin Result:=TJSDragEvent.JOBCast(Intf); end; function TJSDragEventInit._GetdataTransfer: IJSDataTransfer; begin Result:=ReadJSPropertyObject('dataTransfer',TJSDataTransfer) as IJSDataTransfer; end; procedure TJSDragEventInit._SetdataTransfer(const aValue : IJSDataTransfer); begin WriteJSPropertyObject('dataTransfer',aValue); end; constructor TJSDragEventInit.create(const aDict : TJSDragEventInitRec); overload; begin Self.dataTransfer:=aDict.dataTransfer; end; class function TJSDragEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDragEventInit.Cast(const Intf: IJSObject): IJSDragEventInit; begin Result:=TJSDragEventInit.JOBCast(Intf); end; function TJSDynamicsCompressorOptions._Getattack: Single; begin Result:=ReadJSPropertyDouble('attack'); end; function TJSDynamicsCompressorOptions._Getknee: Single; begin Result:=ReadJSPropertyDouble('knee'); end; function TJSDynamicsCompressorOptions._Getratio: Single; begin Result:=ReadJSPropertyDouble('ratio'); end; function TJSDynamicsCompressorOptions._Getrelease: Single; begin Result:=ReadJSPropertyDouble('release'); end; function TJSDynamicsCompressorOptions._Getthreshold: Single; begin Result:=ReadJSPropertyDouble('threshold'); end; procedure TJSDynamicsCompressorOptions._Setattack(const aValue : Single); begin WriteJSPropertyDouble('attack',aValue); end; procedure TJSDynamicsCompressorOptions._Setknee(const aValue : Single); begin WriteJSPropertyDouble('knee',aValue); end; procedure TJSDynamicsCompressorOptions._Setratio(const aValue : Single); begin WriteJSPropertyDouble('ratio',aValue); end; procedure TJSDynamicsCompressorOptions._Setrelease(const aValue : Single); begin WriteJSPropertyDouble('release',aValue); end; procedure TJSDynamicsCompressorOptions._Setthreshold(const aValue : Single); begin WriteJSPropertyDouble('threshold',aValue); end; constructor TJSDynamicsCompressorOptions.create(const aDict : TJSDynamicsCompressorOptionsRec); overload; begin Self.attack:=aDict.attack; Self.knee:=aDict.knee; Self.ratio:=aDict.ratio; Self.release:=aDict.release; Self.threshold:=aDict.threshold; end; class function TJSDynamicsCompressorOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDynamicsCompressorOptions.Cast(const Intf: IJSObject): IJSDynamicsCompressorOptions; begin Result:=TJSDynamicsCompressorOptions.JOBCast(Intf); end; function TJSDynamicsCompressorNode._Getthreshold: IJSAudioParam; begin Result:=ReadJSPropertyObject('threshold',TJSAudioParam) as IJSAudioParam; end; function TJSDynamicsCompressorNode._Getknee: IJSAudioParam; begin Result:=ReadJSPropertyObject('knee',TJSAudioParam) as IJSAudioParam; end; function TJSDynamicsCompressorNode._Getratio: IJSAudioParam; begin Result:=ReadJSPropertyObject('ratio',TJSAudioParam) as IJSAudioParam; end; function TJSDynamicsCompressorNode._Getreduction: Single; begin Result:=ReadJSPropertyDouble('reduction'); end; function TJSDynamicsCompressorNode._Getattack: IJSAudioParam; begin Result:=ReadJSPropertyObject('attack',TJSAudioParam) as IJSAudioParam; end; function TJSDynamicsCompressorNode._Getrelease: IJSAudioParam; begin Result:=ReadJSPropertyObject('release',TJSAudioParam) as IJSAudioParam; end; constructor TJSDynamicsCompressorNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSDynamicsCompressorOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSDynamicsCompressorNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSDynamicsCompressorNode.JSClassName: UnicodeString; begin Result:='DynamicsCompressorNode'; end; class function TJSDynamicsCompressorNode.Cast(const Intf: IJSObject): IJSDynamicsCompressorNode; begin Result:=TJSDynamicsCompressorNode.JOBCast(Intf); end; class function TJSnsIScreen.JSClassName: UnicodeString; begin Result:='nsIScreen'; end; class function TJSnsIScreen.Cast(const Intf: IJSObject): IJSnsIScreen; begin Result:=TJSnsIScreen.JOBCast(Intf); end; function TJSElement._GetnamespaceURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namespaceURI'); end; function TJSElement._Getprefix: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('prefix'); end; function TJSElement._GetlocalName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localName'); end; function TJSElement._GettagName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tagName'); end; function TJSElement._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSElement._GetclassName_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('className'); end; function TJSElement._GetclassList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('classList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSElement._Getpart: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('part',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSElement._Getattributes: IJSNamedNodeMap; begin Result:=ReadJSPropertyObject('attributes',TJSNamedNodeMap) as IJSNamedNodeMap; end; function TJSElement._GetscrollTop: LongInt; begin Result:=ReadJSPropertyLongInt('scrollTop'); end; function TJSElement._GetscrollLeft: LongInt; begin Result:=ReadJSPropertyLongInt('scrollLeft'); end; function TJSElement._GetscrollWidth: LongInt; begin Result:=ReadJSPropertyLongInt('scrollWidth'); end; function TJSElement._GetscrollHeight: LongInt; begin Result:=ReadJSPropertyLongInt('scrollHeight'); end; function TJSElement._GetclientTop: LongInt; begin Result:=ReadJSPropertyLongInt('clientTop'); end; function TJSElement._GetclientLeft: LongInt; begin Result:=ReadJSPropertyLongInt('clientLeft'); end; function TJSElement._GetclientWidth: LongInt; begin Result:=ReadJSPropertyLongInt('clientWidth'); end; function TJSElement._GetclientHeight: LongInt; begin Result:=ReadJSPropertyLongInt('clientHeight'); end; function TJSElement._GetscrollTopMax: LongInt; begin Result:=ReadJSPropertyLongInt('scrollTopMax'); end; function TJSElement._GetscrollLeftMax: LongInt; begin Result:=ReadJSPropertyLongInt('scrollLeftMax'); end; function TJSElement._GetcurrentCSSZoom: Double; begin Result:=ReadJSPropertyDouble('currentCSSZoom'); end; function TJSElement._GetinnerHTML: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('innerHTML'); end; function TJSElement._GetouterHTML: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('outerHTML'); end; function TJSElement._GetshadowRoot: IJSShadowRoot; begin Result:=ReadJSPropertyObject('shadowRoot',TJSShadowRoot) as IJSShadowRoot; end; function TJSElement._GetopenOrClosedShadowRoot: IJSShadowRoot; begin Result:=ReadJSPropertyObject('openOrClosedShadowRoot',TJSShadowRoot) as IJSShadowRoot; end; function TJSElement._GetassignedSlot: IJSHTMLSlotElement; begin Result:=ReadJSPropertyObject('assignedSlot',TJSHTMLSlotElement) as IJSHTMLSlotElement; end; function TJSElement._Getslot: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('slot'); end; function TJSElement._Getonfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfullscreenchange'))); end; function TJSElement._Getonfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfullscreenerror'))); end; function TJSElement._GetpreviousElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('previousElementSibling',TJSElement) as IJSElement; end; function TJSElement._GetnextElementSibling: IJSElement; begin Result:=ReadJSPropertyObject('nextElementSibling',TJSElement) as IJSElement; end; function TJSElement._Getchildren: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('children',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSElement._GetfirstElementChild: IJSElement; begin Result:=ReadJSPropertyObject('firstElementChild',TJSElement) as IJSElement; end; function TJSElement._GetlastElementChild: IJSElement; begin Result:=ReadJSPropertyObject('lastElementChild',TJSElement) as IJSElement; end; function TJSElement._GetchildElementCount: Cardinal; begin Result:=ReadJSPropertyInt64('childElementCount'); end; function TJSElement._GetariaActiveDescendantElement: IJSElement; begin Result:=ReadJSPropertyObject('ariaActiveDescendantElement',TJSElement) as IJSElement; end; function TJSElement._Getrole: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('role'); end; function TJSElement._GetariaAtomic: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAtomic'); end; function TJSElement._GetariaAutoComplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAutoComplete'); end; function TJSElement._GetariaBrailleLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleLabel'); end; function TJSElement._GetariaBrailleRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleRoleDescription'); end; function TJSElement._GetariaBusy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBusy'); end; function TJSElement._GetariaChecked: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaChecked'); end; function TJSElement._GetariaColCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColCount'); end; function TJSElement._GetariaColIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndex'); end; function TJSElement._GetariaColIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndexText'); end; function TJSElement._GetariaColSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColSpan'); end; function TJSElement._GetariaCurrent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaCurrent'); end; function TJSElement._GetariaDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDescription'); end; function TJSElement._GetariaDisabled: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDisabled'); end; function TJSElement._GetariaExpanded: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaExpanded'); end; function TJSElement._GetariaHasPopup: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHasPopup'); end; function TJSElement._GetariaHidden: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHidden'); end; function TJSElement._GetariaInvalid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaInvalid'); end; function TJSElement._GetariaKeyShortcuts: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaKeyShortcuts'); end; function TJSElement._GetariaLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLabel'); end; function TJSElement._GetariaLevel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLevel'); end; function TJSElement._GetariaLive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLive'); end; function TJSElement._GetariaModal: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaModal'); end; function TJSElement._GetariaMultiLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiLine'); end; function TJSElement._GetariaMultiSelectable: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiSelectable'); end; function TJSElement._GetariaOrientation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaOrientation'); end; function TJSElement._GetariaPlaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPlaceholder'); end; function TJSElement._GetariaPosInSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPosInSet'); end; function TJSElement._GetariaPressed: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPressed'); end; function TJSElement._GetariaReadOnly: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaReadOnly'); end; function TJSElement._GetariaRelevant: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRelevant'); end; function TJSElement._GetariaRequired: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRequired'); end; function TJSElement._GetariaRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRoleDescription'); end; function TJSElement._GetariaRowCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowCount'); end; function TJSElement._GetariaRowIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndex'); end; function TJSElement._GetariaRowIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndexText'); end; function TJSElement._GetariaRowSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowSpan'); end; function TJSElement._GetariaSelected: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSelected'); end; function TJSElement._GetariaSetSize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSetSize'); end; function TJSElement._GetariaSort: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSort'); end; function TJSElement._GetariaValueMax: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMax'); end; function TJSElement._GetariaValueMin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMin'); end; function TJSElement._GetariaValueNow: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueNow'); end; function TJSElement._GetariaValueText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueText'); end; procedure TJSElement._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSElement._SetclassName_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('className',aValue); end; procedure TJSElement._SetscrollTop(const aValue : LongInt); begin WriteJSPropertyLongInt('scrollTop',aValue); end; procedure TJSElement._SetscrollLeft(const aValue : LongInt); begin WriteJSPropertyLongInt('scrollLeft',aValue); end; procedure TJSElement._SetinnerHTML(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('innerHTML',aValue); end; procedure TJSElement._SetouterHTML(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('outerHTML',aValue); end; procedure TJSElement._Setslot(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('slot',aValue); end; procedure TJSElement._Setonfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSElement._Setonfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSElement._SetariaActiveDescendantElement(const aValue : IJSElement); begin WriteJSPropertyObject('ariaActiveDescendantElement',aValue); end; procedure TJSElement._Setrole(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('role',aValue); end; procedure TJSElement._SetariaAtomic(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAtomic',aValue); end; procedure TJSElement._SetariaAutoComplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAutoComplete',aValue); end; procedure TJSElement._SetariaBrailleLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleLabel',aValue); end; procedure TJSElement._SetariaBrailleRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleRoleDescription',aValue); end; procedure TJSElement._SetariaBusy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBusy',aValue); end; procedure TJSElement._SetariaChecked(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaChecked',aValue); end; procedure TJSElement._SetariaColCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColCount',aValue); end; procedure TJSElement._SetariaColIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndex',aValue); end; procedure TJSElement._SetariaColIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndexText',aValue); end; procedure TJSElement._SetariaColSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColSpan',aValue); end; procedure TJSElement._SetariaCurrent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaCurrent',aValue); end; procedure TJSElement._SetariaDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDescription',aValue); end; procedure TJSElement._SetariaDisabled(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDisabled',aValue); end; procedure TJSElement._SetariaExpanded(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaExpanded',aValue); end; procedure TJSElement._SetariaHasPopup(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHasPopup',aValue); end; procedure TJSElement._SetariaHidden(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHidden',aValue); end; procedure TJSElement._SetariaInvalid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaInvalid',aValue); end; procedure TJSElement._SetariaKeyShortcuts(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaKeyShortcuts',aValue); end; procedure TJSElement._SetariaLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLabel',aValue); end; procedure TJSElement._SetariaLevel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLevel',aValue); end; procedure TJSElement._SetariaLive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLive',aValue); end; procedure TJSElement._SetariaModal(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaModal',aValue); end; procedure TJSElement._SetariaMultiLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiLine',aValue); end; procedure TJSElement._SetariaMultiSelectable(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiSelectable',aValue); end; procedure TJSElement._SetariaOrientation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaOrientation',aValue); end; procedure TJSElement._SetariaPlaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPlaceholder',aValue); end; procedure TJSElement._SetariaPosInSet(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPosInSet',aValue); end; procedure TJSElement._SetariaPressed(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPressed',aValue); end; procedure TJSElement._SetariaReadOnly(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaReadOnly',aValue); end; procedure TJSElement._SetariaRelevant(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRelevant',aValue); end; procedure TJSElement._SetariaRequired(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRequired',aValue); end; procedure TJSElement._SetariaRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRoleDescription',aValue); end; procedure TJSElement._SetariaRowCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowCount',aValue); end; procedure TJSElement._SetariaRowIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndex',aValue); end; procedure TJSElement._SetariaRowIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndexText',aValue); end; procedure TJSElement._SetariaRowSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowSpan',aValue); end; procedure TJSElement._SetariaSelected(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSelected',aValue); end; procedure TJSElement._SetariaSetSize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSetSize',aValue); end; procedure TJSElement._SetariaSort(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSort',aValue); end; procedure TJSElement._SetariaValueMax(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMax',aValue); end; procedure TJSElement._SetariaValueMin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMin',aValue); end; procedure TJSElement._SetariaValueNow(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueNow',aValue); end; procedure TJSElement._SetariaValueText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueText',aValue); end; function TJSElement.getAttributeNames: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getAttributeNames',[],TJSArray) as TUnicodeStringDynArray; end; function TJSElement.getAttribute(const aName: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAttribute',[aName]); end; function TJSElement.getAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAttributeNS',[aNamespace,aLocalName]); end; function TJSElement.toggleAttribute(const aName: UnicodeString; aForce: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('toggleAttribute',[aName,aForce]); end; function TJSElement.toggleAttribute(const aName: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('toggleAttribute',[aName]); end; procedure TJSElement.setAttribute(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('setAttribute',[aName,aValue]); end; procedure TJSElement.setAttributeNS(const aNamespace: UnicodeString; const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('setAttributeNS',[aNamespace,aName,aValue]); end; procedure TJSElement.removeAttribute(const aName: UnicodeString); begin InvokeJSNoResult('removeAttribute',[aName]); end; procedure TJSElement.removeAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString); begin InvokeJSNoResult('removeAttributeNS',[aNamespace,aLocalName]); end; function TJSElement.hasAttribute(const aName: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('hasAttribute',[aName]); end; function TJSElement.hasAttributeNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('hasAttributeNS',[aNamespace,aLocalName]); end; function TJSElement.hasAttributes: Boolean; begin Result:=InvokeJSBooleanResult('hasAttributes',[]); end; function TJSElement.closest(const aSelector: UTF8String): IJSElement; begin Result:=InvokeJSObjectResult('closest',[aSelector],TJSElement) as IJSElement; end; function TJSElement.matches(const aSelector: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('matches',[aSelector]); end; function TJSElement.webkitMatchesSelector(const aSelector: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('webkitMatchesSelector',[aSelector]); end; function TJSElement.getElementsByTagName(const aLocalName: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByTagName',[aLocalName],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSElement.getElementsByTagNameNS(const aNamespace: UnicodeString; const aLocalName: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByTagNameNS',[aNamespace,aLocalName],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSElement.getElementsByClassName(const aClassNames: UnicodeString): IJSHTMLCollection; begin Result:=InvokeJSObjectResult('getElementsByClassName',[aClassNames],TJSHTMLCollection) as IJSHTMLCollection; end; function TJSElement.insertAdjacentElement(const aWhere: UnicodeString; aElement: IJSElement): IJSElement; begin Result:=InvokeJSObjectResult('insertAdjacentElement',[aWhere,aElement],TJSElement) as IJSElement; end; procedure TJSElement.insertAdjacentText(const aWhere: UnicodeString; const aData: UnicodeString); begin InvokeJSNoResult('insertAdjacentText',[aWhere,aData]); end; function TJSElement.mozMatchesSelector(const aSelector: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('mozMatchesSelector',[aSelector]); end; procedure TJSElement.setPointerCapture(aPointerId: LongInt); begin InvokeJSNoResult('setPointerCapture',[aPointerId]); end; procedure TJSElement.releasePointerCapture(aPointerId: LongInt); begin InvokeJSNoResult('releasePointerCapture',[aPointerId]); end; function TJSElement.hasPointerCapture(aPointerId: LongInt): Boolean; begin Result:=InvokeJSBooleanResult('hasPointerCapture',[aPointerId]); end; procedure TJSElement.setCapture(aRetargetToElement: Boolean); begin InvokeJSNoResult('setCapture',[aRetargetToElement]); end; procedure TJSElement.setCapture; begin InvokeJSNoResult('setCapture',[]); end; procedure TJSElement.releaseCapture; begin InvokeJSNoResult('releaseCapture',[]); end; function TJSElement.getAttributeNode(const aName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('getAttributeNode',[aName],TJSAttr) as IJSAttr; end; function TJSElement.setAttributeNode(aNewAttr: IJSAttr): IJSAttr; begin Result:=InvokeJSObjectResult('setAttributeNode',[aNewAttr],TJSAttr) as IJSAttr; end; function TJSElement.removeAttributeNode(aOldAttr: IJSAttr): IJSAttr; begin Result:=InvokeJSObjectResult('removeAttributeNode',[aOldAttr],TJSAttr) as IJSAttr; end; function TJSElement.getAttributeNodeNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('getAttributeNodeNS',[aNamespaceURI,aLocalName],TJSAttr) as IJSAttr; end; function TJSElement.setAttributeNodeNS(aNewAttr: IJSAttr): IJSAttr; begin Result:=InvokeJSObjectResult('setAttributeNodeNS',[aNewAttr],TJSAttr) as IJSAttr; end; function TJSElement.getTransformToAncestor(aAncestor: IJSElement): IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('getTransformToAncestor',[aAncestor],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSElement.getTransformToParent: IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('getTransformToParent',[],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSElement.getTransformToViewport: IJSDOMMatrixReadOnly; begin Result:=InvokeJSObjectResult('getTransformToViewport',[],TJSDOMMatrixReadOnly) as IJSDOMMatrixReadOnly; end; function TJSElement.getClientRects: IJSDOMRectList; begin Result:=InvokeJSObjectResult('getClientRects',[],TJSDOMRectList) as IJSDOMRectList; end; function TJSElement.getBoundingClientRect: IJSDOMRect; begin Result:=InvokeJSObjectResult('getBoundingClientRect',[],TJSDOMRect) as IJSDOMRect; end; function TJSElement.checkVisibility(const aOptions: IJSCheckVisibilityOptions): Boolean; begin Result:=InvokeJSBooleanResult('checkVisibility',[aOptions]); end; function TJSElement.checkVisibility: Boolean; begin Result:=InvokeJSBooleanResult('checkVisibility',[]); end; procedure TJSElement.scrollIntoView(aArg: Boolean); begin InvokeJSNoResult('scrollIntoView',[aArg]); end; procedure TJSElement.scrollIntoView; begin InvokeJSNoResult('scrollIntoView',[]); end; procedure TJSElement.scrollIntoView(const aArg: IJSScrollIntoViewOptions); begin InvokeJSNoResult('scrollIntoView',[aArg]); end; procedure TJSElement.scroll(aX: Double; aY: Double); begin InvokeJSNoResult('scroll',[aX,aY]); end; procedure TJSElement.scroll(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scroll',[aOptions]); end; procedure TJSElement.scroll; begin InvokeJSNoResult('scroll',[]); end; procedure TJSElement.scrollTo(aX: Double; aY: Double); begin InvokeJSNoResult('scrollTo',[aX,aY]); end; procedure TJSElement.scrollTo(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scrollTo',[aOptions]); end; procedure TJSElement.scrollTo; begin InvokeJSNoResult('scrollTo',[]); end; procedure TJSElement.scrollBy(aX: Double; aY: Double); begin InvokeJSNoResult('scrollBy',[aX,aY]); end; procedure TJSElement.scrollBy(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scrollBy',[aOptions]); end; procedure TJSElement.scrollBy; begin InvokeJSNoResult('scrollBy',[]); end; procedure TJSElement.insertAdjacentHTML(const aPosition: UnicodeString; const aText: UnicodeString); begin InvokeJSNoResult('insertAdjacentHTML',[aPosition,aText]); end; function TJSElement.attachShadow(const aShadowRootInitDict: IJSShadowRootInit): IJSShadowRoot; begin Result:=InvokeJSObjectResult('attachShadow',[aShadowRootInitDict],TJSShadowRoot) as IJSShadowRoot; end; function TJSElement.requestFullscreen: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestFullscreen',[],TJSPromise) as IJSPromise; end; function TJSElement.mozRequestFullScreen: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mozRequestFullScreen',[],TJSPromise) as IJSPromise; end; procedure TJSElement.requestPointerLock; begin InvokeJSNoResult('requestPointerLock',[]); end; procedure TJSElement.setHTML(const aAInnerHTML: UnicodeString; const aOptions: IJSSetHTMLOptions); begin InvokeJSNoResult('setHTML',[aAInnerHTML,aOptions]); end; procedure TJSElement.setHTML(const aAInnerHTML: UnicodeString); begin InvokeJSNoResult('setHTML',[aAInnerHTML]); end; procedure TJSElement.setHTMLUnsafe(const aHtml: UnicodeString); begin InvokeJSNoResult('setHTMLUnsafe',[aHtml]); end; procedure TJSElement.before(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSElement.before(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('before',[aNodes]); end; procedure TJSElement.after(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSElement.after(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('after',[aNodes]); end; procedure TJSElement.replaceWith(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSElement.replaceWith(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceWith',[aNodes]); end; procedure TJSElement.remove; begin InvokeJSNoResult('remove',[]); end; procedure TJSElement.prepend(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSElement.prepend(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSElement.append(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSElement.append(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSElement.replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; procedure TJSElement.replaceChildren(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; function TJSElement.querySelector(const aSelectors: UTF8String): IJSElement; begin Result:=InvokeJSObjectResult('querySelector',[aSelectors],TJSElement) as IJSElement; end; function TJSElement.querySelectorAll(const aSelectors: UTF8String): IJSNodeList; begin Result:=InvokeJSObjectResult('querySelectorAll',[aSelectors],TJSNodeList) as IJSNodeList; end; function TJSElement.animate(aKeyframes: IJSObject; const aOptions: IJSKeyframeAnimationOptions): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes,aOptions],TJSAnimation) as IJSAnimation; end; function TJSElement.animate(aKeyframes: IJSObject): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes],TJSAnimation) as IJSAnimation; end; function TJSElement.animate(aKeyframes: IJSObject; aOptions: Double): IJSAnimation; begin Result:=InvokeJSObjectResult('animate',[aKeyframes,aOptions],TJSAnimation) as IJSAnimation; end; function TJSElement.getAnimations(const aOptions: IJSGetAnimationsOptions): TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[aOptions],TJSArray) as TJSAnimationDynArray; end; function TJSElement.getAnimations: TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[],TJSArray) as TJSAnimationDynArray; end; function TJSElement.getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[aOptions],TJSArray) as TJSDOMQuadDynArray; end; function TJSElement.getBoxQuads: TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[],TJSArray) as TJSDOMQuadDynArray; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSElement.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; class function TJSElement.JSClassName: UnicodeString; begin Result:='Element'; end; class function TJSElement.Cast(const Intf: IJSObject): IJSElement; begin Result:=TJSElement.JOBCast(Intf); end; function TJSFocusOptions._GetpreventScroll: Boolean; begin Result:=ReadJSPropertyBoolean('preventScroll'); end; function TJSFocusOptions._GetfocusVisible: Boolean; begin Result:=ReadJSPropertyBoolean('focusVisible'); end; procedure TJSFocusOptions._SetpreventScroll(const aValue : Boolean); begin WriteJSPropertyBoolean('preventScroll',aValue); end; procedure TJSFocusOptions._SetfocusVisible(const aValue : Boolean); begin WriteJSPropertyBoolean('focusVisible',aValue); end; constructor TJSFocusOptions.create(const aDict : TJSFocusOptionsRec); overload; begin Self.preventScroll:=aDict.preventScroll; Self.focusVisible:=aDict.focusVisible; end; class function TJSFocusOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFocusOptions.Cast(const Intf: IJSObject): IJSFocusOptions; begin Result:=TJSFocusOptions.JOBCast(Intf); end; function TJSHTMLOrForeignElement._Getdataset: IJSDOMStringMap; begin Result:=ReadJSPropertyObject('dataset',TJSDOMStringMap) as IJSDOMStringMap; end; function TJSHTMLOrForeignElement._Getautofocus: Boolean; begin Result:=ReadJSPropertyBoolean('autofocus'); end; function TJSHTMLOrForeignElement._GettabIndex: LongInt; begin Result:=ReadJSPropertyLongInt('tabIndex'); end; procedure TJSHTMLOrForeignElement._Setautofocus(const aValue : Boolean); begin WriteJSPropertyBoolean('autofocus',aValue); end; procedure TJSHTMLOrForeignElement._SettabIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('tabIndex',aValue); end; procedure TJSHTMLOrForeignElement.focus(const aOptions: IJSFocusOptions); begin InvokeJSNoResult('focus',[aOptions]); end; procedure TJSHTMLOrForeignElement.focus; begin InvokeJSNoResult('focus',[]); end; procedure TJSHTMLOrForeignElement.blur; begin InvokeJSNoResult('blur',[]); end; class function TJSHTMLOrForeignElement.JSClassName: UnicodeString; begin Result:='HTMLOrForeignElement'; end; class function TJSHTMLOrForeignElement.Cast(const Intf: IJSObject): IJSHTMLOrForeignElement; begin Result:=TJSHTMLOrForeignElement.JOBCast(Intf); end; function TJSElementCSSInlineStyle._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; class function TJSElementCSSInlineStyle.JSClassName: UnicodeString; begin Result:='ElementCSSInlineStyle'; end; class function TJSElementCSSInlineStyle.Cast(const Intf: IJSObject): IJSElementCSSInlineStyle; begin Result:=TJSElementCSSInlineStyle.JOBCast(Intf); end; function TJSScrollIntoViewOptions._Getblock: TScrollLogicalPosition; begin Result:=ReadJSPropertyUnicodeString('block'); end; function TJSScrollIntoViewOptions._Getinline_: TScrollLogicalPosition; begin Result:=ReadJSPropertyUnicodeString('inline'); end; procedure TJSScrollIntoViewOptions._Setblock(const aValue : TScrollLogicalPosition); begin WriteJSPropertyUnicodeString('block',aValue); end; procedure TJSScrollIntoViewOptions._Setinline_(const aValue : TScrollLogicalPosition); begin WriteJSPropertyUnicodeString('inline',aValue); end; constructor TJSScrollIntoViewOptions.create(const aDict : TJSScrollIntoViewOptionsRec); overload; begin Self.block:=aDict.block; Self.inline_:=aDict.inline_; end; class function TJSScrollIntoViewOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollIntoViewOptions.Cast(const Intf: IJSObject): IJSScrollIntoViewOptions; begin Result:=TJSScrollIntoViewOptions.JOBCast(Intf); end; function TJSCheckVisibilityOptions._GetcheckOpacity: Boolean; begin Result:=ReadJSPropertyBoolean('checkOpacity'); end; function TJSCheckVisibilityOptions._GetcheckVisibilityCSS: Boolean; begin Result:=ReadJSPropertyBoolean('checkVisibilityCSS'); end; function TJSCheckVisibilityOptions._GetcontentVisibilityAuto: Boolean; begin Result:=ReadJSPropertyBoolean('contentVisibilityAuto'); end; function TJSCheckVisibilityOptions._GetopacityProperty: Boolean; begin Result:=ReadJSPropertyBoolean('opacityProperty'); end; function TJSCheckVisibilityOptions._GetvisibilityProperty: Boolean; begin Result:=ReadJSPropertyBoolean('visibilityProperty'); end; procedure TJSCheckVisibilityOptions._SetcheckOpacity(const aValue : Boolean); begin WriteJSPropertyBoolean('checkOpacity',aValue); end; procedure TJSCheckVisibilityOptions._SetcheckVisibilityCSS(const aValue : Boolean); begin WriteJSPropertyBoolean('checkVisibilityCSS',aValue); end; procedure TJSCheckVisibilityOptions._SetcontentVisibilityAuto(const aValue : Boolean); begin WriteJSPropertyBoolean('contentVisibilityAuto',aValue); end; procedure TJSCheckVisibilityOptions._SetopacityProperty(const aValue : Boolean); begin WriteJSPropertyBoolean('opacityProperty',aValue); end; procedure TJSCheckVisibilityOptions._SetvisibilityProperty(const aValue : Boolean); begin WriteJSPropertyBoolean('visibilityProperty',aValue); end; constructor TJSCheckVisibilityOptions.create(const aDict : TJSCheckVisibilityOptionsRec); overload; begin Self.checkOpacity:=aDict.checkOpacity; Self.checkVisibilityCSS:=aDict.checkVisibilityCSS; Self.contentVisibilityAuto:=aDict.contentVisibilityAuto; Self.opacityProperty:=aDict.opacityProperty; Self.visibilityProperty:=aDict.visibilityProperty; end; class function TJSCheckVisibilityOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCheckVisibilityOptions.Cast(const Intf: IJSObject): IJSCheckVisibilityOptions; begin Result:=TJSCheckVisibilityOptions.JOBCast(Intf); end; function TJSShadowRootInit._Getmode: TShadowRootMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSShadowRootInit._GetdelegatesFocus: Boolean; begin Result:=ReadJSPropertyBoolean('delegatesFocus'); end; function TJSShadowRootInit._GetslotAssignment: TSlotAssignmentMode; begin Result:=ReadJSPropertyUnicodeString('slotAssignment'); end; function TJSShadowRootInit._Getclonable: Boolean; begin Result:=ReadJSPropertyBoolean('clonable'); end; procedure TJSShadowRootInit._Setmode(const aValue : TShadowRootMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSShadowRootInit._SetdelegatesFocus(const aValue : Boolean); begin WriteJSPropertyBoolean('delegatesFocus',aValue); end; procedure TJSShadowRootInit._SetslotAssignment(const aValue : TSlotAssignmentMode); begin WriteJSPropertyUnicodeString('slotAssignment',aValue); end; procedure TJSShadowRootInit._Setclonable(const aValue : Boolean); begin WriteJSPropertyBoolean('clonable',aValue); end; constructor TJSShadowRootInit.create(const aDict : TJSShadowRootInitRec); overload; begin Self.mode:=aDict.mode; Self.delegatesFocus:=aDict.delegatesFocus; Self.slotAssignment:=aDict.slotAssignment; Self.clonable:=aDict.clonable; end; class function TJSShadowRootInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSShadowRootInit.Cast(const Intf: IJSObject): IJSShadowRootInit; begin Result:=TJSShadowRootInit.JOBCast(Intf); end; function TJSSetHTMLOptions._Getsanitizer: IJSSanitizerConfig; begin Result:=ReadJSPropertyObject('sanitizer',TJSSanitizerConfig) as IJSSanitizerConfig; end; procedure TJSSetHTMLOptions._Setsanitizer(const aValue : IJSSanitizerConfig); begin WriteJSPropertyObject('sanitizer',aValue); end; constructor TJSSetHTMLOptions.create(const aDict : TJSSetHTMLOptionsRec); overload; begin Self.sanitizer:=aDict.sanitizer; end; class function TJSSetHTMLOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSetHTMLOptions.Cast(const Intf: IJSObject): IJSSetHTMLOptions; begin Result:=TJSSetHTMLOptions.JOBCast(Intf); end; function TJSElementInternals._GetshadowRoot: IJSShadowRoot; begin Result:=ReadJSPropertyObject('shadowRoot',TJSShadowRoot) as IJSShadowRoot; end; function TJSElementInternals._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSElementInternals._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSElementInternals._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSElementInternals._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSElementInternals._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; function TJSElementInternals._Getstates: IJSCustomStateSet; begin Result:=ReadJSPropertyObject('states',TJSCustomStateSet) as IJSCustomStateSet; end; function TJSElementInternals._GetariaActiveDescendantElement: IJSElement; begin Result:=ReadJSPropertyObject('ariaActiveDescendantElement',TJSElement) as IJSElement; end; function TJSElementInternals._Getrole: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('role'); end; function TJSElementInternals._GetariaAtomic: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAtomic'); end; function TJSElementInternals._GetariaAutoComplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaAutoComplete'); end; function TJSElementInternals._GetariaBrailleLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleLabel'); end; function TJSElementInternals._GetariaBrailleRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBrailleRoleDescription'); end; function TJSElementInternals._GetariaBusy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaBusy'); end; function TJSElementInternals._GetariaChecked: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaChecked'); end; function TJSElementInternals._GetariaColCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColCount'); end; function TJSElementInternals._GetariaColIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndex'); end; function TJSElementInternals._GetariaColIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColIndexText'); end; function TJSElementInternals._GetariaColSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaColSpan'); end; function TJSElementInternals._GetariaCurrent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaCurrent'); end; function TJSElementInternals._GetariaDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDescription'); end; function TJSElementInternals._GetariaDisabled: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaDisabled'); end; function TJSElementInternals._GetariaExpanded: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaExpanded'); end; function TJSElementInternals._GetariaHasPopup: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHasPopup'); end; function TJSElementInternals._GetariaHidden: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaHidden'); end; function TJSElementInternals._GetariaInvalid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaInvalid'); end; function TJSElementInternals._GetariaKeyShortcuts: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaKeyShortcuts'); end; function TJSElementInternals._GetariaLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLabel'); end; function TJSElementInternals._GetariaLevel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLevel'); end; function TJSElementInternals._GetariaLive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaLive'); end; function TJSElementInternals._GetariaModal: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaModal'); end; function TJSElementInternals._GetariaMultiLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiLine'); end; function TJSElementInternals._GetariaMultiSelectable: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaMultiSelectable'); end; function TJSElementInternals._GetariaOrientation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaOrientation'); end; function TJSElementInternals._GetariaPlaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPlaceholder'); end; function TJSElementInternals._GetariaPosInSet: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPosInSet'); end; function TJSElementInternals._GetariaPressed: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaPressed'); end; function TJSElementInternals._GetariaReadOnly: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaReadOnly'); end; function TJSElementInternals._GetariaRelevant: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRelevant'); end; function TJSElementInternals._GetariaRequired: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRequired'); end; function TJSElementInternals._GetariaRoleDescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRoleDescription'); end; function TJSElementInternals._GetariaRowCount: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowCount'); end; function TJSElementInternals._GetariaRowIndex: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndex'); end; function TJSElementInternals._GetariaRowIndexText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowIndexText'); end; function TJSElementInternals._GetariaRowSpan: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaRowSpan'); end; function TJSElementInternals._GetariaSelected: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSelected'); end; function TJSElementInternals._GetariaSetSize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSetSize'); end; function TJSElementInternals._GetariaSort: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaSort'); end; function TJSElementInternals._GetariaValueMax: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMax'); end; function TJSElementInternals._GetariaValueMin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueMin'); end; function TJSElementInternals._GetariaValueNow: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueNow'); end; function TJSElementInternals._GetariaValueText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ariaValueText'); end; procedure TJSElementInternals._SetariaActiveDescendantElement(const aValue : IJSElement); begin WriteJSPropertyObject('ariaActiveDescendantElement',aValue); end; procedure TJSElementInternals._Setrole(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('role',aValue); end; procedure TJSElementInternals._SetariaAtomic(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAtomic',aValue); end; procedure TJSElementInternals._SetariaAutoComplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaAutoComplete',aValue); end; procedure TJSElementInternals._SetariaBrailleLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleLabel',aValue); end; procedure TJSElementInternals._SetariaBrailleRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBrailleRoleDescription',aValue); end; procedure TJSElementInternals._SetariaBusy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaBusy',aValue); end; procedure TJSElementInternals._SetariaChecked(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaChecked',aValue); end; procedure TJSElementInternals._SetariaColCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColCount',aValue); end; procedure TJSElementInternals._SetariaColIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndex',aValue); end; procedure TJSElementInternals._SetariaColIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColIndexText',aValue); end; procedure TJSElementInternals._SetariaColSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaColSpan',aValue); end; procedure TJSElementInternals._SetariaCurrent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaCurrent',aValue); end; procedure TJSElementInternals._SetariaDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDescription',aValue); end; procedure TJSElementInternals._SetariaDisabled(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaDisabled',aValue); end; procedure TJSElementInternals._SetariaExpanded(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaExpanded',aValue); end; procedure TJSElementInternals._SetariaHasPopup(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHasPopup',aValue); end; procedure TJSElementInternals._SetariaHidden(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaHidden',aValue); end; procedure TJSElementInternals._SetariaInvalid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaInvalid',aValue); end; procedure TJSElementInternals._SetariaKeyShortcuts(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaKeyShortcuts',aValue); end; procedure TJSElementInternals._SetariaLabel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLabel',aValue); end; procedure TJSElementInternals._SetariaLevel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLevel',aValue); end; procedure TJSElementInternals._SetariaLive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaLive',aValue); end; procedure TJSElementInternals._SetariaModal(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaModal',aValue); end; procedure TJSElementInternals._SetariaMultiLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiLine',aValue); end; procedure TJSElementInternals._SetariaMultiSelectable(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaMultiSelectable',aValue); end; procedure TJSElementInternals._SetariaOrientation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaOrientation',aValue); end; procedure TJSElementInternals._SetariaPlaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPlaceholder',aValue); end; procedure TJSElementInternals._SetariaPosInSet(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPosInSet',aValue); end; procedure TJSElementInternals._SetariaPressed(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaPressed',aValue); end; procedure TJSElementInternals._SetariaReadOnly(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaReadOnly',aValue); end; procedure TJSElementInternals._SetariaRelevant(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRelevant',aValue); end; procedure TJSElementInternals._SetariaRequired(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRequired',aValue); end; procedure TJSElementInternals._SetariaRoleDescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRoleDescription',aValue); end; procedure TJSElementInternals._SetariaRowCount(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowCount',aValue); end; procedure TJSElementInternals._SetariaRowIndex(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndex',aValue); end; procedure TJSElementInternals._SetariaRowIndexText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowIndexText',aValue); end; procedure TJSElementInternals._SetariaRowSpan(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaRowSpan',aValue); end; procedure TJSElementInternals._SetariaSelected(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSelected',aValue); end; procedure TJSElementInternals._SetariaSetSize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSetSize',aValue); end; procedure TJSElementInternals._SetariaSort(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaSort',aValue); end; procedure TJSElementInternals._SetariaValueMax(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMax',aValue); end; procedure TJSElementInternals._SetariaValueMin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueMin',aValue); end; procedure TJSElementInternals._SetariaValueNow(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueNow',aValue); end; procedure TJSElementInternals._SetariaValueText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ariaValueText',aValue); end; procedure TJSElementInternals.setFormValue(aValue: IJSFile; aState: IJSFile); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFormData; aState: IJSFile); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(const aValue: UnicodeString; aState: IJSFile); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(const aValue: UnicodeString); begin InvokeJSNoResult('setFormValue',[aValue]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFormData); begin InvokeJSNoResult('setFormValue',[aValue]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFile); begin InvokeJSNoResult('setFormValue',[aValue]); end; procedure TJSElementInternals.setFormValue(const aValue: UnicodeString; aState: IJSFormData); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFormData; aState: IJSFormData); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFile; aState: IJSFormData); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(const aValue: UnicodeString; const aState: UnicodeString); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFormData; const aState: UnicodeString); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setFormValue(aValue: IJSFile; const aState: UnicodeString); begin InvokeJSNoResult('setFormValue',[aValue,aState]); end; procedure TJSElementInternals.setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString; aAnchor: IJSHTMLElement); begin InvokeJSNoResult('setValidity',[aFlags,aMessage,aAnchor]); end; procedure TJSElementInternals.setValidity; begin InvokeJSNoResult('setValidity',[]); end; procedure TJSElementInternals.setValidity(const aFlags: IJSValidityStateFlags); begin InvokeJSNoResult('setValidity',[aFlags]); end; procedure TJSElementInternals.setValidity(const aFlags: IJSValidityStateFlags; const aMessage: UnicodeString); begin InvokeJSNoResult('setValidity',[aFlags,aMessage]); end; function TJSElementInternals.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSElementInternals.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; class function TJSElementInternals.JSClassName: UnicodeString; begin Result:='ElementInternals'; end; class function TJSElementInternals.Cast(const Intf: IJSObject): IJSElementInternals; begin Result:=TJSElementInternals.JOBCast(Intf); end; procedure TJSCustomStateSet.add(const aState: UnicodeString); begin InvokeJSNoResult('add',[aState]); end; function TJSCustomStateSet.delete(const aState: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('delete',[aState]); end; procedure TJSCustomStateSet.clear; begin InvokeJSNoResult('clear',[]); end; class function TJSCustomStateSet.JSClassName: UnicodeString; begin Result:='CustomStateSet'; end; class function TJSCustomStateSet.Cast(const Intf: IJSObject): IJSCustomStateSet; begin Result:=TJSCustomStateSet.JOBCast(Intf); end; function TJSValidityStateFlags._GetvalueMissing: Boolean; begin Result:=ReadJSPropertyBoolean('valueMissing'); end; function TJSValidityStateFlags._GettypeMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('typeMismatch'); end; function TJSValidityStateFlags._GetpatternMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('patternMismatch'); end; function TJSValidityStateFlags._GettooLong: Boolean; begin Result:=ReadJSPropertyBoolean('tooLong'); end; function TJSValidityStateFlags._GettooShort: Boolean; begin Result:=ReadJSPropertyBoolean('tooShort'); end; function TJSValidityStateFlags._GetrangeUnderflow: Boolean; begin Result:=ReadJSPropertyBoolean('rangeUnderflow'); end; function TJSValidityStateFlags._GetrangeOverflow: Boolean; begin Result:=ReadJSPropertyBoolean('rangeOverflow'); end; function TJSValidityStateFlags._GetstepMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('stepMismatch'); end; function TJSValidityStateFlags._GetbadInput: Boolean; begin Result:=ReadJSPropertyBoolean('badInput'); end; function TJSValidityStateFlags._GetcustomError: Boolean; begin Result:=ReadJSPropertyBoolean('customError'); end; procedure TJSValidityStateFlags._SetvalueMissing(const aValue : Boolean); begin WriteJSPropertyBoolean('valueMissing',aValue); end; procedure TJSValidityStateFlags._SettypeMismatch(const aValue : Boolean); begin WriteJSPropertyBoolean('typeMismatch',aValue); end; procedure TJSValidityStateFlags._SetpatternMismatch(const aValue : Boolean); begin WriteJSPropertyBoolean('patternMismatch',aValue); end; procedure TJSValidityStateFlags._SettooLong(const aValue : Boolean); begin WriteJSPropertyBoolean('tooLong',aValue); end; procedure TJSValidityStateFlags._SettooShort(const aValue : Boolean); begin WriteJSPropertyBoolean('tooShort',aValue); end; procedure TJSValidityStateFlags._SetrangeUnderflow(const aValue : Boolean); begin WriteJSPropertyBoolean('rangeUnderflow',aValue); end; procedure TJSValidityStateFlags._SetrangeOverflow(const aValue : Boolean); begin WriteJSPropertyBoolean('rangeOverflow',aValue); end; procedure TJSValidityStateFlags._SetstepMismatch(const aValue : Boolean); begin WriteJSPropertyBoolean('stepMismatch',aValue); end; procedure TJSValidityStateFlags._SetbadInput(const aValue : Boolean); begin WriteJSPropertyBoolean('badInput',aValue); end; procedure TJSValidityStateFlags._SetcustomError(const aValue : Boolean); begin WriteJSPropertyBoolean('customError',aValue); end; constructor TJSValidityStateFlags.create(const aDict : TJSValidityStateFlagsRec); overload; begin Self.valueMissing:=aDict.valueMissing; Self.typeMismatch:=aDict.typeMismatch; Self.patternMismatch:=aDict.patternMismatch; Self.tooLong:=aDict.tooLong; Self.tooShort:=aDict.tooShort; Self.rangeUnderflow:=aDict.rangeUnderflow; Self.rangeOverflow:=aDict.rangeOverflow; Self.stepMismatch:=aDict.stepMismatch; Self.badInput:=aDict.badInput; Self.customError:=aDict.customError; end; class function TJSValidityStateFlags.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSValidityStateFlags.Cast(const Intf: IJSObject): IJSValidityStateFlags; begin Result:=TJSValidityStateFlags.JOBCast(Intf); end; function TJSEncodedAudioChunk._Gettype_: TEncodedAudioChunkType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSEncodedAudioChunk._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSEncodedAudioChunk._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSEncodedAudioChunk._GetbyteLength: Cardinal; begin Result:=ReadJSPropertyInt64('byteLength'); end; constructor TJSEncodedAudioChunk.Create(const aInit: IJSEncodedAudioChunkInit); begin JOBCreate([aInit]); end; procedure TJSEncodedAudioChunk.copyTo(aDestination: IJSArrayBuffer); begin InvokeJSNoResult('copyTo',[aDestination]); end; procedure TJSEncodedAudioChunk.copyTo(aDestination: IJSArrayBufferView); begin InvokeJSNoResult('copyTo',[aDestination]); end; class function TJSEncodedAudioChunk.JSClassName: UnicodeString; begin Result:='EncodedAudioChunk'; end; class function TJSEncodedAudioChunk.Cast(const Intf: IJSObject): IJSEncodedAudioChunk; begin Result:=TJSEncodedAudioChunk.JOBCast(Intf); end; function TJSEncodedAudioChunkInit._Gettype_: TEncodedAudioChunkType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSEncodedAudioChunkInit._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSEncodedAudioChunkInit._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSEncodedAudioChunkInit._Getdata: TEncodedAudioChunkInit_data_Type; begin Result:=ReadJSPropertyVariant('data'); end; function TJSEncodedAudioChunkInit._Gettransfer: TIJSArrayBufferDynArray; begin Result:=ReadJSPropertyObject('transfer',TJSArray) as TIJSArrayBufferDynArray; end; procedure TJSEncodedAudioChunkInit._Settype_(const aValue : TEncodedAudioChunkType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSEncodedAudioChunkInit._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSEncodedAudioChunkInit._Setduration(const aValue : QWord); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSEncodedAudioChunkInit._Setdata(const aValue : TEncodedAudioChunkInit_data_Type); begin WriteJSPropertyVariant('data',aValue); end; procedure TJSEncodedAudioChunkInit._Settransfer(const aValue : TIJSArrayBufferDynArray); begin WriteJSPropertyObject('transfer',aValue); end; constructor TJSEncodedAudioChunkInit.create(const aDict : TJSEncodedAudioChunkInitRec); overload; begin Self.type_:=aDict.type_; Self.timestamp:=aDict.timestamp; Self.duration:=aDict.duration; Self.data:=aDict.data; Self.transfer:=aDict.transfer; end; class function TJSEncodedAudioChunkInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEncodedAudioChunkInit.Cast(const Intf: IJSObject): IJSEncodedAudioChunkInit; begin Result:=TJSEncodedAudioChunkInit.JOBCast(Intf); end; function TJSEncodedVideoChunk._Gettype_: TEncodedVideoChunkType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSEncodedVideoChunk._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSEncodedVideoChunk._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSEncodedVideoChunk._GetbyteLength: Cardinal; begin Result:=ReadJSPropertyInt64('byteLength'); end; constructor TJSEncodedVideoChunk.Create(const aInit: IJSEncodedVideoChunkInit); begin JOBCreate([aInit]); end; procedure TJSEncodedVideoChunk.copyTo(aDestination: IJSArrayBuffer); begin InvokeJSNoResult('copyTo',[aDestination]); end; procedure TJSEncodedVideoChunk.copyTo(aDestination: IJSArrayBufferView); begin InvokeJSNoResult('copyTo',[aDestination]); end; class function TJSEncodedVideoChunk.JSClassName: UnicodeString; begin Result:='EncodedVideoChunk'; end; class function TJSEncodedVideoChunk.Cast(const Intf: IJSObject): IJSEncodedVideoChunk; begin Result:=TJSEncodedVideoChunk.JOBCast(Intf); end; function TJSEncodedVideoChunkInit._Gettype_: TEncodedVideoChunkType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSEncodedVideoChunkInit._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSEncodedVideoChunkInit._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSEncodedVideoChunkInit._Getdata: TEncodedVideoChunkInit_data_Type; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSEncodedVideoChunkInit._Settype_(const aValue : TEncodedVideoChunkType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSEncodedVideoChunkInit._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSEncodedVideoChunkInit._Setduration(const aValue : QWord); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSEncodedVideoChunkInit._Setdata(const aValue : TEncodedVideoChunkInit_data_Type); begin WriteJSPropertyVariant('data',aValue); end; constructor TJSEncodedVideoChunkInit.create(const aDict : TJSEncodedVideoChunkInitRec); overload; begin Self.type_:=aDict.type_; Self.timestamp:=aDict.timestamp; Self.duration:=aDict.duration; Self.data:=aDict.data; end; class function TJSEncodedVideoChunkInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEncodedVideoChunkInit.Cast(const Intf: IJSObject): IJSEncodedVideoChunkInit; begin Result:=TJSEncodedVideoChunkInit.JOBCast(Intf); end; function TJSErrorEvent._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSErrorEvent._Getfilename: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('filename'); end; function TJSErrorEvent._Getlineno: Cardinal; begin Result:=ReadJSPropertyInt64('lineno'); end; function TJSErrorEvent._Getcolno: Cardinal; begin Result:=ReadJSPropertyInt64('colno'); end; function TJSErrorEvent._Geterror: Variant; begin Result:=ReadJSPropertyVariant('error'); end; constructor TJSErrorEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSErrorEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSErrorEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSErrorEvent.JSClassName: UnicodeString; begin Result:='ErrorEvent'; end; class function TJSErrorEvent.Cast(const Intf: IJSObject): IJSErrorEvent; begin Result:=TJSErrorEvent.JOBCast(Intf); end; function TJSErrorEventInit._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSErrorEventInit._Getfilename: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('filename'); end; function TJSErrorEventInit._Getlineno: Cardinal; begin Result:=ReadJSPropertyInt64('lineno'); end; function TJSErrorEventInit._Getcolno: Cardinal; begin Result:=ReadJSPropertyInt64('colno'); end; function TJSErrorEventInit._Geterror: Variant; begin Result:=ReadJSPropertyVariant('error'); end; procedure TJSErrorEventInit._Setmessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('message',aValue); end; procedure TJSErrorEventInit._Setfilename(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('filename',aValue); end; procedure TJSErrorEventInit._Setlineno(const aValue : Cardinal); begin WriteJSPropertyDouble('lineno',aValue); end; procedure TJSErrorEventInit._Setcolno(const aValue : Cardinal); begin WriteJSPropertyDouble('colno',aValue); end; procedure TJSErrorEventInit._Seterror(const aValue : Variant); begin WriteJSPropertyVariant('error',aValue); end; constructor TJSErrorEventInit.create(const aDict : TJSErrorEventInitRec); overload; begin Self.message:=aDict.message; Self.filename:=aDict.filename; Self.lineno:=aDict.lineno; Self.colno:=aDict.colno; Self.error:=aDict.error; end; class function TJSErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSErrorEventInit.Cast(const Intf: IJSObject): IJSErrorEventInit; begin Result:=TJSErrorEventInit.JOBCast(Intf); end; function TJSEvent._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSEvent._Gettarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('target',TJSEventTarget) as IJSEventTarget; end; function TJSEvent._GetcurrentTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('currentTarget',TJSEventTarget) as IJSEventTarget; end; function TJSEvent._GeteventPhase: Word; begin Result:=ReadJSPropertyLongInt('eventPhase'); end; function TJSEvent._Getbubbles: Boolean; begin Result:=ReadJSPropertyBoolean('bubbles'); end; function TJSEvent._Getcancelable: Boolean; begin Result:=ReadJSPropertyBoolean('cancelable'); end; function TJSEvent._GetreturnValue: Boolean; begin Result:=ReadJSPropertyBoolean('returnValue'); end; function TJSEvent._GetdefaultPrevented: Boolean; begin Result:=ReadJSPropertyBoolean('defaultPrevented'); end; function TJSEvent._Getcomposed: Boolean; begin Result:=ReadJSPropertyBoolean('composed'); end; function TJSEvent._GetisTrusted: Boolean; begin Result:=ReadJSPropertyBoolean('isTrusted'); end; function TJSEvent._GettimeStamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timeStamp'); end; function TJSEvent._GetcancelBubble: Boolean; begin Result:=ReadJSPropertyBoolean('cancelBubble'); end; function TJSEvent._GetoriginalTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('originalTarget',TJSEventTarget) as IJSEventTarget; end; function TJSEvent._GetexplicitOriginalTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('explicitOriginalTarget',TJSEventTarget) as IJSEventTarget; end; procedure TJSEvent._SetreturnValue(const aValue : Boolean); begin WriteJSPropertyBoolean('returnValue',aValue); end; procedure TJSEvent._SetcancelBubble(const aValue : Boolean); begin WriteJSPropertyBoolean('cancelBubble',aValue); end; constructor TJSEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; function TJSEvent.composedPath: TJSEventTargetDynArray; begin Result:=InvokeJSObjectResult('composedPath',[],TJSArray) as TJSEventTargetDynArray; end; procedure TJSEvent.stopPropagation; begin InvokeJSNoResult('stopPropagation',[]); end; procedure TJSEvent.stopImmediatePropagation; begin InvokeJSNoResult('stopImmediatePropagation',[]); end; procedure TJSEvent.preventDefault; begin InvokeJSNoResult('preventDefault',[]); end; procedure TJSEvent.initEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initEvent',[aType_,aBubbles,aCancelable]); end; procedure TJSEvent.initEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initEvent',[aType_]); end; procedure TJSEvent.initEvent(const aType_: UnicodeString; aBubbles: Boolean); begin InvokeJSNoResult('initEvent',[aType_,aBubbles]); end; class function TJSEvent.JSClassName: UnicodeString; begin Result:='Event'; end; class function TJSEvent.Cast(const Intf: IJSObject): IJSEvent; begin Result:=TJSEvent.JOBCast(Intf); end; function TJSEventInit._Getbubbles: Boolean; begin Result:=ReadJSPropertyBoolean('bubbles'); end; function TJSEventInit._Getcancelable: Boolean; begin Result:=ReadJSPropertyBoolean('cancelable'); end; function TJSEventInit._Getcomposed: Boolean; begin Result:=ReadJSPropertyBoolean('composed'); end; procedure TJSEventInit._Setbubbles(const aValue : Boolean); begin WriteJSPropertyBoolean('bubbles',aValue); end; procedure TJSEventInit._Setcancelable(const aValue : Boolean); begin WriteJSPropertyBoolean('cancelable',aValue); end; procedure TJSEventInit._Setcomposed(const aValue : Boolean); begin WriteJSPropertyBoolean('composed',aValue); end; constructor TJSEventInit.create(const aDict : TJSEventInitRec); overload; begin Self.bubbles:=aDict.bubbles; Self.cancelable:=aDict.cancelable; Self.composed:=aDict.composed; end; class function TJSEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEventInit.Cast(const Intf: IJSObject): IJSEventInit; begin Result:=TJSEventInit.JOBCast(Intf); end; function TJSGlobalEventHandlers._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSGlobalEventHandlers._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSGlobalEventHandlers._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSGlobalEventHandlers._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSGlobalEventHandlers._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSGlobalEventHandlers._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSGlobalEventHandlers._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSGlobalEventHandlers._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSGlobalEventHandlers._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSGlobalEventHandlers._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSGlobalEventHandlers._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSGlobalEventHandlers._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSGlobalEventHandlers._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSGlobalEventHandlers._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSGlobalEventHandlers._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSGlobalEventHandlers._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSGlobalEventHandlers._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSGlobalEventHandlers._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSGlobalEventHandlers._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSGlobalEventHandlers._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSGlobalEventHandlers._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSGlobalEventHandlers._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSGlobalEventHandlers._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSGlobalEventHandlers._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSGlobalEventHandlers._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSGlobalEventHandlers._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSGlobalEventHandlers._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSGlobalEventHandlers._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSGlobalEventHandlers._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSGlobalEventHandlers._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSGlobalEventHandlers._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSGlobalEventHandlers._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSGlobalEventHandlers._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSGlobalEventHandlers._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSGlobalEventHandlers._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSGlobalEventHandlers._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSGlobalEventHandlers._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSGlobalEventHandlers._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSGlobalEventHandlers._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSGlobalEventHandlers._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSGlobalEventHandlers._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSGlobalEventHandlers._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSGlobalEventHandlers._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSGlobalEventHandlers._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSGlobalEventHandlers._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSGlobalEventHandlers._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSGlobalEventHandlers._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSGlobalEventHandlers._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSGlobalEventHandlers._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSGlobalEventHandlers._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSGlobalEventHandlers._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSGlobalEventHandlers._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSGlobalEventHandlers._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSGlobalEventHandlers._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSGlobalEventHandlers._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSGlobalEventHandlers._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSGlobalEventHandlers._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSGlobalEventHandlers._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSGlobalEventHandlers._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSGlobalEventHandlers._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSGlobalEventHandlers._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSGlobalEventHandlers._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSGlobalEventHandlers._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSGlobalEventHandlers._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSGlobalEventHandlers._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSGlobalEventHandlers._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSGlobalEventHandlers._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSGlobalEventHandlers._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSGlobalEventHandlers._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSGlobalEventHandlers._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSGlobalEventHandlers._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSGlobalEventHandlers._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSGlobalEventHandlers._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSGlobalEventHandlers._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSGlobalEventHandlers._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSGlobalEventHandlers._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSGlobalEventHandlers._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSGlobalEventHandlers._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSGlobalEventHandlers._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSGlobalEventHandlers._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSGlobalEventHandlers._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSGlobalEventHandlers._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSGlobalEventHandlers._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSGlobalEventHandlers._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSGlobalEventHandlers._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSGlobalEventHandlers._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSGlobalEventHandlers._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSGlobalEventHandlers._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSGlobalEventHandlers._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSGlobalEventHandlers._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSGlobalEventHandlers._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSGlobalEventHandlers._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSGlobalEventHandlers._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSGlobalEventHandlers._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSGlobalEventHandlers._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSGlobalEventHandlers._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; procedure TJSGlobalEventHandlers._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSGlobalEventHandlers._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; class function TJSGlobalEventHandlers.JSClassName: UnicodeString; begin Result:='GlobalEventHandlers'; end; class function TJSGlobalEventHandlers.Cast(const Intf: IJSObject): IJSGlobalEventHandlers; begin Result:=TJSGlobalEventHandlers.JOBCast(Intf); end; function TJSWindowEventHandlers._Getonafterprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onafterprint'))); end; function TJSWindowEventHandlers._Getonbeforeprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeprint'))); end; function TJSWindowEventHandlers._Getonbeforeunload: TOnBeforeUnloadEventHandler; begin Result:=(TOnBeforeUnloadEventHandlerNonNull(ReadJSPropertyMethod('onbeforeunload'))); end; function TJSWindowEventHandlers._Getonhashchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onhashchange'))); end; function TJSWindowEventHandlers._Getonlanguagechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlanguagechange'))); end; function TJSWindowEventHandlers._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSWindowEventHandlers._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSWindowEventHandlers._Getonoffline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoffline'))); end; function TJSWindowEventHandlers._Getononline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ononline'))); end; function TJSWindowEventHandlers._Getonpagehide: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpagehide'))); end; function TJSWindowEventHandlers._Getonpageshow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpageshow'))); end; function TJSWindowEventHandlers._Getonpopstate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpopstate'))); end; function TJSWindowEventHandlers._Getonrejectionhandled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrejectionhandled'))); end; function TJSWindowEventHandlers._Getonstorage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstorage'))); end; function TJSWindowEventHandlers._Getonunhandledrejection: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunhandledrejection'))); end; function TJSWindowEventHandlers._Getonunload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunload'))); end; function TJSWindowEventHandlers._Getongamepadconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepadconnected'))); end; function TJSWindowEventHandlers._Getongamepaddisconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepaddisconnected'))); end; procedure TJSWindowEventHandlers._Setonafterprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onafterprint',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonbeforeprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeprint',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonbeforeunload(const aValue : TOnBeforeUnloadEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnBeforeUnloadEventHandlerNonNull); try InvokeJSNoResult('onbeforeunload',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonhashchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onhashchange',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonlanguagechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlanguagechange',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonoffline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoffline',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setononline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ononline',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonpagehide(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpagehide',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonpageshow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpageshow',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonpopstate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpopstate',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonrejectionhandled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrejectionhandled',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonstorage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstorage',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonunhandledrejection(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunhandledrejection',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setonunload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunload',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setongamepadconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepadconnected',[m],jiSet); finally m.free end; end; procedure TJSWindowEventHandlers._Setongamepaddisconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepaddisconnected',[m],jiSet); finally m.free end; end; class function TJSWindowEventHandlers.JSClassName: UnicodeString; begin Result:='WindowEventHandlers'; end; class function TJSWindowEventHandlers.Cast(const Intf: IJSObject): IJSWindowEventHandlers; begin Result:=TJSWindowEventHandlers.JOBCast(Intf); end; function TJSOnErrorEventHandlerForNodes._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSOnErrorEventHandlerForNodes._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; class function TJSOnErrorEventHandlerForNodes.JSClassName: UnicodeString; begin Result:='OnErrorEventHandlerForNodes'; end; class function TJSOnErrorEventHandlerForNodes.Cast(const Intf: IJSObject): IJSOnErrorEventHandlerForNodes; begin Result:=TJSOnErrorEventHandlerForNodes.JOBCast(Intf); end; function TJSOnErrorEventHandlerForWindow._Getonerror: TOnErrorEventHandler; begin Result:=(TOnErrorEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSOnErrorEventHandlerForWindow._Setonerror(const aValue : TOnErrorEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnErrorEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; class function TJSOnErrorEventHandlerForWindow.JSClassName: UnicodeString; begin Result:='OnErrorEventHandlerForWindow'; end; class function TJSOnErrorEventHandlerForWindow.Cast(const Intf: IJSObject): IJSOnErrorEventHandlerForWindow; begin Result:=TJSOnErrorEventHandlerForWindow.JOBCast(Intf); end; function TJSEventSource._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSEventSource._GetwithCredentials: Boolean; begin Result:=ReadJSPropertyBoolean('withCredentials'); end; function TJSEventSource._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSEventSource._Getonopen: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onopen'))); end; function TJSEventSource._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSEventSource._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSEventSource._Setonopen(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onopen',[m],jiSet); finally m.free end; end; procedure TJSEventSource._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSEventSource._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSEventSource.Create(const aUrl: UnicodeString; const aEventSourceInitDict: IJSEventSourceInit); begin JOBCreate([aUrl,aEventSourceInitDict]); end; constructor TJSEventSource.Create(const aUrl: UnicodeString); begin JOBCreate([aUrl]); end; procedure TJSEventSource.close; begin InvokeJSNoResult('close',[]); end; class function TJSEventSource.JSClassName: UnicodeString; begin Result:='EventSource'; end; class function TJSEventSource.Cast(const Intf: IJSObject): IJSEventSource; begin Result:=TJSEventSource.JOBCast(Intf); end; function TJSEventSourceInit._GetwithCredentials: Boolean; begin Result:=ReadJSPropertyBoolean('withCredentials'); end; procedure TJSEventSourceInit._SetwithCredentials(const aValue : Boolean); begin WriteJSPropertyBoolean('withCredentials',aValue); end; constructor TJSEventSourceInit.create(const aDict : TJSEventSourceInitRec); overload; begin Self.withCredentials:=aDict.withCredentials; end; class function TJSEventSourceInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEventSourceInit.Cast(const Intf: IJSObject): IJSEventSourceInit; begin Result:=TJSEventSourceInit.JOBCast(Intf); end; function TJSEventListenerOptions._Getcapture: Boolean; begin Result:=ReadJSPropertyBoolean('capture'); end; function TJSEventListenerOptions._GetmozSystemGroup: Boolean; begin Result:=ReadJSPropertyBoolean('mozSystemGroup'); end; procedure TJSEventListenerOptions._Setcapture(const aValue : Boolean); begin WriteJSPropertyBoolean('capture',aValue); end; procedure TJSEventListenerOptions._SetmozSystemGroup(const aValue : Boolean); begin WriteJSPropertyBoolean('mozSystemGroup',aValue); end; constructor TJSEventListenerOptions.create(const aDict : TJSEventListenerOptionsRec); overload; begin Self.capture:=aDict.capture; Self.mozSystemGroup:=aDict.mozSystemGroup; end; class function TJSEventListenerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEventListenerOptions.Cast(const Intf: IJSObject): IJSEventListenerOptions; begin Result:=TJSEventListenerOptions.JOBCast(Intf); end; function TJSAddEventListenerOptions._Getpassive: Boolean; begin Result:=ReadJSPropertyBoolean('passive'); end; function TJSAddEventListenerOptions._Getonce: Boolean; begin Result:=ReadJSPropertyBoolean('once'); end; function TJSAddEventListenerOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; procedure TJSAddEventListenerOptions._Setpassive(const aValue : Boolean); begin WriteJSPropertyBoolean('passive',aValue); end; procedure TJSAddEventListenerOptions._Setonce(const aValue : Boolean); begin WriteJSPropertyBoolean('once',aValue); end; procedure TJSAddEventListenerOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; constructor TJSAddEventListenerOptions.create(const aDict : TJSAddEventListenerOptionsRec); overload; begin Self.passive:=aDict.passive; Self.once:=aDict.once; Self.signal:=aDict.signal; end; class function TJSAddEventListenerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAddEventListenerOptions.Cast(const Intf: IJSObject): IJSAddEventListenerOptions; begin Result:=TJSAddEventListenerOptions.JOBCast(Intf); end; constructor TJSEventTarget.Create; begin JOBCreate([]); end; procedure TJSEventTarget.addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions; aWantsUntrusted: Boolean); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addEventListener',[aType_,m,aOptions,aWantsUntrusted]); finally m.free; end; end; procedure TJSEventTarget.addEventListener(const aType_: UnicodeString; const aListener: TEventListener); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addEventListener',[aType_,m]); finally m.free; end; end; procedure TJSEventTarget.addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean; aWantsUntrusted: Boolean); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addEventListener',[aType_,m,aOptions,aWantsUntrusted]); finally m.free; end; end; procedure TJSEventTarget.addEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addEventListener',[aType_,m,aOptions]); finally m.free; end; end; procedure TJSEventTarget.addEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSAddEventListenerOptions); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addEventListener',[aType_,m,aOptions]); finally m.free; end; end; procedure TJSEventTarget.removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; aOptions: Boolean); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('removeEventListener',[aType_,m,aOptions]); finally m.free; end; end; procedure TJSEventTarget.removeEventListener(const aType_: UnicodeString; const aListener: TEventListener); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('removeEventListener',[aType_,m]); finally m.free; end; end; procedure TJSEventTarget.removeEventListener(const aType_: UnicodeString; const aListener: TEventListener; const aOptions: IJSEventListenerOptions); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('removeEventListener',[aType_,m,aOptions]); finally m.free; end; end; function TJSEventTarget.dispatchEvent(aEvent: IJSEvent): Boolean; begin Result:=InvokeJSBooleanResult('dispatchEvent',[aEvent]); end; class function TJSEventTarget.JSClassName: UnicodeString; begin Result:='EventTarget'; end; class function TJSEventTarget.Cast(const Intf: IJSObject): IJSEventTarget; begin Result:=TJSEventTarget.JOBCast(Intf); end; constructor TJSExtendableEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSExtendableEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSExtendableEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSExtendableEvent.waitUntil(aP: IJSPromise); begin InvokeJSNoResult('waitUntil',[aP]); end; class function TJSExtendableEvent.JSClassName: UnicodeString; begin Result:='ExtendableEvent'; end; class function TJSExtendableEvent.Cast(const Intf: IJSObject): IJSExtendableEvent; begin Result:=TJSExtendableEvent.JOBCast(Intf); end; constructor TJSExtendableEventInit.create(const aDict : TJSExtendableEventInitRec); overload; begin end; class function TJSExtendableEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSExtendableEventInit.Cast(const Intf: IJSObject): IJSExtendableEventInit; begin Result:=TJSExtendableEventInit.JOBCast(Intf); end; function TJSExtendableMessageEvent._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; function TJSExtendableMessageEvent._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSExtendableMessageEvent._GetlastEventId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastEventId'); end; function TJSExtendableMessageEvent._Getsource: TExtendableMessageEvent_source_Type; begin Result:=ReadJSPropertyVariant('source'); end; function TJSExtendableMessageEvent._Getports: TJSMessagePortDynArray; begin Result:=ReadJSPropertyObject('ports',TJSArray) as TJSMessagePortDynArray; end; constructor TJSExtendableMessageEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSExtendableMessageEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSExtendableMessageEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSExtendableMessageEvent.JSClassName: UnicodeString; begin Result:='ExtendableMessageEvent'; end; class function TJSExtendableMessageEvent.Cast(const Intf: IJSObject): IJSExtendableMessageEvent; begin Result:=TJSExtendableMessageEvent.JOBCast(Intf); end; function TJSExtendableMessageEventInit._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; function TJSExtendableMessageEventInit._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSExtendableMessageEventInit._GetlastEventId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastEventId'); end; function TJSExtendableMessageEventInit._Getsource: TExtendableMessageEventInit_source_Type; begin Result:=ReadJSPropertyVariant('source'); end; function TJSExtendableMessageEventInit._Getports: TJSMessagePortDynArray; begin Result:=ReadJSPropertyObject('ports',TJSArray) as TJSMessagePortDynArray; end; procedure TJSExtendableMessageEventInit._Setdata(const aValue : Variant); begin WriteJSPropertyVariant('data',aValue); end; procedure TJSExtendableMessageEventInit._Setorigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('origin',aValue); end; procedure TJSExtendableMessageEventInit._SetlastEventId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lastEventId',aValue); end; procedure TJSExtendableMessageEventInit._Setsource(const aValue : TExtendableMessageEventInit_source_Type); begin WriteJSPropertyVariant('source',aValue); end; procedure TJSExtendableMessageEventInit._Setports(const aValue : TJSMessagePortDynArray); begin WriteJSPropertyObject('ports',aValue); end; constructor TJSExtendableMessageEventInit.create(const aDict : TJSExtendableMessageEventInitRec); overload; begin Self.data:=aDict.data; Self.origin:=aDict.origin; Self.lastEventId:=aDict.lastEventId; Self.source:=aDict.source; Self.ports:=aDict.ports; end; class function TJSExtendableMessageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSExtendableMessageEventInit.Cast(const Intf: IJSObject): IJSExtendableMessageEventInit; begin Result:=TJSExtendableMessageEventInit.JOBCast(Intf); end; function TJSExtensionAlarms._GetonAlarm: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onAlarm',TJSExtensionEventManager) as IJSExtensionEventManager; end; procedure TJSExtensionAlarms.create_(const aName: UnicodeString; const aAlarmInfo: Variant); begin InvokeJSNoResult('create',[aName,aAlarmInfo]); end; procedure TJSExtensionAlarms.create_(const aAlarmInfo: Variant); begin InvokeJSNoResult('create',[aAlarmInfo]); end; function TJSExtensionAlarms.get(const aName: UnicodeString; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('get',[aName,m]); finally m.free; end; end; function TJSExtensionAlarms.get(const aName: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('get',[aName]); end; function TJSExtensionAlarms.get(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('get',[m]); finally m.free; end; end; function TJSExtensionAlarms.get: Variant; begin Result:=InvokeJSVariantResult('get',[]); end; function TJSExtensionAlarms.getAll(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('getAll',[m]); finally m.free; end; end; function TJSExtensionAlarms.getAll: Variant; begin Result:=InvokeJSVariantResult('getAll',[]); end; function TJSExtensionAlarms.clear(const aName: UnicodeString; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('clear',[aName,m]); finally m.free; end; end; function TJSExtensionAlarms.clear(const aName: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('clear',[aName]); end; function TJSExtensionAlarms.clear(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('clear',[m]); finally m.free; end; end; function TJSExtensionAlarms.clear: Variant; begin Result:=InvokeJSVariantResult('clear',[]); end; function TJSExtensionAlarms.clearAll(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('clearAll',[m]); finally m.free; end; end; function TJSExtensionAlarms.clearAll: Variant; begin Result:=InvokeJSVariantResult('clearAll',[]); end; class function TJSExtensionAlarms.JSClassName: UnicodeString; begin Result:='ExtensionAlarms'; end; class function TJSExtensionAlarms.Cast(const Intf: IJSObject): IJSExtensionAlarms; begin Result:=TJSExtensionAlarms.JOBCast(Intf); end; function TJSExtensionGlobalsMixin._Getbrowser: IJSExtensionBrowser; begin Result:=ReadJSPropertyObject('browser',TJSExtensionBrowser) as IJSExtensionBrowser; end; class function TJSExtensionGlobalsMixin.JSClassName: UnicodeString; begin Result:='ExtensionGlobalsMixin'; end; class function TJSExtensionGlobalsMixin.Cast(const Intf: IJSObject): IJSExtensionGlobalsMixin; begin Result:=TJSExtensionGlobalsMixin.JOBCast(Intf); end; function TJSExtensionBrowser._GetmockExtensionAPI: IJSExtensionMockAPI; begin Result:=ReadJSPropertyObject('mockExtensionAPI',TJSExtensionMockAPI) as IJSExtensionMockAPI; end; function TJSExtensionBrowser._Getalarms: IJSExtensionAlarms; begin Result:=ReadJSPropertyObject('alarms',TJSExtensionAlarms) as IJSExtensionAlarms; end; function TJSExtensionBrowser._GetbrowserSettings: IJSExtensionBrowserSettings; begin Result:=ReadJSPropertyObject('browserSettings',TJSExtensionBrowserSettings) as IJSExtensionBrowserSettings; end; function TJSExtensionBrowser._Getdns: IJSExtensionDns; begin Result:=ReadJSPropertyObject('dns',TJSExtensionDns) as IJSExtensionDns; end; function TJSExtensionBrowser._Getproxy: IJSExtensionProxy; begin Result:=ReadJSPropertyObject('proxy',TJSExtensionProxy) as IJSExtensionProxy; end; function TJSExtensionBrowser._Getruntime: IJSExtensionRuntime; begin Result:=ReadJSPropertyObject('runtime',TJSExtensionRuntime) as IJSExtensionRuntime; end; function TJSExtensionBrowser._Getscripting: IJSExtensionScripting; begin Result:=ReadJSPropertyObject('scripting',TJSExtensionScripting) as IJSExtensionScripting; end; function TJSExtensionBrowser._Gettest: IJSExtensionTest; begin Result:=ReadJSPropertyObject('test',TJSExtensionTest) as IJSExtensionTest; end; class function TJSExtensionBrowser.JSClassName: UnicodeString; begin Result:='ExtensionBrowser'; end; class function TJSExtensionBrowser.Cast(const Intf: IJSObject): IJSExtensionBrowser; begin Result:=TJSExtensionBrowser.JOBCast(Intf); end; function TJSExtensionBrowserSettings._GetallowPopupsForUserEvents: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('allowPopupsForUserEvents',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetcacheEnabled: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('cacheEnabled',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetcloseTabsByDoubleClick: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('closeTabsByDoubleClick',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetcontextMenuShowEvent: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('contextMenuShowEvent',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetftpProtocolEnabled: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('ftpProtocolEnabled',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GethomepageOverride: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('homepageOverride',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetimageAnimationBehavior: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('imageAnimationBehavior',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetnewTabPageOverride: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('newTabPageOverride',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetnewTabPosition: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('newTabPosition',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetopenBookmarksInNewTabs: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('openBookmarksInNewTabs',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetopenSearchResultsInNewTabs: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('openSearchResultsInNewTabs',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetopenUrlbarResultsInNewTabs: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('openUrlbarResultsInNewTabs',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetwebNotificationsDisabled: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('webNotificationsDisabled',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetoverrideDocumentColors: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('overrideDocumentColors',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetoverrideContentColorScheme: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('overrideContentColorScheme',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetuseDocumentFonts: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('useDocumentFonts',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetzoomFullPage: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('zoomFullPage',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetzoomSiteSpecific: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('zoomSiteSpecific',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettings._GetcolorManagement: IJSExtensionBrowserSettingsColorManagement; begin Result:=ReadJSPropertyObject('colorManagement',TJSExtensionBrowserSettingsColorManagement) as IJSExtensionBrowserSettingsColorManagement; end; class function TJSExtensionBrowserSettings.JSClassName: UnicodeString; begin Result:='ExtensionBrowserSettings'; end; class function TJSExtensionBrowserSettings.Cast(const Intf: IJSObject): IJSExtensionBrowserSettings; begin Result:=TJSExtensionBrowserSettings.JOBCast(Intf); end; function TJSExtensionBrowserSettingsColorManagement._Getmode: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('mode',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettingsColorManagement._GetuseNativeSRGB: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('useNativeSRGB',TJSExtensionSetting) as IJSExtensionSetting; end; function TJSExtensionBrowserSettingsColorManagement._GetuseWebRenderCompositor: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('useWebRenderCompositor',TJSExtensionSetting) as IJSExtensionSetting; end; class function TJSExtensionBrowserSettingsColorManagement.JSClassName: UnicodeString; begin Result:='ExtensionBrowserSettingsColorManagement'; end; class function TJSExtensionBrowserSettingsColorManagement.Cast(const Intf: IJSObject): IJSExtensionBrowserSettingsColorManagement; begin Result:=TJSExtensionBrowserSettingsColorManagement.JOBCast(Intf); end; function TJSExtensionDns.resolve(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('resolve',[aArgs]); end; class function TJSExtensionDns.JSClassName: UnicodeString; begin Result:='ExtensionDns'; end; class function TJSExtensionDns.Cast(const Intf: IJSObject): IJSExtensionDns; begin Result:=TJSExtensionDns.JOBCast(Intf); end; procedure TJSExtensionEventManager.addListener(const aCallback: TFunction; aListenerOptions: IJSObject); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try InvokeJSNoResult('addListener',[m,aListenerOptions]); finally m.free; end; end; procedure TJSExtensionEventManager.addListener(const aCallback: TFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try InvokeJSNoResult('addListener',[m]); finally m.free; end; end; procedure TJSExtensionEventManager.removeListener(const aCallback: TFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try InvokeJSNoResult('removeListener',[m]); finally m.free; end; end; function TJSExtensionEventManager.hasListener(const aCallback: TFunction): Boolean; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSBooleanResult('hasListener',[m]); finally m.free; end; end; function TJSExtensionEventManager.hasListeners: Boolean; begin Result:=InvokeJSBooleanResult('hasListeners',[]); end; class function TJSExtensionEventManager.JSClassName: UnicodeString; begin Result:='ExtensionEventManager'; end; class function TJSExtensionEventManager.Cast(const Intf: IJSObject): IJSExtensionEventManager; begin Result:=TJSExtensionEventManager.JOBCast(Intf); end; function TJSExtensionMockAPI._GetpropertyAsErrorObject: Variant; begin Result:=ReadJSPropertyVariant('propertyAsErrorObject'); end; function TJSExtensionMockAPI._GetpropertyAsString: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('propertyAsString'); end; function TJSExtensionMockAPI._GetonTestEvent: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onTestEvent',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionMockAPI.methodSyncWithReturn(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('methodSyncWithReturn',[aArgs]); end; procedure TJSExtensionMockAPI.methodNoReturn(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('methodNoReturn',[aArgs]); end; function TJSExtensionMockAPI.methodAsync(const aArg0: Variant; const aCb: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCb),@JOBCallFunction_); try Result:=InvokeJSVariantResult('methodAsync',[aArg0,m]); finally m.free; end; end; function TJSExtensionMockAPI.methodAsync(const aArg0: Variant): Variant; begin Result:=InvokeJSVariantResult('methodAsync',[aArg0]); end; function TJSExtensionMockAPI.methodAmbiguousArgsAsync(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('methodAmbiguousArgsAsync',[aArgs]); end; function TJSExtensionMockAPI.methodReturnsPort(const aTestName: UnicodeString): IJSExtensionPort; begin Result:=InvokeJSObjectResult('methodReturnsPort',[aTestName],TJSExtensionPort) as IJSExtensionPort; end; class function TJSExtensionMockAPI.JSClassName: UnicodeString; begin Result:='ExtensionMockAPI'; end; class function TJSExtensionMockAPI.Cast(const Intf: IJSObject): IJSExtensionMockAPI; begin Result:=TJSExtensionMockAPI.JOBCast(Intf); end; function TJSExtensionPort._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSExtensionPort._Getsender: Variant; begin Result:=ReadJSPropertyVariant('sender'); end; function TJSExtensionPort._Geterror: Variant; begin Result:=ReadJSPropertyVariant('error'); end; function TJSExtensionPort._GetonDisconnect: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onDisconnect',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionPort._GetonMessage: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onMessage',TJSExtensionEventManager) as IJSExtensionEventManager; end; procedure TJSExtensionPort.disconnect; begin InvokeJSNoResult('disconnect',[]); end; procedure TJSExtensionPort.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; class function TJSExtensionPort.JSClassName: UnicodeString; begin Result:='ExtensionPort'; end; class function TJSExtensionPort.Cast(const Intf: IJSObject): IJSExtensionPort; begin Result:=TJSExtensionPort.JOBCast(Intf); end; function TJSExtensionPortDescriptor._GetportId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('portId'); end; function TJSExtensionPortDescriptor._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSExtensionPortDescriptor._SetportId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('portId',aValue); end; procedure TJSExtensionPortDescriptor._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSExtensionPortDescriptor.create(const aDict : TJSExtensionPortDescriptorRec); overload; begin Self.portId:=aDict.portId; Self.name:=aDict.name; end; class function TJSExtensionPortDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSExtensionPortDescriptor.Cast(const Intf: IJSObject): IJSExtensionPortDescriptor; begin Result:=TJSExtensionPortDescriptor.JOBCast(Intf); end; function TJSExtensionProxy._GetonRequest: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onRequest',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionProxy._GetonError: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onError',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionProxy._Getsettings: IJSExtensionSetting; begin Result:=ReadJSPropertyObject('settings',TJSExtensionSetting) as IJSExtensionSetting; end; class function TJSExtensionProxy.JSClassName: UnicodeString; begin Result:='ExtensionProxy'; end; class function TJSExtensionProxy.Cast(const Intf: IJSObject): IJSExtensionProxy; begin Result:=TJSExtensionProxy.JOBCast(Intf); end; function TJSExtensionRuntime._GetonStartup: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onStartup',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonInstalled: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onInstalled',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonUpdateAvailable: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onUpdateAvailable',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonConnect: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onConnect',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonConnectExternal: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onConnectExternal',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonMessage: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onMessage',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetonMessageExternal: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onMessageExternal',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionRuntime._GetlastError: Variant; begin Result:=ReadJSPropertyVariant('lastError'); end; function TJSExtensionRuntime._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSExtensionRuntime.openOptionsPage(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('openOptionsPage',[m]); finally m.free; end; end; function TJSExtensionRuntime.openOptionsPage: Variant; begin Result:=InvokeJSVariantResult('openOptionsPage',[]); end; function TJSExtensionRuntime.getManifest: Variant; begin Result:=InvokeJSVariantResult('getManifest',[]); end; function TJSExtensionRuntime.getURL(const aPath: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getURL',[aPath]); end; function TJSExtensionRuntime.setUninstallURL(const aUrl: UnicodeString; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('setUninstallURL',[aUrl,m]); finally m.free; end; end; function TJSExtensionRuntime.setUninstallURL(const aUrl: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('setUninstallURL',[aUrl]); end; function TJSExtensionRuntime.setUninstallURL(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('setUninstallURL',[m]); finally m.free; end; end; function TJSExtensionRuntime.setUninstallURL: Variant; begin Result:=InvokeJSVariantResult('setUninstallURL',[]); end; procedure TJSExtensionRuntime.reload; begin InvokeJSNoResult('reload',[]); end; function TJSExtensionRuntime.connect(const aExtensionId: UnicodeString; const aConnectInfo: Variant): IJSExtensionPort; begin Result:=InvokeJSObjectResult('connect',[aExtensionId,aConnectInfo],TJSExtensionPort) as IJSExtensionPort; end; function TJSExtensionRuntime.connect(const aConnectInfo: Variant): IJSExtensionPort; begin Result:=InvokeJSObjectResult('connect',[aConnectInfo],TJSExtensionPort) as IJSExtensionPort; end; function TJSExtensionRuntime.connect: IJSExtensionPort; begin Result:=InvokeJSObjectResult('connect',[],TJSExtensionPort) as IJSExtensionPort; end; function TJSExtensionRuntime.connectNative(const aApplication: UnicodeString): IJSExtensionPort; begin Result:=InvokeJSObjectResult('connectNative',[aApplication],TJSExtensionPort) as IJSExtensionPort; end; function TJSExtensionRuntime.sendMessage(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('sendMessage',[aArgs]); end; function TJSExtensionRuntime.sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant; const aResponseCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResponseCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('sendNativeMessage',[aApplication,aMessage,m]); finally m.free; end; end; function TJSExtensionRuntime.sendNativeMessage(const aApplication: UnicodeString; const aMessage: Variant): Variant; begin Result:=InvokeJSVariantResult('sendNativeMessage',[aApplication,aMessage]); end; function TJSExtensionRuntime.getBrowserInfo(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('getBrowserInfo',[m]); finally m.free; end; end; function TJSExtensionRuntime.getBrowserInfo: Variant; begin Result:=InvokeJSVariantResult('getBrowserInfo',[]); end; function TJSExtensionRuntime.getPlatformInfo(const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('getPlatformInfo',[m]); finally m.free; end; end; function TJSExtensionRuntime.getPlatformInfo: Variant; begin Result:=InvokeJSVariantResult('getPlatformInfo',[]); end; class function TJSExtensionRuntime.JSClassName: UnicodeString; begin Result:='ExtensionRuntime'; end; class function TJSExtensionRuntime.Cast(const Intf: IJSObject): IJSExtensionRuntime; begin Result:=TJSExtensionRuntime.JOBCast(Intf); end; function TJSExtensionScripting.executeScript(const aInjection: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('executeScript',[aInjection,m]); finally m.free; end; end; function TJSExtensionScripting.executeScript(const aInjection: Variant): Variant; begin Result:=InvokeJSVariantResult('executeScript',[aInjection]); end; function TJSExtensionScripting.insertCSS(const aInjection: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('insertCSS',[aInjection,m]); finally m.free; end; end; function TJSExtensionScripting.insertCSS(const aInjection: Variant): Variant; begin Result:=InvokeJSVariantResult('insertCSS',[aInjection]); end; function TJSExtensionScripting.removeCSS(const aInjection: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('removeCSS',[aInjection,m]); finally m.free; end; end; function TJSExtensionScripting.removeCSS(const aInjection: Variant): Variant; begin Result:=InvokeJSVariantResult('removeCSS',[aInjection]); end; function TJSExtensionScripting.registerContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('registerContentScripts',[aScripts,m]); finally m.free; end; end; function TJSExtensionScripting.registerContentScripts(const aScripts: Variant): Variant; begin Result:=InvokeJSVariantResult('registerContentScripts',[aScripts]); end; function TJSExtensionScripting.getRegisteredContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('getRegisteredContentScripts',[aArgs]); end; function TJSExtensionScripting.unregisterContentScripts(const aArgs: Variant): Variant{; ToDo:varargs}; begin Result:=InvokeJSVariantResult('unregisterContentScripts',[aArgs]); end; function TJSExtensionScripting.updateContentScripts(const aScripts: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('updateContentScripts',[aScripts,m]); finally m.free; end; end; function TJSExtensionScripting.updateContentScripts(const aScripts: Variant): Variant; begin Result:=InvokeJSVariantResult('updateContentScripts',[aScripts]); end; class function TJSExtensionScripting.JSClassName: UnicodeString; begin Result:='ExtensionScripting'; end; class function TJSExtensionScripting.Cast(const Intf: IJSObject): IJSExtensionScripting; begin Result:=TJSExtensionScripting.JOBCast(Intf); end; function TJSExtensionSetting._GetonChange: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onChange',TJSExtensionEventManager) as IJSExtensionEventManager; end; function TJSExtensionSetting.get(aDetails: IJSObject; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('get',[aDetails,m]); finally m.free; end; end; function TJSExtensionSetting.get(aDetails: IJSObject): Variant; begin Result:=InvokeJSVariantResult('get',[aDetails]); end; function TJSExtensionSetting.set_(aDetails: IJSObject; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('set',[aDetails,m]); finally m.free; end; end; function TJSExtensionSetting.set_(aDetails: IJSObject): Variant; begin Result:=InvokeJSVariantResult('set',[aDetails]); end; function TJSExtensionSetting.clear(aDetails: IJSObject; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('clear',[aDetails,m]); finally m.free; end; end; function TJSExtensionSetting.clear(aDetails: IJSObject): Variant; begin Result:=InvokeJSVariantResult('clear',[aDetails]); end; class function TJSExtensionSetting.JSClassName: UnicodeString; begin Result:='ExtensionSetting'; end; class function TJSExtensionSetting.Cast(const Intf: IJSObject): IJSExtensionSetting; begin Result:=TJSExtensionSetting.JOBCast(Intf); end; function TJSExtensionTest._GetonMessage: IJSExtensionEventManager; begin Result:=ReadJSPropertyObject('onMessage',TJSExtensionEventManager) as IJSExtensionEventManager; end; procedure TJSExtensionTest.withHandlingUserInput(const aCallback: TFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try InvokeJSNoResult('withHandlingUserInput',[m]); finally m.free; end; end; procedure TJSExtensionTest.notifyFail(const aMessage: UnicodeString); begin InvokeJSNoResult('notifyFail',[aMessage]); end; procedure TJSExtensionTest.notifyPass(const aMessage: UnicodeString); begin InvokeJSNoResult('notifyPass',[aMessage]); end; procedure TJSExtensionTest.notifyPass; begin InvokeJSNoResult('notifyPass',[]); end; procedure TJSExtensionTest.log(const aMessage: UnicodeString); begin InvokeJSNoResult('log',[aMessage]); end; procedure TJSExtensionTest.sendMessage(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('sendMessage',[aArgs]); end; procedure TJSExtensionTest.fail(const aMessage: Variant); begin InvokeJSNoResult('fail',[aMessage]); end; procedure TJSExtensionTest.fail; begin InvokeJSNoResult('fail',[]); end; procedure TJSExtensionTest.succeed(const aMessage: Variant); begin InvokeJSNoResult('succeed',[aMessage]); end; procedure TJSExtensionTest.succeed; begin InvokeJSNoResult('succeed',[]); end; procedure TJSExtensionTest.assertTrue(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('assertTrue',[aArgs]); end; procedure TJSExtensionTest.assertFalse(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('assertFalse',[aArgs]); end; procedure TJSExtensionTest.assertDeepEq(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('assertDeepEq',[aArgs]); end; procedure TJSExtensionTest.assertEq(const aArgs: Variant){; ToDo:varargs}; begin InvokeJSNoResult('assertEq',[aArgs]); end; function TJSExtensionTest.assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('assertRejects',[aPromise,aExpectedError,aMessage,m]); finally m.free; end; end; function TJSExtensionTest.assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aMessage: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('assertRejects',[aPromise,aExpectedError,aMessage]); end; function TJSExtensionTest.assertRejects(aPromise: IJSPromise; const aExpectedError: Variant; const aCallback: TFunction): Variant; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try Result:=InvokeJSVariantResult('assertRejects',[aPromise,aExpectedError,m]); finally m.free; end; end; function TJSExtensionTest.assertRejects(aPromise: IJSPromise; const aExpectedError: Variant): Variant; begin Result:=InvokeJSVariantResult('assertRejects',[aPromise,aExpectedError]); end; procedure TJSExtensionTest.assertThrows(const aFunc: TFunction; const aExpectedError: Variant; const aMessage: UnicodeString); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFunc),@JOBCallFunction_); try InvokeJSNoResult('assertThrows',[m,aExpectedError,aMessage]); finally m.free; end; end; procedure TJSExtensionTest.assertThrows(const aFunc: TFunction; const aExpectedError: Variant); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFunc),@JOBCallFunction_); try InvokeJSNoResult('assertThrows',[m,aExpectedError]); finally m.free; end; end; class function TJSExtensionTest.JSClassName: UnicodeString; begin Result:='ExtensionTest'; end; class function TJSExtensionTest.Cast(const Intf: IJSObject): IJSExtensionTest; begin Result:=TJSExtensionTest.JOBCast(Intf); end; procedure TJSExternal.AddSearchProvider; begin InvokeJSNoResult('AddSearchProvider',[]); end; procedure TJSExternal.IsSearchProviderInstalled; begin InvokeJSNoResult('IsSearchProviderInstalled',[]); end; class function TJSExternal.JSClassName: UnicodeString; begin Result:='External'; end; class function TJSExternal.Cast(const Intf: IJSObject): IJSExternal; begin Result:=TJSExternal.JOBCast(Intf); end; function TJSFailedCertSecurityInfo._GeterrorCodeString: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('errorCodeString'); end; function TJSFailedCertSecurityInfo._GetoverridableErrorCategory: TOverridableErrorCategory; begin Result:=ReadJSPropertyUnicodeString('overridableErrorCategory'); end; function TJSFailedCertSecurityInfo._GetvalidNotBefore: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('validNotBefore'); end; function TJSFailedCertSecurityInfo._GetvalidNotAfter: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('validNotAfter'); end; function TJSFailedCertSecurityInfo._GetissuerCommonName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('issuerCommonName'); end; function TJSFailedCertSecurityInfo._GetcertValidityRangeNotAfter: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('certValidityRangeNotAfter'); end; function TJSFailedCertSecurityInfo._GetcertValidityRangeNotBefore: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('certValidityRangeNotBefore'); end; function TJSFailedCertSecurityInfo._GeterrorMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('errorMessage'); end; function TJSFailedCertSecurityInfo._GethasHSTS: Boolean; begin Result:=ReadJSPropertyBoolean('hasHSTS'); end; function TJSFailedCertSecurityInfo._GethasHPKP: Boolean; begin Result:=ReadJSPropertyBoolean('hasHPKP'); end; function TJSFailedCertSecurityInfo._GetcertChainStrings: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('certChainStrings',TJSArray) as TUnicodeStringDynArray; end; procedure TJSFailedCertSecurityInfo._SeterrorCodeString(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('errorCodeString',aValue); end; procedure TJSFailedCertSecurityInfo._SetoverridableErrorCategory(const aValue : TOverridableErrorCategory); begin WriteJSPropertyUnicodeString('overridableErrorCategory',aValue); end; procedure TJSFailedCertSecurityInfo._SetvalidNotBefore(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('validNotBefore',aValue); end; procedure TJSFailedCertSecurityInfo._SetvalidNotAfter(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('validNotAfter',aValue); end; procedure TJSFailedCertSecurityInfo._SetissuerCommonName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('issuerCommonName',aValue); end; procedure TJSFailedCertSecurityInfo._SetcertValidityRangeNotAfter(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('certValidityRangeNotAfter',aValue); end; procedure TJSFailedCertSecurityInfo._SetcertValidityRangeNotBefore(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('certValidityRangeNotBefore',aValue); end; procedure TJSFailedCertSecurityInfo._SeterrorMessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('errorMessage',aValue); end; procedure TJSFailedCertSecurityInfo._SethasHSTS(const aValue : Boolean); begin WriteJSPropertyBoolean('hasHSTS',aValue); end; procedure TJSFailedCertSecurityInfo._SethasHPKP(const aValue : Boolean); begin WriteJSPropertyBoolean('hasHPKP',aValue); end; procedure TJSFailedCertSecurityInfo._SetcertChainStrings(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('certChainStrings',aValue); end; constructor TJSFailedCertSecurityInfo.create(const aDict : TJSFailedCertSecurityInfoRec); overload; begin Self.errorCodeString:=aDict.errorCodeString; Self.overridableErrorCategory:=aDict.overridableErrorCategory; Self.validNotBefore:=aDict.validNotBefore; Self.validNotAfter:=aDict.validNotAfter; Self.issuerCommonName:=aDict.issuerCommonName; Self.certValidityRangeNotAfter:=aDict.certValidityRangeNotAfter; Self.certValidityRangeNotBefore:=aDict.certValidityRangeNotBefore; Self.errorMessage:=aDict.errorMessage; Self.hasHSTS:=aDict.hasHSTS; Self.hasHPKP:=aDict.hasHPKP; Self.certChainStrings:=aDict.certChainStrings; end; class function TJSFailedCertSecurityInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFailedCertSecurityInfo.Cast(const Intf: IJSObject): IJSFailedCertSecurityInfo; begin Result:=TJSFailedCertSecurityInfo.JOBCast(Intf); end; function TJSFakePluginTagInit._GethandlerURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('handlerURI'); end; function TJSFakePluginTagInit._GetmimeEntries: TJSFakePluginMimeEntryDynArray; begin Result:=ReadJSPropertyObject('mimeEntries',TJSArray) as TJSFakePluginMimeEntryDynArray; end; function TJSFakePluginTagInit._GetniceName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('niceName'); end; function TJSFakePluginTagInit._GetfullPath: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fullPath'); end; function TJSFakePluginTagInit._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSFakePluginTagInit._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; function TJSFakePluginTagInit._GetfileName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fileName'); end; function TJSFakePluginTagInit._Getversion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('version'); end; function TJSFakePluginTagInit._GetsandboxScript: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sandboxScript'); end; procedure TJSFakePluginTagInit._SethandlerURI(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('handlerURI',aValue); end; procedure TJSFakePluginTagInit._SetmimeEntries(const aValue : TJSFakePluginMimeEntryDynArray); begin WriteJSPropertyObject('mimeEntries',aValue); end; procedure TJSFakePluginTagInit._SetniceName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('niceName',aValue); end; procedure TJSFakePluginTagInit._SetfullPath(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fullPath',aValue); end; procedure TJSFakePluginTagInit._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSFakePluginTagInit._Setdescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('description',aValue); end; procedure TJSFakePluginTagInit._SetfileName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fileName',aValue); end; procedure TJSFakePluginTagInit._Setversion(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('version',aValue); end; procedure TJSFakePluginTagInit._SetsandboxScript(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sandboxScript',aValue); end; constructor TJSFakePluginTagInit.create(const aDict : TJSFakePluginTagInitRec); overload; begin Self.handlerURI:=aDict.handlerURI; Self.mimeEntries:=aDict.mimeEntries; Self.niceName:=aDict.niceName; Self.fullPath:=aDict.fullPath; Self.name:=aDict.name; Self.description:=aDict.description; Self.fileName:=aDict.fileName; Self.version:=aDict.version; Self.sandboxScript:=aDict.sandboxScript; end; class function TJSFakePluginTagInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFakePluginTagInit.Cast(const Intf: IJSObject): IJSFakePluginTagInit; begin Result:=TJSFakePluginTagInit.JOBCast(Intf); end; function TJSFakePluginMimeEntry._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSFakePluginMimeEntry._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; function TJSFakePluginMimeEntry._Getextension: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('extension'); end; procedure TJSFakePluginMimeEntry._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSFakePluginMimeEntry._Setdescription(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('description',aValue); end; procedure TJSFakePluginMimeEntry._Setextension(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('extension',aValue); end; constructor TJSFakePluginMimeEntry.create(const aDict : TJSFakePluginMimeEntryRec); overload; begin Self.type_:=aDict.type_; Self.description:=aDict.description; Self.extension:=aDict.extension; end; class function TJSFakePluginMimeEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFakePluginMimeEntry.Cast(const Intf: IJSObject): IJSFakePluginMimeEntry; begin Result:=TJSFakePluginMimeEntry.JOBCast(Intf); end; function TJSFeaturePolicy.allowsFeature(const aFeature: UnicodeString; const aOrigin: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('allowsFeature',[aFeature,aOrigin]); end; function TJSFeaturePolicy.allowsFeature(const aFeature: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('allowsFeature',[aFeature]); end; function TJSFeaturePolicy.features: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('features',[],TJSArray) as TUnicodeStringDynArray; end; function TJSFeaturePolicy.allowedFeatures: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('allowedFeatures',[],TJSArray) as TUnicodeStringDynArray; end; function TJSFeaturePolicy.getAllowlistForFeature(const aFeature: UnicodeString): TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getAllowlistForFeature',[aFeature],TJSArray) as TUnicodeStringDynArray; end; class function TJSFeaturePolicy.JSClassName: UnicodeString; begin Result:='FeaturePolicy'; end; class function TJSFeaturePolicy.Cast(const Intf: IJSObject): IJSFeaturePolicy; begin Result:=TJSFeaturePolicy.JOBCast(Intf); end; function TJSFeaturePolicyViolationReportBody._GetfeatureId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('featureId'); end; function TJSFeaturePolicyViolationReportBody._GetsourceFile: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sourceFile'); end; function TJSFeaturePolicyViolationReportBody._GetlineNumber: LongInt; begin Result:=ReadJSPropertyLongInt('lineNumber'); end; function TJSFeaturePolicyViolationReportBody._GetcolumnNumber: LongInt; begin Result:=ReadJSPropertyLongInt('columnNumber'); end; function TJSFeaturePolicyViolationReportBody._Getdisposition: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('disposition'); end; class function TJSFeaturePolicyViolationReportBody.JSClassName: UnicodeString; begin Result:='FeaturePolicyViolationReportBody'; end; class function TJSFeaturePolicyViolationReportBody.Cast(const Intf: IJSObject): IJSFeaturePolicyViolationReportBody; begin Result:=TJSFeaturePolicyViolationReportBody.JOBCast(Intf); end; function TJSBody._GetbodyUsed: Boolean; begin Result:=ReadJSPropertyBoolean('bodyUsed'); end; function TJSBody.arrayBuffer: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('arrayBuffer',[],TJSPromise) as IJSPromise; end; function TJSBody.blob: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('blob',[],TJSPromise) as IJSPromise; end; function TJSBody.formData: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formData',[],TJSPromise) as IJSPromise; end; function TJSBody.json: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('json',[],TJSPromise) as IJSPromise; end; function TJSBody.text: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('text',[],TJSPromise) as IJSPromise; end; class function TJSBody.JSClassName: UnicodeString; begin Result:='Body'; end; class function TJSBody.Cast(const Intf: IJSObject): IJSBody; begin Result:=TJSBody.JOBCast(Intf); end; function TJSFetchReadableStreamReadDataDone._Getdone: Boolean; begin Result:=ReadJSPropertyBoolean('done'); end; procedure TJSFetchReadableStreamReadDataDone._Setdone(const aValue : Boolean); begin WriteJSPropertyBoolean('done',aValue); end; constructor TJSFetchReadableStreamReadDataDone.create(const aDict : TJSFetchReadableStreamReadDataDoneRec); overload; begin Self.done:=aDict.done; end; class function TJSFetchReadableStreamReadDataDone.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFetchReadableStreamReadDataDone.Cast(const Intf: IJSObject): IJSFetchReadableStreamReadDataDone; begin Result:=TJSFetchReadableStreamReadDataDone.JOBCast(Intf); end; function TJSFetchReadableStreamReadDataArray._Getvalue: IJSUint8Array; begin Result:=ReadJSPropertyObject('value',TJSUint8Array) as IJSUint8Array; end; procedure TJSFetchReadableStreamReadDataArray._Setvalue(const aValue : IJSUint8Array); begin WriteJSPropertyObject('value',aValue); end; constructor TJSFetchReadableStreamReadDataArray.create(const aDict : TJSFetchReadableStreamReadDataArrayRec); overload; begin Self.value:=aDict.value; end; class function TJSFetchReadableStreamReadDataArray.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFetchReadableStreamReadDataArray.Cast(const Intf: IJSObject): IJSFetchReadableStreamReadDataArray; begin Result:=TJSFetchReadableStreamReadDataArray.JOBCast(Intf); end; function TJSFetchEvent._Getrequest: IJSRequest; begin Result:=ReadJSPropertyObject('request',TJSRequest) as IJSRequest; end; function TJSFetchEvent._GetpreloadResponse: IJSPromise; begin Result:=ReadJSPropertyObject('preloadResponse',TJSPromise) as IJSPromise; end; function TJSFetchEvent._GetclientId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('clientId'); end; function TJSFetchEvent._GetresultingClientId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('resultingClientId'); end; function TJSFetchEvent._Gethandled: IJSPromise; begin Result:=ReadJSPropertyObject('handled',TJSPromise) as IJSPromise; end; constructor TJSFetchEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSFetchEventInit); begin JOBCreate([aType_,aEventInitDict]); end; procedure TJSFetchEvent.respondWith(aR: IJSPromise); begin InvokeJSNoResult('respondWith',[aR]); end; class function TJSFetchEvent.JSClassName: UnicodeString; begin Result:='FetchEvent'; end; class function TJSFetchEvent.Cast(const Intf: IJSObject): IJSFetchEvent; begin Result:=TJSFetchEvent.JOBCast(Intf); end; function TJSFetchEventInit._Getrequest: IJSRequest; begin Result:=ReadJSPropertyObject('request',TJSRequest) as IJSRequest; end; function TJSFetchEventInit._GetclientId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('clientId'); end; function TJSFetchEventInit._GetresultingClientId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('resultingClientId'); end; procedure TJSFetchEventInit._Setrequest(const aValue : IJSRequest); begin WriteJSPropertyObject('request',aValue); end; procedure TJSFetchEventInit._SetclientId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('clientId',aValue); end; procedure TJSFetchEventInit._SetresultingClientId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('resultingClientId',aValue); end; constructor TJSFetchEventInit.create(const aDict : TJSFetchEventInitRec); overload; begin Self.request:=aDict.request; Self.clientId:=aDict.clientId; Self.resultingClientId:=aDict.resultingClientId; end; class function TJSFetchEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFetchEventInit.Cast(const Intf: IJSObject): IJSFetchEventInit; begin Result:=TJSFetchEventInit.JOBCast(Intf); end; function TJSFetchObserver._Getstate: TFetchState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSFetchObserver._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; function TJSFetchObserver._Getonrequestprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrequestprogress'))); end; function TJSFetchObserver._Getonresponseprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresponseprogress'))); end; procedure TJSFetchObserver._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; procedure TJSFetchObserver._Setonrequestprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrequestprogress',[m],jiSet); finally m.free end; end; procedure TJSFetchObserver._Setonresponseprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresponseprogress',[m],jiSet); finally m.free end; end; class function TJSFetchObserver.JSClassName: UnicodeString; begin Result:='FetchObserver'; end; class function TJSFetchObserver.Cast(const Intf: IJSObject): IJSFetchObserver; begin Result:=TJSFetchObserver.JOBCast(Intf); end; class function TJSnsIFile.JSClassName: UnicodeString; begin Result:='nsIFile'; end; class function TJSnsIFile.Cast(const Intf: IJSObject): IJSnsIFile; begin Result:=TJSnsIFile.JOBCast(Intf); end; function TJSFile._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSFile._GetlastModified: Int64; begin Result:=ReadJSPropertyInt64('lastModified'); end; function TJSFile._GetwebkitRelativePath: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('webkitRelativePath'); end; constructor TJSFile.Create(const aFileBits: TBlobPartDynArray; const aFileName: UnicodeString; const aOptions: IJSFilePropertyBag); begin JOBCreate([aFileBits,aFileName,aOptions]); end; constructor TJSFile.Create(const aFileBits: TBlobPartDynArray; const aFileName: UnicodeString); begin JOBCreate([aFileBits,aFileName]); end; class function TJSFile.JSClassName: UnicodeString; begin Result:='File'; end; class function TJSFile.Cast(const Intf: IJSObject): IJSFile; begin Result:=TJSFile.JOBCast(Intf); end; function TJSFilePropertyBag._GetlastModified: Int64; begin Result:=ReadJSPropertyInt64('lastModified'); end; procedure TJSFilePropertyBag._SetlastModified(const aValue : Int64); begin WriteJSPropertyDouble('lastModified',aValue); end; constructor TJSFilePropertyBag.create(const aDict : TJSFilePropertyBagRec); overload; begin Self.lastModified:=aDict.lastModified; end; class function TJSFilePropertyBag.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFilePropertyBag.Cast(const Intf: IJSObject): IJSFilePropertyBag; begin Result:=TJSFilePropertyBag.JOBCast(Intf); end; function TJSChromeFilePropertyBag._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSChromeFilePropertyBag._GetexistenceCheck: Boolean; begin Result:=ReadJSPropertyBoolean('existenceCheck'); end; procedure TJSChromeFilePropertyBag._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSChromeFilePropertyBag._SetexistenceCheck(const aValue : Boolean); begin WriteJSPropertyBoolean('existenceCheck',aValue); end; constructor TJSChromeFilePropertyBag.create(const aDict : TJSChromeFilePropertyBagRec); overload; begin Self.name:=aDict.name; Self.existenceCheck:=aDict.existenceCheck; end; class function TJSChromeFilePropertyBag.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSChromeFilePropertyBag.Cast(const Intf: IJSObject): IJSChromeFilePropertyBag; begin Result:=TJSChromeFilePropertyBag.JOBCast(Intf); end; function TJSFileList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSFileList.item(aIndex: Cardinal): IJSFile; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSFile) as IJSFile; end; class function TJSFileList.JSClassName: UnicodeString; begin Result:='FileList'; end; class function TJSFileList.Cast(const Intf: IJSObject): IJSFileList; begin Result:=TJSFileList.JOBCast(Intf); end; function TJSFileReader._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSFileReader._Getresult: TFileReader_result_Type; begin Result:=ReadJSPropertyVariant('result'); end; function TJSFileReader._Geterror: IJSDOMException; begin Result:=ReadJSPropertyObject('error',TJSDOMException) as IJSDOMException; end; function TJSFileReader._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSFileReader._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSFileReader._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSFileReader._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSFileReader._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSFileReader._Getonloadend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadend'))); end; procedure TJSFileReader._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSFileReader._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSFileReader._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSFileReader._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSFileReader._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSFileReader._Setonloadend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadend',[m],jiSet); finally m.free end; end; constructor TJSFileReader.Create; begin JOBCreate([]); end; procedure TJSFileReader.readAsArrayBuffer(aBlob: IJSBlob); begin InvokeJSNoResult('readAsArrayBuffer',[aBlob]); end; procedure TJSFileReader.readAsBinaryString(aFiledata: IJSBlob); begin InvokeJSNoResult('readAsBinaryString',[aFiledata]); end; procedure TJSFileReader.readAsText(aBlob: IJSBlob; const aLabel_: UnicodeString); begin InvokeJSNoResult('readAsText',[aBlob,aLabel_]); end; procedure TJSFileReader.readAsText(aBlob: IJSBlob); begin InvokeJSNoResult('readAsText',[aBlob]); end; procedure TJSFileReader.readAsDataURL(aBlob: IJSBlob); begin InvokeJSNoResult('readAsDataURL',[aBlob]); end; procedure TJSFileReader.abort; begin InvokeJSNoResult('abort',[]); end; class function TJSFileReader.JSClassName: UnicodeString; begin Result:='FileReader'; end; class function TJSFileReader.Cast(const Intf: IJSObject): IJSFileReader; begin Result:=TJSFileReader.JOBCast(Intf); end; constructor TJSFileReaderSync.Create; begin JOBCreate([]); end; function TJSFileReaderSync.readAsArrayBuffer(aBlob: IJSBlob): IJSArrayBuffer; begin Result:=InvokeJSObjectResult('readAsArrayBuffer',[aBlob],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSFileReaderSync.readAsBinaryString(aBlob: IJSBlob): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('readAsBinaryString',[aBlob]); end; function TJSFileReaderSync.readAsText(aBlob: IJSBlob; const aEncoding: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('readAsText',[aBlob,aEncoding]); end; function TJSFileReaderSync.readAsText(aBlob: IJSBlob): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('readAsText',[aBlob]); end; function TJSFileReaderSync.readAsDataURL(aBlob: IJSBlob): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('readAsDataURL',[aBlob]); end; class function TJSFileReaderSync.JSClassName: UnicodeString; begin Result:='FileReaderSync'; end; class function TJSFileReaderSync.Cast(const Intf: IJSObject): IJSFileReaderSync; begin Result:=TJSFileReaderSync.JOBCast(Intf); end; function TJSFileSystemFlags._Getcreate_: Boolean; begin Result:=ReadJSPropertyBoolean('create'); end; function TJSFileSystemFlags._Getexclusive: Boolean; begin Result:=ReadJSPropertyBoolean('exclusive'); end; procedure TJSFileSystemFlags._Setcreate_(const aValue : Boolean); begin WriteJSPropertyBoolean('create',aValue); end; procedure TJSFileSystemFlags._Setexclusive(const aValue : Boolean); begin WriteJSPropertyBoolean('exclusive',aValue); end; constructor TJSFileSystemFlags.create(const aDict : TJSFileSystemFlagsRec); overload; begin Self.create_:=aDict.create_; Self.exclusive:=aDict.exclusive; end; class function TJSFileSystemFlags.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemFlags.Cast(const Intf: IJSObject): IJSFileSystemFlags; begin Result:=TJSFileSystemFlags.JOBCast(Intf); end; function TJSFileSystem._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSFileSystem._Getroot: IJSFileSystemDirectoryEntry; begin Result:=ReadJSPropertyObject('root',TJSFileSystemDirectoryEntry) as IJSFileSystemDirectoryEntry; end; class function TJSFileSystem.JSClassName: UnicodeString; begin Result:='FileSystem'; end; class function TJSFileSystem.Cast(const Intf: IJSObject): IJSFileSystem; begin Result:=TJSFileSystem.JOBCast(Intf); end; function TJSFileSystemDirectoryEntry.createReader: IJSFileSystemDirectoryReader; begin Result:=InvokeJSObjectResult('createReader',[],TJSFileSystemDirectoryReader) as IJSFileSystemDirectoryReader; end; procedure TJSFileSystemDirectoryEntry.getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallErrorCallback); try InvokeJSNoResult('getFile',[aPath,aOptions,m,m2]); finally m.free; m2.free; end; end; procedure TJSFileSystemDirectoryEntry.getFile; begin InvokeJSNoResult('getFile',[]); end; procedure TJSFileSystemDirectoryEntry.getFile(const aPath: UnicodeString); begin InvokeJSNoResult('getFile',[aPath]); end; procedure TJSFileSystemDirectoryEntry.getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); begin InvokeJSNoResult('getFile',[aPath,aOptions]); end; procedure TJSFileSystemDirectoryEntry.getFile(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); try InvokeJSNoResult('getFile',[aPath,aOptions,m]); finally m.free; end; end; procedure TJSFileSystemDirectoryEntry.getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallErrorCallback); try InvokeJSNoResult('getDirectory',[aPath,aOptions,m,m2]); finally m.free; m2.free; end; end; procedure TJSFileSystemDirectoryEntry.getDirectory; begin InvokeJSNoResult('getDirectory',[]); end; procedure TJSFileSystemDirectoryEntry.getDirectory(const aPath: UnicodeString); begin InvokeJSNoResult('getDirectory',[aPath]); end; procedure TJSFileSystemDirectoryEntry.getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags); begin InvokeJSNoResult('getDirectory',[aPath,aOptions]); end; procedure TJSFileSystemDirectoryEntry.getDirectory(const aPath: UnicodeString; const aOptions: IJSFileSystemFlags; const aSuccessCallback: TFileSystemEntryCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); try InvokeJSNoResult('getDirectory',[aPath,aOptions,m]); finally m.free; end; end; class function TJSFileSystemDirectoryEntry.JSClassName: UnicodeString; begin Result:='FileSystemDirectoryEntry'; end; class function TJSFileSystemDirectoryEntry.Cast(const Intf: IJSObject): IJSFileSystemDirectoryEntry; begin Result:=TJSFileSystemDirectoryEntry.JOBCast(Intf); end; function TJSFileSystemGetFileOptions._Getcreate_: Boolean; begin Result:=ReadJSPropertyBoolean('create'); end; procedure TJSFileSystemGetFileOptions._Setcreate_(const aValue : Boolean); begin WriteJSPropertyBoolean('create',aValue); end; constructor TJSFileSystemGetFileOptions.create(const aDict : TJSFileSystemGetFileOptionsRec); overload; begin Self.create_:=aDict.create_; end; class function TJSFileSystemGetFileOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemGetFileOptions.Cast(const Intf: IJSObject): IJSFileSystemGetFileOptions; begin Result:=TJSFileSystemGetFileOptions.JOBCast(Intf); end; function TJSFileSystemGetDirectoryOptions._Getcreate_: Boolean; begin Result:=ReadJSPropertyBoolean('create'); end; procedure TJSFileSystemGetDirectoryOptions._Setcreate_(const aValue : Boolean); begin WriteJSPropertyBoolean('create',aValue); end; constructor TJSFileSystemGetDirectoryOptions.create(const aDict : TJSFileSystemGetDirectoryOptionsRec); overload; begin Self.create_:=aDict.create_; end; class function TJSFileSystemGetDirectoryOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemGetDirectoryOptions.Cast(const Intf: IJSObject): IJSFileSystemGetDirectoryOptions; begin Result:=TJSFileSystemGetDirectoryOptions.JOBCast(Intf); end; function TJSFileSystemRemoveOptions._Getrecursive: Boolean; begin Result:=ReadJSPropertyBoolean('recursive'); end; procedure TJSFileSystemRemoveOptions._Setrecursive(const aValue : Boolean); begin WriteJSPropertyBoolean('recursive',aValue); end; constructor TJSFileSystemRemoveOptions.create(const aDict : TJSFileSystemRemoveOptionsRec); overload; begin Self.recursive:=aDict.recursive; end; class function TJSFileSystemRemoveOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemRemoveOptions.Cast(const Intf: IJSObject): IJSFileSystemRemoveOptions; begin Result:=TJSFileSystemRemoveOptions.JOBCast(Intf); end; function TJSFileSystemDirectoryHandle.getFileHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetFileOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFileHandle',[aName,aOptions],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.getFileHandle(const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFileHandle',[aName],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.getDirectoryHandle(const aName: UnicodeString; const aOptions: IJSFileSystemGetDirectoryOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getDirectoryHandle',[aName,aOptions],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.getDirectoryHandle(const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getDirectoryHandle',[aName],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.removeEntry(const aName: UnicodeString; const aOptions: IJSFileSystemRemoveOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('removeEntry',[aName,aOptions],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.removeEntry(const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('removeEntry',[aName],TJSPromise) as IJSPromise; end; function TJSFileSystemDirectoryHandle.resolve(aPossibleDescendant: IJSFileSystemHandle): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('resolve',[aPossibleDescendant],TJSPromise) as IJSPromise; end; class function TJSFileSystemDirectoryHandle.JSClassName: UnicodeString; begin Result:='FileSystemDirectoryHandle'; end; class function TJSFileSystemDirectoryHandle.Cast(const Intf: IJSObject): IJSFileSystemDirectoryHandle; begin Result:=TJSFileSystemDirectoryHandle.JOBCast(Intf); end; function TJSFileSystemDirectoryIterator.next: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('next',[],TJSPromise) as IJSPromise; end; class function TJSFileSystemDirectoryIterator.JSClassName: UnicodeString; begin Result:='FileSystemDirectoryIterator'; end; class function TJSFileSystemDirectoryIterator.Cast(const Intf: IJSObject): IJSFileSystemDirectoryIterator; begin Result:=TJSFileSystemDirectoryIterator.JOBCast(Intf); end; procedure TJSFileSystemDirectoryReader.readEntries(const aSuccessCallback: TFileSystemEntriesCallback; const aErrorCallback: TErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntriesCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallErrorCallback); try InvokeJSNoResult('readEntries',[m,m2]); finally m.free; m2.free; end; end; procedure TJSFileSystemDirectoryReader.readEntries(const aSuccessCallback: TFileSystemEntriesCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntriesCallback); try InvokeJSNoResult('readEntries',[m]); finally m.free; end; end; class function TJSFileSystemDirectoryReader.JSClassName: UnicodeString; begin Result:='FileSystemDirectoryReader'; end; class function TJSFileSystemDirectoryReader.Cast(const Intf: IJSObject): IJSFileSystemDirectoryReader; begin Result:=TJSFileSystemDirectoryReader.JOBCast(Intf); end; function TJSFileSystemEntry._GetisFile: Boolean; begin Result:=ReadJSPropertyBoolean('isFile'); end; function TJSFileSystemEntry._GetisDirectory: Boolean; begin Result:=ReadJSPropertyBoolean('isDirectory'); end; function TJSFileSystemEntry._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSFileSystemEntry._GetfullPath: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fullPath'); end; function TJSFileSystemEntry._Getfilesystem: IJSFileSystem; begin Result:=ReadJSPropertyObject('filesystem',TJSFileSystem) as IJSFileSystem; end; procedure TJSFileSystemEntry.getParent(const aSuccessCallback: TFileSystemEntryCallback; const aErrorCallback: TErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallErrorCallback); try InvokeJSNoResult('getParent',[m,m2]); finally m.free; m2.free; end; end; procedure TJSFileSystemEntry.getParent; begin InvokeJSNoResult('getParent',[]); end; procedure TJSFileSystemEntry.getParent(const aSuccessCallback: TFileSystemEntryCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileSystemEntryCallback); try InvokeJSNoResult('getParent',[m]); finally m.free; end; end; class function TJSFileSystemEntry.JSClassName: UnicodeString; begin Result:='FileSystemEntry'; end; class function TJSFileSystemEntry.Cast(const Intf: IJSObject): IJSFileSystemEntry; begin Result:=TJSFileSystemEntry.JOBCast(Intf); end; procedure TJSFileSystemFileEntry.file_(const aSuccessCallback: TFileCallback; const aErrorCallback: TErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallErrorCallback); try InvokeJSNoResult('file',[m,m2]); finally m.free; m2.free; end; end; procedure TJSFileSystemFileEntry.file_(const aSuccessCallback: TFileCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallFileCallback); try InvokeJSNoResult('file',[m]); finally m.free; end; end; class function TJSFileSystemFileEntry.JSClassName: UnicodeString; begin Result:='FileSystemFileEntry'; end; class function TJSFileSystemFileEntry.Cast(const Intf: IJSObject): IJSFileSystemFileEntry; begin Result:=TJSFileSystemFileEntry.JOBCast(Intf); end; function TJSFileSystemCreateWritableOptions._GetkeepExistingData: Boolean; begin Result:=ReadJSPropertyBoolean('keepExistingData'); end; procedure TJSFileSystemCreateWritableOptions._SetkeepExistingData(const aValue : Boolean); begin WriteJSPropertyBoolean('keepExistingData',aValue); end; constructor TJSFileSystemCreateWritableOptions.create(const aDict : TJSFileSystemCreateWritableOptionsRec); overload; begin Self.keepExistingData:=aDict.keepExistingData; end; class function TJSFileSystemCreateWritableOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemCreateWritableOptions.Cast(const Intf: IJSObject): IJSFileSystemCreateWritableOptions; begin Result:=TJSFileSystemCreateWritableOptions.JOBCast(Intf); end; function TJSFileSystemFileHandle.getFile: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getFile',[],TJSPromise) as IJSPromise; end; function TJSFileSystemFileHandle.createWritable(const aOptions: IJSFileSystemCreateWritableOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createWritable',[aOptions],TJSPromise) as IJSPromise; end; function TJSFileSystemFileHandle.createWritable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createWritable',[],TJSPromise) as IJSPromise; end; function TJSFileSystemFileHandle.createSyncAccessHandle: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createSyncAccessHandle',[],TJSPromise) as IJSPromise; end; class function TJSFileSystemFileHandle.JSClassName: UnicodeString; begin Result:='FileSystemFileHandle'; end; class function TJSFileSystemFileHandle.Cast(const Intf: IJSObject): IJSFileSystemFileHandle; begin Result:=TJSFileSystemFileHandle.JOBCast(Intf); end; function TJSFileSystemHandle._Getkind: TFileSystemHandleKind; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSFileSystemHandle._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSFileSystemHandle.move(const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('move',[aName],TJSPromise) as IJSPromise; end; function TJSFileSystemHandle.move(aParent: IJSFileSystemDirectoryHandle): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('move',[aParent],TJSPromise) as IJSPromise; end; function TJSFileSystemHandle.move(aParent: IJSFileSystemDirectoryHandle; const aName: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('move',[aParent,aName],TJSPromise) as IJSPromise; end; function TJSFileSystemHandle.isSameEntry(aOther: IJSFileSystemHandle): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isSameEntry',[aOther],TJSPromise) as IJSPromise; end; class function TJSFileSystemHandle.JSClassName: UnicodeString; begin Result:='FileSystemHandle'; end; class function TJSFileSystemHandle.Cast(const Intf: IJSObject): IJSFileSystemHandle; begin Result:=TJSFileSystemHandle.JOBCast(Intf); end; function TJSFileSystemReadWriteOptions._Getat: QWord; begin Result:=ReadJSPropertyInt64('at'); end; procedure TJSFileSystemReadWriteOptions._Setat(const aValue : QWord); begin WriteJSPropertyDouble('at',aValue); end; constructor TJSFileSystemReadWriteOptions.create(const aDict : TJSFileSystemReadWriteOptionsRec); overload; begin Self.at:=aDict.at; end; class function TJSFileSystemReadWriteOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFileSystemReadWriteOptions.Cast(const Intf: IJSObject): IJSFileSystemReadWriteOptions; begin Result:=TJSFileSystemReadWriteOptions.JOBCast(Intf); end; function TJSFileSystemSyncAccessHandle.read(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; begin Result:=InvokeJSMaxIntResult('read',[aBuffer,aOptions]); end; function TJSFileSystemSyncAccessHandle.read(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; begin Result:=InvokeJSMaxIntResult('read',[aBuffer,aOptions]); end; function TJSFileSystemSyncAccessHandle.read(aBuffer: IJSArrayBufferView): QWord; begin Result:=InvokeJSMaxIntResult('read',[aBuffer]); end; function TJSFileSystemSyncAccessHandle.read(aBuffer: IJSArrayBuffer): QWord; begin Result:=InvokeJSMaxIntResult('read',[aBuffer]); end; function TJSFileSystemSyncAccessHandle.write(aBuffer: IJSArrayBuffer; const aOptions: IJSFileSystemReadWriteOptions): QWord; begin Result:=InvokeJSMaxIntResult('write',[aBuffer,aOptions]); end; function TJSFileSystemSyncAccessHandle.write(aBuffer: IJSArrayBufferView; const aOptions: IJSFileSystemReadWriteOptions): QWord; begin Result:=InvokeJSMaxIntResult('write',[aBuffer,aOptions]); end; function TJSFileSystemSyncAccessHandle.write(aBuffer: IJSArrayBufferView): QWord; begin Result:=InvokeJSMaxIntResult('write',[aBuffer]); end; function TJSFileSystemSyncAccessHandle.write(aBuffer: IJSArrayBuffer): QWord; begin Result:=InvokeJSMaxIntResult('write',[aBuffer]); end; procedure TJSFileSystemSyncAccessHandle.truncate(aSize: QWord); begin InvokeJSNoResult('truncate',[aSize]); end; function TJSFileSystemSyncAccessHandle.getSize: QWord; begin Result:=InvokeJSMaxIntResult('getSize',[]); end; procedure TJSFileSystemSyncAccessHandle.flush; begin InvokeJSNoResult('flush',[]); end; procedure TJSFileSystemSyncAccessHandle.close; begin InvokeJSNoResult('close',[]); end; class function TJSFileSystemSyncAccessHandle.JSClassName: UnicodeString; begin Result:='FileSystemSyncAccessHandle'; end; class function TJSFileSystemSyncAccessHandle.Cast(const Intf: IJSObject): IJSFileSystemSyncAccessHandle; begin Result:=TJSFileSystemSyncAccessHandle.JOBCast(Intf); end; function TJSWriteParams._Gettype_: TWriteCommandType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSWriteParams._Getsize: QWord; begin Result:=ReadJSPropertyInt64('size'); end; function TJSWriteParams._Getposition: QWord; begin Result:=ReadJSPropertyInt64('position'); end; function TJSWriteParams._Getdata: TWriteParams_data_Type; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSWriteParams._Settype_(const aValue : TWriteCommandType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSWriteParams._Setsize(const aValue : QWord); begin WriteJSPropertyDouble('size',aValue); end; procedure TJSWriteParams._Setposition(const aValue : QWord); begin WriteJSPropertyDouble('position',aValue); end; procedure TJSWriteParams._Setdata(const aValue : TWriteParams_data_Type); begin WriteJSPropertyVariant('data',aValue); end; constructor TJSWriteParams.create(const aDict : TJSWriteParamsRec); overload; begin Self.type_:=aDict.type_; Self.size:=aDict.size; Self.position:=aDict.position; Self.data:=aDict.data; end; class function TJSWriteParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWriteParams.Cast(const Intf: IJSObject): IJSWriteParams; begin Result:=TJSWriteParams.JOBCast(Intf); end; function TJSFileSystemWritableFileStream.write(aData: IJSBlob): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aData],TJSPromise) as IJSPromise; end; function TJSFileSystemWritableFileStream.write(aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aData],TJSPromise) as IJSPromise; end; function TJSFileSystemWritableFileStream.write(const aData: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aData],TJSPromise) as IJSPromise; end; function TJSFileSystemWritableFileStream.write(const aData: IJSWriteParams): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aData],TJSPromise) as IJSPromise; end; function TJSFileSystemWritableFileStream.seek(aPosition: QWord): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('seek',[aPosition],TJSPromise) as IJSPromise; end; function TJSFileSystemWritableFileStream.truncate(aSize: QWord): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('truncate',[aSize],TJSPromise) as IJSPromise; end; class function TJSFileSystemWritableFileStream.JSClassName: UnicodeString; begin Result:='FileSystemWritableFileStream'; end; class function TJSFileSystemWritableFileStream.Cast(const Intf: IJSObject): IJSFileSystemWritableFileStream; begin Result:=TJSFileSystemWritableFileStream.JOBCast(Intf); end; function TJSFocusEvent._GetrelatedTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('relatedTarget',TJSEventTarget) as IJSEventTarget; end; constructor TJSFocusEvent.Create(const aTypeArg: UnicodeString; const aFocusEventInitDict: IJSFocusEventInit); begin JOBCreate([aTypeArg,aFocusEventInitDict]); end; constructor TJSFocusEvent.Create(const aTypeArg: UnicodeString); begin JOBCreate([aTypeArg]); end; class function TJSFocusEvent.JSClassName: UnicodeString; begin Result:='FocusEvent'; end; class function TJSFocusEvent.Cast(const Intf: IJSObject): IJSFocusEvent; begin Result:=TJSFocusEvent.JOBCast(Intf); end; function TJSFocusEventInit._GetrelatedTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('relatedTarget',TJSEventTarget) as IJSEventTarget; end; procedure TJSFocusEventInit._SetrelatedTarget(const aValue : IJSEventTarget); begin WriteJSPropertyObject('relatedTarget',aValue); end; constructor TJSFocusEventInit.create(const aDict : TJSFocusEventInitRec); overload; begin Self.relatedTarget:=aDict.relatedTarget; end; class function TJSFocusEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFocusEventInit.Cast(const Intf: IJSObject): IJSFocusEventInit; begin Result:=TJSFocusEventInit.JOBCast(Intf); end; function TJSFontFaceDescriptors._Getstyle: UTF8String; begin Result:=ReadJSPropertyUTF8String('style'); end; function TJSFontFaceDescriptors._Getweight: UTF8String; begin Result:=ReadJSPropertyUTF8String('weight'); end; function TJSFontFaceDescriptors._Getstretch: UTF8String; begin Result:=ReadJSPropertyUTF8String('stretch'); end; function TJSFontFaceDescriptors._GetunicodeRange: UTF8String; begin Result:=ReadJSPropertyUTF8String('unicodeRange'); end; function TJSFontFaceDescriptors._Getvariant: UTF8String; begin Result:=ReadJSPropertyUTF8String('variant'); end; function TJSFontFaceDescriptors._GetfeatureSettings: UTF8String; begin Result:=ReadJSPropertyUTF8String('featureSettings'); end; function TJSFontFaceDescriptors._GetvariationSettings: UTF8String; begin Result:=ReadJSPropertyUTF8String('variationSettings'); end; function TJSFontFaceDescriptors._Getdisplay: UTF8String; begin Result:=ReadJSPropertyUTF8String('display'); end; function TJSFontFaceDescriptors._GetascentOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('ascentOverride'); end; function TJSFontFaceDescriptors._GetdescentOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('descentOverride'); end; function TJSFontFaceDescriptors._GetlineGapOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('lineGapOverride'); end; function TJSFontFaceDescriptors._GetsizeAdjust: UTF8String; begin Result:=ReadJSPropertyUTF8String('sizeAdjust'); end; procedure TJSFontFaceDescriptors._Setstyle(const aValue : UTF8String); begin WriteJSPropertyUTF8String('style',aValue); end; procedure TJSFontFaceDescriptors._Setweight(const aValue : UTF8String); begin WriteJSPropertyUTF8String('weight',aValue); end; procedure TJSFontFaceDescriptors._Setstretch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('stretch',aValue); end; procedure TJSFontFaceDescriptors._SetunicodeRange(const aValue : UTF8String); begin WriteJSPropertyUTF8String('unicodeRange',aValue); end; procedure TJSFontFaceDescriptors._Setvariant(const aValue : UTF8String); begin WriteJSPropertyUTF8String('variant',aValue); end; procedure TJSFontFaceDescriptors._SetfeatureSettings(const aValue : UTF8String); begin WriteJSPropertyUTF8String('featureSettings',aValue); end; procedure TJSFontFaceDescriptors._SetvariationSettings(const aValue : UTF8String); begin WriteJSPropertyUTF8String('variationSettings',aValue); end; procedure TJSFontFaceDescriptors._Setdisplay(const aValue : UTF8String); begin WriteJSPropertyUTF8String('display',aValue); end; procedure TJSFontFaceDescriptors._SetascentOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('ascentOverride',aValue); end; procedure TJSFontFaceDescriptors._SetdescentOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('descentOverride',aValue); end; procedure TJSFontFaceDescriptors._SetlineGapOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('lineGapOverride',aValue); end; procedure TJSFontFaceDescriptors._SetsizeAdjust(const aValue : UTF8String); begin WriteJSPropertyUTF8String('sizeAdjust',aValue); end; constructor TJSFontFaceDescriptors.create(const aDict : TJSFontFaceDescriptorsRec); overload; begin Self.style:=aDict.style; Self.weight:=aDict.weight; Self.stretch:=aDict.stretch; Self.unicodeRange:=aDict.unicodeRange; Self.variant:=aDict.variant; Self.featureSettings:=aDict.featureSettings; Self.variationSettings:=aDict.variationSettings; Self.display:=aDict.display; Self.ascentOverride:=aDict.ascentOverride; Self.descentOverride:=aDict.descentOverride; Self.lineGapOverride:=aDict.lineGapOverride; Self.sizeAdjust:=aDict.sizeAdjust; end; class function TJSFontFaceDescriptors.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFontFaceDescriptors.Cast(const Intf: IJSObject): IJSFontFaceDescriptors; begin Result:=TJSFontFaceDescriptors.JOBCast(Intf); end; function TJSFontFace._Getfamily: UTF8String; begin Result:=ReadJSPropertyUTF8String('family'); end; function TJSFontFace._Getstyle: UTF8String; begin Result:=ReadJSPropertyUTF8String('style'); end; function TJSFontFace._Getweight: UTF8String; begin Result:=ReadJSPropertyUTF8String('weight'); end; function TJSFontFace._Getstretch: UTF8String; begin Result:=ReadJSPropertyUTF8String('stretch'); end; function TJSFontFace._GetunicodeRange: UTF8String; begin Result:=ReadJSPropertyUTF8String('unicodeRange'); end; function TJSFontFace._Getvariant: UTF8String; begin Result:=ReadJSPropertyUTF8String('variant'); end; function TJSFontFace._GetfeatureSettings: UTF8String; begin Result:=ReadJSPropertyUTF8String('featureSettings'); end; function TJSFontFace._GetvariationSettings: UTF8String; begin Result:=ReadJSPropertyUTF8String('variationSettings'); end; function TJSFontFace._Getdisplay: UTF8String; begin Result:=ReadJSPropertyUTF8String('display'); end; function TJSFontFace._GetascentOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('ascentOverride'); end; function TJSFontFace._GetdescentOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('descentOverride'); end; function TJSFontFace._GetlineGapOverride: UTF8String; begin Result:=ReadJSPropertyUTF8String('lineGapOverride'); end; function TJSFontFace._GetsizeAdjust: UTF8String; begin Result:=ReadJSPropertyUTF8String('sizeAdjust'); end; function TJSFontFace._Getstatus: TFontFaceLoadStatus; begin Result:=ReadJSPropertyUnicodeString('status'); end; function TJSFontFace._Getloaded: IJSPromise; begin Result:=ReadJSPropertyObject('loaded',TJSPromise) as IJSPromise; end; procedure TJSFontFace._Setfamily(const aValue : UTF8String); begin WriteJSPropertyUTF8String('family',aValue); end; procedure TJSFontFace._Setstyle(const aValue : UTF8String); begin WriteJSPropertyUTF8String('style',aValue); end; procedure TJSFontFace._Setweight(const aValue : UTF8String); begin WriteJSPropertyUTF8String('weight',aValue); end; procedure TJSFontFace._Setstretch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('stretch',aValue); end; procedure TJSFontFace._SetunicodeRange(const aValue : UTF8String); begin WriteJSPropertyUTF8String('unicodeRange',aValue); end; procedure TJSFontFace._Setvariant(const aValue : UTF8String); begin WriteJSPropertyUTF8String('variant',aValue); end; procedure TJSFontFace._SetfeatureSettings(const aValue : UTF8String); begin WriteJSPropertyUTF8String('featureSettings',aValue); end; procedure TJSFontFace._SetvariationSettings(const aValue : UTF8String); begin WriteJSPropertyUTF8String('variationSettings',aValue); end; procedure TJSFontFace._Setdisplay(const aValue : UTF8String); begin WriteJSPropertyUTF8String('display',aValue); end; procedure TJSFontFace._SetascentOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('ascentOverride',aValue); end; procedure TJSFontFace._SetdescentOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('descentOverride',aValue); end; procedure TJSFontFace._SetlineGapOverride(const aValue : UTF8String); begin WriteJSPropertyUTF8String('lineGapOverride',aValue); end; procedure TJSFontFace._SetsizeAdjust(const aValue : UTF8String); begin WriteJSPropertyUTF8String('sizeAdjust',aValue); end; constructor TJSFontFace.Create(const aFamily: UTF8String; const aSource: TBinaryData; const aDescriptors: IJSFontFaceDescriptors); begin JOBCreate([aFamily,aSource,aDescriptors]); end; constructor TJSFontFace.Create(const aFamily: UTF8String; const aSource: UTF8String; const aDescriptors: IJSFontFaceDescriptors); begin JOBCreate([aFamily,aSource,aDescriptors]); end; constructor TJSFontFace.Create(const aFamily: UTF8String; const aSource: UTF8String); begin JOBCreate([aFamily,aSource]); end; constructor TJSFontFace.Create(const aFamily: UTF8String; const aSource: TBinaryData); begin JOBCreate([aFamily,aSource]); end; function TJSFontFace.load: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('load',[],TJSPromise) as IJSPromise; end; class function TJSFontFace.JSClassName: UnicodeString; begin Result:='FontFace'; end; class function TJSFontFace.Cast(const Intf: IJSObject): IJSFontFace; begin Result:=TJSFontFace.JOBCast(Intf); end; function TJSFontFaceSetIteratorResult._Getvalue: Variant; begin Result:=ReadJSPropertyVariant('value'); end; function TJSFontFaceSetIteratorResult._Getdone: Boolean; begin Result:=ReadJSPropertyBoolean('done'); end; procedure TJSFontFaceSetIteratorResult._Setvalue(const aValue : Variant); begin WriteJSPropertyVariant('value',aValue); end; procedure TJSFontFaceSetIteratorResult._Setdone(const aValue : Boolean); begin WriteJSPropertyBoolean('done',aValue); end; constructor TJSFontFaceSetIteratorResult.create(const aDict : TJSFontFaceSetIteratorResultRec); overload; begin Self.value:=aDict.value; Self.done:=aDict.done; end; class function TJSFontFaceSetIteratorResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFontFaceSetIteratorResult.Cast(const Intf: IJSObject): IJSFontFaceSetIteratorResult; begin Result:=TJSFontFaceSetIteratorResult.JOBCast(Intf); end; function TJSFontFaceSetIterator.next: IJSFontFaceSetIteratorResult; begin Result:=InvokeJSObjectResult('next',[],TJSFontFaceSetIteratorResult) as IJSFontFaceSetIteratorResult; end; class function TJSFontFaceSetIterator.JSClassName: UnicodeString; begin Result:='FontFaceSetIterator'; end; class function TJSFontFaceSetIterator.Cast(const Intf: IJSObject): IJSFontFaceSetIterator; begin Result:=TJSFontFaceSetIterator.JOBCast(Intf); end; function TJSFontFaceSet._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; function TJSFontFaceSet._Getonloading: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloading'))); end; function TJSFontFaceSet._Getonloadingdone: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadingdone'))); end; function TJSFontFaceSet._Getonloadingerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadingerror'))); end; function TJSFontFaceSet._Getready: IJSPromise; begin Result:=ReadJSPropertyObject('ready',TJSPromise) as IJSPromise; end; function TJSFontFaceSet._Getstatus: TFontFaceSetLoadStatus; begin Result:=ReadJSPropertyUnicodeString('status'); end; procedure TJSFontFaceSet._Setonloading(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloading',[m],jiSet); finally m.free end; end; procedure TJSFontFaceSet._Setonloadingdone(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadingdone',[m],jiSet); finally m.free end; end; procedure TJSFontFaceSet._Setonloadingerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadingerror',[m],jiSet); finally m.free end; end; procedure TJSFontFaceSet.add(aFont: IJSFontFace); begin InvokeJSNoResult('add',[aFont]); end; function TJSFontFaceSet.has(aFont: IJSFontFace): Boolean; begin Result:=InvokeJSBooleanResult('has',[aFont]); end; function TJSFontFaceSet.delete(aFont: IJSFontFace): Boolean; begin Result:=InvokeJSBooleanResult('delete',[aFont]); end; procedure TJSFontFaceSet.clear; begin InvokeJSNoResult('clear',[]); end; function TJSFontFaceSet.entries: IJSFontFaceSetIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSFontFaceSetIterator) as IJSFontFaceSetIterator; end; function TJSFontFaceSet.values: IJSFontFaceSetIterator; begin Result:=InvokeJSObjectResult('values',[],TJSFontFaceSetIterator) as IJSFontFaceSetIterator; end; procedure TJSFontFaceSet.forEach(const aCb: TFontFaceSetForEachCallback; const aThisArg: Variant); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCb),@JOBCallFontFaceSetForEachCallback); try InvokeJSNoResult('forEach',[m,aThisArg]); finally m.free; end; end; procedure TJSFontFaceSet.forEach(const aCb: TFontFaceSetForEachCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCb),@JOBCallFontFaceSetForEachCallback); try InvokeJSNoResult('forEach',[m]); finally m.free; end; end; function TJSFontFaceSet.load(const aFont: UTF8String; const aText: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('load',[aFont,aText],TJSPromise) as IJSPromise; end; function TJSFontFaceSet.load(const aFont: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('load',[aFont],TJSPromise) as IJSPromise; end; function TJSFontFaceSet.check(const aFont: UTF8String; const aText: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('check',[aFont,aText]); end; function TJSFontFaceSet.check(const aFont: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('check',[aFont]); end; class function TJSFontFaceSet.JSClassName: UnicodeString; begin Result:='FontFaceSet'; end; class function TJSFontFaceSet.Cast(const Intf: IJSObject): IJSFontFaceSet; begin Result:=TJSFontFaceSet.JOBCast(Intf); end; function TJSFontFaceSetLoadEventInit._Getfontfaces: TJSFontFaceDynArray; begin Result:=ReadJSPropertyObject('fontfaces',TJSArray) as TJSFontFaceDynArray; end; procedure TJSFontFaceSetLoadEventInit._Setfontfaces(const aValue : TJSFontFaceDynArray); begin WriteJSPropertyObject('fontfaces',aValue); end; constructor TJSFontFaceSetLoadEventInit.create(const aDict : TJSFontFaceSetLoadEventInitRec); overload; begin Self.fontfaces:=aDict.fontfaces; end; class function TJSFontFaceSetLoadEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFontFaceSetLoadEventInit.Cast(const Intf: IJSObject): IJSFontFaceSetLoadEventInit; begin Result:=TJSFontFaceSetLoadEventInit.JOBCast(Intf); end; function TJSFontFaceSetLoadEvent._Getfontfaces: TJSFontFaceDynArray; begin Result:=ReadJSPropertyObject('fontfaces',TJSArray) as TJSFontFaceDynArray; end; constructor TJSFontFaceSetLoadEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSFontFaceSetLoadEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSFontFaceSetLoadEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSFontFaceSetLoadEvent.JSClassName: UnicodeString; begin Result:='FontFaceSetLoadEvent'; end; class function TJSFontFaceSetLoadEvent.Cast(const Intf: IJSObject): IJSFontFaceSetLoadEvent; begin Result:=TJSFontFaceSetLoadEvent.JOBCast(Intf); end; function TJSFontFaceSource._Getfonts: IJSFontFaceSet; begin Result:=ReadJSPropertyObject('fonts',TJSFontFaceSet) as IJSFontFaceSet; end; class function TJSFontFaceSource.JSClassName: UnicodeString; begin Result:='FontFaceSource'; end; class function TJSFontFaceSource.Cast(const Intf: IJSObject): IJSFontFaceSource; begin Result:=TJSFontFaceSource.JOBCast(Intf); end; constructor TJSFormData.Create(aForm: IJSHTMLFormElement; aSubmitter: IJSHTMLElement); begin JOBCreate([aForm,aSubmitter]); end; constructor TJSFormData.Create; begin JOBCreate([]); end; constructor TJSFormData.Create(aForm: IJSHTMLFormElement); begin JOBCreate([aForm]); end; procedure TJSFormData.append(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); begin InvokeJSNoResult('append',[aName,aValue,aFilename]); end; procedure TJSFormData.append(const aName: UnicodeString; aValue: IJSBlob); begin InvokeJSNoResult('append',[aName,aValue]); end; procedure TJSFormData.append(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('append',[aName,aValue]); end; procedure TJSFormData.delete(const aName: UnicodeString); begin InvokeJSNoResult('delete',[aName]); end; function TJSFormData.get(const aName: UnicodeString): TFormDataEntryValue; begin Result:=InvokeJSVariantResult('get',[aName]); end; function TJSFormData.getAll(const aName: UnicodeString): TFormDataEntryValueDynArray; begin Result:=InvokeJSObjectResult('getAll',[aName],TJSArray) as TFormDataEntryValueDynArray; end; function TJSFormData.has(const aName: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('has',[aName]); end; procedure TJSFormData.set_(const aName: UnicodeString; aValue: IJSBlob; const aFilename: UnicodeString); begin InvokeJSNoResult('set',[aName,aValue,aFilename]); end; procedure TJSFormData.set_(const aName: UnicodeString; aValue: IJSBlob); begin InvokeJSNoResult('set',[aName,aValue]); end; procedure TJSFormData.set_(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('set',[aName,aValue]); end; class function TJSFormData.JSClassName: UnicodeString; begin Result:='FormData'; end; class function TJSFormData.Cast(const Intf: IJSObject): IJSFormData; begin Result:=TJSFormData.JOBCast(Intf); end; function TJSFormDataEvent._GetformData: IJSFormData; begin Result:=ReadJSPropertyObject('formData',TJSFormData) as IJSFormData; end; constructor TJSFormDataEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSFormDataEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSFormDataEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSFormDataEvent.JSClassName: UnicodeString; begin Result:='FormDataEvent'; end; class function TJSFormDataEvent.Cast(const Intf: IJSObject): IJSFormDataEvent; begin Result:=TJSFormDataEvent.JOBCast(Intf); end; function TJSFormDataEventInit._GetformData: IJSFormData; begin Result:=ReadJSPropertyObject('formData',TJSFormData) as IJSFormData; end; procedure TJSFormDataEventInit._SetformData(const aValue : IJSFormData); begin WriteJSPropertyObject('formData',aValue); end; constructor TJSFormDataEventInit.create(const aDict : TJSFormDataEventInitRec); overload; begin Self.formData:=aDict.formData; end; class function TJSFormDataEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFormDataEventInit.Cast(const Intf: IJSObject): IJSFormDataEventInit; begin Result:=TJSFormDataEventInit.JOBCast(Intf); end; class function TJSFragmentDirective.JSClassName: UnicodeString; begin Result:='FragmentDirective'; end; class function TJSFragmentDirective.Cast(const Intf: IJSObject): IJSFragmentDirective; begin Result:=TJSFragmentDirective.JOBCast(Intf); end; function TJSFrameCrashedEventInit._GetbrowsingContextId: QWord; begin Result:=ReadJSPropertyInt64('browsingContextId'); end; function TJSFrameCrashedEventInit._GetisTopFrame: Boolean; begin Result:=ReadJSPropertyBoolean('isTopFrame'); end; function TJSFrameCrashedEventInit._GetchildID: QWord; begin Result:=ReadJSPropertyInt64('childID'); end; procedure TJSFrameCrashedEventInit._SetbrowsingContextId(const aValue : QWord); begin WriteJSPropertyDouble('browsingContextId',aValue); end; procedure TJSFrameCrashedEventInit._SetisTopFrame(const aValue : Boolean); begin WriteJSPropertyBoolean('isTopFrame',aValue); end; procedure TJSFrameCrashedEventInit._SetchildID(const aValue : QWord); begin WriteJSPropertyDouble('childID',aValue); end; constructor TJSFrameCrashedEventInit.create(const aDict : TJSFrameCrashedEventInitRec); overload; begin Self.browsingContextId:=aDict.browsingContextId; Self.isTopFrame:=aDict.isTopFrame; Self.childID:=aDict.childID; end; class function TJSFrameCrashedEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSFrameCrashedEventInit.Cast(const Intf: IJSObject): IJSFrameCrashedEventInit; begin Result:=TJSFrameCrashedEventInit.JOBCast(Intf); end; procedure TJSFuzzingFunctions.garbageCollect; begin InvokeJSNoResult('garbageCollect',[]); end; procedure TJSFuzzingFunctions.garbageCollectCompacting; begin InvokeJSNoResult('garbageCollectCompacting',[]); end; procedure TJSFuzzingFunctions.crash(const aReason: UnicodeString); begin InvokeJSNoResult('crash',[aReason]); end; procedure TJSFuzzingFunctions.crash; begin InvokeJSNoResult('crash',[]); end; procedure TJSFuzzingFunctions.cycleCollect; begin InvokeJSNoResult('cycleCollect',[]); end; procedure TJSFuzzingFunctions.memoryPressure; begin InvokeJSNoResult('memoryPressure',[]); end; procedure TJSFuzzingFunctions.enableAccessibility; begin InvokeJSNoResult('enableAccessibility',[]); end; procedure TJSFuzzingFunctions.signalIPCReady; begin InvokeJSNoResult('signalIPCReady',[]); end; procedure TJSFuzzingFunctions.synthesizeKeyboardEvents(const aAKeyValue: UnicodeString; const aADictionary: IJSKeyboardEventInit); begin InvokeJSNoResult('synthesizeKeyboardEvents',[aAKeyValue,aADictionary]); end; procedure TJSFuzzingFunctions.synthesizeKeyboardEvents(const aAKeyValue: UnicodeString); begin InvokeJSNoResult('synthesizeKeyboardEvents',[aAKeyValue]); end; class function TJSFuzzingFunctions.JSClassName: UnicodeString; begin Result:='FuzzingFunctions'; end; class function TJSFuzzingFunctions.Cast(const Intf: IJSObject): IJSFuzzingFunctions; begin Result:=TJSFuzzingFunctions.JOBCast(Intf); end; function TJSGainOptions._Getgain: Single; begin Result:=ReadJSPropertyDouble('gain'); end; procedure TJSGainOptions._Setgain(const aValue : Single); begin WriteJSPropertyDouble('gain',aValue); end; constructor TJSGainOptions.create(const aDict : TJSGainOptionsRec); overload; begin Self.gain:=aDict.gain; end; class function TJSGainOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGainOptions.Cast(const Intf: IJSObject): IJSGainOptions; begin Result:=TJSGainOptions.JOBCast(Intf); end; function TJSGainNode._Getgain: IJSAudioParam; begin Result:=ReadJSPropertyObject('gain',TJSAudioParam) as IJSAudioParam; end; constructor TJSGainNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSGainOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSGainNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSGainNode.JSClassName: UnicodeString; begin Result:='GainNode'; end; class function TJSGainNode.Cast(const Intf: IJSObject): IJSGainNode; begin Result:=TJSGainNode.JOBCast(Intf); end; function TJSGamepadButton._Getpressed: Boolean; begin Result:=ReadJSPropertyBoolean('pressed'); end; function TJSGamepadButton._Gettouched: Boolean; begin Result:=ReadJSPropertyBoolean('touched'); end; function TJSGamepadButton._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; class function TJSGamepadButton.JSClassName: UnicodeString; begin Result:='GamepadButton'; end; class function TJSGamepadButton.Cast(const Intf: IJSObject): IJSGamepadButton; begin Result:=TJSGamepadButton.JOBCast(Intf); end; function TJSGamepad._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSGamepad._Getindex: LongInt; begin Result:=ReadJSPropertyLongInt('index'); end; function TJSGamepad._Getmapping: TGamepadMappingType; begin Result:=ReadJSPropertyUnicodeString('mapping'); end; function TJSGamepad._Gethand: TGamepadHand; begin Result:=ReadJSPropertyUnicodeString('hand'); end; function TJSGamepad._GetdisplayId: Cardinal; begin Result:=ReadJSPropertyInt64('displayId'); end; function TJSGamepad._Getconnected: Boolean; begin Result:=ReadJSPropertyBoolean('connected'); end; function TJSGamepad._Getbuttons: TJSGamepadButtonDynArray; begin Result:=ReadJSPropertyObject('buttons',TJSArray) as TJSGamepadButtonDynArray; end; function TJSGamepad._Getaxes: TDoubleDynArray; begin Result:=ReadJSPropertyObject('axes',TJSArray) as TDoubleDynArray; end; function TJSGamepad._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSGamepad._Getpose: IJSGamepadPose; begin Result:=ReadJSPropertyObject('pose',TJSGamepadPose) as IJSGamepadPose; end; function TJSGamepad._GethapticActuators: TJSGamepadHapticActuatorDynArray; begin Result:=ReadJSPropertyObject('hapticActuators',TJSArray) as TJSGamepadHapticActuatorDynArray; end; function TJSGamepad._GetlightIndicators: TJSGamepadLightIndicatorDynArray; begin Result:=ReadJSPropertyObject('lightIndicators',TJSArray) as TJSGamepadLightIndicatorDynArray; end; function TJSGamepad._GettouchEvents: TJSGamepadTouchDynArray; begin Result:=ReadJSPropertyObject('touchEvents',TJSArray) as TJSGamepadTouchDynArray; end; class function TJSGamepad.JSClassName: UnicodeString; begin Result:='Gamepad'; end; class function TJSGamepad.Cast(const Intf: IJSObject): IJSGamepad; begin Result:=TJSGamepad.JOBCast(Intf); end; function TJSGamepadAxisMoveEvent._Getaxis: Cardinal; begin Result:=ReadJSPropertyInt64('axis'); end; function TJSGamepadAxisMoveEvent._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; constructor TJSGamepadAxisMoveEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadAxisMoveEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSGamepadAxisMoveEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSGamepadAxisMoveEvent.JSClassName: UnicodeString; begin Result:='GamepadAxisMoveEvent'; end; class function TJSGamepadAxisMoveEvent.Cast(const Intf: IJSObject): IJSGamepadAxisMoveEvent; begin Result:=TJSGamepadAxisMoveEvent.JOBCast(Intf); end; function TJSGamepadAxisMoveEventInit._Getaxis: Cardinal; begin Result:=ReadJSPropertyInt64('axis'); end; function TJSGamepadAxisMoveEventInit._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; procedure TJSGamepadAxisMoveEventInit._Setaxis(const aValue : Cardinal); begin WriteJSPropertyDouble('axis',aValue); end; procedure TJSGamepadAxisMoveEventInit._Setvalue(const aValue : Double); begin WriteJSPropertyDouble('value',aValue); end; constructor TJSGamepadAxisMoveEventInit.create(const aDict : TJSGamepadAxisMoveEventInitRec); overload; begin Self.axis:=aDict.axis; Self.value:=aDict.value; end; class function TJSGamepadAxisMoveEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGamepadAxisMoveEventInit.Cast(const Intf: IJSObject): IJSGamepadAxisMoveEventInit; begin Result:=TJSGamepadAxisMoveEventInit.JOBCast(Intf); end; function TJSGamepadButtonEvent._Getbutton: Cardinal; begin Result:=ReadJSPropertyInt64('button'); end; constructor TJSGamepadButtonEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadButtonEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSGamepadButtonEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSGamepadButtonEvent.JSClassName: UnicodeString; begin Result:='GamepadButtonEvent'; end; class function TJSGamepadButtonEvent.Cast(const Intf: IJSObject): IJSGamepadButtonEvent; begin Result:=TJSGamepadButtonEvent.JOBCast(Intf); end; function TJSGamepadButtonEventInit._Getbutton: Cardinal; begin Result:=ReadJSPropertyInt64('button'); end; procedure TJSGamepadButtonEventInit._Setbutton(const aValue : Cardinal); begin WriteJSPropertyDouble('button',aValue); end; constructor TJSGamepadButtonEventInit.create(const aDict : TJSGamepadButtonEventInitRec); overload; begin Self.button:=aDict.button; end; class function TJSGamepadButtonEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGamepadButtonEventInit.Cast(const Intf: IJSObject): IJSGamepadButtonEventInit; begin Result:=TJSGamepadButtonEventInit.JOBCast(Intf); end; function TJSGamepadEvent._Getgamepad: IJSGamepad; begin Result:=ReadJSPropertyObject('gamepad',TJSGamepad) as IJSGamepad; end; constructor TJSGamepadEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSGamepadEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSGamepadEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSGamepadEvent.JSClassName: UnicodeString; begin Result:='GamepadEvent'; end; class function TJSGamepadEvent.Cast(const Intf: IJSObject): IJSGamepadEvent; begin Result:=TJSGamepadEvent.JOBCast(Intf); end; function TJSGamepadEventInit._Getgamepad: IJSGamepad; begin Result:=ReadJSPropertyObject('gamepad',TJSGamepad) as IJSGamepad; end; procedure TJSGamepadEventInit._Setgamepad(const aValue : IJSGamepad); begin WriteJSPropertyObject('gamepad',aValue); end; constructor TJSGamepadEventInit.create(const aDict : TJSGamepadEventInitRec); overload; begin Self.gamepad:=aDict.gamepad; end; class function TJSGamepadEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGamepadEventInit.Cast(const Intf: IJSObject): IJSGamepadEventInit; begin Result:=TJSGamepadEventInit.JOBCast(Intf); end; function TJSGamepadHapticActuator._Gettype_: TGamepadHapticActuatorType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGamepadHapticActuator.pulse(aValue: Double; aDuration: Double): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('pulse',[aValue,aDuration],TJSPromise) as IJSPromise; end; class function TJSGamepadHapticActuator.JSClassName: UnicodeString; begin Result:='GamepadHapticActuator'; end; class function TJSGamepadHapticActuator.Cast(const Intf: IJSObject): IJSGamepadHapticActuator; begin Result:=TJSGamepadHapticActuator.JOBCast(Intf); end; function TJSGamepadLightColor._Getred: Byte; begin Result:=ReadJSPropertyLongInt('red'); end; function TJSGamepadLightColor._Getgreen: Byte; begin Result:=ReadJSPropertyLongInt('green'); end; function TJSGamepadLightColor._Getblue: Byte; begin Result:=ReadJSPropertyLongInt('blue'); end; procedure TJSGamepadLightColor._Setred(const aValue : Byte); begin WriteJSPropertyLongInt('red',aValue); end; procedure TJSGamepadLightColor._Setgreen(const aValue : Byte); begin WriteJSPropertyLongInt('green',aValue); end; procedure TJSGamepadLightColor._Setblue(const aValue : Byte); begin WriteJSPropertyLongInt('blue',aValue); end; constructor TJSGamepadLightColor.create(const aDict : TJSGamepadLightColorRec); overload; begin Self.red:=aDict.red; Self.green:=aDict.green; Self.blue:=aDict.blue; end; class function TJSGamepadLightColor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGamepadLightColor.Cast(const Intf: IJSObject): IJSGamepadLightColor; begin Result:=TJSGamepadLightColor.JOBCast(Intf); end; function TJSGamepadLightIndicator._Gettype_: TGamepadLightIndicatorType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGamepadLightIndicator.setColor(const aColor: IJSGamepadLightColor): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setColor',[aColor],TJSPromise) as IJSPromise; end; class function TJSGamepadLightIndicator.JSClassName: UnicodeString; begin Result:='GamepadLightIndicator'; end; class function TJSGamepadLightIndicator.Cast(const Intf: IJSObject): IJSGamepadLightIndicator; begin Result:=TJSGamepadLightIndicator.JOBCast(Intf); end; function TJSGamepadPose._GethasOrientation: Boolean; begin Result:=ReadJSPropertyBoolean('hasOrientation'); end; function TJSGamepadPose._GethasPosition: Boolean; begin Result:=ReadJSPropertyBoolean('hasPosition'); end; function TJSGamepadPose._Getposition: IJSFloat32Array; begin Result:=ReadJSPropertyObject('position',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadPose._GetlinearVelocity: IJSFloat32Array; begin Result:=ReadJSPropertyObject('linearVelocity',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadPose._GetlinearAcceleration: IJSFloat32Array; begin Result:=ReadJSPropertyObject('linearAcceleration',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadPose._Getorientation: IJSFloat32Array; begin Result:=ReadJSPropertyObject('orientation',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadPose._GetangularVelocity: IJSFloat32Array; begin Result:=ReadJSPropertyObject('angularVelocity',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadPose._GetangularAcceleration: IJSFloat32Array; begin Result:=ReadJSPropertyObject('angularAcceleration',TJSFloat32Array) as IJSFloat32Array; end; class function TJSGamepadPose.JSClassName: UnicodeString; begin Result:='GamepadPose'; end; class function TJSGamepadPose.Cast(const Intf: IJSObject): IJSGamepadPose; begin Result:=TJSGamepadPose.JOBCast(Intf); end; function TJSGamepadServiceTest._GetnoMapping: TGamepadMappingType; begin Result:=ReadJSPropertyUnicodeString('noMapping'); end; function TJSGamepadServiceTest._GetstandardMapping: TGamepadMappingType; begin Result:=ReadJSPropertyUnicodeString('standardMapping'); end; function TJSGamepadServiceTest._GetnoHand: TGamepadHand; begin Result:=ReadJSPropertyUnicodeString('noHand'); end; function TJSGamepadServiceTest._GetleftHand: TGamepadHand; begin Result:=ReadJSPropertyUnicodeString('leftHand'); end; function TJSGamepadServiceTest._GetrightHand: TGamepadHand; begin Result:=ReadJSPropertyUnicodeString('rightHand'); end; function TJSGamepadServiceTest.addGamepad(const aId: UnicodeString; aMapping: TGamepadMappingType; aHand: TGamepadHand; aNumButtons: Cardinal; aNumAxes: Cardinal; aNumHaptics: Cardinal; aNumLightIndicator: Cardinal; aNumTouchEvents: Cardinal): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addGamepad',[aId,aMapping,aHand,aNumButtons,aNumAxes,aNumHaptics,aNumLightIndicator,aNumTouchEvents],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.removeGamepad(aIndex: Cardinal): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('removeGamepad',[aIndex],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.newButtonEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('newButtonEvent',[aIndex,aButton,aPressed,aTouched],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.newButtonValueEvent(aIndex: Cardinal; aButton: Cardinal; aPressed: Boolean; aTouched: Boolean; aValue: Double): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('newButtonValueEvent',[aIndex,aButton,aPressed,aTouched,aValue],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.newAxisMoveEvent(aIndex: Cardinal; aAxis: Cardinal; aValue: Double): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('newAxisMoveEvent',[aIndex,aAxis,aValue],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.newPoseMove(aIndex: Cardinal; aOrient: IJSFloat32Array; aPos: IJSFloat32Array; aAngVelocity: IJSFloat32Array; aAngAcceleration: IJSFloat32Array; aLinVelocity: IJSFloat32Array; aLinAcceleration: IJSFloat32Array): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('newPoseMove',[aIndex,aOrient,aPos,aAngVelocity,aAngAcceleration,aLinVelocity,aLinAcceleration],TJSPromise) as IJSPromise; end; function TJSGamepadServiceTest.newTouch(aIndex: Cardinal; aATouchArrayIndex: Cardinal; aTouchId: Cardinal; aSurfaceId: Byte; aPosition: IJSFloat32Array; aSurfaceDimension: IJSFloat32Array): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('newTouch',[aIndex,aATouchArrayIndex,aTouchId,aSurfaceId,aPosition,aSurfaceDimension],TJSPromise) as IJSPromise; end; class function TJSGamepadServiceTest.JSClassName: UnicodeString; begin Result:='GamepadServiceTest'; end; class function TJSGamepadServiceTest.Cast(const Intf: IJSObject): IJSGamepadServiceTest; begin Result:=TJSGamepadServiceTest.JOBCast(Intf); end; function TJSGamepadTouch._GettouchId: Cardinal; begin Result:=ReadJSPropertyInt64('touchId'); end; function TJSGamepadTouch._GetsurfaceId: Byte; begin Result:=ReadJSPropertyLongInt('surfaceId'); end; function TJSGamepadTouch._Getposition: IJSFloat32Array; begin Result:=ReadJSPropertyObject('position',TJSFloat32Array) as IJSFloat32Array; end; function TJSGamepadTouch._GetsurfaceDimensions: IJSUint32Array; begin Result:=ReadJSPropertyObject('surfaceDimensions',TJSUint32Array) as IJSUint32Array; end; class function TJSGamepadTouch.JSClassName: UnicodeString; begin Result:='GamepadTouch'; end; class function TJSGamepadTouch.Cast(const Intf: IJSObject): IJSGamepadTouch; begin Result:=TJSGamepadTouch.JOBCast(Intf); end; function TJSGenericTransformStream._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSGenericTransformStream._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; class function TJSGenericTransformStream.JSClassName: UnicodeString; begin Result:='GenericTransformStream'; end; class function TJSGenericTransformStream.Cast(const Intf: IJSObject): IJSGenericTransformStream; begin Result:=TJSGenericTransformStream.JOBCast(Intf); end; function TJSPositionOptions._GetenableHighAccuracy: Boolean; begin Result:=ReadJSPropertyBoolean('enableHighAccuracy'); end; function TJSPositionOptions._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSPositionOptions._GetmaximumAge: Cardinal; begin Result:=ReadJSPropertyInt64('maximumAge'); end; procedure TJSPositionOptions._SetenableHighAccuracy(const aValue : Boolean); begin WriteJSPropertyBoolean('enableHighAccuracy',aValue); end; procedure TJSPositionOptions._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSPositionOptions._SetmaximumAge(const aValue : Cardinal); begin WriteJSPropertyDouble('maximumAge',aValue); end; constructor TJSPositionOptions.create(const aDict : TJSPositionOptionsRec); overload; begin Self.enableHighAccuracy:=aDict.enableHighAccuracy; Self.timeout:=aDict.timeout; Self.maximumAge:=aDict.maximumAge; end; class function TJSPositionOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPositionOptions.Cast(const Intf: IJSObject): IJSPositionOptions; begin Result:=TJSPositionOptions.JOBCast(Intf); end; procedure TJSGeolocation.getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallPositionErrorCallback); try InvokeJSNoResult('getCurrentPosition',[m,m2,aOptions]); finally m.free; m2.free; end; end; procedure TJSGeolocation.getCurrentPosition(const aSuccessCallback: TPositionCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); try InvokeJSNoResult('getCurrentPosition',[m]); finally m.free; end; end; procedure TJSGeolocation.getCurrentPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallPositionErrorCallback); try InvokeJSNoResult('getCurrentPosition',[m,m2]); finally m.free; m2.free; end; end; function TJSGeolocation.watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback; const aOptions: IJSPositionOptions): LongInt; var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallPositionErrorCallback); try Result:=InvokeJSLongIntResult('watchPosition',[m,m2,aOptions]); finally m.free; m2.free; end; end; function TJSGeolocation.watchPosition(const aSuccessCallback: TPositionCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); try Result:=InvokeJSLongIntResult('watchPosition',[m]); finally m.free; end; end; function TJSGeolocation.watchPosition(const aSuccessCallback: TPositionCallback; const aErrorCallback: TPositionErrorCallback): LongInt; var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallPositionCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallPositionErrorCallback); try Result:=InvokeJSLongIntResult('watchPosition',[m,m2]); finally m.free; m2.free; end; end; procedure TJSGeolocation.clearWatch(aWatchId: LongInt); begin InvokeJSNoResult('clearWatch',[aWatchId]); end; class function TJSGeolocation.JSClassName: UnicodeString; begin Result:='Geolocation'; end; class function TJSGeolocation.Cast(const Intf: IJSObject): IJSGeolocation; begin Result:=TJSGeolocation.JOBCast(Intf); end; function TJSGeolocationCoordinates._Getlatitude: Double; begin Result:=ReadJSPropertyDouble('latitude'); end; function TJSGeolocationCoordinates._Getlongitude: Double; begin Result:=ReadJSPropertyDouble('longitude'); end; function TJSGeolocationCoordinates._Getaltitude: Double; begin Result:=ReadJSPropertyDouble('altitude'); end; function TJSGeolocationCoordinates._Getaccuracy: Double; begin Result:=ReadJSPropertyDouble('accuracy'); end; function TJSGeolocationCoordinates._GetaltitudeAccuracy: Double; begin Result:=ReadJSPropertyDouble('altitudeAccuracy'); end; function TJSGeolocationCoordinates._Getheading: Double; begin Result:=ReadJSPropertyDouble('heading'); end; function TJSGeolocationCoordinates._Getspeed: Double; begin Result:=ReadJSPropertyDouble('speed'); end; class function TJSGeolocationCoordinates.JSClassName: UnicodeString; begin Result:='GeolocationCoordinates'; end; class function TJSGeolocationCoordinates.Cast(const Intf: IJSObject): IJSGeolocationCoordinates; begin Result:=TJSGeolocationCoordinates.JOBCast(Intf); end; function TJSGeolocationPosition._Getcoords: IJSGeolocationCoordinates; begin Result:=ReadJSPropertyObject('coords',TJSGeolocationCoordinates) as IJSGeolocationCoordinates; end; function TJSGeolocationPosition._Gettimestamp: TEpochTimeStamp; begin Result:=ReadJSPropertyInt64('timestamp'); end; class function TJSGeolocationPosition.JSClassName: UnicodeString; begin Result:='GeolocationPosition'; end; class function TJSGeolocationPosition.Cast(const Intf: IJSObject): IJSGeolocationPosition; begin Result:=TJSGeolocationPosition.JOBCast(Intf); end; function TJSGeolocationPositionError._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; function TJSGeolocationPositionError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSGeolocationPositionError.JSClassName: UnicodeString; begin Result:='GeolocationPositionError'; end; class function TJSGeolocationPositionError.Cast(const Intf: IJSObject): IJSGeolocationPositionError; begin Result:=TJSGeolocationPositionError.JOBCast(Intf); end; function TJSBoxQuadOptions._Getbox: TCSSBoxType; begin Result:=ReadJSPropertyUnicodeString('box'); end; function TJSBoxQuadOptions._GetrelativeTo: TGeometryNode; begin Result:=ReadJSPropertyVariant('relativeTo'); end; procedure TJSBoxQuadOptions._Setbox(const aValue : TCSSBoxType); begin WriteJSPropertyUnicodeString('box',aValue); end; procedure TJSBoxQuadOptions._SetrelativeTo(const aValue : TGeometryNode); begin WriteJSPropertyVariant('relativeTo',aValue); end; constructor TJSBoxQuadOptions.create(const aDict : TJSBoxQuadOptionsRec); overload; begin Self.box:=aDict.box; Self.relativeTo:=aDict.relativeTo; end; class function TJSBoxQuadOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBoxQuadOptions.Cast(const Intf: IJSObject): IJSBoxQuadOptions; begin Result:=TJSBoxQuadOptions.JOBCast(Intf); end; function TJSConvertCoordinateOptions._GetfromBox: TCSSBoxType; begin Result:=ReadJSPropertyUnicodeString('fromBox'); end; function TJSConvertCoordinateOptions._GettoBox: TCSSBoxType; begin Result:=ReadJSPropertyUnicodeString('toBox'); end; procedure TJSConvertCoordinateOptions._SetfromBox(const aValue : TCSSBoxType); begin WriteJSPropertyUnicodeString('fromBox',aValue); end; procedure TJSConvertCoordinateOptions._SettoBox(const aValue : TCSSBoxType); begin WriteJSPropertyUnicodeString('toBox',aValue); end; constructor TJSConvertCoordinateOptions.create(const aDict : TJSConvertCoordinateOptionsRec); overload; begin Self.fromBox:=aDict.fromBox; Self.toBox:=aDict.toBox; end; class function TJSConvertCoordinateOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConvertCoordinateOptions.Cast(const Intf: IJSObject): IJSConvertCoordinateOptions; begin Result:=TJSConvertCoordinateOptions.JOBCast(Intf); end; function TJSGeometryUtils.getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[aOptions],TJSArray) as TJSDOMQuadDynArray; end; function TJSGeometryUtils.getBoxQuads: TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[],TJSArray) as TJSDOMQuadDynArray; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSGeometryUtils.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; class function TJSGeometryUtils.JSClassName: UnicodeString; begin Result:='GeometryUtils'; end; class function TJSGeometryUtils.Cast(const Intf: IJSObject): IJSGeometryUtils; begin Result:=TJSGeometryUtils.JOBCast(Intf); end; class function TJSnsIMediaDevice.JSClassName: UnicodeString; begin Result:='nsIMediaDevice'; end; class function TJSnsIMediaDevice.Cast(const Intf: IJSObject): IJSnsIMediaDevice; begin Result:=TJSnsIMediaDevice.JOBCast(Intf); end; function TJSGetUserMediaRequest._Gettype_: TGetUserMediaRequestType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGetUserMediaRequest._GetwindowID: QWord; begin Result:=ReadJSPropertyInt64('windowID'); end; function TJSGetUserMediaRequest._GetinnerWindowID: QWord; begin Result:=ReadJSPropertyInt64('innerWindowID'); end; function TJSGetUserMediaRequest._GetcallID: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('callID'); end; function TJSGetUserMediaRequest._GetrawID: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rawID'); end; function TJSGetUserMediaRequest._GetmediaSource: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mediaSource'); end; function TJSGetUserMediaRequest._Getdevices: TJSnsIMediaDeviceDynArray; begin Result:=ReadJSPropertyObject('devices',TJSArray) as TJSnsIMediaDeviceDynArray; end; function TJSGetUserMediaRequest._GetisSecure: Boolean; begin Result:=ReadJSPropertyBoolean('isSecure'); end; function TJSGetUserMediaRequest._GetisHandlingUserInput: Boolean; begin Result:=ReadJSPropertyBoolean('isHandlingUserInput'); end; function TJSGetUserMediaRequest.getConstraints: IJSMediaStreamConstraints; begin Result:=InvokeJSObjectResult('getConstraints',[],TJSMediaStreamConstraints) as IJSMediaStreamConstraints; end; function TJSGetUserMediaRequest.getAudioOutputOptions: IJSAudioOutputOptions; begin Result:=InvokeJSObjectResult('getAudioOutputOptions',[],TJSAudioOutputOptions) as IJSAudioOutputOptions; end; class function TJSGetUserMediaRequest.JSClassName: UnicodeString; begin Result:='GetUserMediaRequest'; end; class function TJSGetUserMediaRequest.Cast(const Intf: IJSObject): IJSGetUserMediaRequest; begin Result:=TJSGetUserMediaRequest.JOBCast(Intf); end; function TJSGleanCategory.GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; begin Result:=InvokeJSObjectResult('',[aIdentifier],TJSGleanMetric) as IJSGleanMetric; end; class function TJSGleanCategory.JSClassName: UnicodeString; begin Result:='GleanCategory'; end; class function TJSGleanCategory.Cast(const Intf: IJSObject): IJSGleanCategory; begin Result:=TJSGleanCategory.JOBCast(Intf); end; function TJSGleanImpl.GetDefault(const aIdentifier: UnicodeString): IJSGleanCategory; begin Result:=InvokeJSObjectResult('',[aIdentifier],TJSGleanCategory) as IJSGleanCategory; end; class function TJSGleanImpl.JSClassName: UnicodeString; begin Result:='GleanImpl'; end; class function TJSGleanImpl.Cast(const Intf: IJSObject): IJSGleanImpl; begin Result:=TJSGleanImpl.JOBCast(Intf); end; function TJSGleanLabeled.GetDefault(const aIdentifier: UnicodeString): IJSGleanMetric; begin Result:=InvokeJSObjectResult('',[aIdentifier],TJSGleanMetric) as IJSGleanMetric; end; class function TJSGleanLabeled.JSClassName: UnicodeString; begin Result:='GleanLabeled'; end; class function TJSGleanLabeled.Cast(const Intf: IJSObject): IJSGleanLabeled; begin Result:=TJSGleanLabeled.JOBCast(Intf); end; class function TJSGleanMetric.JSClassName: UnicodeString; begin Result:='GleanMetric'; end; class function TJSGleanMetric.Cast(const Intf: IJSObject): IJSGleanMetric; begin Result:=TJSGleanMetric.JOBCast(Intf); end; procedure TJSGleanBoolean.set_(aValue: Boolean); begin InvokeJSNoResult('set',[aValue]); end; class function TJSGleanBoolean.JSClassName: UnicodeString; begin Result:='GleanBoolean'; end; class function TJSGleanBoolean.Cast(const Intf: IJSObject): IJSGleanBoolean; begin Result:=TJSGleanBoolean.JOBCast(Intf); end; procedure TJSGleanDatetime.set_(aAValue: Int64); begin InvokeJSNoResult('set',[aAValue]); end; procedure TJSGleanDatetime.set_; begin InvokeJSNoResult('set',[]); end; class function TJSGleanDatetime.JSClassName: UnicodeString; begin Result:='GleanDatetime'; end; class function TJSGleanDatetime.Cast(const Intf: IJSObject): IJSGleanDatetime; begin Result:=TJSGleanDatetime.JOBCast(Intf); end; procedure TJSGleanCounter.add(aAAmount: LongInt); begin InvokeJSNoResult('add',[aAAmount]); end; procedure TJSGleanCounter.add; begin InvokeJSNoResult('add',[]); end; class function TJSGleanCounter.JSClassName: UnicodeString; begin Result:='GleanCounter'; end; class function TJSGleanCounter.Cast(const Intf: IJSObject): IJSGleanCounter; begin Result:=TJSGleanCounter.JOBCast(Intf); end; function TJSGleanDistributionData._Getsum: QWord; begin Result:=ReadJSPropertyInt64('sum'); end; function TJSGleanDistributionData._Getcount: QWord; begin Result:=ReadJSPropertyInt64('count'); end; function TJSGleanDistributionData._Getvalues: IJSObject; begin Result:=ReadJSPropertyObject('values',TJSObject) as IJSObject; end; procedure TJSGleanDistributionData._Setsum(const aValue : QWord); begin WriteJSPropertyDouble('sum',aValue); end; procedure TJSGleanDistributionData._Setcount(const aValue : QWord); begin WriteJSPropertyDouble('count',aValue); end; procedure TJSGleanDistributionData._Setvalues(const aValue : IJSObject); begin WriteJSPropertyObject('values',aValue); end; constructor TJSGleanDistributionData.create(const aDict : TJSGleanDistributionDataRec); overload; begin Self.sum:=aDict.sum; Self.count:=aDict.count; Self.values:=aDict.values; end; class function TJSGleanDistributionData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGleanDistributionData.Cast(const Intf: IJSObject): IJSGleanDistributionData; begin Result:=TJSGleanDistributionData.JOBCast(Intf); end; function TJSGleanTimingDistribution.start: QWord; begin Result:=InvokeJSMaxIntResult('start',[]); end; procedure TJSGleanTimingDistribution.stopAndAccumulate(aAId: QWord); begin InvokeJSNoResult('stopAndAccumulate',[aAId]); end; procedure TJSGleanTimingDistribution.cancel(aAId: QWord); begin InvokeJSNoResult('cancel',[aAId]); end; class function TJSGleanTimingDistribution.JSClassName: UnicodeString; begin Result:='GleanTimingDistribution'; end; class function TJSGleanTimingDistribution.Cast(const Intf: IJSObject): IJSGleanTimingDistribution; begin Result:=TJSGleanTimingDistribution.JOBCast(Intf); end; procedure TJSGleanMemoryDistribution.accumulate(aASample: QWord); begin InvokeJSNoResult('accumulate',[aASample]); end; class function TJSGleanMemoryDistribution.JSClassName: UnicodeString; begin Result:='GleanMemoryDistribution'; end; class function TJSGleanMemoryDistribution.Cast(const Intf: IJSObject): IJSGleanMemoryDistribution; begin Result:=TJSGleanMemoryDistribution.JOBCast(Intf); end; procedure TJSGleanCustomDistribution.accumulateSamples(const aASamples: TInt64DynArray); begin InvokeJSNoResult('accumulateSamples',[aASamples]); end; procedure TJSGleanCustomDistribution.accumulateSingleSample(aASample: Int64); begin InvokeJSNoResult('accumulateSingleSample',[aASample]); end; class function TJSGleanCustomDistribution.JSClassName: UnicodeString; begin Result:='GleanCustomDistribution'; end; class function TJSGleanCustomDistribution.Cast(const Intf: IJSObject): IJSGleanCustomDistribution; begin Result:=TJSGleanCustomDistribution.JOBCast(Intf); end; procedure TJSGleanString.set_(const aAValue: UTF8String); begin InvokeJSNoResult('set',[aAValue]); end; class function TJSGleanString.JSClassName: UnicodeString; begin Result:='GleanString'; end; class function TJSGleanString.Cast(const Intf: IJSObject): IJSGleanString; begin Result:=TJSGleanString.JOBCast(Intf); end; procedure TJSGleanStringList.add(const aValue: UTF8String); begin InvokeJSNoResult('add',[aValue]); end; procedure TJSGleanStringList.set_(const aAValue: TUTF8StringDynArray); begin InvokeJSNoResult('set',[aAValue]); end; class function TJSGleanStringList.JSClassName: UnicodeString; begin Result:='GleanStringList'; end; class function TJSGleanStringList.Cast(const Intf: IJSObject): IJSGleanStringList; begin Result:=TJSGleanStringList.JOBCast(Intf); end; procedure TJSGleanTimespan.start; begin InvokeJSNoResult('start',[]); end; procedure TJSGleanTimespan.stop; begin InvokeJSNoResult('stop',[]); end; procedure TJSGleanTimespan.cancel; begin InvokeJSNoResult('cancel',[]); end; procedure TJSGleanTimespan.setRaw(aADuration: Cardinal); begin InvokeJSNoResult('setRaw',[aADuration]); end; class function TJSGleanTimespan.JSClassName: UnicodeString; begin Result:='GleanTimespan'; end; class function TJSGleanTimespan.Cast(const Intf: IJSObject): IJSGleanTimespan; begin Result:=TJSGleanTimespan.JOBCast(Intf); end; procedure TJSGleanUuid.set_(const aAValue: UTF8String); begin InvokeJSNoResult('set',[aAValue]); end; procedure TJSGleanUuid.generateAndSet; begin InvokeJSNoResult('generateAndSet',[]); end; class function TJSGleanUuid.JSClassName: UnicodeString; begin Result:='GleanUuid'; end; class function TJSGleanUuid.Cast(const Intf: IJSObject): IJSGleanUuid; begin Result:=TJSGleanUuid.JOBCast(Intf); end; function TJSGleanEventRecord._Gettimestamp: QWord; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSGleanEventRecord._Getcategory: UTF8String; begin Result:=ReadJSPropertyUTF8String('category'); end; function TJSGleanEventRecord._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; function TJSGleanEventRecord._Getextra: IJSObject; begin Result:=ReadJSPropertyObject('extra',TJSObject) as IJSObject; end; procedure TJSGleanEventRecord._Settimestamp(const aValue : QWord); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSGleanEventRecord._Setcategory(const aValue : UTF8String); begin WriteJSPropertyUTF8String('category',aValue); end; procedure TJSGleanEventRecord._Setname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('name',aValue); end; procedure TJSGleanEventRecord._Setextra(const aValue : IJSObject); begin WriteJSPropertyObject('extra',aValue); end; constructor TJSGleanEventRecord.create(const aDict : TJSGleanEventRecordRec); overload; begin Self.timestamp:=aDict.timestamp; Self.category:=aDict.category; Self.name:=aDict.name; Self.extra:=aDict.extra; end; class function TJSGleanEventRecord.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGleanEventRecord.Cast(const Intf: IJSObject): IJSGleanEventRecord; begin Result:=TJSGleanEventRecord.JOBCast(Intf); end; procedure TJSGleanEvent.record_(aAExtra: IJSObject); begin InvokeJSNoResult('record',[aAExtra]); end; procedure TJSGleanEvent.record_; begin InvokeJSNoResult('record',[]); end; class function TJSGleanEvent.JSClassName: UnicodeString; begin Result:='GleanEvent'; end; class function TJSGleanEvent.Cast(const Intf: IJSObject): IJSGleanEvent; begin Result:=TJSGleanEvent.JOBCast(Intf); end; procedure TJSGleanQuantity.set_(aAValue: Int64); begin InvokeJSNoResult('set',[aAValue]); end; class function TJSGleanQuantity.JSClassName: UnicodeString; begin Result:='GleanQuantity'; end; class function TJSGleanQuantity.Cast(const Intf: IJSObject): IJSGleanQuantity; begin Result:=TJSGleanQuantity.JOBCast(Intf); end; procedure TJSGleanDenominator.add(aAAmount: LongInt); begin InvokeJSNoResult('add',[aAAmount]); end; procedure TJSGleanDenominator.add; begin InvokeJSNoResult('add',[]); end; class function TJSGleanDenominator.JSClassName: UnicodeString; begin Result:='GleanDenominator'; end; class function TJSGleanDenominator.Cast(const Intf: IJSObject): IJSGleanDenominator; begin Result:=TJSGleanDenominator.JOBCast(Intf); end; function TJSGleanRateData._Getnumerator: LongInt; begin Result:=ReadJSPropertyLongInt('numerator'); end; function TJSGleanRateData._Getdenominator: LongInt; begin Result:=ReadJSPropertyLongInt('denominator'); end; procedure TJSGleanRateData._Setnumerator(const aValue : LongInt); begin WriteJSPropertyLongInt('numerator',aValue); end; procedure TJSGleanRateData._Setdenominator(const aValue : LongInt); begin WriteJSPropertyLongInt('denominator',aValue); end; constructor TJSGleanRateData.create(const aDict : TJSGleanRateDataRec); overload; begin Self.numerator:=aDict.numerator; Self.denominator:=aDict.denominator; end; class function TJSGleanRateData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGleanRateData.Cast(const Intf: IJSObject): IJSGleanRateData; begin Result:=TJSGleanRateData.JOBCast(Intf); end; procedure TJSGleanNumerator.addToNumerator(aAAmount: LongInt); begin InvokeJSNoResult('addToNumerator',[aAAmount]); end; procedure TJSGleanNumerator.addToNumerator; begin InvokeJSNoResult('addToNumerator',[]); end; class function TJSGleanNumerator.JSClassName: UnicodeString; begin Result:='GleanNumerator'; end; class function TJSGleanNumerator.Cast(const Intf: IJSObject): IJSGleanNumerator; begin Result:=TJSGleanNumerator.JOBCast(Intf); end; procedure TJSGleanRate.addToNumerator(aAAmount: LongInt); begin InvokeJSNoResult('addToNumerator',[aAAmount]); end; procedure TJSGleanRate.addToNumerator; begin InvokeJSNoResult('addToNumerator',[]); end; procedure TJSGleanRate.addToDenominator(aAAmount: LongInt); begin InvokeJSNoResult('addToDenominator',[aAAmount]); end; procedure TJSGleanRate.addToDenominator; begin InvokeJSNoResult('addToDenominator',[]); end; class function TJSGleanRate.JSClassName: UnicodeString; begin Result:='GleanRate'; end; class function TJSGleanRate.Cast(const Intf: IJSObject): IJSGleanRate; begin Result:=TJSGleanRate.JOBCast(Intf); end; procedure TJSGleanUrl.set_(const aAValue: UTF8String); begin InvokeJSNoResult('set',[aAValue]); end; class function TJSGleanUrl.JSClassName: UnicodeString; begin Result:='GleanUrl'; end; class function TJSGleanUrl.Cast(const Intf: IJSObject): IJSGleanUrl; begin Result:=TJSGleanUrl.JOBCast(Intf); end; procedure TJSGleanText.set_(const aAValue: UTF8String); begin InvokeJSNoResult('set',[aAValue]); end; class function TJSGleanText.JSClassName: UnicodeString; begin Result:='GleanText'; end; class function TJSGleanText.Cast(const Intf: IJSObject): IJSGleanText; begin Result:=TJSGleanText.JOBCast(Intf); end; procedure TJSGleanObject.set_(aValue: IJSObject); begin InvokeJSNoResult('set',[aValue]); end; class function TJSGleanObject.JSClassName: UnicodeString; begin Result:='GleanObject'; end; class function TJSGleanObject.Cast(const Intf: IJSObject): IJSGleanObject; begin Result:=TJSGleanObject.JOBCast(Intf); end; class function TJSnsIGleanPing.JSClassName: UnicodeString; begin Result:='nsIGleanPing'; end; class function TJSnsIGleanPing.Cast(const Intf: IJSObject): IJSnsIGleanPing; begin Result:=TJSnsIGleanPing.JOBCast(Intf); end; function TJSGleanPingsImpl.GetDefault(const aIdentifier: UnicodeString): IJSnsIGleanPing; begin Result:=InvokeJSObjectResult('',[aIdentifier],TJSnsIGleanPing) as IJSnsIGleanPing; end; class function TJSGleanPingsImpl.JSClassName: UnicodeString; begin Result:='GleanPingsImpl'; end; class function TJSGleanPingsImpl.Cast(const Intf: IJSObject): IJSGleanPingsImpl; begin Result:=TJSGleanPingsImpl.JOBCast(Intf); end; function TJSGPUUncapturedErrorEventInit._Geterror: IJSGPUError; begin Result:=ReadJSPropertyObject('error',TJSGPUError) as IJSGPUError; end; procedure TJSGPUUncapturedErrorEventInit._Seterror(const aValue : IJSGPUError); begin WriteJSPropertyObject('error',aValue); end; constructor TJSGPUUncapturedErrorEventInit.create(const aDict : TJSGPUUncapturedErrorEventInitRec); overload; begin Self.error:=aDict.error; end; class function TJSGPUUncapturedErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUUncapturedErrorEventInit.Cast(const Intf: IJSObject): IJSGPUUncapturedErrorEventInit; begin Result:=TJSGPUUncapturedErrorEventInit.JOBCast(Intf); end; function TJSGPUUncapturedErrorEvent._Geterror: IJSGPUError; begin Result:=ReadJSPropertyObject('error',TJSGPUError) as IJSGPUError; end; constructor TJSGPUUncapturedErrorEvent.Create(const aType_: UnicodeString; const aGpuUncapturedErrorEventInitDict: IJSGPUUncapturedErrorEventInit); begin JOBCreate([aType_,aGpuUncapturedErrorEventInitDict]); end; class function TJSGPUUncapturedErrorEvent.JSClassName: UnicodeString; begin Result:='GPUUncapturedErrorEvent'; end; class function TJSGPUUncapturedErrorEvent.Cast(const Intf: IJSObject): IJSGPUUncapturedErrorEvent; begin Result:=TJSGPUUncapturedErrorEvent.JOBCast(Intf); end; function TJSHashChangeEvent._GetoldURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldURL'); end; function TJSHashChangeEvent._GetnewURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newURL'); end; constructor TJSHashChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSHashChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSHashChangeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSHashChangeEvent.JSClassName: UnicodeString; begin Result:='HashChangeEvent'; end; class function TJSHashChangeEvent.Cast(const Intf: IJSObject): IJSHashChangeEvent; begin Result:=TJSHashChangeEvent.JOBCast(Intf); end; function TJSHashChangeEventInit._GetoldURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldURL'); end; function TJSHashChangeEventInit._GetnewURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newURL'); end; procedure TJSHashChangeEventInit._SetoldURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('oldURL',aValue); end; procedure TJSHashChangeEventInit._SetnewURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('newURL',aValue); end; constructor TJSHashChangeEventInit.create(const aDict : TJSHashChangeEventInitRec); overload; begin Self.oldURL:=aDict.oldURL; Self.newURL:=aDict.newURL; end; class function TJSHashChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHashChangeEventInit.Cast(const Intf: IJSObject): IJSHashChangeEventInit; begin Result:=TJSHashChangeEventInit.JOBCast(Intf); end; constructor TJSHeaders.Create(aInit: IJSObject); begin JOBCreate([aInit]); end; constructor TJSHeaders.Create; begin JOBCreate([]); end; constructor TJSHeaders.Create(const aInit: TsequenceDynArrayDynArray); begin JOBCreate([aInit]); end; procedure TJSHeaders.append(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('append',[aName,aValue]); end; procedure TJSHeaders.delete(const aName: UnicodeString); begin InvokeJSNoResult('delete',[aName]); end; function TJSHeaders.get(const aName: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('get',[aName]); end; function TJSHeaders.getSetCookie: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getSetCookie',[],TJSArray) as TUnicodeStringDynArray; end; function TJSHeaders.has(const aName: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('has',[aName]); end; procedure TJSHeaders.set_(const aName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('set',[aName,aValue]); end; class function TJSHeaders.JSClassName: UnicodeString; begin Result:='Headers'; end; class function TJSHeaders.Cast(const Intf: IJSObject): IJSHeaders; begin Result:=TJSHeaders.JOBCast(Intf); end; function TJSHighlight._Getpriority: LongInt; begin Result:=ReadJSPropertyLongInt('priority'); end; function TJSHighlight._Gettype_: THighlightType; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSHighlight._Setpriority(const aValue : LongInt); begin WriteJSPropertyLongInt('priority',aValue); end; procedure TJSHighlight._Settype_(const aValue : THighlightType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSHighlight.Create(aInitialRanges: IJSAbstractRange){; ToDo:varargs}; begin JOBCreate([aInitialRanges]); end; procedure TJSHighlight.add(aRange: IJSAbstractRange); begin InvokeJSNoResult('add',[aRange]); end; procedure TJSHighlight.clear; begin InvokeJSNoResult('clear',[]); end; function TJSHighlight.delete(aRange: IJSAbstractRange): Boolean; begin Result:=InvokeJSBooleanResult('delete',[aRange]); end; class function TJSHighlight.JSClassName: UnicodeString; begin Result:='Highlight'; end; class function TJSHighlight.Cast(const Intf: IJSObject): IJSHighlight; begin Result:=TJSHighlight.JOBCast(Intf); end; function TJSHighlightRegistry._Getsize: LongInt; begin Result:=0; end; function TJSHighlightRegistry.get(key: UnicodeString) : TJSHighlight; begin Result:=InvokeJSObjectResult('get',[key],TJSHighlight) as TJSHighlight; end; function TJSHighlightRegistry.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSHighlightRegistry.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSHighlightRegistry.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSHighlightRegistry.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; procedure TJSHighlightRegistry.set_(const aKey: UnicodeString; aValue: IJSHighlight); begin InvokeJSNoResult('set',[aKey,aValue]); end; procedure TJSHighlightRegistry.clear; begin InvokeJSNoResult('clear',[]); end; function TJSHighlightRegistry.delete(const aKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('delete',[aKey]); end; class function TJSHighlightRegistry.JSClassName: UnicodeString; begin Result:='HighlightRegistry'; end; class function TJSHighlightRegistry.Cast(const Intf: IJSObject): IJSHighlightRegistry; begin Result:=TJSHighlightRegistry.JOBCast(Intf); end; function TJSHistory._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSHistory._GetscrollRestoration: TScrollRestoration; begin Result:=ReadJSPropertyUnicodeString('scrollRestoration'); end; function TJSHistory._Getstate: Variant; begin Result:=ReadJSPropertyVariant('state'); end; procedure TJSHistory._SetscrollRestoration(const aValue : TScrollRestoration); begin WriteJSPropertyUnicodeString('scrollRestoration',aValue); end; procedure TJSHistory.go(aDelta: LongInt); begin InvokeJSNoResult('go',[aDelta]); end; procedure TJSHistory.go; begin InvokeJSNoResult('go',[]); end; procedure TJSHistory.back; begin InvokeJSNoResult('back',[]); end; procedure TJSHistory.forward; begin InvokeJSNoResult('forward',[]); end; procedure TJSHistory.pushState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('pushState',[aData,aTitle,aUrl]); end; procedure TJSHistory.pushState(const aData: Variant; const aTitle: UnicodeString); begin InvokeJSNoResult('pushState',[aData,aTitle]); end; procedure TJSHistory.replaceState(const aData: Variant; const aTitle: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('replaceState',[aData,aTitle,aUrl]); end; procedure TJSHistory.replaceState(const aData: Variant; const aTitle: UnicodeString); begin InvokeJSNoResult('replaceState',[aData,aTitle]); end; class function TJSHistory.JSClassName: UnicodeString; begin Result:='History'; end; class function TJSHistory.Cast(const Intf: IJSObject): IJSHistory; begin Result:=TJSHistory.JOBCast(Intf); end; function TJSHTMLAllCollection._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSHTMLAllCollection.GetDefault(aIndex: Cardinal): IJSElement; begin Result:=InvokeJSObjectResult('',[aIndex],TJSElement) as IJSElement; end; function TJSHTMLAllCollection.namedItem(const aName: UnicodeString): THTMLAllCollection_namedItem_Type; begin Result:=InvokeJSVariantResult('namedItem',[aName]); end; function TJSHTMLAllCollection.item(const aNameOrIndex: UnicodeString): THTMLAllCollection_item_Type; begin Result:=InvokeJSVariantResult('item',[aNameOrIndex]); end; function TJSHTMLAllCollection.item: THTMLAllCollection_item_Type; begin Result:=InvokeJSVariantResult('item',[]); end; function TJSHTMLAllCollection.HTMLAllCollectionType(const aNameOrIndex: UnicodeString): THTMLAllCollection_Type; begin Result:=InvokeJSVariantResult('',[aNameOrIndex]); end; function TJSHTMLAllCollection.HTMLAllCollectionType: THTMLAllCollection_Type; begin Result:=InvokeJSVariantResult('',[]); end; class function TJSHTMLAllCollection.JSClassName: UnicodeString; begin Result:='HTMLAllCollection'; end; class function TJSHTMLAllCollection.Cast(const Intf: IJSObject): IJSHTMLAllCollection; begin Result:=TJSHTMLAllCollection.JOBCast(Intf); end; function TJSHTMLAnchorElement._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; function TJSHTMLAnchorElement._Getdownload: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('download'); end; function TJSHTMLAnchorElement._Getping: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ping'); end; function TJSHTMLAnchorElement._Getrel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rel'); end; function TJSHTMLAnchorElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLAnchorElement._GetrelList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('relList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLAnchorElement._Gethreflang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hreflang'); end; function TJSHTMLAnchorElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLAnchorElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSHTMLAnchorElement._Getcoords: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('coords'); end; function TJSHTMLAnchorElement._Getcharset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('charset'); end; function TJSHTMLAnchorElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLAnchorElement._Getrev: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rev'); end; function TJSHTMLAnchorElement._Getshape: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('shape'); end; function TJSHTMLAnchorElement._Gethref: UTF8String; begin Result:=ReadJSPropertyUTF8String('href'); end; function TJSHTMLAnchorElement._Getorigin: UTF8String; begin Result:=ReadJSPropertyUTF8String('origin'); end; function TJSHTMLAnchorElement._Getprotocol: UTF8String; begin Result:=ReadJSPropertyUTF8String('protocol'); end; function TJSHTMLAnchorElement._Getusername: UTF8String; begin Result:=ReadJSPropertyUTF8String('username'); end; function TJSHTMLAnchorElement._Getpassword: UTF8String; begin Result:=ReadJSPropertyUTF8String('password'); end; function TJSHTMLAnchorElement._Gethost: UTF8String; begin Result:=ReadJSPropertyUTF8String('host'); end; function TJSHTMLAnchorElement._Gethostname: UTF8String; begin Result:=ReadJSPropertyUTF8String('hostname'); end; function TJSHTMLAnchorElement._Getport: UTF8String; begin Result:=ReadJSPropertyUTF8String('port'); end; function TJSHTMLAnchorElement._Getpathname: UTF8String; begin Result:=ReadJSPropertyUTF8String('pathname'); end; function TJSHTMLAnchorElement._Getsearch: UTF8String; begin Result:=ReadJSPropertyUTF8String('search'); end; function TJSHTMLAnchorElement._Gethash: UTF8String; begin Result:=ReadJSPropertyUTF8String('hash'); end; procedure TJSHTMLAnchorElement._Settarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('target',aValue); end; procedure TJSHTMLAnchorElement._Setdownload(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('download',aValue); end; procedure TJSHTMLAnchorElement._Setping(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ping',aValue); end; procedure TJSHTMLAnchorElement._Setrel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rel',aValue); end; procedure TJSHTMLAnchorElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLAnchorElement._Sethreflang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hreflang',aValue); end; procedure TJSHTMLAnchorElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLAnchorElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; procedure TJSHTMLAnchorElement._Setcoords(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('coords',aValue); end; procedure TJSHTMLAnchorElement._Setcharset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('charset',aValue); end; procedure TJSHTMLAnchorElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLAnchorElement._Setrev(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rev',aValue); end; procedure TJSHTMLAnchorElement._Setshape(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('shape',aValue); end; procedure TJSHTMLAnchorElement._Setprotocol(const aValue : UTF8String); begin WriteJSPropertyUTF8String('protocol',aValue); end; procedure TJSHTMLAnchorElement._Setusername(const aValue : UTF8String); begin WriteJSPropertyUTF8String('username',aValue); end; procedure TJSHTMLAnchorElement._Setpassword(const aValue : UTF8String); begin WriteJSPropertyUTF8String('password',aValue); end; procedure TJSHTMLAnchorElement._Sethost(const aValue : UTF8String); begin WriteJSPropertyUTF8String('host',aValue); end; procedure TJSHTMLAnchorElement._Sethostname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hostname',aValue); end; procedure TJSHTMLAnchorElement._Setport(const aValue : UTF8String); begin WriteJSPropertyUTF8String('port',aValue); end; procedure TJSHTMLAnchorElement._Setpathname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('pathname',aValue); end; procedure TJSHTMLAnchorElement._Setsearch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('search',aValue); end; procedure TJSHTMLAnchorElement._Sethash(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hash',aValue); end; constructor TJSHTMLAnchorElement.Create; begin JOBCreate([]); end; class function TJSHTMLAnchorElement.JSClassName: UnicodeString; begin Result:='HTMLAnchorElement'; end; class function TJSHTMLAnchorElement.Cast(const Intf: IJSObject): IJSHTMLAnchorElement; begin Result:=TJSHTMLAnchorElement.JOBCast(Intf); end; function TJSHTMLAreaElement._Getalt: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('alt'); end; function TJSHTMLAreaElement._Getcoords: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('coords'); end; function TJSHTMLAreaElement._Getshape: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('shape'); end; function TJSHTMLAreaElement._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; function TJSHTMLAreaElement._Getdownload: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('download'); end; function TJSHTMLAreaElement._Getping: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ping'); end; function TJSHTMLAreaElement._Getrel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rel'); end; function TJSHTMLAreaElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLAreaElement._GetrelList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('relList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLAreaElement._GetnoHref: Boolean; begin Result:=ReadJSPropertyBoolean('noHref'); end; function TJSHTMLAreaElement._Gethref: UTF8String; begin Result:=ReadJSPropertyUTF8String('href'); end; function TJSHTMLAreaElement._Getorigin: UTF8String; begin Result:=ReadJSPropertyUTF8String('origin'); end; function TJSHTMLAreaElement._Getprotocol: UTF8String; begin Result:=ReadJSPropertyUTF8String('protocol'); end; function TJSHTMLAreaElement._Getusername: UTF8String; begin Result:=ReadJSPropertyUTF8String('username'); end; function TJSHTMLAreaElement._Getpassword: UTF8String; begin Result:=ReadJSPropertyUTF8String('password'); end; function TJSHTMLAreaElement._Gethost: UTF8String; begin Result:=ReadJSPropertyUTF8String('host'); end; function TJSHTMLAreaElement._Gethostname: UTF8String; begin Result:=ReadJSPropertyUTF8String('hostname'); end; function TJSHTMLAreaElement._Getport: UTF8String; begin Result:=ReadJSPropertyUTF8String('port'); end; function TJSHTMLAreaElement._Getpathname: UTF8String; begin Result:=ReadJSPropertyUTF8String('pathname'); end; function TJSHTMLAreaElement._Getsearch: UTF8String; begin Result:=ReadJSPropertyUTF8String('search'); end; function TJSHTMLAreaElement._Gethash: UTF8String; begin Result:=ReadJSPropertyUTF8String('hash'); end; procedure TJSHTMLAreaElement._Setalt(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('alt',aValue); end; procedure TJSHTMLAreaElement._Setcoords(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('coords',aValue); end; procedure TJSHTMLAreaElement._Setshape(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('shape',aValue); end; procedure TJSHTMLAreaElement._Settarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('target',aValue); end; procedure TJSHTMLAreaElement._Setdownload(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('download',aValue); end; procedure TJSHTMLAreaElement._Setping(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ping',aValue); end; procedure TJSHTMLAreaElement._Setrel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rel',aValue); end; procedure TJSHTMLAreaElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLAreaElement._SetnoHref(const aValue : Boolean); begin WriteJSPropertyBoolean('noHref',aValue); end; procedure TJSHTMLAreaElement._Setprotocol(const aValue : UTF8String); begin WriteJSPropertyUTF8String('protocol',aValue); end; procedure TJSHTMLAreaElement._Setusername(const aValue : UTF8String); begin WriteJSPropertyUTF8String('username',aValue); end; procedure TJSHTMLAreaElement._Setpassword(const aValue : UTF8String); begin WriteJSPropertyUTF8String('password',aValue); end; procedure TJSHTMLAreaElement._Sethost(const aValue : UTF8String); begin WriteJSPropertyUTF8String('host',aValue); end; procedure TJSHTMLAreaElement._Sethostname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hostname',aValue); end; procedure TJSHTMLAreaElement._Setport(const aValue : UTF8String); begin WriteJSPropertyUTF8String('port',aValue); end; procedure TJSHTMLAreaElement._Setpathname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('pathname',aValue); end; procedure TJSHTMLAreaElement._Setsearch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('search',aValue); end; procedure TJSHTMLAreaElement._Sethash(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hash',aValue); end; constructor TJSHTMLAreaElement.Create; begin JOBCreate([]); end; class function TJSHTMLAreaElement.JSClassName: UnicodeString; begin Result:='HTMLAreaElement'; end; class function TJSHTMLAreaElement.Cast(const Intf: IJSObject): IJSHTMLAreaElement; begin Result:=TJSHTMLAreaElement.JOBCast(Intf); end; constructor TJSHTMLAudioElement.Create; begin JOBCreate([]); end; class function TJSHTMLAudioElement.JSClassName: UnicodeString; begin Result:='HTMLAudioElement'; end; class function TJSHTMLAudioElement.Cast(const Intf: IJSObject): IJSHTMLAudioElement; begin Result:=TJSHTMLAudioElement.JOBCast(Intf); end; function TJSHTMLBaseElement._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSHTMLBaseElement._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; procedure TJSHTMLBaseElement._Sethref(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('href',aValue); end; procedure TJSHTMLBaseElement._Settarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('target',aValue); end; constructor TJSHTMLBaseElement.Create; begin JOBCreate([]); end; class function TJSHTMLBaseElement.JSClassName: UnicodeString; begin Result:='HTMLBaseElement'; end; class function TJSHTMLBaseElement.Cast(const Intf: IJSObject): IJSHTMLBaseElement; begin Result:=TJSHTMLBaseElement.JOBCast(Intf); end; function TJSHTMLBodyElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSHTMLBodyElement._Getlink: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('link'); end; function TJSHTMLBodyElement._GetvLink: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vLink'); end; function TJSHTMLBodyElement._GetaLink: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('aLink'); end; function TJSHTMLBodyElement._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; function TJSHTMLBodyElement._Getbackground: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('background'); end; function TJSHTMLBodyElement._Getonafterprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onafterprint'))); end; function TJSHTMLBodyElement._Getonbeforeprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeprint'))); end; function TJSHTMLBodyElement._Getonbeforeunload: TOnBeforeUnloadEventHandler; begin Result:=(TOnBeforeUnloadEventHandlerNonNull(ReadJSPropertyMethod('onbeforeunload'))); end; function TJSHTMLBodyElement._Getonhashchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onhashchange'))); end; function TJSHTMLBodyElement._Getonlanguagechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlanguagechange'))); end; function TJSHTMLBodyElement._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSHTMLBodyElement._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSHTMLBodyElement._Getonoffline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoffline'))); end; function TJSHTMLBodyElement._Getononline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ononline'))); end; function TJSHTMLBodyElement._Getonpagehide: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpagehide'))); end; function TJSHTMLBodyElement._Getonpageshow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpageshow'))); end; function TJSHTMLBodyElement._Getonpopstate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpopstate'))); end; function TJSHTMLBodyElement._Getonrejectionhandled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrejectionhandled'))); end; function TJSHTMLBodyElement._Getonstorage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstorage'))); end; function TJSHTMLBodyElement._Getonunhandledrejection: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunhandledrejection'))); end; function TJSHTMLBodyElement._Getonunload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunload'))); end; function TJSHTMLBodyElement._Getongamepadconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepadconnected'))); end; function TJSHTMLBodyElement._Getongamepaddisconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepaddisconnected'))); end; procedure TJSHTMLBodyElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; procedure TJSHTMLBodyElement._Setlink(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('link',aValue); end; procedure TJSHTMLBodyElement._SetvLink(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vLink',aValue); end; procedure TJSHTMLBodyElement._SetaLink(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('aLink',aValue); end; procedure TJSHTMLBodyElement._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; procedure TJSHTMLBodyElement._Setbackground(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('background',aValue); end; procedure TJSHTMLBodyElement._Setonafterprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onafterprint',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonbeforeprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeprint',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonbeforeunload(const aValue : TOnBeforeUnloadEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnBeforeUnloadEventHandlerNonNull); try InvokeJSNoResult('onbeforeunload',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonhashchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onhashchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonlanguagechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlanguagechange',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonoffline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoffline',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setononline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ononline',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonpagehide(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpagehide',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonpageshow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpageshow',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonpopstate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpopstate',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonrejectionhandled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrejectionhandled',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonstorage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstorage',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonunhandledrejection(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunhandledrejection',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setonunload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunload',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setongamepadconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepadconnected',[m],jiSet); finally m.free end; end; procedure TJSHTMLBodyElement._Setongamepaddisconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepaddisconnected',[m],jiSet); finally m.free end; end; constructor TJSHTMLBodyElement.Create; begin JOBCreate([]); end; class function TJSHTMLBodyElement.JSClassName: UnicodeString; begin Result:='HTMLBodyElement'; end; class function TJSHTMLBodyElement.Cast(const Intf: IJSObject): IJSHTMLBodyElement; begin Result:=TJSHTMLBodyElement.JOBCast(Intf); end; function TJSHTMLBRElement._Getclear: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('clear'); end; procedure TJSHTMLBRElement._Setclear(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('clear',aValue); end; constructor TJSHTMLBRElement.Create; begin JOBCreate([]); end; class function TJSHTMLBRElement.JSClassName: UnicodeString; begin Result:='HTMLBRElement'; end; class function TJSHTMLBRElement.Cast(const Intf: IJSObject): IJSHTMLBRElement; begin Result:=TJSHTMLBRElement.JOBCast(Intf); end; function TJSHTMLButtonElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLButtonElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLButtonElement._GetformAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formAction'); end; function TJSHTMLButtonElement._GetformEnctype: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formEnctype'); end; function TJSHTMLButtonElement._GetformMethod: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formMethod'); end; function TJSHTMLButtonElement._GetformNoValidate: Boolean; begin Result:=ReadJSPropertyBoolean('formNoValidate'); end; function TJSHTMLButtonElement._GetformTarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formTarget'); end; function TJSHTMLButtonElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLButtonElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLButtonElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLButtonElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLButtonElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLButtonElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLButtonElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; function TJSHTMLButtonElement._GetpopoverTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('popoverTargetElement',TJSElement) as IJSElement; end; function TJSHTMLButtonElement._GetpopoverTargetAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popoverTargetAction'); end; function TJSHTMLButtonElement._GetinvokeTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('invokeTargetElement',TJSElement) as IJSElement; end; function TJSHTMLButtonElement._GetinvokeAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('invokeAction'); end; procedure TJSHTMLButtonElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLButtonElement._SetformAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formAction',aValue); end; procedure TJSHTMLButtonElement._SetformEnctype(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formEnctype',aValue); end; procedure TJSHTMLButtonElement._SetformMethod(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formMethod',aValue); end; procedure TJSHTMLButtonElement._SetformNoValidate(const aValue : Boolean); begin WriteJSPropertyBoolean('formNoValidate',aValue); end; procedure TJSHTMLButtonElement._SetformTarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formTarget',aValue); end; procedure TJSHTMLButtonElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLButtonElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLButtonElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; procedure TJSHTMLButtonElement._SetpopoverTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('popoverTargetElement',aValue); end; procedure TJSHTMLButtonElement._SetpopoverTargetAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popoverTargetAction',aValue); end; procedure TJSHTMLButtonElement._SetinvokeTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('invokeTargetElement',aValue); end; procedure TJSHTMLButtonElement._SetinvokeAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('invokeAction',aValue); end; constructor TJSHTMLButtonElement.Create; begin JOBCreate([]); end; function TJSHTMLButtonElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLButtonElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLButtonElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; class function TJSHTMLButtonElement.JSClassName: UnicodeString; begin Result:='HTMLButtonElement'; end; class function TJSHTMLButtonElement.Cast(const Intf: IJSObject): IJSHTMLButtonElement; begin Result:=TJSHTMLButtonElement.JOBCast(Intf); end; function TJSHTMLCanvasElement._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSHTMLCanvasElement._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSHTMLCanvasElement._GetmozOpaque: Boolean; begin Result:=ReadJSPropertyBoolean('mozOpaque'); end; procedure TJSHTMLCanvasElement._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSHTMLCanvasElement._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSHTMLCanvasElement._SetmozOpaque(const aValue : Boolean); begin WriteJSPropertyBoolean('mozOpaque',aValue); end; constructor TJSHTMLCanvasElement.Create; begin JOBCreate([]); end; function TJSHTMLCanvasElement.getContext(const aContextId: UnicodeString; const aContextOptions: Variant): IJSnsISupports; begin Result:=InvokeJSObjectResult('getContext',[aContextId,aContextOptions],TJSnsISupports) as IJSnsISupports; end; function TJSHTMLCanvasElement.getContext(const aContextId: UnicodeString): IJSnsISupports; begin Result:=InvokeJSObjectResult('getContext',[aContextId],TJSnsISupports) as IJSnsISupports; end; function TJSHTMLCanvasElement.toDataURL(const aType_: UnicodeString; const aEncoderOptions: Variant): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toDataURL',[aType_,aEncoderOptions]); end; function TJSHTMLCanvasElement.toDataURL: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toDataURL',[]); end; function TJSHTMLCanvasElement.toDataURL(const aType_: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toDataURL',[aType_]); end; procedure TJSHTMLCanvasElement.toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString; const aEncoderOptions: Variant); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallBlobCallback); try InvokeJSNoResult('toBlob',[m,aType_,aEncoderOptions]); finally m.free; end; end; procedure TJSHTMLCanvasElement.toBlob(const aCallback: TBlobCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallBlobCallback); try InvokeJSNoResult('toBlob',[m]); finally m.free; end; end; procedure TJSHTMLCanvasElement.toBlob(const aCallback: TBlobCallback; const aType_: UnicodeString); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallBlobCallback); try InvokeJSNoResult('toBlob',[m,aType_]); finally m.free; end; end; function TJSHTMLCanvasElement.captureStream(aFrameRate: Double): IJSCanvasCaptureMediaStream; begin Result:=InvokeJSObjectResult('captureStream',[aFrameRate],TJSCanvasCaptureMediaStream) as IJSCanvasCaptureMediaStream; end; function TJSHTMLCanvasElement.captureStream: IJSCanvasCaptureMediaStream; begin Result:=InvokeJSObjectResult('captureStream',[],TJSCanvasCaptureMediaStream) as IJSCanvasCaptureMediaStream; end; function TJSHTMLCanvasElement.transferControlToOffscreen: IJSOffscreenCanvas; begin Result:=InvokeJSObjectResult('transferControlToOffscreen',[],TJSOffscreenCanvas) as IJSOffscreenCanvas; end; class function TJSHTMLCanvasElement.JSClassName: UnicodeString; begin Result:='HTMLCanvasElement'; end; class function TJSHTMLCanvasElement.Cast(const Intf: IJSObject): IJSHTMLCanvasElement; begin Result:=TJSHTMLCanvasElement.JOBCast(Intf); end; function TJSHTMLCollection._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSHTMLCollection.item(aIndex: Cardinal): IJSElement; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSElement) as IJSElement; end; function TJSHTMLCollection.namedItem(const aName: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('namedItem',[aName],TJSElement) as IJSElement; end; class function TJSHTMLCollection.JSClassName: UnicodeString; begin Result:='HTMLCollection'; end; class function TJSHTMLCollection.Cast(const Intf: IJSObject): IJSHTMLCollection; begin Result:=TJSHTMLCollection.JOBCast(Intf); end; function TJSHTMLDataElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; procedure TJSHTMLDataElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSHTMLDataElement.Create; begin JOBCreate([]); end; class function TJSHTMLDataElement.JSClassName: UnicodeString; begin Result:='HTMLDataElement'; end; class function TJSHTMLDataElement.Cast(const Intf: IJSObject): IJSHTMLDataElement; begin Result:=TJSHTMLDataElement.JOBCast(Intf); end; function TJSHTMLDataListElement._Getoptions: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('options',TJSHTMLCollection) as IJSHTMLCollection; end; constructor TJSHTMLDataListElement.Create; begin JOBCreate([]); end; class function TJSHTMLDataListElement.JSClassName: UnicodeString; begin Result:='HTMLDataListElement'; end; class function TJSHTMLDataListElement.Cast(const Intf: IJSObject): IJSHTMLDataListElement; begin Result:=TJSHTMLDataListElement.JOBCast(Intf); end; function TJSHTMLDetailsElement._Getopen: Boolean; begin Result:=ReadJSPropertyBoolean('open'); end; procedure TJSHTMLDetailsElement._Setopen(const aValue : Boolean); begin WriteJSPropertyBoolean('open',aValue); end; constructor TJSHTMLDetailsElement.Create; begin JOBCreate([]); end; class function TJSHTMLDetailsElement.JSClassName: UnicodeString; begin Result:='HTMLDetailsElement'; end; class function TJSHTMLDetailsElement.Cast(const Intf: IJSObject): IJSHTMLDetailsElement; begin Result:=TJSHTMLDetailsElement.JOBCast(Intf); end; function TJSHTMLDialogElement._Getopen: Boolean; begin Result:=ReadJSPropertyBoolean('open'); end; function TJSHTMLDialogElement._GetreturnValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('returnValue'); end; procedure TJSHTMLDialogElement._Setopen(const aValue : Boolean); begin WriteJSPropertyBoolean('open',aValue); end; procedure TJSHTMLDialogElement._SetreturnValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('returnValue',aValue); end; constructor TJSHTMLDialogElement.Create; begin JOBCreate([]); end; procedure TJSHTMLDialogElement.show; begin InvokeJSNoResult('show',[]); end; procedure TJSHTMLDialogElement.showModal; begin InvokeJSNoResult('showModal',[]); end; procedure TJSHTMLDialogElement.close(const aReturnValue: UnicodeString); begin InvokeJSNoResult('close',[aReturnValue]); end; procedure TJSHTMLDialogElement.close; begin InvokeJSNoResult('close',[]); end; class function TJSHTMLDialogElement.JSClassName: UnicodeString; begin Result:='HTMLDialogElement'; end; class function TJSHTMLDialogElement.Cast(const Intf: IJSObject): IJSHTMLDialogElement; begin Result:=TJSHTMLDialogElement.JOBCast(Intf); end; function TJSHTMLDirectoryElement._Getcompact: Boolean; begin Result:=ReadJSPropertyBoolean('compact'); end; procedure TJSHTMLDirectoryElement._Setcompact(const aValue : Boolean); begin WriteJSPropertyBoolean('compact',aValue); end; constructor TJSHTMLDirectoryElement.Create; begin JOBCreate([]); end; class function TJSHTMLDirectoryElement.JSClassName: UnicodeString; begin Result:='HTMLDirectoryElement'; end; class function TJSHTMLDirectoryElement.Cast(const Intf: IJSObject): IJSHTMLDirectoryElement; begin Result:=TJSHTMLDirectoryElement.JOBCast(Intf); end; function TJSHTMLDivElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; procedure TJSHTMLDivElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; constructor TJSHTMLDivElement.Create; begin JOBCreate([]); end; class function TJSHTMLDivElement.JSClassName: UnicodeString; begin Result:='HTMLDivElement'; end; class function TJSHTMLDivElement.Cast(const Intf: IJSObject): IJSHTMLDivElement; begin Result:=TJSHTMLDivElement.JOBCast(Intf); end; function TJSHTMLDListElement._Getcompact: Boolean; begin Result:=ReadJSPropertyBoolean('compact'); end; procedure TJSHTMLDListElement._Setcompact(const aValue : Boolean); begin WriteJSPropertyBoolean('compact',aValue); end; constructor TJSHTMLDListElement.Create; begin JOBCreate([]); end; class function TJSHTMLDListElement.JSClassName: UnicodeString; begin Result:='HTMLDListElement'; end; class function TJSHTMLDListElement.Cast(const Intf: IJSObject): IJSHTMLDListElement; begin Result:=TJSHTMLDListElement.JOBCast(Intf); end; function TJSHTMLDocument.GetDefault(const aName: UnicodeString): IJSObject; begin Result:=InvokeJSObjectResult('',[aName],TJSObject) as IJSObject; end; class function TJSHTMLDocument.JSClassName: UnicodeString; begin Result:='HTMLDocument'; end; class function TJSHTMLDocument.Cast(const Intf: IJSObject): IJSHTMLDocument; begin Result:=TJSHTMLDocument.JOBCast(Intf); end; function TJSHTMLElement._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSHTMLElement._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSHTMLElement._Gettranslate: Boolean; begin Result:=ReadJSPropertyBoolean('translate'); end; function TJSHTMLElement._Getdir: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dir'); end; function TJSHTMLElement._GetinnerText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('innerText'); end; function TJSHTMLElement._GetouterText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('outerText'); end; function TJSHTMLElement._Gethidden: Boolean; begin Result:=ReadJSPropertyBoolean('hidden'); end; function TJSHTMLElement._Getinert: Boolean; begin Result:=ReadJSPropertyBoolean('inert'); end; function TJSHTMLElement._GetaccessKey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('accessKey'); end; function TJSHTMLElement._GetaccessKeyLabel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('accessKeyLabel'); end; function TJSHTMLElement._Getdraggable: Boolean; begin Result:=ReadJSPropertyBoolean('draggable'); end; function TJSHTMLElement._GetcontentEditable: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentEditable'); end; function TJSHTMLElement._GetisContentEditable: Boolean; begin Result:=ReadJSPropertyBoolean('isContentEditable'); end; function TJSHTMLElement._Getpopover: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popover'); end; function TJSHTMLElement._Getspellcheck: Boolean; begin Result:=ReadJSPropertyBoolean('spellcheck'); end; function TJSHTMLElement._GetinputMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inputMode'); end; function TJSHTMLElement._GetenterKeyHint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('enterKeyHint'); end; function TJSHTMLElement._Getautocapitalize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocapitalize'); end; function TJSHTMLElement._Getnonce: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('nonce'); end; function TJSHTMLElement._GetoffsetParent: IJSElement; begin Result:=ReadJSPropertyObject('offsetParent',TJSElement) as IJSElement; end; function TJSHTMLElement._GetoffsetTop: LongInt; begin Result:=ReadJSPropertyLongInt('offsetTop'); end; function TJSHTMLElement._GetoffsetLeft: LongInt; begin Result:=ReadJSPropertyLongInt('offsetLeft'); end; function TJSHTMLElement._GetoffsetWidth: LongInt; begin Result:=ReadJSPropertyLongInt('offsetWidth'); end; function TJSHTMLElement._GetoffsetHeight: LongInt; begin Result:=ReadJSPropertyLongInt('offsetHeight'); end; function TJSHTMLElement._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSHTMLElement._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSHTMLElement._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSHTMLElement._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSHTMLElement._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSHTMLElement._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSHTMLElement._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSHTMLElement._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSHTMLElement._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSHTMLElement._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSHTMLElement._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSHTMLElement._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSHTMLElement._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSHTMLElement._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSHTMLElement._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSHTMLElement._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSHTMLElement._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSHTMLElement._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSHTMLElement._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSHTMLElement._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSHTMLElement._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSHTMLElement._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSHTMLElement._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSHTMLElement._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSHTMLElement._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSHTMLElement._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSHTMLElement._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSHTMLElement._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSHTMLElement._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSHTMLElement._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSHTMLElement._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSHTMLElement._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSHTMLElement._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSHTMLElement._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSHTMLElement._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSHTMLElement._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSHTMLElement._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSHTMLElement._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSHTMLElement._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSHTMLElement._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSHTMLElement._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSHTMLElement._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSHTMLElement._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSHTMLElement._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSHTMLElement._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSHTMLElement._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSHTMLElement._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSHTMLElement._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSHTMLElement._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSHTMLElement._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSHTMLElement._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSHTMLElement._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSHTMLElement._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSHTMLElement._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSHTMLElement._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSHTMLElement._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSHTMLElement._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSHTMLElement._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSHTMLElement._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSHTMLElement._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSHTMLElement._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSHTMLElement._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSHTMLElement._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSHTMLElement._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSHTMLElement._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSHTMLElement._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSHTMLElement._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSHTMLElement._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSHTMLElement._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSHTMLElement._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSHTMLElement._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSHTMLElement._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSHTMLElement._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSHTMLElement._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSHTMLElement._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSHTMLElement._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSHTMLElement._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSHTMLElement._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSHTMLElement._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSHTMLElement._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSHTMLElement._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSHTMLElement._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSHTMLElement._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSHTMLElement._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSHTMLElement._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSHTMLElement._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSHTMLElement._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSHTMLElement._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSHTMLElement._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSHTMLElement._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSHTMLElement._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSHTMLElement._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSHTMLElement._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSHTMLElement._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSHTMLElement._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSHTMLElement._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; function TJSHTMLElement._Getdataset: IJSDOMStringMap; begin Result:=ReadJSPropertyObject('dataset',TJSDOMStringMap) as IJSDOMStringMap; end; function TJSHTMLElement._Getautofocus: Boolean; begin Result:=ReadJSPropertyBoolean('autofocus'); end; function TJSHTMLElement._GettabIndex: LongInt; begin Result:=ReadJSPropertyLongInt('tabIndex'); end; function TJSHTMLElement._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSHTMLElement._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSHTMLElement._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSHTMLElement._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSHTMLElement._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; function TJSHTMLElement._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSHTMLElement._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; procedure TJSHTMLElement._Setlang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lang',aValue); end; procedure TJSHTMLElement._Settranslate(const aValue : Boolean); begin WriteJSPropertyBoolean('translate',aValue); end; procedure TJSHTMLElement._Setdir(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dir',aValue); end; procedure TJSHTMLElement._SetinnerText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('innerText',aValue); end; procedure TJSHTMLElement._SetouterText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('outerText',aValue); end; procedure TJSHTMLElement._Sethidden(const aValue : Boolean); begin WriteJSPropertyBoolean('hidden',aValue); end; procedure TJSHTMLElement._Setinert(const aValue : Boolean); begin WriteJSPropertyBoolean('inert',aValue); end; procedure TJSHTMLElement._SetaccessKey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('accessKey',aValue); end; procedure TJSHTMLElement._Setdraggable(const aValue : Boolean); begin WriteJSPropertyBoolean('draggable',aValue); end; procedure TJSHTMLElement._SetcontentEditable(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contentEditable',aValue); end; procedure TJSHTMLElement._Setpopover(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popover',aValue); end; procedure TJSHTMLElement._Setspellcheck(const aValue : Boolean); begin WriteJSPropertyBoolean('spellcheck',aValue); end; procedure TJSHTMLElement._SetinputMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('inputMode',aValue); end; procedure TJSHTMLElement._SetenterKeyHint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('enterKeyHint',aValue); end; procedure TJSHTMLElement._Setautocapitalize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocapitalize',aValue); end; procedure TJSHTMLElement._Setnonce(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('nonce',aValue); end; procedure TJSHTMLElement._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setautofocus(const aValue : Boolean); begin WriteJSPropertyBoolean('autofocus',aValue); end; procedure TJSHTMLElement._SettabIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('tabIndex',aValue); end; procedure TJSHTMLElement._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; procedure TJSHTMLElement._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSHTMLElement.Create; begin JOBCreate([]); end; procedure TJSHTMLElement.click; begin InvokeJSNoResult('click',[]); end; function TJSHTMLElement.attachInternals: IJSElementInternals; begin Result:=InvokeJSObjectResult('attachInternals',[],TJSElementInternals) as IJSElementInternals; end; procedure TJSHTMLElement.showPopover; begin InvokeJSNoResult('showPopover',[]); end; procedure TJSHTMLElement.hidePopover; begin InvokeJSNoResult('hidePopover',[]); end; function TJSHTMLElement.togglePopover(aForce: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('togglePopover',[aForce]); end; function TJSHTMLElement.togglePopover: Boolean; begin Result:=InvokeJSBooleanResult('togglePopover',[]); end; procedure TJSHTMLElement.focus(const aOptions: IJSFocusOptions); begin InvokeJSNoResult('focus',[aOptions]); end; procedure TJSHTMLElement.focus; begin InvokeJSNoResult('focus',[]); end; procedure TJSHTMLElement.blur; begin InvokeJSNoResult('blur',[]); end; class function TJSHTMLElement.JSClassName: UnicodeString; begin Result:='HTMLElement'; end; class function TJSHTMLElement.Cast(const Intf: IJSObject): IJSHTMLElement; begin Result:=TJSHTMLElement.JOBCast(Intf); end; function TJSTouchEventHandlers._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSTouchEventHandlers._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSTouchEventHandlers._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSTouchEventHandlers._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; procedure TJSTouchEventHandlers._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSTouchEventHandlers._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSTouchEventHandlers._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSTouchEventHandlers._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; class function TJSTouchEventHandlers.JSClassName: UnicodeString; begin Result:='TouchEventHandlers'; end; class function TJSTouchEventHandlers.Cast(const Intf: IJSObject): IJSTouchEventHandlers; begin Result:=TJSTouchEventHandlers.JOBCast(Intf); end; class function TJSHTMLUnknownElement.JSClassName: UnicodeString; begin Result:='HTMLUnknownElement'; end; class function TJSHTMLUnknownElement.Cast(const Intf: IJSObject): IJSHTMLUnknownElement; begin Result:=TJSHTMLUnknownElement.JOBCast(Intf); end; function TJSHTMLEmbedElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLEmbedElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLEmbedElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; function TJSHTMLEmbedElement._Getheight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('height'); end; function TJSHTMLEmbedElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLEmbedElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSHTMLEmbedElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLEmbedElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLEmbedElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; procedure TJSHTMLEmbedElement._Setheight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('height',aValue); end; procedure TJSHTMLEmbedElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLEmbedElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSHTMLEmbedElement.Create; begin JOBCreate([]); end; function TJSHTMLEmbedElement.getSVGDocument: IJSDocument; begin Result:=InvokeJSObjectResult('getSVGDocument',[],TJSDocument) as IJSDocument; end; class function TJSHTMLEmbedElement.JSClassName: UnicodeString; begin Result:='HTMLEmbedElement'; end; class function TJSHTMLEmbedElement.Cast(const Intf: IJSObject): IJSHTMLEmbedElement; begin Result:=TJSHTMLEmbedElement.JOBCast(Intf); end; function TJSHTMLFieldSetElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLFieldSetElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLFieldSetElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLFieldSetElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLFieldSetElement._Getelements: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('elements',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLFieldSetElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLFieldSetElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLFieldSetElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; procedure TJSHTMLFieldSetElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLFieldSetElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSHTMLFieldSetElement.Create; begin JOBCreate([]); end; function TJSHTMLFieldSetElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLFieldSetElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLFieldSetElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; class function TJSHTMLFieldSetElement.JSClassName: UnicodeString; begin Result:='HTMLFieldSetElement'; end; class function TJSHTMLFieldSetElement.Cast(const Intf: IJSObject): IJSHTMLFieldSetElement; begin Result:=TJSHTMLFieldSetElement.JOBCast(Intf); end; function TJSHTMLFontElement._Getcolor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('color'); end; function TJSHTMLFontElement._Getface: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('face'); end; function TJSHTMLFontElement._Getsize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('size'); end; procedure TJSHTMLFontElement._Setcolor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('color',aValue); end; procedure TJSHTMLFontElement._Setface(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('face',aValue); end; procedure TJSHTMLFontElement._Setsize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('size',aValue); end; constructor TJSHTMLFontElement.Create; begin JOBCreate([]); end; class function TJSHTMLFontElement.JSClassName: UnicodeString; begin Result:='HTMLFontElement'; end; class function TJSHTMLFontElement.Cast(const Intf: IJSObject): IJSHTMLFontElement; begin Result:=TJSHTMLFontElement.JOBCast(Intf); end; function TJSHTMLFormControlsCollection.namedItem(const aName: UnicodeString): THTMLFormControlsCollection_namedItem_Type; begin Result:=InvokeJSVariantResult('namedItem',[aName]); end; class function TJSHTMLFormControlsCollection.JSClassName: UnicodeString; begin Result:='HTMLFormControlsCollection'; end; class function TJSHTMLFormControlsCollection.Cast(const Intf: IJSObject): IJSHTMLFormControlsCollection; begin Result:=TJSHTMLFormControlsCollection.JOBCast(Intf); end; function TJSHTMLFormElement._GetacceptCharset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('acceptCharset'); end; function TJSHTMLFormElement._Getaction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('action'); end; function TJSHTMLFormElement._Getautocomplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocomplete'); end; function TJSHTMLFormElement._Getenctype: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('enctype'); end; function TJSHTMLFormElement._Getencoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encoding'); end; function TJSHTMLFormElement._Getmethod: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('method'); end; function TJSHTMLFormElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLFormElement._GetnoValidate: Boolean; begin Result:=ReadJSPropertyBoolean('noValidate'); end; function TJSHTMLFormElement._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; function TJSHTMLFormElement._Getrel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rel'); end; function TJSHTMLFormElement._GetrelList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('relList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLFormElement._Getelements: IJSHTMLFormControlsCollection; begin Result:=ReadJSPropertyObject('elements',TJSHTMLFormControlsCollection) as IJSHTMLFormControlsCollection; end; function TJSHTMLFormElement._Getlength_: LongInt; begin Result:=ReadJSPropertyLongInt('length'); end; procedure TJSHTMLFormElement._SetacceptCharset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('acceptCharset',aValue); end; procedure TJSHTMLFormElement._Setaction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('action',aValue); end; procedure TJSHTMLFormElement._Setautocomplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocomplete',aValue); end; procedure TJSHTMLFormElement._Setenctype(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('enctype',aValue); end; procedure TJSHTMLFormElement._Setencoding(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('encoding',aValue); end; procedure TJSHTMLFormElement._Setmethod(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('method',aValue); end; procedure TJSHTMLFormElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLFormElement._SetnoValidate(const aValue : Boolean); begin WriteJSPropertyBoolean('noValidate',aValue); end; procedure TJSHTMLFormElement._Settarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('target',aValue); end; procedure TJSHTMLFormElement._Setrel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rel',aValue); end; constructor TJSHTMLFormElement.Create; begin JOBCreate([]); end; function TJSHTMLFormElement.GetDefault(aIndex: Cardinal): IJSElement; begin Result:=InvokeJSObjectResult('',[aIndex],TJSElement) as IJSElement; end; function TJSHTMLFormElement.GetDefault(const aName: UnicodeString): IJSnsISupports; begin Result:=InvokeJSObjectResult('',[aName],TJSnsISupports) as IJSnsISupports; end; procedure TJSHTMLFormElement.submit; begin InvokeJSNoResult('submit',[]); end; procedure TJSHTMLFormElement.requestSubmit(aSubmitter: IJSHTMLElement); begin InvokeJSNoResult('requestSubmit',[aSubmitter]); end; procedure TJSHTMLFormElement.requestSubmit; begin InvokeJSNoResult('requestSubmit',[]); end; procedure TJSHTMLFormElement.reset; begin InvokeJSNoResult('reset',[]); end; function TJSHTMLFormElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLFormElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; class function TJSHTMLFormElement.JSClassName: UnicodeString; begin Result:='HTMLFormElement'; end; class function TJSHTMLFormElement.Cast(const Intf: IJSObject): IJSHTMLFormElement; begin Result:=TJSHTMLFormElement.JOBCast(Intf); end; function TJSHTMLFrameElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLFrameElement._Getscrolling: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scrolling'); end; function TJSHTMLFrameElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLFrameElement._GetframeBorder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('frameBorder'); end; function TJSHTMLFrameElement._GetlongDesc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('longDesc'); end; function TJSHTMLFrameElement._GetnoResize: Boolean; begin Result:=ReadJSPropertyBoolean('noResize'); end; function TJSHTMLFrameElement._GetcontentDocument: IJSDocument; begin Result:=ReadJSPropertyObject('contentDocument',TJSDocument) as IJSDocument; end; function TJSHTMLFrameElement._GetcontentWindow: IJSWindowProxy; begin Result:=ReadJSPropertyObject('contentWindow',TJSWindowProxy) as IJSWindowProxy; end; function TJSHTMLFrameElement._GetmarginHeight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('marginHeight'); end; function TJSHTMLFrameElement._GetmarginWidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('marginWidth'); end; procedure TJSHTMLFrameElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLFrameElement._Setscrolling(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scrolling',aValue); end; procedure TJSHTMLFrameElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLFrameElement._SetframeBorder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('frameBorder',aValue); end; procedure TJSHTMLFrameElement._SetlongDesc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('longDesc',aValue); end; procedure TJSHTMLFrameElement._SetnoResize(const aValue : Boolean); begin WriteJSPropertyBoolean('noResize',aValue); end; procedure TJSHTMLFrameElement._SetmarginHeight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('marginHeight',aValue); end; procedure TJSHTMLFrameElement._SetmarginWidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('marginWidth',aValue); end; constructor TJSHTMLFrameElement.Create; begin JOBCreate([]); end; class function TJSHTMLFrameElement.JSClassName: UnicodeString; begin Result:='HTMLFrameElement'; end; class function TJSHTMLFrameElement.Cast(const Intf: IJSObject): IJSHTMLFrameElement; begin Result:=TJSHTMLFrameElement.JOBCast(Intf); end; function TJSHTMLFrameSetElement._Getcols: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cols'); end; function TJSHTMLFrameSetElement._Getrows: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rows'); end; function TJSHTMLFrameSetElement._Getonafterprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onafterprint'))); end; function TJSHTMLFrameSetElement._Getonbeforeprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeprint'))); end; function TJSHTMLFrameSetElement._Getonbeforeunload: TOnBeforeUnloadEventHandler; begin Result:=(TOnBeforeUnloadEventHandlerNonNull(ReadJSPropertyMethod('onbeforeunload'))); end; function TJSHTMLFrameSetElement._Getonhashchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onhashchange'))); end; function TJSHTMLFrameSetElement._Getonlanguagechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlanguagechange'))); end; function TJSHTMLFrameSetElement._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSHTMLFrameSetElement._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSHTMLFrameSetElement._Getonoffline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoffline'))); end; function TJSHTMLFrameSetElement._Getononline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ononline'))); end; function TJSHTMLFrameSetElement._Getonpagehide: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpagehide'))); end; function TJSHTMLFrameSetElement._Getonpageshow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpageshow'))); end; function TJSHTMLFrameSetElement._Getonpopstate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpopstate'))); end; function TJSHTMLFrameSetElement._Getonrejectionhandled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrejectionhandled'))); end; function TJSHTMLFrameSetElement._Getonstorage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstorage'))); end; function TJSHTMLFrameSetElement._Getonunhandledrejection: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunhandledrejection'))); end; function TJSHTMLFrameSetElement._Getonunload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunload'))); end; function TJSHTMLFrameSetElement._Getongamepadconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepadconnected'))); end; function TJSHTMLFrameSetElement._Getongamepaddisconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepaddisconnected'))); end; procedure TJSHTMLFrameSetElement._Setcols(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cols',aValue); end; procedure TJSHTMLFrameSetElement._Setrows(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rows',aValue); end; procedure TJSHTMLFrameSetElement._Setonafterprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onafterprint',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonbeforeprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeprint',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonbeforeunload(const aValue : TOnBeforeUnloadEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnBeforeUnloadEventHandlerNonNull); try InvokeJSNoResult('onbeforeunload',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonhashchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onhashchange',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonlanguagechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlanguagechange',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonoffline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoffline',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setononline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ononline',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonpagehide(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpagehide',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonpageshow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpageshow',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonpopstate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpopstate',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonrejectionhandled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrejectionhandled',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonstorage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstorage',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonunhandledrejection(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunhandledrejection',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setonunload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunload',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setongamepadconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepadconnected',[m],jiSet); finally m.free end; end; procedure TJSHTMLFrameSetElement._Setongamepaddisconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepaddisconnected',[m],jiSet); finally m.free end; end; constructor TJSHTMLFrameSetElement.Create; begin JOBCreate([]); end; class function TJSHTMLFrameSetElement.JSClassName: UnicodeString; begin Result:='HTMLFrameSetElement'; end; class function TJSHTMLFrameSetElement.Cast(const Intf: IJSObject): IJSHTMLFrameSetElement; begin Result:=TJSHTMLFrameSetElement.JOBCast(Intf); end; constructor TJSHTMLHeadElement.Create; begin JOBCreate([]); end; class function TJSHTMLHeadElement.JSClassName: UnicodeString; begin Result:='HTMLHeadElement'; end; class function TJSHTMLHeadElement.Cast(const Intf: IJSObject): IJSHTMLHeadElement; begin Result:=TJSHTMLHeadElement.JOBCast(Intf); end; function TJSHTMLHeadingElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; procedure TJSHTMLHeadingElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; constructor TJSHTMLHeadingElement.Create; begin JOBCreate([]); end; class function TJSHTMLHeadingElement.JSClassName: UnicodeString; begin Result:='HTMLHeadingElement'; end; class function TJSHTMLHeadingElement.Cast(const Intf: IJSObject): IJSHTMLHeadingElement; begin Result:=TJSHTMLHeadingElement.JOBCast(Intf); end; function TJSHTMLHRElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLHRElement._Getcolor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('color'); end; function TJSHTMLHRElement._GetnoShade: Boolean; begin Result:=ReadJSPropertyBoolean('noShade'); end; function TJSHTMLHRElement._Getsize: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('size'); end; function TJSHTMLHRElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; procedure TJSHTMLHRElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLHRElement._Setcolor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('color',aValue); end; procedure TJSHTMLHRElement._SetnoShade(const aValue : Boolean); begin WriteJSPropertyBoolean('noShade',aValue); end; procedure TJSHTMLHRElement._Setsize(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('size',aValue); end; procedure TJSHTMLHRElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; constructor TJSHTMLHRElement.Create; begin JOBCreate([]); end; class function TJSHTMLHRElement.JSClassName: UnicodeString; begin Result:='HTMLHRElement'; end; class function TJSHTMLHRElement.Cast(const Intf: IJSObject): IJSHTMLHRElement; begin Result:=TJSHTMLHRElement.JOBCast(Intf); end; function TJSHTMLHtmlElement._Getversion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('version'); end; procedure TJSHTMLHtmlElement._Setversion(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('version',aValue); end; constructor TJSHTMLHtmlElement.Create; begin JOBCreate([]); end; class function TJSHTMLHtmlElement.JSClassName: UnicodeString; begin Result:='HTMLHtmlElement'; end; class function TJSHTMLHtmlElement.Cast(const Intf: IJSObject): IJSHTMLHtmlElement; begin Result:=TJSHTMLHtmlElement.JOBCast(Intf); end; function TJSHTMLHyperlinkElementUtils._Gethref: UTF8String; begin Result:=ReadJSPropertyUTF8String('href'); end; function TJSHTMLHyperlinkElementUtils._Getorigin: UTF8String; begin Result:=ReadJSPropertyUTF8String('origin'); end; function TJSHTMLHyperlinkElementUtils._Getprotocol: UTF8String; begin Result:=ReadJSPropertyUTF8String('protocol'); end; function TJSHTMLHyperlinkElementUtils._Getusername: UTF8String; begin Result:=ReadJSPropertyUTF8String('username'); end; function TJSHTMLHyperlinkElementUtils._Getpassword: UTF8String; begin Result:=ReadJSPropertyUTF8String('password'); end; function TJSHTMLHyperlinkElementUtils._Gethost: UTF8String; begin Result:=ReadJSPropertyUTF8String('host'); end; function TJSHTMLHyperlinkElementUtils._Gethostname: UTF8String; begin Result:=ReadJSPropertyUTF8String('hostname'); end; function TJSHTMLHyperlinkElementUtils._Getport: UTF8String; begin Result:=ReadJSPropertyUTF8String('port'); end; function TJSHTMLHyperlinkElementUtils._Getpathname: UTF8String; begin Result:=ReadJSPropertyUTF8String('pathname'); end; function TJSHTMLHyperlinkElementUtils._Getsearch: UTF8String; begin Result:=ReadJSPropertyUTF8String('search'); end; function TJSHTMLHyperlinkElementUtils._Gethash: UTF8String; begin Result:=ReadJSPropertyUTF8String('hash'); end; procedure TJSHTMLHyperlinkElementUtils._Setprotocol(const aValue : UTF8String); begin WriteJSPropertyUTF8String('protocol',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Setusername(const aValue : UTF8String); begin WriteJSPropertyUTF8String('username',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Setpassword(const aValue : UTF8String); begin WriteJSPropertyUTF8String('password',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Sethost(const aValue : UTF8String); begin WriteJSPropertyUTF8String('host',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Sethostname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hostname',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Setport(const aValue : UTF8String); begin WriteJSPropertyUTF8String('port',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Setpathname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('pathname',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Setsearch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('search',aValue); end; procedure TJSHTMLHyperlinkElementUtils._Sethash(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hash',aValue); end; class function TJSHTMLHyperlinkElementUtils.JSClassName: UnicodeString; begin Result:='HTMLHyperlinkElementUtils'; end; class function TJSHTMLHyperlinkElementUtils.Cast(const Intf: IJSObject): IJSHTMLHyperlinkElementUtils; begin Result:=TJSHTMLHyperlinkElementUtils.JOBCast(Intf); end; function TJSHTMLIFrameElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLIFrameElement._Getsrcdoc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('srcdoc'); end; function TJSHTMLIFrameElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLIFrameElement._Getsandbox: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('sandbox',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLIFrameElement._GetallowFullscreen: Boolean; begin Result:=ReadJSPropertyBoolean('allowFullscreen'); end; function TJSHTMLIFrameElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; function TJSHTMLIFrameElement._Getheight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('height'); end; function TJSHTMLIFrameElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLIFrameElement._Getloading: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('loading'); end; function TJSHTMLIFrameElement._GetcontentDocument: IJSDocument; begin Result:=ReadJSPropertyObject('contentDocument',TJSDocument) as IJSDocument; end; function TJSHTMLIFrameElement._GetcontentWindow: IJSWindowProxy; begin Result:=ReadJSPropertyObject('contentWindow',TJSWindowProxy) as IJSWindowProxy; end; function TJSHTMLIFrameElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLIFrameElement._Getscrolling: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scrolling'); end; function TJSHTMLIFrameElement._GetframeBorder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('frameBorder'); end; function TJSHTMLIFrameElement._GetlongDesc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('longDesc'); end; function TJSHTMLIFrameElement._GetmarginHeight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('marginHeight'); end; function TJSHTMLIFrameElement._GetmarginWidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('marginWidth'); end; function TJSHTMLIFrameElement._GetfeaturePolicy: IJSFeaturePolicy; begin Result:=ReadJSPropertyObject('featurePolicy',TJSFeaturePolicy) as IJSFeaturePolicy; end; function TJSHTMLIFrameElement._Getallow: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('allow'); end; procedure TJSHTMLIFrameElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLIFrameElement._Setsrcdoc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('srcdoc',aValue); end; procedure TJSHTMLIFrameElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLIFrameElement._SetallowFullscreen(const aValue : Boolean); begin WriteJSPropertyBoolean('allowFullscreen',aValue); end; procedure TJSHTMLIFrameElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; procedure TJSHTMLIFrameElement._Setheight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('height',aValue); end; procedure TJSHTMLIFrameElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLIFrameElement._Setloading(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('loading',aValue); end; procedure TJSHTMLIFrameElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLIFrameElement._Setscrolling(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scrolling',aValue); end; procedure TJSHTMLIFrameElement._SetframeBorder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('frameBorder',aValue); end; procedure TJSHTMLIFrameElement._SetlongDesc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('longDesc',aValue); end; procedure TJSHTMLIFrameElement._SetmarginHeight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('marginHeight',aValue); end; procedure TJSHTMLIFrameElement._SetmarginWidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('marginWidth',aValue); end; procedure TJSHTMLIFrameElement._Setallow(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('allow',aValue); end; constructor TJSHTMLIFrameElement.Create; begin JOBCreate([]); end; function TJSHTMLIFrameElement.getSVGDocument: IJSDocument; begin Result:=InvokeJSObjectResult('getSVGDocument',[],TJSDocument) as IJSDocument; end; class function TJSHTMLIFrameElement.JSClassName: UnicodeString; begin Result:='HTMLIFrameElement'; end; class function TJSHTMLIFrameElement.Cast(const Intf: IJSObject): IJSHTMLIFrameElement; begin Result:=TJSHTMLIFrameElement.JOBCast(Intf); end; class function TJSimgINotificationObserver.JSClassName: UnicodeString; begin Result:='imgINotificationObserver'; end; class function TJSimgINotificationObserver.Cast(const Intf: IJSObject): IJSimgINotificationObserver; begin Result:=TJSimgINotificationObserver.JOBCast(Intf); end; class function TJSimgIRequest.JSClassName: UnicodeString; begin Result:='imgIRequest'; end; class function TJSimgIRequest.Cast(const Intf: IJSObject): IJSimgIRequest; begin Result:=TJSimgIRequest.JOBCast(Intf); end; class function TJSnsIStreamListener.JSClassName: UnicodeString; begin Result:='nsIStreamListener'; end; class function TJSnsIStreamListener.Cast(const Intf: IJSObject): IJSnsIStreamListener; begin Result:=TJSnsIStreamListener.JOBCast(Intf); end; function TJSHTMLImageElement._Getalt: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('alt'); end; function TJSHTMLImageElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLImageElement._Getsrcset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('srcset'); end; function TJSHTMLImageElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSHTMLImageElement._GetuseMap: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('useMap'); end; function TJSHTMLImageElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLImageElement._GetisMap: Boolean; begin Result:=ReadJSPropertyBoolean('isMap'); end; function TJSHTMLImageElement._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSHTMLImageElement._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSHTMLImageElement._Getdecoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('decoding'); end; function TJSHTMLImageElement._Getloading: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('loading'); end; function TJSHTMLImageElement._GetfetchPriority: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fetchPriority'); end; function TJSHTMLImageElement._GetnaturalWidth: Cardinal; begin Result:=ReadJSPropertyInt64('naturalWidth'); end; function TJSHTMLImageElement._GetnaturalHeight: Cardinal; begin Result:=ReadJSPropertyInt64('naturalHeight'); end; function TJSHTMLImageElement._Getcomplete: Boolean; begin Result:=ReadJSPropertyBoolean('complete'); end; function TJSHTMLImageElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLImageElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLImageElement._Gethspace: Cardinal; begin Result:=ReadJSPropertyInt64('hspace'); end; function TJSHTMLImageElement._Getvspace: Cardinal; begin Result:=ReadJSPropertyInt64('vspace'); end; function TJSHTMLImageElement._GetlongDesc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('longDesc'); end; function TJSHTMLImageElement._Getborder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('border'); end; function TJSHTMLImageElement._Getsizes: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sizes'); end; function TJSHTMLImageElement._GetcurrentSrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('currentSrc'); end; function TJSHTMLImageElement._Getlowsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lowsrc'); end; function TJSHTMLImageElement._Getx: LongInt; begin Result:=ReadJSPropertyLongInt('x'); end; function TJSHTMLImageElement._Gety: LongInt; begin Result:=ReadJSPropertyLongInt('y'); end; procedure TJSHTMLImageElement._Setalt(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('alt',aValue); end; procedure TJSHTMLImageElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLImageElement._Setsrcset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('srcset',aValue); end; procedure TJSHTMLImageElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; procedure TJSHTMLImageElement._SetuseMap(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('useMap',aValue); end; procedure TJSHTMLImageElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLImageElement._SetisMap(const aValue : Boolean); begin WriteJSPropertyBoolean('isMap',aValue); end; procedure TJSHTMLImageElement._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSHTMLImageElement._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSHTMLImageElement._Setdecoding(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('decoding',aValue); end; procedure TJSHTMLImageElement._Setloading(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('loading',aValue); end; procedure TJSHTMLImageElement._SetfetchPriority(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fetchPriority',aValue); end; procedure TJSHTMLImageElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLImageElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLImageElement._Sethspace(const aValue : Cardinal); begin WriteJSPropertyDouble('hspace',aValue); end; procedure TJSHTMLImageElement._Setvspace(const aValue : Cardinal); begin WriteJSPropertyDouble('vspace',aValue); end; procedure TJSHTMLImageElement._SetlongDesc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('longDesc',aValue); end; procedure TJSHTMLImageElement._Setborder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('border',aValue); end; procedure TJSHTMLImageElement._Setsizes(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sizes',aValue); end; procedure TJSHTMLImageElement._Setlowsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lowsrc',aValue); end; constructor TJSHTMLImageElement.Create; begin JOBCreate([]); end; function TJSHTMLImageElement.decode: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decode',[],TJSPromise) as IJSPromise; end; class function TJSHTMLImageElement.JSClassName: UnicodeString; begin Result:='HTMLImageElement'; end; class function TJSHTMLImageElement.Cast(const Intf: IJSObject): IJSHTMLImageElement; begin Result:=TJSHTMLImageElement.JOBCast(Intf); end; class function TJSMozImageLoadingContent.JSClassName: UnicodeString; begin Result:='MozImageLoadingContent'; end; class function TJSMozImageLoadingContent.Cast(const Intf: IJSObject): IJSMozImageLoadingContent; begin Result:=TJSMozImageLoadingContent.JOBCast(Intf); end; class function TJSXULControllers.JSClassName: UnicodeString; begin Result:='XULControllers'; end; class function TJSXULControllers.Cast(const Intf: IJSObject): IJSXULControllers; begin Result:=TJSXULControllers.JOBCast(Intf); end; function TJSHTMLInputElement._Getaccept: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('accept'); end; function TJSHTMLInputElement._Getalt: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('alt'); end; function TJSHTMLInputElement._Getautocomplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocomplete'); end; function TJSHTMLInputElement._Getcapture: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('capture'); end; function TJSHTMLInputElement._GetdefaultChecked: Boolean; begin Result:=ReadJSPropertyBoolean('defaultChecked'); end; function TJSHTMLInputElement._Getchecked: Boolean; begin Result:=ReadJSPropertyBoolean('checked'); end; function TJSHTMLInputElement._GetdirName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dirName'); end; function TJSHTMLInputElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLInputElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLInputElement._Getfiles: IJSFileList; begin Result:=ReadJSPropertyObject('files',TJSFileList) as IJSFileList; end; function TJSHTMLInputElement._GetformAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formAction'); end; function TJSHTMLInputElement._GetformEnctype: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formEnctype'); end; function TJSHTMLInputElement._GetformMethod: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formMethod'); end; function TJSHTMLInputElement._GetformNoValidate: Boolean; begin Result:=ReadJSPropertyBoolean('formNoValidate'); end; function TJSHTMLInputElement._GetformTarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('formTarget'); end; function TJSHTMLInputElement._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSHTMLInputElement._Getindeterminate: Boolean; begin Result:=ReadJSPropertyBoolean('indeterminate'); end; function TJSHTMLInputElement._Getlist: IJSHTMLDataListElement; begin Result:=ReadJSPropertyObject('list',TJSHTMLDataListElement) as IJSHTMLDataListElement; end; function TJSHTMLInputElement._Getmax: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('max'); end; function TJSHTMLInputElement._GetmaxLength: LongInt; begin Result:=ReadJSPropertyLongInt('maxLength'); end; function TJSHTMLInputElement._Getmin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('min'); end; function TJSHTMLInputElement._GetminLength: LongInt; begin Result:=ReadJSPropertyLongInt('minLength'); end; function TJSHTMLInputElement._Getmultiple: Boolean; begin Result:=ReadJSPropertyBoolean('multiple'); end; function TJSHTMLInputElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLInputElement._Getpattern: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pattern'); end; function TJSHTMLInputElement._Getplaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('placeholder'); end; function TJSHTMLInputElement._GetreadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('readOnly'); end; function TJSHTMLInputElement._Getrequired: Boolean; begin Result:=ReadJSPropertyBoolean('required'); end; function TJSHTMLInputElement._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; function TJSHTMLInputElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLInputElement._Getstep: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('step'); end; function TJSHTMLInputElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLInputElement._GetdefaultValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('defaultValue'); end; function TJSHTMLInputElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLInputElement._GetvalueAsDate: IJSObject; begin Result:=ReadJSPropertyObject('valueAsDate',TJSObject) as IJSObject; end; function TJSHTMLInputElement._GetvalueAsNumber: Double; begin Result:=ReadJSPropertyDouble('valueAsNumber'); end; function TJSHTMLInputElement._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSHTMLInputElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLInputElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLInputElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLInputElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; function TJSHTMLInputElement._GetselectionStart: Cardinal; begin Result:=ReadJSPropertyInt64('selectionStart'); end; function TJSHTMLInputElement._GetselectionEnd: Cardinal; begin Result:=ReadJSPropertyInt64('selectionEnd'); end; function TJSHTMLInputElement._GetselectionDirection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('selectionDirection'); end; function TJSHTMLInputElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLInputElement._GetuseMap: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('useMap'); end; function TJSHTMLInputElement._GettextLength: LongInt; begin Result:=ReadJSPropertyLongInt('textLength'); end; function TJSHTMLInputElement._GetwebkitEntries: TJSFileSystemEntryDynArray; begin Result:=ReadJSPropertyObject('webkitEntries',TJSArray) as TJSFileSystemEntryDynArray; end; function TJSHTMLInputElement._Getwebkitdirectory: Boolean; begin Result:=ReadJSPropertyBoolean('webkitdirectory'); end; function TJSHTMLInputElement._GetpopoverTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('popoverTargetElement',TJSElement) as IJSElement; end; function TJSHTMLInputElement._GetpopoverTargetAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popoverTargetAction'); end; function TJSHTMLInputElement._GetinvokeTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('invokeTargetElement',TJSElement) as IJSElement; end; function TJSHTMLInputElement._GetinvokeAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('invokeAction'); end; procedure TJSHTMLInputElement._Setaccept(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('accept',aValue); end; procedure TJSHTMLInputElement._Setalt(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('alt',aValue); end; procedure TJSHTMLInputElement._Setautocomplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocomplete',aValue); end; procedure TJSHTMLInputElement._Setcapture(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('capture',aValue); end; procedure TJSHTMLInputElement._SetdefaultChecked(const aValue : Boolean); begin WriteJSPropertyBoolean('defaultChecked',aValue); end; procedure TJSHTMLInputElement._Setchecked(const aValue : Boolean); begin WriteJSPropertyBoolean('checked',aValue); end; procedure TJSHTMLInputElement._SetdirName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dirName',aValue); end; procedure TJSHTMLInputElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLInputElement._Setfiles(const aValue : IJSFileList); begin WriteJSPropertyObject('files',aValue); end; procedure TJSHTMLInputElement._SetformAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formAction',aValue); end; procedure TJSHTMLInputElement._SetformEnctype(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formEnctype',aValue); end; procedure TJSHTMLInputElement._SetformMethod(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formMethod',aValue); end; procedure TJSHTMLInputElement._SetformNoValidate(const aValue : Boolean); begin WriteJSPropertyBoolean('formNoValidate',aValue); end; procedure TJSHTMLInputElement._SetformTarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('formTarget',aValue); end; procedure TJSHTMLInputElement._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSHTMLInputElement._Setindeterminate(const aValue : Boolean); begin WriteJSPropertyBoolean('indeterminate',aValue); end; procedure TJSHTMLInputElement._Setmax(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('max',aValue); end; procedure TJSHTMLInputElement._SetmaxLength(const aValue : LongInt); begin WriteJSPropertyLongInt('maxLength',aValue); end; procedure TJSHTMLInputElement._Setmin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('min',aValue); end; procedure TJSHTMLInputElement._SetminLength(const aValue : LongInt); begin WriteJSPropertyLongInt('minLength',aValue); end; procedure TJSHTMLInputElement._Setmultiple(const aValue : Boolean); begin WriteJSPropertyBoolean('multiple',aValue); end; procedure TJSHTMLInputElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLInputElement._Setpattern(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pattern',aValue); end; procedure TJSHTMLInputElement._Setplaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('placeholder',aValue); end; procedure TJSHTMLInputElement._SetreadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('readOnly',aValue); end; procedure TJSHTMLInputElement._Setrequired(const aValue : Boolean); begin WriteJSPropertyBoolean('required',aValue); end; procedure TJSHTMLInputElement._Setsize(const aValue : Cardinal); begin WriteJSPropertyDouble('size',aValue); end; procedure TJSHTMLInputElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLInputElement._Setstep(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('step',aValue); end; procedure TJSHTMLInputElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLInputElement._SetdefaultValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('defaultValue',aValue); end; procedure TJSHTMLInputElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; procedure TJSHTMLInputElement._SetvalueAsDate(const aValue : IJSObject); begin WriteJSPropertyObject('valueAsDate',aValue); end; procedure TJSHTMLInputElement._SetvalueAsNumber(const aValue : Double); begin WriteJSPropertyDouble('valueAsNumber',aValue); end; procedure TJSHTMLInputElement._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSHTMLInputElement._SetselectionStart(const aValue : Cardinal); begin WriteJSPropertyDouble('selectionStart',aValue); end; procedure TJSHTMLInputElement._SetselectionEnd(const aValue : Cardinal); begin WriteJSPropertyDouble('selectionEnd',aValue); end; procedure TJSHTMLInputElement._SetselectionDirection(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('selectionDirection',aValue); end; procedure TJSHTMLInputElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLInputElement._SetuseMap(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('useMap',aValue); end; procedure TJSHTMLInputElement._Setwebkitdirectory(const aValue : Boolean); begin WriteJSPropertyBoolean('webkitdirectory',aValue); end; procedure TJSHTMLInputElement._SetpopoverTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('popoverTargetElement',aValue); end; procedure TJSHTMLInputElement._SetpopoverTargetAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popoverTargetAction',aValue); end; procedure TJSHTMLInputElement._SetinvokeTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('invokeTargetElement',aValue); end; procedure TJSHTMLInputElement._SetinvokeAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('invokeAction',aValue); end; constructor TJSHTMLInputElement.Create; begin JOBCreate([]); end; procedure TJSHTMLInputElement.stepUp(aN: LongInt); begin InvokeJSNoResult('stepUp',[aN]); end; procedure TJSHTMLInputElement.stepUp; begin InvokeJSNoResult('stepUp',[]); end; procedure TJSHTMLInputElement.stepDown(aN: LongInt); begin InvokeJSNoResult('stepDown',[aN]); end; procedure TJSHTMLInputElement.stepDown; begin InvokeJSNoResult('stepDown',[]); end; function TJSHTMLInputElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLInputElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLInputElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; procedure TJSHTMLInputElement.select; begin InvokeJSNoResult('select',[]); end; procedure TJSHTMLInputElement.setRangeText(const aReplacement: UnicodeString); begin InvokeJSNoResult('setRangeText',[aReplacement]); end; procedure TJSHTMLInputElement.setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); begin InvokeJSNoResult('setRangeText',[aReplacement,aStart,aEnd_,aSelectionMode]); end; procedure TJSHTMLInputElement.setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); begin InvokeJSNoResult('setRangeText',[aReplacement,aStart,aEnd_]); end; procedure TJSHTMLInputElement.setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); begin InvokeJSNoResult('setSelectionRange',[aStart,aEnd_,aDirection]); end; procedure TJSHTMLInputElement.setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); begin InvokeJSNoResult('setSelectionRange',[aStart,aEnd_]); end; procedure TJSHTMLInputElement.showPicker; begin InvokeJSNoResult('showPicker',[]); end; function TJSHTMLInputElement.mozIsTextField(aAExcludePassword: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('mozIsTextField',[aAExcludePassword]); end; procedure TJSHTMLInputElement.openDateTimePicker(const aInitialValue: IJSDateTimeValue); begin InvokeJSNoResult('openDateTimePicker',[aInitialValue]); end; procedure TJSHTMLInputElement.openDateTimePicker; begin InvokeJSNoResult('openDateTimePicker',[]); end; procedure TJSHTMLInputElement.updateDateTimePicker(const aValue: IJSDateTimeValue); begin InvokeJSNoResult('updateDateTimePicker',[aValue]); end; procedure TJSHTMLInputElement.updateDateTimePicker; begin InvokeJSNoResult('updateDateTimePicker',[]); end; procedure TJSHTMLInputElement.closeDateTimePicker; begin InvokeJSNoResult('closeDateTimePicker',[]); end; procedure TJSHTMLInputElement.setFocusState(aAIsFocused: Boolean); begin InvokeJSNoResult('setFocusState',[aAIsFocused]); end; procedure TJSHTMLInputElement.updateValidityState; begin InvokeJSNoResult('updateValidityState',[]); end; function TJSHTMLInputElement.getStep: Double; begin Result:=InvokeJSDoubleResult('getStep',[]); end; function TJSHTMLInputElement.getStepBase: Double; begin Result:=InvokeJSDoubleResult('getStepBase',[]); end; procedure TJSHTMLInputElement.setUserInput(const aInput: UnicodeString); begin InvokeJSNoResult('setUserInput',[aInput]); end; class function TJSHTMLInputElement.JSClassName: UnicodeString; begin Result:='HTMLInputElement'; end; class function TJSHTMLInputElement.Cast(const Intf: IJSObject): IJSHTMLInputElement; begin Result:=TJSHTMLInputElement.JOBCast(Intf); end; procedure TJSMozEditableElement.setUserInput(const aInput: UnicodeString); begin InvokeJSNoResult('setUserInput',[aInput]); end; class function TJSMozEditableElement.JSClassName: UnicodeString; begin Result:='MozEditableElement'; end; class function TJSMozEditableElement.Cast(const Intf: IJSObject): IJSMozEditableElement; begin Result:=TJSMozEditableElement.JOBCast(Intf); end; function TJSDateTimeValue._Gethour: LongInt; begin Result:=ReadJSPropertyLongInt('hour'); end; function TJSDateTimeValue._Getminute: LongInt; begin Result:=ReadJSPropertyLongInt('minute'); end; function TJSDateTimeValue._Getyear: LongInt; begin Result:=ReadJSPropertyLongInt('year'); end; function TJSDateTimeValue._Getmonth: LongInt; begin Result:=ReadJSPropertyLongInt('month'); end; function TJSDateTimeValue._Getday: LongInt; begin Result:=ReadJSPropertyLongInt('day'); end; procedure TJSDateTimeValue._Sethour(const aValue : LongInt); begin WriteJSPropertyLongInt('hour',aValue); end; procedure TJSDateTimeValue._Setminute(const aValue : LongInt); begin WriteJSPropertyLongInt('minute',aValue); end; procedure TJSDateTimeValue._Setyear(const aValue : LongInt); begin WriteJSPropertyLongInt('year',aValue); end; procedure TJSDateTimeValue._Setmonth(const aValue : LongInt); begin WriteJSPropertyLongInt('month',aValue); end; procedure TJSDateTimeValue._Setday(const aValue : LongInt); begin WriteJSPropertyLongInt('day',aValue); end; constructor TJSDateTimeValue.create(const aDict : TJSDateTimeValueRec); overload; begin Self.hour:=aDict.hour; Self.minute:=aDict.minute; Self.year:=aDict.year; Self.month:=aDict.month; Self.day:=aDict.day; end; class function TJSDateTimeValue.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDateTimeValue.Cast(const Intf: IJSObject): IJSDateTimeValue; begin Result:=TJSDateTimeValue.JOBCast(Intf); end; function TJSHTMLLabelElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLLabelElement._GethtmlFor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('htmlFor'); end; function TJSHTMLLabelElement._Getcontrol: IJSHTMLElement; begin Result:=ReadJSPropertyObject('control',TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLLabelElement._SethtmlFor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('htmlFor',aValue); end; constructor TJSHTMLLabelElement.Create; begin JOBCreate([]); end; class function TJSHTMLLabelElement.JSClassName: UnicodeString; begin Result:='HTMLLabelElement'; end; class function TJSHTMLLabelElement.Cast(const Intf: IJSObject): IJSHTMLLabelElement; begin Result:=TJSHTMLLabelElement.JOBCast(Intf); end; function TJSHTMLLegendElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLLegendElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; procedure TJSHTMLLegendElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; constructor TJSHTMLLegendElement.Create; begin JOBCreate([]); end; class function TJSHTMLLegendElement.JSClassName: UnicodeString; begin Result:='HTMLLegendElement'; end; class function TJSHTMLLegendElement.Cast(const Intf: IJSObject): IJSHTMLLegendElement; begin Result:=TJSHTMLLegendElement.JOBCast(Intf); end; function TJSHTMLLIElement._Getvalue: LongInt; begin Result:=ReadJSPropertyLongInt('value'); end; function TJSHTMLLIElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSHTMLLIElement._Setvalue(const aValue : LongInt); begin WriteJSPropertyLongInt('value',aValue); end; procedure TJSHTMLLIElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSHTMLLIElement.Create; begin JOBCreate([]); end; class function TJSHTMLLIElement.JSClassName: UnicodeString; begin Result:='HTMLLIElement'; end; class function TJSHTMLLIElement.Cast(const Intf: IJSObject): IJSHTMLLIElement; begin Result:=TJSHTMLLIElement.JOBCast(Intf); end; function TJSHTMLLinkElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLLinkElement._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSHTMLLinkElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSHTMLLinkElement._Getrel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rel'); end; function TJSHTMLLinkElement._GetrelList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('relList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLLinkElement._Getmedia: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('media'); end; function TJSHTMLLinkElement._Gethreflang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hreflang'); end; function TJSHTMLLinkElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLLinkElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLLinkElement._Getsizes: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('sizes',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLLinkElement._GetimageSrcset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('imageSrcset'); end; function TJSHTMLLinkElement._GetimageSizes: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('imageSizes'); end; function TJSHTMLLinkElement._Getblocking: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('blocking',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLLinkElement._GetfetchPriority: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fetchPriority'); end; function TJSHTMLLinkElement._Getcharset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('charset'); end; function TJSHTMLLinkElement._Getrev: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rev'); end; function TJSHTMLLinkElement._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; function TJSHTMLLinkElement._Getintegrity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('integrity'); end; function TJSHTMLLinkElement._Getas_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('as'); end; function TJSHTMLLinkElement._Getsheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('sheet',TJSStyleSheet) as IJSStyleSheet; end; procedure TJSHTMLLinkElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLLinkElement._Sethref(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('href',aValue); end; procedure TJSHTMLLinkElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; procedure TJSHTMLLinkElement._Setrel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rel',aValue); end; procedure TJSHTMLLinkElement._Setmedia(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('media',aValue); end; procedure TJSHTMLLinkElement._Sethreflang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hreflang',aValue); end; procedure TJSHTMLLinkElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLLinkElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLLinkElement._SetimageSrcset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('imageSrcset',aValue); end; procedure TJSHTMLLinkElement._SetimageSizes(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('imageSizes',aValue); end; procedure TJSHTMLLinkElement._SetfetchPriority(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fetchPriority',aValue); end; procedure TJSHTMLLinkElement._Setcharset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('charset',aValue); end; procedure TJSHTMLLinkElement._Setrev(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rev',aValue); end; procedure TJSHTMLLinkElement._Settarget(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('target',aValue); end; procedure TJSHTMLLinkElement._Setintegrity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('integrity',aValue); end; procedure TJSHTMLLinkElement._Setas_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('as',aValue); end; constructor TJSHTMLLinkElement.Create; begin JOBCreate([]); end; class function TJSHTMLLinkElement.JSClassName: UnicodeString; begin Result:='HTMLLinkElement'; end; class function TJSHTMLLinkElement.Cast(const Intf: IJSObject): IJSHTMLLinkElement; begin Result:=TJSHTMLLinkElement.JOBCast(Intf); end; function TJSHTMLMapElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLMapElement._Getareas: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('areas',TJSHTMLCollection) as IJSHTMLCollection; end; procedure TJSHTMLMapElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSHTMLMapElement.Create; begin JOBCreate([]); end; class function TJSHTMLMapElement.JSClassName: UnicodeString; begin Result:='HTMLMapElement'; end; class function TJSHTMLMapElement.Cast(const Intf: IJSObject): IJSHTMLMapElement; begin Result:=TJSHTMLMapElement.JOBCast(Intf); end; function TJSHTMLMarqueeElement._Getbehavior: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('behavior'); end; function TJSHTMLMarqueeElement._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; function TJSHTMLMarqueeElement._Getdirection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSHTMLMarqueeElement._Getheight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('height'); end; function TJSHTMLMarqueeElement._Gethspace: Cardinal; begin Result:=ReadJSPropertyInt64('hspace'); end; function TJSHTMLMarqueeElement._Getloop: LongInt; begin Result:=ReadJSPropertyLongInt('loop'); end; function TJSHTMLMarqueeElement._GetscrollAmount: Cardinal; begin Result:=ReadJSPropertyInt64('scrollAmount'); end; function TJSHTMLMarqueeElement._GetscrollDelay: Cardinal; begin Result:=ReadJSPropertyInt64('scrollDelay'); end; function TJSHTMLMarqueeElement._GettrueSpeed: Boolean; begin Result:=ReadJSPropertyBoolean('trueSpeed'); end; function TJSHTMLMarqueeElement._Getvspace: Cardinal; begin Result:=ReadJSPropertyInt64('vspace'); end; function TJSHTMLMarqueeElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; procedure TJSHTMLMarqueeElement._Setbehavior(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('behavior',aValue); end; procedure TJSHTMLMarqueeElement._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; procedure TJSHTMLMarqueeElement._Setdirection(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSHTMLMarqueeElement._Setheight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('height',aValue); end; procedure TJSHTMLMarqueeElement._Sethspace(const aValue : Cardinal); begin WriteJSPropertyDouble('hspace',aValue); end; procedure TJSHTMLMarqueeElement._Setloop(const aValue : LongInt); begin WriteJSPropertyLongInt('loop',aValue); end; procedure TJSHTMLMarqueeElement._SetscrollAmount(const aValue : Cardinal); begin WriteJSPropertyDouble('scrollAmount',aValue); end; procedure TJSHTMLMarqueeElement._SetscrollDelay(const aValue : Cardinal); begin WriteJSPropertyDouble('scrollDelay',aValue); end; procedure TJSHTMLMarqueeElement._SettrueSpeed(const aValue : Boolean); begin WriteJSPropertyBoolean('trueSpeed',aValue); end; procedure TJSHTMLMarqueeElement._Setvspace(const aValue : Cardinal); begin WriteJSPropertyDouble('vspace',aValue); end; procedure TJSHTMLMarqueeElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; constructor TJSHTMLMarqueeElement.Create; begin JOBCreate([]); end; procedure TJSHTMLMarqueeElement.start; begin InvokeJSNoResult('start',[]); end; procedure TJSHTMLMarqueeElement.stop; begin InvokeJSNoResult('stop',[]); end; class function TJSHTMLMarqueeElement.JSClassName: UnicodeString; begin Result:='HTMLMarqueeElement'; end; class function TJSHTMLMarqueeElement.Cast(const Intf: IJSObject): IJSHTMLMarqueeElement; begin Result:=TJSHTMLMarqueeElement.JOBCast(Intf); end; function TJSHTMLMediaElement._Geterror: IJSMediaError; begin Result:=ReadJSPropertyObject('error',TJSMediaError) as IJSMediaError; end; function TJSHTMLMediaElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLMediaElement._GetcurrentSrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('currentSrc'); end; function TJSHTMLMediaElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSHTMLMediaElement._GetnetworkState: Word; begin Result:=ReadJSPropertyLongInt('networkState'); end; function TJSHTMLMediaElement._Getpreload: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('preload'); end; function TJSHTMLMediaElement._Getbuffered: IJSTimeRanges; begin Result:=ReadJSPropertyObject('buffered',TJSTimeRanges) as IJSTimeRanges; end; function TJSHTMLMediaElement._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSHTMLMediaElement._Getseeking: Boolean; begin Result:=ReadJSPropertyBoolean('seeking'); end; function TJSHTMLMediaElement._GetcurrentTime: Double; begin Result:=ReadJSPropertyDouble('currentTime'); end; function TJSHTMLMediaElement._Getduration: Double; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSHTMLMediaElement._Getpaused: Boolean; begin Result:=ReadJSPropertyBoolean('paused'); end; function TJSHTMLMediaElement._GetdefaultPlaybackRate: Double; begin Result:=ReadJSPropertyDouble('defaultPlaybackRate'); end; function TJSHTMLMediaElement._GetplaybackRate: Double; begin Result:=ReadJSPropertyDouble('playbackRate'); end; function TJSHTMLMediaElement._Getplayed: IJSTimeRanges; begin Result:=ReadJSPropertyObject('played',TJSTimeRanges) as IJSTimeRanges; end; function TJSHTMLMediaElement._Getseekable: IJSTimeRanges; begin Result:=ReadJSPropertyObject('seekable',TJSTimeRanges) as IJSTimeRanges; end; function TJSHTMLMediaElement._Getended: Boolean; begin Result:=ReadJSPropertyBoolean('ended'); end; function TJSHTMLMediaElement._Getautoplay: Boolean; begin Result:=ReadJSPropertyBoolean('autoplay'); end; function TJSHTMLMediaElement._Getloop: Boolean; begin Result:=ReadJSPropertyBoolean('loop'); end; function TJSHTMLMediaElement._Getcontrols: Boolean; begin Result:=ReadJSPropertyBoolean('controls'); end; function TJSHTMLMediaElement._Getvolume: Double; begin Result:=ReadJSPropertyDouble('volume'); end; function TJSHTMLMediaElement._Getmuted: Boolean; begin Result:=ReadJSPropertyBoolean('muted'); end; function TJSHTMLMediaElement._GetdefaultMuted: Boolean; begin Result:=ReadJSPropertyBoolean('defaultMuted'); end; function TJSHTMLMediaElement._GetaudioTracks: IJSAudioTrackList; begin Result:=ReadJSPropertyObject('audioTracks',TJSAudioTrackList) as IJSAudioTrackList; end; function TJSHTMLMediaElement._GetvideoTracks: IJSVideoTrackList; begin Result:=ReadJSPropertyObject('videoTracks',TJSVideoTrackList) as IJSVideoTrackList; end; function TJSHTMLMediaElement._GettextTracks: IJSTextTrackList; begin Result:=ReadJSPropertyObject('textTracks',TJSTextTrackList) as IJSTextTrackList; end; function TJSHTMLMediaElement._GetmozMediaSourceObject: IJSMediaSource; begin Result:=ReadJSPropertyObject('mozMediaSourceObject',TJSMediaSource) as IJSMediaSource; end; function TJSHTMLMediaElement._GetsrcObject: IJSMediaStream; begin Result:=ReadJSPropertyObject('srcObject',TJSMediaStream) as IJSMediaStream; end; function TJSHTMLMediaElement._GetpreservesPitch: Boolean; begin Result:=ReadJSPropertyBoolean('preservesPitch'); end; function TJSHTMLMediaElement._GetmozAllowCasting: Boolean; begin Result:=ReadJSPropertyBoolean('mozAllowCasting'); end; function TJSHTMLMediaElement._GetmozIsCasting: Boolean; begin Result:=ReadJSPropertyBoolean('mozIsCasting'); end; function TJSHTMLMediaElement._GetmozAudioCaptured: Boolean; begin Result:=ReadJSPropertyBoolean('mozAudioCaptured'); end; function TJSHTMLMediaElement._GetmozFragmentEnd: Double; begin Result:=ReadJSPropertyDouble('mozFragmentEnd'); end; function TJSHTMLMediaElement._GetmediaKeys: IJSMediaKeys; begin Result:=ReadJSPropertyObject('mediaKeys',TJSMediaKeys) as IJSMediaKeys; end; function TJSHTMLMediaElement._Getonencrypted: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onencrypted'))); end; function TJSHTMLMediaElement._Getonwaitingforkey: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaitingforkey'))); end; function TJSHTMLMediaElement._GetcomputedVolume: Double; begin Result:=ReadJSPropertyDouble('computedVolume'); end; function TJSHTMLMediaElement._GetcomputedMuted: Boolean; begin Result:=ReadJSPropertyBoolean('computedMuted'); end; function TJSHTMLMediaElement._GetsinkId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sinkId'); end; function TJSHTMLMediaElement._GetallowedToPlay: Boolean; begin Result:=ReadJSPropertyBoolean('allowedToPlay'); end; procedure TJSHTMLMediaElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLMediaElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; procedure TJSHTMLMediaElement._Setpreload(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('preload',aValue); end; procedure TJSHTMLMediaElement._SetcurrentTime(const aValue : Double); begin WriteJSPropertyDouble('currentTime',aValue); end; procedure TJSHTMLMediaElement._SetdefaultPlaybackRate(const aValue : Double); begin WriteJSPropertyDouble('defaultPlaybackRate',aValue); end; procedure TJSHTMLMediaElement._SetplaybackRate(const aValue : Double); begin WriteJSPropertyDouble('playbackRate',aValue); end; procedure TJSHTMLMediaElement._Setautoplay(const aValue : Boolean); begin WriteJSPropertyBoolean('autoplay',aValue); end; procedure TJSHTMLMediaElement._Setloop(const aValue : Boolean); begin WriteJSPropertyBoolean('loop',aValue); end; procedure TJSHTMLMediaElement._Setcontrols(const aValue : Boolean); begin WriteJSPropertyBoolean('controls',aValue); end; procedure TJSHTMLMediaElement._Setvolume(const aValue : Double); begin WriteJSPropertyDouble('volume',aValue); end; procedure TJSHTMLMediaElement._Setmuted(const aValue : Boolean); begin WriteJSPropertyBoolean('muted',aValue); end; procedure TJSHTMLMediaElement._SetdefaultMuted(const aValue : Boolean); begin WriteJSPropertyBoolean('defaultMuted',aValue); end; procedure TJSHTMLMediaElement._SetsrcObject(const aValue : IJSMediaStream); begin WriteJSPropertyObject('srcObject',aValue); end; procedure TJSHTMLMediaElement._SetpreservesPitch(const aValue : Boolean); begin WriteJSPropertyBoolean('preservesPitch',aValue); end; procedure TJSHTMLMediaElement._SetmozAllowCasting(const aValue : Boolean); begin WriteJSPropertyBoolean('mozAllowCasting',aValue); end; procedure TJSHTMLMediaElement._SetmozIsCasting(const aValue : Boolean); begin WriteJSPropertyBoolean('mozIsCasting',aValue); end; procedure TJSHTMLMediaElement._Setonencrypted(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onencrypted',[m],jiSet); finally m.free end; end; procedure TJSHTMLMediaElement._Setonwaitingforkey(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaitingforkey',[m],jiSet); finally m.free end; end; procedure TJSHTMLMediaElement.load; begin InvokeJSNoResult('load',[]); end; function TJSHTMLMediaElement.canPlayType(const aType_: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('canPlayType',[aType_]); end; procedure TJSHTMLMediaElement.fastSeek(aTime: Double); begin InvokeJSNoResult('fastSeek',[aTime]); end; function TJSHTMLMediaElement.play: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('play',[],TJSPromise) as IJSPromise; end; procedure TJSHTMLMediaElement.pause; begin InvokeJSNoResult('pause',[]); end; function TJSHTMLMediaElement.addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString; const aLanguage: UnicodeString): IJSTextTrack; begin Result:=InvokeJSObjectResult('addTextTrack',[aKind,aLabel_,aLanguage],TJSTextTrack) as IJSTextTrack; end; function TJSHTMLMediaElement.addTextTrack(aKind: TTextTrackKind): IJSTextTrack; begin Result:=InvokeJSObjectResult('addTextTrack',[aKind],TJSTextTrack) as IJSTextTrack; end; function TJSHTMLMediaElement.addTextTrack(aKind: TTextTrackKind; const aLabel_: UnicodeString): IJSTextTrack; begin Result:=InvokeJSObjectResult('addTextTrack',[aKind,aLabel_],TJSTextTrack) as IJSTextTrack; end; function TJSHTMLMediaElement.mozRequestDebugInfo: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mozRequestDebugInfo',[],TJSPromise) as IJSPromise; end; procedure TJSHTMLMediaElement.mozEnableDebugLog; begin InvokeJSNoResult('mozEnableDebugLog',[]); end; function TJSHTMLMediaElement.mozRequestDebugLog: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mozRequestDebugLog',[],TJSPromise) as IJSPromise; end; function TJSHTMLMediaElement.mozCaptureStream: IJSMediaStream; begin Result:=InvokeJSObjectResult('mozCaptureStream',[],TJSMediaStream) as IJSMediaStream; end; function TJSHTMLMediaElement.mozCaptureStreamUntilEnded: IJSMediaStream; begin Result:=InvokeJSObjectResult('mozCaptureStreamUntilEnded',[],TJSMediaStream) as IJSMediaStream; end; function TJSHTMLMediaElement.mozGetMetadata: IJSObject; begin Result:=InvokeJSObjectResult('mozGetMetadata',[],TJSObject) as IJSObject; end; function TJSHTMLMediaElement.setMediaKeys(aMediaKeys: IJSMediaKeys): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setMediaKeys',[aMediaKeys],TJSPromise) as IJSPromise; end; function TJSHTMLMediaElement.seekToNextFrame: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('seekToNextFrame',[],TJSPromise) as IJSPromise; end; procedure TJSHTMLMediaElement.setVisible(aAVisible: Boolean); begin InvokeJSNoResult('setVisible',[aAVisible]); end; function TJSHTMLMediaElement.hasSuspendTaint: Boolean; begin Result:=InvokeJSBooleanResult('hasSuspendTaint',[]); end; function TJSHTMLMediaElement.setSinkId(const aSinkId: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setSinkId',[aSinkId],TJSPromise) as IJSPromise; end; class function TJSHTMLMediaElement.JSClassName: UnicodeString; begin Result:='HTMLMediaElement'; end; class function TJSHTMLMediaElement.Cast(const Intf: IJSObject): IJSHTMLMediaElement; begin Result:=TJSHTMLMediaElement.JOBCast(Intf); end; function TJSHTMLMenuElement._Getcompact: Boolean; begin Result:=ReadJSPropertyBoolean('compact'); end; procedure TJSHTMLMenuElement._Setcompact(const aValue : Boolean); begin WriteJSPropertyBoolean('compact',aValue); end; constructor TJSHTMLMenuElement.Create; begin JOBCreate([]); end; class function TJSHTMLMenuElement.JSClassName: UnicodeString; begin Result:='HTMLMenuElement'; end; class function TJSHTMLMenuElement.Cast(const Intf: IJSObject): IJSHTMLMenuElement; begin Result:=TJSHTMLMenuElement.JOBCast(Intf); end; function TJSHTMLMetaElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLMetaElement._GethttpEquiv: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('httpEquiv'); end; function TJSHTMLMetaElement._Getcontent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('content'); end; function TJSHTMLMetaElement._Getmedia: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('media'); end; function TJSHTMLMetaElement._Getscheme: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scheme'); end; procedure TJSHTMLMetaElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLMetaElement._SethttpEquiv(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('httpEquiv',aValue); end; procedure TJSHTMLMetaElement._Setcontent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('content',aValue); end; procedure TJSHTMLMetaElement._Setmedia(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('media',aValue); end; procedure TJSHTMLMetaElement._Setscheme(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scheme',aValue); end; constructor TJSHTMLMetaElement.Create; begin JOBCreate([]); end; class function TJSHTMLMetaElement.JSClassName: UnicodeString; begin Result:='HTMLMetaElement'; end; class function TJSHTMLMetaElement.Cast(const Intf: IJSObject): IJSHTMLMetaElement; begin Result:=TJSHTMLMetaElement.JOBCast(Intf); end; function TJSHTMLMeterElement._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; function TJSHTMLMeterElement._Getmin: Double; begin Result:=ReadJSPropertyDouble('min'); end; function TJSHTMLMeterElement._Getmax: Double; begin Result:=ReadJSPropertyDouble('max'); end; function TJSHTMLMeterElement._Getlow: Double; begin Result:=ReadJSPropertyDouble('low'); end; function TJSHTMLMeterElement._Gethigh: Double; begin Result:=ReadJSPropertyDouble('high'); end; function TJSHTMLMeterElement._Getoptimum: Double; begin Result:=ReadJSPropertyDouble('optimum'); end; function TJSHTMLMeterElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; procedure TJSHTMLMeterElement._Setvalue(const aValue : Double); begin WriteJSPropertyDouble('value',aValue); end; procedure TJSHTMLMeterElement._Setmin(const aValue : Double); begin WriteJSPropertyDouble('min',aValue); end; procedure TJSHTMLMeterElement._Setmax(const aValue : Double); begin WriteJSPropertyDouble('max',aValue); end; procedure TJSHTMLMeterElement._Setlow(const aValue : Double); begin WriteJSPropertyDouble('low',aValue); end; procedure TJSHTMLMeterElement._Sethigh(const aValue : Double); begin WriteJSPropertyDouble('high',aValue); end; procedure TJSHTMLMeterElement._Setoptimum(const aValue : Double); begin WriteJSPropertyDouble('optimum',aValue); end; constructor TJSHTMLMeterElement.Create; begin JOBCreate([]); end; class function TJSHTMLMeterElement.JSClassName: UnicodeString; begin Result:='HTMLMeterElement'; end; class function TJSHTMLMeterElement.Cast(const Intf: IJSObject): IJSHTMLMeterElement; begin Result:=TJSHTMLMeterElement.JOBCast(Intf); end; function TJSHTMLModElement._Getcite: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cite'); end; function TJSHTMLModElement._GetdateTime: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dateTime'); end; procedure TJSHTMLModElement._Setcite(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cite',aValue); end; procedure TJSHTMLModElement._SetdateTime(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dateTime',aValue); end; constructor TJSHTMLModElement.Create; begin JOBCreate([]); end; class function TJSHTMLModElement.JSClassName: UnicodeString; begin Result:='HTMLModElement'; end; class function TJSHTMLModElement.Cast(const Intf: IJSObject): IJSHTMLModElement; begin Result:=TJSHTMLModElement.JOBCast(Intf); end; function TJSHTMLObjectElement._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSHTMLObjectElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLObjectElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLObjectElement._GetuseMap: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('useMap'); end; function TJSHTMLObjectElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLObjectElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; function TJSHTMLObjectElement._Getheight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('height'); end; function TJSHTMLObjectElement._GetcontentDocument: IJSDocument; begin Result:=ReadJSPropertyObject('contentDocument',TJSDocument) as IJSDocument; end; function TJSHTMLObjectElement._GetcontentWindow: IJSWindowProxy; begin Result:=ReadJSPropertyObject('contentWindow',TJSWindowProxy) as IJSWindowProxy; end; function TJSHTMLObjectElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLObjectElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLObjectElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLObjectElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLObjectElement._Getarchive: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('archive'); end; function TJSHTMLObjectElement._Getcode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('code'); end; function TJSHTMLObjectElement._Getdeclare: Boolean; begin Result:=ReadJSPropertyBoolean('declare'); end; function TJSHTMLObjectElement._Gethspace: Cardinal; begin Result:=ReadJSPropertyInt64('hspace'); end; function TJSHTMLObjectElement._Getstandby: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('standby'); end; function TJSHTMLObjectElement._Getvspace: Cardinal; begin Result:=ReadJSPropertyInt64('vspace'); end; function TJSHTMLObjectElement._GetcodeBase: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codeBase'); end; function TJSHTMLObjectElement._GetcodeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codeType'); end; function TJSHTMLObjectElement._Getborder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('border'); end; procedure TJSHTMLObjectElement._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; procedure TJSHTMLObjectElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLObjectElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLObjectElement._SetuseMap(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('useMap',aValue); end; procedure TJSHTMLObjectElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; procedure TJSHTMLObjectElement._Setheight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('height',aValue); end; procedure TJSHTMLObjectElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLObjectElement._Setarchive(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('archive',aValue); end; procedure TJSHTMLObjectElement._Setcode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('code',aValue); end; procedure TJSHTMLObjectElement._Setdeclare(const aValue : Boolean); begin WriteJSPropertyBoolean('declare',aValue); end; procedure TJSHTMLObjectElement._Sethspace(const aValue : Cardinal); begin WriteJSPropertyDouble('hspace',aValue); end; procedure TJSHTMLObjectElement._Setstandby(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('standby',aValue); end; procedure TJSHTMLObjectElement._Setvspace(const aValue : Cardinal); begin WriteJSPropertyDouble('vspace',aValue); end; procedure TJSHTMLObjectElement._SetcodeBase(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codeBase',aValue); end; procedure TJSHTMLObjectElement._SetcodeType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codeType',aValue); end; procedure TJSHTMLObjectElement._Setborder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('border',aValue); end; constructor TJSHTMLObjectElement.Create; begin JOBCreate([]); end; function TJSHTMLObjectElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLObjectElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLObjectElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; function TJSHTMLObjectElement.getSVGDocument: IJSDocument; begin Result:=InvokeJSObjectResult('getSVGDocument',[],TJSDocument) as IJSDocument; end; class function TJSHTMLObjectElement.JSClassName: UnicodeString; begin Result:='HTMLObjectElement'; end; class function TJSHTMLObjectElement.Cast(const Intf: IJSObject): IJSHTMLObjectElement; begin Result:=TJSHTMLObjectElement.JOBCast(Intf); end; class function TJSMozObjectLoadingContent.JSClassName: UnicodeString; begin Result:='MozObjectLoadingContent'; end; class function TJSMozObjectLoadingContent.Cast(const Intf: IJSObject): IJSMozObjectLoadingContent; begin Result:=TJSMozObjectLoadingContent.JOBCast(Intf); end; function TJSHTMLOListElement._Getreversed: Boolean; begin Result:=ReadJSPropertyBoolean('reversed'); end; function TJSHTMLOListElement._Getstart: LongInt; begin Result:=ReadJSPropertyLongInt('start'); end; function TJSHTMLOListElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLOListElement._Getcompact: Boolean; begin Result:=ReadJSPropertyBoolean('compact'); end; procedure TJSHTMLOListElement._Setreversed(const aValue : Boolean); begin WriteJSPropertyBoolean('reversed',aValue); end; procedure TJSHTMLOListElement._Setstart(const aValue : LongInt); begin WriteJSPropertyLongInt('start',aValue); end; procedure TJSHTMLOListElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLOListElement._Setcompact(const aValue : Boolean); begin WriteJSPropertyBoolean('compact',aValue); end; constructor TJSHTMLOListElement.Create; begin JOBCreate([]); end; class function TJSHTMLOListElement.JSClassName: UnicodeString; begin Result:='HTMLOListElement'; end; class function TJSHTMLOListElement.Cast(const Intf: IJSObject): IJSHTMLOListElement; begin Result:=TJSHTMLOListElement.JOBCast(Intf); end; function TJSHTMLOptGroupElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLOptGroupElement._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSHTMLOptGroupElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLOptGroupElement._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; constructor TJSHTMLOptGroupElement.Create; begin JOBCreate([]); end; class function TJSHTMLOptGroupElement.JSClassName: UnicodeString; begin Result:='HTMLOptGroupElement'; end; class function TJSHTMLOptGroupElement.Cast(const Intf: IJSObject): IJSHTMLOptGroupElement; begin Result:=TJSHTMLOptGroupElement.JOBCast(Intf); end; function TJSHTMLOptionElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLOptionElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLOptionElement._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSHTMLOptionElement._GetdefaultSelected: Boolean; begin Result:=ReadJSPropertyBoolean('defaultSelected'); end; function TJSHTMLOptionElement._Getselected: Boolean; begin Result:=ReadJSPropertyBoolean('selected'); end; function TJSHTMLOptionElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLOptionElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSHTMLOptionElement._Getindex: LongInt; begin Result:=ReadJSPropertyLongInt('index'); end; procedure TJSHTMLOptionElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLOptionElement._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSHTMLOptionElement._SetdefaultSelected(const aValue : Boolean); begin WriteJSPropertyBoolean('defaultSelected',aValue); end; procedure TJSHTMLOptionElement._Setselected(const aValue : Boolean); begin WriteJSPropertyBoolean('selected',aValue); end; procedure TJSHTMLOptionElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; procedure TJSHTMLOptionElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; constructor TJSHTMLOptionElement.Create; begin JOBCreate([]); end; class function TJSHTMLOptionElement.JSClassName: UnicodeString; begin Result:='HTMLOptionElement'; end; class function TJSHTMLOptionElement.Cast(const Intf: IJSObject): IJSHTMLOptionElement; begin Result:=TJSHTMLOptionElement.JOBCast(Intf); end; function TJSHTMLOptionsCollection._Getlength_2: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSHTMLOptionsCollection._GetselectedIndex: LongInt; begin Result:=ReadJSPropertyLongInt('selectedIndex'); end; procedure TJSHTMLOptionsCollection._Setlength_2(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; procedure TJSHTMLOptionsCollection._SetselectedIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('selectedIndex',aValue); end; procedure TJSHTMLOptionsCollection.SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); begin InvokeJSNoResult('',[aIndex,aOption]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptionElement); begin InvokeJSNoResult('add',[aElement]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptGroupElement); begin InvokeJSNoResult('add',[aElement]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptionElement; aBefore: LongInt); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLOptionsCollection.add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLOptionsCollection.remove(aIndex: LongInt); begin InvokeJSNoResult('remove',[aIndex]); end; class function TJSHTMLOptionsCollection.JSClassName: UnicodeString; begin Result:='HTMLOptionsCollection'; end; class function TJSHTMLOptionsCollection.Cast(const Intf: IJSObject): IJSHTMLOptionsCollection; begin Result:=TJSHTMLOptionsCollection.JOBCast(Intf); end; function TJSHTMLOutputElement._GethtmlFor: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('htmlFor',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLOutputElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLOutputElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLOutputElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLOutputElement._GetdefaultValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('defaultValue'); end; function TJSHTMLOutputElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLOutputElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLOutputElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLOutputElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLOutputElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; procedure TJSHTMLOutputElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLOutputElement._SetdefaultValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('defaultValue',aValue); end; procedure TJSHTMLOutputElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSHTMLOutputElement.Create; begin JOBCreate([]); end; function TJSHTMLOutputElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLOutputElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLOutputElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; class function TJSHTMLOutputElement.JSClassName: UnicodeString; begin Result:='HTMLOutputElement'; end; class function TJSHTMLOutputElement.Cast(const Intf: IJSObject): IJSHTMLOutputElement; begin Result:=TJSHTMLOutputElement.JOBCast(Intf); end; function TJSHTMLParagraphElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; procedure TJSHTMLParagraphElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; constructor TJSHTMLParagraphElement.Create; begin JOBCreate([]); end; class function TJSHTMLParagraphElement.JSClassName: UnicodeString; begin Result:='HTMLParagraphElement'; end; class function TJSHTMLParagraphElement.Cast(const Intf: IJSObject): IJSHTMLParagraphElement; begin Result:=TJSHTMLParagraphElement.JOBCast(Intf); end; function TJSHTMLParamElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLParamElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLParamElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLParamElement._GetvalueType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('valueType'); end; procedure TJSHTMLParamElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLParamElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; procedure TJSHTMLParamElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLParamElement._SetvalueType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('valueType',aValue); end; constructor TJSHTMLParamElement.Create; begin JOBCreate([]); end; class function TJSHTMLParamElement.JSClassName: UnicodeString; begin Result:='HTMLParamElement'; end; class function TJSHTMLParamElement.Cast(const Intf: IJSObject): IJSHTMLParamElement; begin Result:=TJSHTMLParamElement.JOBCast(Intf); end; constructor TJSHTMLPictureElement.Create; begin JOBCreate([]); end; class function TJSHTMLPictureElement.JSClassName: UnicodeString; begin Result:='HTMLPictureElement'; end; class function TJSHTMLPictureElement.Cast(const Intf: IJSObject): IJSHTMLPictureElement; begin Result:=TJSHTMLPictureElement.JOBCast(Intf); end; function TJSHTMLPreElement._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; procedure TJSHTMLPreElement._Setwidth(const aValue : LongInt); begin WriteJSPropertyLongInt('width',aValue); end; constructor TJSHTMLPreElement.Create; begin JOBCreate([]); end; class function TJSHTMLPreElement.JSClassName: UnicodeString; begin Result:='HTMLPreElement'; end; class function TJSHTMLPreElement.Cast(const Intf: IJSObject): IJSHTMLPreElement; begin Result:=TJSHTMLPreElement.JOBCast(Intf); end; function TJSHTMLProgressElement._Getvalue: Double; begin Result:=ReadJSPropertyDouble('value'); end; function TJSHTMLProgressElement._Getmax: Double; begin Result:=ReadJSPropertyDouble('max'); end; function TJSHTMLProgressElement._Getposition: Double; begin Result:=ReadJSPropertyDouble('position'); end; function TJSHTMLProgressElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; procedure TJSHTMLProgressElement._Setvalue(const aValue : Double); begin WriteJSPropertyDouble('value',aValue); end; procedure TJSHTMLProgressElement._Setmax(const aValue : Double); begin WriteJSPropertyDouble('max',aValue); end; constructor TJSHTMLProgressElement.Create; begin JOBCreate([]); end; class function TJSHTMLProgressElement.JSClassName: UnicodeString; begin Result:='HTMLProgressElement'; end; class function TJSHTMLProgressElement.Cast(const Intf: IJSObject): IJSHTMLProgressElement; begin Result:=TJSHTMLProgressElement.JOBCast(Intf); end; function TJSHTMLQuoteElement._Getcite: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cite'); end; procedure TJSHTMLQuoteElement._Setcite(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cite',aValue); end; constructor TJSHTMLQuoteElement.Create; begin JOBCreate([]); end; class function TJSHTMLQuoteElement.JSClassName: UnicodeString; begin Result:='HTMLQuoteElement'; end; class function TJSHTMLQuoteElement.Cast(const Intf: IJSObject): IJSHTMLQuoteElement; begin Result:=TJSHTMLQuoteElement.JOBCast(Intf); end; function TJSHTMLScriptElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLScriptElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLScriptElement._GetnoModule: Boolean; begin Result:=ReadJSPropertyBoolean('noModule'); end; function TJSHTMLScriptElement._Getcharset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('charset'); end; function TJSHTMLScriptElement._Getasync: Boolean; begin Result:=ReadJSPropertyBoolean('async'); end; function TJSHTMLScriptElement._Getdefer: Boolean; begin Result:=ReadJSPropertyBoolean('defer'); end; function TJSHTMLScriptElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSHTMLScriptElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSHTMLScriptElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSHTMLScriptElement._Getblocking: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('blocking',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLScriptElement._GetfetchPriority: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('fetchPriority'); end; function TJSHTMLScriptElement._Getevent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('event'); end; function TJSHTMLScriptElement._GethtmlFor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('htmlFor'); end; function TJSHTMLScriptElement._Getintegrity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('integrity'); end; procedure TJSHTMLScriptElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLScriptElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLScriptElement._SetnoModule(const aValue : Boolean); begin WriteJSPropertyBoolean('noModule',aValue); end; procedure TJSHTMLScriptElement._Setcharset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('charset',aValue); end; procedure TJSHTMLScriptElement._Setasync(const aValue : Boolean); begin WriteJSPropertyBoolean('async',aValue); end; procedure TJSHTMLScriptElement._Setdefer(const aValue : Boolean); begin WriteJSPropertyBoolean('defer',aValue); end; procedure TJSHTMLScriptElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; procedure TJSHTMLScriptElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSHTMLScriptElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; procedure TJSHTMLScriptElement._SetfetchPriority(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('fetchPriority',aValue); end; procedure TJSHTMLScriptElement._Setevent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('event',aValue); end; procedure TJSHTMLScriptElement._SethtmlFor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('htmlFor',aValue); end; procedure TJSHTMLScriptElement._Setintegrity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('integrity',aValue); end; constructor TJSHTMLScriptElement.Create; begin JOBCreate([]); end; function TJSHTMLScriptElement.supports(const aType_: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('supports',[aType_]); end; class function TJSHTMLScriptElement.JSClassName: UnicodeString; begin Result:='HTMLScriptElement'; end; class function TJSHTMLScriptElement.Cast(const Intf: IJSObject): IJSHTMLScriptElement; begin Result:=TJSHTMLScriptElement.JOBCast(Intf); end; function TJSHTMLSelectElement._Getautocomplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocomplete'); end; function TJSHTMLSelectElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLSelectElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLSelectElement._Getmultiple: Boolean; begin Result:=ReadJSPropertyBoolean('multiple'); end; function TJSHTMLSelectElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLSelectElement._Getrequired: Boolean; begin Result:=ReadJSPropertyBoolean('required'); end; function TJSHTMLSelectElement._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; function TJSHTMLSelectElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLSelectElement._Getoptions: IJSHTMLOptionsCollection; begin Result:=ReadJSPropertyObject('options',TJSHTMLOptionsCollection) as IJSHTMLOptionsCollection; end; function TJSHTMLSelectElement._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSHTMLSelectElement._GetselectedOptions: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('selectedOptions',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLSelectElement._GetselectedIndex: LongInt; begin Result:=ReadJSPropertyLongInt('selectedIndex'); end; function TJSHTMLSelectElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLSelectElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLSelectElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLSelectElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLSelectElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; procedure TJSHTMLSelectElement._Setautocomplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocomplete',aValue); end; procedure TJSHTMLSelectElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLSelectElement._Setmultiple(const aValue : Boolean); begin WriteJSPropertyBoolean('multiple',aValue); end; procedure TJSHTMLSelectElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLSelectElement._Setrequired(const aValue : Boolean); begin WriteJSPropertyBoolean('required',aValue); end; procedure TJSHTMLSelectElement._Setsize(const aValue : Cardinal); begin WriteJSPropertyDouble('size',aValue); end; procedure TJSHTMLSelectElement._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; procedure TJSHTMLSelectElement._SetselectedIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('selectedIndex',aValue); end; procedure TJSHTMLSelectElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSHTMLSelectElement.Create; begin JOBCreate([]); end; function TJSHTMLSelectElement.item(aIndex: Cardinal): IJSElement; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSElement) as IJSElement; end; function TJSHTMLSelectElement.namedItem(const aName: UnicodeString): IJSHTMLOptionElement; begin Result:=InvokeJSObjectResult('namedItem',[aName],TJSHTMLOptionElement) as IJSHTMLOptionElement; end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptGroupElement; aBefore: IJSHTMLElement); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptionElement; aBefore: IJSHTMLElement); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptionElement); begin InvokeJSNoResult('add',[aElement]); end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptGroupElement); begin InvokeJSNoResult('add',[aElement]); end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptionElement; aBefore: LongInt); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLSelectElement.add(aElement: IJSHTMLOptGroupElement; aBefore: LongInt); begin InvokeJSNoResult('add',[aElement,aBefore]); end; procedure TJSHTMLSelectElement.remove(aIndex: LongInt); begin InvokeJSNoResult('remove',[aIndex]); end; procedure TJSHTMLSelectElement.SetDefault(aIndex: Cardinal; aOption: IJSHTMLOptionElement); begin InvokeJSNoResult('',[aIndex,aOption]); end; function TJSHTMLSelectElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLSelectElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLSelectElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; procedure TJSHTMLSelectElement.showPicker; begin InvokeJSNoResult('showPicker',[]); end; procedure TJSHTMLSelectElement.remove; begin InvokeJSNoResult('remove',[]); end; class function TJSHTMLSelectElement.JSClassName: UnicodeString; begin Result:='HTMLSelectElement'; end; class function TJSHTMLSelectElement.Cast(const Intf: IJSObject): IJSHTMLSelectElement; begin Result:=TJSHTMLSelectElement.JOBCast(Intf); end; function TJSHTMLSlotElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSHTMLSlotElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSHTMLSlotElement.Create; begin JOBCreate([]); end; function TJSHTMLSlotElement.assignedNodes(const aOptions: IJSAssignedNodesOptions): TIJSNodeDynArray; begin Result:=InvokeJSObjectResult('assignedNodes',[aOptions],TJSArray) as TIJSNodeDynArray; end; function TJSHTMLSlotElement.assignedNodes: TIJSNodeDynArray; begin Result:=InvokeJSObjectResult('assignedNodes',[],TJSArray) as TIJSNodeDynArray; end; function TJSHTMLSlotElement.assignedElements(const aOptions: IJSAssignedNodesOptions): TJSElementDynArray; begin Result:=InvokeJSObjectResult('assignedElements',[aOptions],TJSArray) as TJSElementDynArray; end; function TJSHTMLSlotElement.assignedElements: TJSElementDynArray; begin Result:=InvokeJSObjectResult('assignedElements',[],TJSArray) as TJSElementDynArray; end; procedure TJSHTMLSlotElement.assign(aNodes: IJSElement){; ToDo:varargs}; begin InvokeJSNoResult('assign',[aNodes]); end; procedure TJSHTMLSlotElement.assign(aNodes: IJSText){; ToDo:varargs}; begin InvokeJSNoResult('assign',[aNodes]); end; class function TJSHTMLSlotElement.JSClassName: UnicodeString; begin Result:='HTMLSlotElement'; end; class function TJSHTMLSlotElement.Cast(const Intf: IJSObject): IJSHTMLSlotElement; begin Result:=TJSHTMLSlotElement.JOBCast(Intf); end; function TJSAssignedNodesOptions._Getflatten: Boolean; begin Result:=ReadJSPropertyBoolean('flatten'); end; procedure TJSAssignedNodesOptions._Setflatten(const aValue : Boolean); begin WriteJSPropertyBoolean('flatten',aValue); end; constructor TJSAssignedNodesOptions.create(const aDict : TJSAssignedNodesOptionsRec); overload; begin Self.flatten:=aDict.flatten; end; class function TJSAssignedNodesOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAssignedNodesOptions.Cast(const Intf: IJSObject): IJSAssignedNodesOptions; begin Result:=TJSAssignedNodesOptions.JOBCast(Intf); end; function TJSHTMLSourceElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLSourceElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLSourceElement._Getsrcset: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('srcset'); end; function TJSHTMLSourceElement._Getsizes: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sizes'); end; function TJSHTMLSourceElement._Getmedia: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('media'); end; function TJSHTMLSourceElement._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSHTMLSourceElement._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; procedure TJSHTMLSourceElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLSourceElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSHTMLSourceElement._Setsrcset(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('srcset',aValue); end; procedure TJSHTMLSourceElement._Setsizes(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sizes',aValue); end; procedure TJSHTMLSourceElement._Setmedia(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('media',aValue); end; procedure TJSHTMLSourceElement._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSHTMLSourceElement._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; constructor TJSHTMLSourceElement.Create; begin JOBCreate([]); end; class function TJSHTMLSourceElement.JSClassName: UnicodeString; begin Result:='HTMLSourceElement'; end; class function TJSHTMLSourceElement.Cast(const Intf: IJSObject): IJSHTMLSourceElement; begin Result:=TJSHTMLSourceElement.JOBCast(Intf); end; constructor TJSHTMLSpanElement.Create; begin JOBCreate([]); end; class function TJSHTMLSpanElement.JSClassName: UnicodeString; begin Result:='HTMLSpanElement'; end; class function TJSHTMLSpanElement.Cast(const Intf: IJSObject): IJSHTMLSpanElement; begin Result:=TJSHTMLSpanElement.JOBCast(Intf); end; function TJSHTMLStyleElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLStyleElement._Getmedia: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('media'); end; function TJSHTMLStyleElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLStyleElement._Getblocking: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('blocking',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSHTMLStyleElement._Getsheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('sheet',TJSStyleSheet) as IJSStyleSheet; end; procedure TJSHTMLStyleElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLStyleElement._Setmedia(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('media',aValue); end; procedure TJSHTMLStyleElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSHTMLStyleElement.Create; begin JOBCreate([]); end; class function TJSHTMLStyleElement.JSClassName: UnicodeString; begin Result:='HTMLStyleElement'; end; class function TJSHTMLStyleElement.Cast(const Intf: IJSObject): IJSHTMLStyleElement; begin Result:=TJSHTMLStyleElement.JOBCast(Intf); end; function TJSHTMLTableCaptionElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; procedure TJSHTMLTableCaptionElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; constructor TJSHTMLTableCaptionElement.Create; begin JOBCreate([]); end; class function TJSHTMLTableCaptionElement.JSClassName: UnicodeString; begin Result:='HTMLTableCaptionElement'; end; class function TJSHTMLTableCaptionElement.Cast(const Intf: IJSObject): IJSHTMLTableCaptionElement; begin Result:=TJSHTMLTableCaptionElement.JOBCast(Intf); end; function TJSHTMLTableCellElement._GetcolSpan: Cardinal; begin Result:=ReadJSPropertyInt64('colSpan'); end; function TJSHTMLTableCellElement._GetrowSpan: Cardinal; begin Result:=ReadJSPropertyInt64('rowSpan'); end; function TJSHTMLTableCellElement._Getheaders: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('headers'); end; function TJSHTMLTableCellElement._GetcellIndex: LongInt; begin Result:=ReadJSPropertyLongInt('cellIndex'); end; function TJSHTMLTableCellElement._Getabbr: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('abbr'); end; function TJSHTMLTableCellElement._Getscope: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scope'); end; function TJSHTMLTableCellElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLTableCellElement._Getaxis: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('axis'); end; function TJSHTMLTableCellElement._Getheight: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('height'); end; function TJSHTMLTableCellElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; function TJSHTMLTableCellElement._Getch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ch'); end; function TJSHTMLTableCellElement._GetchOff: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('chOff'); end; function TJSHTMLTableCellElement._GetnoWrap: Boolean; begin Result:=ReadJSPropertyBoolean('noWrap'); end; function TJSHTMLTableCellElement._GetvAlign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vAlign'); end; function TJSHTMLTableCellElement._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; procedure TJSHTMLTableCellElement._SetcolSpan(const aValue : Cardinal); begin WriteJSPropertyDouble('colSpan',aValue); end; procedure TJSHTMLTableCellElement._SetrowSpan(const aValue : Cardinal); begin WriteJSPropertyDouble('rowSpan',aValue); end; procedure TJSHTMLTableCellElement._Setheaders(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('headers',aValue); end; procedure TJSHTMLTableCellElement._Setabbr(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('abbr',aValue); end; procedure TJSHTMLTableCellElement._Setscope(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scope',aValue); end; procedure TJSHTMLTableCellElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLTableCellElement._Setaxis(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('axis',aValue); end; procedure TJSHTMLTableCellElement._Setheight(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('height',aValue); end; procedure TJSHTMLTableCellElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; procedure TJSHTMLTableCellElement._Setch(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ch',aValue); end; procedure TJSHTMLTableCellElement._SetchOff(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('chOff',aValue); end; procedure TJSHTMLTableCellElement._SetnoWrap(const aValue : Boolean); begin WriteJSPropertyBoolean('noWrap',aValue); end; procedure TJSHTMLTableCellElement._SetvAlign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vAlign',aValue); end; procedure TJSHTMLTableCellElement._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; constructor TJSHTMLTableCellElement.Create; begin JOBCreate([]); end; class function TJSHTMLTableCellElement.JSClassName: UnicodeString; begin Result:='HTMLTableCellElement'; end; class function TJSHTMLTableCellElement.Cast(const Intf: IJSObject): IJSHTMLTableCellElement; begin Result:=TJSHTMLTableCellElement.JOBCast(Intf); end; function TJSHTMLTableColElement._Getspan: Cardinal; begin Result:=ReadJSPropertyInt64('span'); end; function TJSHTMLTableColElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLTableColElement._Getch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ch'); end; function TJSHTMLTableColElement._GetchOff: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('chOff'); end; function TJSHTMLTableColElement._GetvAlign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vAlign'); end; function TJSHTMLTableColElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; procedure TJSHTMLTableColElement._Setspan(const aValue : Cardinal); begin WriteJSPropertyDouble('span',aValue); end; procedure TJSHTMLTableColElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLTableColElement._Setch(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ch',aValue); end; procedure TJSHTMLTableColElement._SetchOff(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('chOff',aValue); end; procedure TJSHTMLTableColElement._SetvAlign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vAlign',aValue); end; procedure TJSHTMLTableColElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; constructor TJSHTMLTableColElement.Create; begin JOBCreate([]); end; class function TJSHTMLTableColElement.JSClassName: UnicodeString; begin Result:='HTMLTableColElement'; end; class function TJSHTMLTableColElement.Cast(const Intf: IJSObject): IJSHTMLTableColElement; begin Result:=TJSHTMLTableColElement.JOBCast(Intf); end; function TJSHTMLTableElement._Getcaption: IJSHTMLTableCaptionElement; begin Result:=ReadJSPropertyObject('caption',TJSHTMLTableCaptionElement) as IJSHTMLTableCaptionElement; end; function TJSHTMLTableElement._GettHead: IJSHTMLTableSectionElement; begin Result:=ReadJSPropertyObject('tHead',TJSHTMLTableSectionElement) as IJSHTMLTableSectionElement; end; function TJSHTMLTableElement._GettFoot: IJSHTMLTableSectionElement; begin Result:=ReadJSPropertyObject('tFoot',TJSHTMLTableSectionElement) as IJSHTMLTableSectionElement; end; function TJSHTMLTableElement._GettBodies: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('tBodies',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLTableElement._Getrows: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('rows',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLTableElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLTableElement._Getborder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('border'); end; function TJSHTMLTableElement._Getframe: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('frame'); end; function TJSHTMLTableElement._Getrules: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rules'); end; function TJSHTMLTableElement._Getsummary: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('summary'); end; function TJSHTMLTableElement._Getwidth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('width'); end; function TJSHTMLTableElement._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; function TJSHTMLTableElement._GetcellPadding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cellPadding'); end; function TJSHTMLTableElement._GetcellSpacing: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cellSpacing'); end; procedure TJSHTMLTableElement._Setcaption(const aValue : IJSHTMLTableCaptionElement); begin WriteJSPropertyObject('caption',aValue); end; procedure TJSHTMLTableElement._SettHead(const aValue : IJSHTMLTableSectionElement); begin WriteJSPropertyObject('tHead',aValue); end; procedure TJSHTMLTableElement._SettFoot(const aValue : IJSHTMLTableSectionElement); begin WriteJSPropertyObject('tFoot',aValue); end; procedure TJSHTMLTableElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLTableElement._Setborder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('border',aValue); end; procedure TJSHTMLTableElement._Setframe(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('frame',aValue); end; procedure TJSHTMLTableElement._Setrules(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rules',aValue); end; procedure TJSHTMLTableElement._Setsummary(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('summary',aValue); end; procedure TJSHTMLTableElement._Setwidth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('width',aValue); end; procedure TJSHTMLTableElement._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; procedure TJSHTMLTableElement._SetcellPadding(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cellPadding',aValue); end; procedure TJSHTMLTableElement._SetcellSpacing(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cellSpacing',aValue); end; constructor TJSHTMLTableElement.Create; begin JOBCreate([]); end; function TJSHTMLTableElement.createCaption: IJSHTMLElement; begin Result:=InvokeJSObjectResult('createCaption',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableElement.deleteCaption; begin InvokeJSNoResult('deleteCaption',[]); end; function TJSHTMLTableElement.createTHead: IJSHTMLElement; begin Result:=InvokeJSObjectResult('createTHead',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableElement.deleteTHead; begin InvokeJSNoResult('deleteTHead',[]); end; function TJSHTMLTableElement.createTFoot: IJSHTMLElement; begin Result:=InvokeJSObjectResult('createTFoot',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableElement.deleteTFoot; begin InvokeJSNoResult('deleteTFoot',[]); end; function TJSHTMLTableElement.createTBody: IJSHTMLElement; begin Result:=InvokeJSObjectResult('createTBody',[],TJSHTMLElement) as IJSHTMLElement; end; function TJSHTMLTableElement.insertRow(aIndex: LongInt): IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertRow',[aIndex],TJSHTMLElement) as IJSHTMLElement; end; function TJSHTMLTableElement.insertRow: IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertRow',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableElement.deleteRow(aIndex: LongInt); begin InvokeJSNoResult('deleteRow',[aIndex]); end; class function TJSHTMLTableElement.JSClassName: UnicodeString; begin Result:='HTMLTableElement'; end; class function TJSHTMLTableElement.Cast(const Intf: IJSObject): IJSHTMLTableElement; begin Result:=TJSHTMLTableElement.JOBCast(Intf); end; function TJSHTMLTableRowElement._GetrowIndex: LongInt; begin Result:=ReadJSPropertyLongInt('rowIndex'); end; function TJSHTMLTableRowElement._GetsectionRowIndex: LongInt; begin Result:=ReadJSPropertyLongInt('sectionRowIndex'); end; function TJSHTMLTableRowElement._Getcells: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('cells',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLTableRowElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLTableRowElement._Getch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ch'); end; function TJSHTMLTableRowElement._GetchOff: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('chOff'); end; function TJSHTMLTableRowElement._GetvAlign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vAlign'); end; function TJSHTMLTableRowElement._GetbgColor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('bgColor'); end; procedure TJSHTMLTableRowElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLTableRowElement._Setch(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ch',aValue); end; procedure TJSHTMLTableRowElement._SetchOff(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('chOff',aValue); end; procedure TJSHTMLTableRowElement._SetvAlign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vAlign',aValue); end; procedure TJSHTMLTableRowElement._SetbgColor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('bgColor',aValue); end; constructor TJSHTMLTableRowElement.Create; begin JOBCreate([]); end; function TJSHTMLTableRowElement.insertCell(aIndex: LongInt): IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertCell',[aIndex],TJSHTMLElement) as IJSHTMLElement; end; function TJSHTMLTableRowElement.insertCell: IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertCell',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableRowElement.deleteCell(aIndex: LongInt); begin InvokeJSNoResult('deleteCell',[aIndex]); end; class function TJSHTMLTableRowElement.JSClassName: UnicodeString; begin Result:='HTMLTableRowElement'; end; class function TJSHTMLTableRowElement.Cast(const Intf: IJSObject): IJSHTMLTableRowElement; begin Result:=TJSHTMLTableRowElement.JOBCast(Intf); end; function TJSHTMLTableSectionElement._Getrows: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('rows',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSHTMLTableSectionElement._Getalign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSHTMLTableSectionElement._Getch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ch'); end; function TJSHTMLTableSectionElement._GetchOff: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('chOff'); end; function TJSHTMLTableSectionElement._GetvAlign: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vAlign'); end; procedure TJSHTMLTableSectionElement._Setalign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSHTMLTableSectionElement._Setch(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ch',aValue); end; procedure TJSHTMLTableSectionElement._SetchOff(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('chOff',aValue); end; procedure TJSHTMLTableSectionElement._SetvAlign(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vAlign',aValue); end; constructor TJSHTMLTableSectionElement.Create; begin JOBCreate([]); end; function TJSHTMLTableSectionElement.insertRow(aIndex: LongInt): IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertRow',[aIndex],TJSHTMLElement) as IJSHTMLElement; end; function TJSHTMLTableSectionElement.insertRow: IJSHTMLElement; begin Result:=InvokeJSObjectResult('insertRow',[],TJSHTMLElement) as IJSHTMLElement; end; procedure TJSHTMLTableSectionElement.deleteRow(aIndex: LongInt); begin InvokeJSNoResult('deleteRow',[aIndex]); end; class function TJSHTMLTableSectionElement.JSClassName: UnicodeString; begin Result:='HTMLTableSectionElement'; end; class function TJSHTMLTableSectionElement.Cast(const Intf: IJSObject): IJSHTMLTableSectionElement; begin Result:=TJSHTMLTableSectionElement.JOBCast(Intf); end; function TJSHTMLTemplateElement._Getcontent: IJSDocumentFragment; begin Result:=ReadJSPropertyObject('content',TJSDocumentFragment) as IJSDocumentFragment; end; function TJSHTMLTemplateElement._GetshadowRootMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('shadowRootMode'); end; function TJSHTMLTemplateElement._GetshadowRootDelegatesFocus: Boolean; begin Result:=ReadJSPropertyBoolean('shadowRootDelegatesFocus'); end; function TJSHTMLTemplateElement._GetshadowRootClonable: Boolean; begin Result:=ReadJSPropertyBoolean('shadowRootClonable'); end; procedure TJSHTMLTemplateElement._SetshadowRootMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('shadowRootMode',aValue); end; procedure TJSHTMLTemplateElement._SetshadowRootDelegatesFocus(const aValue : Boolean); begin WriteJSPropertyBoolean('shadowRootDelegatesFocus',aValue); end; procedure TJSHTMLTemplateElement._SetshadowRootClonable(const aValue : Boolean); begin WriteJSPropertyBoolean('shadowRootClonable',aValue); end; constructor TJSHTMLTemplateElement.Create; begin JOBCreate([]); end; class function TJSHTMLTemplateElement.JSClassName: UnicodeString; begin Result:='HTMLTemplateElement'; end; class function TJSHTMLTemplateElement.Cast(const Intf: IJSObject): IJSHTMLTemplateElement; begin Result:=TJSHTMLTemplateElement.JOBCast(Intf); end; class function TJSnsIEditor.JSClassName: UnicodeString; begin Result:='nsIEditor'; end; class function TJSnsIEditor.Cast(const Intf: IJSObject): IJSnsIEditor; begin Result:=TJSnsIEditor.JOBCast(Intf); end; function TJSHTMLTextAreaElement._Getautocomplete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('autocomplete'); end; function TJSHTMLTextAreaElement._Getcols: Cardinal; begin Result:=ReadJSPropertyInt64('cols'); end; function TJSHTMLTextAreaElement._GetdirName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dirName'); end; function TJSHTMLTextAreaElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSHTMLTextAreaElement._Getform: IJSHTMLFormElement; begin Result:=ReadJSPropertyObject('form',TJSHTMLFormElement) as IJSHTMLFormElement; end; function TJSHTMLTextAreaElement._GetmaxLength: LongInt; begin Result:=ReadJSPropertyLongInt('maxLength'); end; function TJSHTMLTextAreaElement._GetminLength: LongInt; begin Result:=ReadJSPropertyLongInt('minLength'); end; function TJSHTMLTextAreaElement._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSHTMLTextAreaElement._Getplaceholder: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('placeholder'); end; function TJSHTMLTextAreaElement._GetreadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('readOnly'); end; function TJSHTMLTextAreaElement._Getrequired: Boolean; begin Result:=ReadJSPropertyBoolean('required'); end; function TJSHTMLTextAreaElement._Getrows: Cardinal; begin Result:=ReadJSPropertyInt64('rows'); end; function TJSHTMLTextAreaElement._Getwrap: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('wrap'); end; function TJSHTMLTextAreaElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSHTMLTextAreaElement._GetdefaultValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('defaultValue'); end; function TJSHTMLTextAreaElement._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; function TJSHTMLTextAreaElement._GettextLength: Cardinal; begin Result:=ReadJSPropertyInt64('textLength'); end; function TJSHTMLTextAreaElement._GetwillValidate: Boolean; begin Result:=ReadJSPropertyBoolean('willValidate'); end; function TJSHTMLTextAreaElement._Getvalidity: IJSValidityState; begin Result:=ReadJSPropertyObject('validity',TJSValidityState) as IJSValidityState; end; function TJSHTMLTextAreaElement._GetvalidationMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationMessage'); end; function TJSHTMLTextAreaElement._Getlabels: IJSNodeList; begin Result:=ReadJSPropertyObject('labels',TJSNodeList) as IJSNodeList; end; function TJSHTMLTextAreaElement._GetselectionStart: Cardinal; begin Result:=ReadJSPropertyInt64('selectionStart'); end; function TJSHTMLTextAreaElement._GetselectionEnd: Cardinal; begin Result:=ReadJSPropertyInt64('selectionEnd'); end; function TJSHTMLTextAreaElement._GetselectionDirection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('selectionDirection'); end; procedure TJSHTMLTextAreaElement._Setautocomplete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('autocomplete',aValue); end; procedure TJSHTMLTextAreaElement._Setcols(const aValue : Cardinal); begin WriteJSPropertyDouble('cols',aValue); end; procedure TJSHTMLTextAreaElement._SetdirName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dirName',aValue); end; procedure TJSHTMLTextAreaElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSHTMLTextAreaElement._SetmaxLength(const aValue : LongInt); begin WriteJSPropertyLongInt('maxLength',aValue); end; procedure TJSHTMLTextAreaElement._SetminLength(const aValue : LongInt); begin WriteJSPropertyLongInt('minLength',aValue); end; procedure TJSHTMLTextAreaElement._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSHTMLTextAreaElement._Setplaceholder(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('placeholder',aValue); end; procedure TJSHTMLTextAreaElement._SetreadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('readOnly',aValue); end; procedure TJSHTMLTextAreaElement._Setrequired(const aValue : Boolean); begin WriteJSPropertyBoolean('required',aValue); end; procedure TJSHTMLTextAreaElement._Setrows(const aValue : Cardinal); begin WriteJSPropertyDouble('rows',aValue); end; procedure TJSHTMLTextAreaElement._Setwrap(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('wrap',aValue); end; procedure TJSHTMLTextAreaElement._SetdefaultValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('defaultValue',aValue); end; procedure TJSHTMLTextAreaElement._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; procedure TJSHTMLTextAreaElement._SetselectionStart(const aValue : Cardinal); begin WriteJSPropertyDouble('selectionStart',aValue); end; procedure TJSHTMLTextAreaElement._SetselectionEnd(const aValue : Cardinal); begin WriteJSPropertyDouble('selectionEnd',aValue); end; procedure TJSHTMLTextAreaElement._SetselectionDirection(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('selectionDirection',aValue); end; constructor TJSHTMLTextAreaElement.Create; begin JOBCreate([]); end; function TJSHTMLTextAreaElement.checkValidity: Boolean; begin Result:=InvokeJSBooleanResult('checkValidity',[]); end; function TJSHTMLTextAreaElement.reportValidity: Boolean; begin Result:=InvokeJSBooleanResult('reportValidity',[]); end; procedure TJSHTMLTextAreaElement.setCustomValidity(const aError: UnicodeString); begin InvokeJSNoResult('setCustomValidity',[aError]); end; procedure TJSHTMLTextAreaElement.select; begin InvokeJSNoResult('select',[]); end; procedure TJSHTMLTextAreaElement.setRangeText(const aReplacement: UnicodeString); begin InvokeJSNoResult('setRangeText',[aReplacement]); end; procedure TJSHTMLTextAreaElement.setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal; aSelectionMode: TSelectionMode); begin InvokeJSNoResult('setRangeText',[aReplacement,aStart,aEnd_,aSelectionMode]); end; procedure TJSHTMLTextAreaElement.setRangeText(const aReplacement: UnicodeString; aStart: Cardinal; aEnd_: Cardinal); begin InvokeJSNoResult('setRangeText',[aReplacement,aStart,aEnd_]); end; procedure TJSHTMLTextAreaElement.setSelectionRange(aStart: Cardinal; aEnd_: Cardinal; const aDirection: UnicodeString); begin InvokeJSNoResult('setSelectionRange',[aStart,aEnd_,aDirection]); end; procedure TJSHTMLTextAreaElement.setSelectionRange(aStart: Cardinal; aEnd_: Cardinal); begin InvokeJSNoResult('setSelectionRange',[aStart,aEnd_]); end; procedure TJSHTMLTextAreaElement.setUserInput(const aInput: UnicodeString); begin InvokeJSNoResult('setUserInput',[aInput]); end; class function TJSHTMLTextAreaElement.JSClassName: UnicodeString; begin Result:='HTMLTextAreaElement'; end; class function TJSHTMLTextAreaElement.Cast(const Intf: IJSObject): IJSHTMLTextAreaElement; begin Result:=TJSHTMLTextAreaElement.JOBCast(Intf); end; function TJSHTMLTimeElement._GetdateTime: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dateTime'); end; procedure TJSHTMLTimeElement._SetdateTime(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dateTime',aValue); end; constructor TJSHTMLTimeElement.Create; begin JOBCreate([]); end; class function TJSHTMLTimeElement.JSClassName: UnicodeString; begin Result:='HTMLTimeElement'; end; class function TJSHTMLTimeElement.Cast(const Intf: IJSObject): IJSHTMLTimeElement; begin Result:=TJSHTMLTimeElement.JOBCast(Intf); end; function TJSHTMLTitleElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; procedure TJSHTMLTitleElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; constructor TJSHTMLTitleElement.Create; begin JOBCreate([]); end; class function TJSHTMLTitleElement.JSClassName: UnicodeString; begin Result:='HTMLTitleElement'; end; class function TJSHTMLTitleElement.Cast(const Intf: IJSObject): IJSHTMLTitleElement; begin Result:=TJSHTMLTitleElement.JOBCast(Intf); end; function TJSHTMLTrackElement._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSHTMLTrackElement._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSHTMLTrackElement._Getsrclang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('srclang'); end; function TJSHTMLTrackElement._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSHTMLTrackElement._Getdefault: Boolean; begin Result:=ReadJSPropertyBoolean('default'); end; function TJSHTMLTrackElement._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSHTMLTrackElement._Gettrack: IJSTextTrack; begin Result:=ReadJSPropertyObject('track',TJSTextTrack) as IJSTextTrack; end; procedure TJSHTMLTrackElement._Setkind(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('kind',aValue); end; procedure TJSHTMLTrackElement._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSHTMLTrackElement._Setsrclang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('srclang',aValue); end; procedure TJSHTMLTrackElement._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSHTMLTrackElement._Setdefault(const aValue : Boolean); begin WriteJSPropertyBoolean('default',aValue); end; constructor TJSHTMLTrackElement.Create; begin JOBCreate([]); end; class function TJSHTMLTrackElement.JSClassName: UnicodeString; begin Result:='HTMLTrackElement'; end; class function TJSHTMLTrackElement.Cast(const Intf: IJSObject): IJSHTMLTrackElement; begin Result:=TJSHTMLTrackElement.JOBCast(Intf); end; function TJSHTMLUListElement._Getcompact: Boolean; begin Result:=ReadJSPropertyBoolean('compact'); end; function TJSHTMLUListElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSHTMLUListElement._Setcompact(const aValue : Boolean); begin WriteJSPropertyBoolean('compact',aValue); end; procedure TJSHTMLUListElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSHTMLUListElement.Create; begin JOBCreate([]); end; class function TJSHTMLUListElement.JSClassName: UnicodeString; begin Result:='HTMLUListElement'; end; class function TJSHTMLUListElement.Cast(const Intf: IJSObject): IJSHTMLUListElement; begin Result:=TJSHTMLUListElement.JOBCast(Intf); end; function TJSHTMLVideoElement._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSHTMLVideoElement._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSHTMLVideoElement._GetvideoWidth: Cardinal; begin Result:=ReadJSPropertyInt64('videoWidth'); end; function TJSHTMLVideoElement._GetvideoHeight: Cardinal; begin Result:=ReadJSPropertyInt64('videoHeight'); end; function TJSHTMLVideoElement._Getposter: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('poster'); end; function TJSHTMLVideoElement._GetmozParsedFrames: Cardinal; begin Result:=ReadJSPropertyInt64('mozParsedFrames'); end; function TJSHTMLVideoElement._GetmozDecodedFrames: Cardinal; begin Result:=ReadJSPropertyInt64('mozDecodedFrames'); end; function TJSHTMLVideoElement._GetmozPresentedFrames: Cardinal; begin Result:=ReadJSPropertyInt64('mozPresentedFrames'); end; function TJSHTMLVideoElement._GetmozPaintedFrames: Cardinal; begin Result:=ReadJSPropertyInt64('mozPaintedFrames'); end; function TJSHTMLVideoElement._GetmozFrameDelay: Double; begin Result:=ReadJSPropertyDouble('mozFrameDelay'); end; function TJSHTMLVideoElement._GetmozHasAudio: Boolean; begin Result:=ReadJSPropertyBoolean('mozHasAudio'); end; function TJSHTMLVideoElement._GetisCloningElementVisually: Boolean; begin Result:=ReadJSPropertyBoolean('isCloningElementVisually'); end; function TJSHTMLVideoElement._GetdisablePictureInPicture: Boolean; begin Result:=ReadJSPropertyBoolean('disablePictureInPicture'); end; procedure TJSHTMLVideoElement._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSHTMLVideoElement._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSHTMLVideoElement._Setposter(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('poster',aValue); end; procedure TJSHTMLVideoElement._SetdisablePictureInPicture(const aValue : Boolean); begin WriteJSPropertyBoolean('disablePictureInPicture',aValue); end; constructor TJSHTMLVideoElement.Create; begin JOBCreate([]); end; function TJSHTMLVideoElement.cloneElementVisually(aTarget: IJSHTMLVideoElement): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('cloneElementVisually',[aTarget],TJSPromise) as IJSPromise; end; procedure TJSHTMLVideoElement.stopCloningElementVisually; begin InvokeJSNoResult('stopCloningElementVisually',[]); end; function TJSHTMLVideoElement.getVideoPlaybackQuality: IJSVideoPlaybackQuality; begin Result:=InvokeJSObjectResult('getVideoPlaybackQuality',[],TJSVideoPlaybackQuality) as IJSVideoPlaybackQuality; end; class function TJSHTMLVideoElement.JSClassName: UnicodeString; begin Result:='HTMLVideoElement'; end; class function TJSHTMLVideoElement.Cast(const Intf: IJSObject): IJSHTMLVideoElement; begin Result:=TJSHTMLVideoElement.JOBCast(Intf); end; function TJSIDBCursor._Getsource: TIDBCursor_source_Type; begin Result:=ReadJSPropertyVariant('source'); end; function TJSIDBCursor._Getdirection: TIDBCursorDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSIDBCursor._Getkey: Variant; begin Result:=ReadJSPropertyVariant('key'); end; function TJSIDBCursor._GetprimaryKey: Variant; begin Result:=ReadJSPropertyVariant('primaryKey'); end; function TJSIDBCursor._Getrequest: IJSIDBRequest; begin Result:=ReadJSPropertyObject('request',TJSIDBRequest) as IJSIDBRequest; end; procedure TJSIDBCursor.advance(aCount: Cardinal); begin InvokeJSNoResult('advance',[aCount]); end; procedure TJSIDBCursor.continue(const aKey: Variant); begin InvokeJSNoResult('continue',[aKey]); end; procedure TJSIDBCursor.continue; begin InvokeJSNoResult('continue',[]); end; procedure TJSIDBCursor.continuePrimaryKey(const aKey: Variant; const aPrimaryKey: Variant); begin InvokeJSNoResult('continuePrimaryKey',[aKey,aPrimaryKey]); end; function TJSIDBCursor.update(const aValue: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('update',[aValue],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBCursor.delete: IJSIDBRequest; begin Result:=InvokeJSObjectResult('delete',[],TJSIDBRequest) as IJSIDBRequest; end; class function TJSIDBCursor.JSClassName: UnicodeString; begin Result:='IDBCursor'; end; class function TJSIDBCursor.Cast(const Intf: IJSObject): IJSIDBCursor; begin Result:=TJSIDBCursor.JOBCast(Intf); end; function TJSIDBCursorWithValue._Getvalue: Variant; begin Result:=ReadJSPropertyVariant('value'); end; class function TJSIDBCursorWithValue.JSClassName: UnicodeString; begin Result:='IDBCursorWithValue'; end; class function TJSIDBCursorWithValue.Cast(const Intf: IJSObject): IJSIDBCursorWithValue; begin Result:=TJSIDBCursorWithValue.JOBCast(Intf); end; function TJSIDBTransactionOptions._Getdurability: TIDBTransactionDurability; begin Result:=ReadJSPropertyUnicodeString('durability'); end; procedure TJSIDBTransactionOptions._Setdurability(const aValue : TIDBTransactionDurability); begin WriteJSPropertyUnicodeString('durability',aValue); end; constructor TJSIDBTransactionOptions.create(const aDict : TJSIDBTransactionOptionsRec); overload; begin Self.durability:=aDict.durability; end; class function TJSIDBTransactionOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBTransactionOptions.Cast(const Intf: IJSObject): IJSIDBTransactionOptions; begin Result:=TJSIDBTransactionOptions.JOBCast(Intf); end; function TJSIDBDatabase._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSIDBDatabase._Getversion: QWord; begin Result:=ReadJSPropertyInt64('version'); end; function TJSIDBDatabase._GetobjectStoreNames: IJSDOMStringList; begin Result:=ReadJSPropertyObject('objectStoreNames',TJSDOMStringList) as IJSDOMStringList; end; function TJSIDBDatabase._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSIDBDatabase._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSIDBDatabase._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSIDBDatabase._Getonversionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onversionchange'))); end; procedure TJSIDBDatabase._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSIDBDatabase._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSIDBDatabase._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSIDBDatabase._Setonversionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onversionchange',[m],jiSet); finally m.free end; end; function TJSIDBDatabase.transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames,aMode,aOptions],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode; const aOptions: IJSIDBTransactionOptions): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames,aMode,aOptions],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.transaction(const aStoreNames: TUnicodeStringDynArray): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.transaction(const aStoreNames: UnicodeString): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.transaction(const aStoreNames: TUnicodeStringDynArray; aMode: TIDBTransactionMode): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames,aMode],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.transaction(const aStoreNames: UnicodeString; aMode: TIDBTransactionMode): IJSIDBTransaction; begin Result:=InvokeJSObjectResult('transaction',[aStoreNames,aMode],TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBDatabase.createObjectStore(const aName: UnicodeString; const aOptions: IJSIDBObjectStoreParameters): IJSIDBObjectStore; begin Result:=InvokeJSObjectResult('createObjectStore',[aName,aOptions],TJSIDBObjectStore) as IJSIDBObjectStore; end; function TJSIDBDatabase.createObjectStore(const aName: UnicodeString): IJSIDBObjectStore; begin Result:=InvokeJSObjectResult('createObjectStore',[aName],TJSIDBObjectStore) as IJSIDBObjectStore; end; procedure TJSIDBDatabase.deleteObjectStore(const aName: UnicodeString); begin InvokeJSNoResult('deleteObjectStore',[aName]); end; procedure TJSIDBDatabase.close; begin InvokeJSNoResult('close',[]); end; class function TJSIDBDatabase.JSClassName: UnicodeString; begin Result:='IDBDatabase'; end; class function TJSIDBDatabase.Cast(const Intf: IJSObject): IJSIDBDatabase; begin Result:=TJSIDBDatabase.JOBCast(Intf); end; function TJSIDBOpenDBOptions._Getversion: QWord; begin Result:=ReadJSPropertyInt64('version'); end; procedure TJSIDBOpenDBOptions._Setversion(const aValue : QWord); begin WriteJSPropertyDouble('version',aValue); end; constructor TJSIDBOpenDBOptions.create(const aDict : TJSIDBOpenDBOptionsRec); overload; begin Self.version:=aDict.version; end; class function TJSIDBOpenDBOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBOpenDBOptions.Cast(const Intf: IJSObject): IJSIDBOpenDBOptions; begin Result:=TJSIDBOpenDBOptions.JOBCast(Intf); end; function TJSIDBFactory.open(const aName: UnicodeString; aVersion: QWord): IJSIDBOpenDBRequest; begin Result:=InvokeJSObjectResult('open',[aName,aVersion],TJSIDBOpenDBRequest) as IJSIDBOpenDBRequest; end; function TJSIDBFactory.open(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; begin Result:=InvokeJSObjectResult('open',[aName,aOptions],TJSIDBOpenDBRequest) as IJSIDBOpenDBRequest; end; function TJSIDBFactory.open(const aName: UnicodeString): IJSIDBOpenDBRequest; begin Result:=InvokeJSObjectResult('open',[aName],TJSIDBOpenDBRequest) as IJSIDBOpenDBRequest; end; function TJSIDBFactory.deleteDatabase(const aName: UnicodeString; const aOptions: IJSIDBOpenDBOptions): IJSIDBOpenDBRequest; begin Result:=InvokeJSObjectResult('deleteDatabase',[aName,aOptions],TJSIDBOpenDBRequest) as IJSIDBOpenDBRequest; end; function TJSIDBFactory.deleteDatabase(const aName: UnicodeString): IJSIDBOpenDBRequest; begin Result:=InvokeJSObjectResult('deleteDatabase',[aName],TJSIDBOpenDBRequest) as IJSIDBOpenDBRequest; end; function TJSIDBFactory.databases: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('databases',[],TJSPromise) as IJSPromise; end; function TJSIDBFactory.cmp(const aFirst: Variant; const aSecond: Variant): SmallInt; begin Result:=InvokeJSLongIntResult('cmp',[aFirst,aSecond]); end; class function TJSIDBFactory.JSClassName: UnicodeString; begin Result:='IDBFactory'; end; class function TJSIDBFactory.Cast(const Intf: IJSObject): IJSIDBFactory; begin Result:=TJSIDBFactory.JOBCast(Intf); end; function TJSIDBDatabaseInfo._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSIDBDatabaseInfo._Getversion: QWord; begin Result:=ReadJSPropertyInt64('version'); end; procedure TJSIDBDatabaseInfo._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSIDBDatabaseInfo._Setversion(const aValue : QWord); begin WriteJSPropertyDouble('version',aValue); end; constructor TJSIDBDatabaseInfo.create(const aDict : TJSIDBDatabaseInfoRec); overload; begin Self.name:=aDict.name; Self.version:=aDict.version; end; class function TJSIDBDatabaseInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBDatabaseInfo.Cast(const Intf: IJSObject): IJSIDBDatabaseInfo; begin Result:=TJSIDBDatabaseInfo.JOBCast(Intf); end; function TJSIDBIndexParameters._Getunique: Boolean; begin Result:=ReadJSPropertyBoolean('unique'); end; function TJSIDBIndexParameters._GetmultiEntry: Boolean; begin Result:=ReadJSPropertyBoolean('multiEntry'); end; function TJSIDBIndexParameters._Getlocale: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('locale'); end; procedure TJSIDBIndexParameters._Setunique(const aValue : Boolean); begin WriteJSPropertyBoolean('unique',aValue); end; procedure TJSIDBIndexParameters._SetmultiEntry(const aValue : Boolean); begin WriteJSPropertyBoolean('multiEntry',aValue); end; procedure TJSIDBIndexParameters._Setlocale(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('locale',aValue); end; constructor TJSIDBIndexParameters.create(const aDict : TJSIDBIndexParametersRec); overload; begin Self.unique:=aDict.unique; Self.multiEntry:=aDict.multiEntry; Self.locale:=aDict.locale; end; class function TJSIDBIndexParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBIndexParameters.Cast(const Intf: IJSObject): IJSIDBIndexParameters; begin Result:=TJSIDBIndexParameters.JOBCast(Intf); end; function TJSIDBIndex._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSIDBIndex._GetobjectStore: IJSIDBObjectStore; begin Result:=ReadJSPropertyObject('objectStore',TJSIDBObjectStore) as IJSIDBObjectStore; end; function TJSIDBIndex._GetkeyPath: Variant; begin Result:=ReadJSPropertyVariant('keyPath'); end; function TJSIDBIndex._GetmultiEntry: Boolean; begin Result:=ReadJSPropertyBoolean('multiEntry'); end; function TJSIDBIndex._Getunique: Boolean; begin Result:=ReadJSPropertyBoolean('unique'); end; function TJSIDBIndex._Getlocale: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('locale'); end; function TJSIDBIndex._GetisAutoLocale: Boolean; begin Result:=ReadJSPropertyBoolean('isAutoLocale'); end; procedure TJSIDBIndex._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; function TJSIDBIndex.get(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('get',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getKey(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getKey',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[aQuery,aCount],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAll: IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAll(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[aQuery,aCount],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAllKeys: IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.getAllKeys(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.count(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('count',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.count: IJSIDBRequest; begin Result:=InvokeJSObjectResult('count',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[aQuery,aDirection],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openCursor: IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openCursor(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[aQuery,aDirection],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openKeyCursor: IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBIndex.openKeyCursor(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; class function TJSIDBIndex.JSClassName: UnicodeString; begin Result:='IDBIndex'; end; class function TJSIDBIndex.Cast(const Intf: IJSObject): IJSIDBIndex; begin Result:=TJSIDBIndex.JOBCast(Intf); end; function TJSIDBKeyRange._Getlower: Variant; begin Result:=ReadJSPropertyVariant('lower'); end; function TJSIDBKeyRange._Getupper: Variant; begin Result:=ReadJSPropertyVariant('upper'); end; function TJSIDBKeyRange._GetlowerOpen: Boolean; begin Result:=ReadJSPropertyBoolean('lowerOpen'); end; function TJSIDBKeyRange._GetupperOpen: Boolean; begin Result:=ReadJSPropertyBoolean('upperOpen'); end; function TJSIDBKeyRange.includes(const aKey: Variant): Boolean; begin Result:=InvokeJSBooleanResult('includes',[aKey]); end; function TJSIDBKeyRange.only(const aValue: Variant): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('only',[aValue],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.lowerBound(const aLower: Variant; aOpen: Boolean): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('lowerBound',[aLower,aOpen],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.lowerBound(const aLower: Variant): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('lowerBound',[aLower],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.upperBound(const aUpper: Variant; aOpen: Boolean): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('upperBound',[aUpper,aOpen],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.upperBound(const aUpper: Variant): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('upperBound',[aUpper],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.bound(const aLower: Variant; const aUpper: Variant; aLowerOpen: Boolean; aUpperOpen: Boolean): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('bound',[aLower,aUpper,aLowerOpen,aUpperOpen],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.bound(const aLower: Variant; const aUpper: Variant): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('bound',[aLower,aUpper],TJSIDBKeyRange) as IJSIDBKeyRange; end; function TJSIDBKeyRange.bound(const aLower: Variant; const aUpper: Variant; aLowerOpen: Boolean): IJSIDBKeyRange; begin Result:=InvokeJSObjectResult('bound',[aLower,aUpper,aLowerOpen],TJSIDBKeyRange) as IJSIDBKeyRange; end; class function TJSIDBKeyRange.JSClassName: UnicodeString; begin Result:='IDBKeyRange'; end; class function TJSIDBKeyRange.Cast(const Intf: IJSObject): IJSIDBKeyRange; begin Result:=TJSIDBKeyRange.JOBCast(Intf); end; function TJSIDBObjectStoreParameters._GetkeyPath: TIDBObjectStoreParameters_keyPath_Type; begin Result:=ReadJSPropertyVariant('keyPath'); end; function TJSIDBObjectStoreParameters._GetautoIncrement: Boolean; begin Result:=ReadJSPropertyBoolean('autoIncrement'); end; procedure TJSIDBObjectStoreParameters._SetkeyPath(const aValue : TIDBObjectStoreParameters_keyPath_Type); begin WriteJSPropertyVariant('keyPath',aValue); end; procedure TJSIDBObjectStoreParameters._SetautoIncrement(const aValue : Boolean); begin WriteJSPropertyBoolean('autoIncrement',aValue); end; constructor TJSIDBObjectStoreParameters.create(const aDict : TJSIDBObjectStoreParametersRec); overload; begin Self.keyPath:=aDict.keyPath; Self.autoIncrement:=aDict.autoIncrement; end; class function TJSIDBObjectStoreParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBObjectStoreParameters.Cast(const Intf: IJSObject): IJSIDBObjectStoreParameters; begin Result:=TJSIDBObjectStoreParameters.JOBCast(Intf); end; function TJSIDBObjectStore._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSIDBObjectStore._GetkeyPath: Variant; begin Result:=ReadJSPropertyVariant('keyPath'); end; function TJSIDBObjectStore._GetindexNames: IJSDOMStringList; begin Result:=ReadJSPropertyObject('indexNames',TJSDOMStringList) as IJSDOMStringList; end; function TJSIDBObjectStore._Gettransaction: IJSIDBTransaction; begin Result:=ReadJSPropertyObject('transaction',TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBObjectStore._GetautoIncrement: Boolean; begin Result:=ReadJSPropertyBoolean('autoIncrement'); end; procedure TJSIDBObjectStore._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; function TJSIDBObjectStore.put(const aValue: Variant; const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('put',[aValue,aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.put(const aValue: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('put',[aValue],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.add(const aValue: Variant; const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('add',[aValue,aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.add(const aValue: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('add',[aValue],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.delete(const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('delete',[aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.clear: IJSIDBRequest; begin Result:=InvokeJSObjectResult('clear',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.get(const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('get',[aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getKey(const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getKey',[aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAll(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[aQuery,aCount],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAll: IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAll(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAll',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAllKeys(const aQuery: Variant; aCount: Cardinal): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[aQuery,aCount],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAllKeys: IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.getAllKeys(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('getAllKeys',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.count(const aKey: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('count',[aKey],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.count: IJSIDBRequest; begin Result:=InvokeJSObjectResult('count',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openCursor(const aRange: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[aRange,aDirection],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openCursor: IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openCursor(const aRange: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openCursor',[aRange],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openKeyCursor(const aQuery: Variant; aDirection: TIDBCursorDirection): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[aQuery,aDirection],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openKeyCursor: IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.openKeyCursor(const aQuery: Variant): IJSIDBRequest; begin Result:=InvokeJSObjectResult('openKeyCursor',[aQuery],TJSIDBRequest) as IJSIDBRequest; end; function TJSIDBObjectStore.createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; begin Result:=InvokeJSObjectResult('createIndex',[aName,aKeyPath,aOptionalParameters],TJSIDBIndex) as IJSIDBIndex; end; function TJSIDBObjectStore.createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray; const aOptionalParameters: IJSIDBIndexParameters): IJSIDBIndex; begin Result:=InvokeJSObjectResult('createIndex',[aName,aKeyPath,aOptionalParameters],TJSIDBIndex) as IJSIDBIndex; end; function TJSIDBObjectStore.createIndex(const aName: UnicodeString; const aKeyPath: TUnicodeStringDynArray): IJSIDBIndex; begin Result:=InvokeJSObjectResult('createIndex',[aName,aKeyPath],TJSIDBIndex) as IJSIDBIndex; end; function TJSIDBObjectStore.createIndex(const aName: UnicodeString; const aKeyPath: UnicodeString): IJSIDBIndex; begin Result:=InvokeJSObjectResult('createIndex',[aName,aKeyPath],TJSIDBIndex) as IJSIDBIndex; end; function TJSIDBObjectStore.index(const aName: UnicodeString): IJSIDBIndex; begin Result:=InvokeJSObjectResult('index',[aName],TJSIDBIndex) as IJSIDBIndex; end; procedure TJSIDBObjectStore.deleteIndex(const aIndexName: UnicodeString); begin InvokeJSNoResult('deleteIndex',[aIndexName]); end; class function TJSIDBObjectStore.JSClassName: UnicodeString; begin Result:='IDBObjectStore'; end; class function TJSIDBObjectStore.Cast(const Intf: IJSObject): IJSIDBObjectStore; begin Result:=TJSIDBObjectStore.JOBCast(Intf); end; function TJSIDBOpenDBRequest._Getonblocked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblocked'))); end; function TJSIDBOpenDBRequest._Getonupgradeneeded: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onupgradeneeded'))); end; procedure TJSIDBOpenDBRequest._Setonblocked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblocked',[m],jiSet); finally m.free end; end; procedure TJSIDBOpenDBRequest._Setonupgradeneeded(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onupgradeneeded',[m],jiSet); finally m.free end; end; class function TJSIDBOpenDBRequest.JSClassName: UnicodeString; begin Result:='IDBOpenDBRequest'; end; class function TJSIDBOpenDBRequest.Cast(const Intf: IJSObject): IJSIDBOpenDBRequest; begin Result:=TJSIDBOpenDBRequest.JOBCast(Intf); end; function TJSIDBRequest._Getresult: Variant; begin Result:=ReadJSPropertyVariant('result'); end; function TJSIDBRequest._Geterror: IJSDOMException; begin Result:=ReadJSPropertyObject('error',TJSDOMException) as IJSDOMException; end; function TJSIDBRequest._Getsource: TIDBRequest_source_Type; begin Result:=ReadJSPropertyVariant('source'); end; function TJSIDBRequest._Gettransaction: IJSIDBTransaction; begin Result:=ReadJSPropertyObject('transaction',TJSIDBTransaction) as IJSIDBTransaction; end; function TJSIDBRequest._GetreadyState: TIDBRequestReadyState; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSIDBRequest._Getonsuccess: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuccess'))); end; function TJSIDBRequest._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSIDBRequest._Setonsuccess(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuccess',[m],jiSet); finally m.free end; end; procedure TJSIDBRequest._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; class function TJSIDBRequest.JSClassName: UnicodeString; begin Result:='IDBRequest'; end; class function TJSIDBRequest.Cast(const Intf: IJSObject): IJSIDBRequest; begin Result:=TJSIDBRequest.JOBCast(Intf); end; function TJSIDBTransaction._Getmode: TIDBTransactionMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSIDBTransaction._Getdurability: TIDBTransactionDurability; begin Result:=ReadJSPropertyUnicodeString('durability'); end; function TJSIDBTransaction._Getdb: IJSIDBDatabase; begin Result:=ReadJSPropertyObject('db',TJSIDBDatabase) as IJSIDBDatabase; end; function TJSIDBTransaction._Geterror: IJSDOMException; begin Result:=ReadJSPropertyObject('error',TJSDOMException) as IJSDOMException; end; function TJSIDBTransaction._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSIDBTransaction._Getoncomplete: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncomplete'))); end; function TJSIDBTransaction._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSIDBTransaction._GetobjectStoreNames: IJSDOMStringList; begin Result:=ReadJSPropertyObject('objectStoreNames',TJSDOMStringList) as IJSDOMStringList; end; procedure TJSIDBTransaction._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSIDBTransaction._Setoncomplete(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncomplete',[m],jiSet); finally m.free end; end; procedure TJSIDBTransaction._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; function TJSIDBTransaction.objectStore(const aName: UnicodeString): IJSIDBObjectStore; begin Result:=InvokeJSObjectResult('objectStore',[aName],TJSIDBObjectStore) as IJSIDBObjectStore; end; procedure TJSIDBTransaction.commit; begin InvokeJSNoResult('commit',[]); end; procedure TJSIDBTransaction.abort; begin InvokeJSNoResult('abort',[]); end; class function TJSIDBTransaction.JSClassName: UnicodeString; begin Result:='IDBTransaction'; end; class function TJSIDBTransaction.Cast(const Intf: IJSObject): IJSIDBTransaction; begin Result:=TJSIDBTransaction.JOBCast(Intf); end; function TJSIDBVersionChangeEventInit._GetoldVersion: QWord; begin Result:=ReadJSPropertyInt64('oldVersion'); end; function TJSIDBVersionChangeEventInit._GetnewVersion: QWord; begin Result:=ReadJSPropertyInt64('newVersion'); end; procedure TJSIDBVersionChangeEventInit._SetoldVersion(const aValue : QWord); begin WriteJSPropertyDouble('oldVersion',aValue); end; procedure TJSIDBVersionChangeEventInit._SetnewVersion(const aValue : QWord); begin WriteJSPropertyDouble('newVersion',aValue); end; constructor TJSIDBVersionChangeEventInit.create(const aDict : TJSIDBVersionChangeEventInitRec); overload; begin Self.oldVersion:=aDict.oldVersion; Self.newVersion:=aDict.newVersion; end; class function TJSIDBVersionChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIDBVersionChangeEventInit.Cast(const Intf: IJSObject): IJSIDBVersionChangeEventInit; begin Result:=TJSIDBVersionChangeEventInit.JOBCast(Intf); end; function TJSIDBVersionChangeEvent._GetoldVersion: QWord; begin Result:=ReadJSPropertyInt64('oldVersion'); end; function TJSIDBVersionChangeEvent._GetnewVersion: QWord; begin Result:=ReadJSPropertyInt64('newVersion'); end; constructor TJSIDBVersionChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSIDBVersionChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSIDBVersionChangeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSIDBVersionChangeEvent.JSClassName: UnicodeString; begin Result:='IDBVersionChangeEvent'; end; class function TJSIDBVersionChangeEvent.Cast(const Intf: IJSObject): IJSIDBVersionChangeEvent; begin Result:=TJSIDBVersionChangeEvent.JOBCast(Intf); end; function TJSIdentityCredential._Gettoken: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('token'); end; function TJSIdentityCredential.logoutRPs(const aLogoutRequests: TJSIdentityCredentialLogoutRPsRequestDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('logoutRPs',[aLogoutRequests],TJSPromise) as IJSPromise; end; class function TJSIdentityCredential.JSClassName: UnicodeString; begin Result:='IdentityCredential'; end; class function TJSIdentityCredential.Cast(const Intf: IJSObject): IJSIdentityCredential; begin Result:=TJSIdentityCredential.JOBCast(Intf); end; function TJSIdentityCredentialRequestOptions._Getproviders: TJSIdentityProviderConfigDynArray; begin Result:=ReadJSPropertyObject('providers',TJSArray) as TJSIdentityProviderConfigDynArray; end; procedure TJSIdentityCredentialRequestOptions._Setproviders(const aValue : TJSIdentityProviderConfigDynArray); begin WriteJSPropertyObject('providers',aValue); end; constructor TJSIdentityCredentialRequestOptions.create(const aDict : TJSIdentityCredentialRequestOptionsRec); overload; begin Self.providers:=aDict.providers; end; class function TJSIdentityCredentialRequestOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityCredentialRequestOptions.Cast(const Intf: IJSObject): IJSIdentityCredentialRequestOptions; begin Result:=TJSIdentityCredentialRequestOptions.JOBCast(Intf); end; function TJSIdentityProviderConfig._GetconfigURL: UTF8String; begin Result:=ReadJSPropertyUTF8String('configURL'); end; function TJSIdentityProviderConfig._GetclientId: UTF8String; begin Result:=ReadJSPropertyUTF8String('clientId'); end; function TJSIdentityProviderConfig._Getnonce: UTF8String; begin Result:=ReadJSPropertyUTF8String('nonce'); end; procedure TJSIdentityProviderConfig._SetconfigURL(const aValue : UTF8String); begin WriteJSPropertyUTF8String('configURL',aValue); end; procedure TJSIdentityProviderConfig._SetclientId(const aValue : UTF8String); begin WriteJSPropertyUTF8String('clientId',aValue); end; procedure TJSIdentityProviderConfig._Setnonce(const aValue : UTF8String); begin WriteJSPropertyUTF8String('nonce',aValue); end; constructor TJSIdentityProviderConfig.create(const aDict : TJSIdentityProviderConfigRec); overload; begin Self.configURL:=aDict.configURL; Self.clientId:=aDict.clientId; Self.nonce:=aDict.nonce; end; class function TJSIdentityProviderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderConfig.Cast(const Intf: IJSObject): IJSIdentityProviderConfig; begin Result:=TJSIdentityProviderConfig.JOBCast(Intf); end; function TJSIdentityProviderWellKnown._Getprovider_urls: TUTF8StringDynArray; begin Result:=ReadJSPropertyObject('provider_urls',TJSArray) as TUTF8StringDynArray; end; procedure TJSIdentityProviderWellKnown._Setprovider_urls(const aValue : TUTF8StringDynArray); begin WriteJSPropertyObject('provider_urls',aValue); end; constructor TJSIdentityProviderWellKnown.create(const aDict : TJSIdentityProviderWellKnownRec); overload; begin Self.provider_urls:=aDict.provider_urls; end; class function TJSIdentityProviderWellKnown.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderWellKnown.Cast(const Intf: IJSObject): IJSIdentityProviderWellKnown; begin Result:=TJSIdentityProviderWellKnown.JOBCast(Intf); end; function TJSIdentityProviderIcon._Geturl: UTF8String; begin Result:=ReadJSPropertyUTF8String('url'); end; function TJSIdentityProviderIcon._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; procedure TJSIdentityProviderIcon._Seturl(const aValue : UTF8String); begin WriteJSPropertyUTF8String('url',aValue); end; procedure TJSIdentityProviderIcon._Setsize(const aValue : Cardinal); begin WriteJSPropertyDouble('size',aValue); end; constructor TJSIdentityProviderIcon.create(const aDict : TJSIdentityProviderIconRec); overload; begin Self.url:=aDict.url; Self.size:=aDict.size; end; class function TJSIdentityProviderIcon.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderIcon.Cast(const Intf: IJSObject): IJSIdentityProviderIcon; begin Result:=TJSIdentityProviderIcon.JOBCast(Intf); end; function TJSIdentityProviderBranding._Getbackground_color: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('background_color'); end; function TJSIdentityProviderBranding._Getcolor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('color'); end; function TJSIdentityProviderBranding._Geticons: TJSIdentityProviderIconDynArray; begin Result:=ReadJSPropertyObject('icons',TJSArray) as TJSIdentityProviderIconDynArray; end; function TJSIdentityProviderBranding._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSIdentityProviderBranding._Setbackground_color(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('background_color',aValue); end; procedure TJSIdentityProviderBranding._Setcolor(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('color',aValue); end; procedure TJSIdentityProviderBranding._Seticons(const aValue : TJSIdentityProviderIconDynArray); begin WriteJSPropertyObject('icons',aValue); end; procedure TJSIdentityProviderBranding._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSIdentityProviderBranding.create(const aDict : TJSIdentityProviderBrandingRec); overload; begin Self.background_color:=aDict.background_color; Self.color:=aDict.color; Self.icons:=aDict.icons; Self.name:=aDict.name; end; class function TJSIdentityProviderBranding.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderBranding.Cast(const Intf: IJSObject): IJSIdentityProviderBranding; begin Result:=TJSIdentityProviderBranding.JOBCast(Intf); end; function TJSIdentityProviderAPIConfig._Getaccounts_endpoint: UTF8String; begin Result:=ReadJSPropertyUTF8String('accounts_endpoint'); end; function TJSIdentityProviderAPIConfig._Getclient_metadata_endpoint: UTF8String; begin Result:=ReadJSPropertyUTF8String('client_metadata_endpoint'); end; function TJSIdentityProviderAPIConfig._Getid_assertion_endpoint: UTF8String; begin Result:=ReadJSPropertyUTF8String('id_assertion_endpoint'); end; function TJSIdentityProviderAPIConfig._Getbranding: IJSIdentityProviderBranding; begin Result:=ReadJSPropertyObject('branding',TJSIdentityProviderBranding) as IJSIdentityProviderBranding; end; procedure TJSIdentityProviderAPIConfig._Setaccounts_endpoint(const aValue : UTF8String); begin WriteJSPropertyUTF8String('accounts_endpoint',aValue); end; procedure TJSIdentityProviderAPIConfig._Setclient_metadata_endpoint(const aValue : UTF8String); begin WriteJSPropertyUTF8String('client_metadata_endpoint',aValue); end; procedure TJSIdentityProviderAPIConfig._Setid_assertion_endpoint(const aValue : UTF8String); begin WriteJSPropertyUTF8String('id_assertion_endpoint',aValue); end; procedure TJSIdentityProviderAPIConfig._Setbranding(const aValue : IJSIdentityProviderBranding); begin WriteJSPropertyObject('branding',aValue); end; constructor TJSIdentityProviderAPIConfig.create(const aDict : TJSIdentityProviderAPIConfigRec); overload; begin Self.accounts_endpoint:=aDict.accounts_endpoint; Self.client_metadata_endpoint:=aDict.client_metadata_endpoint; Self.id_assertion_endpoint:=aDict.id_assertion_endpoint; Self.branding:=aDict.branding; end; class function TJSIdentityProviderAPIConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderAPIConfig.Cast(const Intf: IJSObject): IJSIdentityProviderAPIConfig; begin Result:=TJSIdentityProviderAPIConfig.JOBCast(Intf); end; function TJSIdentityProviderAccount._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSIdentityProviderAccount._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSIdentityProviderAccount._Getemail: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('email'); end; function TJSIdentityProviderAccount._Getgiven_name: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('given_name'); end; function TJSIdentityProviderAccount._Getpicture: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('picture'); end; function TJSIdentityProviderAccount._Getapproved_clients: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('approved_clients',TJSArray) as TUnicodeStringDynArray; end; procedure TJSIdentityProviderAccount._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSIdentityProviderAccount._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSIdentityProviderAccount._Setemail(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('email',aValue); end; procedure TJSIdentityProviderAccount._Setgiven_name(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('given_name',aValue); end; procedure TJSIdentityProviderAccount._Setpicture(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('picture',aValue); end; procedure TJSIdentityProviderAccount._Setapproved_clients(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('approved_clients',aValue); end; constructor TJSIdentityProviderAccount.create(const aDict : TJSIdentityProviderAccountRec); overload; begin Self.id:=aDict.id; Self.name:=aDict.name; Self.email:=aDict.email; Self.given_name:=aDict.given_name; Self.picture:=aDict.picture; Self.approved_clients:=aDict.approved_clients; end; class function TJSIdentityProviderAccount.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderAccount.Cast(const Intf: IJSObject): IJSIdentityProviderAccount; begin Result:=TJSIdentityProviderAccount.JOBCast(Intf); end; function TJSIdentityProviderAccountList._Getaccounts: TJSIdentityProviderAccountDynArray; begin Result:=ReadJSPropertyObject('accounts',TJSArray) as TJSIdentityProviderAccountDynArray; end; procedure TJSIdentityProviderAccountList._Setaccounts(const aValue : TJSIdentityProviderAccountDynArray); begin WriteJSPropertyObject('accounts',aValue); end; constructor TJSIdentityProviderAccountList.create(const aDict : TJSIdentityProviderAccountListRec); overload; begin Self.accounts:=aDict.accounts; end; class function TJSIdentityProviderAccountList.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderAccountList.Cast(const Intf: IJSObject): IJSIdentityProviderAccountList; begin Result:=TJSIdentityProviderAccountList.JOBCast(Intf); end; function TJSIdentityProviderClientMetadata._Getprivacy_policy_url: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('privacy_policy_url'); end; function TJSIdentityProviderClientMetadata._Getterms_of_service_url: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('terms_of_service_url'); end; procedure TJSIdentityProviderClientMetadata._Setprivacy_policy_url(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('privacy_policy_url',aValue); end; procedure TJSIdentityProviderClientMetadata._Setterms_of_service_url(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('terms_of_service_url',aValue); end; constructor TJSIdentityProviderClientMetadata.create(const aDict : TJSIdentityProviderClientMetadataRec); overload; begin Self.privacy_policy_url:=aDict.privacy_policy_url; Self.terms_of_service_url:=aDict.terms_of_service_url; end; class function TJSIdentityProviderClientMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderClientMetadata.Cast(const Intf: IJSObject): IJSIdentityProviderClientMetadata; begin Result:=TJSIdentityProviderClientMetadata.JOBCast(Intf); end; function TJSIdentityProviderToken._Gettoken: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('token'); end; procedure TJSIdentityProviderToken._Settoken(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('token',aValue); end; constructor TJSIdentityProviderToken.create(const aDict : TJSIdentityProviderTokenRec); overload; begin Self.token:=aDict.token; end; class function TJSIdentityProviderToken.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityProviderToken.Cast(const Intf: IJSObject): IJSIdentityProviderToken; begin Result:=TJSIdentityProviderToken.JOBCast(Intf); end; function TJSIdentityCredentialLogoutRPsRequest._Geturl: UTF8String; begin Result:=ReadJSPropertyUTF8String('url'); end; function TJSIdentityCredentialLogoutRPsRequest._GetaccountId: UTF8String; begin Result:=ReadJSPropertyUTF8String('accountId'); end; procedure TJSIdentityCredentialLogoutRPsRequest._Seturl(const aValue : UTF8String); begin WriteJSPropertyUTF8String('url',aValue); end; procedure TJSIdentityCredentialLogoutRPsRequest._SetaccountId(const aValue : UTF8String); begin WriteJSPropertyUTF8String('accountId',aValue); end; constructor TJSIdentityCredentialLogoutRPsRequest.create(const aDict : TJSIdentityCredentialLogoutRPsRequestRec); overload; begin Self.url:=aDict.url; Self.accountId:=aDict.accountId; end; class function TJSIdentityCredentialLogoutRPsRequest.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdentityCredentialLogoutRPsRequest.Cast(const Intf: IJSObject): IJSIdentityCredentialLogoutRPsRequest; begin Result:=TJSIdentityCredentialLogoutRPsRequest.JOBCast(Intf); end; function TJSIdleDeadline._GetdidTimeout: Boolean; begin Result:=ReadJSPropertyBoolean('didTimeout'); end; function TJSIdleDeadline.timeRemaining: TDOMHighResTimeStamp; begin Result:=InvokeJSDoubleResult('timeRemaining',[]); end; class function TJSIdleDeadline.JSClassName: UnicodeString; begin Result:='IdleDeadline'; end; class function TJSIdleDeadline.Cast(const Intf: IJSObject): IJSIdleDeadline; begin Result:=TJSIdleDeadline.JOBCast(Intf); end; function TJSIIRFilterOptions._Getfeedforward: TDoubleDynArray; begin Result:=ReadJSPropertyObject('feedforward',TJSArray) as TDoubleDynArray; end; function TJSIIRFilterOptions._Getfeedback: TDoubleDynArray; begin Result:=ReadJSPropertyObject('feedback',TJSArray) as TDoubleDynArray; end; procedure TJSIIRFilterOptions._Setfeedforward(const aValue : TDoubleDynArray); begin WriteJSPropertyObject('feedforward',aValue); end; procedure TJSIIRFilterOptions._Setfeedback(const aValue : TDoubleDynArray); begin WriteJSPropertyObject('feedback',aValue); end; constructor TJSIIRFilterOptions.create(const aDict : TJSIIRFilterOptionsRec); overload; begin Self.feedforward:=aDict.feedforward; Self.feedback:=aDict.feedback; end; class function TJSIIRFilterOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIIRFilterOptions.Cast(const Intf: IJSObject): IJSIIRFilterOptions; begin Result:=TJSIIRFilterOptions.JOBCast(Intf); end; constructor TJSIIRFilterNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSIIRFilterOptions); begin JOBCreate([aContext,aOptions]); end; procedure TJSIIRFilterNode.getFrequencyResponse(aFrequencyHz: IJSFloat32Array; aMagResponse: IJSFloat32Array; aPhaseResponse: IJSFloat32Array); begin InvokeJSNoResult('getFrequencyResponse',[aFrequencyHz,aMagResponse,aPhaseResponse]); end; class function TJSIIRFilterNode.JSClassName: UnicodeString; begin Result:='IIRFilterNode'; end; class function TJSIIRFilterNode.Cast(const Intf: IJSObject): IJSIIRFilterNode; begin Result:=TJSIIRFilterNode.JOBCast(Intf); end; function TJSImageBitmap._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSImageBitmap._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; procedure TJSImageBitmap.close; begin InvokeJSNoResult('close',[]); end; class function TJSImageBitmap.JSClassName: UnicodeString; begin Result:='ImageBitmap'; end; class function TJSImageBitmap.Cast(const Intf: IJSObject): IJSImageBitmap; begin Result:=TJSImageBitmap.JOBCast(Intf); end; function TJSChannelPixelLayout._Getoffset: Cardinal; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSChannelPixelLayout._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSChannelPixelLayout._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSChannelPixelLayout._GetdataType: TChannelPixelLayoutDataType; begin Result:=ReadJSPropertyUnicodeString('dataType'); end; function TJSChannelPixelLayout._Getstride: Cardinal; begin Result:=ReadJSPropertyInt64('stride'); end; function TJSChannelPixelLayout._Getskip: Cardinal; begin Result:=ReadJSPropertyInt64('skip'); end; procedure TJSChannelPixelLayout._Setoffset(const aValue : Cardinal); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSChannelPixelLayout._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSChannelPixelLayout._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSChannelPixelLayout._SetdataType(const aValue : TChannelPixelLayoutDataType); begin WriteJSPropertyUnicodeString('dataType',aValue); end; procedure TJSChannelPixelLayout._Setstride(const aValue : Cardinal); begin WriteJSPropertyDouble('stride',aValue); end; procedure TJSChannelPixelLayout._Setskip(const aValue : Cardinal); begin WriteJSPropertyDouble('skip',aValue); end; constructor TJSChannelPixelLayout.create(const aDict : TJSChannelPixelLayoutRec); overload; begin Self.offset:=aDict.offset; Self.width:=aDict.width; Self.height:=aDict.height; Self.dataType:=aDict.dataType; Self.stride:=aDict.stride; Self.skip:=aDict.skip; end; class function TJSChannelPixelLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSChannelPixelLayout.Cast(const Intf: IJSObject): IJSChannelPixelLayout; begin Result:=TJSChannelPixelLayout.JOBCast(Intf); end; function TJSImageBitmapOptions._GetimageOrientation: TImageOrientation; begin Result:=ReadJSPropertyUnicodeString('imageOrientation'); end; function TJSImageBitmapOptions._GetpremultiplyAlpha: TPremultiplyAlpha; begin Result:=ReadJSPropertyUnicodeString('premultiplyAlpha'); end; function TJSImageBitmapOptions._GetcolorSpaceConversion: TColorSpaceConversion; begin Result:=ReadJSPropertyUnicodeString('colorSpaceConversion'); end; function TJSImageBitmapOptions._GetresizeWidth: Cardinal; begin Result:=ReadJSPropertyInt64('resizeWidth'); end; function TJSImageBitmapOptions._GetresizeHeight: Cardinal; begin Result:=ReadJSPropertyInt64('resizeHeight'); end; procedure TJSImageBitmapOptions._SetimageOrientation(const aValue : TImageOrientation); begin WriteJSPropertyUnicodeString('imageOrientation',aValue); end; procedure TJSImageBitmapOptions._SetpremultiplyAlpha(const aValue : TPremultiplyAlpha); begin WriteJSPropertyUnicodeString('premultiplyAlpha',aValue); end; procedure TJSImageBitmapOptions._SetcolorSpaceConversion(const aValue : TColorSpaceConversion); begin WriteJSPropertyUnicodeString('colorSpaceConversion',aValue); end; procedure TJSImageBitmapOptions._SetresizeWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('resizeWidth',aValue); end; procedure TJSImageBitmapOptions._SetresizeHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('resizeHeight',aValue); end; constructor TJSImageBitmapOptions.create(const aDict : TJSImageBitmapOptionsRec); overload; begin Self.imageOrientation:=aDict.imageOrientation; Self.premultiplyAlpha:=aDict.premultiplyAlpha; Self.colorSpaceConversion:=aDict.colorSpaceConversion; Self.resizeWidth:=aDict.resizeWidth; Self.resizeHeight:=aDict.resizeHeight; end; class function TJSImageBitmapOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSImageBitmapOptions.Cast(const Intf: IJSObject): IJSImageBitmapOptions; begin Result:=TJSImageBitmapOptions.JOBCast(Intf); end; function TJSImageBitmapRenderingContext._Getcanvas: TCanvasSource; begin Result:=ReadJSPropertyVariant('canvas'); end; procedure TJSImageBitmapRenderingContext.transferFromImageBitmap(aBitmap: IJSImageBitmap); begin InvokeJSNoResult('transferFromImageBitmap',[aBitmap]); end; procedure TJSImageBitmapRenderingContext.transferImageBitmap(aBitmap: IJSImageBitmap); begin InvokeJSNoResult('transferImageBitmap',[aBitmap]); end; class function TJSImageBitmapRenderingContext.JSClassName: UnicodeString; begin Result:='ImageBitmapRenderingContext'; end; class function TJSImageBitmapRenderingContext.Cast(const Intf: IJSObject): IJSImageBitmapRenderingContext; begin Result:=TJSImageBitmapRenderingContext.JOBCast(Intf); end; function TJSImageCapture._GetvideoStreamTrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('videoStreamTrack',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; function TJSImageCapture._Getonphoto: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onphoto'))); end; function TJSImageCapture._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSImageCapture._Setonphoto(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onphoto',[m],jiSet); finally m.free end; end; procedure TJSImageCapture._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSImageCapture.Create(aTrack: IJSMediaStreamTrack); begin JOBCreate([aTrack]); end; procedure TJSImageCapture.takePhoto; begin InvokeJSNoResult('takePhoto',[]); end; class function TJSImageCapture.JSClassName: UnicodeString; begin Result:='ImageCapture'; end; class function TJSImageCapture.Cast(const Intf: IJSObject): IJSImageCapture; begin Result:=TJSImageCapture.JOBCast(Intf); end; function TJSImageCaptureErrorEvent._GetimageCaptureError: IJSImageCaptureError; begin Result:=ReadJSPropertyObject('imageCaptureError',TJSImageCaptureError) as IJSImageCaptureError; end; constructor TJSImageCaptureErrorEvent.Create(const aType_: UnicodeString; const aImageCaptureErrorInitDict: IJSImageCaptureErrorEventInit); begin JOBCreate([aType_,aImageCaptureErrorInitDict]); end; constructor TJSImageCaptureErrorEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSImageCaptureErrorEvent.JSClassName: UnicodeString; begin Result:='ImageCaptureErrorEvent'; end; class function TJSImageCaptureErrorEvent.Cast(const Intf: IJSObject): IJSImageCaptureErrorEvent; begin Result:=TJSImageCaptureErrorEvent.JOBCast(Intf); end; function TJSImageCaptureErrorEventInit._GetimageCaptureError: IJSImageCaptureError; begin Result:=ReadJSPropertyObject('imageCaptureError',TJSImageCaptureError) as IJSImageCaptureError; end; procedure TJSImageCaptureErrorEventInit._SetimageCaptureError(const aValue : IJSImageCaptureError); begin WriteJSPropertyObject('imageCaptureError',aValue); end; constructor TJSImageCaptureErrorEventInit.create(const aDict : TJSImageCaptureErrorEventInitRec); overload; begin Self.imageCaptureError:=aDict.imageCaptureError; end; class function TJSImageCaptureErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSImageCaptureErrorEventInit.Cast(const Intf: IJSObject): IJSImageCaptureErrorEventInit; begin Result:=TJSImageCaptureErrorEventInit.JOBCast(Intf); end; function TJSImageCaptureError._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; function TJSImageCaptureError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSImageCaptureError.JSClassName: UnicodeString; begin Result:='ImageCaptureError'; end; class function TJSImageCaptureError.Cast(const Intf: IJSObject): IJSImageCaptureError; begin Result:=TJSImageCaptureError.JOBCast(Intf); end; function TJSImageData._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSImageData._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSImageData._Getdata: IJSUint8ClampedArray; begin Result:=ReadJSPropertyObject('data',TJSUint8ClampedArray) as IJSUint8ClampedArray; end; constructor TJSImageData.Create(aSw: Cardinal; aSh: Cardinal); begin JOBCreate([aSw,aSh]); end; constructor TJSImageData.Create(aData: IJSUint8ClampedArray; aSw: Cardinal; aSh: Cardinal); begin JOBCreate([aData,aSw,aSh]); end; constructor TJSImageData.Create(aData: IJSUint8ClampedArray; aSw: Cardinal); begin JOBCreate([aData,aSw]); end; class function TJSImageData.JSClassName: UnicodeString; begin Result:='ImageData'; end; class function TJSImageData.Cast(const Intf: IJSObject): IJSImageData; begin Result:=TJSImageData.JOBCast(Intf); end; function TJSInputEvent._GetisComposing: Boolean; begin Result:=ReadJSPropertyBoolean('isComposing'); end; function TJSInputEvent._GetinputType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inputType'); end; function TJSInputEvent._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSInputEvent._GetdataTransfer: IJSDataTransfer; begin Result:=ReadJSPropertyObject('dataTransfer',TJSDataTransfer) as IJSDataTransfer; end; constructor TJSInputEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSInputEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSInputEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; function TJSInputEvent.getTargetRanges: TJSStaticRangeDynArray; begin Result:=InvokeJSObjectResult('getTargetRanges',[],TJSArray) as TJSStaticRangeDynArray; end; class function TJSInputEvent.JSClassName: UnicodeString; begin Result:='InputEvent'; end; class function TJSInputEvent.Cast(const Intf: IJSObject): IJSInputEvent; begin Result:=TJSInputEvent.JOBCast(Intf); end; function TJSInputEventInit._GetisComposing: Boolean; begin Result:=ReadJSPropertyBoolean('isComposing'); end; function TJSInputEventInit._GetinputType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inputType'); end; function TJSInputEventInit._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; function TJSInputEventInit._GetdataTransfer: IJSDataTransfer; begin Result:=ReadJSPropertyObject('dataTransfer',TJSDataTransfer) as IJSDataTransfer; end; function TJSInputEventInit._GettargetRanges: TJSStaticRangeDynArray; begin Result:=ReadJSPropertyObject('targetRanges',TJSArray) as TJSStaticRangeDynArray; end; procedure TJSInputEventInit._SetisComposing(const aValue : Boolean); begin WriteJSPropertyBoolean('isComposing',aValue); end; procedure TJSInputEventInit._SetinputType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('inputType',aValue); end; procedure TJSInputEventInit._Setdata(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('data',aValue); end; procedure TJSInputEventInit._SetdataTransfer(const aValue : IJSDataTransfer); begin WriteJSPropertyObject('dataTransfer',aValue); end; procedure TJSInputEventInit._SettargetRanges(const aValue : TJSStaticRangeDynArray); begin WriteJSPropertyObject('targetRanges',aValue); end; constructor TJSInputEventInit.create(const aDict : TJSInputEventInitRec); overload; begin Self.isComposing:=aDict.isComposing; Self.inputType:=aDict.inputType; Self.data:=aDict.data; end; class function TJSInputEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSInputEventInit.Cast(const Intf: IJSObject): IJSInputEventInit; begin Result:=TJSInputEventInit.JOBCast(Intf); end; function TJSInstallTriggerData._GetURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('URL'); end; function TJSInstallTriggerData._GetIconURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('IconURL'); end; function TJSInstallTriggerData._GetHash: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('Hash'); end; procedure TJSInstallTriggerData._SetURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('URL',aValue); end; procedure TJSInstallTriggerData._SetIconURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('IconURL',aValue); end; procedure TJSInstallTriggerData._SetHash(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('Hash',aValue); end; constructor TJSInstallTriggerData.create(const aDict : TJSInstallTriggerDataRec); overload; begin Self.URL:=aDict.URL; Self.IconURL:=aDict.IconURL; Self.Hash:=aDict.Hash; end; class function TJSInstallTriggerData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSInstallTriggerData.Cast(const Intf: IJSObject): IJSInstallTriggerData; begin Result:=TJSInstallTriggerData.JOBCast(Intf); end; function TJSIntersectionObserverEntry._Gettime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('time'); end; function TJSIntersectionObserverEntry._GetrootBounds: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('rootBounds',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSIntersectionObserverEntry._GetboundingClientRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('boundingClientRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSIntersectionObserverEntry._GetintersectionRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('intersectionRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSIntersectionObserverEntry._GetisIntersecting: Boolean; begin Result:=ReadJSPropertyBoolean('isIntersecting'); end; function TJSIntersectionObserverEntry._GetintersectionRatio: Double; begin Result:=ReadJSPropertyDouble('intersectionRatio'); end; function TJSIntersectionObserverEntry._Gettarget: IJSElement; begin Result:=ReadJSPropertyObject('target',TJSElement) as IJSElement; end; class function TJSIntersectionObserverEntry.JSClassName: UnicodeString; begin Result:='IntersectionObserverEntry'; end; class function TJSIntersectionObserverEntry.Cast(const Intf: IJSObject): IJSIntersectionObserverEntry; begin Result:=TJSIntersectionObserverEntry.JOBCast(Intf); end; function TJSIntersectionObserver._Getroot: IJSNode; begin Result:=ReadJSPropertyObject('root',TJSNode) as IJSNode; end; function TJSIntersectionObserver._GetrootMargin: UTF8String; begin Result:=ReadJSPropertyUTF8String('rootMargin'); end; function TJSIntersectionObserver._Getthresholds: TDoubleDynArray; begin Result:=ReadJSPropertyObject('thresholds',TJSArray) as TDoubleDynArray; end; constructor TJSIntersectionObserver.Create(const aIntersectionCallback: TIntersectionCallback; const aOptions: IJSIntersectionObserverInit); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aIntersectionCallback),@JOBCallIntersectionCallback); try JOBCreate([m,aOptions]); finally m.free; end; end; constructor TJSIntersectionObserver.Create(const aIntersectionCallback: TIntersectionCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aIntersectionCallback),@JOBCallIntersectionCallback); try JOBCreate([m]); finally m.free; end; end; procedure TJSIntersectionObserver.observe(aTarget: IJSElement); begin InvokeJSNoResult('observe',[aTarget]); end; procedure TJSIntersectionObserver.unobserve(aTarget: IJSElement); begin InvokeJSNoResult('unobserve',[aTarget]); end; procedure TJSIntersectionObserver.disconnect; begin InvokeJSNoResult('disconnect',[]); end; function TJSIntersectionObserver.takeRecords: TJSIntersectionObserverEntryDynArray; begin Result:=InvokeJSObjectResult('takeRecords',[],TJSArray) as TJSIntersectionObserverEntryDynArray; end; class function TJSIntersectionObserver.JSClassName: UnicodeString; begin Result:='IntersectionObserver'; end; class function TJSIntersectionObserver.Cast(const Intf: IJSObject): IJSIntersectionObserver; begin Result:=TJSIntersectionObserver.JOBCast(Intf); end; function TJSIntersectionObserverEntryInit._Gettime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('time'); end; function TJSIntersectionObserverEntryInit._GetrootBounds: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('rootBounds',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSIntersectionObserverEntryInit._GetboundingClientRect: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('boundingClientRect',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSIntersectionObserverEntryInit._GetintersectionRect: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('intersectionRect',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSIntersectionObserverEntryInit._Gettarget: IJSElement; begin Result:=ReadJSPropertyObject('target',TJSElement) as IJSElement; end; procedure TJSIntersectionObserverEntryInit._Settime(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('time',aValue); end; procedure TJSIntersectionObserverEntryInit._SetrootBounds(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('rootBounds',aValue); end; procedure TJSIntersectionObserverEntryInit._SetboundingClientRect(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('boundingClientRect',aValue); end; procedure TJSIntersectionObserverEntryInit._SetintersectionRect(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('intersectionRect',aValue); end; procedure TJSIntersectionObserverEntryInit._Settarget(const aValue : IJSElement); begin WriteJSPropertyObject('target',aValue); end; constructor TJSIntersectionObserverEntryInit.create(const aDict : TJSIntersectionObserverEntryInitRec); overload; begin Self.time:=aDict.time; Self.rootBounds:=aDict.rootBounds; Self.boundingClientRect:=aDict.boundingClientRect; Self.intersectionRect:=aDict.intersectionRect; Self.target:=aDict.target; end; class function TJSIntersectionObserverEntryInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIntersectionObserverEntryInit.Cast(const Intf: IJSObject): IJSIntersectionObserverEntryInit; begin Result:=TJSIntersectionObserverEntryInit.JOBCast(Intf); end; function TJSIntersectionObserverInit._Getroot: TIntersectionObserverInit_root_Type; begin Result:=ReadJSPropertyVariant('root'); end; function TJSIntersectionObserverInit._GetrootMargin: UTF8String; begin Result:=ReadJSPropertyUTF8String('rootMargin'); end; function TJSIntersectionObserverInit._Getthreshold: TIntersectionObserverInit_threshold_Type; begin Result:=ReadJSPropertyVariant('threshold'); end; procedure TJSIntersectionObserverInit._Setroot(const aValue : TIntersectionObserverInit_root_Type); begin WriteJSPropertyVariant('root',aValue); end; procedure TJSIntersectionObserverInit._SetrootMargin(const aValue : UTF8String); begin WriteJSPropertyUTF8String('rootMargin',aValue); end; procedure TJSIntersectionObserverInit._Setthreshold(const aValue : TIntersectionObserverInit_threshold_Type); begin WriteJSPropertyVariant('threshold',aValue); end; constructor TJSIntersectionObserverInit.create(const aDict : TJSIntersectionObserverInitRec); overload; begin Self.root:=aDict.root; Self.rootMargin:=aDict.rootMargin; Self.threshold:=aDict.threshold; end; class function TJSIntersectionObserverInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIntersectionObserverInit.Cast(const Intf: IJSObject): IJSIntersectionObserverInit; begin Result:=TJSIntersectionObserverInit.JOBCast(Intf); end; function TJSDisplayNameOptions._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSDisplayNameOptions._Getstyle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('style'); end; function TJSDisplayNameOptions._Getcalendar: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('calendar'); end; function TJSDisplayNameOptions._Getkeys: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('keys',TJSArray) as TUnicodeStringDynArray; end; procedure TJSDisplayNameOptions._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSDisplayNameOptions._Setstyle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('style',aValue); end; procedure TJSDisplayNameOptions._Setcalendar(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('calendar',aValue); end; procedure TJSDisplayNameOptions._Setkeys(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('keys',aValue); end; constructor TJSDisplayNameOptions.create(const aDict : TJSDisplayNameOptionsRec); overload; begin Self.type_:=aDict.type_; Self.style:=aDict.style; Self.calendar:=aDict.calendar; Self.keys:=aDict.keys; end; class function TJSDisplayNameOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDisplayNameOptions.Cast(const Intf: IJSObject): IJSDisplayNameOptions; begin Result:=TJSDisplayNameOptions.JOBCast(Intf); end; function TJSDisplayNameResult._Getlocale: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('locale'); end; function TJSDisplayNameResult._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSDisplayNameResult._Getstyle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('style'); end; function TJSDisplayNameResult._Getcalendar: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('calendar'); end; function TJSDisplayNameResult._Getvalues: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('values',TJSArray) as TUnicodeStringDynArray; end; procedure TJSDisplayNameResult._Setlocale(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('locale',aValue); end; procedure TJSDisplayNameResult._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSDisplayNameResult._Setstyle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('style',aValue); end; procedure TJSDisplayNameResult._Setcalendar(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('calendar',aValue); end; procedure TJSDisplayNameResult._Setvalues(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('values',aValue); end; constructor TJSDisplayNameResult.create(const aDict : TJSDisplayNameResultRec); overload; begin Self.locale:=aDict.locale; Self.type_:=aDict.type_; Self.style:=aDict.style; Self.calendar:=aDict.calendar; Self.values:=aDict.values; end; class function TJSDisplayNameResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDisplayNameResult.Cast(const Intf: IJSObject): IJSDisplayNameResult; begin Result:=TJSDisplayNameResult.JOBCast(Intf); end; function TJSLocaleInfo._Getlocale: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('locale'); end; function TJSLocaleInfo._Getdirection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('direction'); end; procedure TJSLocaleInfo._Setlocale(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('locale',aValue); end; procedure TJSLocaleInfo._Setdirection(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('direction',aValue); end; constructor TJSLocaleInfo.create(const aDict : TJSLocaleInfoRec); overload; begin Self.locale:=aDict.locale; Self.direction:=aDict.direction; end; class function TJSLocaleInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSLocaleInfo.Cast(const Intf: IJSObject): IJSLocaleInfo; begin Result:=TJSLocaleInfo.JOBCast(Intf); end; function TJSIntlUtils.getDisplayNames(const aLocales: TUnicodeStringDynArray; const aOptions: IJSDisplayNameOptions): IJSDisplayNameResult; begin Result:=InvokeJSObjectResult('getDisplayNames',[aLocales,aOptions],TJSDisplayNameResult) as IJSDisplayNameResult; end; function TJSIntlUtils.getDisplayNames(const aLocales: TUnicodeStringDynArray): IJSDisplayNameResult; begin Result:=InvokeJSObjectResult('getDisplayNames',[aLocales],TJSDisplayNameResult) as IJSDisplayNameResult; end; function TJSIntlUtils.isAppLocaleRTL: Boolean; begin Result:=InvokeJSBooleanResult('isAppLocaleRTL',[]); end; class function TJSIntlUtils.JSClassName: UnicodeString; begin Result:='IntlUtils'; end; class function TJSIntlUtils.Cast(const Intf: IJSObject): IJSIntlUtils; begin Result:=TJSIntlUtils.JOBCast(Intf); end; function TJSInvokeEvent._Getinvoker: IJSElement; begin Result:=ReadJSPropertyObject('invoker',TJSElement) as IJSElement; end; function TJSInvokeEvent._Getaction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('action'); end; constructor TJSInvokeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSInvokeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSInvokeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSInvokeEvent.JSClassName: UnicodeString; begin Result:='InvokeEvent'; end; class function TJSInvokeEvent.Cast(const Intf: IJSObject): IJSInvokeEvent; begin Result:=TJSInvokeEvent.JOBCast(Intf); end; function TJSInvokeEventInit._Getinvoker: IJSElement; begin Result:=ReadJSPropertyObject('invoker',TJSElement) as IJSElement; end; function TJSInvokeEventInit._Getaction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('action'); end; procedure TJSInvokeEventInit._Setinvoker(const aValue : IJSElement); begin WriteJSPropertyObject('invoker',aValue); end; procedure TJSInvokeEventInit._Setaction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('action',aValue); end; constructor TJSInvokeEventInit.create(const aDict : TJSInvokeEventInitRec); overload; begin Self.invoker:=aDict.invoker; Self.action:=aDict.action; end; class function TJSInvokeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSInvokeEventInit.Cast(const Intf: IJSObject): IJSInvokeEventInit; begin Result:=TJSInvokeEventInit.JOBCast(Intf); end; function TJSInvokerElement._GetinvokeTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('invokeTargetElement',TJSElement) as IJSElement; end; function TJSInvokerElement._GetinvokeAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('invokeAction'); end; procedure TJSInvokerElement._SetinvokeTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('invokeTargetElement',aValue); end; procedure TJSInvokerElement._SetinvokeAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('invokeAction',aValue); end; class function TJSInvokerElement.JSClassName: UnicodeString; begin Result:='InvokerElement'; end; class function TJSInvokerElement.Cast(const Intf: IJSObject): IJSInvokerElement; begin Result:=TJSInvokerElement.JOBCast(Intf); end; function TJSIterableKeyOrValueResult._Getvalue: Variant; begin Result:=ReadJSPropertyVariant('value'); end; function TJSIterableKeyOrValueResult._Getdone: Boolean; begin Result:=ReadJSPropertyBoolean('done'); end; procedure TJSIterableKeyOrValueResult._Setvalue(const aValue : Variant); begin WriteJSPropertyVariant('value',aValue); end; procedure TJSIterableKeyOrValueResult._Setdone(const aValue : Boolean); begin WriteJSPropertyBoolean('done',aValue); end; constructor TJSIterableKeyOrValueResult.create(const aDict : TJSIterableKeyOrValueResultRec); overload; begin Self.value:=aDict.value; Self.done:=aDict.done; end; class function TJSIterableKeyOrValueResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIterableKeyOrValueResult.Cast(const Intf: IJSObject): IJSIterableKeyOrValueResult; begin Result:=TJSIterableKeyOrValueResult.JOBCast(Intf); end; function TJSIterableKeyAndValueResult._Getvalue: TVariantDynArray; begin Result:=ReadJSPropertyObject('value',TJSArray) as TVariantDynArray; end; function TJSIterableKeyAndValueResult._Getdone: Boolean; begin Result:=ReadJSPropertyBoolean('done'); end; procedure TJSIterableKeyAndValueResult._Setvalue(const aValue : TVariantDynArray); begin WriteJSPropertyObject('value',aValue); end; procedure TJSIterableKeyAndValueResult._Setdone(const aValue : Boolean); begin WriteJSPropertyBoolean('done',aValue); end; constructor TJSIterableKeyAndValueResult.create(const aDict : TJSIterableKeyAndValueResultRec); overload; begin Self.value:=aDict.value; Self.done:=aDict.done; end; class function TJSIterableKeyAndValueResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIterableKeyAndValueResult.Cast(const Intf: IJSObject): IJSIterableKeyAndValueResult; begin Result:=TJSIterableKeyAndValueResult.JOBCast(Intf); end; function TJSKeyAlgorithm._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSKeyAlgorithm._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSKeyAlgorithm.create(const aDict : TJSKeyAlgorithmRec); overload; begin Self.name:=aDict.name; end; class function TJSKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSKeyAlgorithm.Cast(const Intf: IJSObject): IJSKeyAlgorithm; begin Result:=TJSKeyAlgorithm.JOBCast(Intf); end; function TJSAesKeyAlgorithm._Getlength_: Word; begin Result:=ReadJSPropertyLongInt('length'); end; procedure TJSAesKeyAlgorithm._Setlength_(const aValue : Word); begin WriteJSPropertyLongInt('length',aValue); end; constructor TJSAesKeyAlgorithm.create(const aDict : TJSAesKeyAlgorithmRec); overload; begin Self.length_:=aDict.length_; end; class function TJSAesKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesKeyAlgorithm.Cast(const Intf: IJSObject): IJSAesKeyAlgorithm; begin Result:=TJSAesKeyAlgorithm.JOBCast(Intf); end; function TJSEcKeyAlgorithm._GetnamedCurve: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namedCurve'); end; procedure TJSEcKeyAlgorithm._SetnamedCurve(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('namedCurve',aValue); end; constructor TJSEcKeyAlgorithm.create(const aDict : TJSEcKeyAlgorithmRec); overload; begin Self.namedCurve:=aDict.namedCurve; end; class function TJSEcKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEcKeyAlgorithm.Cast(const Intf: IJSObject): IJSEcKeyAlgorithm; begin Result:=TJSEcKeyAlgorithm.JOBCast(Intf); end; function TJSHmacKeyAlgorithm._Gethash: IJSKeyAlgorithm; begin Result:=ReadJSPropertyObject('hash',TJSKeyAlgorithm) as IJSKeyAlgorithm; end; function TJSHmacKeyAlgorithm._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSHmacKeyAlgorithm._Sethash(const aValue : IJSKeyAlgorithm); begin WriteJSPropertyObject('hash',aValue); end; procedure TJSHmacKeyAlgorithm._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; constructor TJSHmacKeyAlgorithm.create(const aDict : TJSHmacKeyAlgorithmRec); overload; begin Self.hash:=aDict.hash; Self.length_:=aDict.length_; end; class function TJSHmacKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHmacKeyAlgorithm.Cast(const Intf: IJSObject): IJSHmacKeyAlgorithm; begin Result:=TJSHmacKeyAlgorithm.JOBCast(Intf); end; function TJSRsaHashedKeyAlgorithm._GetmodulusLength: Word; begin Result:=ReadJSPropertyLongInt('modulusLength'); end; function TJSRsaHashedKeyAlgorithm._GetpublicExponent: IJSUint8Array; begin Result:=ReadJSPropertyObject('publicExponent',TJSUint8Array) as IJSUint8Array; end; function TJSRsaHashedKeyAlgorithm._Gethash: IJSKeyAlgorithm; begin Result:=ReadJSPropertyObject('hash',TJSKeyAlgorithm) as IJSKeyAlgorithm; end; procedure TJSRsaHashedKeyAlgorithm._SetmodulusLength(const aValue : Word); begin WriteJSPropertyLongInt('modulusLength',aValue); end; procedure TJSRsaHashedKeyAlgorithm._SetpublicExponent(const aValue : IJSUint8Array); begin WriteJSPropertyObject('publicExponent',aValue); end; procedure TJSRsaHashedKeyAlgorithm._Sethash(const aValue : IJSKeyAlgorithm); begin WriteJSPropertyObject('hash',aValue); end; constructor TJSRsaHashedKeyAlgorithm.create(const aDict : TJSRsaHashedKeyAlgorithmRec); overload; begin Self.modulusLength:=aDict.modulusLength; Self.publicExponent:=aDict.publicExponent; Self.hash:=aDict.hash; end; class function TJSRsaHashedKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaHashedKeyAlgorithm.Cast(const Intf: IJSObject): IJSRsaHashedKeyAlgorithm; begin Result:=TJSRsaHashedKeyAlgorithm.JOBCast(Intf); end; function TJSDhKeyAlgorithm._Getprime: IJSUint8Array; begin Result:=ReadJSPropertyObject('prime',TJSUint8Array) as IJSUint8Array; end; function TJSDhKeyAlgorithm._Getgenerator: IJSUint8Array; begin Result:=ReadJSPropertyObject('generator',TJSUint8Array) as IJSUint8Array; end; procedure TJSDhKeyAlgorithm._Setprime(const aValue : IJSUint8Array); begin WriteJSPropertyObject('prime',aValue); end; procedure TJSDhKeyAlgorithm._Setgenerator(const aValue : IJSUint8Array); begin WriteJSPropertyObject('generator',aValue); end; constructor TJSDhKeyAlgorithm.create(const aDict : TJSDhKeyAlgorithmRec); overload; begin Self.prime:=aDict.prime; Self.generator:=aDict.generator; end; class function TJSDhKeyAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDhKeyAlgorithm.Cast(const Intf: IJSObject): IJSDhKeyAlgorithm; begin Result:=TJSDhKeyAlgorithm.JOBCast(Intf); end; function TJSKeyboardEvent._GetcharCode: Cardinal; begin Result:=ReadJSPropertyInt64('charCode'); end; function TJSKeyboardEvent._GetkeyCode: Cardinal; begin Result:=ReadJSPropertyInt64('keyCode'); end; function TJSKeyboardEvent._GetaltKey: Boolean; begin Result:=ReadJSPropertyBoolean('altKey'); end; function TJSKeyboardEvent._GetctrlKey: Boolean; begin Result:=ReadJSPropertyBoolean('ctrlKey'); end; function TJSKeyboardEvent._GetshiftKey: Boolean; begin Result:=ReadJSPropertyBoolean('shiftKey'); end; function TJSKeyboardEvent._GetmetaKey: Boolean; begin Result:=ReadJSPropertyBoolean('metaKey'); end; function TJSKeyboardEvent._Getlocation: Cardinal; begin Result:=ReadJSPropertyInt64('location'); end; function TJSKeyboardEvent._Getrepeat_: Boolean; begin Result:=ReadJSPropertyBoolean('repeat'); end; function TJSKeyboardEvent._GetisComposing: Boolean; begin Result:=ReadJSPropertyBoolean('isComposing'); end; function TJSKeyboardEvent._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSKeyboardEvent._Getcode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('code'); end; constructor TJSKeyboardEvent.Create(const aTypeArg: UnicodeString; const aKeyboardEventInitDict: IJSKeyboardEventInit); begin JOBCreate([aTypeArg,aKeyboardEventInitDict]); end; constructor TJSKeyboardEvent.Create(const aTypeArg: UnicodeString); begin JOBCreate([aTypeArg]); end; function TJSKeyboardEvent.getModifierState(const aKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('getModifierState',[aKey]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg,aLocationArg,aCtrlKey,aAltKey,aShiftKey,aMetaKey]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg,aLocationArg]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg,aLocationArg,aCtrlKey]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg,aLocationArg,aCtrlKey,aAltKey]); end; procedure TJSKeyboardEvent.initKeyboardEvent(const aTypeArg: UnicodeString; aBubblesArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; const aKeyArg: UnicodeString; aLocationArg: Cardinal; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); begin InvokeJSNoResult('initKeyboardEvent',[aTypeArg,aBubblesArg,aCancelableArg,aViewArg,aKeyArg,aLocationArg,aCtrlKey,aAltKey,aShiftKey]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aKeyCode,aCharCode]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initKeyEvent',[aType_]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey]); end; procedure TJSKeyboardEvent.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aKeyCode]); end; class function TJSKeyboardEvent.JSClassName: UnicodeString; begin Result:='KeyboardEvent'; end; class function TJSKeyboardEvent.Cast(const Intf: IJSObject): IJSKeyboardEvent; begin Result:=TJSKeyboardEvent.JOBCast(Intf); end; function TJSKeyboardEventInit._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSKeyboardEventInit._Getcode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('code'); end; function TJSKeyboardEventInit._Getlocation: Cardinal; begin Result:=ReadJSPropertyInt64('location'); end; function TJSKeyboardEventInit._Getrepeat_: Boolean; begin Result:=ReadJSPropertyBoolean('repeat'); end; function TJSKeyboardEventInit._GetisComposing: Boolean; begin Result:=ReadJSPropertyBoolean('isComposing'); end; function TJSKeyboardEventInit._GetcharCode: Cardinal; begin Result:=ReadJSPropertyInt64('charCode'); end; function TJSKeyboardEventInit._GetkeyCode: Cardinal; begin Result:=ReadJSPropertyInt64('keyCode'); end; function TJSKeyboardEventInit._Getwhich: Cardinal; begin Result:=ReadJSPropertyInt64('which'); end; procedure TJSKeyboardEventInit._Setkey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('key',aValue); end; procedure TJSKeyboardEventInit._Setcode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('code',aValue); end; procedure TJSKeyboardEventInit._Setlocation(const aValue : Cardinal); begin WriteJSPropertyDouble('location',aValue); end; procedure TJSKeyboardEventInit._Setrepeat_(const aValue : Boolean); begin WriteJSPropertyBoolean('repeat',aValue); end; procedure TJSKeyboardEventInit._SetisComposing(const aValue : Boolean); begin WriteJSPropertyBoolean('isComposing',aValue); end; procedure TJSKeyboardEventInit._SetcharCode(const aValue : Cardinal); begin WriteJSPropertyDouble('charCode',aValue); end; procedure TJSKeyboardEventInit._SetkeyCode(const aValue : Cardinal); begin WriteJSPropertyDouble('keyCode',aValue); end; procedure TJSKeyboardEventInit._Setwhich(const aValue : Cardinal); begin WriteJSPropertyDouble('which',aValue); end; constructor TJSKeyboardEventInit.create(const aDict : TJSKeyboardEventInitRec); overload; begin Self.key:=aDict.key; Self.code:=aDict.code; Self.location:=aDict.location; Self.repeat_:=aDict.repeat_; Self.isComposing:=aDict.isComposing; Self.charCode:=aDict.charCode; Self.keyCode:=aDict.keyCode; Self.which:=aDict.which; end; class function TJSKeyboardEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSKeyboardEventInit.Cast(const Intf: IJSObject): IJSKeyboardEventInit; begin Result:=TJSKeyboardEventInit.JOBCast(Intf); end; class function TJSKeyEvent.JSClassName: UnicodeString; begin Result:='KeyEvent'; end; class function TJSKeyEvent.Cast(const Intf: IJSObject): IJSKeyEvent; begin Result:=TJSKeyEvent.JOBCast(Intf); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal; aCharCode: Cardinal); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aKeyCode,aCharCode]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initKeyEvent',[aType_]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey]); end; procedure TJSKeyEventMixin.initKeyEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aKeyCode: Cardinal); begin InvokeJSNoResult('initKeyEvent',[aType_,aCanBubble,aCancelable,aView,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aKeyCode]); end; class function TJSKeyEventMixin.JSClassName: UnicodeString; begin Result:='KeyEventMixin'; end; class function TJSKeyEventMixin.Cast(const Intf: IJSObject): IJSKeyEventMixin; begin Result:=TJSKeyEventMixin.JOBCast(Intf); end; function TJSKeyframeEffectOptions._GetiterationComposite: TIterationCompositeOperation; begin Result:=ReadJSPropertyUnicodeString('iterationComposite'); end; function TJSKeyframeEffectOptions._Getcomposite: TCompositeOperation; begin Result:=ReadJSPropertyUnicodeString('composite'); end; function TJSKeyframeEffectOptions._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; procedure TJSKeyframeEffectOptions._SetiterationComposite(const aValue : TIterationCompositeOperation); begin WriteJSPropertyUnicodeString('iterationComposite',aValue); end; procedure TJSKeyframeEffectOptions._Setcomposite(const aValue : TCompositeOperation); begin WriteJSPropertyUnicodeString('composite',aValue); end; procedure TJSKeyframeEffectOptions._SetpseudoElement(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pseudoElement',aValue); end; constructor TJSKeyframeEffectOptions.create(const aDict : TJSKeyframeEffectOptionsRec); overload; begin Self.iterationComposite:=aDict.iterationComposite; Self.composite:=aDict.composite; Self.pseudoElement:=aDict.pseudoElement; end; class function TJSKeyframeEffectOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSKeyframeEffectOptions.Cast(const Intf: IJSObject): IJSKeyframeEffectOptions; begin Result:=TJSKeyframeEffectOptions.JOBCast(Intf); end; function TJSKeyframeEffect._Gettarget: IJSElement; begin Result:=ReadJSPropertyObject('target',TJSElement) as IJSElement; end; function TJSKeyframeEffect._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; function TJSKeyframeEffect._GetiterationComposite: TIterationCompositeOperation; begin Result:=ReadJSPropertyUnicodeString('iterationComposite'); end; function TJSKeyframeEffect._Getcomposite: TCompositeOperation; begin Result:=ReadJSPropertyUnicodeString('composite'); end; procedure TJSKeyframeEffect._Settarget(const aValue : IJSElement); begin WriteJSPropertyObject('target',aValue); end; procedure TJSKeyframeEffect._SetpseudoElement(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pseudoElement',aValue); end; procedure TJSKeyframeEffect._SetiterationComposite(const aValue : TIterationCompositeOperation); begin WriteJSPropertyUnicodeString('iterationComposite',aValue); end; procedure TJSKeyframeEffect._Setcomposite(const aValue : TCompositeOperation); begin WriteJSPropertyUnicodeString('composite',aValue); end; constructor TJSKeyframeEffect.Create(aTarget: IJSElement; aKeyframes: IJSObject; const aOptions: IJSKeyframeEffectOptions); begin JOBCreate([aTarget,aKeyframes,aOptions]); end; constructor TJSKeyframeEffect.Create(aTarget: IJSElement; aKeyframes: IJSObject); begin JOBCreate([aTarget,aKeyframes]); end; constructor TJSKeyframeEffect.Create(aTarget: IJSElement; aKeyframes: IJSObject; aOptions: Double); begin JOBCreate([aTarget,aKeyframes,aOptions]); end; constructor TJSKeyframeEffect.Create(aSource: IJSKeyframeEffect); begin JOBCreate([aSource]); end; function TJSKeyframeEffect.getKeyframes: TIJSObjectDynArray; begin Result:=InvokeJSObjectResult('getKeyframes',[],TJSArray) as TIJSObjectDynArray; end; procedure TJSKeyframeEffect.setKeyframes(aKeyframes: IJSObject); begin InvokeJSNoResult('setKeyframes',[aKeyframes]); end; class function TJSKeyframeEffect.JSClassName: UnicodeString; begin Result:='KeyframeEffect'; end; class function TJSKeyframeEffect.Cast(const Intf: IJSObject): IJSKeyframeEffect; begin Result:=TJSKeyframeEffect.JOBCast(Intf); end; function TJSAnimationPropertyValueDetails._Getoffset: Double; begin Result:=ReadJSPropertyDouble('offset'); end; function TJSAnimationPropertyValueDetails._Getvalue: UTF8String; begin Result:=ReadJSPropertyUTF8String('value'); end; function TJSAnimationPropertyValueDetails._Geteasing: UTF8String; begin Result:=ReadJSPropertyUTF8String('easing'); end; function TJSAnimationPropertyValueDetails._Getcomposite: TCompositeOperation; begin Result:=ReadJSPropertyUnicodeString('composite'); end; procedure TJSAnimationPropertyValueDetails._Setoffset(const aValue : Double); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSAnimationPropertyValueDetails._Setvalue(const aValue : UTF8String); begin WriteJSPropertyUTF8String('value',aValue); end; procedure TJSAnimationPropertyValueDetails._Seteasing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('easing',aValue); end; procedure TJSAnimationPropertyValueDetails._Setcomposite(const aValue : TCompositeOperation); begin WriteJSPropertyUnicodeString('composite',aValue); end; constructor TJSAnimationPropertyValueDetails.create(const aDict : TJSAnimationPropertyValueDetailsRec); overload; begin Self.offset:=aDict.offset; Self.value:=aDict.value; Self.easing:=aDict.easing; Self.composite:=aDict.composite; end; class function TJSAnimationPropertyValueDetails.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAnimationPropertyValueDetails.Cast(const Intf: IJSObject): IJSAnimationPropertyValueDetails; begin Result:=TJSAnimationPropertyValueDetails.JOBCast(Intf); end; function TJSAnimationPropertyDetails._Getproperty_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('property'); end; function TJSAnimationPropertyDetails._GetrunningOnCompositor: Boolean; begin Result:=ReadJSPropertyBoolean('runningOnCompositor'); end; function TJSAnimationPropertyDetails._Getwarning: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('warning'); end; function TJSAnimationPropertyDetails._Getvalues: TJSAnimationPropertyValueDetailsDynArray; begin Result:=ReadJSPropertyObject('values',TJSArray) as TJSAnimationPropertyValueDetailsDynArray; end; procedure TJSAnimationPropertyDetails._Setproperty_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('property',aValue); end; procedure TJSAnimationPropertyDetails._SetrunningOnCompositor(const aValue : Boolean); begin WriteJSPropertyBoolean('runningOnCompositor',aValue); end; procedure TJSAnimationPropertyDetails._Setwarning(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('warning',aValue); end; procedure TJSAnimationPropertyDetails._Setvalues(const aValue : TJSAnimationPropertyValueDetailsDynArray); begin WriteJSPropertyObject('values',aValue); end; constructor TJSAnimationPropertyDetails.create(const aDict : TJSAnimationPropertyDetailsRec); overload; begin Self.property_:=aDict.property_; Self.runningOnCompositor:=aDict.runningOnCompositor; Self.warning:=aDict.warning; Self.values:=aDict.values; end; class function TJSAnimationPropertyDetails.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAnimationPropertyDetails.Cast(const Intf: IJSObject): IJSAnimationPropertyDetails; begin Result:=TJSAnimationPropertyDetails.JOBCast(Intf); end; function TJSKeyIdsInitData._Getkids: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('kids',TJSArray) as TUnicodeStringDynArray; end; procedure TJSKeyIdsInitData._Setkids(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('kids',aValue); end; constructor TJSKeyIdsInitData.create(const aDict : TJSKeyIdsInitDataRec); overload; begin Self.kids:=aDict.kids; end; class function TJSKeyIdsInitData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSKeyIdsInitData.Cast(const Intf: IJSObject): IJSKeyIdsInitData; begin Result:=TJSKeyIdsInitData.JOBCast(Intf); end; function TJSLinkStyle._Getsheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('sheet',TJSStyleSheet) as IJSStyleSheet; end; class function TJSLinkStyle.JSClassName: UnicodeString; begin Result:='LinkStyle'; end; class function TJSLinkStyle.Cast(const Intf: IJSObject): IJSLinkStyle; begin Result:=TJSLinkStyle.JOBCast(Intf); end; function TJSL10nIdArgs._Getid: UTF8String; begin Result:=ReadJSPropertyUTF8String('id'); end; function TJSL10nIdArgs._Getargs: IJSArray; begin Result:=ReadJSPropertyObject('args',TJSArray) as IJSArray; end; procedure TJSL10nIdArgs._Setid(const aValue : UTF8String); begin WriteJSPropertyUTF8String('id',aValue); end; procedure TJSL10nIdArgs._Setargs(const aValue : IJSArray); begin WriteJSPropertyObject('args',aValue); end; constructor TJSL10nIdArgs.create(const aDict : TJSL10nIdArgsRec); overload; begin Self.id:=aDict.id; Self.args:=aDict.args; end; class function TJSL10nIdArgs.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSL10nIdArgs.Cast(const Intf: IJSObject): IJSL10nIdArgs; begin Result:=TJSL10nIdArgs.JOBCast(Intf); end; function TJSAttributeNameValue._Getname: UTF8String; begin Result:=ReadJSPropertyUTF8String('name'); end; function TJSAttributeNameValue._Getvalue: UTF8String; begin Result:=ReadJSPropertyUTF8String('value'); end; procedure TJSAttributeNameValue._Setname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('name',aValue); end; procedure TJSAttributeNameValue._Setvalue(const aValue : UTF8String); begin WriteJSPropertyUTF8String('value',aValue); end; constructor TJSAttributeNameValue.create(const aDict : TJSAttributeNameValueRec); overload; begin Self.name:=aDict.name; Self.value:=aDict.value; end; class function TJSAttributeNameValue.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAttributeNameValue.Cast(const Intf: IJSObject): IJSAttributeNameValue; begin Result:=TJSAttributeNameValue.JOBCast(Intf); end; function TJSL10nMessage._Getvalue: UTF8String; begin Result:=ReadJSPropertyUTF8String('value'); end; function TJSL10nMessage._Getattributes: TJSAttributeNameValueDynArray; begin Result:=ReadJSPropertyObject('attributes',TJSArray) as TJSAttributeNameValueDynArray; end; procedure TJSL10nMessage._Setvalue(const aValue : UTF8String); begin WriteJSPropertyUTF8String('value',aValue); end; procedure TJSL10nMessage._Setattributes(const aValue : TJSAttributeNameValueDynArray); begin WriteJSPropertyObject('attributes',aValue); end; constructor TJSL10nMessage.create(const aDict : TJSL10nMessageRec); overload; begin Self.value:=aDict.value; Self.attributes:=aDict.attributes; end; class function TJSL10nMessage.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSL10nMessage.Cast(const Intf: IJSObject): IJSL10nMessage; begin Result:=TJSL10nMessage.JOBCast(Intf); end; constructor TJSLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject; const aALocales: TUTF8StringDynArray); begin JOBCreate([aAResourceIds,aASync,aARegistry,aALocales]); end; constructor TJSLocalization.Create(const aAResourceIds: TDOMStringDynArray); begin JOBCreate([aAResourceIds]); end; constructor TJSLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean); begin JOBCreate([aAResourceIds,aASync]); end; constructor TJSLocalization.Create(const aAResourceIds: TDOMStringDynArray; aASync: Boolean; aARegistry: IJSObject); begin JOBCreate([aAResourceIds,aASync,aARegistry]); end; procedure TJSLocalization.addResourceIds(const aAResourceIds: TDOMStringDynArray); begin InvokeJSNoResult('addResourceIds',[aAResourceIds]); end; function TJSLocalization.removeResourceIds(const aAResourceIds: TDOMStringDynArray): Cardinal; begin Result:=InvokeJSLongIntResult('removeResourceIds',[aAResourceIds]); end; function TJSLocalization.formatValue(const aAId: UTF8String; aAArgs: IJSArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formatValue',[aAId,aAArgs],TJSPromise) as IJSPromise; end; function TJSLocalization.formatValue(const aAId: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formatValue',[aAId],TJSPromise) as IJSPromise; end; function TJSLocalization.formatValues(const aAKeys: TL10nKeyDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formatValues',[aAKeys],TJSPromise) as IJSPromise; end; function TJSLocalization.formatMessages(const aAKeys: TL10nKeyDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formatMessages',[aAKeys],TJSPromise) as IJSPromise; end; procedure TJSLocalization.setAsync; begin InvokeJSNoResult('setAsync',[]); end; function TJSLocalization.formatValueSync(const aAId: UTF8String; aAArgs: IJSArray): UTF8String; begin Result:=InvokeJSUTF8StringResult('formatValueSync',[aAId,aAArgs]); end; function TJSLocalization.formatValueSync(const aAId: UTF8String): UTF8String; begin Result:=InvokeJSUTF8StringResult('formatValueSync',[aAId]); end; function TJSLocalization.formatValuesSync(const aAKeys: TL10nKeyDynArray): TUTF8StringDynArray; begin Result:=InvokeJSObjectResult('formatValuesSync',[aAKeys],TJSArray) as TUTF8StringDynArray; end; function TJSLocalization.formatMessagesSync(const aAKeys: TL10nKeyDynArray): TJSL10nMessageDynArray; begin Result:=InvokeJSObjectResult('formatMessagesSync',[aAKeys],TJSArray) as TJSL10nMessageDynArray; end; class function TJSLocalization.JSClassName: UnicodeString; begin Result:='Localization'; end; class function TJSLocalization.Cast(const Intf: IJSObject): IJSLocalization; begin Result:=TJSLocalization.JOBCast(Intf); end; function TJSL10nArgsHelperDict._Getargs: IJSArray; begin Result:=ReadJSPropertyObject('args',TJSArray) as IJSArray; end; procedure TJSL10nArgsHelperDict._Setargs(const aValue : IJSArray); begin WriteJSPropertyObject('args',aValue); end; constructor TJSL10nArgsHelperDict.create(const aDict : TJSL10nArgsHelperDictRec); overload; begin Self.args:=aDict.args; end; class function TJSL10nArgsHelperDict.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSL10nArgsHelperDict.Cast(const Intf: IJSObject): IJSL10nArgsHelperDict; begin Result:=TJSL10nArgsHelperDict.JOBCast(Intf); end; function TJSLocation._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSLocation._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSLocation._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSLocation._Gethost: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('host'); end; function TJSLocation._Gethostname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hostname'); end; function TJSLocation._Getport: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('port'); end; function TJSLocation._Getpathname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pathname'); end; function TJSLocation._Getsearch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('search'); end; function TJSLocation._Gethash: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hash'); end; procedure TJSLocation._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; procedure TJSLocation._Sethost(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('host',aValue); end; procedure TJSLocation._Sethostname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hostname',aValue); end; procedure TJSLocation._Setport(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('port',aValue); end; procedure TJSLocation._Setpathname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pathname',aValue); end; procedure TJSLocation._Setsearch(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('search',aValue); end; procedure TJSLocation._Sethash(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hash',aValue); end; procedure TJSLocation.assign(const aUrl: UnicodeString); begin InvokeJSNoResult('assign',[aUrl]); end; procedure TJSLocation.replace(const aUrl: UnicodeString); begin InvokeJSNoResult('replace',[aUrl]); end; procedure TJSLocation.reload(aForceget: Boolean); begin InvokeJSNoResult('reload',[aForceget]); end; procedure TJSLocation.reload; begin InvokeJSNoResult('reload',[]); end; class function TJSLocation.JSClassName: UnicodeString; begin Result:='Location'; end; class function TJSLocation.Cast(const Intf: IJSObject): IJSLocation; begin Result:=TJSLocation.JOBCast(Intf); end; function TJSLock._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSLock._Getmode: TLockMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; class function TJSLock.JSClassName: UnicodeString; begin Result:='Lock'; end; class function TJSLock.Cast(const Intf: IJSObject): IJSLock; begin Result:=TJSLock.JOBCast(Intf); end; function TJSLockManager.request(const aName: UnicodeString; const aCallback: TLockGrantedCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallLockGrantedCallback); try Result:=InvokeJSObjectResult('request',[aName,m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSLockManager.request(const aName: UnicodeString; const aOptions: IJSLockOptions; const aCallback: TLockGrantedCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallLockGrantedCallback); try Result:=InvokeJSObjectResult('request',[aName,aOptions,m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSLockManager.query: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('query',[],TJSPromise) as IJSPromise; end; class function TJSLockManager.JSClassName: UnicodeString; begin Result:='LockManager'; end; class function TJSLockManager.Cast(const Intf: IJSObject): IJSLockManager; begin Result:=TJSLockManager.JOBCast(Intf); end; function TJSLockOptions._Getmode: TLockMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSLockOptions._GetifAvailable: Boolean; begin Result:=ReadJSPropertyBoolean('ifAvailable'); end; function TJSLockOptions._Getsteal: Boolean; begin Result:=ReadJSPropertyBoolean('steal'); end; function TJSLockOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; procedure TJSLockOptions._Setmode(const aValue : TLockMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSLockOptions._SetifAvailable(const aValue : Boolean); begin WriteJSPropertyBoolean('ifAvailable',aValue); end; procedure TJSLockOptions._Setsteal(const aValue : Boolean); begin WriteJSPropertyBoolean('steal',aValue); end; procedure TJSLockOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; constructor TJSLockOptions.create(const aDict : TJSLockOptionsRec); overload; begin Self.mode:=aDict.mode; Self.ifAvailable:=aDict.ifAvailable; Self.steal:=aDict.steal; Self.signal:=aDict.signal; end; class function TJSLockOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSLockOptions.Cast(const Intf: IJSObject): IJSLockOptions; begin Result:=TJSLockOptions.JOBCast(Intf); end; function TJSLockManagerSnapshot._Getheld: TJSLockInfoDynArray; begin Result:=ReadJSPropertyObject('held',TJSArray) as TJSLockInfoDynArray; end; function TJSLockManagerSnapshot._Getpending: TJSLockInfoDynArray; begin Result:=ReadJSPropertyObject('pending',TJSArray) as TJSLockInfoDynArray; end; procedure TJSLockManagerSnapshot._Setheld(const aValue : TJSLockInfoDynArray); begin WriteJSPropertyObject('held',aValue); end; procedure TJSLockManagerSnapshot._Setpending(const aValue : TJSLockInfoDynArray); begin WriteJSPropertyObject('pending',aValue); end; constructor TJSLockManagerSnapshot.create(const aDict : TJSLockManagerSnapshotRec); overload; begin Self.held:=aDict.held; Self.pending:=aDict.pending; end; class function TJSLockManagerSnapshot.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSLockManagerSnapshot.Cast(const Intf: IJSObject): IJSLockManagerSnapshot; begin Result:=TJSLockManagerSnapshot.JOBCast(Intf); end; function TJSLockInfo._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSLockInfo._Getmode: TLockMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSLockInfo._GetclientId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('clientId'); end; procedure TJSLockInfo._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSLockInfo._Setmode(const aValue : TLockMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSLockInfo._SetclientId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('clientId',aValue); end; constructor TJSLockInfo.create(const aDict : TJSLockInfoRec); overload; begin Self.name:=aDict.name; Self.mode:=aDict.mode; Self.clientId:=aDict.clientId; end; class function TJSLockInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSLockInfo.Cast(const Intf: IJSObject): IJSLockInfo; begin Result:=TJSLockInfo.JOBCast(Intf); end; function TJSMathMLElement._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSMathMLElement._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSMathMLElement._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSMathMLElement._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSMathMLElement._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSMathMLElement._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSMathMLElement._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSMathMLElement._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSMathMLElement._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSMathMLElement._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSMathMLElement._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSMathMLElement._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSMathMLElement._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSMathMLElement._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSMathMLElement._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSMathMLElement._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSMathMLElement._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSMathMLElement._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSMathMLElement._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSMathMLElement._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSMathMLElement._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSMathMLElement._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSMathMLElement._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSMathMLElement._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSMathMLElement._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSMathMLElement._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSMathMLElement._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSMathMLElement._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSMathMLElement._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSMathMLElement._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSMathMLElement._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSMathMLElement._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSMathMLElement._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSMathMLElement._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSMathMLElement._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSMathMLElement._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSMathMLElement._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSMathMLElement._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSMathMLElement._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSMathMLElement._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSMathMLElement._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSMathMLElement._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSMathMLElement._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSMathMLElement._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSMathMLElement._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSMathMLElement._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSMathMLElement._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSMathMLElement._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSMathMLElement._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSMathMLElement._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSMathMLElement._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSMathMLElement._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSMathMLElement._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSMathMLElement._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSMathMLElement._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSMathMLElement._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSMathMLElement._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSMathMLElement._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSMathMLElement._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSMathMLElement._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSMathMLElement._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSMathMLElement._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSMathMLElement._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSMathMLElement._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSMathMLElement._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSMathMLElement._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSMathMLElement._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSMathMLElement._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSMathMLElement._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSMathMLElement._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSMathMLElement._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSMathMLElement._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSMathMLElement._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSMathMLElement._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSMathMLElement._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSMathMLElement._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSMathMLElement._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSMathMLElement._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSMathMLElement._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSMathMLElement._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSMathMLElement._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSMathMLElement._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSMathMLElement._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSMathMLElement._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSMathMLElement._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSMathMLElement._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSMathMLElement._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSMathMLElement._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSMathMLElement._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSMathMLElement._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSMathMLElement._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSMathMLElement._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSMathMLElement._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSMathMLElement._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSMathMLElement._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSMathMLElement._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; function TJSMathMLElement._Getdataset: IJSDOMStringMap; begin Result:=ReadJSPropertyObject('dataset',TJSDOMStringMap) as IJSDOMStringMap; end; function TJSMathMLElement._Getautofocus: Boolean; begin Result:=ReadJSPropertyBoolean('autofocus'); end; function TJSMathMLElement._GettabIndex: LongInt; begin Result:=ReadJSPropertyLongInt('tabIndex'); end; function TJSMathMLElement._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSMathMLElement._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSMathMLElement._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSMathMLElement._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSMathMLElement._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; function TJSMathMLElement._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSMathMLElement._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setautofocus(const aValue : Boolean); begin WriteJSPropertyBoolean('autofocus',aValue); end; procedure TJSMathMLElement._SettabIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('tabIndex',aValue); end; procedure TJSMathMLElement._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSMathMLElement.focus(const aOptions: IJSFocusOptions); begin InvokeJSNoResult('focus',[aOptions]); end; procedure TJSMathMLElement.focus; begin InvokeJSNoResult('focus',[]); end; procedure TJSMathMLElement.blur; begin InvokeJSNoResult('blur',[]); end; class function TJSMathMLElement.JSClassName: UnicodeString; begin Result:='MathMLElement'; end; class function TJSMathMLElement.Cast(const Intf: IJSObject): IJSMathMLElement; begin Result:=TJSMathMLElement.JOBCast(Intf); end; function TJSMediaConfiguration._Getvideo: IJSVideoConfiguration; begin Result:=ReadJSPropertyObject('video',TJSVideoConfiguration) as IJSVideoConfiguration; end; function TJSMediaConfiguration._Getaudio: IJSAudioConfiguration; begin Result:=ReadJSPropertyObject('audio',TJSAudioConfiguration) as IJSAudioConfiguration; end; procedure TJSMediaConfiguration._Setvideo(const aValue : IJSVideoConfiguration); begin WriteJSPropertyObject('video',aValue); end; procedure TJSMediaConfiguration._Setaudio(const aValue : IJSAudioConfiguration); begin WriteJSPropertyObject('audio',aValue); end; constructor TJSMediaConfiguration.create(const aDict : TJSMediaConfigurationRec); overload; begin Self.video:=aDict.video; Self.audio:=aDict.audio; end; class function TJSMediaConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaConfiguration.Cast(const Intf: IJSObject): IJSMediaConfiguration; begin Result:=TJSMediaConfiguration.JOBCast(Intf); end; function TJSMediaDecodingConfiguration._Gettype_: TMediaDecodingType; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSMediaDecodingConfiguration._Settype_(const aValue : TMediaDecodingType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSMediaDecodingConfiguration.create(const aDict : TJSMediaDecodingConfigurationRec); overload; begin Self.type_:=aDict.type_; end; class function TJSMediaDecodingConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaDecodingConfiguration.Cast(const Intf: IJSObject): IJSMediaDecodingConfiguration; begin Result:=TJSMediaDecodingConfiguration.JOBCast(Intf); end; function TJSMediaEncodingConfiguration._Gettype_: TMediaEncodingType; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSMediaEncodingConfiguration._Settype_(const aValue : TMediaEncodingType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSMediaEncodingConfiguration.create(const aDict : TJSMediaEncodingConfigurationRec); overload; begin Self.type_:=aDict.type_; end; class function TJSMediaEncodingConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaEncodingConfiguration.Cast(const Intf: IJSObject): IJSMediaEncodingConfiguration; begin Result:=TJSMediaEncodingConfiguration.JOBCast(Intf); end; function TJSVideoConfiguration._GetcontentType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentType'); end; function TJSVideoConfiguration._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSVideoConfiguration._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSVideoConfiguration._Getbitrate: QWord; begin Result:=ReadJSPropertyInt64('bitrate'); end; function TJSVideoConfiguration._Getframerate: Double; begin Result:=ReadJSPropertyDouble('framerate'); end; function TJSVideoConfiguration._GethasAlphaChannel: Boolean; begin Result:=ReadJSPropertyBoolean('hasAlphaChannel'); end; function TJSVideoConfiguration._GethdrMetadataType: THdrMetadataType; begin Result:=ReadJSPropertyUnicodeString('hdrMetadataType'); end; function TJSVideoConfiguration._GetcolorGamut: TColorGamut; begin Result:=ReadJSPropertyUnicodeString('colorGamut'); end; function TJSVideoConfiguration._GettransferFunction: TTransferFunction; begin Result:=ReadJSPropertyUnicodeString('transferFunction'); end; function TJSVideoConfiguration._GetscalabilityMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scalabilityMode'); end; procedure TJSVideoConfiguration._SetcontentType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contentType',aValue); end; procedure TJSVideoConfiguration._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSVideoConfiguration._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSVideoConfiguration._Setbitrate(const aValue : QWord); begin WriteJSPropertyDouble('bitrate',aValue); end; procedure TJSVideoConfiguration._Setframerate(const aValue : Double); begin WriteJSPropertyDouble('framerate',aValue); end; procedure TJSVideoConfiguration._SethasAlphaChannel(const aValue : Boolean); begin WriteJSPropertyBoolean('hasAlphaChannel',aValue); end; procedure TJSVideoConfiguration._SethdrMetadataType(const aValue : THdrMetadataType); begin WriteJSPropertyUnicodeString('hdrMetadataType',aValue); end; procedure TJSVideoConfiguration._SetcolorGamut(const aValue : TColorGamut); begin WriteJSPropertyUnicodeString('colorGamut',aValue); end; procedure TJSVideoConfiguration._SettransferFunction(const aValue : TTransferFunction); begin WriteJSPropertyUnicodeString('transferFunction',aValue); end; procedure TJSVideoConfiguration._SetscalabilityMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scalabilityMode',aValue); end; constructor TJSVideoConfiguration.create(const aDict : TJSVideoConfigurationRec); overload; begin Self.contentType:=aDict.contentType; Self.width:=aDict.width; Self.height:=aDict.height; Self.bitrate:=aDict.bitrate; Self.framerate:=aDict.framerate; Self.hasAlphaChannel:=aDict.hasAlphaChannel; Self.hdrMetadataType:=aDict.hdrMetadataType; Self.colorGamut:=aDict.colorGamut; Self.transferFunction:=aDict.transferFunction; Self.scalabilityMode:=aDict.scalabilityMode; end; class function TJSVideoConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoConfiguration.Cast(const Intf: IJSObject): IJSVideoConfiguration; begin Result:=TJSVideoConfiguration.JOBCast(Intf); end; function TJSAudioConfiguration._GetcontentType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentType'); end; function TJSAudioConfiguration._Getchannels: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('channels'); end; function TJSAudioConfiguration._Getbitrate: QWord; begin Result:=ReadJSPropertyInt64('bitrate'); end; function TJSAudioConfiguration._Getsamplerate: Cardinal; begin Result:=ReadJSPropertyInt64('samplerate'); end; procedure TJSAudioConfiguration._SetcontentType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contentType',aValue); end; procedure TJSAudioConfiguration._Setchannels(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('channels',aValue); end; procedure TJSAudioConfiguration._Setbitrate(const aValue : QWord); begin WriteJSPropertyDouble('bitrate',aValue); end; procedure TJSAudioConfiguration._Setsamplerate(const aValue : Cardinal); begin WriteJSPropertyDouble('samplerate',aValue); end; constructor TJSAudioConfiguration.create(const aDict : TJSAudioConfigurationRec); overload; begin Self.contentType:=aDict.contentType; Self.channels:=aDict.channels; Self.bitrate:=aDict.bitrate; Self.samplerate:=aDict.samplerate; end; class function TJSAudioConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioConfiguration.Cast(const Intf: IJSObject): IJSAudioConfiguration; begin Result:=TJSAudioConfiguration.JOBCast(Intf); end; function TJSMediaCapabilitiesInfo._Getsupported: Boolean; begin Result:=ReadJSPropertyBoolean('supported'); end; function TJSMediaCapabilitiesInfo._Getsmooth: Boolean; begin Result:=ReadJSPropertyBoolean('smooth'); end; function TJSMediaCapabilitiesInfo._GetpowerEfficient: Boolean; begin Result:=ReadJSPropertyBoolean('powerEfficient'); end; class function TJSMediaCapabilitiesInfo.JSClassName: UnicodeString; begin Result:='MediaCapabilitiesInfo'; end; class function TJSMediaCapabilitiesInfo.Cast(const Intf: IJSObject): IJSMediaCapabilitiesInfo; begin Result:=TJSMediaCapabilitiesInfo.JOBCast(Intf); end; function TJSMediaCapabilities.decodingInfo(const aConfiguration: IJSMediaDecodingConfiguration): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decodingInfo',[aConfiguration],TJSPromise) as IJSPromise; end; function TJSMediaCapabilities.encodingInfo(const aConfiguration: IJSMediaEncodingConfiguration): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('encodingInfo',[aConfiguration],TJSPromise) as IJSPromise; end; class function TJSMediaCapabilities.JSClassName: UnicodeString; begin Result:='MediaCapabilities'; end; class function TJSMediaCapabilities.Cast(const Intf: IJSObject): IJSMediaCapabilities; begin Result:=TJSMediaCapabilities.JOBCast(Intf); end; function TJSMediaCacheStreamDebugInfo._GetstreamLength: Int64; begin Result:=ReadJSPropertyInt64('streamLength'); end; function TJSMediaCacheStreamDebugInfo._GetchannelOffset: Int64; begin Result:=ReadJSPropertyInt64('channelOffset'); end; function TJSMediaCacheStreamDebugInfo._GetcacheSuspended: Boolean; begin Result:=ReadJSPropertyBoolean('cacheSuspended'); end; function TJSMediaCacheStreamDebugInfo._GetchannelEnded: Boolean; begin Result:=ReadJSPropertyBoolean('channelEnded'); end; function TJSMediaCacheStreamDebugInfo._GetloadID: LongInt; begin Result:=ReadJSPropertyLongInt('loadID'); end; procedure TJSMediaCacheStreamDebugInfo._SetstreamLength(const aValue : Int64); begin WriteJSPropertyDouble('streamLength',aValue); end; procedure TJSMediaCacheStreamDebugInfo._SetchannelOffset(const aValue : Int64); begin WriteJSPropertyDouble('channelOffset',aValue); end; procedure TJSMediaCacheStreamDebugInfo._SetcacheSuspended(const aValue : Boolean); begin WriteJSPropertyBoolean('cacheSuspended',aValue); end; procedure TJSMediaCacheStreamDebugInfo._SetchannelEnded(const aValue : Boolean); begin WriteJSPropertyBoolean('channelEnded',aValue); end; procedure TJSMediaCacheStreamDebugInfo._SetloadID(const aValue : LongInt); begin WriteJSPropertyLongInt('loadID',aValue); end; constructor TJSMediaCacheStreamDebugInfo.create(const aDict : TJSMediaCacheStreamDebugInfoRec); overload; begin Self.streamLength:=aDict.streamLength; Self.channelOffset:=aDict.channelOffset; Self.cacheSuspended:=aDict.cacheSuspended; Self.channelEnded:=aDict.channelEnded; Self.loadID:=aDict.loadID; end; class function TJSMediaCacheStreamDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaCacheStreamDebugInfo.Cast(const Intf: IJSObject): IJSMediaCacheStreamDebugInfo; begin Result:=TJSMediaCacheStreamDebugInfo.JOBCast(Intf); end; function TJSMediaResourceDebugInfo._GetcacheStream: IJSMediaCacheStreamDebugInfo; begin Result:=ReadJSPropertyObject('cacheStream',TJSMediaCacheStreamDebugInfo) as IJSMediaCacheStreamDebugInfo; end; procedure TJSMediaResourceDebugInfo._SetcacheStream(const aValue : IJSMediaCacheStreamDebugInfo); begin WriteJSPropertyObject('cacheStream',aValue); end; constructor TJSMediaResourceDebugInfo.create(const aDict : TJSMediaResourceDebugInfoRec); overload; begin Self.cacheStream:=aDict.cacheStream; end; class function TJSMediaResourceDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaResourceDebugInfo.Cast(const Intf: IJSObject): IJSMediaResourceDebugInfo; begin Result:=TJSMediaResourceDebugInfo.JOBCast(Intf); end; function TJSMediaDecoderDebugInfo._Getinstance: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('instance'); end; function TJSMediaDecoderDebugInfo._Getchannels: Cardinal; begin Result:=ReadJSPropertyInt64('channels'); end; function TJSMediaDecoderDebugInfo._Getrate: Cardinal; begin Result:=ReadJSPropertyInt64('rate'); end; function TJSMediaDecoderDebugInfo._GethasAudio: Boolean; begin Result:=ReadJSPropertyBoolean('hasAudio'); end; function TJSMediaDecoderDebugInfo._GethasVideo: Boolean; begin Result:=ReadJSPropertyBoolean('hasVideo'); end; function TJSMediaDecoderDebugInfo._GetPlayState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('PlayState'); end; function TJSMediaDecoderDebugInfo._GetcontainerType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('containerType'); end; function TJSMediaDecoderDebugInfo._Getreader: IJSMediaFormatReaderDebugInfo; begin Result:=ReadJSPropertyObject('reader',TJSMediaFormatReaderDebugInfo) as IJSMediaFormatReaderDebugInfo; end; function TJSMediaDecoderDebugInfo._GetstateMachine: IJSMediaDecoderStateMachineDebugInfo; begin Result:=ReadJSPropertyObject('stateMachine',TJSMediaDecoderStateMachineDebugInfo) as IJSMediaDecoderStateMachineDebugInfo; end; function TJSMediaDecoderDebugInfo._Getresource: IJSMediaResourceDebugInfo; begin Result:=ReadJSPropertyObject('resource',TJSMediaResourceDebugInfo) as IJSMediaResourceDebugInfo; end; procedure TJSMediaDecoderDebugInfo._Setinstance(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('instance',aValue); end; procedure TJSMediaDecoderDebugInfo._Setchannels(const aValue : Cardinal); begin WriteJSPropertyDouble('channels',aValue); end; procedure TJSMediaDecoderDebugInfo._Setrate(const aValue : Cardinal); begin WriteJSPropertyDouble('rate',aValue); end; procedure TJSMediaDecoderDebugInfo._SethasAudio(const aValue : Boolean); begin WriteJSPropertyBoolean('hasAudio',aValue); end; procedure TJSMediaDecoderDebugInfo._SethasVideo(const aValue : Boolean); begin WriteJSPropertyBoolean('hasVideo',aValue); end; procedure TJSMediaDecoderDebugInfo._SetPlayState(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('PlayState',aValue); end; procedure TJSMediaDecoderDebugInfo._SetcontainerType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('containerType',aValue); end; procedure TJSMediaDecoderDebugInfo._Setreader(const aValue : IJSMediaFormatReaderDebugInfo); begin WriteJSPropertyObject('reader',aValue); end; procedure TJSMediaDecoderDebugInfo._SetstateMachine(const aValue : IJSMediaDecoderStateMachineDebugInfo); begin WriteJSPropertyObject('stateMachine',aValue); end; procedure TJSMediaDecoderDebugInfo._Setresource(const aValue : IJSMediaResourceDebugInfo); begin WriteJSPropertyObject('resource',aValue); end; constructor TJSMediaDecoderDebugInfo.create(const aDict : TJSMediaDecoderDebugInfoRec); overload; begin Self.instance:=aDict.instance; Self.channels:=aDict.channels; Self.rate:=aDict.rate; Self.hasAudio:=aDict.hasAudio; Self.hasVideo:=aDict.hasVideo; Self.PlayState:=aDict.PlayState; Self.containerType:=aDict.containerType; Self.reader:=aDict.reader; Self.stateMachine:=aDict.stateMachine; Self.resource:=aDict.resource; end; class function TJSMediaDecoderDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaDecoderDebugInfo.Cast(const Intf: IJSObject): IJSMediaDecoderDebugInfo; begin Result:=TJSMediaDecoderDebugInfo.JOBCast(Intf); end; function TJSAudioSinkDebugInfo._GetstartTime: Int64; begin Result:=ReadJSPropertyInt64('startTime'); end; function TJSAudioSinkDebugInfo._GetlastGoodPosition: Int64; begin Result:=ReadJSPropertyInt64('lastGoodPosition'); end; function TJSAudioSinkDebugInfo._GetisPlaying: Boolean; begin Result:=ReadJSPropertyBoolean('isPlaying'); end; function TJSAudioSinkDebugInfo._GetisStarted: Boolean; begin Result:=ReadJSPropertyBoolean('isStarted'); end; function TJSAudioSinkDebugInfo._GetaudioEnded: Boolean; begin Result:=ReadJSPropertyBoolean('audioEnded'); end; function TJSAudioSinkDebugInfo._GetoutputRate: Cardinal; begin Result:=ReadJSPropertyInt64('outputRate'); end; function TJSAudioSinkDebugInfo._Getwritten: Int64; begin Result:=ReadJSPropertyInt64('written'); end; function TJSAudioSinkDebugInfo._GethasErrored: Boolean; begin Result:=ReadJSPropertyBoolean('hasErrored'); end; function TJSAudioSinkDebugInfo._GetplaybackComplete: Boolean; begin Result:=ReadJSPropertyBoolean('playbackComplete'); end; procedure TJSAudioSinkDebugInfo._SetstartTime(const aValue : Int64); begin WriteJSPropertyDouble('startTime',aValue); end; procedure TJSAudioSinkDebugInfo._SetlastGoodPosition(const aValue : Int64); begin WriteJSPropertyDouble('lastGoodPosition',aValue); end; procedure TJSAudioSinkDebugInfo._SetisPlaying(const aValue : Boolean); begin WriteJSPropertyBoolean('isPlaying',aValue); end; procedure TJSAudioSinkDebugInfo._SetisStarted(const aValue : Boolean); begin WriteJSPropertyBoolean('isStarted',aValue); end; procedure TJSAudioSinkDebugInfo._SetaudioEnded(const aValue : Boolean); begin WriteJSPropertyBoolean('audioEnded',aValue); end; procedure TJSAudioSinkDebugInfo._SetoutputRate(const aValue : Cardinal); begin WriteJSPropertyDouble('outputRate',aValue); end; procedure TJSAudioSinkDebugInfo._Setwritten(const aValue : Int64); begin WriteJSPropertyDouble('written',aValue); end; procedure TJSAudioSinkDebugInfo._SethasErrored(const aValue : Boolean); begin WriteJSPropertyBoolean('hasErrored',aValue); end; procedure TJSAudioSinkDebugInfo._SetplaybackComplete(const aValue : Boolean); begin WriteJSPropertyBoolean('playbackComplete',aValue); end; constructor TJSAudioSinkDebugInfo.create(const aDict : TJSAudioSinkDebugInfoRec); overload; begin Self.startTime:=aDict.startTime; Self.lastGoodPosition:=aDict.lastGoodPosition; Self.isPlaying:=aDict.isPlaying; Self.isStarted:=aDict.isStarted; Self.audioEnded:=aDict.audioEnded; Self.outputRate:=aDict.outputRate; Self.written:=aDict.written; Self.hasErrored:=aDict.hasErrored; Self.playbackComplete:=aDict.playbackComplete; end; class function TJSAudioSinkDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioSinkDebugInfo.Cast(const Intf: IJSObject): IJSAudioSinkDebugInfo; begin Result:=TJSAudioSinkDebugInfo.JOBCast(Intf); end; function TJSAudioSinkWrapperDebugInfo._GetisPlaying: Boolean; begin Result:=ReadJSPropertyBoolean('isPlaying'); end; function TJSAudioSinkWrapperDebugInfo._GetisStarted: Boolean; begin Result:=ReadJSPropertyBoolean('isStarted'); end; function TJSAudioSinkWrapperDebugInfo._GetaudioEnded: Boolean; begin Result:=ReadJSPropertyBoolean('audioEnded'); end; function TJSAudioSinkWrapperDebugInfo._GetaudioSink: IJSAudioSinkDebugInfo; begin Result:=ReadJSPropertyObject('audioSink',TJSAudioSinkDebugInfo) as IJSAudioSinkDebugInfo; end; procedure TJSAudioSinkWrapperDebugInfo._SetisPlaying(const aValue : Boolean); begin WriteJSPropertyBoolean('isPlaying',aValue); end; procedure TJSAudioSinkWrapperDebugInfo._SetisStarted(const aValue : Boolean); begin WriteJSPropertyBoolean('isStarted',aValue); end; procedure TJSAudioSinkWrapperDebugInfo._SetaudioEnded(const aValue : Boolean); begin WriteJSPropertyBoolean('audioEnded',aValue); end; procedure TJSAudioSinkWrapperDebugInfo._SetaudioSink(const aValue : IJSAudioSinkDebugInfo); begin WriteJSPropertyObject('audioSink',aValue); end; constructor TJSAudioSinkWrapperDebugInfo.create(const aDict : TJSAudioSinkWrapperDebugInfoRec); overload; begin Self.isPlaying:=aDict.isPlaying; Self.isStarted:=aDict.isStarted; Self.audioEnded:=aDict.audioEnded; Self.audioSink:=aDict.audioSink; end; class function TJSAudioSinkWrapperDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioSinkWrapperDebugInfo.Cast(const Intf: IJSObject): IJSAudioSinkWrapperDebugInfo; begin Result:=TJSAudioSinkWrapperDebugInfo.JOBCast(Intf); end; function TJSVideoSinkDebugInfo._GetisStarted: Boolean; begin Result:=ReadJSPropertyBoolean('isStarted'); end; function TJSVideoSinkDebugInfo._GetisPlaying: Boolean; begin Result:=ReadJSPropertyBoolean('isPlaying'); end; function TJSVideoSinkDebugInfo._Getfinished: Boolean; begin Result:=ReadJSPropertyBoolean('finished'); end; function TJSVideoSinkDebugInfo._Getsize: LongInt; begin Result:=ReadJSPropertyLongInt('size'); end; function TJSVideoSinkDebugInfo._GetvideoFrameEndTime: Int64; begin Result:=ReadJSPropertyInt64('videoFrameEndTime'); end; function TJSVideoSinkDebugInfo._GethasVideo: Boolean; begin Result:=ReadJSPropertyBoolean('hasVideo'); end; function TJSVideoSinkDebugInfo._GetvideoSinkEndRequestExists: Boolean; begin Result:=ReadJSPropertyBoolean('videoSinkEndRequestExists'); end; function TJSVideoSinkDebugInfo._GetendPromiseHolderIsEmpty: Boolean; begin Result:=ReadJSPropertyBoolean('endPromiseHolderIsEmpty'); end; procedure TJSVideoSinkDebugInfo._SetisStarted(const aValue : Boolean); begin WriteJSPropertyBoolean('isStarted',aValue); end; procedure TJSVideoSinkDebugInfo._SetisPlaying(const aValue : Boolean); begin WriteJSPropertyBoolean('isPlaying',aValue); end; procedure TJSVideoSinkDebugInfo._Setfinished(const aValue : Boolean); begin WriteJSPropertyBoolean('finished',aValue); end; procedure TJSVideoSinkDebugInfo._Setsize(const aValue : LongInt); begin WriteJSPropertyLongInt('size',aValue); end; procedure TJSVideoSinkDebugInfo._SetvideoFrameEndTime(const aValue : Int64); begin WriteJSPropertyDouble('videoFrameEndTime',aValue); end; procedure TJSVideoSinkDebugInfo._SethasVideo(const aValue : Boolean); begin WriteJSPropertyBoolean('hasVideo',aValue); end; procedure TJSVideoSinkDebugInfo._SetvideoSinkEndRequestExists(const aValue : Boolean); begin WriteJSPropertyBoolean('videoSinkEndRequestExists',aValue); end; procedure TJSVideoSinkDebugInfo._SetendPromiseHolderIsEmpty(const aValue : Boolean); begin WriteJSPropertyBoolean('endPromiseHolderIsEmpty',aValue); end; constructor TJSVideoSinkDebugInfo.create(const aDict : TJSVideoSinkDebugInfoRec); overload; begin Self.isStarted:=aDict.isStarted; Self.isPlaying:=aDict.isPlaying; Self.finished:=aDict.finished; Self.size:=aDict.size; Self.videoFrameEndTime:=aDict.videoFrameEndTime; Self.hasVideo:=aDict.hasVideo; Self.videoSinkEndRequestExists:=aDict.videoSinkEndRequestExists; Self.endPromiseHolderIsEmpty:=aDict.endPromiseHolderIsEmpty; end; class function TJSVideoSinkDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoSinkDebugInfo.Cast(const Intf: IJSObject): IJSVideoSinkDebugInfo; begin Result:=TJSVideoSinkDebugInfo.JOBCast(Intf); end; function TJSDecodedStreamDataDebugInfo._Getinstance: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('instance'); end; function TJSDecodedStreamDataDebugInfo._GetaudioFramesWritten: Int64; begin Result:=ReadJSPropertyInt64('audioFramesWritten'); end; function TJSDecodedStreamDataDebugInfo._GetstreamAudioWritten: Int64; begin Result:=ReadJSPropertyInt64('streamAudioWritten'); end; function TJSDecodedStreamDataDebugInfo._GetstreamVideoWritten: Int64; begin Result:=ReadJSPropertyInt64('streamVideoWritten'); end; function TJSDecodedStreamDataDebugInfo._GetnextAudioTime: Int64; begin Result:=ReadJSPropertyInt64('nextAudioTime'); end; function TJSDecodedStreamDataDebugInfo._GetlastVideoStartTime: Int64; begin Result:=ReadJSPropertyInt64('lastVideoStartTime'); end; function TJSDecodedStreamDataDebugInfo._GetlastVideoEndTime: Int64; begin Result:=ReadJSPropertyInt64('lastVideoEndTime'); end; function TJSDecodedStreamDataDebugInfo._GethaveSentFinishAudio: Boolean; begin Result:=ReadJSPropertyBoolean('haveSentFinishAudio'); end; function TJSDecodedStreamDataDebugInfo._GethaveSentFinishVideo: Boolean; begin Result:=ReadJSPropertyBoolean('haveSentFinishVideo'); end; procedure TJSDecodedStreamDataDebugInfo._Setinstance(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('instance',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetaudioFramesWritten(const aValue : Int64); begin WriteJSPropertyDouble('audioFramesWritten',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetstreamAudioWritten(const aValue : Int64); begin WriteJSPropertyDouble('streamAudioWritten',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetstreamVideoWritten(const aValue : Int64); begin WriteJSPropertyDouble('streamVideoWritten',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetnextAudioTime(const aValue : Int64); begin WriteJSPropertyDouble('nextAudioTime',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetlastVideoStartTime(const aValue : Int64); begin WriteJSPropertyDouble('lastVideoStartTime',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SetlastVideoEndTime(const aValue : Int64); begin WriteJSPropertyDouble('lastVideoEndTime',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SethaveSentFinishAudio(const aValue : Boolean); begin WriteJSPropertyBoolean('haveSentFinishAudio',aValue); end; procedure TJSDecodedStreamDataDebugInfo._SethaveSentFinishVideo(const aValue : Boolean); begin WriteJSPropertyBoolean('haveSentFinishVideo',aValue); end; constructor TJSDecodedStreamDataDebugInfo.create(const aDict : TJSDecodedStreamDataDebugInfoRec); overload; begin Self.instance:=aDict.instance; Self.audioFramesWritten:=aDict.audioFramesWritten; Self.streamAudioWritten:=aDict.streamAudioWritten; Self.streamVideoWritten:=aDict.streamVideoWritten; Self.nextAudioTime:=aDict.nextAudioTime; Self.lastVideoStartTime:=aDict.lastVideoStartTime; Self.lastVideoEndTime:=aDict.lastVideoEndTime; Self.haveSentFinishAudio:=aDict.haveSentFinishAudio; Self.haveSentFinishVideo:=aDict.haveSentFinishVideo; end; class function TJSDecodedStreamDataDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDecodedStreamDataDebugInfo.Cast(const Intf: IJSObject): IJSDecodedStreamDataDebugInfo; begin Result:=TJSDecodedStreamDataDebugInfo.JOBCast(Intf); end; function TJSDecodedStreamDebugInfo._Getinstance: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('instance'); end; function TJSDecodedStreamDebugInfo._GetstartTime: Int64; begin Result:=ReadJSPropertyInt64('startTime'); end; function TJSDecodedStreamDebugInfo._GetlastOutputTime: Int64; begin Result:=ReadJSPropertyInt64('lastOutputTime'); end; function TJSDecodedStreamDebugInfo._Getplaying: LongInt; begin Result:=ReadJSPropertyLongInt('playing'); end; function TJSDecodedStreamDebugInfo._GetlastAudio: Int64; begin Result:=ReadJSPropertyInt64('lastAudio'); end; function TJSDecodedStreamDebugInfo._GetaudioQueueFinished: Boolean; begin Result:=ReadJSPropertyBoolean('audioQueueFinished'); end; function TJSDecodedStreamDebugInfo._GetaudioQueueSize: LongInt; begin Result:=ReadJSPropertyLongInt('audioQueueSize'); end; function TJSDecodedStreamDebugInfo._Getdata: IJSDecodedStreamDataDebugInfo; begin Result:=ReadJSPropertyObject('data',TJSDecodedStreamDataDebugInfo) as IJSDecodedStreamDataDebugInfo; end; procedure TJSDecodedStreamDebugInfo._Setinstance(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('instance',aValue); end; procedure TJSDecodedStreamDebugInfo._SetstartTime(const aValue : Int64); begin WriteJSPropertyDouble('startTime',aValue); end; procedure TJSDecodedStreamDebugInfo._SetlastOutputTime(const aValue : Int64); begin WriteJSPropertyDouble('lastOutputTime',aValue); end; procedure TJSDecodedStreamDebugInfo._Setplaying(const aValue : LongInt); begin WriteJSPropertyLongInt('playing',aValue); end; procedure TJSDecodedStreamDebugInfo._SetlastAudio(const aValue : Int64); begin WriteJSPropertyDouble('lastAudio',aValue); end; procedure TJSDecodedStreamDebugInfo._SetaudioQueueFinished(const aValue : Boolean); begin WriteJSPropertyBoolean('audioQueueFinished',aValue); end; procedure TJSDecodedStreamDebugInfo._SetaudioQueueSize(const aValue : LongInt); begin WriteJSPropertyLongInt('audioQueueSize',aValue); end; procedure TJSDecodedStreamDebugInfo._Setdata(const aValue : IJSDecodedStreamDataDebugInfo); begin WriteJSPropertyObject('data',aValue); end; constructor TJSDecodedStreamDebugInfo.create(const aDict : TJSDecodedStreamDebugInfoRec); overload; begin Self.instance:=aDict.instance; Self.startTime:=aDict.startTime; Self.lastOutputTime:=aDict.lastOutputTime; Self.playing:=aDict.playing; Self.lastAudio:=aDict.lastAudio; Self.audioQueueFinished:=aDict.audioQueueFinished; Self.audioQueueSize:=aDict.audioQueueSize; Self.data:=aDict.data; end; class function TJSDecodedStreamDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDecodedStreamDebugInfo.Cast(const Intf: IJSObject): IJSDecodedStreamDebugInfo; begin Result:=TJSDecodedStreamDebugInfo.JOBCast(Intf); end; function TJSMediaSinkDebugInfo._GetaudioSinkWrapper: IJSAudioSinkWrapperDebugInfo; begin Result:=ReadJSPropertyObject('audioSinkWrapper',TJSAudioSinkWrapperDebugInfo) as IJSAudioSinkWrapperDebugInfo; end; function TJSMediaSinkDebugInfo._GetvideoSink: IJSVideoSinkDebugInfo; begin Result:=ReadJSPropertyObject('videoSink',TJSVideoSinkDebugInfo) as IJSVideoSinkDebugInfo; end; function TJSMediaSinkDebugInfo._GetdecodedStream: IJSDecodedStreamDebugInfo; begin Result:=ReadJSPropertyObject('decodedStream',TJSDecodedStreamDebugInfo) as IJSDecodedStreamDebugInfo; end; procedure TJSMediaSinkDebugInfo._SetaudioSinkWrapper(const aValue : IJSAudioSinkWrapperDebugInfo); begin WriteJSPropertyObject('audioSinkWrapper',aValue); end; procedure TJSMediaSinkDebugInfo._SetvideoSink(const aValue : IJSVideoSinkDebugInfo); begin WriteJSPropertyObject('videoSink',aValue); end; procedure TJSMediaSinkDebugInfo._SetdecodedStream(const aValue : IJSDecodedStreamDebugInfo); begin WriteJSPropertyObject('decodedStream',aValue); end; constructor TJSMediaSinkDebugInfo.create(const aDict : TJSMediaSinkDebugInfoRec); overload; begin Self.audioSinkWrapper:=aDict.audioSinkWrapper; Self.videoSink:=aDict.videoSink; Self.decodedStream:=aDict.decodedStream; end; class function TJSMediaSinkDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaSinkDebugInfo.Cast(const Intf: IJSObject): IJSMediaSinkDebugInfo; begin Result:=TJSMediaSinkDebugInfo.JOBCast(Intf); end; function TJSMediaDecoderStateMachineDecodingStateDebugInfo._GetisPrerolling: Boolean; begin Result:=ReadJSPropertyBoolean('isPrerolling'); end; procedure TJSMediaDecoderStateMachineDecodingStateDebugInfo._SetisPrerolling(const aValue : Boolean); begin WriteJSPropertyBoolean('isPrerolling',aValue); end; constructor TJSMediaDecoderStateMachineDecodingStateDebugInfo.create(const aDict : TJSMediaDecoderStateMachineDecodingStateDebugInfoRec); overload; begin Self.isPrerolling:=aDict.isPrerolling; end; class function TJSMediaDecoderStateMachineDecodingStateDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaDecoderStateMachineDecodingStateDebugInfo.Cast(const Intf: IJSObject): IJSMediaDecoderStateMachineDecodingStateDebugInfo; begin Result:=TJSMediaDecoderStateMachineDecodingStateDebugInfo.JOBCast(Intf); end; function TJSMediaDecoderStateMachineDebugInfo._Getduration: Int64; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSMediaDecoderStateMachineDebugInfo._GetmediaTime: Int64; begin Result:=ReadJSPropertyInt64('mediaTime'); end; function TJSMediaDecoderStateMachineDebugInfo._Getclock: Int64; begin Result:=ReadJSPropertyInt64('clock'); end; function TJSMediaDecoderStateMachineDebugInfo._Getstate: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSMediaDecoderStateMachineDebugInfo._GetplayState: LongInt; begin Result:=ReadJSPropertyLongInt('playState'); end; function TJSMediaDecoderStateMachineDebugInfo._GetsentFirstFrameLoadedEvent: Boolean; begin Result:=ReadJSPropertyBoolean('sentFirstFrameLoadedEvent'); end; function TJSMediaDecoderStateMachineDebugInfo._GetisPlaying: Boolean; begin Result:=ReadJSPropertyBoolean('isPlaying'); end; function TJSMediaDecoderStateMachineDebugInfo._GetaudioRequestStatus: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('audioRequestStatus'); end; function TJSMediaDecoderStateMachineDebugInfo._GetvideoRequestStatus: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('videoRequestStatus'); end; function TJSMediaDecoderStateMachineDebugInfo._GetdecodedAudioEndTime: Int64; begin Result:=ReadJSPropertyInt64('decodedAudioEndTime'); end; function TJSMediaDecoderStateMachineDebugInfo._GetdecodedVideoEndTime: Int64; begin Result:=ReadJSPropertyInt64('decodedVideoEndTime'); end; function TJSMediaDecoderStateMachineDebugInfo._GetaudioCompleted: Boolean; begin Result:=ReadJSPropertyBoolean('audioCompleted'); end; function TJSMediaDecoderStateMachineDebugInfo._GetvideoCompleted: Boolean; begin Result:=ReadJSPropertyBoolean('videoCompleted'); end; function TJSMediaDecoderStateMachineDebugInfo._GetstateObj: IJSMediaDecoderStateMachineDecodingStateDebugInfo; begin Result:=ReadJSPropertyObject('stateObj',TJSMediaDecoderStateMachineDecodingStateDebugInfo) as IJSMediaDecoderStateMachineDecodingStateDebugInfo; end; function TJSMediaDecoderStateMachineDebugInfo._GetmediaSink: IJSMediaSinkDebugInfo; begin Result:=ReadJSPropertyObject('mediaSink',TJSMediaSinkDebugInfo) as IJSMediaSinkDebugInfo; end; function TJSMediaDecoderStateMachineDebugInfo._GettotalBufferingTimeMs: Double; begin Result:=ReadJSPropertyDouble('totalBufferingTimeMs'); end; procedure TJSMediaDecoderStateMachineDebugInfo._Setduration(const aValue : Int64); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetmediaTime(const aValue : Int64); begin WriteJSPropertyDouble('mediaTime',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._Setclock(const aValue : Int64); begin WriteJSPropertyDouble('clock',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._Setstate(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('state',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetplayState(const aValue : LongInt); begin WriteJSPropertyLongInt('playState',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetsentFirstFrameLoadedEvent(const aValue : Boolean); begin WriteJSPropertyBoolean('sentFirstFrameLoadedEvent',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetisPlaying(const aValue : Boolean); begin WriteJSPropertyBoolean('isPlaying',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetaudioRequestStatus(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('audioRequestStatus',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetvideoRequestStatus(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('videoRequestStatus',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetdecodedAudioEndTime(const aValue : Int64); begin WriteJSPropertyDouble('decodedAudioEndTime',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetdecodedVideoEndTime(const aValue : Int64); begin WriteJSPropertyDouble('decodedVideoEndTime',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetaudioCompleted(const aValue : Boolean); begin WriteJSPropertyBoolean('audioCompleted',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetvideoCompleted(const aValue : Boolean); begin WriteJSPropertyBoolean('videoCompleted',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetstateObj(const aValue : IJSMediaDecoderStateMachineDecodingStateDebugInfo); begin WriteJSPropertyObject('stateObj',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SetmediaSink(const aValue : IJSMediaSinkDebugInfo); begin WriteJSPropertyObject('mediaSink',aValue); end; procedure TJSMediaDecoderStateMachineDebugInfo._SettotalBufferingTimeMs(const aValue : Double); begin WriteJSPropertyDouble('totalBufferingTimeMs',aValue); end; constructor TJSMediaDecoderStateMachineDebugInfo.create(const aDict : TJSMediaDecoderStateMachineDebugInfoRec); overload; begin Self.duration:=aDict.duration; Self.mediaTime:=aDict.mediaTime; Self.clock:=aDict.clock; Self.state:=aDict.state; Self.playState:=aDict.playState; Self.sentFirstFrameLoadedEvent:=aDict.sentFirstFrameLoadedEvent; Self.isPlaying:=aDict.isPlaying; Self.audioRequestStatus:=aDict.audioRequestStatus; Self.videoRequestStatus:=aDict.videoRequestStatus; Self.decodedAudioEndTime:=aDict.decodedAudioEndTime; Self.decodedVideoEndTime:=aDict.decodedVideoEndTime; Self.audioCompleted:=aDict.audioCompleted; Self.videoCompleted:=aDict.videoCompleted; Self.stateObj:=aDict.stateObj; Self.mediaSink:=aDict.mediaSink; Self.totalBufferingTimeMs:=aDict.totalBufferingTimeMs; end; class function TJSMediaDecoderStateMachineDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaDecoderStateMachineDebugInfo.Cast(const Intf: IJSObject): IJSMediaDecoderStateMachineDebugInfo; begin Result:=TJSMediaDecoderStateMachineDebugInfo.JOBCast(Intf); end; function TJSMediaStateDebugInfo._GetneedInput: Boolean; begin Result:=ReadJSPropertyBoolean('needInput'); end; function TJSMediaStateDebugInfo._GethasPromise: Boolean; begin Result:=ReadJSPropertyBoolean('hasPromise'); end; function TJSMediaStateDebugInfo._GetwaitingPromise: Boolean; begin Result:=ReadJSPropertyBoolean('waitingPromise'); end; function TJSMediaStateDebugInfo._GethasDemuxRequest: Boolean; begin Result:=ReadJSPropertyBoolean('hasDemuxRequest'); end; function TJSMediaStateDebugInfo._GetdemuxQueueSize: LongInt; begin Result:=ReadJSPropertyLongInt('demuxQueueSize'); end; function TJSMediaStateDebugInfo._GethasDecoder: Boolean; begin Result:=ReadJSPropertyBoolean('hasDecoder'); end; function TJSMediaStateDebugInfo._GettimeTreshold: Double; begin Result:=ReadJSPropertyDouble('timeTreshold'); end; function TJSMediaStateDebugInfo._GettimeTresholdHasSeeked: Boolean; begin Result:=ReadJSPropertyBoolean('timeTresholdHasSeeked'); end; function TJSMediaStateDebugInfo._GetnumSamplesInput: Int64; begin Result:=ReadJSPropertyInt64('numSamplesInput'); end; function TJSMediaStateDebugInfo._GetnumSamplesOutput: Int64; begin Result:=ReadJSPropertyInt64('numSamplesOutput'); end; function TJSMediaStateDebugInfo._GetqueueSize: LongInt; begin Result:=ReadJSPropertyLongInt('queueSize'); end; function TJSMediaStateDebugInfo._Getpending: LongInt; begin Result:=ReadJSPropertyLongInt('pending'); end; function TJSMediaStateDebugInfo._GetwaitingForData: Boolean; begin Result:=ReadJSPropertyBoolean('waitingForData'); end; function TJSMediaStateDebugInfo._GetdemuxEOS: LongInt; begin Result:=ReadJSPropertyLongInt('demuxEOS'); end; function TJSMediaStateDebugInfo._GetdrainState: LongInt; begin Result:=ReadJSPropertyLongInt('drainState'); end; function TJSMediaStateDebugInfo._GetwaitingForKey: Boolean; begin Result:=ReadJSPropertyBoolean('waitingForKey'); end; function TJSMediaStateDebugInfo._GetlastStreamSourceID: Int64; begin Result:=ReadJSPropertyInt64('lastStreamSourceID'); end; procedure TJSMediaStateDebugInfo._SetneedInput(const aValue : Boolean); begin WriteJSPropertyBoolean('needInput',aValue); end; procedure TJSMediaStateDebugInfo._SethasPromise(const aValue : Boolean); begin WriteJSPropertyBoolean('hasPromise',aValue); end; procedure TJSMediaStateDebugInfo._SetwaitingPromise(const aValue : Boolean); begin WriteJSPropertyBoolean('waitingPromise',aValue); end; procedure TJSMediaStateDebugInfo._SethasDemuxRequest(const aValue : Boolean); begin WriteJSPropertyBoolean('hasDemuxRequest',aValue); end; procedure TJSMediaStateDebugInfo._SetdemuxQueueSize(const aValue : LongInt); begin WriteJSPropertyLongInt('demuxQueueSize',aValue); end; procedure TJSMediaStateDebugInfo._SethasDecoder(const aValue : Boolean); begin WriteJSPropertyBoolean('hasDecoder',aValue); end; procedure TJSMediaStateDebugInfo._SettimeTreshold(const aValue : Double); begin WriteJSPropertyDouble('timeTreshold',aValue); end; procedure TJSMediaStateDebugInfo._SettimeTresholdHasSeeked(const aValue : Boolean); begin WriteJSPropertyBoolean('timeTresholdHasSeeked',aValue); end; procedure TJSMediaStateDebugInfo._SetnumSamplesInput(const aValue : Int64); begin WriteJSPropertyDouble('numSamplesInput',aValue); end; procedure TJSMediaStateDebugInfo._SetnumSamplesOutput(const aValue : Int64); begin WriteJSPropertyDouble('numSamplesOutput',aValue); end; procedure TJSMediaStateDebugInfo._SetqueueSize(const aValue : LongInt); begin WriteJSPropertyLongInt('queueSize',aValue); end; procedure TJSMediaStateDebugInfo._Setpending(const aValue : LongInt); begin WriteJSPropertyLongInt('pending',aValue); end; procedure TJSMediaStateDebugInfo._SetwaitingForData(const aValue : Boolean); begin WriteJSPropertyBoolean('waitingForData',aValue); end; procedure TJSMediaStateDebugInfo._SetdemuxEOS(const aValue : LongInt); begin WriteJSPropertyLongInt('demuxEOS',aValue); end; procedure TJSMediaStateDebugInfo._SetdrainState(const aValue : LongInt); begin WriteJSPropertyLongInt('drainState',aValue); end; procedure TJSMediaStateDebugInfo._SetwaitingForKey(const aValue : Boolean); begin WriteJSPropertyBoolean('waitingForKey',aValue); end; procedure TJSMediaStateDebugInfo._SetlastStreamSourceID(const aValue : Int64); begin WriteJSPropertyDouble('lastStreamSourceID',aValue); end; constructor TJSMediaStateDebugInfo.create(const aDict : TJSMediaStateDebugInfoRec); overload; begin Self.needInput:=aDict.needInput; Self.hasPromise:=aDict.hasPromise; Self.waitingPromise:=aDict.waitingPromise; Self.hasDemuxRequest:=aDict.hasDemuxRequest; Self.demuxQueueSize:=aDict.demuxQueueSize; Self.hasDecoder:=aDict.hasDecoder; Self.timeTreshold:=aDict.timeTreshold; Self.timeTresholdHasSeeked:=aDict.timeTresholdHasSeeked; Self.numSamplesInput:=aDict.numSamplesInput; Self.numSamplesOutput:=aDict.numSamplesOutput; Self.queueSize:=aDict.queueSize; Self.pending:=aDict.pending; Self.waitingForData:=aDict.waitingForData; Self.demuxEOS:=aDict.demuxEOS; Self.drainState:=aDict.drainState; Self.waitingForKey:=aDict.waitingForKey; Self.lastStreamSourceID:=aDict.lastStreamSourceID; end; class function TJSMediaStateDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStateDebugInfo.Cast(const Intf: IJSObject): IJSMediaStateDebugInfo; begin Result:=TJSMediaStateDebugInfo.JOBCast(Intf); end; function TJSMediaFrameStats._GetdroppedDecodedFrames: Int64; begin Result:=ReadJSPropertyInt64('droppedDecodedFrames'); end; function TJSMediaFrameStats._GetdroppedSinkFrames: Int64; begin Result:=ReadJSPropertyInt64('droppedSinkFrames'); end; function TJSMediaFrameStats._GetdroppedCompositorFrames: Int64; begin Result:=ReadJSPropertyInt64('droppedCompositorFrames'); end; procedure TJSMediaFrameStats._SetdroppedDecodedFrames(const aValue : Int64); begin WriteJSPropertyDouble('droppedDecodedFrames',aValue); end; procedure TJSMediaFrameStats._SetdroppedSinkFrames(const aValue : Int64); begin WriteJSPropertyDouble('droppedSinkFrames',aValue); end; procedure TJSMediaFrameStats._SetdroppedCompositorFrames(const aValue : Int64); begin WriteJSPropertyDouble('droppedCompositorFrames',aValue); end; constructor TJSMediaFrameStats.create(const aDict : TJSMediaFrameStatsRec); overload; begin Self.droppedDecodedFrames:=aDict.droppedDecodedFrames; Self.droppedSinkFrames:=aDict.droppedSinkFrames; Self.droppedCompositorFrames:=aDict.droppedCompositorFrames; end; class function TJSMediaFrameStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaFrameStats.Cast(const Intf: IJSObject): IJSMediaFrameStats; begin Result:=TJSMediaFrameStats.JOBCast(Intf); end; function TJSMediaFormatReaderDebugInfo._GetvideoType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('videoType'); end; function TJSMediaFormatReaderDebugInfo._GetvideoDecoderName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('videoDecoderName'); end; function TJSMediaFormatReaderDebugInfo._GetvideoWidth: LongInt; begin Result:=ReadJSPropertyLongInt('videoWidth'); end; function TJSMediaFormatReaderDebugInfo._GetvideoHeight: LongInt; begin Result:=ReadJSPropertyLongInt('videoHeight'); end; function TJSMediaFormatReaderDebugInfo._GetvideoRate: Double; begin Result:=ReadJSPropertyDouble('videoRate'); end; function TJSMediaFormatReaderDebugInfo._GetaudioType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('audioType'); end; function TJSMediaFormatReaderDebugInfo._GetaudioDecoderName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('audioDecoderName'); end; function TJSMediaFormatReaderDebugInfo._GetvideoHardwareAccelerated: Boolean; begin Result:=ReadJSPropertyBoolean('videoHardwareAccelerated'); end; function TJSMediaFormatReaderDebugInfo._GetvideoNumSamplesOutputTotal: Int64; begin Result:=ReadJSPropertyInt64('videoNumSamplesOutputTotal'); end; function TJSMediaFormatReaderDebugInfo._GetvideoNumSamplesSkippedTotal: Int64; begin Result:=ReadJSPropertyInt64('videoNumSamplesSkippedTotal'); end; function TJSMediaFormatReaderDebugInfo._GetaudioChannels: LongInt; begin Result:=ReadJSPropertyLongInt('audioChannels'); end; function TJSMediaFormatReaderDebugInfo._GetaudioRate: Double; begin Result:=ReadJSPropertyDouble('audioRate'); end; function TJSMediaFormatReaderDebugInfo._GetaudioFramesDecoded: Int64; begin Result:=ReadJSPropertyInt64('audioFramesDecoded'); end; function TJSMediaFormatReaderDebugInfo._GetaudioState: IJSMediaStateDebugInfo; begin Result:=ReadJSPropertyObject('audioState',TJSMediaStateDebugInfo) as IJSMediaStateDebugInfo; end; function TJSMediaFormatReaderDebugInfo._GetvideoState: IJSMediaStateDebugInfo; begin Result:=ReadJSPropertyObject('videoState',TJSMediaStateDebugInfo) as IJSMediaStateDebugInfo; end; function TJSMediaFormatReaderDebugInfo._GetframeStats: IJSMediaFrameStats; begin Result:=ReadJSPropertyObject('frameStats',TJSMediaFrameStats) as IJSMediaFrameStats; end; function TJSMediaFormatReaderDebugInfo._GettotalReadMetadataTimeMs: Double; begin Result:=ReadJSPropertyDouble('totalReadMetadataTimeMs'); end; function TJSMediaFormatReaderDebugInfo._GettotalWaitingForVideoDataTimeMs: Double; begin Result:=ReadJSPropertyDouble('totalWaitingForVideoDataTimeMs'); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('videoType',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoDecoderName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('videoDecoderName',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoWidth(const aValue : LongInt); begin WriteJSPropertyLongInt('videoWidth',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoHeight(const aValue : LongInt); begin WriteJSPropertyLongInt('videoHeight',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoRate(const aValue : Double); begin WriteJSPropertyDouble('videoRate',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('audioType',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioDecoderName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('audioDecoderName',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoHardwareAccelerated(const aValue : Boolean); begin WriteJSPropertyBoolean('videoHardwareAccelerated',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoNumSamplesOutputTotal(const aValue : Int64); begin WriteJSPropertyDouble('videoNumSamplesOutputTotal',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoNumSamplesSkippedTotal(const aValue : Int64); begin WriteJSPropertyDouble('videoNumSamplesSkippedTotal',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioChannels(const aValue : LongInt); begin WriteJSPropertyLongInt('audioChannels',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioRate(const aValue : Double); begin WriteJSPropertyDouble('audioRate',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioFramesDecoded(const aValue : Int64); begin WriteJSPropertyDouble('audioFramesDecoded',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetaudioState(const aValue : IJSMediaStateDebugInfo); begin WriteJSPropertyObject('audioState',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetvideoState(const aValue : IJSMediaStateDebugInfo); begin WriteJSPropertyObject('videoState',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SetframeStats(const aValue : IJSMediaFrameStats); begin WriteJSPropertyObject('frameStats',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SettotalReadMetadataTimeMs(const aValue : Double); begin WriteJSPropertyDouble('totalReadMetadataTimeMs',aValue); end; procedure TJSMediaFormatReaderDebugInfo._SettotalWaitingForVideoDataTimeMs(const aValue : Double); begin WriteJSPropertyDouble('totalWaitingForVideoDataTimeMs',aValue); end; constructor TJSMediaFormatReaderDebugInfo.create(const aDict : TJSMediaFormatReaderDebugInfoRec); overload; begin Self.videoType:=aDict.videoType; Self.videoDecoderName:=aDict.videoDecoderName; Self.videoWidth:=aDict.videoWidth; Self.videoHeight:=aDict.videoHeight; Self.videoRate:=aDict.videoRate; Self.audioType:=aDict.audioType; Self.audioDecoderName:=aDict.audioDecoderName; Self.videoHardwareAccelerated:=aDict.videoHardwareAccelerated; Self.videoNumSamplesOutputTotal:=aDict.videoNumSamplesOutputTotal; Self.videoNumSamplesSkippedTotal:=aDict.videoNumSamplesSkippedTotal; Self.audioChannels:=aDict.audioChannels; Self.audioRate:=aDict.audioRate; Self.audioFramesDecoded:=aDict.audioFramesDecoded; Self.audioState:=aDict.audioState; Self.videoState:=aDict.videoState; Self.frameStats:=aDict.frameStats; Self.totalReadMetadataTimeMs:=aDict.totalReadMetadataTimeMs; Self.totalWaitingForVideoDataTimeMs:=aDict.totalWaitingForVideoDataTimeMs; end; class function TJSMediaFormatReaderDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaFormatReaderDebugInfo.Cast(const Intf: IJSObject): IJSMediaFormatReaderDebugInfo; begin Result:=TJSMediaFormatReaderDebugInfo.JOBCast(Intf); end; function TJSBufferRange._Getstart: Double; begin Result:=ReadJSPropertyDouble('start'); end; function TJSBufferRange._Getend_: Double; begin Result:=ReadJSPropertyDouble('end'); end; procedure TJSBufferRange._Setstart(const aValue : Double); begin WriteJSPropertyDouble('start',aValue); end; procedure TJSBufferRange._Setend_(const aValue : Double); begin WriteJSPropertyDouble('end',aValue); end; constructor TJSBufferRange.create(const aDict : TJSBufferRangeRec); overload; begin Self.start:=aDict.start; Self.end_:=aDict.end_; end; class function TJSBufferRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSBufferRange.Cast(const Intf: IJSObject): IJSBufferRange; begin Result:=TJSBufferRange.JOBCast(Intf); end; function TJSTrackBuffersManagerDebugInfo._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSTrackBuffersManagerDebugInfo._GetnextSampleTime: Double; begin Result:=ReadJSPropertyDouble('nextSampleTime'); end; function TJSTrackBuffersManagerDebugInfo._GetnumSamples: LongInt; begin Result:=ReadJSPropertyLongInt('numSamples'); end; function TJSTrackBuffersManagerDebugInfo._GetbufferSize: LongInt; begin Result:=ReadJSPropertyLongInt('bufferSize'); end; function TJSTrackBuffersManagerDebugInfo._Getevictable: LongInt; begin Result:=ReadJSPropertyLongInt('evictable'); end; function TJSTrackBuffersManagerDebugInfo._GetnextGetSampleIndex: LongInt; begin Result:=ReadJSPropertyLongInt('nextGetSampleIndex'); end; function TJSTrackBuffersManagerDebugInfo._GetnextInsertionIndex: LongInt; begin Result:=ReadJSPropertyLongInt('nextInsertionIndex'); end; function TJSTrackBuffersManagerDebugInfo._Getranges: TJSBufferRangeDynArray; begin Result:=ReadJSPropertyObject('ranges',TJSArray) as TJSBufferRangeDynArray; end; procedure TJSTrackBuffersManagerDebugInfo._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._SetnextSampleTime(const aValue : Double); begin WriteJSPropertyDouble('nextSampleTime',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._SetnumSamples(const aValue : LongInt); begin WriteJSPropertyLongInt('numSamples',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._SetbufferSize(const aValue : LongInt); begin WriteJSPropertyLongInt('bufferSize',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._Setevictable(const aValue : LongInt); begin WriteJSPropertyLongInt('evictable',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._SetnextGetSampleIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('nextGetSampleIndex',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._SetnextInsertionIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('nextInsertionIndex',aValue); end; procedure TJSTrackBuffersManagerDebugInfo._Setranges(const aValue : TJSBufferRangeDynArray); begin WriteJSPropertyObject('ranges',aValue); end; constructor TJSTrackBuffersManagerDebugInfo.create(const aDict : TJSTrackBuffersManagerDebugInfoRec); overload; begin Self.type_:=aDict.type_; Self.nextSampleTime:=aDict.nextSampleTime; Self.numSamples:=aDict.numSamples; Self.bufferSize:=aDict.bufferSize; Self.evictable:=aDict.evictable; Self.nextGetSampleIndex:=aDict.nextGetSampleIndex; Self.nextInsertionIndex:=aDict.nextInsertionIndex; Self.ranges:=aDict.ranges; end; class function TJSTrackBuffersManagerDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTrackBuffersManagerDebugInfo.Cast(const Intf: IJSObject): IJSTrackBuffersManagerDebugInfo; begin Result:=TJSTrackBuffersManagerDebugInfo.JOBCast(Intf); end; function TJSMediaSourceDemuxerDebugInfo._GetaudioTrack: IJSTrackBuffersManagerDebugInfo; begin Result:=ReadJSPropertyObject('audioTrack',TJSTrackBuffersManagerDebugInfo) as IJSTrackBuffersManagerDebugInfo; end; function TJSMediaSourceDemuxerDebugInfo._GetvideoTrack: IJSTrackBuffersManagerDebugInfo; begin Result:=ReadJSPropertyObject('videoTrack',TJSTrackBuffersManagerDebugInfo) as IJSTrackBuffersManagerDebugInfo; end; procedure TJSMediaSourceDemuxerDebugInfo._SetaudioTrack(const aValue : IJSTrackBuffersManagerDebugInfo); begin WriteJSPropertyObject('audioTrack',aValue); end; procedure TJSMediaSourceDemuxerDebugInfo._SetvideoTrack(const aValue : IJSTrackBuffersManagerDebugInfo); begin WriteJSPropertyObject('videoTrack',aValue); end; constructor TJSMediaSourceDemuxerDebugInfo.create(const aDict : TJSMediaSourceDemuxerDebugInfoRec); overload; begin Self.audioTrack:=aDict.audioTrack; Self.videoTrack:=aDict.videoTrack; end; class function TJSMediaSourceDemuxerDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaSourceDemuxerDebugInfo.Cast(const Intf: IJSObject): IJSMediaSourceDemuxerDebugInfo; begin Result:=TJSMediaSourceDemuxerDebugInfo.JOBCast(Intf); end; function TJSMediaSourceDecoderDebugInfo._Getreader: IJSMediaFormatReaderDebugInfo; begin Result:=ReadJSPropertyObject('reader',TJSMediaFormatReaderDebugInfo) as IJSMediaFormatReaderDebugInfo; end; function TJSMediaSourceDecoderDebugInfo._Getdemuxer: IJSMediaSourceDemuxerDebugInfo; begin Result:=ReadJSPropertyObject('demuxer',TJSMediaSourceDemuxerDebugInfo) as IJSMediaSourceDemuxerDebugInfo; end; procedure TJSMediaSourceDecoderDebugInfo._Setreader(const aValue : IJSMediaFormatReaderDebugInfo); begin WriteJSPropertyObject('reader',aValue); end; procedure TJSMediaSourceDecoderDebugInfo._Setdemuxer(const aValue : IJSMediaSourceDemuxerDebugInfo); begin WriteJSPropertyObject('demuxer',aValue); end; constructor TJSMediaSourceDecoderDebugInfo.create(const aDict : TJSMediaSourceDecoderDebugInfoRec); overload; begin Self.reader:=aDict.reader; Self.demuxer:=aDict.demuxer; end; class function TJSMediaSourceDecoderDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaSourceDecoderDebugInfo.Cast(const Intf: IJSObject): IJSMediaSourceDecoderDebugInfo; begin Result:=TJSMediaSourceDecoderDebugInfo.JOBCast(Intf); end; function TJSEMEDebugInfo._GetkeySystem: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('keySystem'); end; function TJSEMEDebugInfo._GetsessionsInfo: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sessionsInfo'); end; procedure TJSEMEDebugInfo._SetkeySystem(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('keySystem',aValue); end; procedure TJSEMEDebugInfo._SetsessionsInfo(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sessionsInfo',aValue); end; constructor TJSEMEDebugInfo.create(const aDict : TJSEMEDebugInfoRec); overload; begin Self.keySystem:=aDict.keySystem; Self.sessionsInfo:=aDict.sessionsInfo; end; class function TJSEMEDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEMEDebugInfo.Cast(const Intf: IJSObject): IJSEMEDebugInfo; begin Result:=TJSEMEDebugInfo.JOBCast(Intf); end; function TJSHTMLMediaElementDebugInfo._GetcompositorDroppedFrames: Cardinal; begin Result:=ReadJSPropertyInt64('compositorDroppedFrames'); end; function TJSHTMLMediaElementDebugInfo._GetEMEInfo: IJSEMEDebugInfo; begin Result:=ReadJSPropertyObject('EMEInfo',TJSEMEDebugInfo) as IJSEMEDebugInfo; end; function TJSHTMLMediaElementDebugInfo._Getdecoder: IJSMediaDecoderDebugInfo; begin Result:=ReadJSPropertyObject('decoder',TJSMediaDecoderDebugInfo) as IJSMediaDecoderDebugInfo; end; procedure TJSHTMLMediaElementDebugInfo._SetcompositorDroppedFrames(const aValue : Cardinal); begin WriteJSPropertyDouble('compositorDroppedFrames',aValue); end; procedure TJSHTMLMediaElementDebugInfo._SetEMEInfo(const aValue : IJSEMEDebugInfo); begin WriteJSPropertyObject('EMEInfo',aValue); end; procedure TJSHTMLMediaElementDebugInfo._Setdecoder(const aValue : IJSMediaDecoderDebugInfo); begin WriteJSPropertyObject('decoder',aValue); end; constructor TJSHTMLMediaElementDebugInfo.create(const aDict : TJSHTMLMediaElementDebugInfoRec); overload; begin Self.compositorDroppedFrames:=aDict.compositorDroppedFrames; Self.EMEInfo:=aDict.EMEInfo; Self.decoder:=aDict.decoder; end; class function TJSHTMLMediaElementDebugInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHTMLMediaElementDebugInfo.Cast(const Intf: IJSObject): IJSHTMLMediaElementDebugInfo; begin Result:=TJSHTMLMediaElementDebugInfo.JOBCast(Intf); end; function TJSMediaDeviceInfo._GetdeviceId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('deviceId'); end; function TJSMediaDeviceInfo._Getkind: TMediaDeviceKind; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSMediaDeviceInfo._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSMediaDeviceInfo._GetgroupId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('groupId'); end; function TJSMediaDeviceInfo.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSMediaDeviceInfo.JSClassName: UnicodeString; begin Result:='MediaDeviceInfo'; end; class function TJSMediaDeviceInfo.Cast(const Intf: IJSObject): IJSMediaDeviceInfo; begin Result:=TJSMediaDeviceInfo.JOBCast(Intf); end; function TJSMediaDevices._Getondevicechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondevicechange'))); end; procedure TJSMediaDevices._Setondevicechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondevicechange',[m],jiSet); finally m.free end; end; function TJSMediaDevices.getSupportedConstraints: IJSMediaTrackSupportedConstraints; begin Result:=InvokeJSObjectResult('getSupportedConstraints',[],TJSMediaTrackSupportedConstraints) as IJSMediaTrackSupportedConstraints; end; function TJSMediaDevices.enumerateDevices: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('enumerateDevices',[],TJSPromise) as IJSPromise; end; function TJSMediaDevices.getUserMedia(const aConstraints: IJSMediaStreamConstraints): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getUserMedia',[aConstraints],TJSPromise) as IJSPromise; end; function TJSMediaDevices.getUserMedia: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getUserMedia',[],TJSPromise) as IJSPromise; end; function TJSMediaDevices.getDisplayMedia(const aConstraints: IJSDisplayMediaStreamConstraints): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getDisplayMedia',[aConstraints],TJSPromise) as IJSPromise; end; function TJSMediaDevices.getDisplayMedia: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getDisplayMedia',[],TJSPromise) as IJSPromise; end; function TJSMediaDevices.selectAudioOutput(const aOptions: IJSAudioOutputOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('selectAudioOutput',[aOptions],TJSPromise) as IJSPromise; end; function TJSMediaDevices.selectAudioOutput: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('selectAudioOutput',[],TJSPromise) as IJSPromise; end; class function TJSMediaDevices.JSClassName: UnicodeString; begin Result:='MediaDevices'; end; class function TJSMediaDevices.Cast(const Intf: IJSObject): IJSMediaDevices; begin Result:=TJSMediaDevices.JOBCast(Intf); end; function TJSAudioOutputOptions._GetdeviceId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('deviceId'); end; procedure TJSAudioOutputOptions._SetdeviceId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('deviceId',aValue); end; constructor TJSAudioOutputOptions.create(const aDict : TJSAudioOutputOptionsRec); overload; begin Self.deviceId:=aDict.deviceId; end; class function TJSAudioOutputOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAudioOutputOptions.Cast(const Intf: IJSObject): IJSAudioOutputOptions; begin Result:=TJSAudioOutputOptions.JOBCast(Intf); end; function TJSMediaElementAudioSourceOptions._GetmediaElement: IJSHTMLMediaElement; begin Result:=ReadJSPropertyObject('mediaElement',TJSHTMLMediaElement) as IJSHTMLMediaElement; end; procedure TJSMediaElementAudioSourceOptions._SetmediaElement(const aValue : IJSHTMLMediaElement); begin WriteJSPropertyObject('mediaElement',aValue); end; constructor TJSMediaElementAudioSourceOptions.create(const aDict : TJSMediaElementAudioSourceOptionsRec); overload; begin Self.mediaElement:=aDict.mediaElement; end; class function TJSMediaElementAudioSourceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaElementAudioSourceOptions.Cast(const Intf: IJSObject): IJSMediaElementAudioSourceOptions; begin Result:=TJSMediaElementAudioSourceOptions.JOBCast(Intf); end; function TJSMediaElementAudioSourceNode._GetmediaElement: IJSHTMLMediaElement; begin Result:=ReadJSPropertyObject('mediaElement',TJSHTMLMediaElement) as IJSHTMLMediaElement; end; constructor TJSMediaElementAudioSourceNode.Create(aContext: IJSAudioContext; const aOptions: IJSMediaElementAudioSourceOptions); begin JOBCreate([aContext,aOptions]); end; class function TJSMediaElementAudioSourceNode.JSClassName: UnicodeString; begin Result:='MediaElementAudioSourceNode'; end; class function TJSMediaElementAudioSourceNode.Cast(const Intf: IJSObject): IJSMediaElementAudioSourceNode; begin Result:=TJSMediaElementAudioSourceNode.JOBCast(Intf); end; function TJSMediaEncryptedEvent._GetinitDataType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('initDataType'); end; function TJSMediaEncryptedEvent._GetinitData: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('initData',TJSArrayBuffer) as IJSArrayBuffer; end; constructor TJSMediaEncryptedEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaKeyNeededEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMediaEncryptedEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSMediaEncryptedEvent.JSClassName: UnicodeString; begin Result:='MediaEncryptedEvent'; end; class function TJSMediaEncryptedEvent.Cast(const Intf: IJSObject): IJSMediaEncryptedEvent; begin Result:=TJSMediaEncryptedEvent.JOBCast(Intf); end; function TJSMediaKeyNeededEventInit._GetinitDataType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('initDataType'); end; function TJSMediaKeyNeededEventInit._GetinitData: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('initData',TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSMediaKeyNeededEventInit._SetinitDataType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('initDataType',aValue); end; procedure TJSMediaKeyNeededEventInit._SetinitData(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('initData',aValue); end; constructor TJSMediaKeyNeededEventInit.create(const aDict : TJSMediaKeyNeededEventInitRec); overload; begin Self.initDataType:=aDict.initDataType; Self.initData:=aDict.initData; end; class function TJSMediaKeyNeededEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaKeyNeededEventInit.Cast(const Intf: IJSObject): IJSMediaKeyNeededEventInit; begin Result:=TJSMediaKeyNeededEventInit.JOBCast(Intf); end; function TJSMediaError._Getcode: Word; begin Result:=ReadJSPropertyLongInt('code'); end; function TJSMediaError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSMediaError.JSClassName: UnicodeString; begin Result:='MediaError'; end; class function TJSMediaError.Cast(const Intf: IJSObject): IJSMediaError; begin Result:=TJSMediaError.JOBCast(Intf); end; function TJSMediaKeyError._GetsystemCode: Cardinal; begin Result:=ReadJSPropertyInt64('systemCode'); end; class function TJSMediaKeyError.JSClassName: UnicodeString; begin Result:='MediaKeyError'; end; class function TJSMediaKeyError.Cast(const Intf: IJSObject): IJSMediaKeyError; begin Result:=TJSMediaKeyError.JOBCast(Intf); end; function TJSMediaKeyMessageEvent._GetmessageType: TMediaKeyMessageType; begin Result:=ReadJSPropertyUnicodeString('messageType'); end; function TJSMediaKeyMessageEvent._Getmessage: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('message',TJSArrayBuffer) as IJSArrayBuffer; end; constructor TJSMediaKeyMessageEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaKeyMessageEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSMediaKeyMessageEvent.JSClassName: UnicodeString; begin Result:='MediaKeyMessageEvent'; end; class function TJSMediaKeyMessageEvent.Cast(const Intf: IJSObject): IJSMediaKeyMessageEvent; begin Result:=TJSMediaKeyMessageEvent.JOBCast(Intf); end; function TJSMediaKeyMessageEventInit._GetmessageType: TMediaKeyMessageType; begin Result:=ReadJSPropertyUnicodeString('messageType'); end; function TJSMediaKeyMessageEventInit._Getmessage: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('message',TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSMediaKeyMessageEventInit._SetmessageType(const aValue : TMediaKeyMessageType); begin WriteJSPropertyUnicodeString('messageType',aValue); end; procedure TJSMediaKeyMessageEventInit._Setmessage(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('message',aValue); end; constructor TJSMediaKeyMessageEventInit.create(const aDict : TJSMediaKeyMessageEventInitRec); overload; begin Self.messageType:=aDict.messageType; Self.message:=aDict.message; end; class function TJSMediaKeyMessageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaKeyMessageEventInit.Cast(const Intf: IJSObject): IJSMediaKeyMessageEventInit; begin Result:=TJSMediaKeyMessageEventInit.JOBCast(Intf); end; function TJSMediaKeysPolicy._GetminHdcpVersion: THDCPVersion; begin Result:=ReadJSPropertyUnicodeString('minHdcpVersion'); end; procedure TJSMediaKeysPolicy._SetminHdcpVersion(const aValue : THDCPVersion); begin WriteJSPropertyUnicodeString('minHdcpVersion',aValue); end; constructor TJSMediaKeysPolicy.create(const aDict : TJSMediaKeysPolicyRec); overload; begin Self.minHdcpVersion:=aDict.minHdcpVersion; end; class function TJSMediaKeysPolicy.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaKeysPolicy.Cast(const Intf: IJSObject): IJSMediaKeysPolicy; begin Result:=TJSMediaKeysPolicy.JOBCast(Intf); end; function TJSMediaKeys._GetkeySystem: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('keySystem'); end; function TJSMediaKeys.createSession(aSessionType: TMediaKeySessionType): IJSMediaKeySession; begin Result:=InvokeJSObjectResult('createSession',[aSessionType],TJSMediaKeySession) as IJSMediaKeySession; end; function TJSMediaKeys.createSession: IJSMediaKeySession; begin Result:=InvokeJSObjectResult('createSession',[],TJSMediaKeySession) as IJSMediaKeySession; end; function TJSMediaKeys.setServerCertificate(aServerCertificate: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setServerCertificate',[aServerCertificate],TJSPromise) as IJSPromise; end; function TJSMediaKeys.getStatusForPolicy(const aPolicy: IJSMediaKeysPolicy): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStatusForPolicy',[aPolicy],TJSPromise) as IJSPromise; end; function TJSMediaKeys.getStatusForPolicy: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStatusForPolicy',[],TJSPromise) as IJSPromise; end; class function TJSMediaKeys.JSClassName: UnicodeString; begin Result:='MediaKeys'; end; class function TJSMediaKeys.Cast(const Intf: IJSObject): IJSMediaKeys; begin Result:=TJSMediaKeys.JOBCast(Intf); end; function TJSMediaKeySession._Geterror: IJSMediaKeyError; begin Result:=ReadJSPropertyObject('error',TJSMediaKeyError) as IJSMediaKeyError; end; function TJSMediaKeySession._GetsessionId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sessionId'); end; function TJSMediaKeySession._Getexpiration: Double; begin Result:=ReadJSPropertyDouble('expiration'); end; function TJSMediaKeySession._Getclosed: IJSPromise; begin Result:=ReadJSPropertyObject('closed',TJSPromise) as IJSPromise; end; function TJSMediaKeySession._GetkeyStatuses: IJSMediaKeyStatusMap; begin Result:=ReadJSPropertyObject('keyStatuses',TJSMediaKeyStatusMap) as IJSMediaKeyStatusMap; end; function TJSMediaKeySession._Getonkeystatuseschange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeystatuseschange'))); end; function TJSMediaKeySession._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; procedure TJSMediaKeySession._Setonkeystatuseschange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeystatuseschange',[m],jiSet); finally m.free end; end; procedure TJSMediaKeySession._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; function TJSMediaKeySession.generateRequest(const aInitDataType: UnicodeString; aInitData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateRequest',[aInitDataType,aInitData],TJSPromise) as IJSPromise; end; function TJSMediaKeySession.load(const aSessionId: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('load',[aSessionId],TJSPromise) as IJSPromise; end; function TJSMediaKeySession.update(aResponse: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('update',[aResponse],TJSPromise) as IJSPromise; end; function TJSMediaKeySession.close: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('close',[],TJSPromise) as IJSPromise; end; function TJSMediaKeySession.remove: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('remove',[],TJSPromise) as IJSPromise; end; class function TJSMediaKeySession.JSClassName: UnicodeString; begin Result:='MediaKeySession'; end; class function TJSMediaKeySession.Cast(const Intf: IJSObject): IJSMediaKeySession; begin Result:=TJSMediaKeySession.JOBCast(Intf); end; function TJSRequestMediaKeySystemAccessNotification._GetkeySystem: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('keySystem'); end; function TJSRequestMediaKeySystemAccessNotification._Getstatus: TMediaKeySystemStatus; begin Result:=ReadJSPropertyUnicodeString('status'); end; procedure TJSRequestMediaKeySystemAccessNotification._SetkeySystem(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('keySystem',aValue); end; procedure TJSRequestMediaKeySystemAccessNotification._Setstatus(const aValue : TMediaKeySystemStatus); begin WriteJSPropertyUnicodeString('status',aValue); end; constructor TJSRequestMediaKeySystemAccessNotification.create(const aDict : TJSRequestMediaKeySystemAccessNotificationRec); overload; begin Self.keySystem:=aDict.keySystem; Self.status:=aDict.status; end; class function TJSRequestMediaKeySystemAccessNotification.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRequestMediaKeySystemAccessNotification.Cast(const Intf: IJSObject): IJSRequestMediaKeySystemAccessNotification; begin Result:=TJSRequestMediaKeySystemAccessNotification.JOBCast(Intf); end; function TJSMediaKeyStatusMap._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; function TJSMediaKeyStatusMap.has(aKeyId: IJSBufferSource): Boolean; begin Result:=InvokeJSBooleanResult('has',[aKeyId]); end; function TJSMediaKeyStatusMap.get(aKeyId: IJSBufferSource): TMediaKeyStatusMap_get_Type; begin Result:=InvokeJSVariantResult('get',[aKeyId]); end; class function TJSMediaKeyStatusMap.JSClassName: UnicodeString; begin Result:='MediaKeyStatusMap'; end; class function TJSMediaKeyStatusMap.Cast(const Intf: IJSObject): IJSMediaKeyStatusMap; begin Result:=TJSMediaKeyStatusMap.JOBCast(Intf); end; function TJSMediaKeySystemMediaCapability._GetcontentType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentType'); end; function TJSMediaKeySystemMediaCapability._Getrobustness: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('robustness'); end; function TJSMediaKeySystemMediaCapability._GetencryptionScheme: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encryptionScheme'); end; procedure TJSMediaKeySystemMediaCapability._SetcontentType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contentType',aValue); end; procedure TJSMediaKeySystemMediaCapability._Setrobustness(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('robustness',aValue); end; procedure TJSMediaKeySystemMediaCapability._SetencryptionScheme(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('encryptionScheme',aValue); end; constructor TJSMediaKeySystemMediaCapability.create(const aDict : TJSMediaKeySystemMediaCapabilityRec); overload; begin Self.contentType:=aDict.contentType; Self.robustness:=aDict.robustness; Self.encryptionScheme:=aDict.encryptionScheme; end; class function TJSMediaKeySystemMediaCapability.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaKeySystemMediaCapability.Cast(const Intf: IJSObject): IJSMediaKeySystemMediaCapability; begin Result:=TJSMediaKeySystemMediaCapability.JOBCast(Intf); end; function TJSMediaKeySystemConfiguration._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSMediaKeySystemConfiguration._GetinitDataTypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('initDataTypes',TJSArray) as TUnicodeStringDynArray; end; function TJSMediaKeySystemConfiguration._GetaudioCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; begin Result:=ReadJSPropertyObject('audioCapabilities',TJSArray) as TJSMediaKeySystemMediaCapabilityDynArray; end; function TJSMediaKeySystemConfiguration._GetvideoCapabilities: TJSMediaKeySystemMediaCapabilityDynArray; begin Result:=ReadJSPropertyObject('videoCapabilities',TJSArray) as TJSMediaKeySystemMediaCapabilityDynArray; end; function TJSMediaKeySystemConfiguration._GetdistinctiveIdentifier: TMediaKeysRequirement; begin Result:=ReadJSPropertyUnicodeString('distinctiveIdentifier'); end; function TJSMediaKeySystemConfiguration._GetpersistentState: TMediaKeysRequirement; begin Result:=ReadJSPropertyUnicodeString('persistentState'); end; function TJSMediaKeySystemConfiguration._GetsessionTypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('sessionTypes',TJSArray) as TUnicodeStringDynArray; end; procedure TJSMediaKeySystemConfiguration._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSMediaKeySystemConfiguration._SetinitDataTypes(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('initDataTypes',aValue); end; procedure TJSMediaKeySystemConfiguration._SetaudioCapabilities(const aValue : TJSMediaKeySystemMediaCapabilityDynArray); begin WriteJSPropertyObject('audioCapabilities',aValue); end; procedure TJSMediaKeySystemConfiguration._SetvideoCapabilities(const aValue : TJSMediaKeySystemMediaCapabilityDynArray); begin WriteJSPropertyObject('videoCapabilities',aValue); end; procedure TJSMediaKeySystemConfiguration._SetdistinctiveIdentifier(const aValue : TMediaKeysRequirement); begin WriteJSPropertyUnicodeString('distinctiveIdentifier',aValue); end; procedure TJSMediaKeySystemConfiguration._SetpersistentState(const aValue : TMediaKeysRequirement); begin WriteJSPropertyUnicodeString('persistentState',aValue); end; procedure TJSMediaKeySystemConfiguration._SetsessionTypes(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('sessionTypes',aValue); end; constructor TJSMediaKeySystemConfiguration.create(const aDict : TJSMediaKeySystemConfigurationRec); overload; begin Self.label_:=aDict.label_; Self.initDataTypes:=aDict.initDataTypes; Self.audioCapabilities:=aDict.audioCapabilities; Self.videoCapabilities:=aDict.videoCapabilities; Self.distinctiveIdentifier:=aDict.distinctiveIdentifier; Self.persistentState:=aDict.persistentState; Self.sessionTypes:=aDict.sessionTypes; end; class function TJSMediaKeySystemConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaKeySystemConfiguration.Cast(const Intf: IJSObject): IJSMediaKeySystemConfiguration; begin Result:=TJSMediaKeySystemConfiguration.JOBCast(Intf); end; function TJSMediaKeySystemAccess._GetkeySystem: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('keySystem'); end; function TJSMediaKeySystemAccess.getConfiguration: IJSMediaKeySystemConfiguration; begin Result:=InvokeJSObjectResult('getConfiguration',[],TJSMediaKeySystemConfiguration) as IJSMediaKeySystemConfiguration; end; function TJSMediaKeySystemAccess.createMediaKeys: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createMediaKeys',[],TJSPromise) as IJSPromise; end; class function TJSMediaKeySystemAccess.JSClassName: UnicodeString; begin Result:='MediaKeySystemAccess'; end; class function TJSMediaKeySystemAccess.Cast(const Intf: IJSObject): IJSMediaKeySystemAccess; begin Result:=TJSMediaKeySystemAccess.JOBCast(Intf); end; function TJSMediaList._GetmediaText: UTF8String; begin Result:=ReadJSPropertyUTF8String('mediaText'); end; function TJSMediaList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSMediaList.item(aIndex: Cardinal): UTF8String; begin Result:=InvokeJSUTF8StringResult('item',[aIndex]); end; procedure TJSMediaList.deleteMedium(const aOldMedium: UTF8String); begin InvokeJSNoResult('deleteMedium',[aOldMedium]); end; procedure TJSMediaList.appendMedium(const aNewMedium: UTF8String); begin InvokeJSNoResult('appendMedium',[aNewMedium]); end; class function TJSMediaList.JSClassName: UnicodeString; begin Result:='MediaList'; end; class function TJSMediaList.Cast(const Intf: IJSObject): IJSMediaList; begin Result:=TJSMediaList.JOBCast(Intf); end; function TJSMediaQueryList._Getmedia: UTF8String; begin Result:=ReadJSPropertyUTF8String('media'); end; function TJSMediaQueryList._Getmatches: Boolean; begin Result:=ReadJSPropertyBoolean('matches'); end; function TJSMediaQueryList._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; procedure TJSMediaQueryList._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSMediaQueryList.addListener(const aListener: TEventListener); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('addListener',[m]); finally m.free; end; end; procedure TJSMediaQueryList.removeListener(const aListener: TEventListener); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aListener),@JOBCallEventListener); try InvokeJSNoResult('removeListener',[m]); finally m.free; end; end; class function TJSMediaQueryList.JSClassName: UnicodeString; begin Result:='MediaQueryList'; end; class function TJSMediaQueryList.Cast(const Intf: IJSObject): IJSMediaQueryList; begin Result:=TJSMediaQueryList.JOBCast(Intf); end; function TJSMediaQueryListEvent._Getmedia: UTF8String; begin Result:=ReadJSPropertyUTF8String('media'); end; function TJSMediaQueryListEvent._Getmatches: Boolean; begin Result:=ReadJSPropertyBoolean('matches'); end; constructor TJSMediaQueryListEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaQueryListEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMediaQueryListEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSMediaQueryListEvent.JSClassName: UnicodeString; begin Result:='MediaQueryListEvent'; end; class function TJSMediaQueryListEvent.Cast(const Intf: IJSObject): IJSMediaQueryListEvent; begin Result:=TJSMediaQueryListEvent.JOBCast(Intf); end; function TJSMediaQueryListEventInit._Getmedia: UTF8String; begin Result:=ReadJSPropertyUTF8String('media'); end; function TJSMediaQueryListEventInit._Getmatches: Boolean; begin Result:=ReadJSPropertyBoolean('matches'); end; procedure TJSMediaQueryListEventInit._Setmedia(const aValue : UTF8String); begin WriteJSPropertyUTF8String('media',aValue); end; procedure TJSMediaQueryListEventInit._Setmatches(const aValue : Boolean); begin WriteJSPropertyBoolean('matches',aValue); end; constructor TJSMediaQueryListEventInit.create(const aDict : TJSMediaQueryListEventInitRec); overload; begin Self.media:=aDict.media; Self.matches:=aDict.matches; end; class function TJSMediaQueryListEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaQueryListEventInit.Cast(const Intf: IJSObject): IJSMediaQueryListEventInit; begin Result:=TJSMediaQueryListEventInit.JOBCast(Intf); end; function TJSMediaRecorder._Getstream: IJSMediaStream; begin Result:=ReadJSPropertyObject('stream',TJSMediaStream) as IJSMediaStream; end; function TJSMediaRecorder._GetmimeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mimeType'); end; function TJSMediaRecorder._Getstate: TRecordingState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSMediaRecorder._Getonstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstart'))); end; function TJSMediaRecorder._Getonstop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstop'))); end; function TJSMediaRecorder._Getondataavailable: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondataavailable'))); end; function TJSMediaRecorder._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSMediaRecorder._Getonresume: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresume'))); end; function TJSMediaRecorder._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSMediaRecorder._GetvideoBitsPerSecond: Cardinal; begin Result:=ReadJSPropertyInt64('videoBitsPerSecond'); end; function TJSMediaRecorder._GetaudioBitsPerSecond: Cardinal; begin Result:=ReadJSPropertyInt64('audioBitsPerSecond'); end; procedure TJSMediaRecorder._Setonstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstart',[m],jiSet); finally m.free end; end; procedure TJSMediaRecorder._Setonstop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstop',[m],jiSet); finally m.free end; end; procedure TJSMediaRecorder._Setondataavailable(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondataavailable',[m],jiSet); finally m.free end; end; procedure TJSMediaRecorder._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSMediaRecorder._Setonresume(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresume',[m],jiSet); finally m.free end; end; procedure TJSMediaRecorder._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSMediaRecorder.Create(aStream: IJSMediaStream; const aOptions: IJSMediaRecorderOptions); begin JOBCreate([aStream,aOptions]); end; constructor TJSMediaRecorder.Create(aStream: IJSMediaStream); begin JOBCreate([aStream]); end; constructor TJSMediaRecorder.Create(aNode: IJSAudioNode; aOutput: Cardinal; const aOptions: IJSMediaRecorderOptions); begin JOBCreate([aNode,aOutput,aOptions]); end; constructor TJSMediaRecorder.Create(aNode: IJSAudioNode); begin JOBCreate([aNode]); end; constructor TJSMediaRecorder.Create(aNode: IJSAudioNode; aOutput: Cardinal); begin JOBCreate([aNode,aOutput]); end; procedure TJSMediaRecorder.start(aTimeslice: Cardinal); begin InvokeJSNoResult('start',[aTimeslice]); end; procedure TJSMediaRecorder.start; begin InvokeJSNoResult('start',[]); end; procedure TJSMediaRecorder.stop; begin InvokeJSNoResult('stop',[]); end; procedure TJSMediaRecorder.pause; begin InvokeJSNoResult('pause',[]); end; procedure TJSMediaRecorder.resume; begin InvokeJSNoResult('resume',[]); end; procedure TJSMediaRecorder.requestData; begin InvokeJSNoResult('requestData',[]); end; function TJSMediaRecorder.isTypeSupported(const aType_: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('isTypeSupported',[aType_]); end; class function TJSMediaRecorder.JSClassName: UnicodeString; begin Result:='MediaRecorder'; end; class function TJSMediaRecorder.Cast(const Intf: IJSObject): IJSMediaRecorder; begin Result:=TJSMediaRecorder.JOBCast(Intf); end; function TJSMediaRecorderOptions._GetmimeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mimeType'); end; function TJSMediaRecorderOptions._GetaudioBitsPerSecond: Cardinal; begin Result:=ReadJSPropertyInt64('audioBitsPerSecond'); end; function TJSMediaRecorderOptions._GetvideoBitsPerSecond: Cardinal; begin Result:=ReadJSPropertyInt64('videoBitsPerSecond'); end; function TJSMediaRecorderOptions._GetbitsPerSecond: Cardinal; begin Result:=ReadJSPropertyInt64('bitsPerSecond'); end; procedure TJSMediaRecorderOptions._SetmimeType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mimeType',aValue); end; procedure TJSMediaRecorderOptions._SetaudioBitsPerSecond(const aValue : Cardinal); begin WriteJSPropertyDouble('audioBitsPerSecond',aValue); end; procedure TJSMediaRecorderOptions._SetvideoBitsPerSecond(const aValue : Cardinal); begin WriteJSPropertyDouble('videoBitsPerSecond',aValue); end; procedure TJSMediaRecorderOptions._SetbitsPerSecond(const aValue : Cardinal); begin WriteJSPropertyDouble('bitsPerSecond',aValue); end; constructor TJSMediaRecorderOptions.create(const aDict : TJSMediaRecorderOptionsRec); overload; begin Self.mimeType:=aDict.mimeType; Self.audioBitsPerSecond:=aDict.audioBitsPerSecond; Self.videoBitsPerSecond:=aDict.videoBitsPerSecond; Self.bitsPerSecond:=aDict.bitsPerSecond; end; class function TJSMediaRecorderOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaRecorderOptions.Cast(const Intf: IJSObject): IJSMediaRecorderOptions; begin Result:=TJSMediaRecorderOptions.JOBCast(Intf); end; function TJSMediaRecorderErrorEventInit._Geterror: IJSDOMException; begin Result:=ReadJSPropertyObject('error',TJSDOMException) as IJSDOMException; end; procedure TJSMediaRecorderErrorEventInit._Seterror(const aValue : IJSDOMException); begin WriteJSPropertyObject('error',aValue); end; constructor TJSMediaRecorderErrorEventInit.create(const aDict : TJSMediaRecorderErrorEventInitRec); overload; begin Self.error:=TJSDomException.Cast(aDict.error); end; class function TJSMediaRecorderErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaRecorderErrorEventInit.Cast(const Intf: IJSObject): IJSMediaRecorderErrorEventInit; begin Result:=TJSMediaRecorderErrorEventInit.JOBCast(Intf); end; function TJSMediaRecorderErrorEvent._Geterror: IJSDOMException; begin Result:=ReadJSPropertyObject('error',TJSDOMException) as IJSDOMException; end; constructor TJSMediaRecorderErrorEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaRecorderErrorEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSMediaRecorderErrorEvent.JSClassName: UnicodeString; begin Result:='MediaRecorderErrorEvent'; end; class function TJSMediaRecorderErrorEvent.Cast(const Intf: IJSObject): IJSMediaRecorderErrorEvent; begin Result:=TJSMediaRecorderErrorEvent.JOBCast(Intf); end; function TJSMediaSession._Getmetadata: IJSMediaMetadata; begin Result:=ReadJSPropertyObject('metadata',TJSMediaMetadata) as IJSMediaMetadata; end; function TJSMediaSession._GetplaybackState: TMediaSessionPlaybackState; begin Result:=ReadJSPropertyUnicodeString('playbackState'); end; procedure TJSMediaSession._Setmetadata(const aValue : IJSMediaMetadata); begin WriteJSPropertyObject('metadata',aValue); end; procedure TJSMediaSession._SetplaybackState(const aValue : TMediaSessionPlaybackState); begin WriteJSPropertyUnicodeString('playbackState',aValue); end; procedure TJSMediaSession.setActionHandler(aAction: TMediaSessionAction; const aHandler: TMediaSessionActionHandler); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallMediaSessionActionHandler); try InvokeJSNoResult('setActionHandler',[aAction,m]); finally m.free; end; end; procedure TJSMediaSession.setPositionState(const aState: IJSMediaPositionState); begin InvokeJSNoResult('setPositionState',[aState]); end; procedure TJSMediaSession.setPositionState; begin InvokeJSNoResult('setPositionState',[]); end; class function TJSMediaSession.JSClassName: UnicodeString; begin Result:='MediaSession'; end; class function TJSMediaSession.Cast(const Intf: IJSObject): IJSMediaSession; begin Result:=TJSMediaSession.JOBCast(Intf); end; function TJSMediaMetadata._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSMediaMetadata._Getartist: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('artist'); end; function TJSMediaMetadata._Getalbum: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('album'); end; function TJSMediaMetadata._Getartwork: TIJSObjectDynArray; begin Result:=ReadJSPropertyObject('artwork',TJSArray) as TIJSObjectDynArray; end; procedure TJSMediaMetadata._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; procedure TJSMediaMetadata._Setartist(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('artist',aValue); end; procedure TJSMediaMetadata._Setalbum(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('album',aValue); end; procedure TJSMediaMetadata._Setartwork(const aValue : TIJSObjectDynArray); begin WriteJSPropertyObject('artwork',aValue); end; constructor TJSMediaMetadata.Create(const aInit: IJSMediaMetadataInit); begin JOBCreate([aInit]); end; constructor TJSMediaMetadata.Create; begin JOBCreate([]); end; class function TJSMediaMetadata.JSClassName: UnicodeString; begin Result:='MediaMetadata'; end; class function TJSMediaMetadata.Cast(const Intf: IJSObject): IJSMediaMetadata; begin Result:=TJSMediaMetadata.JOBCast(Intf); end; function TJSMediaMetadataInit._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSMediaMetadataInit._Getartist: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('artist'); end; function TJSMediaMetadataInit._Getalbum: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('album'); end; function TJSMediaMetadataInit._Getartwork: TJSMediaImageDynArray; begin Result:=ReadJSPropertyObject('artwork',TJSArray) as TJSMediaImageDynArray; end; procedure TJSMediaMetadataInit._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; procedure TJSMediaMetadataInit._Setartist(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('artist',aValue); end; procedure TJSMediaMetadataInit._Setalbum(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('album',aValue); end; procedure TJSMediaMetadataInit._Setartwork(const aValue : TJSMediaImageDynArray); begin WriteJSPropertyObject('artwork',aValue); end; constructor TJSMediaMetadataInit.create(const aDict : TJSMediaMetadataInitRec); overload; begin Self.title:=aDict.title; Self.artist:=aDict.artist; Self.album:=aDict.album; Self.artwork:=aDict.artwork; end; class function TJSMediaMetadataInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaMetadataInit.Cast(const Intf: IJSObject): IJSMediaMetadataInit; begin Result:=TJSMediaMetadataInit.JOBCast(Intf); end; function TJSMediaImage._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSMediaImage._Getsizes: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sizes'); end; function TJSMediaImage._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSMediaImage._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSMediaImage._Setsizes(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sizes',aValue); end; procedure TJSMediaImage._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSMediaImage.create(const aDict : TJSMediaImageRec); overload; begin Self.src:=aDict.src; Self.sizes:=aDict.sizes; Self.type_:=aDict.type_; end; class function TJSMediaImage.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaImage.Cast(const Intf: IJSObject): IJSMediaImage; begin Result:=TJSMediaImage.JOBCast(Intf); end; function TJSMediaSessionActionDetails._Getaction: TMediaSessionAction; begin Result:=ReadJSPropertyUnicodeString('action'); end; function TJSMediaSessionActionDetails._GetseekOffset: Double; begin Result:=ReadJSPropertyDouble('seekOffset'); end; function TJSMediaSessionActionDetails._GetseekTime: Double; begin Result:=ReadJSPropertyDouble('seekTime'); end; function TJSMediaSessionActionDetails._GetfastSeek: Boolean; begin Result:=ReadJSPropertyBoolean('fastSeek'); end; procedure TJSMediaSessionActionDetails._Setaction(const aValue : TMediaSessionAction); begin WriteJSPropertyUnicodeString('action',aValue); end; procedure TJSMediaSessionActionDetails._SetseekOffset(const aValue : Double); begin WriteJSPropertyDouble('seekOffset',aValue); end; procedure TJSMediaSessionActionDetails._SetseekTime(const aValue : Double); begin WriteJSPropertyDouble('seekTime',aValue); end; procedure TJSMediaSessionActionDetails._SetfastSeek(const aValue : Boolean); begin WriteJSPropertyBoolean('fastSeek',aValue); end; constructor TJSMediaSessionActionDetails.create(const aDict : TJSMediaSessionActionDetailsRec); overload; begin Self.action:=aDict.action; Self.seekOffset:=aDict.seekOffset; Self.seekTime:=aDict.seekTime; Self.fastSeek:=aDict.fastSeek; end; class function TJSMediaSessionActionDetails.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaSessionActionDetails.Cast(const Intf: IJSObject): IJSMediaSessionActionDetails; begin Result:=TJSMediaSessionActionDetails.JOBCast(Intf); end; function TJSMediaPositionState._Getduration: Double; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSMediaPositionState._GetplaybackRate: Double; begin Result:=ReadJSPropertyDouble('playbackRate'); end; function TJSMediaPositionState._Getposition: Double; begin Result:=ReadJSPropertyDouble('position'); end; procedure TJSMediaPositionState._Setduration(const aValue : Double); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSMediaPositionState._SetplaybackRate(const aValue : Double); begin WriteJSPropertyDouble('playbackRate',aValue); end; procedure TJSMediaPositionState._Setposition(const aValue : Double); begin WriteJSPropertyDouble('position',aValue); end; constructor TJSMediaPositionState.create(const aDict : TJSMediaPositionStateRec); overload; begin Self.duration:=aDict.duration; Self.playbackRate:=aDict.playbackRate; Self.position:=aDict.position; end; class function TJSMediaPositionState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaPositionState.Cast(const Intf: IJSObject): IJSMediaPositionState; begin Result:=TJSMediaPositionState.JOBCast(Intf); end; function TJSMediaSource._GetsourceBuffers: IJSSourceBufferList; begin Result:=ReadJSPropertyObject('sourceBuffers',TJSSourceBufferList) as IJSSourceBufferList; end; function TJSMediaSource._GetactiveSourceBuffers: IJSSourceBufferList; begin Result:=ReadJSPropertyObject('activeSourceBuffers',TJSSourceBufferList) as IJSSourceBufferList; end; function TJSMediaSource._GetreadyState: TMediaSourceReadyState; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSMediaSource._Getduration: Double; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSMediaSource._Getonsourceopen: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsourceopen'))); end; function TJSMediaSource._Getonsourceended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsourceended'))); end; function TJSMediaSource._Getonsourceclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsourceclose'))); end; procedure TJSMediaSource._Setduration(const aValue : Double); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSMediaSource._Setonsourceopen(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsourceopen',[m],jiSet); finally m.free end; end; procedure TJSMediaSource._Setonsourceended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsourceended',[m],jiSet); finally m.free end; end; procedure TJSMediaSource._Setonsourceclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsourceclose',[m],jiSet); finally m.free end; end; constructor TJSMediaSource.Create; begin JOBCreate([]); end; function TJSMediaSource.addSourceBuffer(const aType_: UnicodeString): IJSSourceBuffer; begin Result:=InvokeJSObjectResult('addSourceBuffer',[aType_],TJSSourceBuffer) as IJSSourceBuffer; end; procedure TJSMediaSource.removeSourceBuffer(aSourceBuffer: IJSSourceBuffer); begin InvokeJSNoResult('removeSourceBuffer',[aSourceBuffer]); end; procedure TJSMediaSource.endOfStream(aError: TMediaSourceEndOfStreamError); begin InvokeJSNoResult('endOfStream',[aError]); end; procedure TJSMediaSource.endOfStream; begin InvokeJSNoResult('endOfStream',[]); end; procedure TJSMediaSource.setLiveSeekableRange(aStart: Double; aEnd_: Double); begin InvokeJSNoResult('setLiveSeekableRange',[aStart,aEnd_]); end; procedure TJSMediaSource.clearLiveSeekableRange; begin InvokeJSNoResult('clearLiveSeekableRange',[]); end; function TJSMediaSource.isTypeSupported(const aType_: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('isTypeSupported',[aType_]); end; class function TJSMediaSource.JSClassName: UnicodeString; begin Result:='MediaSource'; end; class function TJSMediaSource.Cast(const Intf: IJSObject): IJSMediaSource; begin Result:=TJSMediaSource.JOBCast(Intf); end; function TJSMediaStreamConstraints._Getaudio: TMediaStreamConstraints_audio_Type; begin Result:=ReadJSPropertyVariant('audio'); end; function TJSMediaStreamConstraints._Getvideo: TMediaStreamConstraints_video_Type; begin Result:=ReadJSPropertyVariant('video'); end; function TJSMediaStreamConstraints._Getpicture: Boolean; begin Result:=ReadJSPropertyBoolean('picture'); end; function TJSMediaStreamConstraints._Getfake: Boolean; begin Result:=ReadJSPropertyBoolean('fake'); end; function TJSMediaStreamConstraints._GetpeerIdentity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('peerIdentity'); end; procedure TJSMediaStreamConstraints._Setaudio(const aValue : TMediaStreamConstraints_audio_Type); begin WriteJSPropertyVariant('audio',aValue); end; procedure TJSMediaStreamConstraints._Setvideo(const aValue : TMediaStreamConstraints_video_Type); begin WriteJSPropertyVariant('video',aValue); end; procedure TJSMediaStreamConstraints._Setpicture(const aValue : Boolean); begin WriteJSPropertyBoolean('picture',aValue); end; procedure TJSMediaStreamConstraints._Setfake(const aValue : Boolean); begin WriteJSPropertyBoolean('fake',aValue); end; procedure TJSMediaStreamConstraints._SetpeerIdentity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('peerIdentity',aValue); end; constructor TJSMediaStreamConstraints.create(const aDict : TJSMediaStreamConstraintsRec); overload; begin Self.audio:=aDict.audio; Self.video:=aDict.video; Self.picture:=aDict.picture; Self.fake:=aDict.fake; Self.peerIdentity:=aDict.peerIdentity; end; class function TJSMediaStreamConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStreamConstraints.Cast(const Intf: IJSObject): IJSMediaStreamConstraints; begin Result:=TJSMediaStreamConstraints.JOBCast(Intf); end; function TJSDisplayMediaStreamConstraints._Getvideo: TDisplayMediaStreamConstraints_video_Type; begin Result:=ReadJSPropertyVariant('video'); end; function TJSDisplayMediaStreamConstraints._Getaudio: TDisplayMediaStreamConstraints_audio_Type; begin Result:=ReadJSPropertyVariant('audio'); end; procedure TJSDisplayMediaStreamConstraints._Setvideo(const aValue : TDisplayMediaStreamConstraints_video_Type); begin WriteJSPropertyVariant('video',aValue); end; procedure TJSDisplayMediaStreamConstraints._Setaudio(const aValue : TDisplayMediaStreamConstraints_audio_Type); begin WriteJSPropertyVariant('audio',aValue); end; constructor TJSDisplayMediaStreamConstraints.create(const aDict : TJSDisplayMediaStreamConstraintsRec); overload; begin Self.video:=aDict.video; Self.audio:=aDict.audio; end; class function TJSDisplayMediaStreamConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDisplayMediaStreamConstraints.Cast(const Intf: IJSObject): IJSDisplayMediaStreamConstraints; begin Result:=TJSDisplayMediaStreamConstraints.JOBCast(Intf); end; function TJSMediaStream._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSMediaStream._Getactive: Boolean; begin Result:=ReadJSPropertyBoolean('active'); end; function TJSMediaStream._Getonaddtrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddtrack'))); end; function TJSMediaStream._Getonremovetrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremovetrack'))); end; procedure TJSMediaStream._Setonaddtrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddtrack',[m],jiSet); finally m.free end; end; procedure TJSMediaStream._Setonremovetrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremovetrack',[m],jiSet); finally m.free end; end; constructor TJSMediaStream.Create; begin JOBCreate([]); end; constructor TJSMediaStream.Create(aStream: IJSMediaStream); begin JOBCreate([aStream]); end; constructor TJSMediaStream.Create(const aTracks: TJSMediaStreamTrackDynArray); begin JOBCreate([aTracks]); end; function TJSMediaStream.getAudioTracks: TJSMediaStreamTrackDynArray; begin Result:=InvokeJSObjectResult('getAudioTracks',[],TJSArray) as TJSMediaStreamTrackDynArray; end; function TJSMediaStream.getVideoTracks: TJSMediaStreamTrackDynArray; begin Result:=InvokeJSObjectResult('getVideoTracks',[],TJSArray) as TJSMediaStreamTrackDynArray; end; function TJSMediaStream.getTracks: TJSMediaStreamTrackDynArray; begin Result:=InvokeJSObjectResult('getTracks',[],TJSArray) as TJSMediaStreamTrackDynArray; end; function TJSMediaStream.getTrackById(const aTrackId: UnicodeString): IJSMediaStreamTrack; begin Result:=InvokeJSObjectResult('getTrackById',[aTrackId],TJSMediaStreamTrack) as IJSMediaStreamTrack; end; procedure TJSMediaStream.addTrack(aTrack: IJSMediaStreamTrack); begin InvokeJSNoResult('addTrack',[aTrack]); end; procedure TJSMediaStream.removeTrack(aTrack: IJSMediaStreamTrack); begin InvokeJSNoResult('removeTrack',[aTrack]); end; function TJSMediaStream.clone: IJSMediaStream; begin Result:=InvokeJSObjectResult('clone',[],TJSMediaStream) as IJSMediaStream; end; class function TJSMediaStream.JSClassName: UnicodeString; begin Result:='MediaStream'; end; class function TJSMediaStream.Cast(const Intf: IJSObject): IJSMediaStream; begin Result:=TJSMediaStream.JOBCast(Intf); end; function TJSMediaStreamAudioDestinationNode._Getstream: IJSMediaStream; begin Result:=ReadJSPropertyObject('stream',TJSMediaStream) as IJSMediaStream; end; constructor TJSMediaStreamAudioDestinationNode.Create(aContext: IJSAudioContext; const aOptions: IJSAudioNodeOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSMediaStreamAudioDestinationNode.Create(aContext: IJSAudioContext); begin JOBCreate([aContext]); end; class function TJSMediaStreamAudioDestinationNode.JSClassName: UnicodeString; begin Result:='MediaStreamAudioDestinationNode'; end; class function TJSMediaStreamAudioDestinationNode.Cast(const Intf: IJSObject): IJSMediaStreamAudioDestinationNode; begin Result:=TJSMediaStreamAudioDestinationNode.JOBCast(Intf); end; function TJSMediaStreamAudioSourceOptions._GetmediaStream: IJSMediaStream; begin Result:=ReadJSPropertyObject('mediaStream',TJSMediaStream) as IJSMediaStream; end; procedure TJSMediaStreamAudioSourceOptions._SetmediaStream(const aValue : IJSMediaStream); begin WriteJSPropertyObject('mediaStream',aValue); end; constructor TJSMediaStreamAudioSourceOptions.create(const aDict : TJSMediaStreamAudioSourceOptionsRec); overload; begin Self.mediaStream:=aDict.mediaStream; end; class function TJSMediaStreamAudioSourceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStreamAudioSourceOptions.Cast(const Intf: IJSObject): IJSMediaStreamAudioSourceOptions; begin Result:=TJSMediaStreamAudioSourceOptions.JOBCast(Intf); end; function TJSMediaStreamAudioSourceNode._GetmediaStream: IJSMediaStream; begin Result:=ReadJSPropertyObject('mediaStream',TJSMediaStream) as IJSMediaStream; end; constructor TJSMediaStreamAudioSourceNode.Create(aContext: IJSAudioContext; const aOptions: IJSMediaStreamAudioSourceOptions); begin JOBCreate([aContext,aOptions]); end; class function TJSMediaStreamAudioSourceNode.JSClassName: UnicodeString; begin Result:='MediaStreamAudioSourceNode'; end; class function TJSMediaStreamAudioSourceNode.Cast(const Intf: IJSObject): IJSMediaStreamAudioSourceNode; begin Result:=TJSMediaStreamAudioSourceNode.JOBCast(Intf); end; function TJSMediaStreamError._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSMediaStreamError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSMediaStreamError._Getconstraint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('constraint'); end; class function TJSMediaStreamError.JSClassName: UnicodeString; begin Result:='MediaStreamError'; end; class function TJSMediaStreamError.Cast(const Intf: IJSObject): IJSMediaStreamError; begin Result:=TJSMediaStreamError.JOBCast(Intf); end; function TJSMediaStreamEventInit._Getstream: IJSMediaStream; begin Result:=ReadJSPropertyObject('stream',TJSMediaStream) as IJSMediaStream; end; procedure TJSMediaStreamEventInit._Setstream(const aValue : IJSMediaStream); begin WriteJSPropertyObject('stream',aValue); end; constructor TJSMediaStreamEventInit.create(const aDict : TJSMediaStreamEventInitRec); overload; begin Self.stream:=aDict.stream; end; class function TJSMediaStreamEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStreamEventInit.Cast(const Intf: IJSObject): IJSMediaStreamEventInit; begin Result:=TJSMediaStreamEventInit.JOBCast(Intf); end; function TJSMediaStreamEvent._Getstream: IJSMediaStream; begin Result:=ReadJSPropertyObject('stream',TJSMediaStream) as IJSMediaStream; end; constructor TJSMediaStreamEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaStreamEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMediaStreamEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSMediaStreamEvent.JSClassName: UnicodeString; begin Result:='MediaStreamEvent'; end; class function TJSMediaStreamEvent.Cast(const Intf: IJSObject): IJSMediaStreamEvent; begin Result:=TJSMediaStreamEvent.JOBCast(Intf); end; function TJSConstrainLongRange._Getmin: LongInt; begin Result:=ReadJSPropertyLongInt('min'); end; function TJSConstrainLongRange._Getmax: LongInt; begin Result:=ReadJSPropertyLongInt('max'); end; function TJSConstrainLongRange._Getexact: LongInt; begin Result:=ReadJSPropertyLongInt('exact'); end; function TJSConstrainLongRange._Getideal: LongInt; begin Result:=ReadJSPropertyLongInt('ideal'); end; procedure TJSConstrainLongRange._Setmin(const aValue : LongInt); begin WriteJSPropertyLongInt('min',aValue); end; procedure TJSConstrainLongRange._Setmax(const aValue : LongInt); begin WriteJSPropertyLongInt('max',aValue); end; procedure TJSConstrainLongRange._Setexact(const aValue : LongInt); begin WriteJSPropertyLongInt('exact',aValue); end; procedure TJSConstrainLongRange._Setideal(const aValue : LongInt); begin WriteJSPropertyLongInt('ideal',aValue); end; constructor TJSConstrainLongRange.create(const aDict : TJSConstrainLongRangeRec); overload; begin Self.min:=aDict.min; Self.max:=aDict.max; Self.exact:=aDict.exact; Self.ideal:=aDict.ideal; end; class function TJSConstrainLongRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstrainLongRange.Cast(const Intf: IJSObject): IJSConstrainLongRange; begin Result:=TJSConstrainLongRange.JOBCast(Intf); end; function TJSConstrainDoubleRange._Getmin: Double; begin Result:=ReadJSPropertyDouble('min'); end; function TJSConstrainDoubleRange._Getmax: Double; begin Result:=ReadJSPropertyDouble('max'); end; function TJSConstrainDoubleRange._Getexact: Double; begin Result:=ReadJSPropertyDouble('exact'); end; function TJSConstrainDoubleRange._Getideal: Double; begin Result:=ReadJSPropertyDouble('ideal'); end; procedure TJSConstrainDoubleRange._Setmin(const aValue : Double); begin WriteJSPropertyDouble('min',aValue); end; procedure TJSConstrainDoubleRange._Setmax(const aValue : Double); begin WriteJSPropertyDouble('max',aValue); end; procedure TJSConstrainDoubleRange._Setexact(const aValue : Double); begin WriteJSPropertyDouble('exact',aValue); end; procedure TJSConstrainDoubleRange._Setideal(const aValue : Double); begin WriteJSPropertyDouble('ideal',aValue); end; constructor TJSConstrainDoubleRange.create(const aDict : TJSConstrainDoubleRangeRec); overload; begin Self.min:=aDict.min; Self.max:=aDict.max; Self.exact:=aDict.exact; Self.ideal:=aDict.ideal; end; class function TJSConstrainDoubleRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstrainDoubleRange.Cast(const Intf: IJSObject): IJSConstrainDoubleRange; begin Result:=TJSConstrainDoubleRange.JOBCast(Intf); end; function TJSConstrainBooleanParameters._Getexact: Boolean; begin Result:=ReadJSPropertyBoolean('exact'); end; function TJSConstrainBooleanParameters._Getideal: Boolean; begin Result:=ReadJSPropertyBoolean('ideal'); end; procedure TJSConstrainBooleanParameters._Setexact(const aValue : Boolean); begin WriteJSPropertyBoolean('exact',aValue); end; procedure TJSConstrainBooleanParameters._Setideal(const aValue : Boolean); begin WriteJSPropertyBoolean('ideal',aValue); end; constructor TJSConstrainBooleanParameters.create(const aDict : TJSConstrainBooleanParametersRec); overload; begin Self.exact:=aDict.exact; Self.ideal:=aDict.ideal; end; class function TJSConstrainBooleanParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstrainBooleanParameters.Cast(const Intf: IJSObject): IJSConstrainBooleanParameters; begin Result:=TJSConstrainBooleanParameters.JOBCast(Intf); end; function TJSConstrainDOMStringParameters._Getexact: TConstrainDOMStringParameters_exact_Type; begin Result:=ReadJSPropertyVariant('exact'); end; function TJSConstrainDOMStringParameters._Getideal: TConstrainDOMStringParameters_ideal_Type; begin Result:=ReadJSPropertyVariant('ideal'); end; procedure TJSConstrainDOMStringParameters._Setexact(const aValue : TConstrainDOMStringParameters_exact_Type); begin WriteJSPropertyVariant('exact',aValue); end; procedure TJSConstrainDOMStringParameters._Setideal(const aValue : TConstrainDOMStringParameters_ideal_Type); begin WriteJSPropertyVariant('ideal',aValue); end; constructor TJSConstrainDOMStringParameters.create(const aDict : TJSConstrainDOMStringParametersRec); overload; begin Self.exact:=aDict.exact; Self.ideal:=aDict.ideal; end; class function TJSConstrainDOMStringParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstrainDOMStringParameters.Cast(const Intf: IJSObject): IJSConstrainDOMStringParameters; begin Result:=TJSConstrainDOMStringParameters.JOBCast(Intf); end; function TJSMediaTrackConstraintSet._Getwidth: TConstrainLong; begin Result:=ReadJSPropertyVariant('width'); end; function TJSMediaTrackConstraintSet._Getheight: TConstrainLong; begin Result:=ReadJSPropertyVariant('height'); end; function TJSMediaTrackConstraintSet._GetframeRate: TConstrainDouble; begin Result:=ReadJSPropertyVariant('frameRate'); end; function TJSMediaTrackConstraintSet._GetfacingMode: TConstrainDOMString; begin Result:=ReadJSPropertyVariant('facingMode'); end; function TJSMediaTrackConstraintSet._GetmediaSource: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mediaSource'); end; function TJSMediaTrackConstraintSet._GetbrowserWindow: Int64; begin Result:=ReadJSPropertyInt64('browserWindow'); end; function TJSMediaTrackConstraintSet._GetscrollWithPage: Boolean; begin Result:=ReadJSPropertyBoolean('scrollWithPage'); end; function TJSMediaTrackConstraintSet._GetdeviceId: TConstrainDOMString; begin Result:=ReadJSPropertyVariant('deviceId'); end; function TJSMediaTrackConstraintSet._GetgroupId: TConstrainDOMString; begin Result:=ReadJSPropertyVariant('groupId'); end; function TJSMediaTrackConstraintSet._GetviewportOffsetX: TConstrainLong; begin Result:=ReadJSPropertyVariant('viewportOffsetX'); end; function TJSMediaTrackConstraintSet._GetviewportOffsetY: TConstrainLong; begin Result:=ReadJSPropertyVariant('viewportOffsetY'); end; function TJSMediaTrackConstraintSet._GetviewportWidth: TConstrainLong; begin Result:=ReadJSPropertyVariant('viewportWidth'); end; function TJSMediaTrackConstraintSet._GetviewportHeight: TConstrainLong; begin Result:=ReadJSPropertyVariant('viewportHeight'); end; function TJSMediaTrackConstraintSet._GetechoCancellation: TConstrainBoolean; begin Result:=ReadJSPropertyVariant('echoCancellation'); end; function TJSMediaTrackConstraintSet._GetnoiseSuppression: TConstrainBoolean; begin Result:=ReadJSPropertyVariant('noiseSuppression'); end; function TJSMediaTrackConstraintSet._GetautoGainControl: TConstrainBoolean; begin Result:=ReadJSPropertyVariant('autoGainControl'); end; function TJSMediaTrackConstraintSet._GetchannelCount: TConstrainLong; begin Result:=ReadJSPropertyVariant('channelCount'); end; procedure TJSMediaTrackConstraintSet._Setwidth(const aValue : TConstrainLong); begin WriteJSPropertyVariant('width',aValue); end; procedure TJSMediaTrackConstraintSet._Setheight(const aValue : TConstrainLong); begin WriteJSPropertyVariant('height',aValue); end; procedure TJSMediaTrackConstraintSet._SetframeRate(const aValue : TConstrainDouble); begin WriteJSPropertyVariant('frameRate',aValue); end; procedure TJSMediaTrackConstraintSet._SetfacingMode(const aValue : TConstrainDOMString); begin WriteJSPropertyVariant('facingMode',aValue); end; procedure TJSMediaTrackConstraintSet._SetmediaSource(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mediaSource',aValue); end; procedure TJSMediaTrackConstraintSet._SetbrowserWindow(const aValue : Int64); begin WriteJSPropertyDouble('browserWindow',aValue); end; procedure TJSMediaTrackConstraintSet._SetscrollWithPage(const aValue : Boolean); begin WriteJSPropertyBoolean('scrollWithPage',aValue); end; procedure TJSMediaTrackConstraintSet._SetdeviceId(const aValue : TConstrainDOMString); begin WriteJSPropertyVariant('deviceId',aValue); end; procedure TJSMediaTrackConstraintSet._SetgroupId(const aValue : TConstrainDOMString); begin WriteJSPropertyVariant('groupId',aValue); end; procedure TJSMediaTrackConstraintSet._SetviewportOffsetX(const aValue : TConstrainLong); begin WriteJSPropertyVariant('viewportOffsetX',aValue); end; procedure TJSMediaTrackConstraintSet._SetviewportOffsetY(const aValue : TConstrainLong); begin WriteJSPropertyVariant('viewportOffsetY',aValue); end; procedure TJSMediaTrackConstraintSet._SetviewportWidth(const aValue : TConstrainLong); begin WriteJSPropertyVariant('viewportWidth',aValue); end; procedure TJSMediaTrackConstraintSet._SetviewportHeight(const aValue : TConstrainLong); begin WriteJSPropertyVariant('viewportHeight',aValue); end; procedure TJSMediaTrackConstraintSet._SetechoCancellation(const aValue : TConstrainBoolean); begin WriteJSPropertyVariant('echoCancellation',aValue); end; procedure TJSMediaTrackConstraintSet._SetnoiseSuppression(const aValue : TConstrainBoolean); begin WriteJSPropertyVariant('noiseSuppression',aValue); end; procedure TJSMediaTrackConstraintSet._SetautoGainControl(const aValue : TConstrainBoolean); begin WriteJSPropertyVariant('autoGainControl',aValue); end; procedure TJSMediaTrackConstraintSet._SetchannelCount(const aValue : TConstrainLong); begin WriteJSPropertyVariant('channelCount',aValue); end; constructor TJSMediaTrackConstraintSet.create(const aDict : TJSMediaTrackConstraintSetRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.frameRate:=aDict.frameRate; Self.facingMode:=aDict.facingMode; Self.mediaSource:=aDict.mediaSource; Self.browserWindow:=aDict.browserWindow; Self.scrollWithPage:=aDict.scrollWithPage; Self.deviceId:=aDict.deviceId; Self.groupId:=aDict.groupId; Self.viewportOffsetX:=aDict.viewportOffsetX; Self.viewportOffsetY:=aDict.viewportOffsetY; Self.viewportWidth:=aDict.viewportWidth; Self.viewportHeight:=aDict.viewportHeight; Self.echoCancellation:=aDict.echoCancellation; Self.noiseSuppression:=aDict.noiseSuppression; Self.autoGainControl:=aDict.autoGainControl; Self.channelCount:=aDict.channelCount; end; class function TJSMediaTrackConstraintSet.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaTrackConstraintSet.Cast(const Intf: IJSObject): IJSMediaTrackConstraintSet; begin Result:=TJSMediaTrackConstraintSet.JOBCast(Intf); end; function TJSMediaTrackConstraints._Getadvanced: TJSMediaTrackConstraintSetDynArray; begin Result:=ReadJSPropertyObject('advanced',TJSArray) as TJSMediaTrackConstraintSetDynArray; end; procedure TJSMediaTrackConstraints._Setadvanced(const aValue : TJSMediaTrackConstraintSetDynArray); begin WriteJSPropertyObject('advanced',aValue); end; constructor TJSMediaTrackConstraints.create(const aDict : TJSMediaTrackConstraintsRec); overload; begin Self.advanced:=aDict.advanced; end; class function TJSMediaTrackConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaTrackConstraints.Cast(const Intf: IJSObject): IJSMediaTrackConstraints; begin Result:=TJSMediaTrackConstraints.JOBCast(Intf); end; function TJSMediaStreamTrack._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSMediaStreamTrack._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSMediaStreamTrack._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSMediaStreamTrack._Getenabled: Boolean; begin Result:=ReadJSPropertyBoolean('enabled'); end; function TJSMediaStreamTrack._Getmuted: Boolean; begin Result:=ReadJSPropertyBoolean('muted'); end; function TJSMediaStreamTrack._Getonmute: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmute'))); end; function TJSMediaStreamTrack._Getonunmute: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunmute'))); end; function TJSMediaStreamTrack._GetreadyState: TMediaStreamTrackState; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSMediaStreamTrack._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSMediaStreamTrack._Getonoverconstrained: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoverconstrained'))); end; procedure TJSMediaStreamTrack._Setenabled(const aValue : Boolean); begin WriteJSPropertyBoolean('enabled',aValue); end; procedure TJSMediaStreamTrack._Setonmute(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmute',[m],jiSet); finally m.free end; end; procedure TJSMediaStreamTrack._Setonunmute(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunmute',[m],jiSet); finally m.free end; end; procedure TJSMediaStreamTrack._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSMediaStreamTrack._Setonoverconstrained(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoverconstrained',[m],jiSet); finally m.free end; end; function TJSMediaStreamTrack.clone: IJSMediaStreamTrack; begin Result:=InvokeJSObjectResult('clone',[],TJSMediaStreamTrack) as IJSMediaStreamTrack; end; procedure TJSMediaStreamTrack.stop; begin InvokeJSNoResult('stop',[]); end; function TJSMediaStreamTrack.getCapabilities: IJSMediaTrackCapabilities; begin Result:=InvokeJSObjectResult('getCapabilities',[],TJSMediaTrackCapabilities) as IJSMediaTrackCapabilities; end; function TJSMediaStreamTrack.getConstraints: IJSMediaTrackConstraints; begin Result:=InvokeJSObjectResult('getConstraints',[],TJSMediaTrackConstraints) as IJSMediaTrackConstraints; end; function TJSMediaStreamTrack.getSettings: IJSMediaTrackSettings; begin Result:=InvokeJSObjectResult('getSettings',[],TJSMediaTrackSettings) as IJSMediaTrackSettings; end; function TJSMediaStreamTrack.applyConstraints(const aConstraints: IJSMediaTrackConstraints): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('applyConstraints',[aConstraints],TJSPromise) as IJSPromise; end; function TJSMediaStreamTrack.applyConstraints: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('applyConstraints',[],TJSPromise) as IJSPromise; end; class function TJSMediaStreamTrack.JSClassName: UnicodeString; begin Result:='MediaStreamTrack'; end; class function TJSMediaStreamTrack.Cast(const Intf: IJSObject): IJSMediaStreamTrack; begin Result:=TJSMediaStreamTrack.JOBCast(Intf); end; function TJSMediaStreamTrackAudioSourceOptions._GetmediaStreamTrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('mediaStreamTrack',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; procedure TJSMediaStreamTrackAudioSourceOptions._SetmediaStreamTrack(const aValue : IJSMediaStreamTrack); begin WriteJSPropertyObject('mediaStreamTrack',aValue); end; constructor TJSMediaStreamTrackAudioSourceOptions.create(const aDict : TJSMediaStreamTrackAudioSourceOptionsRec); overload; begin Self.mediaStreamTrack:=aDict.mediaStreamTrack; end; class function TJSMediaStreamTrackAudioSourceOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStreamTrackAudioSourceOptions.Cast(const Intf: IJSObject): IJSMediaStreamTrackAudioSourceOptions; begin Result:=TJSMediaStreamTrackAudioSourceOptions.JOBCast(Intf); end; constructor TJSMediaStreamTrackAudioSourceNode.Create(aContext: IJSAudioContext; const aOptions: IJSMediaStreamTrackAudioSourceOptions); begin JOBCreate([aContext,aOptions]); end; class function TJSMediaStreamTrackAudioSourceNode.JSClassName: UnicodeString; begin Result:='MediaStreamTrackAudioSourceNode'; end; class function TJSMediaStreamTrackAudioSourceNode.Cast(const Intf: IJSObject): IJSMediaStreamTrackAudioSourceNode; begin Result:=TJSMediaStreamTrackAudioSourceNode.JOBCast(Intf); end; function TJSMediaStreamTrackEventInit._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; procedure TJSMediaStreamTrackEventInit._Settrack(const aValue : IJSMediaStreamTrack); begin WriteJSPropertyObject('track',aValue); end; constructor TJSMediaStreamTrackEventInit.create(const aDict : TJSMediaStreamTrackEventInitRec); overload; begin Self.track:=aDict.track; end; class function TJSMediaStreamTrackEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaStreamTrackEventInit.Cast(const Intf: IJSObject): IJSMediaStreamTrackEventInit; begin Result:=TJSMediaStreamTrackEventInit.JOBCast(Intf); end; function TJSMediaStreamTrackEvent._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; constructor TJSMediaStreamTrackEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMediaStreamTrackEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSMediaStreamTrackEvent.JSClassName: UnicodeString; begin Result:='MediaStreamTrackEvent'; end; class function TJSMediaStreamTrackEvent.Cast(const Intf: IJSObject): IJSMediaStreamTrackEvent; begin Result:=TJSMediaStreamTrackEvent.JOBCast(Intf); end; function TJSDoubleRange._Getmax: Double; begin Result:=ReadJSPropertyDouble('max'); end; function TJSDoubleRange._Getmin: Double; begin Result:=ReadJSPropertyDouble('min'); end; procedure TJSDoubleRange._Setmax(const aValue : Double); begin WriteJSPropertyDouble('max',aValue); end; procedure TJSDoubleRange._Setmin(const aValue : Double); begin WriteJSPropertyDouble('min',aValue); end; constructor TJSDoubleRange.create(const aDict : TJSDoubleRangeRec); overload; begin Self.max:=aDict.max; Self.min:=aDict.min; end; class function TJSDoubleRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDoubleRange.Cast(const Intf: IJSObject): IJSDoubleRange; begin Result:=TJSDoubleRange.JOBCast(Intf); end; function TJSULongRange._Getmax: Cardinal; begin Result:=ReadJSPropertyInt64('max'); end; function TJSULongRange._Getmin: Cardinal; begin Result:=ReadJSPropertyInt64('min'); end; procedure TJSULongRange._Setmax(const aValue : Cardinal); begin WriteJSPropertyDouble('max',aValue); end; procedure TJSULongRange._Setmin(const aValue : Cardinal); begin WriteJSPropertyDouble('min',aValue); end; constructor TJSULongRange.create(const aDict : TJSULongRangeRec); overload; begin Self.max:=aDict.max; Self.min:=aDict.min; end; class function TJSULongRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSULongRange.Cast(const Intf: IJSObject): IJSULongRange; begin Result:=TJSULongRange.JOBCast(Intf); end; function TJSConstrainULongRange._Getexact: Cardinal; begin Result:=ReadJSPropertyInt64('exact'); end; function TJSConstrainULongRange._Getideal: Cardinal; begin Result:=ReadJSPropertyInt64('ideal'); end; procedure TJSConstrainULongRange._Setexact(const aValue : Cardinal); begin WriteJSPropertyDouble('exact',aValue); end; procedure TJSConstrainULongRange._Setideal(const aValue : Cardinal); begin WriteJSPropertyDouble('ideal',aValue); end; constructor TJSConstrainULongRange.create(const aDict : TJSConstrainULongRangeRec); overload; begin Self.exact:=aDict.exact; Self.ideal:=aDict.ideal; end; class function TJSConstrainULongRange.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSConstrainULongRange.Cast(const Intf: IJSObject): IJSConstrainULongRange; begin Result:=TJSConstrainULongRange.JOBCast(Intf); end; function TJSMediaTrackCapabilities._Getwidth: IJSULongRange; begin Result:=ReadJSPropertyObject('width',TJSULongRange) as IJSULongRange; end; function TJSMediaTrackCapabilities._Getheight: IJSULongRange; begin Result:=ReadJSPropertyObject('height',TJSULongRange) as IJSULongRange; end; function TJSMediaTrackCapabilities._GetaspectRatio: IJSDoubleRange; begin Result:=ReadJSPropertyObject('aspectRatio',TJSDoubleRange) as IJSDoubleRange; end; function TJSMediaTrackCapabilities._GetframeRate: IJSDoubleRange; begin Result:=ReadJSPropertyObject('frameRate',TJSDoubleRange) as IJSDoubleRange; end; function TJSMediaTrackCapabilities._GetfacingMode: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('facingMode',TJSArray) as TUnicodeStringDynArray; end; function TJSMediaTrackCapabilities._GetresizeMode: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('resizeMode',TJSArray) as TUnicodeStringDynArray; end; function TJSMediaTrackCapabilities._GetsampleRate: IJSULongRange; begin Result:=ReadJSPropertyObject('sampleRate',TJSULongRange) as IJSULongRange; end; function TJSMediaTrackCapabilities._GetsampleSize: IJSULongRange; begin Result:=ReadJSPropertyObject('sampleSize',TJSULongRange) as IJSULongRange; end; function TJSMediaTrackCapabilities._GetechoCancellation: TBooleanDynArray; begin Result:=ReadJSPropertyObject('echoCancellation',TJSArray) as TBooleanDynArray; end; function TJSMediaTrackCapabilities._GetautoGainControl: TBooleanDynArray; begin Result:=ReadJSPropertyObject('autoGainControl',TJSArray) as TBooleanDynArray; end; function TJSMediaTrackCapabilities._GetnoiseSuppression: TBooleanDynArray; begin Result:=ReadJSPropertyObject('noiseSuppression',TJSArray) as TBooleanDynArray; end; function TJSMediaTrackCapabilities._Getlatency: IJSDoubleRange; begin Result:=ReadJSPropertyObject('latency',TJSDoubleRange) as IJSDoubleRange; end; function TJSMediaTrackCapabilities._GetchannelCount: IJSULongRange; begin Result:=ReadJSPropertyObject('channelCount',TJSULongRange) as IJSULongRange; end; function TJSMediaTrackCapabilities._GetdeviceId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('deviceId'); end; function TJSMediaTrackCapabilities._GetgroupId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('groupId'); end; procedure TJSMediaTrackCapabilities._Setwidth(const aValue : IJSULongRange); begin WriteJSPropertyObject('width',aValue); end; procedure TJSMediaTrackCapabilities._Setheight(const aValue : IJSULongRange); begin WriteJSPropertyObject('height',aValue); end; procedure TJSMediaTrackCapabilities._SetaspectRatio(const aValue : IJSDoubleRange); begin WriteJSPropertyObject('aspectRatio',aValue); end; procedure TJSMediaTrackCapabilities._SetframeRate(const aValue : IJSDoubleRange); begin WriteJSPropertyObject('frameRate',aValue); end; procedure TJSMediaTrackCapabilities._SetfacingMode(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('facingMode',aValue); end; procedure TJSMediaTrackCapabilities._SetresizeMode(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('resizeMode',aValue); end; procedure TJSMediaTrackCapabilities._SetsampleRate(const aValue : IJSULongRange); begin WriteJSPropertyObject('sampleRate',aValue); end; procedure TJSMediaTrackCapabilities._SetsampleSize(const aValue : IJSULongRange); begin WriteJSPropertyObject('sampleSize',aValue); end; procedure TJSMediaTrackCapabilities._SetechoCancellation(const aValue : TBooleanDynArray); begin WriteJSPropertyObject('echoCancellation',aValue); end; procedure TJSMediaTrackCapabilities._SetautoGainControl(const aValue : TBooleanDynArray); begin WriteJSPropertyObject('autoGainControl',aValue); end; procedure TJSMediaTrackCapabilities._SetnoiseSuppression(const aValue : TBooleanDynArray); begin WriteJSPropertyObject('noiseSuppression',aValue); end; procedure TJSMediaTrackCapabilities._Setlatency(const aValue : IJSDoubleRange); begin WriteJSPropertyObject('latency',aValue); end; procedure TJSMediaTrackCapabilities._SetchannelCount(const aValue : IJSULongRange); begin WriteJSPropertyObject('channelCount',aValue); end; procedure TJSMediaTrackCapabilities._SetdeviceId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('deviceId',aValue); end; procedure TJSMediaTrackCapabilities._SetgroupId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('groupId',aValue); end; constructor TJSMediaTrackCapabilities.create(const aDict : TJSMediaTrackCapabilitiesRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.aspectRatio:=aDict.aspectRatio; Self.frameRate:=aDict.frameRate; Self.facingMode:=aDict.facingMode; Self.resizeMode:=aDict.resizeMode; Self.sampleRate:=aDict.sampleRate; Self.sampleSize:=aDict.sampleSize; Self.echoCancellation:=aDict.echoCancellation; Self.autoGainControl:=aDict.autoGainControl; Self.noiseSuppression:=aDict.noiseSuppression; Self.latency:=aDict.latency; Self.channelCount:=aDict.channelCount; Self.deviceId:=aDict.deviceId; Self.groupId:=aDict.groupId; end; class function TJSMediaTrackCapabilities.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaTrackCapabilities.Cast(const Intf: IJSObject): IJSMediaTrackCapabilities; begin Result:=TJSMediaTrackCapabilities.JOBCast(Intf); end; function TJSMediaTrackSettings._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSMediaTrackSettings._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; function TJSMediaTrackSettings._GetframeRate: Double; begin Result:=ReadJSPropertyDouble('frameRate'); end; function TJSMediaTrackSettings._GetfacingMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('facingMode'); end; function TJSMediaTrackSettings._GetechoCancellation: Boolean; begin Result:=ReadJSPropertyBoolean('echoCancellation'); end; function TJSMediaTrackSettings._GetautoGainControl: Boolean; begin Result:=ReadJSPropertyBoolean('autoGainControl'); end; function TJSMediaTrackSettings._GetnoiseSuppression: Boolean; begin Result:=ReadJSPropertyBoolean('noiseSuppression'); end; function TJSMediaTrackSettings._GetchannelCount: LongInt; begin Result:=ReadJSPropertyLongInt('channelCount'); end; function TJSMediaTrackSettings._GetdeviceId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('deviceId'); end; function TJSMediaTrackSettings._GetgroupId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('groupId'); end; function TJSMediaTrackSettings._GetmediaSource: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mediaSource'); end; function TJSMediaTrackSettings._GetbrowserWindow: Int64; begin Result:=ReadJSPropertyInt64('browserWindow'); end; function TJSMediaTrackSettings._GetscrollWithPage: Boolean; begin Result:=ReadJSPropertyBoolean('scrollWithPage'); end; function TJSMediaTrackSettings._GetviewportOffsetX: LongInt; begin Result:=ReadJSPropertyLongInt('viewportOffsetX'); end; function TJSMediaTrackSettings._GetviewportOffsetY: LongInt; begin Result:=ReadJSPropertyLongInt('viewportOffsetY'); end; function TJSMediaTrackSettings._GetviewportWidth: LongInt; begin Result:=ReadJSPropertyLongInt('viewportWidth'); end; function TJSMediaTrackSettings._GetviewportHeight: LongInt; begin Result:=ReadJSPropertyLongInt('viewportHeight'); end; procedure TJSMediaTrackSettings._Setwidth(const aValue : LongInt); begin WriteJSPropertyLongInt('width',aValue); end; procedure TJSMediaTrackSettings._Setheight(const aValue : LongInt); begin WriteJSPropertyLongInt('height',aValue); end; procedure TJSMediaTrackSettings._SetframeRate(const aValue : Double); begin WriteJSPropertyDouble('frameRate',aValue); end; procedure TJSMediaTrackSettings._SetfacingMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('facingMode',aValue); end; procedure TJSMediaTrackSettings._SetechoCancellation(const aValue : Boolean); begin WriteJSPropertyBoolean('echoCancellation',aValue); end; procedure TJSMediaTrackSettings._SetautoGainControl(const aValue : Boolean); begin WriteJSPropertyBoolean('autoGainControl',aValue); end; procedure TJSMediaTrackSettings._SetnoiseSuppression(const aValue : Boolean); begin WriteJSPropertyBoolean('noiseSuppression',aValue); end; procedure TJSMediaTrackSettings._SetchannelCount(const aValue : LongInt); begin WriteJSPropertyLongInt('channelCount',aValue); end; procedure TJSMediaTrackSettings._SetdeviceId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('deviceId',aValue); end; procedure TJSMediaTrackSettings._SetgroupId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('groupId',aValue); end; procedure TJSMediaTrackSettings._SetmediaSource(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mediaSource',aValue); end; procedure TJSMediaTrackSettings._SetbrowserWindow(const aValue : Int64); begin WriteJSPropertyDouble('browserWindow',aValue); end; procedure TJSMediaTrackSettings._SetscrollWithPage(const aValue : Boolean); begin WriteJSPropertyBoolean('scrollWithPage',aValue); end; procedure TJSMediaTrackSettings._SetviewportOffsetX(const aValue : LongInt); begin WriteJSPropertyLongInt('viewportOffsetX',aValue); end; procedure TJSMediaTrackSettings._SetviewportOffsetY(const aValue : LongInt); begin WriteJSPropertyLongInt('viewportOffsetY',aValue); end; procedure TJSMediaTrackSettings._SetviewportWidth(const aValue : LongInt); begin WriteJSPropertyLongInt('viewportWidth',aValue); end; procedure TJSMediaTrackSettings._SetviewportHeight(const aValue : LongInt); begin WriteJSPropertyLongInt('viewportHeight',aValue); end; constructor TJSMediaTrackSettings.create(const aDict : TJSMediaTrackSettingsRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.frameRate:=aDict.frameRate; Self.facingMode:=aDict.facingMode; Self.echoCancellation:=aDict.echoCancellation; Self.autoGainControl:=aDict.autoGainControl; Self.noiseSuppression:=aDict.noiseSuppression; Self.channelCount:=aDict.channelCount; Self.deviceId:=aDict.deviceId; Self.groupId:=aDict.groupId; Self.mediaSource:=aDict.mediaSource; Self.browserWindow:=aDict.browserWindow; Self.scrollWithPage:=aDict.scrollWithPage; Self.viewportOffsetX:=aDict.viewportOffsetX; Self.viewportOffsetY:=aDict.viewportOffsetY; Self.viewportWidth:=aDict.viewportWidth; Self.viewportHeight:=aDict.viewportHeight; end; class function TJSMediaTrackSettings.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaTrackSettings.Cast(const Intf: IJSObject): IJSMediaTrackSettings; begin Result:=TJSMediaTrackSettings.JOBCast(Intf); end; function TJSMediaTrackSupportedConstraints._Getwidth: Boolean; begin Result:=ReadJSPropertyBoolean('width'); end; function TJSMediaTrackSupportedConstraints._Getheight: Boolean; begin Result:=ReadJSPropertyBoolean('height'); end; function TJSMediaTrackSupportedConstraints._GetaspectRatio: Boolean; begin Result:=ReadJSPropertyBoolean('aspectRatio'); end; function TJSMediaTrackSupportedConstraints._GetframeRate: Boolean; begin Result:=ReadJSPropertyBoolean('frameRate'); end; function TJSMediaTrackSupportedConstraints._GetfacingMode: Boolean; begin Result:=ReadJSPropertyBoolean('facingMode'); end; function TJSMediaTrackSupportedConstraints._Getvolume: Boolean; begin Result:=ReadJSPropertyBoolean('volume'); end; function TJSMediaTrackSupportedConstraints._GetsampleRate: Boolean; begin Result:=ReadJSPropertyBoolean('sampleRate'); end; function TJSMediaTrackSupportedConstraints._GetsampleSize: Boolean; begin Result:=ReadJSPropertyBoolean('sampleSize'); end; function TJSMediaTrackSupportedConstraints._GetechoCancellation: Boolean; begin Result:=ReadJSPropertyBoolean('echoCancellation'); end; function TJSMediaTrackSupportedConstraints._GetnoiseSuppression: Boolean; begin Result:=ReadJSPropertyBoolean('noiseSuppression'); end; function TJSMediaTrackSupportedConstraints._GetautoGainControl: Boolean; begin Result:=ReadJSPropertyBoolean('autoGainControl'); end; function TJSMediaTrackSupportedConstraints._Getlatency: Boolean; begin Result:=ReadJSPropertyBoolean('latency'); end; function TJSMediaTrackSupportedConstraints._GetchannelCount: Boolean; begin Result:=ReadJSPropertyBoolean('channelCount'); end; function TJSMediaTrackSupportedConstraints._GetdeviceId: Boolean; begin Result:=ReadJSPropertyBoolean('deviceId'); end; function TJSMediaTrackSupportedConstraints._GetgroupId: Boolean; begin Result:=ReadJSPropertyBoolean('groupId'); end; function TJSMediaTrackSupportedConstraints._GetmediaSource: Boolean; begin Result:=ReadJSPropertyBoolean('mediaSource'); end; function TJSMediaTrackSupportedConstraints._GetbrowserWindow: Boolean; begin Result:=ReadJSPropertyBoolean('browserWindow'); end; function TJSMediaTrackSupportedConstraints._GetscrollWithPage: Boolean; begin Result:=ReadJSPropertyBoolean('scrollWithPage'); end; function TJSMediaTrackSupportedConstraints._GetviewportOffsetX: Boolean; begin Result:=ReadJSPropertyBoolean('viewportOffsetX'); end; function TJSMediaTrackSupportedConstraints._GetviewportOffsetY: Boolean; begin Result:=ReadJSPropertyBoolean('viewportOffsetY'); end; function TJSMediaTrackSupportedConstraints._GetviewportWidth: Boolean; begin Result:=ReadJSPropertyBoolean('viewportWidth'); end; function TJSMediaTrackSupportedConstraints._GetviewportHeight: Boolean; begin Result:=ReadJSPropertyBoolean('viewportHeight'); end; procedure TJSMediaTrackSupportedConstraints._Setwidth(const aValue : Boolean); begin WriteJSPropertyBoolean('width',aValue); end; procedure TJSMediaTrackSupportedConstraints._Setheight(const aValue : Boolean); begin WriteJSPropertyBoolean('height',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetaspectRatio(const aValue : Boolean); begin WriteJSPropertyBoolean('aspectRatio',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetframeRate(const aValue : Boolean); begin WriteJSPropertyBoolean('frameRate',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetfacingMode(const aValue : Boolean); begin WriteJSPropertyBoolean('facingMode',aValue); end; procedure TJSMediaTrackSupportedConstraints._Setvolume(const aValue : Boolean); begin WriteJSPropertyBoolean('volume',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetsampleRate(const aValue : Boolean); begin WriteJSPropertyBoolean('sampleRate',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetsampleSize(const aValue : Boolean); begin WriteJSPropertyBoolean('sampleSize',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetechoCancellation(const aValue : Boolean); begin WriteJSPropertyBoolean('echoCancellation',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetnoiseSuppression(const aValue : Boolean); begin WriteJSPropertyBoolean('noiseSuppression',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetautoGainControl(const aValue : Boolean); begin WriteJSPropertyBoolean('autoGainControl',aValue); end; procedure TJSMediaTrackSupportedConstraints._Setlatency(const aValue : Boolean); begin WriteJSPropertyBoolean('latency',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetchannelCount(const aValue : Boolean); begin WriteJSPropertyBoolean('channelCount',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetdeviceId(const aValue : Boolean); begin WriteJSPropertyBoolean('deviceId',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetgroupId(const aValue : Boolean); begin WriteJSPropertyBoolean('groupId',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetmediaSource(const aValue : Boolean); begin WriteJSPropertyBoolean('mediaSource',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetbrowserWindow(const aValue : Boolean); begin WriteJSPropertyBoolean('browserWindow',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetscrollWithPage(const aValue : Boolean); begin WriteJSPropertyBoolean('scrollWithPage',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetviewportOffsetX(const aValue : Boolean); begin WriteJSPropertyBoolean('viewportOffsetX',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetviewportOffsetY(const aValue : Boolean); begin WriteJSPropertyBoolean('viewportOffsetY',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetviewportWidth(const aValue : Boolean); begin WriteJSPropertyBoolean('viewportWidth',aValue); end; procedure TJSMediaTrackSupportedConstraints._SetviewportHeight(const aValue : Boolean); begin WriteJSPropertyBoolean('viewportHeight',aValue); end; constructor TJSMediaTrackSupportedConstraints.create(const aDict : TJSMediaTrackSupportedConstraintsRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.aspectRatio:=aDict.aspectRatio; Self.frameRate:=aDict.frameRate; Self.facingMode:=aDict.facingMode; Self.volume:=aDict.volume; Self.sampleRate:=aDict.sampleRate; Self.sampleSize:=aDict.sampleSize; Self.echoCancellation:=aDict.echoCancellation; Self.noiseSuppression:=aDict.noiseSuppression; Self.autoGainControl:=aDict.autoGainControl; Self.latency:=aDict.latency; Self.channelCount:=aDict.channelCount; Self.deviceId:=aDict.deviceId; Self.groupId:=aDict.groupId; Self.mediaSource:=aDict.mediaSource; Self.browserWindow:=aDict.browserWindow; Self.scrollWithPage:=aDict.scrollWithPage; Self.viewportOffsetX:=aDict.viewportOffsetX; Self.viewportOffsetY:=aDict.viewportOffsetY; Self.viewportWidth:=aDict.viewportWidth; Self.viewportHeight:=aDict.viewportHeight; end; class function TJSMediaTrackSupportedConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMediaTrackSupportedConstraints.Cast(const Intf: IJSObject): IJSMediaTrackSupportedConstraints; begin Result:=TJSMediaTrackSupportedConstraints.JOBCast(Intf); end; function TJSMerchantValidationEvent._GetmethodName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('methodName'); end; function TJSMerchantValidationEvent._GetvalidationURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationURL'); end; constructor TJSMerchantValidationEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMerchantValidationEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMerchantValidationEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSMerchantValidationEvent.complete(aMerchantSessionPromise: IJSPromise); begin InvokeJSNoResult('complete',[aMerchantSessionPromise]); end; class function TJSMerchantValidationEvent.JSClassName: UnicodeString; begin Result:='MerchantValidationEvent'; end; class function TJSMerchantValidationEvent.Cast(const Intf: IJSObject): IJSMerchantValidationEvent; begin Result:=TJSMerchantValidationEvent.JOBCast(Intf); end; function TJSMerchantValidationEventInit._GetmethodName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('methodName'); end; function TJSMerchantValidationEventInit._GetvalidationURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('validationURL'); end; procedure TJSMerchantValidationEventInit._SetmethodName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('methodName',aValue); end; procedure TJSMerchantValidationEventInit._SetvalidationURL(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('validationURL',aValue); end; constructor TJSMerchantValidationEventInit.create(const aDict : TJSMerchantValidationEventInitRec); overload; begin Self.methodName:=aDict.methodName; Self.validationURL:=aDict.validationURL; end; class function TJSMerchantValidationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMerchantValidationEventInit.Cast(const Intf: IJSObject): IJSMerchantValidationEventInit; begin Result:=TJSMerchantValidationEventInit.JOBCast(Intf); end; function TJSMessageChannel._Getport1: IJSMessagePort; begin Result:=ReadJSPropertyObject('port1',TJSMessagePort) as IJSMessagePort; end; function TJSMessageChannel._Getport2: IJSMessagePort; begin Result:=ReadJSPropertyObject('port2',TJSMessagePort) as IJSMessagePort; end; constructor TJSMessageChannel.Create; begin JOBCreate([]); end; class function TJSMessageChannel.JSClassName: UnicodeString; begin Result:='MessageChannel'; end; class function TJSMessageChannel.Cast(const Intf: IJSObject): IJSMessageChannel; begin Result:=TJSMessageChannel.JOBCast(Intf); end; function TJSMessageEvent._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; function TJSMessageEvent._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSMessageEvent._GetlastEventId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastEventId'); end; function TJSMessageEvent._Getsource: TMessageEventSource; begin Result:=ReadJSPropertyVariant('source'); end; function TJSMessageEvent._Getports: TJSMessagePortDynArray; begin Result:=ReadJSPropertyObject('ports',TJSArray) as TJSMessagePortDynArray; end; constructor TJSMessageEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMessageEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMessageEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort; const aPorts: TJSMessagePortDynArray); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource,aPorts]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initMessageEvent',[aType_]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker; const aPorts: TJSMessagePortDynArray); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource,aPorts]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy; const aPorts: TJSMessagePortDynArray); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource,aPorts]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSWindowProxy); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSServiceWorker); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource]); end; procedure TJSMessageEvent.initMessageEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; const aData: Variant; const aOrigin: UnicodeString; const aLastEventId: UnicodeString; aSource: IJSMessagePort); begin InvokeJSNoResult('initMessageEvent',[aType_,aBubbles,aCancelable,aData,aOrigin,aLastEventId,aSource]); end; class function TJSMessageEvent.JSClassName: UnicodeString; begin Result:='MessageEvent'; end; class function TJSMessageEvent.Cast(const Intf: IJSObject): IJSMessageEvent; begin Result:=TJSMessageEvent.JOBCast(Intf); end; function TJSMessageEventInit._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; function TJSMessageEventInit._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSMessageEventInit._GetlastEventId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lastEventId'); end; function TJSMessageEventInit._Getsource: TMessageEventSource; begin Result:=ReadJSPropertyVariant('source'); end; function TJSMessageEventInit._Getports: TJSMessagePortDynArray; begin Result:=ReadJSPropertyObject('ports',TJSArray) as TJSMessagePortDynArray; end; procedure TJSMessageEventInit._Setdata(const aValue : Variant); begin WriteJSPropertyVariant('data',aValue); end; procedure TJSMessageEventInit._Setorigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('origin',aValue); end; procedure TJSMessageEventInit._SetlastEventId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lastEventId',aValue); end; procedure TJSMessageEventInit._Setsource(const aValue : TMessageEventSource); begin WriteJSPropertyVariant('source',aValue); end; procedure TJSMessageEventInit._Setports(const aValue : TJSMessagePortDynArray); begin WriteJSPropertyObject('ports',aValue); end; constructor TJSMessageEventInit.create(const aDict : TJSMessageEventInitRec); overload; begin Self.data:=aDict.data; Self.origin:=aDict.origin; Self.lastEventId:=aDict.lastEventId; Self.source:=aDict.source; Self.ports:=aDict.ports; end; class function TJSMessageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMessageEventInit.Cast(const Intf: IJSObject): IJSMessageEventInit; begin Result:=TJSMessageEventInit.JOBCast(Intf); end; function TJSMessagePort._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSMessagePort._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; procedure TJSMessagePort._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSMessagePort._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSMessagePort.postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTransferable]); end; procedure TJSMessagePort.postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); begin InvokeJSNoResult('postMessage',[aMessage,aOptions]); end; procedure TJSMessagePort.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; procedure TJSMessagePort.start; begin InvokeJSNoResult('start',[]); end; procedure TJSMessagePort.close; begin InvokeJSNoResult('close',[]); end; class function TJSMessagePort.JSClassName: UnicodeString; begin Result:='MessagePort'; end; class function TJSMessagePort.Cast(const Intf: IJSObject): IJSMessagePort; begin Result:=TJSMessagePort.JOBCast(Intf); end; function TJSStructuredSerializeOptions._Gettransfer: TIJSObjectDynArray; begin Result:=ReadJSPropertyObject('transfer',TJSArray) as TIJSObjectDynArray; end; procedure TJSStructuredSerializeOptions._Settransfer(const aValue : TIJSObjectDynArray); begin WriteJSPropertyObject('transfer',aValue); end; constructor TJSStructuredSerializeOptions.create(const aDict : TJSStructuredSerializeOptionsRec); overload; begin Self.transfer:=aDict.transfer; end; class function TJSStructuredSerializeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStructuredSerializeOptions.Cast(const Intf: IJSObject): IJSStructuredSerializeOptions; begin Result:=TJSStructuredSerializeOptions.JOBCast(Intf); end; function TJSMIDIAccess._Getinputs: IJSMIDIInputMap; begin Result:=ReadJSPropertyObject('inputs',TJSMIDIInputMap) as IJSMIDIInputMap; end; function TJSMIDIAccess._Getoutputs: IJSMIDIOutputMap; begin Result:=ReadJSPropertyObject('outputs',TJSMIDIOutputMap) as IJSMIDIOutputMap; end; function TJSMIDIAccess._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; function TJSMIDIAccess._GetsysexEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('sysexEnabled'); end; procedure TJSMIDIAccess._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; class function TJSMIDIAccess.JSClassName: UnicodeString; begin Result:='MIDIAccess'; end; class function TJSMIDIAccess.Cast(const Intf: IJSObject): IJSMIDIAccess; begin Result:=TJSMIDIAccess.JOBCast(Intf); end; function TJSMIDIConnectionEvent._Getport: IJSMIDIPort; begin Result:=ReadJSPropertyObject('port',TJSMIDIPort) as IJSMIDIPort; end; constructor TJSMIDIConnectionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMIDIConnectionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMIDIConnectionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSMIDIConnectionEvent.JSClassName: UnicodeString; begin Result:='MIDIConnectionEvent'; end; class function TJSMIDIConnectionEvent.Cast(const Intf: IJSObject): IJSMIDIConnectionEvent; begin Result:=TJSMIDIConnectionEvent.JOBCast(Intf); end; function TJSMIDIConnectionEventInit._Getport: IJSMIDIPort; begin Result:=ReadJSPropertyObject('port',TJSMIDIPort) as IJSMIDIPort; end; procedure TJSMIDIConnectionEventInit._Setport(const aValue : IJSMIDIPort); begin WriteJSPropertyObject('port',aValue); end; constructor TJSMIDIConnectionEventInit.create(const aDict : TJSMIDIConnectionEventInitRec); overload; begin Self.port:=aDict.port; end; class function TJSMIDIConnectionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMIDIConnectionEventInit.Cast(const Intf: IJSObject): IJSMIDIConnectionEventInit; begin Result:=TJSMIDIConnectionEventInit.JOBCast(Intf); end; function TJSMIDIInput._Getonmidimessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmidimessage'))); end; procedure TJSMIDIInput._Setonmidimessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmidimessage',[m],jiSet); finally m.free end; end; class function TJSMIDIInput.JSClassName: UnicodeString; begin Result:='MIDIInput'; end; class function TJSMIDIInput.Cast(const Intf: IJSObject): IJSMIDIInput; begin Result:=TJSMIDIInput.JOBCast(Intf); end; function TJSMIDIInputMap._Getsize: LongInt; begin Result:=0; end; function TJSMIDIInputMap.get(key: UnicodeString) : TJSMIDIInput; begin Result:=InvokeJSObjectResult('get',[key],TJSMIDIInput) as TJSMIDIInput; end; function TJSMIDIInputMap.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSMIDIInputMap.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSMIDIInputMap.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSMIDIInputMap.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; class function TJSMIDIInputMap.JSClassName: UnicodeString; begin Result:='MIDIInputMap'; end; class function TJSMIDIInputMap.Cast(const Intf: IJSObject): IJSMIDIInputMap; begin Result:=TJSMIDIInputMap.JOBCast(Intf); end; function TJSMIDIMessageEvent._Getdata: IJSUint8Array; begin Result:=ReadJSPropertyObject('data',TJSUint8Array) as IJSUint8Array; end; constructor TJSMIDIMessageEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSMIDIMessageEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSMIDIMessageEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSMIDIMessageEvent.JSClassName: UnicodeString; begin Result:='MIDIMessageEvent'; end; class function TJSMIDIMessageEvent.Cast(const Intf: IJSObject): IJSMIDIMessageEvent; begin Result:=TJSMIDIMessageEvent.JOBCast(Intf); end; function TJSMIDIMessageEventInit._Getdata: IJSUint8Array; begin Result:=ReadJSPropertyObject('data',TJSUint8Array) as IJSUint8Array; end; procedure TJSMIDIMessageEventInit._Setdata(const aValue : IJSUint8Array); begin WriteJSPropertyObject('data',aValue); end; constructor TJSMIDIMessageEventInit.create(const aDict : TJSMIDIMessageEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSMIDIMessageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMIDIMessageEventInit.Cast(const Intf: IJSObject): IJSMIDIMessageEventInit; begin Result:=TJSMIDIMessageEventInit.JOBCast(Intf); end; function TJSMIDIOptions._Getsysex: Boolean; begin Result:=ReadJSPropertyBoolean('sysex'); end; function TJSMIDIOptions._Getsoftware: Boolean; begin Result:=ReadJSPropertyBoolean('software'); end; procedure TJSMIDIOptions._Setsysex(const aValue : Boolean); begin WriteJSPropertyBoolean('sysex',aValue); end; procedure TJSMIDIOptions._Setsoftware(const aValue : Boolean); begin WriteJSPropertyBoolean('software',aValue); end; constructor TJSMIDIOptions.create(const aDict : TJSMIDIOptionsRec); overload; begin Self.sysex:=aDict.sysex; Self.software:=aDict.software; end; class function TJSMIDIOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMIDIOptions.Cast(const Intf: IJSObject): IJSMIDIOptions; begin Result:=TJSMIDIOptions.JOBCast(Intf); end; procedure TJSMIDIOutput.send(const aData: TByteDynArray; aTimestamp: TDOMHighResTimeStamp); begin InvokeJSNoResult('send',[aData,aTimestamp]); end; procedure TJSMIDIOutput.send(const aData: TByteDynArray); begin InvokeJSNoResult('send',[aData]); end; procedure TJSMIDIOutput.clear; begin InvokeJSNoResult('clear',[]); end; class function TJSMIDIOutput.JSClassName: UnicodeString; begin Result:='MIDIOutput'; end; class function TJSMIDIOutput.Cast(const Intf: IJSObject): IJSMIDIOutput; begin Result:=TJSMIDIOutput.JOBCast(Intf); end; function TJSMIDIOutputMap._Getsize: LongInt; begin Result:=0; end; function TJSMIDIOutputMap.get(key: UnicodeString) : TJSMIDIOutput; begin Result:=InvokeJSObjectResult('get',[key],TJSMIDIOutput) as TJSMIDIOutput; end; function TJSMIDIOutputMap.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSMIDIOutputMap.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSMIDIOutputMap.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSMIDIOutputMap.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; class function TJSMIDIOutputMap.JSClassName: UnicodeString; begin Result:='MIDIOutputMap'; end; class function TJSMIDIOutputMap.Cast(const Intf: IJSObject): IJSMIDIOutputMap; begin Result:=TJSMIDIOutputMap.JOBCast(Intf); end; function TJSMIDIPort._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSMIDIPort._Getmanufacturer: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('manufacturer'); end; function TJSMIDIPort._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSMIDIPort._Getversion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('version'); end; function TJSMIDIPort._Gettype_: TMIDIPortType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSMIDIPort._Getstate: TMIDIPortDeviceState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSMIDIPort._Getconnection: TMIDIPortConnectionState; begin Result:=ReadJSPropertyUnicodeString('connection'); end; function TJSMIDIPort._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; procedure TJSMIDIPort._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; function TJSMIDIPort.open: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('open',[],TJSPromise) as IJSPromise; end; function TJSMIDIPort.close: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('close',[],TJSPromise) as IJSPromise; end; class function TJSMIDIPort.JSClassName: UnicodeString; begin Result:='MIDIPort'; end; class function TJSMIDIPort.Cast(const Intf: IJSObject): IJSMIDIPort; begin Result:=TJSMIDIPort.JOBCast(Intf); end; function TJSMimeType._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSMimeType._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; function TJSMimeType._Getsuffixes: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('suffixes'); end; function TJSMimeType._GetenabledPlugin: IJSPlugin; begin Result:=ReadJSPropertyObject('enabledPlugin',TJSPlugin) as IJSPlugin; end; class function TJSMimeType.JSClassName: UnicodeString; begin Result:='MimeType'; end; class function TJSMimeType.Cast(const Intf: IJSObject): IJSMimeType; begin Result:=TJSMimeType.JOBCast(Intf); end; function TJSMimeTypeArray._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSMimeTypeArray.item(aIndex: Cardinal): IJSMimeType; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSMimeType) as IJSMimeType; end; function TJSMimeTypeArray.namedItem(const aName: UnicodeString): IJSMimeType; begin Result:=InvokeJSObjectResult('namedItem',[aName],TJSMimeType) as IJSMimeType; end; class function TJSMimeTypeArray.JSClassName: UnicodeString; begin Result:='MimeTypeArray'; end; class function TJSMimeTypeArray.Cast(const Intf: IJSObject): IJSMimeTypeArray; begin Result:=TJSMimeTypeArray.JOBCast(Intf); end; function TJSMouseEvent._GetscreenX: LongInt; begin Result:=ReadJSPropertyLongInt('screenX'); end; function TJSMouseEvent._GetscreenY: LongInt; begin Result:=ReadJSPropertyLongInt('screenY'); end; function TJSMouseEvent._GetpageX: LongInt; begin Result:=ReadJSPropertyLongInt('pageX'); end; function TJSMouseEvent._GetpageY: LongInt; begin Result:=ReadJSPropertyLongInt('pageY'); end; function TJSMouseEvent._GetclientX: LongInt; begin Result:=ReadJSPropertyLongInt('clientX'); end; function TJSMouseEvent._GetclientY: LongInt; begin Result:=ReadJSPropertyLongInt('clientY'); end; function TJSMouseEvent._Getx: LongInt; begin Result:=ReadJSPropertyLongInt('x'); end; function TJSMouseEvent._Gety: LongInt; begin Result:=ReadJSPropertyLongInt('y'); end; function TJSMouseEvent._GetoffsetX: LongInt; begin Result:=ReadJSPropertyLongInt('offsetX'); end; function TJSMouseEvent._GetoffsetY: LongInt; begin Result:=ReadJSPropertyLongInt('offsetY'); end; function TJSMouseEvent._GetctrlKey: Boolean; begin Result:=ReadJSPropertyBoolean('ctrlKey'); end; function TJSMouseEvent._GetshiftKey: Boolean; begin Result:=ReadJSPropertyBoolean('shiftKey'); end; function TJSMouseEvent._GetaltKey: Boolean; begin Result:=ReadJSPropertyBoolean('altKey'); end; function TJSMouseEvent._GetmetaKey: Boolean; begin Result:=ReadJSPropertyBoolean('metaKey'); end; function TJSMouseEvent._Getbutton: SmallInt; begin Result:=ReadJSPropertyLongInt('button'); end; function TJSMouseEvent._Getbuttons: Word; begin Result:=ReadJSPropertyLongInt('buttons'); end; function TJSMouseEvent._GetrelatedTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('relatedTarget',TJSEventTarget) as IJSEventTarget; end; function TJSMouseEvent._GetmovementX: LongInt; begin Result:=ReadJSPropertyLongInt('movementX'); end; function TJSMouseEvent._GetmovementY: LongInt; begin Result:=ReadJSPropertyLongInt('movementY'); end; function TJSMouseEvent._GetmozPressure: Single; begin Result:=ReadJSPropertyDouble('mozPressure'); end; function TJSMouseEvent._GetmozInputSource: Word; begin Result:=ReadJSPropertyLongInt('mozInputSource'); end; constructor TJSMouseEvent.Create(const aTypeArg: UnicodeString; const aMouseEventInitDict: IJSMouseEventInit); begin JOBCreate([aTypeArg,aMouseEventInitDict]); end; constructor TJSMouseEvent.Create(const aTypeArg: UnicodeString); begin JOBCreate([aTypeArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg,aRelatedTargetArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString); begin InvokeJSNoResult('initMouseEvent',[aTypeArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg]); end; procedure TJSMouseEvent.initMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); begin InvokeJSNoResult('initMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg]); end; function TJSMouseEvent.getModifierState(const aKeyArg: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('getModifierState',[aKeyArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single; aInputSourceArg: Word); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg,aRelatedTargetArg,aPressure,aInputSourceArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg,aRelatedTargetArg]); end; procedure TJSMouseEvent.initNSMouseEvent(const aTypeArg: UnicodeString; aCanBubbleArg: Boolean; aCancelableArg: Boolean; aViewArg: IJSWindow; aDetailArg: LongInt; aScreenXArg: LongInt; aScreenYArg: LongInt; aClientXArg: LongInt; aClientYArg: LongInt; aCtrlKeyArg: Boolean; aAltKeyArg: Boolean; aShiftKeyArg: Boolean; aMetaKeyArg: Boolean; aButtonArg: SmallInt; aRelatedTargetArg: IJSEventTarget; aPressure: Single); begin InvokeJSNoResult('initNSMouseEvent',[aTypeArg,aCanBubbleArg,aCancelableArg,aViewArg,aDetailArg,aScreenXArg,aScreenYArg,aClientXArg,aClientYArg,aCtrlKeyArg,aAltKeyArg,aShiftKeyArg,aMetaKeyArg,aButtonArg,aRelatedTargetArg,aPressure]); end; class function TJSMouseEvent.JSClassName: UnicodeString; begin Result:='MouseEvent'; end; class function TJSMouseEvent.Cast(const Intf: IJSObject): IJSMouseEvent; begin Result:=TJSMouseEvent.JOBCast(Intf); end; function TJSMouseEventInit._GetscreenX: LongInt; begin Result:=ReadJSPropertyLongInt('screenX'); end; function TJSMouseEventInit._GetscreenY: LongInt; begin Result:=ReadJSPropertyLongInt('screenY'); end; function TJSMouseEventInit._GetclientX: LongInt; begin Result:=ReadJSPropertyLongInt('clientX'); end; function TJSMouseEventInit._GetclientY: LongInt; begin Result:=ReadJSPropertyLongInt('clientY'); end; function TJSMouseEventInit._Getbutton: SmallInt; begin Result:=ReadJSPropertyLongInt('button'); end; function TJSMouseEventInit._Getbuttons: Word; begin Result:=ReadJSPropertyLongInt('buttons'); end; function TJSMouseEventInit._GetrelatedTarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('relatedTarget',TJSEventTarget) as IJSEventTarget; end; function TJSMouseEventInit._GetmovementX: LongInt; begin Result:=ReadJSPropertyLongInt('movementX'); end; function TJSMouseEventInit._GetmovementY: LongInt; begin Result:=ReadJSPropertyLongInt('movementY'); end; procedure TJSMouseEventInit._SetscreenX(const aValue : LongInt); begin WriteJSPropertyLongInt('screenX',aValue); end; procedure TJSMouseEventInit._SetscreenY(const aValue : LongInt); begin WriteJSPropertyLongInt('screenY',aValue); end; procedure TJSMouseEventInit._SetclientX(const aValue : LongInt); begin WriteJSPropertyLongInt('clientX',aValue); end; procedure TJSMouseEventInit._SetclientY(const aValue : LongInt); begin WriteJSPropertyLongInt('clientY',aValue); end; procedure TJSMouseEventInit._Setbutton(const aValue : SmallInt); begin WriteJSPropertyLongInt('button',aValue); end; procedure TJSMouseEventInit._Setbuttons(const aValue : Word); begin WriteJSPropertyLongInt('buttons',aValue); end; procedure TJSMouseEventInit._SetrelatedTarget(const aValue : IJSEventTarget); begin WriteJSPropertyObject('relatedTarget',aValue); end; procedure TJSMouseEventInit._SetmovementX(const aValue : LongInt); begin WriteJSPropertyLongInt('movementX',aValue); end; procedure TJSMouseEventInit._SetmovementY(const aValue : LongInt); begin WriteJSPropertyLongInt('movementY',aValue); end; constructor TJSMouseEventInit.create(const aDict : TJSMouseEventInitRec); overload; begin Self.screenX:=aDict.screenX; Self.screenY:=aDict.screenY; Self.clientX:=aDict.clientX; Self.clientY:=aDict.clientY; Self.button:=aDict.button; Self.buttons:=aDict.buttons; Self.relatedTarget:=aDict.relatedTarget; Self.movementX:=aDict.movementX; Self.movementY:=aDict.movementY; end; class function TJSMouseEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMouseEventInit.Cast(const Intf: IJSObject): IJSMouseEventInit; begin Result:=TJSMouseEventInit.JOBCast(Intf); end; function TJSMouseScrollEvent._Getaxis: LongInt; begin Result:=ReadJSPropertyLongInt('axis'); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget; aAxis: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aButton,aRelatedTarget,aAxis]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initMouseScrollEvent',[aType_]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey,aShiftKey]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey,aShiftKey,aMetaKey]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aButton]); end; procedure TJSMouseScrollEvent.initMouseScrollEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aScreenX: LongInt; aScreenY: LongInt; aClientX: LongInt; aClientY: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aButton: SmallInt; aRelatedTarget: IJSEventTarget); begin InvokeJSNoResult('initMouseScrollEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aScreenX,aScreenY,aClientX,aClientY,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aButton,aRelatedTarget]); end; class function TJSMouseScrollEvent.JSClassName: UnicodeString; begin Result:='MouseScrollEvent'; end; class function TJSMouseScrollEvent.Cast(const Intf: IJSObject): IJSMouseScrollEvent; begin Result:=TJSMouseScrollEvent.JOBCast(Intf); end; function TJSMozApplicationEventInit._Getapplication: IJSObject; begin Result:=ReadJSPropertyObject('application',TJSObject) as IJSObject; end; procedure TJSMozApplicationEventInit._Setapplication(const aValue : IJSObject); begin WriteJSPropertyObject('application',aValue); end; constructor TJSMozApplicationEventInit.create(const aDict : TJSMozApplicationEventInitRec); overload; begin Self.application:=aDict.application; end; class function TJSMozApplicationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMozApplicationEventInit.Cast(const Intf: IJSObject): IJSMozApplicationEventInit; begin Result:=TJSMozApplicationEventInit.JOBCast(Intf); end; function TJSRemotenessOptions._GetremoteType: UTF8String; begin Result:=ReadJSPropertyUTF8String('remoteType'); end; function TJSRemotenessOptions._GetpendingSwitchID: QWord; begin Result:=ReadJSPropertyInt64('pendingSwitchID'); end; function TJSRemotenessOptions._GetswitchingInProgressLoad: Boolean; begin Result:=ReadJSPropertyBoolean('switchingInProgressLoad'); end; procedure TJSRemotenessOptions._SetremoteType(const aValue : UTF8String); begin WriteJSPropertyUTF8String('remoteType',aValue); end; procedure TJSRemotenessOptions._SetpendingSwitchID(const aValue : QWord); begin WriteJSPropertyDouble('pendingSwitchID',aValue); end; procedure TJSRemotenessOptions._SetswitchingInProgressLoad(const aValue : Boolean); begin WriteJSPropertyBoolean('switchingInProgressLoad',aValue); end; constructor TJSRemotenessOptions.create(const aDict : TJSRemotenessOptionsRec); overload; begin Self.remoteType:=aDict.remoteType; Self.pendingSwitchID:=aDict.pendingSwitchID; Self.switchingInProgressLoad:=aDict.switchingInProgressLoad; end; class function TJSRemotenessOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRemotenessOptions.Cast(const Intf: IJSObject): IJSRemotenessOptions; begin Result:=TJSRemotenessOptions.JOBCast(Intf); end; class function TJSMozFrameLoaderOwner.JSClassName: UnicodeString; begin Result:='MozFrameLoaderOwner'; end; class function TJSMozFrameLoaderOwner.Cast(const Intf: IJSObject): IJSMozFrameLoaderOwner; begin Result:=TJSMozFrameLoaderOwner.JOBCast(Intf); end; function TJSMutationEvent._GetrelatedNode: IJSNode; begin Result:=ReadJSPropertyObject('relatedNode',TJSNode) as IJSNode; end; function TJSMutationEvent._GetprevValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('prevValue'); end; function TJSMutationEvent._GetnewValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newValue'); end; function TJSMutationEvent._GetattrName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attrName'); end; function TJSMutationEvent._GetattrChange: Word; begin Result:=ReadJSPropertyLongInt('attrChange'); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString; aAttrChange: Word); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable,aRelatedNode,aPrevValue,aNewValue,aAttrName,aAttrChange]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initMutationEvent',[aType_]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable,aRelatedNode]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable,aRelatedNode,aPrevValue]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable,aRelatedNode,aPrevValue,aNewValue]); end; procedure TJSMutationEvent.initMutationEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aRelatedNode: IJSNode; const aPrevValue: UnicodeString; const aNewValue: UnicodeString; const aAttrName: UnicodeString); begin InvokeJSNoResult('initMutationEvent',[aType_,aCanBubble,aCancelable,aRelatedNode,aPrevValue,aNewValue,aAttrName]); end; class function TJSMutationEvent.JSClassName: UnicodeString; begin Result:='MutationEvent'; end; class function TJSMutationEvent.Cast(const Intf: IJSObject): IJSMutationEvent; begin Result:=TJSMutationEvent.JOBCast(Intf); end; function TJSMutationRecord._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSMutationRecord._Gettarget: IJSNode; begin Result:=ReadJSPropertyObject('target',TJSNode) as IJSNode; end; function TJSMutationRecord._GetaddedNodes: IJSNodeList; begin Result:=ReadJSPropertyObject('addedNodes',TJSNodeList) as IJSNodeList; end; function TJSMutationRecord._GetremovedNodes: IJSNodeList; begin Result:=ReadJSPropertyObject('removedNodes',TJSNodeList) as IJSNodeList; end; function TJSMutationRecord._GetpreviousSibling: IJSNode; begin Result:=ReadJSPropertyObject('previousSibling',TJSNode) as IJSNode; end; function TJSMutationRecord._GetnextSibling: IJSNode; begin Result:=ReadJSPropertyObject('nextSibling',TJSNode) as IJSNode; end; function TJSMutationRecord._GetattributeName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attributeName'); end; function TJSMutationRecord._GetattributeNamespace: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attributeNamespace'); end; function TJSMutationRecord._GetoldValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldValue'); end; class function TJSMutationRecord.JSClassName: UnicodeString; begin Result:='MutationRecord'; end; class function TJSMutationRecord.Cast(const Intf: IJSObject): IJSMutationRecord; begin Result:=TJSMutationRecord.JOBCast(Intf); end; constructor TJSMutationObserver.Create(const aMutationCallback: TMutationCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aMutationCallback),@JOBCallMutationCallback); try JOBCreate([m]); finally m.free; end; end; procedure TJSMutationObserver.observe(aTarget: IJSNode; const aOptions: IJSMutationObserverInit); begin InvokeJSNoResult('observe',[aTarget,aOptions]); end; procedure TJSMutationObserver.observe(aTarget: IJSNode); begin InvokeJSNoResult('observe',[aTarget]); end; procedure TJSMutationObserver.disconnect; begin InvokeJSNoResult('disconnect',[]); end; function TJSMutationObserver.takeRecords: TJSMutationRecordDynArray; begin Result:=InvokeJSObjectResult('takeRecords',[],TJSArray) as TJSMutationRecordDynArray; end; class function TJSMutationObserver.JSClassName: UnicodeString; begin Result:='MutationObserver'; end; class function TJSMutationObserver.Cast(const Intf: IJSObject): IJSMutationObserver; begin Result:=TJSMutationObserver.JOBCast(Intf); end; function TJSMutationObserverInit._GetchildList: Boolean; begin Result:=ReadJSPropertyBoolean('childList'); end; function TJSMutationObserverInit._Getattributes: Boolean; begin Result:=ReadJSPropertyBoolean('attributes'); end; function TJSMutationObserverInit._GetcharacterData: Boolean; begin Result:=ReadJSPropertyBoolean('characterData'); end; function TJSMutationObserverInit._Getsubtree: Boolean; begin Result:=ReadJSPropertyBoolean('subtree'); end; function TJSMutationObserverInit._GetattributeOldValue: Boolean; begin Result:=ReadJSPropertyBoolean('attributeOldValue'); end; function TJSMutationObserverInit._GetcharacterDataOldValue: Boolean; begin Result:=ReadJSPropertyBoolean('characterDataOldValue'); end; function TJSMutationObserverInit._GetattributeFilter: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('attributeFilter',TJSArray) as TUnicodeStringDynArray; end; procedure TJSMutationObserverInit._SetchildList(const aValue : Boolean); begin WriteJSPropertyBoolean('childList',aValue); end; procedure TJSMutationObserverInit._Setattributes(const aValue : Boolean); begin WriteJSPropertyBoolean('attributes',aValue); end; procedure TJSMutationObserverInit._SetcharacterData(const aValue : Boolean); begin WriteJSPropertyBoolean('characterData',aValue); end; procedure TJSMutationObserverInit._Setsubtree(const aValue : Boolean); begin WriteJSPropertyBoolean('subtree',aValue); end; procedure TJSMutationObserverInit._SetattributeOldValue(const aValue : Boolean); begin WriteJSPropertyBoolean('attributeOldValue',aValue); end; procedure TJSMutationObserverInit._SetcharacterDataOldValue(const aValue : Boolean); begin WriteJSPropertyBoolean('characterDataOldValue',aValue); end; procedure TJSMutationObserverInit._SetattributeFilter(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('attributeFilter',aValue); end; constructor TJSMutationObserverInit.create(const aDict : TJSMutationObserverInitRec); overload; begin Self.childList:=aDict.childList; Self.attributes:=aDict.attributes; Self.characterData:=aDict.characterData; Self.subtree:=aDict.subtree; Self.attributeOldValue:=aDict.attributeOldValue; Self.characterDataOldValue:=aDict.characterDataOldValue; Self.attributeFilter:=aDict.attributeFilter; end; class function TJSMutationObserverInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMutationObserverInit.Cast(const Intf: IJSObject): IJSMutationObserverInit; begin Result:=TJSMutationObserverInit.JOBCast(Intf); end; function TJSMutationObservingInfo._GetobservedNode: IJSNode; begin Result:=ReadJSPropertyObject('observedNode',TJSNode) as IJSNode; end; procedure TJSMutationObservingInfo._SetobservedNode(const aValue : IJSNode); begin WriteJSPropertyObject('observedNode',aValue); end; constructor TJSMutationObservingInfo.create(const aDict : TJSMutationObservingInfoRec); overload; begin Self.observedNode:=aDict.observedNode; end; class function TJSMutationObservingInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMutationObservingInfo.Cast(const Intf: IJSObject): IJSMutationObservingInfo; begin Result:=TJSMutationObservingInfo.JOBCast(Intf); end; function TJSNamedNodeMap._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSNamedNodeMap.getNamedItem(const aName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('getNamedItem',[aName],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.setNamedItem(aArg: IJSAttr): IJSAttr; begin Result:=InvokeJSObjectResult('setNamedItem',[aArg],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.removeNamedItem(const aName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('removeNamedItem',[aName],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.item(aIndex: Cardinal): IJSAttr; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.getNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('getNamedItemNS',[aNamespaceURI,aLocalName],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.setNamedItemNS(aArg: IJSAttr): IJSAttr; begin Result:=InvokeJSObjectResult('setNamedItemNS',[aArg],TJSAttr) as IJSAttr; end; function TJSNamedNodeMap.removeNamedItemNS(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): IJSAttr; begin Result:=InvokeJSObjectResult('removeNamedItemNS',[aNamespaceURI,aLocalName],TJSAttr) as IJSAttr; end; class function TJSNamedNodeMap.JSClassName: UnicodeString; begin Result:='NamedNodeMap'; end; class function TJSNamedNodeMap.Cast(const Intf: IJSObject): IJSNamedNodeMap; begin Result:=TJSNamedNodeMap.JOBCast(Intf); end; function TJSNavigationPreloadManager.enable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('enable',[],TJSPromise) as IJSPromise; end; function TJSNavigationPreloadManager.disable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('disable',[],TJSPromise) as IJSPromise; end; function TJSNavigationPreloadManager.setHeaderValue(const aValue: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setHeaderValue',[aValue],TJSPromise) as IJSPromise; end; function TJSNavigationPreloadManager.getState: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getState',[],TJSPromise) as IJSPromise; end; class function TJSNavigationPreloadManager.JSClassName: UnicodeString; begin Result:='NavigationPreloadManager'; end; class function TJSNavigationPreloadManager.Cast(const Intf: IJSObject): IJSNavigationPreloadManager; begin Result:=TJSNavigationPreloadManager.JOBCast(Intf); end; function TJSNavigationPreloadState._Getenabled: Boolean; begin Result:=ReadJSPropertyBoolean('enabled'); end; function TJSNavigationPreloadState._GetheaderValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('headerValue'); end; procedure TJSNavigationPreloadState._Setenabled(const aValue : Boolean); begin WriteJSPropertyBoolean('enabled',aValue); end; procedure TJSNavigationPreloadState._SetheaderValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('headerValue',aValue); end; constructor TJSNavigationPreloadState.create(const aDict : TJSNavigationPreloadStateRec); overload; begin Self.enabled:=aDict.enabled; Self.headerValue:=aDict.headerValue; end; class function TJSNavigationPreloadState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNavigationPreloadState.Cast(const Intf: IJSObject): IJSNavigationPreloadState; begin Result:=TJSNavigationPreloadState.JOBCast(Intf); end; function TJSNavigator._Getpermissions: IJSPermissions; begin Result:=ReadJSPropertyObject('permissions',TJSPermissions) as IJSPermissions; end; function TJSNavigator._GetmimeTypes: IJSMimeTypeArray; begin Result:=ReadJSPropertyObject('mimeTypes',TJSMimeTypeArray) as IJSMimeTypeArray; end; function TJSNavigator._Getplugins: IJSPluginArray; begin Result:=ReadJSPropertyObject('plugins',TJSPluginArray) as IJSPluginArray; end; function TJSNavigator._GetpdfViewerEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('pdfViewerEnabled'); end; function TJSNavigator._GetdoNotTrack: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('doNotTrack'); end; function TJSNavigator._GetmaxTouchPoints: LongInt; begin Result:=ReadJSPropertyLongInt('maxTouchPoints'); end; function TJSNavigator._GetmediaCapabilities: IJSMediaCapabilities; begin Result:=ReadJSPropertyObject('mediaCapabilities',TJSMediaCapabilities) as IJSMediaCapabilities; end; function TJSNavigator._Getoscpu: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oscpu'); end; function TJSNavigator._Getvendor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vendor'); end; function TJSNavigator._GetvendorSub: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vendorSub'); end; function TJSNavigator._GetproductSub: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('productSub'); end; function TJSNavigator._GetcookieEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('cookieEnabled'); end; function TJSNavigator._GetbuildID: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('buildID'); end; function TJSNavigator._GetmozAddonManager: IJSAddonManager; begin Result:=ReadJSPropertyObject('mozAddonManager',TJSAddonManager) as IJSAddonManager; end; function TJSNavigator._Getconnection: IJSNetworkInformation; begin Result:=ReadJSPropertyObject('connection',TJSNetworkInformation) as IJSNetworkInformation; end; function TJSNavigator._GetactiveVRDisplays: TJSVRDisplayDynArray; begin Result:=ReadJSPropertyObject('activeVRDisplays',TJSArray) as TJSVRDisplayDynArray; end; function TJSNavigator._Getxr: IJSXRSystem; begin Result:=ReadJSPropertyObject('xr',TJSXRSystem) as IJSXRSystem; end; function TJSNavigator._GetmediaDevices: IJSMediaDevices; begin Result:=ReadJSPropertyObject('mediaDevices',TJSMediaDevices) as IJSMediaDevices; end; function TJSNavigator._GetserviceWorker: IJSServiceWorkerContainer; begin Result:=ReadJSPropertyObject('serviceWorker',TJSServiceWorkerContainer) as IJSServiceWorkerContainer; end; function TJSNavigator._GetmozTCPSocket: IJSLegacyMozTCPSocket; begin Result:=ReadJSPropertyObject('mozTCPSocket',TJSLegacyMozTCPSocket) as IJSLegacyMozTCPSocket; end; function TJSNavigator._Getcredentials: IJSCredentialsContainer; begin Result:=ReadJSPropertyObject('credentials',TJSCredentialsContainer) as IJSCredentialsContainer; end; function TJSNavigator._Getclipboard: IJSClipboard; begin Result:=ReadJSPropertyObject('clipboard',TJSClipboard) as IJSClipboard; end; function TJSNavigator._GettestTrialGatedAttribute: Boolean; begin Result:=ReadJSPropertyBoolean('testTrialGatedAttribute'); end; function TJSNavigator._GetmediaSession: IJSMediaSession; begin Result:=ReadJSPropertyObject('mediaSession',TJSMediaSession) as IJSMediaSession; end; function TJSNavigator._GetuserActivation: IJSUserActivation; begin Result:=ReadJSPropertyObject('userActivation',TJSUserActivation) as IJSUserActivation; end; function TJSNavigator._GetwakeLock: IJSWakeLock; begin Result:=ReadJSPropertyObject('wakeLock',TJSWakeLock) as IJSWakeLock; end; function TJSNavigator._GetappCodeName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appCodeName'); end; function TJSNavigator._GetappName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appName'); end; function TJSNavigator._GetappVersion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appVersion'); end; function TJSNavigator._Getplatform: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('platform'); end; function TJSNavigator._GetuserAgent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userAgent'); end; function TJSNavigator._Getproduct: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('product'); end; function TJSNavigator._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSNavigator._Getlanguages: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('languages',TJSArray) as TUnicodeStringDynArray; end; function TJSNavigator._GetonLine: Boolean; begin Result:=ReadJSPropertyBoolean('onLine'); end; function TJSNavigator._GethardwareConcurrency: QWord; begin Result:=ReadJSPropertyInt64('hardwareConcurrency'); end; function TJSNavigator._Getstorage: IJSStorageManager; begin Result:=ReadJSPropertyObject('storage',TJSStorageManager) as IJSStorageManager; end; function TJSNavigator._Getwebdriver: Boolean; begin Result:=ReadJSPropertyBoolean('webdriver'); end; function TJSNavigator._Getgpu: IJSGPU; begin Result:=ReadJSPropertyObject('gpu',TJSGPU) as IJSGPU; end; function TJSNavigator._GetglobalPrivacyControl: Boolean; begin Result:=ReadJSPropertyBoolean('globalPrivacyControl'); end; function TJSNavigator._Getgeolocation: IJSGeolocation; begin Result:=ReadJSPropertyObject('geolocation',TJSGeolocation) as IJSGeolocation; end; function TJSNavigator._Getlocks: IJSLockManager; begin Result:=ReadJSPropertyObject('locks',TJSLockManager) as IJSLockManager; end; function TJSNavigator.vibrate(aDuration: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('vibrate',[aDuration]); end; function TJSNavigator.vibrate(const aPattern: TCardinalDynArray): Boolean; begin Result:=InvokeJSBooleanResult('vibrate',[aPattern]); end; function TJSNavigator.javaEnabled: Boolean; begin Result:=InvokeJSBooleanResult('javaEnabled',[]); end; function TJSNavigator.getGamepads: TJSGamepadDynArray; begin Result:=InvokeJSObjectResult('getGamepads',[],TJSArray) as TJSGamepadDynArray; end; function TJSNavigator.requestGamepadServiceTest: IJSGamepadServiceTest; begin Result:=InvokeJSObjectResult('requestGamepadServiceTest',[],TJSGamepadServiceTest) as IJSGamepadServiceTest; end; function TJSNavigator.getVRDisplays: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getVRDisplays',[],TJSPromise) as IJSPromise; end; function TJSNavigator.requestVRServiceTest: IJSVRServiceTest; begin Result:=InvokeJSObjectResult('requestVRServiceTest',[],TJSVRServiceTest) as IJSVRServiceTest; end; function TJSNavigator.requestMIDIAccess(const aOptions: IJSMIDIOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestMIDIAccess',[aOptions],TJSPromise) as IJSPromise; end; function TJSNavigator.requestMIDIAccess: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestMIDIAccess',[],TJSPromise) as IJSPromise; end; procedure TJSNavigator.mozGetUserMedia(const aConstraints: IJSMediaStreamConstraints; const aSuccessCallback: TNavigatorUserMediaSuccessCallback; const aErrorCallback: TNavigatorUserMediaErrorCallback); var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallNavigatorUserMediaSuccessCallback); m2:=TJOB_Method.Create(TMethod(aErrorCallback),@JOBCallNavigatorUserMediaErrorCallback); try InvokeJSNoResult('mozGetUserMedia',[aConstraints,m,m2]); finally m.free; m2.free; end; end; function TJSNavigator.sendBeacon(const aUrl: UnicodeString; const aData: TBodyInit): Boolean; begin Result:=InvokeJSBooleanResult('sendBeacon',[aUrl,aData]); end; function TJSNavigator.sendBeacon(const aUrl: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('sendBeacon',[aUrl]); end; function TJSNavigator.requestMediaKeySystemAccess(const aKeySystem: UnicodeString; const aSupportedConfigurations: TJSMediaKeySystemConfigurationDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestMediaKeySystemAccess',[aKeySystem,aSupportedConfigurations],TJSPromise) as IJSPromise; end; function TJSNavigator.share(const aData: IJSShareData): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('share',[aData],TJSPromise) as IJSPromise; end; function TJSNavigator.share: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('share',[],TJSPromise) as IJSPromise; end; function TJSNavigator.canShare(const aData: IJSShareData): Boolean; begin Result:=InvokeJSBooleanResult('canShare',[aData]); end; function TJSNavigator.canShare: Boolean; begin Result:=InvokeJSBooleanResult('canShare',[]); end; function TJSNavigator.getAutoplayPolicy(aType_: TAutoplayPolicyMediaType): TAutoplayPolicy; begin Result:=InvokeJSUnicodeStringResult('getAutoplayPolicy',[aType_]); end; function TJSNavigator.getAutoplayPolicy(aElement: IJSHTMLMediaElement): TAutoplayPolicy; begin Result:=InvokeJSUnicodeStringResult('getAutoplayPolicy',[aElement]); end; function TJSNavigator.getAutoplayPolicy(aContext: IJSAudioContext): TAutoplayPolicy; begin Result:=InvokeJSUnicodeStringResult('getAutoplayPolicy',[aContext]); end; function TJSNavigator.taintEnabled: Boolean; begin Result:=InvokeJSBooleanResult('taintEnabled',[]); end; procedure TJSNavigator.registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('registerProtocolHandler',[aScheme,aUrl]); end; class function TJSNavigator.JSClassName: UnicodeString; begin Result:='Navigator'; end; class function TJSNavigator.Cast(const Intf: IJSObject): IJSNavigator; begin Result:=TJSNavigator.JOBCast(Intf); end; function TJSNavigatorID._GetappCodeName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appCodeName'); end; function TJSNavigatorID._GetappName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appName'); end; function TJSNavigatorID._GetappVersion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appVersion'); end; function TJSNavigatorID._Getplatform: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('platform'); end; function TJSNavigatorID._GetuserAgent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userAgent'); end; function TJSNavigatorID._Getproduct: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('product'); end; function TJSNavigatorID.taintEnabled: Boolean; begin Result:=InvokeJSBooleanResult('taintEnabled',[]); end; class function TJSNavigatorID.JSClassName: UnicodeString; begin Result:='NavigatorID'; end; class function TJSNavigatorID.Cast(const Intf: IJSObject): IJSNavigatorID; begin Result:=TJSNavigatorID.JOBCast(Intf); end; function TJSNavigatorLanguage._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSNavigatorLanguage._Getlanguages: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('languages',TJSArray) as TUnicodeStringDynArray; end; class function TJSNavigatorLanguage.JSClassName: UnicodeString; begin Result:='NavigatorLanguage'; end; class function TJSNavigatorLanguage.Cast(const Intf: IJSObject): IJSNavigatorLanguage; begin Result:=TJSNavigatorLanguage.JOBCast(Intf); end; function TJSNavigatorOnLine._GetonLine: Boolean; begin Result:=ReadJSPropertyBoolean('onLine'); end; class function TJSNavigatorOnLine.JSClassName: UnicodeString; begin Result:='NavigatorOnLine'; end; class function TJSNavigatorOnLine.Cast(const Intf: IJSObject): IJSNavigatorOnLine; begin Result:=TJSNavigatorOnLine.JOBCast(Intf); end; procedure TJSNavigatorContentUtils.registerProtocolHandler(const aScheme: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('registerProtocolHandler',[aScheme,aUrl]); end; class function TJSNavigatorContentUtils.JSClassName: UnicodeString; begin Result:='NavigatorContentUtils'; end; class function TJSNavigatorContentUtils.Cast(const Intf: IJSObject): IJSNavigatorContentUtils; begin Result:=TJSNavigatorContentUtils.JOBCast(Intf); end; function TJSNavigatorStorage._Getstorage: IJSStorageManager; begin Result:=ReadJSPropertyObject('storage',TJSStorageManager) as IJSStorageManager; end; class function TJSNavigatorStorage.JSClassName: UnicodeString; begin Result:='NavigatorStorage'; end; class function TJSNavigatorStorage.Cast(const Intf: IJSObject): IJSNavigatorStorage; begin Result:=TJSNavigatorStorage.JOBCast(Intf); end; class function TJSNavigatorStorageUtils.JSClassName: UnicodeString; begin Result:='NavigatorStorageUtils'; end; class function TJSNavigatorStorageUtils.Cast(const Intf: IJSObject): IJSNavigatorStorageUtils; begin Result:=TJSNavigatorStorageUtils.JOBCast(Intf); end; function TJSGlobalPrivacyControl._GetglobalPrivacyControl: Boolean; begin Result:=ReadJSPropertyBoolean('globalPrivacyControl'); end; class function TJSGlobalPrivacyControl.JSClassName: UnicodeString; begin Result:='GlobalPrivacyControl'; end; class function TJSGlobalPrivacyControl.Cast(const Intf: IJSObject): IJSGlobalPrivacyControl; begin Result:=TJSGlobalPrivacyControl.JOBCast(Intf); end; function TJSNavigatorGeolocation._Getgeolocation: IJSGeolocation; begin Result:=ReadJSPropertyObject('geolocation',TJSGeolocation) as IJSGeolocation; end; class function TJSNavigatorGeolocation.JSClassName: UnicodeString; begin Result:='NavigatorGeolocation'; end; class function TJSNavigatorGeolocation.Cast(const Intf: IJSObject): IJSNavigatorGeolocation; begin Result:=TJSNavigatorGeolocation.JOBCast(Intf); end; function TJSNavigatorConcurrentHardware._GethardwareConcurrency: QWord; begin Result:=ReadJSPropertyInt64('hardwareConcurrency'); end; class function TJSNavigatorConcurrentHardware.JSClassName: UnicodeString; begin Result:='NavigatorConcurrentHardware'; end; class function TJSNavigatorConcurrentHardware.Cast(const Intf: IJSObject): IJSNavigatorConcurrentHardware; begin Result:=TJSNavigatorConcurrentHardware.JOBCast(Intf); end; function TJSNavigatorAutomationInformation._Getwebdriver: Boolean; begin Result:=ReadJSPropertyBoolean('webdriver'); end; class function TJSNavigatorAutomationInformation.JSClassName: UnicodeString; begin Result:='NavigatorAutomationInformation'; end; class function TJSNavigatorAutomationInformation.Cast(const Intf: IJSObject): IJSNavigatorAutomationInformation; begin Result:=TJSNavigatorAutomationInformation.JOBCast(Intf); end; function TJSShareData._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSShareData._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSShareData._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSShareData._Getfiles: TJSFileDynArray; begin Result:=ReadJSPropertyObject('files',TJSArray) as TJSFileDynArray; end; procedure TJSShareData._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; procedure TJSShareData._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; procedure TJSShareData._Seturl(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('url',aValue); end; procedure TJSShareData._Setfiles(const aValue : TJSFileDynArray); begin WriteJSPropertyObject('files',aValue); end; constructor TJSShareData.create(const aDict : TJSShareDataRec); overload; begin Self.title:=aDict.title; Self.text:=aDict.text; Self.url:=aDict.url; Self.files:=aDict.files; end; class function TJSShareData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSShareData.Cast(const Intf: IJSObject): IJSShareData; begin Result:=TJSShareData.JOBCast(Intf); end; function TJSNavigatorLocks._Getlocks: IJSLockManager; begin Result:=ReadJSPropertyObject('locks',TJSLockManager) as IJSLockManager; end; class function TJSNavigatorLocks.JSClassName: UnicodeString; begin Result:='NavigatorLocks'; end; class function TJSNavigatorLocks.Cast(const Intf: IJSObject): IJSNavigatorLocks; begin Result:=TJSNavigatorLocks.JOBCast(Intf); end; function TJSNetErrorInfo._GeterrorCodeString: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('errorCodeString'); end; procedure TJSNetErrorInfo._SeterrorCodeString(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('errorCodeString',aValue); end; constructor TJSNetErrorInfo.create(const aDict : TJSNetErrorInfoRec); overload; begin Self.errorCodeString:=aDict.errorCodeString; end; class function TJSNetErrorInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNetErrorInfo.Cast(const Intf: IJSObject): IJSNetErrorInfo; begin Result:=TJSNetErrorInfo.JOBCast(Intf); end; function TJSNetworkInformation._Gettype_: TConnectionType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSNetworkInformation._Getontypechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontypechange'))); end; procedure TJSNetworkInformation._Setontypechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontypechange',[m],jiSet); finally m.free end; end; class function TJSNetworkInformation.JSClassName: UnicodeString; begin Result:='NetworkInformation'; end; class function TJSNetworkInformation.Cast(const Intf: IJSObject): IJSNetworkInformation; begin Result:=TJSNetworkInformation.JOBCast(Intf); end; function TJSNetworkCommandOptions._Getid: LongInt; begin Result:=ReadJSPropertyLongInt('id'); end; function TJSNetworkCommandOptions._Getcmd: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cmd'); end; function TJSNetworkCommandOptions._Getifname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ifname'); end; function TJSNetworkCommandOptions._Getip: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ip'); end; function TJSNetworkCommandOptions._GetprefixLength: Cardinal; begin Result:=ReadJSPropertyInt64('prefixLength'); end; function TJSNetworkCommandOptions._Getdomain: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('domain'); end; function TJSNetworkCommandOptions._Getdnses: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('dnses',TJSArray) as TUnicodeStringDynArray; end; function TJSNetworkCommandOptions._Getgateway: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('gateway'); end; function TJSNetworkCommandOptions._Getgateways: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('gateways',TJSArray) as TUnicodeStringDynArray; end; function TJSNetworkCommandOptions._Getmode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSNetworkCommandOptions._Getreport: Boolean; begin Result:=ReadJSPropertyBoolean('report'); end; function TJSNetworkCommandOptions._Getenabled: Boolean; begin Result:=ReadJSPropertyBoolean('enabled'); end; function TJSNetworkCommandOptions._Getwifictrlinterfacename: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('wifictrlinterfacename'); end; function TJSNetworkCommandOptions._GetinternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('internalIfname'); end; function TJSNetworkCommandOptions._GetexternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('externalIfname'); end; function TJSNetworkCommandOptions._Getenable: Boolean; begin Result:=ReadJSPropertyBoolean('enable'); end; function TJSNetworkCommandOptions._Getssid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ssid'); end; function TJSNetworkCommandOptions._Getsecurity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('security'); end; function TJSNetworkCommandOptions._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSNetworkCommandOptions._Getprefix: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('prefix'); end; function TJSNetworkCommandOptions._Getlink: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('link'); end; function TJSNetworkCommandOptions._GetinterfaceList: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('interfaceList',TJSArray) as TUnicodeStringDynArray; end; function TJSNetworkCommandOptions._GetwifiStartIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('wifiStartIp'); end; function TJSNetworkCommandOptions._GetwifiEndIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('wifiEndIp'); end; function TJSNetworkCommandOptions._GetusbStartIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('usbStartIp'); end; function TJSNetworkCommandOptions._GetusbEndIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('usbEndIp'); end; function TJSNetworkCommandOptions._Getdns1: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dns1'); end; function TJSNetworkCommandOptions._Getdns2: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dns2'); end; function TJSNetworkCommandOptions._Getthreshold: Int64; begin Result:=ReadJSPropertyInt64('threshold'); end; function TJSNetworkCommandOptions._GetstartIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('startIp'); end; function TJSNetworkCommandOptions._GetendIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('endIp'); end; function TJSNetworkCommandOptions._GetserverIp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('serverIp'); end; function TJSNetworkCommandOptions._GetmaskLength: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('maskLength'); end; function TJSNetworkCommandOptions._GetpreInternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('preInternalIfname'); end; function TJSNetworkCommandOptions._GetpreExternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('preExternalIfname'); end; function TJSNetworkCommandOptions._GetcurInternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('curInternalIfname'); end; function TJSNetworkCommandOptions._GetcurExternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('curExternalIfname'); end; function TJSNetworkCommandOptions._Getipaddr: LongInt; begin Result:=ReadJSPropertyLongInt('ipaddr'); end; function TJSNetworkCommandOptions._Getmask: LongInt; begin Result:=ReadJSPropertyLongInt('mask'); end; function TJSNetworkCommandOptions._Getgateway_long: LongInt; begin Result:=ReadJSPropertyLongInt('gateway_long'); end; function TJSNetworkCommandOptions._Getdns1_long: LongInt; begin Result:=ReadJSPropertyLongInt('dns1_long'); end; function TJSNetworkCommandOptions._Getdns2_long: LongInt; begin Result:=ReadJSPropertyLongInt('dns2_long'); end; function TJSNetworkCommandOptions._Getmtu: LongInt; begin Result:=ReadJSPropertyLongInt('mtu'); end; procedure TJSNetworkCommandOptions._Setid(const aValue : LongInt); begin WriteJSPropertyLongInt('id',aValue); end; procedure TJSNetworkCommandOptions._Setcmd(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cmd',aValue); end; procedure TJSNetworkCommandOptions._Setifname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ifname',aValue); end; procedure TJSNetworkCommandOptions._Setip(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ip',aValue); end; procedure TJSNetworkCommandOptions._SetprefixLength(const aValue : Cardinal); begin WriteJSPropertyDouble('prefixLength',aValue); end; procedure TJSNetworkCommandOptions._Setdomain(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('domain',aValue); end; procedure TJSNetworkCommandOptions._Setdnses(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('dnses',aValue); end; procedure TJSNetworkCommandOptions._Setgateway(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('gateway',aValue); end; procedure TJSNetworkCommandOptions._Setgateways(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('gateways',aValue); end; procedure TJSNetworkCommandOptions._Setmode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSNetworkCommandOptions._Setreport(const aValue : Boolean); begin WriteJSPropertyBoolean('report',aValue); end; procedure TJSNetworkCommandOptions._Setenabled(const aValue : Boolean); begin WriteJSPropertyBoolean('enabled',aValue); end; procedure TJSNetworkCommandOptions._Setwifictrlinterfacename(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('wifictrlinterfacename',aValue); end; procedure TJSNetworkCommandOptions._SetinternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('internalIfname',aValue); end; procedure TJSNetworkCommandOptions._SetexternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('externalIfname',aValue); end; procedure TJSNetworkCommandOptions._Setenable(const aValue : Boolean); begin WriteJSPropertyBoolean('enable',aValue); end; procedure TJSNetworkCommandOptions._Setssid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ssid',aValue); end; procedure TJSNetworkCommandOptions._Setsecurity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('security',aValue); end; procedure TJSNetworkCommandOptions._Setkey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('key',aValue); end; procedure TJSNetworkCommandOptions._Setprefix(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('prefix',aValue); end; procedure TJSNetworkCommandOptions._Setlink(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('link',aValue); end; procedure TJSNetworkCommandOptions._SetinterfaceList(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('interfaceList',aValue); end; procedure TJSNetworkCommandOptions._SetwifiStartIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('wifiStartIp',aValue); end; procedure TJSNetworkCommandOptions._SetwifiEndIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('wifiEndIp',aValue); end; procedure TJSNetworkCommandOptions._SetusbStartIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('usbStartIp',aValue); end; procedure TJSNetworkCommandOptions._SetusbEndIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('usbEndIp',aValue); end; procedure TJSNetworkCommandOptions._Setdns1(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dns1',aValue); end; procedure TJSNetworkCommandOptions._Setdns2(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dns2',aValue); end; procedure TJSNetworkCommandOptions._Setthreshold(const aValue : Int64); begin WriteJSPropertyDouble('threshold',aValue); end; procedure TJSNetworkCommandOptions._SetstartIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('startIp',aValue); end; procedure TJSNetworkCommandOptions._SetendIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('endIp',aValue); end; procedure TJSNetworkCommandOptions._SetserverIp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('serverIp',aValue); end; procedure TJSNetworkCommandOptions._SetmaskLength(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('maskLength',aValue); end; procedure TJSNetworkCommandOptions._SetpreInternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('preInternalIfname',aValue); end; procedure TJSNetworkCommandOptions._SetpreExternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('preExternalIfname',aValue); end; procedure TJSNetworkCommandOptions._SetcurInternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('curInternalIfname',aValue); end; procedure TJSNetworkCommandOptions._SetcurExternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('curExternalIfname',aValue); end; procedure TJSNetworkCommandOptions._Setipaddr(const aValue : LongInt); begin WriteJSPropertyLongInt('ipaddr',aValue); end; procedure TJSNetworkCommandOptions._Setmask(const aValue : LongInt); begin WriteJSPropertyLongInt('mask',aValue); end; procedure TJSNetworkCommandOptions._Setgateway_long(const aValue : LongInt); begin WriteJSPropertyLongInt('gateway_long',aValue); end; procedure TJSNetworkCommandOptions._Setdns1_long(const aValue : LongInt); begin WriteJSPropertyLongInt('dns1_long',aValue); end; procedure TJSNetworkCommandOptions._Setdns2_long(const aValue : LongInt); begin WriteJSPropertyLongInt('dns2_long',aValue); end; procedure TJSNetworkCommandOptions._Setmtu(const aValue : LongInt); begin WriteJSPropertyLongInt('mtu',aValue); end; constructor TJSNetworkCommandOptions.create(const aDict : TJSNetworkCommandOptionsRec); overload; begin Self.id:=aDict.id; Self.cmd:=aDict.cmd; Self.ifname:=aDict.ifname; Self.ip:=aDict.ip; Self.prefixLength:=aDict.prefixLength; Self.domain:=aDict.domain; Self.dnses:=aDict.dnses; Self.gateway:=aDict.gateway; Self.gateways:=aDict.gateways; Self.mode:=aDict.mode; Self.report:=aDict.report; Self.enabled:=aDict.enabled; Self.wifictrlinterfacename:=aDict.wifictrlinterfacename; Self.internalIfname:=aDict.internalIfname; Self.externalIfname:=aDict.externalIfname; Self.enable:=aDict.enable; Self.ssid:=aDict.ssid; Self.security:=aDict.security; Self.key:=aDict.key; Self.prefix:=aDict.prefix; Self.link:=aDict.link; Self.interfaceList:=aDict.interfaceList; Self.wifiStartIp:=aDict.wifiStartIp; Self.wifiEndIp:=aDict.wifiEndIp; Self.usbStartIp:=aDict.usbStartIp; Self.usbEndIp:=aDict.usbEndIp; Self.dns1:=aDict.dns1; Self.dns2:=aDict.dns2; Self.threshold:=aDict.threshold; Self.startIp:=aDict.startIp; Self.endIp:=aDict.endIp; Self.serverIp:=aDict.serverIp; Self.maskLength:=aDict.maskLength; Self.preInternalIfname:=aDict.preInternalIfname; Self.preExternalIfname:=aDict.preExternalIfname; Self.curInternalIfname:=aDict.curInternalIfname; Self.curExternalIfname:=aDict.curExternalIfname; Self.ipaddr:=aDict.ipaddr; Self.mask:=aDict.mask; Self.gateway_long:=aDict.gateway_long; Self.dns1_long:=aDict.dns1_long; Self.dns2_long:=aDict.dns2_long; Self.mtu:=aDict.mtu; end; class function TJSNetworkCommandOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNetworkCommandOptions.Cast(const Intf: IJSObject): IJSNetworkCommandOptions; begin Result:=TJSNetworkCommandOptions.JOBCast(Intf); end; function TJSNetworkResultOptions._Getid: LongInt; begin Result:=ReadJSPropertyLongInt('id'); end; function TJSNetworkResultOptions._Getret: Boolean; begin Result:=ReadJSPropertyBoolean('ret'); end; function TJSNetworkResultOptions._Getbroadcast: Boolean; begin Result:=ReadJSPropertyBoolean('broadcast'); end; function TJSNetworkResultOptions._Gettopic: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('topic'); end; function TJSNetworkResultOptions._Getreason: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('reason'); end; function TJSNetworkResultOptions._GetresultCode: LongInt; begin Result:=ReadJSPropertyLongInt('resultCode'); end; function TJSNetworkResultOptions._GetresultReason: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('resultReason'); end; function TJSNetworkResultOptions._Geterror: Boolean; begin Result:=ReadJSPropertyBoolean('error'); end; function TJSNetworkResultOptions._Getenable: Boolean; begin Result:=ReadJSPropertyBoolean('enable'); end; function TJSNetworkResultOptions._Getresult: Boolean; begin Result:=ReadJSPropertyBoolean('result'); end; function TJSNetworkResultOptions._Getsuccess: Boolean; begin Result:=ReadJSPropertyBoolean('success'); end; function TJSNetworkResultOptions._GetcurExternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('curExternalIfname'); end; function TJSNetworkResultOptions._GetcurInternalIfname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('curInternalIfname'); end; function TJSNetworkResultOptions._Getreply: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('reply'); end; function TJSNetworkResultOptions._Getroute: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('route'); end; function TJSNetworkResultOptions._Getipaddr_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ipaddr_str'); end; function TJSNetworkResultOptions._Getgateway_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('gateway_str'); end; function TJSNetworkResultOptions._Getdns1_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dns1_str'); end; function TJSNetworkResultOptions._Getdns2_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dns2_str'); end; function TJSNetworkResultOptions._Getmask_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mask_str'); end; function TJSNetworkResultOptions._Getserver_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('server_str'); end; function TJSNetworkResultOptions._Getvendor_str: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vendor_str'); end; function TJSNetworkResultOptions._Getlease: LongInt; begin Result:=ReadJSPropertyLongInt('lease'); end; function TJSNetworkResultOptions._GetprefixLength: LongInt; begin Result:=ReadJSPropertyLongInt('prefixLength'); end; function TJSNetworkResultOptions._Getmask: LongInt; begin Result:=ReadJSPropertyLongInt('mask'); end; function TJSNetworkResultOptions._Getgateway: LongInt; begin Result:=ReadJSPropertyLongInt('gateway'); end; function TJSNetworkResultOptions._Getdns1: LongInt; begin Result:=ReadJSPropertyLongInt('dns1'); end; function TJSNetworkResultOptions._Getdns2: LongInt; begin Result:=ReadJSPropertyLongInt('dns2'); end; function TJSNetworkResultOptions._Getserver: LongInt; begin Result:=ReadJSPropertyLongInt('server'); end; function TJSNetworkResultOptions._GetnetId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('netId'); end; function TJSNetworkResultOptions._GetinterfaceList: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('interfaceList',TJSArray) as TUnicodeStringDynArray; end; function TJSNetworkResultOptions._Getflag: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('flag'); end; function TJSNetworkResultOptions._GetmacAddr: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('macAddr'); end; function TJSNetworkResultOptions._GetipAddr: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ipAddr'); end; procedure TJSNetworkResultOptions._Setid(const aValue : LongInt); begin WriteJSPropertyLongInt('id',aValue); end; procedure TJSNetworkResultOptions._Setret(const aValue : Boolean); begin WriteJSPropertyBoolean('ret',aValue); end; procedure TJSNetworkResultOptions._Setbroadcast(const aValue : Boolean); begin WriteJSPropertyBoolean('broadcast',aValue); end; procedure TJSNetworkResultOptions._Settopic(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('topic',aValue); end; procedure TJSNetworkResultOptions._Setreason(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('reason',aValue); end; procedure TJSNetworkResultOptions._SetresultCode(const aValue : LongInt); begin WriteJSPropertyLongInt('resultCode',aValue); end; procedure TJSNetworkResultOptions._SetresultReason(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('resultReason',aValue); end; procedure TJSNetworkResultOptions._Seterror(const aValue : Boolean); begin WriteJSPropertyBoolean('error',aValue); end; procedure TJSNetworkResultOptions._Setenable(const aValue : Boolean); begin WriteJSPropertyBoolean('enable',aValue); end; procedure TJSNetworkResultOptions._Setresult(const aValue : Boolean); begin WriteJSPropertyBoolean('result',aValue); end; procedure TJSNetworkResultOptions._Setsuccess(const aValue : Boolean); begin WriteJSPropertyBoolean('success',aValue); end; procedure TJSNetworkResultOptions._SetcurExternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('curExternalIfname',aValue); end; procedure TJSNetworkResultOptions._SetcurInternalIfname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('curInternalIfname',aValue); end; procedure TJSNetworkResultOptions._Setreply(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('reply',aValue); end; procedure TJSNetworkResultOptions._Setroute(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('route',aValue); end; procedure TJSNetworkResultOptions._Setipaddr_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ipaddr_str',aValue); end; procedure TJSNetworkResultOptions._Setgateway_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('gateway_str',aValue); end; procedure TJSNetworkResultOptions._Setdns1_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dns1_str',aValue); end; procedure TJSNetworkResultOptions._Setdns2_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dns2_str',aValue); end; procedure TJSNetworkResultOptions._Setmask_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mask_str',aValue); end; procedure TJSNetworkResultOptions._Setserver_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('server_str',aValue); end; procedure TJSNetworkResultOptions._Setvendor_str(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('vendor_str',aValue); end; procedure TJSNetworkResultOptions._Setlease(const aValue : LongInt); begin WriteJSPropertyLongInt('lease',aValue); end; procedure TJSNetworkResultOptions._SetprefixLength(const aValue : LongInt); begin WriteJSPropertyLongInt('prefixLength',aValue); end; procedure TJSNetworkResultOptions._Setmask(const aValue : LongInt); begin WriteJSPropertyLongInt('mask',aValue); end; procedure TJSNetworkResultOptions._Setgateway(const aValue : LongInt); begin WriteJSPropertyLongInt('gateway',aValue); end; procedure TJSNetworkResultOptions._Setdns1(const aValue : LongInt); begin WriteJSPropertyLongInt('dns1',aValue); end; procedure TJSNetworkResultOptions._Setdns2(const aValue : LongInt); begin WriteJSPropertyLongInt('dns2',aValue); end; procedure TJSNetworkResultOptions._Setserver(const aValue : LongInt); begin WriteJSPropertyLongInt('server',aValue); end; procedure TJSNetworkResultOptions._SetnetId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('netId',aValue); end; procedure TJSNetworkResultOptions._SetinterfaceList(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('interfaceList',aValue); end; procedure TJSNetworkResultOptions._Setflag(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('flag',aValue); end; procedure TJSNetworkResultOptions._SetmacAddr(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('macAddr',aValue); end; procedure TJSNetworkResultOptions._SetipAddr(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ipAddr',aValue); end; constructor TJSNetworkResultOptions.create(const aDict : TJSNetworkResultOptionsRec); overload; begin Self.id:=aDict.id; Self.ret:=aDict.ret; Self.broadcast:=aDict.broadcast; Self.topic:=aDict.topic; Self.reason:=aDict.reason; Self.resultCode:=aDict.resultCode; Self.resultReason:=aDict.resultReason; Self.error:=aDict.error; Self.enable:=aDict.enable; Self.result:=aDict.result; Self.success:=aDict.success; Self.curExternalIfname:=aDict.curExternalIfname; Self.curInternalIfname:=aDict.curInternalIfname; Self.reply:=aDict.reply; Self.route:=aDict.route; Self.ipaddr_str:=aDict.ipaddr_str; Self.gateway_str:=aDict.gateway_str; Self.dns1_str:=aDict.dns1_str; Self.dns2_str:=aDict.dns2_str; Self.mask_str:=aDict.mask_str; Self.server_str:=aDict.server_str; Self.vendor_str:=aDict.vendor_str; Self.lease:=aDict.lease; Self.prefixLength:=aDict.prefixLength; Self.mask:=aDict.mask; Self.gateway:=aDict.gateway; Self.dns1:=aDict.dns1; Self.dns2:=aDict.dns2; Self.server:=aDict.server; Self.netId:=aDict.netId; Self.interfaceList:=aDict.interfaceList; Self.flag:=aDict.flag; Self.macAddr:=aDict.macAddr; Self.ipAddr:=aDict.ipAddr; end; class function TJSNetworkResultOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNetworkResultOptions.Cast(const Intf: IJSObject): IJSNetworkResultOptions; begin Result:=TJSNetworkResultOptions.JOBCast(Intf); end; function TJSNode._GetnodeType: Word; begin Result:=ReadJSPropertyLongInt('nodeType'); end; function TJSNode._GetnodeName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('nodeName'); end; function TJSNode._GetbaseURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('baseURI'); end; function TJSNode._GetisConnected: Boolean; begin Result:=ReadJSPropertyBoolean('isConnected'); end; function TJSNode._GetownerDocument: IJSDocument; begin Result:=ReadJSPropertyObject('ownerDocument',TJSDocument) as IJSDocument; end; function TJSNode._GetparentNode: IJSNode; begin Result:=ReadJSPropertyObject('parentNode',TJSNode) as IJSNode; end; function TJSNode._GetparentElement: IJSElement; begin Result:=ReadJSPropertyObject('parentElement',TJSElement) as IJSElement; end; function TJSNode._GetchildNodes: IJSNodeList; begin Result:=ReadJSPropertyObject('childNodes',TJSNodeList) as IJSNodeList; end; function TJSNode._GetfirstChild: IJSNode; begin Result:=ReadJSPropertyObject('firstChild',TJSNode) as IJSNode; end; function TJSNode._GetlastChild: IJSNode; begin Result:=ReadJSPropertyObject('lastChild',TJSNode) as IJSNode; end; function TJSNode._GetpreviousSibling: IJSNode; begin Result:=ReadJSPropertyObject('previousSibling',TJSNode) as IJSNode; end; function TJSNode._GetnextSibling: IJSNode; begin Result:=ReadJSPropertyObject('nextSibling',TJSNode) as IJSNode; end; function TJSNode._GetnodeValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('nodeValue'); end; function TJSNode._GettextContent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('textContent'); end; function TJSNode._GetcontainingShadowRoot: IJSShadowRoot; begin Result:=ReadJSPropertyObject('containingShadowRoot',TJSShadowRoot) as IJSShadowRoot; end; procedure TJSNode._SetnodeValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('nodeValue',aValue); end; procedure TJSNode._SettextContent(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('textContent',aValue); end; function TJSNode.getRootNode(const aOptions: IJSGetRootNodeOptions): IJSNode; begin Result:=InvokeJSObjectResult('getRootNode',[aOptions],TJSNode) as IJSNode; end; function TJSNode.getRootNode: IJSNode; begin Result:=InvokeJSObjectResult('getRootNode',[],TJSNode) as IJSNode; end; function TJSNode.hasChildNodes: Boolean; begin Result:=InvokeJSBooleanResult('hasChildNodes',[]); end; function TJSNode.insertBefore(aNode: IJSNode; aChild: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('insertBefore',[aNode,aChild],TJSNode) as IJSNode; end; function TJSNode.appendChild(aNode: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('appendChild',[aNode],TJSNode) as IJSNode; end; function TJSNode.replaceChild(aNode: IJSNode; aChild: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('replaceChild',[aNode,aChild],TJSNode) as IJSNode; end; function TJSNode.removeChild(aChild: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('removeChild',[aChild],TJSNode) as IJSNode; end; procedure TJSNode.normalize; begin InvokeJSNoResult('normalize',[]); end; function TJSNode.cloneNode(aDeep: Boolean): IJSNode; begin Result:=InvokeJSObjectResult('cloneNode',[aDeep],TJSNode) as IJSNode; end; function TJSNode.cloneNode: IJSNode; begin Result:=InvokeJSObjectResult('cloneNode',[],TJSNode) as IJSNode; end; function TJSNode.isSameNode(aNode: IJSNode): Boolean; begin Result:=InvokeJSBooleanResult('isSameNode',[aNode]); end; function TJSNode.isEqualNode(aNode: IJSNode): Boolean; begin Result:=InvokeJSBooleanResult('isEqualNode',[aNode]); end; function TJSNode.compareDocumentPosition(aOther: IJSNode): Word; begin Result:=InvokeJSLongIntResult('compareDocumentPosition',[aOther]); end; function TJSNode.contains(aOther: IJSNode): Boolean; begin Result:=InvokeJSBooleanResult('contains',[aOther]); end; function TJSNode.lookupPrefix(const aNamespace: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('lookupPrefix',[aNamespace]); end; function TJSNode.lookupNamespaceURI(const aPrefix: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('lookupNamespaceURI',[aPrefix]); end; function TJSNode.isDefaultNamespace(const aNamespace: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('isDefaultNamespace',[aNamespace]); end; class function TJSNode.JSClassName: UnicodeString; begin Result:='Node'; end; class function TJSNode.Cast(const Intf: IJSObject): IJSNode; begin Result:=TJSNode.JOBCast(Intf); end; function TJSGetRootNodeOptions._Getcomposed: Boolean; begin Result:=ReadJSPropertyBoolean('composed'); end; procedure TJSGetRootNodeOptions._Setcomposed(const aValue : Boolean); begin WriteJSPropertyBoolean('composed',aValue); end; constructor TJSGetRootNodeOptions.create(const aDict : TJSGetRootNodeOptionsRec); overload; begin Self.composed:=aDict.composed; end; class function TJSGetRootNodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGetRootNodeOptions.Cast(const Intf: IJSObject): IJSGetRootNodeOptions; begin Result:=TJSGetRootNodeOptions.JOBCast(Intf); end; function TJSNodeIterator._Getroot: IJSNode; begin Result:=ReadJSPropertyObject('root',TJSNode) as IJSNode; end; function TJSNodeIterator._GetreferenceNode: IJSNode; begin Result:=ReadJSPropertyObject('referenceNode',TJSNode) as IJSNode; end; function TJSNodeIterator._GetpointerBeforeReferenceNode: Boolean; begin Result:=ReadJSPropertyBoolean('pointerBeforeReferenceNode'); end; function TJSNodeIterator._GetwhatToShow: Cardinal; begin Result:=ReadJSPropertyInt64('whatToShow'); end; function TJSNodeIterator._Getfilter: TNodeFilter; begin Result:=(TNodeFilter(ReadJSPropertyMethod('filter'))); end; function TJSNodeIterator.nextNode: IJSNode; begin Result:=InvokeJSObjectResult('nextNode',[],TJSNode) as IJSNode; end; function TJSNodeIterator.previousNode: IJSNode; begin Result:=InvokeJSObjectResult('previousNode',[],TJSNode) as IJSNode; end; procedure TJSNodeIterator.detach; begin InvokeJSNoResult('detach',[]); end; class function TJSNodeIterator.JSClassName: UnicodeString; begin Result:='NodeIterator'; end; class function TJSNodeIterator.Cast(const Intf: IJSObject): IJSNodeIterator; begin Result:=TJSNodeIterator.JOBCast(Intf); end; function TJSNodeList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSNodeList.item(aIndex: Cardinal): IJSNode; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSNode) as IJSNode; end; class function TJSNodeList.JSClassName: UnicodeString; begin Result:='NodeList'; end; class function TJSNodeList.Cast(const Intf: IJSObject): IJSNodeList; begin Result:=TJSNodeList.JOBCast(Intf); end; function TJSNonElementParentNode.getElementById(const aElementId: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('getElementById',[aElementId],TJSElement) as IJSElement; end; class function TJSNonElementParentNode.JSClassName: UnicodeString; begin Result:='NonElementParentNode'; end; class function TJSNonElementParentNode.Cast(const Intf: IJSObject): IJSNonElementParentNode; begin Result:=TJSNonElementParentNode.JOBCast(Intf); end; function TJSNotification._Getpermission: TNotificationPermission; begin Result:=ReadJSPropertyUnicodeString('permission'); end; function TJSNotification._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSNotification._Getonshow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onshow'))); end; function TJSNotification._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSNotification._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSNotification._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSNotification._Getdir: TNotificationDirection; begin Result:=ReadJSPropertyUnicodeString('dir'); end; function TJSNotification._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSNotification._Getbody: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('body'); end; function TJSNotification._Gettag: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tag'); end; function TJSNotification._Geticon: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('icon'); end; function TJSNotification._GetrequireInteraction: Boolean; begin Result:=ReadJSPropertyBoolean('requireInteraction'); end; function TJSNotification._Getsilent: Boolean; begin Result:=ReadJSPropertyBoolean('silent'); end; function TJSNotification._Getvibrate: TCardinalDynArray; begin Result:=ReadJSPropertyObject('vibrate',TJSArray) as TCardinalDynArray; end; function TJSNotification._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSNotification._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSNotification._Setonshow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onshow',[m],jiSet); finally m.free end; end; procedure TJSNotification._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSNotification._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; constructor TJSNotification.Create(const aTitle: UnicodeString; const aOptions: IJSNotificationOptions); begin JOBCreate([aTitle,aOptions]); end; constructor TJSNotification.Create(const aTitle: UnicodeString); begin JOBCreate([aTitle]); end; function TJSNotification.requestPermission(const aPermissionCallback: TNotificationPermissionCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aPermissionCallback),@JOBCallNotificationPermissionCallback); try Result:=InvokeJSObjectResult('requestPermission',[m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSNotification.requestPermission: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestPermission',[],TJSPromise) as IJSPromise; end; procedure TJSNotification.close; begin InvokeJSNoResult('close',[]); end; class function TJSNotification.JSClassName: UnicodeString; begin Result:='Notification'; end; class function TJSNotification.Cast(const Intf: IJSObject): IJSNotification; begin Result:=TJSNotification.JOBCast(Intf); end; function TJSNotificationOptions._Getdir: TNotificationDirection; begin Result:=ReadJSPropertyUnicodeString('dir'); end; function TJSNotificationOptions._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSNotificationOptions._Getbody: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('body'); end; function TJSNotificationOptions._Gettag: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tag'); end; function TJSNotificationOptions._Geticon: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('icon'); end; function TJSNotificationOptions._GetrequireInteraction: Boolean; begin Result:=ReadJSPropertyBoolean('requireInteraction'); end; function TJSNotificationOptions._Getsilent: Boolean; begin Result:=ReadJSPropertyBoolean('silent'); end; function TJSNotificationOptions._Getvibrate: TVibratePattern; begin Result:=ReadJSPropertyVariant('vibrate'); end; function TJSNotificationOptions._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; function TJSNotificationOptions._Getmozbehavior: IJSNotificationBehavior; begin Result:=ReadJSPropertyObject('mozbehavior',TJSNotificationBehavior) as IJSNotificationBehavior; end; procedure TJSNotificationOptions._Setdir(const aValue : TNotificationDirection); begin WriteJSPropertyUnicodeString('dir',aValue); end; procedure TJSNotificationOptions._Setlang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lang',aValue); end; procedure TJSNotificationOptions._Setbody(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('body',aValue); end; procedure TJSNotificationOptions._Settag(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('tag',aValue); end; procedure TJSNotificationOptions._Seticon(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('icon',aValue); end; procedure TJSNotificationOptions._SetrequireInteraction(const aValue : Boolean); begin WriteJSPropertyBoolean('requireInteraction',aValue); end; procedure TJSNotificationOptions._Setsilent(const aValue : Boolean); begin WriteJSPropertyBoolean('silent',aValue); end; procedure TJSNotificationOptions._Setvibrate(const aValue : TVibratePattern); begin WriteJSPropertyVariant('vibrate',aValue); end; procedure TJSNotificationOptions._Setdata(const aValue : Variant); begin WriteJSPropertyVariant('data',aValue); end; procedure TJSNotificationOptions._Setmozbehavior(const aValue : IJSNotificationBehavior); begin WriteJSPropertyObject('mozbehavior',aValue); end; constructor TJSNotificationOptions.create(const aDict : TJSNotificationOptionsRec); overload; begin Self.dir:=aDict.dir; Self.lang:=aDict.lang; Self.body:=aDict.body; Self.tag:=aDict.tag; Self.icon:=aDict.icon; Self.requireInteraction:=aDict.requireInteraction; Self.silent:=aDict.silent; Self.vibrate:=aDict.vibrate; Self.data:=aDict.data; Self.mozbehavior:=aDict.mozbehavior; end; class function TJSNotificationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNotificationOptions.Cast(const Intf: IJSObject): IJSNotificationOptions; begin Result:=TJSNotificationOptions.JOBCast(Intf); end; function TJSGetNotificationOptions._Gettag: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tag'); end; procedure TJSGetNotificationOptions._Settag(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('tag',aValue); end; constructor TJSGetNotificationOptions.create(const aDict : TJSGetNotificationOptionsRec); overload; begin Self.tag:=aDict.tag; end; class function TJSGetNotificationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGetNotificationOptions.Cast(const Intf: IJSObject): IJSGetNotificationOptions; begin Result:=TJSGetNotificationOptions.JOBCast(Intf); end; function TJSNotificationBehavior._Getnoscreen: Boolean; begin Result:=ReadJSPropertyBoolean('noscreen'); end; function TJSNotificationBehavior._Getnoclear: Boolean; begin Result:=ReadJSPropertyBoolean('noclear'); end; function TJSNotificationBehavior._GetshowOnlyOnce: Boolean; begin Result:=ReadJSPropertyBoolean('showOnlyOnce'); end; function TJSNotificationBehavior._GetsoundFile: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('soundFile'); end; function TJSNotificationBehavior._GetvibrationPattern: TCardinalDynArray; begin Result:=ReadJSPropertyObject('vibrationPattern',TJSArray) as TCardinalDynArray; end; procedure TJSNotificationBehavior._Setnoscreen(const aValue : Boolean); begin WriteJSPropertyBoolean('noscreen',aValue); end; procedure TJSNotificationBehavior._Setnoclear(const aValue : Boolean); begin WriteJSPropertyBoolean('noclear',aValue); end; procedure TJSNotificationBehavior._SetshowOnlyOnce(const aValue : Boolean); begin WriteJSPropertyBoolean('showOnlyOnce',aValue); end; procedure TJSNotificationBehavior._SetsoundFile(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('soundFile',aValue); end; procedure TJSNotificationBehavior._SetvibrationPattern(const aValue : TCardinalDynArray); begin WriteJSPropertyObject('vibrationPattern',aValue); end; constructor TJSNotificationBehavior.create(const aDict : TJSNotificationBehaviorRec); overload; begin Self.noscreen:=aDict.noscreen; Self.noclear:=aDict.noclear; Self.showOnlyOnce:=aDict.showOnlyOnce; Self.soundFile:=aDict.soundFile; Self.vibrationPattern:=aDict.vibrationPattern; end; class function TJSNotificationBehavior.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNotificationBehavior.Cast(const Intf: IJSObject): IJSNotificationBehavior; begin Result:=TJSNotificationBehavior.JOBCast(Intf); end; function TJSNotificationEvent._Getnotification: IJSNotification; begin Result:=ReadJSPropertyObject('notification',TJSNotification) as IJSNotification; end; constructor TJSNotificationEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSNotificationEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSNotificationEvent.JSClassName: UnicodeString; begin Result:='NotificationEvent'; end; class function TJSNotificationEvent.Cast(const Intf: IJSObject): IJSNotificationEvent; begin Result:=TJSNotificationEvent.JOBCast(Intf); end; function TJSNotificationEventInit._Getnotification: IJSNotification; begin Result:=ReadJSPropertyObject('notification',TJSNotification) as IJSNotification; end; procedure TJSNotificationEventInit._Setnotification(const aValue : IJSNotification); begin WriteJSPropertyObject('notification',aValue); end; constructor TJSNotificationEventInit.create(const aDict : TJSNotificationEventInitRec); overload; begin Self.notification:=aDict.notification; end; class function TJSNotificationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSNotificationEventInit.Cast(const Intf: IJSObject): IJSNotificationEventInit; begin Result:=TJSNotificationEventInit.JOBCast(Intf); end; function TJSOfflineAudioCompletionEventInit._GetrenderedBuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('renderedBuffer',TJSAudioBuffer) as IJSAudioBuffer; end; procedure TJSOfflineAudioCompletionEventInit._SetrenderedBuffer(const aValue : IJSAudioBuffer); begin WriteJSPropertyObject('renderedBuffer',aValue); end; constructor TJSOfflineAudioCompletionEventInit.create(const aDict : TJSOfflineAudioCompletionEventInitRec); overload; begin Self.renderedBuffer:=aDict.renderedBuffer; end; class function TJSOfflineAudioCompletionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOfflineAudioCompletionEventInit.Cast(const Intf: IJSObject): IJSOfflineAudioCompletionEventInit; begin Result:=TJSOfflineAudioCompletionEventInit.JOBCast(Intf); end; function TJSOfflineAudioCompletionEvent._GetrenderedBuffer: IJSAudioBuffer; begin Result:=ReadJSPropertyObject('renderedBuffer',TJSAudioBuffer) as IJSAudioBuffer; end; constructor TJSOfflineAudioCompletionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSOfflineAudioCompletionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSOfflineAudioCompletionEvent.JSClassName: UnicodeString; begin Result:='OfflineAudioCompletionEvent'; end; class function TJSOfflineAudioCompletionEvent.Cast(const Intf: IJSObject): IJSOfflineAudioCompletionEvent; begin Result:=TJSOfflineAudioCompletionEvent.JOBCast(Intf); end; function TJSOfflineAudioContextOptions._GetnumberOfChannels: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfChannels'); end; function TJSOfflineAudioContextOptions._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSOfflineAudioContextOptions._GetsampleRate: Single; begin Result:=ReadJSPropertyDouble('sampleRate'); end; procedure TJSOfflineAudioContextOptions._SetnumberOfChannels(const aValue : Cardinal); begin WriteJSPropertyDouble('numberOfChannels',aValue); end; procedure TJSOfflineAudioContextOptions._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; procedure TJSOfflineAudioContextOptions._SetsampleRate(const aValue : Single); begin WriteJSPropertyDouble('sampleRate',aValue); end; constructor TJSOfflineAudioContextOptions.create(const aDict : TJSOfflineAudioContextOptionsRec); overload; begin Self.numberOfChannels:=aDict.numberOfChannels; Self.length_:=aDict.length_; Self.sampleRate:=aDict.sampleRate; end; class function TJSOfflineAudioContextOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOfflineAudioContextOptions.Cast(const Intf: IJSObject): IJSOfflineAudioContextOptions; begin Result:=TJSOfflineAudioContextOptions.JOBCast(Intf); end; function TJSOfflineAudioContext._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSOfflineAudioContext._Getoncomplete: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncomplete'))); end; procedure TJSOfflineAudioContext._Setoncomplete(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncomplete',[m],jiSet); finally m.free end; end; constructor TJSOfflineAudioContext.Create(const aContextOptions: IJSOfflineAudioContextOptions); begin JOBCreate([aContextOptions]); end; constructor TJSOfflineAudioContext.Create(aNumberOfChannels: Cardinal; aLength_: Cardinal; aSampleRate: Single); begin JOBCreate([aNumberOfChannels,aLength_,aSampleRate]); end; function TJSOfflineAudioContext.startRendering: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('startRendering',[],TJSPromise) as IJSPromise; end; class function TJSOfflineAudioContext.JSClassName: UnicodeString; begin Result:='OfflineAudioContext'; end; class function TJSOfflineAudioContext.Cast(const Intf: IJSObject): IJSOfflineAudioContext; begin Result:=TJSOfflineAudioContext.JOBCast(Intf); end; function TJSImageEncodeOptions._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSImageEncodeOptions._Getquality: Double; begin Result:=ReadJSPropertyDouble('quality'); end; procedure TJSImageEncodeOptions._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSImageEncodeOptions._Setquality(const aValue : Double); begin WriteJSPropertyDouble('quality',aValue); end; constructor TJSImageEncodeOptions.create(const aDict : TJSImageEncodeOptionsRec); overload; begin Self.type_:=aDict.type_; Self.quality:=aDict.quality; end; class function TJSImageEncodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSImageEncodeOptions.Cast(const Intf: IJSObject): IJSImageEncodeOptions; begin Result:=TJSImageEncodeOptions.JOBCast(Intf); end; function TJSOffscreenCanvas._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSOffscreenCanvas._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSOffscreenCanvas._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSOffscreenCanvas._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; procedure TJSOffscreenCanvas._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSOffscreenCanvas._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSOffscreenCanvas._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSOffscreenCanvas._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; constructor TJSOffscreenCanvas.Create(aWidth: Cardinal; aHeight: Cardinal); begin JOBCreate([aWidth,aHeight]); end; function TJSOffscreenCanvas.getContext(aContextId: TOffscreenRenderingContextId; const aContextOptions: Variant): TOffscreenRenderingContext; begin Result:=InvokeJSVariantResult('getContext',[aContextId,aContextOptions]); end; function TJSOffscreenCanvas.getContext(aContextId: TOffscreenRenderingContextId): TOffscreenRenderingContext; begin Result:=InvokeJSVariantResult('getContext',[aContextId]); end; function TJSOffscreenCanvas.transferToImageBitmap: IJSImageBitmap; begin Result:=InvokeJSObjectResult('transferToImageBitmap',[],TJSImageBitmap) as IJSImageBitmap; end; function TJSOffscreenCanvas.convertToBlob(const aOptions: IJSImageEncodeOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('convertToBlob',[aOptions],TJSPromise) as IJSPromise; end; function TJSOffscreenCanvas.convertToBlob: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('convertToBlob',[],TJSPromise) as IJSPromise; end; function TJSOffscreenCanvas.toBlob(const aType_: UnicodeString; const aEncoderOptions: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('toBlob',[aType_,aEncoderOptions],TJSPromise) as IJSPromise; end; function TJSOffscreenCanvas.toBlob: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('toBlob',[],TJSPromise) as IJSPromise; end; function TJSOffscreenCanvas.toBlob(const aType_: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('toBlob',[aType_],TJSPromise) as IJSPromise; end; class function TJSOffscreenCanvas.JSClassName: UnicodeString; begin Result:='OffscreenCanvas'; end; class function TJSOffscreenCanvas.Cast(const Intf: IJSObject): IJSOffscreenCanvas; begin Result:=TJSOffscreenCanvas.JOBCast(Intf); end; function TJSOffscreenCanvasRenderingContext2D._Getcanvas: IJSOffscreenCanvas; begin Result:=ReadJSPropertyObject('canvas',TJSOffscreenCanvas) as IJSOffscreenCanvas; end; function TJSOffscreenCanvasRenderingContext2D._GetglobalAlpha: Double; begin Result:=ReadJSPropertyDouble('globalAlpha'); end; function TJSOffscreenCanvasRenderingContext2D._GetglobalCompositeOperation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('globalCompositeOperation'); end; function TJSOffscreenCanvasRenderingContext2D._GetimageSmoothingEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('imageSmoothingEnabled'); end; function TJSOffscreenCanvasRenderingContext2D._GetstrokeStyle: TCanvasFillStrokeStyles_strokeStyle_Type; begin Result:=ReadJSPropertyVariant('strokeStyle'); end; function TJSOffscreenCanvasRenderingContext2D._GetfillStyle: TCanvasFillStrokeStyles_fillStyle_Type; begin Result:=ReadJSPropertyVariant('fillStyle'); end; function TJSOffscreenCanvasRenderingContext2D._GetshadowOffsetX: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetX'); end; function TJSOffscreenCanvasRenderingContext2D._GetshadowOffsetY: Double; begin Result:=ReadJSPropertyDouble('shadowOffsetY'); end; function TJSOffscreenCanvasRenderingContext2D._GetshadowBlur: Double; begin Result:=ReadJSPropertyDouble('shadowBlur'); end; function TJSOffscreenCanvasRenderingContext2D._GetshadowColor: UTF8String; begin Result:=ReadJSPropertyUTF8String('shadowColor'); end; function TJSOffscreenCanvasRenderingContext2D._Getfilter: UTF8String; begin Result:=ReadJSPropertyUTF8String('filter'); end; function TJSOffscreenCanvasRenderingContext2D._GetlineWidth: Double; begin Result:=ReadJSPropertyDouble('lineWidth'); end; function TJSOffscreenCanvasRenderingContext2D._GetlineCap: TCanvasLineCap; begin Result:=ReadJSPropertyUnicodeString('lineCap'); end; function TJSOffscreenCanvasRenderingContext2D._GetlineJoin: TCanvasLineJoin; begin Result:=ReadJSPropertyUnicodeString('lineJoin'); end; function TJSOffscreenCanvasRenderingContext2D._GetmiterLimit: Double; begin Result:=ReadJSPropertyDouble('miterLimit'); end; function TJSOffscreenCanvasRenderingContext2D._GetlineDashOffset: Double; begin Result:=ReadJSPropertyDouble('lineDashOffset'); end; function TJSOffscreenCanvasRenderingContext2D._Getfont: UTF8String; begin Result:=ReadJSPropertyUTF8String('font'); end; function TJSOffscreenCanvasRenderingContext2D._GettextAlign: TCanvasTextAlign; begin Result:=ReadJSPropertyUnicodeString('textAlign'); end; function TJSOffscreenCanvasRenderingContext2D._GettextBaseline: TCanvasTextBaseline; begin Result:=ReadJSPropertyUnicodeString('textBaseline'); end; function TJSOffscreenCanvasRenderingContext2D._Getdirection: TCanvasDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSOffscreenCanvasRenderingContext2D._GetletterSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('letterSpacing'); end; function TJSOffscreenCanvasRenderingContext2D._GetfontKerning: TCanvasFontKerning; begin Result:=ReadJSPropertyUnicodeString('fontKerning'); end; function TJSOffscreenCanvasRenderingContext2D._GetfontStretch: TCanvasFontStretch; begin Result:=ReadJSPropertyUnicodeString('fontStretch'); end; function TJSOffscreenCanvasRenderingContext2D._GetfontVariantCaps: TCanvasFontVariantCaps; begin Result:=ReadJSPropertyUnicodeString('fontVariantCaps'); end; function TJSOffscreenCanvasRenderingContext2D._GettextRendering: TCanvasTextRendering; begin Result:=ReadJSPropertyUnicodeString('textRendering'); end; function TJSOffscreenCanvasRenderingContext2D._GetwordSpacing: UTF8String; begin Result:=ReadJSPropertyUTF8String('wordSpacing'); end; procedure TJSOffscreenCanvasRenderingContext2D._SetglobalAlpha(const aValue : Double); begin WriteJSPropertyDouble('globalAlpha',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetglobalCompositeOperation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('globalCompositeOperation',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetimageSmoothingEnabled(const aValue : Boolean); begin WriteJSPropertyBoolean('imageSmoothingEnabled',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetstrokeStyle(const aValue : TCanvasFillStrokeStyles_strokeStyle_Type); begin WriteJSPropertyVariant('strokeStyle',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetfillStyle(const aValue : TCanvasFillStrokeStyles_fillStyle_Type); begin WriteJSPropertyVariant('fillStyle',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetshadowOffsetX(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetX',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetshadowOffsetY(const aValue : Double); begin WriteJSPropertyDouble('shadowOffsetY',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetshadowBlur(const aValue : Double); begin WriteJSPropertyDouble('shadowBlur',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetshadowColor(const aValue : UTF8String); begin WriteJSPropertyUTF8String('shadowColor',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._Setfilter(const aValue : UTF8String); begin WriteJSPropertyUTF8String('filter',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetlineWidth(const aValue : Double); begin WriteJSPropertyDouble('lineWidth',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetlineCap(const aValue : TCanvasLineCap); begin WriteJSPropertyUnicodeString('lineCap',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetlineJoin(const aValue : TCanvasLineJoin); begin WriteJSPropertyUnicodeString('lineJoin',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetmiterLimit(const aValue : Double); begin WriteJSPropertyDouble('miterLimit',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetlineDashOffset(const aValue : Double); begin WriteJSPropertyDouble('lineDashOffset',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._Setfont(const aValue : UTF8String); begin WriteJSPropertyUTF8String('font',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SettextAlign(const aValue : TCanvasTextAlign); begin WriteJSPropertyUnicodeString('textAlign',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SettextBaseline(const aValue : TCanvasTextBaseline); begin WriteJSPropertyUnicodeString('textBaseline',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._Setdirection(const aValue : TCanvasDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetletterSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('letterSpacing',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetfontKerning(const aValue : TCanvasFontKerning); begin WriteJSPropertyUnicodeString('fontKerning',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetfontStretch(const aValue : TCanvasFontStretch); begin WriteJSPropertyUnicodeString('fontStretch',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetfontVariantCaps(const aValue : TCanvasFontVariantCaps); begin WriteJSPropertyUnicodeString('fontVariantCaps',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SettextRendering(const aValue : TCanvasTextRendering); begin WriteJSPropertyUnicodeString('textRendering',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D._SetwordSpacing(const aValue : UTF8String); begin WriteJSPropertyUTF8String('wordSpacing',aValue); end; procedure TJSOffscreenCanvasRenderingContext2D.commit; begin InvokeJSNoResult('commit',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.save; begin InvokeJSNoResult('save',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.restore; begin InvokeJSNoResult('restore',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.reset; begin InvokeJSNoResult('reset',[]); end; function TJSOffscreenCanvasRenderingContext2D.isContextLost: Boolean; begin Result:=InvokeJSBooleanResult('isContextLost',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.scale(aX: Double; aY: Double); begin InvokeJSNoResult('scale',[aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.rotate(aAngle: Double); begin InvokeJSNoResult('rotate',[aAngle]); end; procedure TJSOffscreenCanvasRenderingContext2D.translate(aX: Double; aY: Double); begin InvokeJSNoResult('translate',[aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.transform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('transform',[aA,aB,aC,aD,aE,aF]); end; function TJSOffscreenCanvasRenderingContext2D.getTransform: IJSDOMMatrix; begin Result:=InvokeJSObjectResult('getTransform',[],TJSDOMMatrix) as IJSDOMMatrix; end; procedure TJSOffscreenCanvasRenderingContext2D.setTransform(aA: Double; aB: Double; aC: Double; aD: Double; aE: Double; aF: Double); begin InvokeJSNoResult('setTransform',[aA,aB,aC,aD,aE,aF]); end; procedure TJSOffscreenCanvasRenderingContext2D.setTransform(const aTransform: IJSDOMMatrix2DInit); begin InvokeJSNoResult('setTransform',[aTransform]); end; procedure TJSOffscreenCanvasRenderingContext2D.setTransform; begin InvokeJSNoResult('setTransform',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.resetTransform; begin InvokeJSNoResult('resetTransform',[]); end; function TJSOffscreenCanvasRenderingContext2D.createLinearGradient(aX0: Double; aY0: Double; aX1: Double; aY1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createLinearGradient',[aX0,aY0,aX1,aY1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSOffscreenCanvasRenderingContext2D.createRadialGradient(aX0: Double; aY0: Double; aR0: Double; aX1: Double; aY1: Double; aR1: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createRadialGradient',[aX0,aY0,aR0,aX1,aY1,aR1],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSOffscreenCanvasRenderingContext2D.createConicGradient(aAngle: Double; aCx: Double; aCy: Double): IJSCanvasGradient; begin Result:=InvokeJSObjectResult('createConicGradient',[aAngle,aCx,aCy],TJSCanvasGradient) as IJSCanvasGradient; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(aImage: IJSHTMLCanvasElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(const aImage: THTMLOrSVGImageElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(aImage: IJSHTMLVideoElement; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(aImage: IJSImageBitmap; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(aImage: IJSOffscreenCanvas; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; function TJSOffscreenCanvasRenderingContext2D.createPattern(aImage: IJSVideoFrame; const aRepetition: UnicodeString): IJSCanvasPattern; begin Result:=InvokeJSObjectResult('createPattern',[aImage,aRepetition],TJSCanvasPattern) as IJSCanvasPattern; end; procedure TJSOffscreenCanvasRenderingContext2D.clearRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('clearRect',[aX,aY,aW,aH]); end; procedure TJSOffscreenCanvasRenderingContext2D.fillRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('fillRect',[aX,aY,aW,aH]); end; procedure TJSOffscreenCanvasRenderingContext2D.strokeRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('strokeRect',[aX,aY,aW,aH]); end; procedure TJSOffscreenCanvasRenderingContext2D.beginPath; begin InvokeJSNoResult('beginPath',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.fill(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aWinding]); end; procedure TJSOffscreenCanvasRenderingContext2D.fill; begin InvokeJSNoResult('fill',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.fill(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('fill',[aPath,aWinding]); end; procedure TJSOffscreenCanvasRenderingContext2D.fill(aPath: IJSPath2D); begin InvokeJSNoResult('fill',[aPath]); end; procedure TJSOffscreenCanvasRenderingContext2D.stroke; begin InvokeJSNoResult('stroke',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.stroke(aPath: IJSPath2D); begin InvokeJSNoResult('stroke',[aPath]); end; procedure TJSOffscreenCanvasRenderingContext2D.clip(aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aWinding]); end; procedure TJSOffscreenCanvasRenderingContext2D.clip; begin InvokeJSNoResult('clip',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.clip(aPath: IJSPath2D; aWinding: TCanvasWindingRule); begin InvokeJSNoResult('clip',[aPath,aWinding]); end; procedure TJSOffscreenCanvasRenderingContext2D.clip(aPath: IJSPath2D); begin InvokeJSNoResult('clip',[aPath]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInPath(aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY,aWinding]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInPath(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aX,aY]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double; aWinding: TCanvasWindingRule): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY,aWinding]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInPath(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInPath',[aPath,aX,aY]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInStroke(aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aX,aY]); end; function TJSOffscreenCanvasRenderingContext2D.isPointInStroke(aPath: IJSPath2D; aX: Double; aY: Double): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aPath,aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.fillText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY,aMaxWidth]); end; procedure TJSOffscreenCanvasRenderingContext2D.fillText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('fillText',[aText,aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.strokeText(const aText: UnicodeString; aX: Double; aY: Double; aMaxWidth: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY,aMaxWidth]); end; procedure TJSOffscreenCanvasRenderingContext2D.strokeText(const aText: UnicodeString; aX: Double; aY: Double); begin InvokeJSNoResult('strokeText',[aText,aX,aY]); end; function TJSOffscreenCanvasRenderingContext2D.measureText(const aText: UnicodeString): IJSTextMetrics; begin Result:=InvokeJSObjectResult('measureText',[aText],TJSTextMetrics) as IJSTextMetrics; end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLCanvasElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(const aImage: THTMLOrSVGImageElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSHTMLVideoElement; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSImageBitmap; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSOffscreenCanvas; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; procedure TJSOffscreenCanvasRenderingContext2D.drawImage(aImage: IJSVideoFrame; aSx: Double; aSy: Double; aSw: Double; aSh: Double; aDx: Double; aDy: Double; aDw: Double; aDh: Double); begin InvokeJSNoResult('drawImage',[aImage,aSx,aSy,aSw,aSh,aDx,aDy,aDw,aDh]); end; function TJSOffscreenCanvasRenderingContext2D.createImageData(aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aSw,aSh],TJSImageData) as IJSImageData; end; function TJSOffscreenCanvasRenderingContext2D.createImageData(aImagedata: IJSImageData): IJSImageData; begin Result:=InvokeJSObjectResult('createImageData',[aImagedata],TJSImageData) as IJSImageData; end; function TJSOffscreenCanvasRenderingContext2D.getImageData(aSx: LongInt; aSy: LongInt; aSw: LongInt; aSh: LongInt): IJSImageData; begin Result:=InvokeJSObjectResult('getImageData',[aSx,aSy,aSw,aSh],TJSImageData) as IJSImageData; end; procedure TJSOffscreenCanvasRenderingContext2D.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy]); end; procedure TJSOffscreenCanvasRenderingContext2D.putImageData(aImagedata: IJSImageData; aDx: LongInt; aDy: LongInt; aDirtyX: LongInt; aDirtyY: LongInt; aDirtyWidth: LongInt; aDirtyHeight: LongInt); begin InvokeJSNoResult('putImageData',[aImagedata,aDx,aDy,aDirtyX,aDirtyY,aDirtyWidth,aDirtyHeight]); end; procedure TJSOffscreenCanvasRenderingContext2D.setLineDash(const aSegments: TDoubleDynArray); begin InvokeJSNoResult('setLineDash',[aSegments]); end; function TJSOffscreenCanvasRenderingContext2D.getLineDash: TDoubleDynArray; begin Result:=InvokeJSObjectResult('getLineDash',[],TJSArray) as TDoubleDynArray; end; procedure TJSOffscreenCanvasRenderingContext2D.closePath; begin InvokeJSNoResult('closePath',[]); end; procedure TJSOffscreenCanvasRenderingContext2D.moveTo(aX: Double; aY: Double); begin InvokeJSNoResult('moveTo',[aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.lineTo(aX: Double; aY: Double); begin InvokeJSNoResult('lineTo',[aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.quadraticCurveTo(aCpx: Double; aCpy: Double; aX: Double; aY: Double); begin InvokeJSNoResult('quadraticCurveTo',[aCpx,aCpy,aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.bezierCurveTo(aCp1x: Double; aCp1y: Double; aCp2x: Double; aCp2y: Double; aX: Double; aY: Double); begin InvokeJSNoResult('bezierCurveTo',[aCp1x,aCp1y,aCp2x,aCp2y,aX,aY]); end; procedure TJSOffscreenCanvasRenderingContext2D.arcTo(aX1: Double; aY1: Double; aX2: Double; aY2: Double; aRadius: Double); begin InvokeJSNoResult('arcTo',[aX1,aY1,aX2,aY2,aRadius]); end; procedure TJSOffscreenCanvasRenderingContext2D.rect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('rect',[aX,aY,aW,aH]); end; procedure TJSOffscreenCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: IJSDOMPointInit); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSOffscreenCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH]); end; procedure TJSOffscreenCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; const aRadii: TunionDynArray); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSOffscreenCanvasRenderingContext2D.roundRect(aX: Double; aY: Double; aW: Double; aH: Double; aRadii: Double); begin InvokeJSNoResult('roundRect',[aX,aY,aW,aH,aRadii]); end; procedure TJSOffscreenCanvasRenderingContext2D.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSOffscreenCanvasRenderingContext2D.arc(aX: Double; aY: Double; aRadius: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('arc',[aX,aY,aRadius,aStartAngle,aEndAngle]); end; procedure TJSOffscreenCanvasRenderingContext2D.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double; aAnticlockwise: Boolean); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle,aAnticlockwise]); end; procedure TJSOffscreenCanvasRenderingContext2D.ellipse(aX: Double; aY: Double; aRadiusX: Double; aRadiusY: Double; aRotation: Double; aStartAngle: Double; aEndAngle: Double); begin InvokeJSNoResult('ellipse',[aX,aY,aRadiusX,aRadiusY,aRotation,aStartAngle,aEndAngle]); end; class function TJSOffscreenCanvasRenderingContext2D.JSClassName: UnicodeString; begin Result:='OffscreenCanvasRenderingContext2D'; end; class function TJSOffscreenCanvasRenderingContext2D.Cast(const Intf: IJSObject): IJSOffscreenCanvasRenderingContext2D; begin Result:=TJSOffscreenCanvasRenderingContext2D.JOBCast(Intf); end; function TJSOscillatorOptions._Gettype_: TOscillatorType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSOscillatorOptions._Getfrequency: Single; begin Result:=ReadJSPropertyDouble('frequency'); end; function TJSOscillatorOptions._Getdetune: Single; begin Result:=ReadJSPropertyDouble('detune'); end; function TJSOscillatorOptions._GetperiodicWave: IJSPeriodicWave; begin Result:=ReadJSPropertyObject('periodicWave',TJSPeriodicWave) as IJSPeriodicWave; end; procedure TJSOscillatorOptions._Settype_(const aValue : TOscillatorType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSOscillatorOptions._Setfrequency(const aValue : Single); begin WriteJSPropertyDouble('frequency',aValue); end; procedure TJSOscillatorOptions._Setdetune(const aValue : Single); begin WriteJSPropertyDouble('detune',aValue); end; procedure TJSOscillatorOptions._SetperiodicWave(const aValue : IJSPeriodicWave); begin WriteJSPropertyObject('periodicWave',aValue); end; constructor TJSOscillatorOptions.create(const aDict : TJSOscillatorOptionsRec); overload; begin Self.type_:=aDict.type_; Self.frequency:=aDict.frequency; Self.detune:=aDict.detune; Self.periodicWave:=aDict.periodicWave; end; class function TJSOscillatorOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSOscillatorOptions.Cast(const Intf: IJSObject): IJSOscillatorOptions; begin Result:=TJSOscillatorOptions.JOBCast(Intf); end; function TJSOscillatorNode._Gettype_: TOscillatorType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSOscillatorNode._Getfrequency: IJSAudioParam; begin Result:=ReadJSPropertyObject('frequency',TJSAudioParam) as IJSAudioParam; end; function TJSOscillatorNode._Getdetune: IJSAudioParam; begin Result:=ReadJSPropertyObject('detune',TJSAudioParam) as IJSAudioParam; end; procedure TJSOscillatorNode._Settype_(const aValue : TOscillatorType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSOscillatorNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSOscillatorOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSOscillatorNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; procedure TJSOscillatorNode.setPeriodicWave(aPeriodicWave: IJSPeriodicWave); begin InvokeJSNoResult('setPeriodicWave',[aPeriodicWave]); end; class function TJSOscillatorNode.JSClassName: UnicodeString; begin Result:='OscillatorNode'; end; class function TJSOscillatorNode.Cast(const Intf: IJSObject): IJSOscillatorNode; begin Result:=TJSOscillatorNode.JOBCast(Intf); end; function TJSPageTransitionEvent._Getpersisted: Boolean; begin Result:=ReadJSPropertyBoolean('persisted'); end; constructor TJSPageTransitionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPageTransitionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPageTransitionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSPageTransitionEvent.JSClassName: UnicodeString; begin Result:='PageTransitionEvent'; end; class function TJSPageTransitionEvent.Cast(const Intf: IJSObject): IJSPageTransitionEvent; begin Result:=TJSPageTransitionEvent.JOBCast(Intf); end; function TJSPageTransitionEventInit._Getpersisted: Boolean; begin Result:=ReadJSPropertyBoolean('persisted'); end; function TJSPageTransitionEventInit._GetinFrameSwap: Boolean; begin Result:=ReadJSPropertyBoolean('inFrameSwap'); end; procedure TJSPageTransitionEventInit._Setpersisted(const aValue : Boolean); begin WriteJSPropertyBoolean('persisted',aValue); end; procedure TJSPageTransitionEventInit._SetinFrameSwap(const aValue : Boolean); begin WriteJSPropertyBoolean('inFrameSwap',aValue); end; constructor TJSPageTransitionEventInit.create(const aDict : TJSPageTransitionEventInitRec); overload; begin Self.persisted:=aDict.persisted; Self.inFrameSwap:=aDict.inFrameSwap; end; class function TJSPageTransitionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPageTransitionEventInit.Cast(const Intf: IJSObject): IJSPageTransitionEventInit; begin Result:=TJSPageTransitionEventInit.JOBCast(Intf); end; function TJSPaintRequest._GetclientRect: IJSDOMRect; begin Result:=ReadJSPropertyObject('clientRect',TJSDOMRect) as IJSDOMRect; end; function TJSPaintRequest._Getreason: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('reason'); end; class function TJSPaintRequest.JSClassName: UnicodeString; begin Result:='PaintRequest'; end; class function TJSPaintRequest.Cast(const Intf: IJSObject): IJSPaintRequest; begin Result:=TJSPaintRequest.JOBCast(Intf); end; function TJSPaintRequestList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSPaintRequestList.item(aIndex: Cardinal): IJSPaintRequest; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSPaintRequest) as IJSPaintRequest; end; class function TJSPaintRequestList.JSClassName: UnicodeString; begin Result:='PaintRequestList'; end; class function TJSPaintRequestList.Cast(const Intf: IJSObject): IJSPaintRequestList; begin Result:=TJSPaintRequestList.JOBCast(Intf); end; procedure TJSPaintWorkletGlobalScope.registerPaint(const aName: UnicodeString; const aPaintCtor: TVoidFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aPaintCtor),@JOBCallVoidFunction); try InvokeJSNoResult('registerPaint',[aName,m]); finally m.free; end; end; class function TJSPaintWorkletGlobalScope.JSClassName: UnicodeString; begin Result:='PaintWorkletGlobalScope'; end; class function TJSPaintWorkletGlobalScope.Cast(const Intf: IJSObject): IJSPaintWorkletGlobalScope; begin Result:=TJSPaintWorkletGlobalScope.JOBCast(Intf); end; function TJSPannerOptions._GetpanningModel: TPanningModelType; begin Result:=ReadJSPropertyUnicodeString('panningModel'); end; function TJSPannerOptions._GetdistanceModel: TDistanceModelType; begin Result:=ReadJSPropertyUnicodeString('distanceModel'); end; function TJSPannerOptions._GetpositionX: Single; begin Result:=ReadJSPropertyDouble('positionX'); end; function TJSPannerOptions._GetpositionY: Single; begin Result:=ReadJSPropertyDouble('positionY'); end; function TJSPannerOptions._GetpositionZ: Single; begin Result:=ReadJSPropertyDouble('positionZ'); end; function TJSPannerOptions._GetorientationX: Single; begin Result:=ReadJSPropertyDouble('orientationX'); end; function TJSPannerOptions._GetorientationY: Single; begin Result:=ReadJSPropertyDouble('orientationY'); end; function TJSPannerOptions._GetorientationZ: Single; begin Result:=ReadJSPropertyDouble('orientationZ'); end; function TJSPannerOptions._GetrefDistance: Double; begin Result:=ReadJSPropertyDouble('refDistance'); end; function TJSPannerOptions._GetmaxDistance: Double; begin Result:=ReadJSPropertyDouble('maxDistance'); end; function TJSPannerOptions._GetrolloffFactor: Double; begin Result:=ReadJSPropertyDouble('rolloffFactor'); end; function TJSPannerOptions._GetconeInnerAngle: Double; begin Result:=ReadJSPropertyDouble('coneInnerAngle'); end; function TJSPannerOptions._GetconeOuterAngle: Double; begin Result:=ReadJSPropertyDouble('coneOuterAngle'); end; function TJSPannerOptions._GetconeOuterGain: Double; begin Result:=ReadJSPropertyDouble('coneOuterGain'); end; procedure TJSPannerOptions._SetpanningModel(const aValue : TPanningModelType); begin WriteJSPropertyUnicodeString('panningModel',aValue); end; procedure TJSPannerOptions._SetdistanceModel(const aValue : TDistanceModelType); begin WriteJSPropertyUnicodeString('distanceModel',aValue); end; procedure TJSPannerOptions._SetpositionX(const aValue : Single); begin WriteJSPropertyDouble('positionX',aValue); end; procedure TJSPannerOptions._SetpositionY(const aValue : Single); begin WriteJSPropertyDouble('positionY',aValue); end; procedure TJSPannerOptions._SetpositionZ(const aValue : Single); begin WriteJSPropertyDouble('positionZ',aValue); end; procedure TJSPannerOptions._SetorientationX(const aValue : Single); begin WriteJSPropertyDouble('orientationX',aValue); end; procedure TJSPannerOptions._SetorientationY(const aValue : Single); begin WriteJSPropertyDouble('orientationY',aValue); end; procedure TJSPannerOptions._SetorientationZ(const aValue : Single); begin WriteJSPropertyDouble('orientationZ',aValue); end; procedure TJSPannerOptions._SetrefDistance(const aValue : Double); begin WriteJSPropertyDouble('refDistance',aValue); end; procedure TJSPannerOptions._SetmaxDistance(const aValue : Double); begin WriteJSPropertyDouble('maxDistance',aValue); end; procedure TJSPannerOptions._SetrolloffFactor(const aValue : Double); begin WriteJSPropertyDouble('rolloffFactor',aValue); end; procedure TJSPannerOptions._SetconeInnerAngle(const aValue : Double); begin WriteJSPropertyDouble('coneInnerAngle',aValue); end; procedure TJSPannerOptions._SetconeOuterAngle(const aValue : Double); begin WriteJSPropertyDouble('coneOuterAngle',aValue); end; procedure TJSPannerOptions._SetconeOuterGain(const aValue : Double); begin WriteJSPropertyDouble('coneOuterGain',aValue); end; constructor TJSPannerOptions.create(const aDict : TJSPannerOptionsRec); overload; begin Self.panningModel:=aDict.panningModel; Self.distanceModel:=aDict.distanceModel; Self.positionX:=aDict.positionX; Self.positionY:=aDict.positionY; Self.positionZ:=aDict.positionZ; Self.orientationX:=aDict.orientationX; Self.orientationY:=aDict.orientationY; Self.orientationZ:=aDict.orientationZ; Self.refDistance:=aDict.refDistance; Self.maxDistance:=aDict.maxDistance; Self.rolloffFactor:=aDict.rolloffFactor; Self.coneInnerAngle:=aDict.coneInnerAngle; Self.coneOuterAngle:=aDict.coneOuterAngle; Self.coneOuterGain:=aDict.coneOuterGain; end; class function TJSPannerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPannerOptions.Cast(const Intf: IJSObject): IJSPannerOptions; begin Result:=TJSPannerOptions.JOBCast(Intf); end; function TJSPannerNode._GetpanningModel: TPanningModelType; begin Result:=ReadJSPropertyUnicodeString('panningModel'); end; function TJSPannerNode._GetpositionX: IJSAudioParam; begin Result:=ReadJSPropertyObject('positionX',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetpositionY: IJSAudioParam; begin Result:=ReadJSPropertyObject('positionY',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetpositionZ: IJSAudioParam; begin Result:=ReadJSPropertyObject('positionZ',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetorientationX: IJSAudioParam; begin Result:=ReadJSPropertyObject('orientationX',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetorientationY: IJSAudioParam; begin Result:=ReadJSPropertyObject('orientationY',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetorientationZ: IJSAudioParam; begin Result:=ReadJSPropertyObject('orientationZ',TJSAudioParam) as IJSAudioParam; end; function TJSPannerNode._GetdistanceModel: TDistanceModelType; begin Result:=ReadJSPropertyUnicodeString('distanceModel'); end; function TJSPannerNode._GetrefDistance: Double; begin Result:=ReadJSPropertyDouble('refDistance'); end; function TJSPannerNode._GetmaxDistance: Double; begin Result:=ReadJSPropertyDouble('maxDistance'); end; function TJSPannerNode._GetrolloffFactor: Double; begin Result:=ReadJSPropertyDouble('rolloffFactor'); end; function TJSPannerNode._GetconeInnerAngle: Double; begin Result:=ReadJSPropertyDouble('coneInnerAngle'); end; function TJSPannerNode._GetconeOuterAngle: Double; begin Result:=ReadJSPropertyDouble('coneOuterAngle'); end; function TJSPannerNode._GetconeOuterGain: Double; begin Result:=ReadJSPropertyDouble('coneOuterGain'); end; procedure TJSPannerNode._SetpanningModel(const aValue : TPanningModelType); begin WriteJSPropertyUnicodeString('panningModel',aValue); end; procedure TJSPannerNode._SetdistanceModel(const aValue : TDistanceModelType); begin WriteJSPropertyUnicodeString('distanceModel',aValue); end; procedure TJSPannerNode._SetrefDistance(const aValue : Double); begin WriteJSPropertyDouble('refDistance',aValue); end; procedure TJSPannerNode._SetmaxDistance(const aValue : Double); begin WriteJSPropertyDouble('maxDistance',aValue); end; procedure TJSPannerNode._SetrolloffFactor(const aValue : Double); begin WriteJSPropertyDouble('rolloffFactor',aValue); end; procedure TJSPannerNode._SetconeInnerAngle(const aValue : Double); begin WriteJSPropertyDouble('coneInnerAngle',aValue); end; procedure TJSPannerNode._SetconeOuterAngle(const aValue : Double); begin WriteJSPropertyDouble('coneOuterAngle',aValue); end; procedure TJSPannerNode._SetconeOuterGain(const aValue : Double); begin WriteJSPropertyDouble('coneOuterGain',aValue); end; constructor TJSPannerNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSPannerOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSPannerNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; procedure TJSPannerNode.setPosition(aX: Double; aY: Double; aZ: Double); begin InvokeJSNoResult('setPosition',[aX,aY,aZ]); end; procedure TJSPannerNode.setOrientation(aX: Double; aY: Double; aZ: Double); begin InvokeJSNoResult('setOrientation',[aX,aY,aZ]); end; class function TJSPannerNode.JSClassName: UnicodeString; begin Result:='PannerNode'; end; class function TJSPannerNode.Cast(const Intf: IJSObject): IJSPannerNode; begin Result:=TJSPannerNode.JOBCast(Intf); end; function TJSParentNode._Getchildren: IJSHTMLCollection; begin Result:=ReadJSPropertyObject('children',TJSHTMLCollection) as IJSHTMLCollection; end; function TJSParentNode._GetfirstElementChild: IJSElement; begin Result:=ReadJSPropertyObject('firstElementChild',TJSElement) as IJSElement; end; function TJSParentNode._GetlastElementChild: IJSElement; begin Result:=ReadJSPropertyObject('lastElementChild',TJSElement) as IJSElement; end; function TJSParentNode._GetchildElementCount: Cardinal; begin Result:=ReadJSPropertyInt64('childElementCount'); end; procedure TJSParentNode.prepend(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSParentNode.prepend(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('prepend',[aNodes]); end; procedure TJSParentNode.append(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSParentNode.append(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('append',[aNodes]); end; procedure TJSParentNode.replaceChildren(const aNodes: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; procedure TJSParentNode.replaceChildren(aNodes: IJSNode){; ToDo:varargs}; begin InvokeJSNoResult('replaceChildren',[aNodes]); end; function TJSParentNode.querySelector(const aSelectors: UTF8String): IJSElement; begin Result:=InvokeJSObjectResult('querySelector',[aSelectors],TJSElement) as IJSElement; end; function TJSParentNode.querySelectorAll(const aSelectors: UTF8String): IJSNodeList; begin Result:=InvokeJSObjectResult('querySelectorAll',[aSelectors],TJSNodeList) as IJSNodeList; end; class function TJSParentNode.JSClassName: UnicodeString; begin Result:='ParentNode'; end; class function TJSParentNode.Cast(const Intf: IJSObject): IJSParentNode; begin Result:=TJSParentNode.JOBCast(Intf); end; function TJSPaymentAddress._Getcountry: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('country'); end; function TJSPaymentAddress._GetaddressLine: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('addressLine',TJSArray) as TUnicodeStringDynArray; end; function TJSPaymentAddress._Getregion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('region'); end; function TJSPaymentAddress._GetregionCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('regionCode'); end; function TJSPaymentAddress._Getcity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('city'); end; function TJSPaymentAddress._GetdependentLocality: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dependentLocality'); end; function TJSPaymentAddress._GetpostalCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('postalCode'); end; function TJSPaymentAddress._GetsortingCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sortingCode'); end; function TJSPaymentAddress._Getorganization: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('organization'); end; function TJSPaymentAddress._Getrecipient: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('recipient'); end; function TJSPaymentAddress._Getphone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('phone'); end; function TJSPaymentAddress.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPaymentAddress.JSClassName: UnicodeString; begin Result:='PaymentAddress'; end; class function TJSPaymentAddress.Cast(const Intf: IJSObject): IJSPaymentAddress; begin Result:=TJSPaymentAddress.JOBCast(Intf); end; function TJSPaymentMethodChangeEvent._GetmethodName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('methodName'); end; function TJSPaymentMethodChangeEvent._GetmethodDetails: IJSObject; begin Result:=ReadJSPropertyObject('methodDetails',TJSObject) as IJSObject; end; constructor TJSPaymentMethodChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPaymentMethodChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPaymentMethodChangeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSPaymentMethodChangeEvent.JSClassName: UnicodeString; begin Result:='PaymentMethodChangeEvent'; end; class function TJSPaymentMethodChangeEvent.Cast(const Intf: IJSObject): IJSPaymentMethodChangeEvent; begin Result:=TJSPaymentMethodChangeEvent.JOBCast(Intf); end; function TJSPaymentMethodChangeEventInit._GetmethodName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('methodName'); end; function TJSPaymentMethodChangeEventInit._GetmethodDetails: IJSObject; begin Result:=ReadJSPropertyObject('methodDetails',TJSObject) as IJSObject; end; procedure TJSPaymentMethodChangeEventInit._SetmethodName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('methodName',aValue); end; procedure TJSPaymentMethodChangeEventInit._SetmethodDetails(const aValue : IJSObject); begin WriteJSPropertyObject('methodDetails',aValue); end; constructor TJSPaymentMethodChangeEventInit.create(const aDict : TJSPaymentMethodChangeEventInitRec); overload; begin Self.methodName:=aDict.methodName; Self.methodDetails:=aDict.methodDetails; end; class function TJSPaymentMethodChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentMethodChangeEventInit.Cast(const Intf: IJSObject): IJSPaymentMethodChangeEventInit; begin Result:=TJSPaymentMethodChangeEventInit.JOBCast(Intf); end; function TJSPaymentMethodData._GetsupportedMethods: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('supportedMethods'); end; function TJSPaymentMethodData._Getdata: IJSObject; begin Result:=ReadJSPropertyObject('data',TJSObject) as IJSObject; end; procedure TJSPaymentMethodData._SetsupportedMethods(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('supportedMethods',aValue); end; procedure TJSPaymentMethodData._Setdata(const aValue : IJSObject); begin WriteJSPropertyObject('data',aValue); end; constructor TJSPaymentMethodData.create(const aDict : TJSPaymentMethodDataRec); overload; begin Self.supportedMethods:=aDict.supportedMethods; Self.data:=aDict.data; end; class function TJSPaymentMethodData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentMethodData.Cast(const Intf: IJSObject): IJSPaymentMethodData; begin Result:=TJSPaymentMethodData.JOBCast(Intf); end; function TJSPaymentCurrencyAmount._Getcurrency: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('currency'); end; function TJSPaymentCurrencyAmount._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; procedure TJSPaymentCurrencyAmount._Setcurrency(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('currency',aValue); end; procedure TJSPaymentCurrencyAmount._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; constructor TJSPaymentCurrencyAmount.create(const aDict : TJSPaymentCurrencyAmountRec); overload; begin Self.currency:=aDict.currency; Self.value:=aDict.value; end; class function TJSPaymentCurrencyAmount.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentCurrencyAmount.Cast(const Intf: IJSObject): IJSPaymentCurrencyAmount; begin Result:=TJSPaymentCurrencyAmount.JOBCast(Intf); end; function TJSPaymentItem._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSPaymentItem._Getamount: IJSPaymentCurrencyAmount; begin Result:=ReadJSPropertyObject('amount',TJSPaymentCurrencyAmount) as IJSPaymentCurrencyAmount; end; function TJSPaymentItem._Getpending: Boolean; begin Result:=ReadJSPropertyBoolean('pending'); end; procedure TJSPaymentItem._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSPaymentItem._Setamount(const aValue : IJSPaymentCurrencyAmount); begin WriteJSPropertyObject('amount',aValue); end; procedure TJSPaymentItem._Setpending(const aValue : Boolean); begin WriteJSPropertyBoolean('pending',aValue); end; constructor TJSPaymentItem.create(const aDict : TJSPaymentItemRec); overload; begin Self.label_:=aDict.label_; Self.amount:=aDict.amount; Self.pending:=aDict.pending; end; class function TJSPaymentItem.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentItem.Cast(const Intf: IJSObject): IJSPaymentItem; begin Result:=TJSPaymentItem.JOBCast(Intf); end; function TJSPaymentShippingOption._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSPaymentShippingOption._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSPaymentShippingOption._Getamount: IJSPaymentCurrencyAmount; begin Result:=ReadJSPropertyObject('amount',TJSPaymentCurrencyAmount) as IJSPaymentCurrencyAmount; end; function TJSPaymentShippingOption._Getselected: Boolean; begin Result:=ReadJSPropertyBoolean('selected'); end; procedure TJSPaymentShippingOption._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSPaymentShippingOption._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSPaymentShippingOption._Setamount(const aValue : IJSPaymentCurrencyAmount); begin WriteJSPropertyObject('amount',aValue); end; procedure TJSPaymentShippingOption._Setselected(const aValue : Boolean); begin WriteJSPropertyBoolean('selected',aValue); end; constructor TJSPaymentShippingOption.create(const aDict : TJSPaymentShippingOptionRec); overload; begin Self.id:=aDict.id; Self.label_:=aDict.label_; Self.amount:=aDict.amount; Self.selected:=aDict.selected; end; class function TJSPaymentShippingOption.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentShippingOption.Cast(const Intf: IJSObject): IJSPaymentShippingOption; begin Result:=TJSPaymentShippingOption.JOBCast(Intf); end; function TJSPaymentDetailsModifier._GetsupportedMethods: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('supportedMethods'); end; function TJSPaymentDetailsModifier._Gettotal: IJSPaymentItem; begin Result:=ReadJSPropertyObject('total',TJSPaymentItem) as IJSPaymentItem; end; function TJSPaymentDetailsModifier._GetadditionalDisplayItems: TJSPaymentItemDynArray; begin Result:=ReadJSPropertyObject('additionalDisplayItems',TJSArray) as TJSPaymentItemDynArray; end; function TJSPaymentDetailsModifier._Getdata: IJSObject; begin Result:=ReadJSPropertyObject('data',TJSObject) as IJSObject; end; procedure TJSPaymentDetailsModifier._SetsupportedMethods(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('supportedMethods',aValue); end; procedure TJSPaymentDetailsModifier._Settotal(const aValue : IJSPaymentItem); begin WriteJSPropertyObject('total',aValue); end; procedure TJSPaymentDetailsModifier._SetadditionalDisplayItems(const aValue : TJSPaymentItemDynArray); begin WriteJSPropertyObject('additionalDisplayItems',aValue); end; procedure TJSPaymentDetailsModifier._Setdata(const aValue : IJSObject); begin WriteJSPropertyObject('data',aValue); end; constructor TJSPaymentDetailsModifier.create(const aDict : TJSPaymentDetailsModifierRec); overload; begin Self.supportedMethods:=aDict.supportedMethods; Self.total:=aDict.total; Self.additionalDisplayItems:=aDict.additionalDisplayItems; Self.data:=aDict.data; end; class function TJSPaymentDetailsModifier.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentDetailsModifier.Cast(const Intf: IJSObject): IJSPaymentDetailsModifier; begin Result:=TJSPaymentDetailsModifier.JOBCast(Intf); end; function TJSPaymentDetailsBase._GetdisplayItems: TJSPaymentItemDynArray; begin Result:=ReadJSPropertyObject('displayItems',TJSArray) as TJSPaymentItemDynArray; end; function TJSPaymentDetailsBase._GetshippingOptions: TJSPaymentShippingOptionDynArray; begin Result:=ReadJSPropertyObject('shippingOptions',TJSArray) as TJSPaymentShippingOptionDynArray; end; function TJSPaymentDetailsBase._Getmodifiers: TJSPaymentDetailsModifierDynArray; begin Result:=ReadJSPropertyObject('modifiers',TJSArray) as TJSPaymentDetailsModifierDynArray; end; procedure TJSPaymentDetailsBase._SetdisplayItems(const aValue : TJSPaymentItemDynArray); begin WriteJSPropertyObject('displayItems',aValue); end; procedure TJSPaymentDetailsBase._SetshippingOptions(const aValue : TJSPaymentShippingOptionDynArray); begin WriteJSPropertyObject('shippingOptions',aValue); end; procedure TJSPaymentDetailsBase._Setmodifiers(const aValue : TJSPaymentDetailsModifierDynArray); begin WriteJSPropertyObject('modifiers',aValue); end; constructor TJSPaymentDetailsBase.create(const aDict : TJSPaymentDetailsBaseRec); overload; begin Self.displayItems:=aDict.displayItems; Self.shippingOptions:=aDict.shippingOptions; Self.modifiers:=aDict.modifiers; end; class function TJSPaymentDetailsBase.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentDetailsBase.Cast(const Intf: IJSObject): IJSPaymentDetailsBase; begin Result:=TJSPaymentDetailsBase.JOBCast(Intf); end; function TJSPaymentDetailsInit._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSPaymentDetailsInit._Gettotal: IJSPaymentItem; begin Result:=ReadJSPropertyObject('total',TJSPaymentItem) as IJSPaymentItem; end; procedure TJSPaymentDetailsInit._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSPaymentDetailsInit._Settotal(const aValue : IJSPaymentItem); begin WriteJSPropertyObject('total',aValue); end; constructor TJSPaymentDetailsInit.create(const aDict : TJSPaymentDetailsInitRec); overload; begin Self.id:=aDict.id; Self.total:=aDict.total; end; class function TJSPaymentDetailsInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentDetailsInit.Cast(const Intf: IJSObject): IJSPaymentDetailsInit; begin Result:=TJSPaymentDetailsInit.JOBCast(Intf); end; function TJSAddressErrors._GetaddressLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('addressLine'); end; function TJSAddressErrors._Getcity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('city'); end; function TJSAddressErrors._Getcountry: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('country'); end; function TJSAddressErrors._GetdependentLocality: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dependentLocality'); end; function TJSAddressErrors._Getorganization: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('organization'); end; function TJSAddressErrors._Getphone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('phone'); end; function TJSAddressErrors._GetpostalCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('postalCode'); end; function TJSAddressErrors._Getrecipient: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('recipient'); end; function TJSAddressErrors._Getregion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('region'); end; function TJSAddressErrors._GetregionCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('regionCode'); end; function TJSAddressErrors._GetsortingCode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sortingCode'); end; procedure TJSAddressErrors._SetaddressLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('addressLine',aValue); end; procedure TJSAddressErrors._Setcity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('city',aValue); end; procedure TJSAddressErrors._Setcountry(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('country',aValue); end; procedure TJSAddressErrors._SetdependentLocality(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dependentLocality',aValue); end; procedure TJSAddressErrors._Setorganization(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('organization',aValue); end; procedure TJSAddressErrors._Setphone(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('phone',aValue); end; procedure TJSAddressErrors._SetpostalCode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('postalCode',aValue); end; procedure TJSAddressErrors._Setrecipient(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('recipient',aValue); end; procedure TJSAddressErrors._Setregion(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('region',aValue); end; procedure TJSAddressErrors._SetregionCode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('regionCode',aValue); end; procedure TJSAddressErrors._SetsortingCode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sortingCode',aValue); end; constructor TJSAddressErrors.create(const aDict : TJSAddressErrorsRec); overload; begin Self.addressLine:=aDict.addressLine; Self.city:=aDict.city; Self.country:=aDict.country; Self.dependentLocality:=aDict.dependentLocality; Self.organization:=aDict.organization; Self.phone:=aDict.phone; Self.postalCode:=aDict.postalCode; Self.recipient:=aDict.recipient; Self.region:=aDict.region; Self.regionCode:=aDict.regionCode; Self.sortingCode:=aDict.sortingCode; end; class function TJSAddressErrors.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAddressErrors.Cast(const Intf: IJSObject): IJSAddressErrors; begin Result:=TJSAddressErrors.JOBCast(Intf); end; function TJSPaymentValidationErrors._Getpayer: IJSPayerErrors; begin Result:=ReadJSPropertyObject('payer',TJSPayerErrors) as IJSPayerErrors; end; function TJSPaymentValidationErrors._GetshippingAddress: IJSAddressErrors; begin Result:=ReadJSPropertyObject('shippingAddress',TJSAddressErrors) as IJSAddressErrors; end; function TJSPaymentValidationErrors._Geterror: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('error'); end; function TJSPaymentValidationErrors._GetpaymentMethod: IJSObject; begin Result:=ReadJSPropertyObject('paymentMethod',TJSObject) as IJSObject; end; procedure TJSPaymentValidationErrors._Setpayer(const aValue : IJSPayerErrors); begin WriteJSPropertyObject('payer',aValue); end; procedure TJSPaymentValidationErrors._SetshippingAddress(const aValue : IJSAddressErrors); begin WriteJSPropertyObject('shippingAddress',aValue); end; procedure TJSPaymentValidationErrors._Seterror(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('error',aValue); end; procedure TJSPaymentValidationErrors._SetpaymentMethod(const aValue : IJSObject); begin WriteJSPropertyObject('paymentMethod',aValue); end; constructor TJSPaymentValidationErrors.create(const aDict : TJSPaymentValidationErrorsRec); overload; begin Self.payer:=aDict.payer; Self.shippingAddress:=aDict.shippingAddress; Self.error:=aDict.error; Self.paymentMethod:=aDict.paymentMethod; end; class function TJSPaymentValidationErrors.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentValidationErrors.Cast(const Intf: IJSObject): IJSPaymentValidationErrors; begin Result:=TJSPaymentValidationErrors.JOBCast(Intf); end; function TJSPayerErrors._Getemail: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('email'); end; function TJSPayerErrors._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPayerErrors._Getphone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('phone'); end; procedure TJSPayerErrors._Setemail(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('email',aValue); end; procedure TJSPayerErrors._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSPayerErrors._Setphone(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('phone',aValue); end; constructor TJSPayerErrors.create(const aDict : TJSPayerErrorsRec); overload; begin Self.email:=aDict.email; Self.name:=aDict.name; Self.phone:=aDict.phone; end; class function TJSPayerErrors.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPayerErrors.Cast(const Intf: IJSObject): IJSPayerErrors; begin Result:=TJSPayerErrors.JOBCast(Intf); end; function TJSPaymentDetailsUpdate._Geterror: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('error'); end; function TJSPaymentDetailsUpdate._GetshippingAddressErrors: IJSAddressErrors; begin Result:=ReadJSPropertyObject('shippingAddressErrors',TJSAddressErrors) as IJSAddressErrors; end; function TJSPaymentDetailsUpdate._GetpayerErrors: IJSPayerErrors; begin Result:=ReadJSPropertyObject('payerErrors',TJSPayerErrors) as IJSPayerErrors; end; function TJSPaymentDetailsUpdate._GetpaymentMethodErrors: IJSObject; begin Result:=ReadJSPropertyObject('paymentMethodErrors',TJSObject) as IJSObject; end; function TJSPaymentDetailsUpdate._Gettotal: IJSPaymentItem; begin Result:=ReadJSPropertyObject('total',TJSPaymentItem) as IJSPaymentItem; end; procedure TJSPaymentDetailsUpdate._Seterror(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('error',aValue); end; procedure TJSPaymentDetailsUpdate._SetshippingAddressErrors(const aValue : IJSAddressErrors); begin WriteJSPropertyObject('shippingAddressErrors',aValue); end; procedure TJSPaymentDetailsUpdate._SetpayerErrors(const aValue : IJSPayerErrors); begin WriteJSPropertyObject('payerErrors',aValue); end; procedure TJSPaymentDetailsUpdate._SetpaymentMethodErrors(const aValue : IJSObject); begin WriteJSPropertyObject('paymentMethodErrors',aValue); end; procedure TJSPaymentDetailsUpdate._Settotal(const aValue : IJSPaymentItem); begin WriteJSPropertyObject('total',aValue); end; constructor TJSPaymentDetailsUpdate.create(const aDict : TJSPaymentDetailsUpdateRec); overload; begin Self.error:=aDict.error; Self.shippingAddressErrors:=aDict.shippingAddressErrors; Self.payerErrors:=aDict.payerErrors; Self.paymentMethodErrors:=aDict.paymentMethodErrors; Self.total:=aDict.total; end; class function TJSPaymentDetailsUpdate.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentDetailsUpdate.Cast(const Intf: IJSObject): IJSPaymentDetailsUpdate; begin Result:=TJSPaymentDetailsUpdate.JOBCast(Intf); end; function TJSPaymentOptions._GetrequestPayerName: Boolean; begin Result:=ReadJSPropertyBoolean('requestPayerName'); end; function TJSPaymentOptions._GetrequestPayerEmail: Boolean; begin Result:=ReadJSPropertyBoolean('requestPayerEmail'); end; function TJSPaymentOptions._GetrequestPayerPhone: Boolean; begin Result:=ReadJSPropertyBoolean('requestPayerPhone'); end; function TJSPaymentOptions._GetrequestShipping: Boolean; begin Result:=ReadJSPropertyBoolean('requestShipping'); end; function TJSPaymentOptions._GetrequestBillingAddress: Boolean; begin Result:=ReadJSPropertyBoolean('requestBillingAddress'); end; function TJSPaymentOptions._GetshippingType: TPaymentShippingType; begin Result:=ReadJSPropertyUnicodeString('shippingType'); end; procedure TJSPaymentOptions._SetrequestPayerName(const aValue : Boolean); begin WriteJSPropertyBoolean('requestPayerName',aValue); end; procedure TJSPaymentOptions._SetrequestPayerEmail(const aValue : Boolean); begin WriteJSPropertyBoolean('requestPayerEmail',aValue); end; procedure TJSPaymentOptions._SetrequestPayerPhone(const aValue : Boolean); begin WriteJSPropertyBoolean('requestPayerPhone',aValue); end; procedure TJSPaymentOptions._SetrequestShipping(const aValue : Boolean); begin WriteJSPropertyBoolean('requestShipping',aValue); end; procedure TJSPaymentOptions._SetrequestBillingAddress(const aValue : Boolean); begin WriteJSPropertyBoolean('requestBillingAddress',aValue); end; procedure TJSPaymentOptions._SetshippingType(const aValue : TPaymentShippingType); begin WriteJSPropertyUnicodeString('shippingType',aValue); end; constructor TJSPaymentOptions.create(const aDict : TJSPaymentOptionsRec); overload; begin Self.requestPayerName:=aDict.requestPayerName; Self.requestPayerEmail:=aDict.requestPayerEmail; Self.requestPayerPhone:=aDict.requestPayerPhone; Self.requestShipping:=aDict.requestShipping; Self.requestBillingAddress:=aDict.requestBillingAddress; Self.shippingType:=aDict.shippingType; end; class function TJSPaymentOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentOptions.Cast(const Intf: IJSObject): IJSPaymentOptions; begin Result:=TJSPaymentOptions.JOBCast(Intf); end; function TJSPaymentRequest._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSPaymentRequest._GetshippingAddress: IJSPaymentAddress; begin Result:=ReadJSPropertyObject('shippingAddress',TJSPaymentAddress) as IJSPaymentAddress; end; function TJSPaymentRequest._GetshippingOption: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('shippingOption'); end; function TJSPaymentRequest._GetshippingType: TPaymentShippingType; begin Result:=ReadJSPropertyUnicodeString('shippingType'); end; function TJSPaymentRequest._Getonmerchantvalidation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmerchantvalidation'))); end; function TJSPaymentRequest._Getonshippingaddresschange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onshippingaddresschange'))); end; function TJSPaymentRequest._Getonshippingoptionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onshippingoptionchange'))); end; function TJSPaymentRequest._Getonpaymentmethodchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaymentmethodchange'))); end; procedure TJSPaymentRequest._Setonmerchantvalidation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmerchantvalidation',[m],jiSet); finally m.free end; end; procedure TJSPaymentRequest._Setonshippingaddresschange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onshippingaddresschange',[m],jiSet); finally m.free end; end; procedure TJSPaymentRequest._Setonshippingoptionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onshippingoptionchange',[m],jiSet); finally m.free end; end; procedure TJSPaymentRequest._Setonpaymentmethodchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaymentmethodchange',[m],jiSet); finally m.free end; end; constructor TJSPaymentRequest.Create(const aMethodData: TJSPaymentMethodDataDynArray; const aDetails: IJSPaymentDetailsInit; const aOptions: IJSPaymentOptions); begin JOBCreate([aMethodData,aDetails,aOptions]); end; constructor TJSPaymentRequest.Create(const aMethodData: TJSPaymentMethodDataDynArray; const aDetails: IJSPaymentDetailsInit); begin JOBCreate([aMethodData,aDetails]); end; function TJSPaymentRequest.show(aDetailsPromise: IJSPromise): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('show',[aDetailsPromise],TJSPromise) as IJSPromise; end; function TJSPaymentRequest.show: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('show',[],TJSPromise) as IJSPromise; end; function TJSPaymentRequest.abort: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('abort',[],TJSPromise) as IJSPromise; end; function TJSPaymentRequest.canMakePayment: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('canMakePayment',[],TJSPromise) as IJSPromise; end; class function TJSPaymentRequest.JSClassName: UnicodeString; begin Result:='PaymentRequest'; end; class function TJSPaymentRequest.Cast(const Intf: IJSObject): IJSPaymentRequest; begin Result:=TJSPaymentRequest.JOBCast(Intf); end; constructor TJSPaymentRequestUpdateEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPaymentRequestUpdateEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPaymentRequestUpdateEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSPaymentRequestUpdateEvent.updateWith(aDetailsPromise: IJSPromise); begin InvokeJSNoResult('updateWith',[aDetailsPromise]); end; class function TJSPaymentRequestUpdateEvent.JSClassName: UnicodeString; begin Result:='PaymentRequestUpdateEvent'; end; class function TJSPaymentRequestUpdateEvent.Cast(const Intf: IJSObject): IJSPaymentRequestUpdateEvent; begin Result:=TJSPaymentRequestUpdateEvent.JOBCast(Intf); end; constructor TJSPaymentRequestUpdateEventInit.create(const aDict : TJSPaymentRequestUpdateEventInitRec); overload; begin end; class function TJSPaymentRequestUpdateEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPaymentRequestUpdateEventInit.Cast(const Intf: IJSObject): IJSPaymentRequestUpdateEventInit; begin Result:=TJSPaymentRequestUpdateEventInit.JOBCast(Intf); end; function TJSPaymentResponse._GetrequestId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('requestId'); end; function TJSPaymentResponse._GetmethodName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('methodName'); end; function TJSPaymentResponse._Getdetails: IJSObject; begin Result:=ReadJSPropertyObject('details',TJSObject) as IJSObject; end; function TJSPaymentResponse._GetshippingAddress: IJSPaymentAddress; begin Result:=ReadJSPropertyObject('shippingAddress',TJSPaymentAddress) as IJSPaymentAddress; end; function TJSPaymentResponse._GetshippingOption: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('shippingOption'); end; function TJSPaymentResponse._GetpayerName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('payerName'); end; function TJSPaymentResponse._GetpayerEmail: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('payerEmail'); end; function TJSPaymentResponse._GetpayerPhone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('payerPhone'); end; function TJSPaymentResponse._Getonpayerdetailchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpayerdetailchange'))); end; procedure TJSPaymentResponse._Setonpayerdetailchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpayerdetailchange',[m],jiSet); finally m.free end; end; function TJSPaymentResponse.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; function TJSPaymentResponse.complete(aResult: TPaymentComplete): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('complete',[aResult],TJSPromise) as IJSPromise; end; function TJSPaymentResponse.complete: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('complete',[],TJSPromise) as IJSPromise; end; function TJSPaymentResponse.retry(const aErrorFields: IJSPaymentValidationErrors): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('retry',[aErrorFields],TJSPromise) as IJSPromise; end; function TJSPaymentResponse.retry: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('retry',[],TJSPromise) as IJSPromise; end; class function TJSPaymentResponse.JSClassName: UnicodeString; begin Result:='PaymentResponse'; end; class function TJSPaymentResponse.Cast(const Intf: IJSObject): IJSPaymentResponse; begin Result:=TJSPaymentResponse.JOBCast(Intf); end; function TJSPCErrorData._Getname: TPCError; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPCErrorData._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; procedure TJSPCErrorData._Setname(const aValue : TPCError); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSPCErrorData._Setmessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('message',aValue); end; constructor TJSPCErrorData.create(const aDict : TJSPCErrorDataRec); overload; begin Self.name:=aDict.name; Self.message:=aDict.message; end; class function TJSPCErrorData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPCErrorData.Cast(const Intf: IJSObject): IJSPCErrorData; begin Result:=TJSPCErrorData.JOBCast(Intf); end; function TJSPerformance._GettimeOrigin: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timeOrigin'); end; function TJSPerformance._Gettiming: IJSPerformanceTiming; begin Result:=ReadJSPropertyObject('timing',TJSPerformanceTiming) as IJSPerformanceTiming; end; function TJSPerformance._Getnavigation: IJSPerformanceNavigation; begin Result:=ReadJSPropertyObject('navigation',TJSPerformanceNavigation) as IJSPerformanceNavigation; end; function TJSPerformance._Getonresourcetimingbufferfull: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresourcetimingbufferfull'))); end; function TJSPerformance._GetmozMemory: IJSObject; begin Result:=ReadJSPropertyObject('mozMemory',TJSObject) as IJSObject; end; function TJSPerformance._GeteventCounts: IJSEventCounts; begin Result:=ReadJSPropertyObject('eventCounts',TJSEventCounts) as IJSEventCounts; end; procedure TJSPerformance._Setonresourcetimingbufferfull(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresourcetimingbufferfull',[m],jiSet); finally m.free end; end; function TJSPerformance.now: TDOMHighResTimeStamp; begin Result:=InvokeJSDoubleResult('now',[]); end; function TJSPerformance.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; function TJSPerformance.getEntries: TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntries',[],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformance.getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByType',[aEntryType],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformance.getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByName',[aName,aEntryType],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformance.getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByName',[aName],TJSArray) as TPerformanceEntryListDynArray; end; procedure TJSPerformance.clearResourceTimings; begin InvokeJSNoResult('clearResourceTimings',[]); end; procedure TJSPerformance.setResourceTimingBufferSize(aMaxSize: Cardinal); begin InvokeJSNoResult('setResourceTimingBufferSize',[aMaxSize]); end; function TJSPerformance.mark(const aMarkName: UnicodeString; const aMarkOptions: IJSPerformanceMarkOptions): IJSPerformanceMark; begin Result:=InvokeJSObjectResult('mark',[aMarkName,aMarkOptions],TJSPerformanceMark) as IJSPerformanceMark; end; function TJSPerformance.mark(const aMarkName: UnicodeString): IJSPerformanceMark; begin Result:=InvokeJSObjectResult('mark',[aMarkName],TJSPerformanceMark) as IJSPerformanceMark; end; procedure TJSPerformance.clearMarks(const aMarkName: UnicodeString); begin InvokeJSNoResult('clearMarks',[aMarkName]); end; procedure TJSPerformance.clearMarks; begin InvokeJSNoResult('clearMarks',[]); end; function TJSPerformance.measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString; const aEndMark: UnicodeString): IJSPerformanceMeasure; begin Result:=InvokeJSObjectResult('measure',[aMeasureName,aStartOrMeasureOptions,aEndMark],TJSPerformanceMeasure) as IJSPerformanceMeasure; end; function TJSPerformance.measure(const aMeasureName: UnicodeString): IJSPerformanceMeasure; begin Result:=InvokeJSObjectResult('measure',[aMeasureName],TJSPerformanceMeasure) as IJSPerformanceMeasure; end; function TJSPerformance.measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions; const aEndMark: UnicodeString): IJSPerformanceMeasure; begin Result:=InvokeJSObjectResult('measure',[aMeasureName,aStartOrMeasureOptions,aEndMark],TJSPerformanceMeasure) as IJSPerformanceMeasure; end; function TJSPerformance.measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: IJSPerformanceMeasureOptions): IJSPerformanceMeasure; begin Result:=InvokeJSObjectResult('measure',[aMeasureName,aStartOrMeasureOptions],TJSPerformanceMeasure) as IJSPerformanceMeasure; end; function TJSPerformance.measure(const aMeasureName: UnicodeString; const aStartOrMeasureOptions: UnicodeString): IJSPerformanceMeasure; begin Result:=InvokeJSObjectResult('measure',[aMeasureName,aStartOrMeasureOptions],TJSPerformanceMeasure) as IJSPerformanceMeasure; end; procedure TJSPerformance.clearMeasures(const aMeasureName: UnicodeString); begin InvokeJSNoResult('clearMeasures',[aMeasureName]); end; procedure TJSPerformance.clearMeasures; begin InvokeJSNoResult('clearMeasures',[]); end; class function TJSPerformance.JSClassName: UnicodeString; begin Result:='Performance'; end; class function TJSPerformance.Cast(const Intf: IJSObject): IJSPerformance; begin Result:=TJSPerformance.JOBCast(Intf); end; function TJSPerformanceMarkOptions._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; function TJSPerformanceMarkOptions._GetstartTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('startTime'); end; procedure TJSPerformanceMarkOptions._Setdetail(const aValue : Variant); begin WriteJSPropertyVariant('detail',aValue); end; procedure TJSPerformanceMarkOptions._SetstartTime(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('startTime',aValue); end; constructor TJSPerformanceMarkOptions.create(const aDict : TJSPerformanceMarkOptionsRec); overload; begin Self.detail:=aDict.detail; Self.startTime:=aDict.startTime; end; class function TJSPerformanceMarkOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPerformanceMarkOptions.Cast(const Intf: IJSObject): IJSPerformanceMarkOptions; begin Result:=TJSPerformanceMarkOptions.JOBCast(Intf); end; function TJSPerformanceMeasureOptions._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; function TJSPerformanceMeasureOptions._Getstart: TPerformanceMeasureOptions_start_Type; begin Result:=ReadJSPropertyVariant('start'); end; function TJSPerformanceMeasureOptions._Getduration: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSPerformanceMeasureOptions._Getend_: TPerformanceMeasureOptions_end_Type; begin Result:=ReadJSPropertyVariant('end'); end; procedure TJSPerformanceMeasureOptions._Setdetail(const aValue : Variant); begin WriteJSPropertyVariant('detail',aValue); end; procedure TJSPerformanceMeasureOptions._Setstart(const aValue : TPerformanceMeasureOptions_start_Type); begin WriteJSPropertyVariant('start',aValue); end; procedure TJSPerformanceMeasureOptions._Setduration(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSPerformanceMeasureOptions._Setend_(const aValue : TPerformanceMeasureOptions_end_Type); begin WriteJSPropertyVariant('end',aValue); end; constructor TJSPerformanceMeasureOptions.create(const aDict : TJSPerformanceMeasureOptionsRec); overload; begin Self.detail:=aDict.detail; Self.start:=aDict.start; Self.duration:=aDict.duration; Self.end_:=aDict.end_; end; class function TJSPerformanceMeasureOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPerformanceMeasureOptions.Cast(const Intf: IJSObject): IJSPerformanceMeasureOptions; begin Result:=TJSPerformanceMeasureOptions.JOBCast(Intf); end; function TJSPerformanceEntry._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPerformanceEntry._GetentryType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('entryType'); end; function TJSPerformanceEntry._GetstartTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('startTime'); end; function TJSPerformanceEntry._Getduration: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSPerformanceEntry.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceEntry.JSClassName: UnicodeString; begin Result:='PerformanceEntry'; end; class function TJSPerformanceEntry.Cast(const Intf: IJSObject): IJSPerformanceEntry; begin Result:=TJSPerformanceEntry.JOBCast(Intf); end; function TJSPerformanceEntryEventInit._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPerformanceEntryEventInit._GetentryType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('entryType'); end; function TJSPerformanceEntryEventInit._GetstartTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('startTime'); end; function TJSPerformanceEntryEventInit._Getduration: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSPerformanceEntryEventInit._Getepoch: Double; begin Result:=ReadJSPropertyDouble('epoch'); end; function TJSPerformanceEntryEventInit._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; procedure TJSPerformanceEntryEventInit._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSPerformanceEntryEventInit._SetentryType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('entryType',aValue); end; procedure TJSPerformanceEntryEventInit._SetstartTime(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('startTime',aValue); end; procedure TJSPerformanceEntryEventInit._Setduration(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSPerformanceEntryEventInit._Setepoch(const aValue : Double); begin WriteJSPropertyDouble('epoch',aValue); end; procedure TJSPerformanceEntryEventInit._Setorigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('origin',aValue); end; constructor TJSPerformanceEntryEventInit.create(const aDict : TJSPerformanceEntryEventInitRec); overload; begin Self.name:=aDict.name; Self.entryType:=aDict.entryType; Self.startTime:=aDict.startTime; Self.duration:=aDict.duration; Self.epoch:=aDict.epoch; Self.origin:=aDict.origin; end; class function TJSPerformanceEntryEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPerformanceEntryEventInit.Cast(const Intf: IJSObject): IJSPerformanceEntryEventInit; begin Result:=TJSPerformanceEntryEventInit.JOBCast(Intf); end; function TJSEventCounts._Getsize: LongInt; begin Result:=0; end; function TJSEventCounts.get(key: UnicodeString) : QWord; begin Result:=InvokeJSMaxIntResult('get',[key]); end; function TJSEventCounts.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSEventCounts.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSEventCounts.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSEventCounts.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; class function TJSEventCounts.JSClassName: UnicodeString; begin Result:='EventCounts'; end; class function TJSEventCounts.Cast(const Intf: IJSObject): IJSEventCounts; begin Result:=TJSEventCounts.JOBCast(Intf); end; function TJSPerformanceEventTiming._GetprocessingStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('processingStart'); end; function TJSPerformanceEventTiming._GetprocessingEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('processingEnd'); end; function TJSPerformanceEventTiming._Getcancelable: Boolean; begin Result:=ReadJSPropertyBoolean('cancelable'); end; function TJSPerformanceEventTiming._Gettarget: IJSNode; begin Result:=ReadJSPropertyObject('target',TJSNode) as IJSNode; end; function TJSPerformanceEventTiming.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceEventTiming.JSClassName: UnicodeString; begin Result:='PerformanceEventTiming'; end; class function TJSPerformanceEventTiming.Cast(const Intf: IJSObject): IJSPerformanceEventTiming; begin Result:=TJSPerformanceEventTiming.JOBCast(Intf); end; function TJSLargestContentfulPaint._GetrenderTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('renderTime'); end; function TJSLargestContentfulPaint._GetloadTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('loadTime'); end; function TJSLargestContentfulPaint._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; function TJSLargestContentfulPaint._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSLargestContentfulPaint._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSLargestContentfulPaint._Getelement: IJSElement; begin Result:=ReadJSPropertyObject('element',TJSElement) as IJSElement; end; function TJSLargestContentfulPaint.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSLargestContentfulPaint.JSClassName: UnicodeString; begin Result:='LargestContentfulPaint'; end; class function TJSLargestContentfulPaint.Cast(const Intf: IJSObject): IJSLargestContentfulPaint; begin Result:=TJSLargestContentfulPaint.JOBCast(Intf); end; function TJSPerformanceMark._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; constructor TJSPerformanceMark.Create(const aMarkName: UnicodeString; const aMarkOptions: IJSPerformanceMarkOptions); begin JOBCreate([aMarkName,aMarkOptions]); end; constructor TJSPerformanceMark.Create(const aMarkName: UnicodeString); begin JOBCreate([aMarkName]); end; class function TJSPerformanceMark.JSClassName: UnicodeString; begin Result:='PerformanceMark'; end; class function TJSPerformanceMark.Cast(const Intf: IJSObject): IJSPerformanceMark; begin Result:=TJSPerformanceMark.JOBCast(Intf); end; function TJSPerformanceMeasure._Getdetail: Variant; begin Result:=ReadJSPropertyVariant('detail'); end; class function TJSPerformanceMeasure.JSClassName: UnicodeString; begin Result:='PerformanceMeasure'; end; class function TJSPerformanceMeasure.Cast(const Intf: IJSObject): IJSPerformanceMeasure; begin Result:=TJSPerformanceMeasure.JOBCast(Intf); end; function TJSPerformanceNavigation._Gettype_: Word; begin Result:=ReadJSPropertyLongInt('type'); end; function TJSPerformanceNavigation._GetredirectCount: Word; begin Result:=ReadJSPropertyLongInt('redirectCount'); end; function TJSPerformanceNavigation.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceNavigation.JSClassName: UnicodeString; begin Result:='PerformanceNavigation'; end; class function TJSPerformanceNavigation.Cast(const Intf: IJSObject): IJSPerformanceNavigation; begin Result:=TJSPerformanceNavigation.JOBCast(Intf); end; function TJSPerformanceNavigationTiming._GetunloadEventStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('unloadEventStart'); end; function TJSPerformanceNavigationTiming._GetunloadEventEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('unloadEventEnd'); end; function TJSPerformanceNavigationTiming._GetdomInteractive: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domInteractive'); end; function TJSPerformanceNavigationTiming._GetdomContentLoadedEventStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domContentLoadedEventStart'); end; function TJSPerformanceNavigationTiming._GetdomContentLoadedEventEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domContentLoadedEventEnd'); end; function TJSPerformanceNavigationTiming._GetdomComplete: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domComplete'); end; function TJSPerformanceNavigationTiming._GetloadEventStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('loadEventStart'); end; function TJSPerformanceNavigationTiming._GetloadEventEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('loadEventEnd'); end; function TJSPerformanceNavigationTiming._Gettype_: TNavigationType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSPerformanceNavigationTiming._GetredirectCount: Word; begin Result:=ReadJSPropertyLongInt('redirectCount'); end; function TJSPerformanceNavigationTiming.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceNavigationTiming.JSClassName: UnicodeString; begin Result:='PerformanceNavigationTiming'; end; class function TJSPerformanceNavigationTiming.Cast(const Intf: IJSObject): IJSPerformanceNavigationTiming; begin Result:=TJSPerformanceNavigationTiming.JOBCast(Intf); end; function TJSPerformanceObserverInit._GetentryTypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('entryTypes',TJSArray) as TUnicodeStringDynArray; end; function TJSPerformanceObserverInit._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSPerformanceObserverInit._Getbuffered: Boolean; begin Result:=ReadJSPropertyBoolean('buffered'); end; function TJSPerformanceObserverInit._GetdurationThreshold: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('durationThreshold'); end; procedure TJSPerformanceObserverInit._SetentryTypes(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('entryTypes',aValue); end; procedure TJSPerformanceObserverInit._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSPerformanceObserverInit._Setbuffered(const aValue : Boolean); begin WriteJSPropertyBoolean('buffered',aValue); end; procedure TJSPerformanceObserverInit._SetdurationThreshold(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('durationThreshold',aValue); end; constructor TJSPerformanceObserverInit.create(const aDict : TJSPerformanceObserverInitRec); overload; begin Self.entryTypes:=aDict.entryTypes; Self.type_:=aDict.type_; Self.buffered:=aDict.buffered; Self.durationThreshold:=aDict.durationThreshold; end; class function TJSPerformanceObserverInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPerformanceObserverInit.Cast(const Intf: IJSObject): IJSPerformanceObserverInit; begin Result:=TJSPerformanceObserverInit.JOBCast(Intf); end; function TJSPerformanceObserver._GetsupportedEntryTypes: IJSObject; begin Result:=ReadJSPropertyObject('supportedEntryTypes',TJSObject) as IJSObject; end; constructor TJSPerformanceObserver.Create(const aCallback: TPerformanceObserverCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallPerformanceObserverCallback); try JOBCreate([m]); finally m.free; end; end; procedure TJSPerformanceObserver.observe(const aOptions: IJSPerformanceObserverInit); begin InvokeJSNoResult('observe',[aOptions]); end; procedure TJSPerformanceObserver.observe; begin InvokeJSNoResult('observe',[]); end; procedure TJSPerformanceObserver.disconnect; begin InvokeJSNoResult('disconnect',[]); end; function TJSPerformanceObserver.takeRecords: TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('takeRecords',[],TJSArray) as TPerformanceEntryListDynArray; end; class function TJSPerformanceObserver.JSClassName: UnicodeString; begin Result:='PerformanceObserver'; end; class function TJSPerformanceObserver.Cast(const Intf: IJSObject): IJSPerformanceObserver; begin Result:=TJSPerformanceObserver.JOBCast(Intf); end; function TJSPerformanceEntryFilterOptions._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPerformanceEntryFilterOptions._GetentryType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('entryType'); end; function TJSPerformanceEntryFilterOptions._GetinitiatorType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('initiatorType'); end; procedure TJSPerformanceEntryFilterOptions._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSPerformanceEntryFilterOptions._SetentryType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('entryType',aValue); end; procedure TJSPerformanceEntryFilterOptions._SetinitiatorType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('initiatorType',aValue); end; constructor TJSPerformanceEntryFilterOptions.create(const aDict : TJSPerformanceEntryFilterOptionsRec); overload; begin Self.name:=aDict.name; Self.entryType:=aDict.entryType; Self.initiatorType:=aDict.initiatorType; end; class function TJSPerformanceEntryFilterOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPerformanceEntryFilterOptions.Cast(const Intf: IJSObject): IJSPerformanceEntryFilterOptions; begin Result:=TJSPerformanceEntryFilterOptions.JOBCast(Intf); end; function TJSPerformanceObserverEntryList.getEntries(const aFilter: IJSPerformanceEntryFilterOptions): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntries',[aFilter],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformanceObserverEntryList.getEntries: TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntries',[],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformanceObserverEntryList.getEntriesByType(const aEntryType: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByType',[aEntryType],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformanceObserverEntryList.getEntriesByName(const aName: UnicodeString; const aEntryType: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByName',[aName,aEntryType],TJSArray) as TPerformanceEntryListDynArray; end; function TJSPerformanceObserverEntryList.getEntriesByName(const aName: UnicodeString): TPerformanceEntryListDynArray; begin Result:=InvokeJSObjectResult('getEntriesByName',[aName],TJSArray) as TPerformanceEntryListDynArray; end; class function TJSPerformanceObserverEntryList.JSClassName: UnicodeString; begin Result:='PerformanceObserverEntryList'; end; class function TJSPerformanceObserverEntryList.Cast(const Intf: IJSObject): IJSPerformanceObserverEntryList; begin Result:=TJSPerformanceObserverEntryList.JOBCast(Intf); end; class function TJSPerformancePaintTiming.JSClassName: UnicodeString; begin Result:='PerformancePaintTiming'; end; class function TJSPerformancePaintTiming.Cast(const Intf: IJSObject): IJSPerformancePaintTiming; begin Result:=TJSPerformancePaintTiming.JOBCast(Intf); end; function TJSPerformanceResourceTiming._GetinitiatorType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('initiatorType'); end; function TJSPerformanceResourceTiming._GetnextHopProtocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('nextHopProtocol'); end; function TJSPerformanceResourceTiming._GetworkerStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('workerStart'); end; function TJSPerformanceResourceTiming._GetredirectStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('redirectStart'); end; function TJSPerformanceResourceTiming._GetredirectEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('redirectEnd'); end; function TJSPerformanceResourceTiming._GetfetchStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('fetchStart'); end; function TJSPerformanceResourceTiming._GetdomainLookupStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domainLookupStart'); end; function TJSPerformanceResourceTiming._GetdomainLookupEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('domainLookupEnd'); end; function TJSPerformanceResourceTiming._GetconnectStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('connectStart'); end; function TJSPerformanceResourceTiming._GetconnectEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('connectEnd'); end; function TJSPerformanceResourceTiming._GetsecureConnectionStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('secureConnectionStart'); end; function TJSPerformanceResourceTiming._GetrequestStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('requestStart'); end; function TJSPerformanceResourceTiming._GetresponseStart: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('responseStart'); end; function TJSPerformanceResourceTiming._GetresponseEnd: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('responseEnd'); end; function TJSPerformanceResourceTiming._GettransferSize: QWord; begin Result:=ReadJSPropertyInt64('transferSize'); end; function TJSPerformanceResourceTiming._GetencodedBodySize: QWord; begin Result:=ReadJSPropertyInt64('encodedBodySize'); end; function TJSPerformanceResourceTiming._GetdecodedBodySize: QWord; begin Result:=ReadJSPropertyInt64('decodedBodySize'); end; function TJSPerformanceResourceTiming._GetserverTiming: TJSPerformanceServerTimingDynArray; begin Result:=ReadJSPropertyObject('serverTiming',TJSArray) as TJSPerformanceServerTimingDynArray; end; function TJSPerformanceResourceTiming.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceResourceTiming.JSClassName: UnicodeString; begin Result:='PerformanceResourceTiming'; end; class function TJSPerformanceResourceTiming.Cast(const Intf: IJSObject): IJSPerformanceResourceTiming; begin Result:=TJSPerformanceResourceTiming.JOBCast(Intf); end; function TJSPerformanceServerTiming._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPerformanceServerTiming._Getduration: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSPerformanceServerTiming._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; function TJSPerformanceServerTiming.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceServerTiming.JSClassName: UnicodeString; begin Result:='PerformanceServerTiming'; end; class function TJSPerformanceServerTiming.Cast(const Intf: IJSObject): IJSPerformanceServerTiming; begin Result:=TJSPerformanceServerTiming.JOBCast(Intf); end; function TJSPerformanceTiming._GetnavigationStart: QWord; begin Result:=ReadJSPropertyInt64('navigationStart'); end; function TJSPerformanceTiming._GetunloadEventStart: QWord; begin Result:=ReadJSPropertyInt64('unloadEventStart'); end; function TJSPerformanceTiming._GetunloadEventEnd: QWord; begin Result:=ReadJSPropertyInt64('unloadEventEnd'); end; function TJSPerformanceTiming._GetredirectStart: QWord; begin Result:=ReadJSPropertyInt64('redirectStart'); end; function TJSPerformanceTiming._GetredirectEnd: QWord; begin Result:=ReadJSPropertyInt64('redirectEnd'); end; function TJSPerformanceTiming._GetfetchStart: QWord; begin Result:=ReadJSPropertyInt64('fetchStart'); end; function TJSPerformanceTiming._GetdomainLookupStart: QWord; begin Result:=ReadJSPropertyInt64('domainLookupStart'); end; function TJSPerformanceTiming._GetdomainLookupEnd: QWord; begin Result:=ReadJSPropertyInt64('domainLookupEnd'); end; function TJSPerformanceTiming._GetconnectStart: QWord; begin Result:=ReadJSPropertyInt64('connectStart'); end; function TJSPerformanceTiming._GetconnectEnd: QWord; begin Result:=ReadJSPropertyInt64('connectEnd'); end; function TJSPerformanceTiming._GetsecureConnectionStart: QWord; begin Result:=ReadJSPropertyInt64('secureConnectionStart'); end; function TJSPerformanceTiming._GetrequestStart: QWord; begin Result:=ReadJSPropertyInt64('requestStart'); end; function TJSPerformanceTiming._GetresponseStart: QWord; begin Result:=ReadJSPropertyInt64('responseStart'); end; function TJSPerformanceTiming._GetresponseEnd: QWord; begin Result:=ReadJSPropertyInt64('responseEnd'); end; function TJSPerformanceTiming._GetdomLoading: QWord; begin Result:=ReadJSPropertyInt64('domLoading'); end; function TJSPerformanceTiming._GetdomInteractive: QWord; begin Result:=ReadJSPropertyInt64('domInteractive'); end; function TJSPerformanceTiming._GetdomContentLoadedEventStart: QWord; begin Result:=ReadJSPropertyInt64('domContentLoadedEventStart'); end; function TJSPerformanceTiming._GetdomContentLoadedEventEnd: QWord; begin Result:=ReadJSPropertyInt64('domContentLoadedEventEnd'); end; function TJSPerformanceTiming._GetdomComplete: QWord; begin Result:=ReadJSPropertyInt64('domComplete'); end; function TJSPerformanceTiming._GetloadEventStart: QWord; begin Result:=ReadJSPropertyInt64('loadEventStart'); end; function TJSPerformanceTiming._GetloadEventEnd: QWord; begin Result:=ReadJSPropertyInt64('loadEventEnd'); end; function TJSPerformanceTiming._GettimeToNonBlankPaint: QWord; begin Result:=ReadJSPropertyInt64('timeToNonBlankPaint'); end; function TJSPerformanceTiming._GettimeToContentfulPaint: QWord; begin Result:=ReadJSPropertyInt64('timeToContentfulPaint'); end; function TJSPerformanceTiming._GettimeToDOMContentFlushed: QWord; begin Result:=ReadJSPropertyInt64('timeToDOMContentFlushed'); end; function TJSPerformanceTiming._GettimeToFirstInteractive: QWord; begin Result:=ReadJSPropertyInt64('timeToFirstInteractive'); end; function TJSPerformanceTiming.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSPerformanceTiming.JSClassName: UnicodeString; begin Result:='PerformanceTiming'; end; class function TJSPerformanceTiming.Cast(const Intf: IJSObject): IJSPerformanceTiming; begin Result:=TJSPerformanceTiming.JOBCast(Intf); end; function TJSPeriodicWaveConstraints._GetdisableNormalization: Boolean; begin Result:=ReadJSPropertyBoolean('disableNormalization'); end; procedure TJSPeriodicWaveConstraints._SetdisableNormalization(const aValue : Boolean); begin WriteJSPropertyBoolean('disableNormalization',aValue); end; constructor TJSPeriodicWaveConstraints.create(const aDict : TJSPeriodicWaveConstraintsRec); overload; begin Self.disableNormalization:=aDict.disableNormalization; end; class function TJSPeriodicWaveConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPeriodicWaveConstraints.Cast(const Intf: IJSObject): IJSPeriodicWaveConstraints; begin Result:=TJSPeriodicWaveConstraints.JOBCast(Intf); end; function TJSPeriodicWaveOptions._Getreal: TSingleDynArray; begin Result:=ReadJSPropertyObject('real',TJSArray) as TSingleDynArray; end; function TJSPeriodicWaveOptions._Getimag: TSingleDynArray; begin Result:=ReadJSPropertyObject('imag',TJSArray) as TSingleDynArray; end; procedure TJSPeriodicWaveOptions._Setreal(const aValue : TSingleDynArray); begin WriteJSPropertyObject('real',aValue); end; procedure TJSPeriodicWaveOptions._Setimag(const aValue : TSingleDynArray); begin WriteJSPropertyObject('imag',aValue); end; constructor TJSPeriodicWaveOptions.create(const aDict : TJSPeriodicWaveOptionsRec); overload; begin Self.real:=aDict.real; Self.imag:=aDict.imag; end; class function TJSPeriodicWaveOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPeriodicWaveOptions.Cast(const Intf: IJSObject): IJSPeriodicWaveOptions; begin Result:=TJSPeriodicWaveOptions.JOBCast(Intf); end; constructor TJSPeriodicWave.Create(aContext: IJSBaseAudioContext; const aOptions: IJSPeriodicWaveOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSPeriodicWave.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSPeriodicWave.JSClassName: UnicodeString; begin Result:='PeriodicWave'; end; class function TJSPeriodicWave.Cast(const Intf: IJSObject): IJSPeriodicWave; begin Result:=TJSPeriodicWave.JOBCast(Intf); end; function TJSPermissionDescriptor._Getname: TPermissionName; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSPermissionDescriptor._Setname(const aValue : TPermissionName); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSPermissionDescriptor.create(const aDict : TJSPermissionDescriptorRec); overload; begin Self.name:=aDict.name; end; class function TJSPermissionDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPermissionDescriptor.Cast(const Intf: IJSObject): IJSPermissionDescriptor; begin Result:=TJSPermissionDescriptor.JOBCast(Intf); end; function TJSMidiPermissionDescriptor._Getsysex: Boolean; begin Result:=ReadJSPropertyBoolean('sysex'); end; procedure TJSMidiPermissionDescriptor._Setsysex(const aValue : Boolean); begin WriteJSPropertyBoolean('sysex',aValue); end; constructor TJSMidiPermissionDescriptor.create(const aDict : TJSMidiPermissionDescriptorRec); overload; begin Self.sysex:=aDict.sysex; end; class function TJSMidiPermissionDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMidiPermissionDescriptor.Cast(const Intf: IJSObject): IJSMidiPermissionDescriptor; begin Result:=TJSMidiPermissionDescriptor.JOBCast(Intf); end; function TJSPermissions.query(aPermission: IJSObject): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('query',[aPermission],TJSPromise) as IJSPromise; end; class function TJSPermissions.JSClassName: UnicodeString; begin Result:='Permissions'; end; class function TJSPermissions.Cast(const Intf: IJSObject): IJSPermissions; begin Result:=TJSPermissions.JOBCast(Intf); end; function TJSPermissionStatus._Getname: TPermissionName; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPermissionStatus._Getstate: TPermissionState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSPermissionStatus._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; procedure TJSPermissionStatus._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; class function TJSPermissionStatus.JSClassName: UnicodeString; begin Result:='PermissionStatus'; end; class function TJSPermissionStatus.Cast(const Intf: IJSObject): IJSPermissionStatus; begin Result:=TJSPermissionStatus.JOBCast(Intf); end; function TJSPlugin._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; function TJSPlugin._Getfilename: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('filename'); end; function TJSPlugin._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPlugin._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSPlugin.item(aIndex: Cardinal): IJSMimeType; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSMimeType) as IJSMimeType; end; function TJSPlugin.namedItem(const aName: UnicodeString): IJSMimeType; begin Result:=InvokeJSObjectResult('namedItem',[aName],TJSMimeType) as IJSMimeType; end; class function TJSPlugin.JSClassName: UnicodeString; begin Result:='Plugin'; end; class function TJSPlugin.Cast(const Intf: IJSObject): IJSPlugin; begin Result:=TJSPlugin.JOBCast(Intf); end; function TJSPluginArray._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSPluginArray.refresh; begin InvokeJSNoResult('refresh',[]); end; function TJSPluginArray.item(aIndex: Cardinal): IJSPlugin; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSPlugin) as IJSPlugin; end; function TJSPluginArray.namedItem(const aName: UnicodeString): IJSPlugin; begin Result:=InvokeJSObjectResult('namedItem',[aName],TJSPlugin) as IJSPlugin; end; class function TJSPluginArray.JSClassName: UnicodeString; begin Result:='PluginArray'; end; class function TJSPluginArray.Cast(const Intf: IJSObject): IJSPluginArray; begin Result:=TJSPluginArray.JOBCast(Intf); end; function TJSPointerEvent._GetpointerId: LongInt; begin Result:=ReadJSPropertyLongInt('pointerId'); end; function TJSPointerEvent._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSPointerEvent._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; function TJSPointerEvent._Getpressure: Single; begin Result:=ReadJSPropertyDouble('pressure'); end; function TJSPointerEvent._GettangentialPressure: Single; begin Result:=ReadJSPropertyDouble('tangentialPressure'); end; function TJSPointerEvent._GettiltX: LongInt; begin Result:=ReadJSPropertyLongInt('tiltX'); end; function TJSPointerEvent._GettiltY: LongInt; begin Result:=ReadJSPropertyLongInt('tiltY'); end; function TJSPointerEvent._Gettwist: LongInt; begin Result:=ReadJSPropertyLongInt('twist'); end; function TJSPointerEvent._GetpointerType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pointerType'); end; function TJSPointerEvent._GetisPrimary: Boolean; begin Result:=ReadJSPropertyBoolean('isPrimary'); end; constructor TJSPointerEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPointerEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPointerEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; function TJSPointerEvent.getCoalescedEvents: TJSPointerEventDynArray; begin Result:=InvokeJSObjectResult('getCoalescedEvents',[],TJSArray) as TJSPointerEventDynArray; end; function TJSPointerEvent.getPredictedEvents: TJSPointerEventDynArray; begin Result:=InvokeJSObjectResult('getPredictedEvents',[],TJSArray) as TJSPointerEventDynArray; end; class function TJSPointerEvent.JSClassName: UnicodeString; begin Result:='PointerEvent'; end; class function TJSPointerEvent.Cast(const Intf: IJSObject): IJSPointerEvent; begin Result:=TJSPointerEvent.JOBCast(Intf); end; function TJSPointerEventInit._GetpointerId: LongInt; begin Result:=ReadJSPropertyLongInt('pointerId'); end; function TJSPointerEventInit._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSPointerEventInit._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; function TJSPointerEventInit._Getpressure: Single; begin Result:=ReadJSPropertyDouble('pressure'); end; function TJSPointerEventInit._GettangentialPressure: Single; begin Result:=ReadJSPropertyDouble('tangentialPressure'); end; function TJSPointerEventInit._GettiltX: LongInt; begin Result:=ReadJSPropertyLongInt('tiltX'); end; function TJSPointerEventInit._GettiltY: LongInt; begin Result:=ReadJSPropertyLongInt('tiltY'); end; function TJSPointerEventInit._Gettwist: LongInt; begin Result:=ReadJSPropertyLongInt('twist'); end; function TJSPointerEventInit._GetpointerType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pointerType'); end; function TJSPointerEventInit._GetisPrimary: Boolean; begin Result:=ReadJSPropertyBoolean('isPrimary'); end; function TJSPointerEventInit._GetcoalescedEvents: TJSPointerEventDynArray; begin Result:=ReadJSPropertyObject('coalescedEvents',TJSArray) as TJSPointerEventDynArray; end; function TJSPointerEventInit._GetpredictedEvents: TJSPointerEventDynArray; begin Result:=ReadJSPropertyObject('predictedEvents',TJSArray) as TJSPointerEventDynArray; end; procedure TJSPointerEventInit._SetpointerId(const aValue : LongInt); begin WriteJSPropertyLongInt('pointerId',aValue); end; procedure TJSPointerEventInit._Setwidth(const aValue : LongInt); begin WriteJSPropertyLongInt('width',aValue); end; procedure TJSPointerEventInit._Setheight(const aValue : LongInt); begin WriteJSPropertyLongInt('height',aValue); end; procedure TJSPointerEventInit._Setpressure(const aValue : Single); begin WriteJSPropertyDouble('pressure',aValue); end; procedure TJSPointerEventInit._SettangentialPressure(const aValue : Single); begin WriteJSPropertyDouble('tangentialPressure',aValue); end; procedure TJSPointerEventInit._SettiltX(const aValue : LongInt); begin WriteJSPropertyLongInt('tiltX',aValue); end; procedure TJSPointerEventInit._SettiltY(const aValue : LongInt); begin WriteJSPropertyLongInt('tiltY',aValue); end; procedure TJSPointerEventInit._Settwist(const aValue : LongInt); begin WriteJSPropertyLongInt('twist',aValue); end; procedure TJSPointerEventInit._SetpointerType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pointerType',aValue); end; procedure TJSPointerEventInit._SetisPrimary(const aValue : Boolean); begin WriteJSPropertyBoolean('isPrimary',aValue); end; procedure TJSPointerEventInit._SetcoalescedEvents(const aValue : TJSPointerEventDynArray); begin WriteJSPropertyObject('coalescedEvents',aValue); end; procedure TJSPointerEventInit._SetpredictedEvents(const aValue : TJSPointerEventDynArray); begin WriteJSPropertyObject('predictedEvents',aValue); end; constructor TJSPointerEventInit.create(const aDict : TJSPointerEventInitRec); overload; begin Self.pointerId:=aDict.pointerId; Self.width:=aDict.width; Self.height:=aDict.height; Self.pressure:=aDict.pressure; Self.tangentialPressure:=aDict.tangentialPressure; Self.tiltX:=aDict.tiltX; Self.tiltY:=aDict.tiltY; Self.twist:=aDict.twist; Self.pointerType:=aDict.pointerType; Self.isPrimary:=aDict.isPrimary; Self.coalescedEvents:=aDict.coalescedEvents; Self.predictedEvents:=aDict.predictedEvents; end; class function TJSPointerEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPointerEventInit.Cast(const Intf: IJSObject): IJSPointerEventInit; begin Result:=TJSPointerEventInit.JOBCast(Intf); end; function TJSPopoverInvokerElement._GetpopoverTargetElement: IJSElement; begin Result:=ReadJSPropertyObject('popoverTargetElement',TJSElement) as IJSElement; end; function TJSPopoverInvokerElement._GetpopoverTargetAction: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popoverTargetAction'); end; procedure TJSPopoverInvokerElement._SetpopoverTargetElement(const aValue : IJSElement); begin WriteJSPropertyObject('popoverTargetElement',aValue); end; procedure TJSPopoverInvokerElement._SetpopoverTargetAction(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popoverTargetAction',aValue); end; class function TJSPopoverInvokerElement.JSClassName: UnicodeString; begin Result:='PopoverInvokerElement'; end; class function TJSPopoverInvokerElement.Cast(const Intf: IJSObject): IJSPopoverInvokerElement; begin Result:=TJSPopoverInvokerElement.JOBCast(Intf); end; function TJSPopStateEvent._Getstate: Variant; begin Result:=ReadJSPropertyVariant('state'); end; constructor TJSPopStateEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPopStateEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPopStateEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSPopStateEvent.JSClassName: UnicodeString; begin Result:='PopStateEvent'; end; class function TJSPopStateEvent.Cast(const Intf: IJSObject): IJSPopStateEvent; begin Result:=TJSPopStateEvent.JOBCast(Intf); end; function TJSPopStateEventInit._Getstate: Variant; begin Result:=ReadJSPropertyVariant('state'); end; procedure TJSPopStateEventInit._Setstate(const aValue : Variant); begin WriteJSPropertyVariant('state',aValue); end; constructor TJSPopStateEventInit.create(const aDict : TJSPopStateEventInitRec); overload; begin Self.state:=aDict.state; end; class function TJSPopStateEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPopStateEventInit.Cast(const Intf: IJSObject): IJSPopStateEventInit; begin Result:=TJSPopStateEventInit.JOBCast(Intf); end; function TJSPopupBlockedEvent._GetrequestingWindow: IJSWindow; begin Result:=ReadJSPropertyObject('requestingWindow',TJSWindow) as IJSWindow; end; function TJSPopupBlockedEvent._GetpopupWindowURI: IJSURI; begin Result:=ReadJSPropertyObject('popupWindowURI',TJSURI) as IJSURI; end; function TJSPopupBlockedEvent._GetpopupWindowName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popupWindowName'); end; function TJSPopupBlockedEvent._GetpopupWindowFeatures: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popupWindowFeatures'); end; constructor TJSPopupBlockedEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPopupBlockedEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPopupBlockedEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSPopupBlockedEvent.JSClassName: UnicodeString; begin Result:='PopupBlockedEvent'; end; class function TJSPopupBlockedEvent.Cast(const Intf: IJSObject): IJSPopupBlockedEvent; begin Result:=TJSPopupBlockedEvent.JOBCast(Intf); end; function TJSPopupBlockedEventInit._GetrequestingWindow: IJSWindow; begin Result:=ReadJSPropertyObject('requestingWindow',TJSWindow) as IJSWindow; end; function TJSPopupBlockedEventInit._GetpopupWindowURI: IJSURI; begin Result:=ReadJSPropertyObject('popupWindowURI',TJSURI) as IJSURI; end; function TJSPopupBlockedEventInit._GetpopupWindowName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popupWindowName'); end; function TJSPopupBlockedEventInit._GetpopupWindowFeatures: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('popupWindowFeatures'); end; procedure TJSPopupBlockedEventInit._SetrequestingWindow(const aValue : IJSWindow); begin WriteJSPropertyObject('requestingWindow',aValue); end; procedure TJSPopupBlockedEventInit._SetpopupWindowURI(const aValue : IJSURI); begin WriteJSPropertyObject('popupWindowURI',aValue); end; procedure TJSPopupBlockedEventInit._SetpopupWindowName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popupWindowName',aValue); end; procedure TJSPopupBlockedEventInit._SetpopupWindowFeatures(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('popupWindowFeatures',aValue); end; constructor TJSPopupBlockedEventInit.create(const aDict : TJSPopupBlockedEventInitRec); overload; begin Self.requestingWindow:=aDict.requestingWindow; Self.popupWindowURI:=aDict.popupWindowURI; Self.popupWindowName:=aDict.popupWindowName; Self.popupWindowFeatures:=aDict.popupWindowFeatures; end; class function TJSPopupBlockedEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPopupBlockedEventInit.Cast(const Intf: IJSObject): IJSPopupBlockedEventInit; begin Result:=TJSPopupBlockedEventInit.JOBCast(Intf); end; function TJSPositionStateEventInit._Getduration: Double; begin Result:=ReadJSPropertyDouble('duration'); end; function TJSPositionStateEventInit._GetplaybackRate: Double; begin Result:=ReadJSPropertyDouble('playbackRate'); end; function TJSPositionStateEventInit._Getposition: Double; begin Result:=ReadJSPropertyDouble('position'); end; procedure TJSPositionStateEventInit._Setduration(const aValue : Double); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSPositionStateEventInit._SetplaybackRate(const aValue : Double); begin WriteJSPropertyDouble('playbackRate',aValue); end; procedure TJSPositionStateEventInit._Setposition(const aValue : Double); begin WriteJSPropertyDouble('position',aValue); end; constructor TJSPositionStateEventInit.create(const aDict : TJSPositionStateEventInitRec); overload; begin Self.duration:=aDict.duration; Self.playbackRate:=aDict.playbackRate; Self.position:=aDict.position; end; class function TJSPositionStateEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPositionStateEventInit.Cast(const Intf: IJSObject): IJSPositionStateEventInit; begin Result:=TJSPositionStateEventInit.JOBCast(Intf); end; function TJSProcessingInstruction._Gettarget: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('target'); end; function TJSProcessingInstruction._Getsheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('sheet',TJSStyleSheet) as IJSStyleSheet; end; class function TJSProcessingInstruction.JSClassName: UnicodeString; begin Result:='ProcessingInstruction'; end; class function TJSProcessingInstruction.Cast(const Intf: IJSObject): IJSProcessingInstruction; begin Result:=TJSProcessingInstruction.JOBCast(Intf); end; function TJSProgressEvent._GetlengthComputable: Boolean; begin Result:=ReadJSPropertyBoolean('lengthComputable'); end; function TJSProgressEvent._Getloaded: QWord; begin Result:=ReadJSPropertyInt64('loaded'); end; function TJSProgressEvent._Gettotal: QWord; begin Result:=ReadJSPropertyInt64('total'); end; constructor TJSProgressEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSProgressEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSProgressEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSProgressEvent.JSClassName: UnicodeString; begin Result:='ProgressEvent'; end; class function TJSProgressEvent.Cast(const Intf: IJSObject): IJSProgressEvent; begin Result:=TJSProgressEvent.JOBCast(Intf); end; function TJSProgressEventInit._GetlengthComputable: Boolean; begin Result:=ReadJSPropertyBoolean('lengthComputable'); end; function TJSProgressEventInit._Getloaded: QWord; begin Result:=ReadJSPropertyInt64('loaded'); end; function TJSProgressEventInit._Gettotal: QWord; begin Result:=ReadJSPropertyInt64('total'); end; procedure TJSProgressEventInit._SetlengthComputable(const aValue : Boolean); begin WriteJSPropertyBoolean('lengthComputable',aValue); end; procedure TJSProgressEventInit._Setloaded(const aValue : QWord); begin WriteJSPropertyDouble('loaded',aValue); end; procedure TJSProgressEventInit._Settotal(const aValue : QWord); begin WriteJSPropertyDouble('total',aValue); end; constructor TJSProgressEventInit.create(const aDict : TJSProgressEventInitRec); overload; begin Self.lengthComputable:=aDict.lengthComputable; Self.loaded:=aDict.loaded; Self.total:=aDict.total; end; class function TJSProgressEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSProgressEventInit.Cast(const Intf: IJSObject): IJSProgressEventInit; begin Result:=TJSProgressEventInit.JOBCast(Intf); end; class function TJSPromiseNativeHandler.JSClassName: UnicodeString; begin Result:='PromiseNativeHandler'; end; class function TJSPromiseNativeHandler.Cast(const Intf: IJSObject): IJSPromiseNativeHandler; begin Result:=TJSPromiseNativeHandler.JOBCast(Intf); end; function TJSPromiseRejectionEvent._Getpromise: IJSPromise; begin Result:=ReadJSPropertyObject('promise',TJSPromise) as IJSPromise; end; function TJSPromiseRejectionEvent._Getreason: Variant; begin Result:=ReadJSPropertyVariant('reason'); end; constructor TJSPromiseRejectionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPromiseRejectionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSPromiseRejectionEvent.JSClassName: UnicodeString; begin Result:='PromiseRejectionEvent'; end; class function TJSPromiseRejectionEvent.Cast(const Intf: IJSObject): IJSPromiseRejectionEvent; begin Result:=TJSPromiseRejectionEvent.JOBCast(Intf); end; function TJSPromiseRejectionEventInit._Getpromise: IJSPromise; begin Result:=ReadJSPropertyObject('promise',TJSPromise) as IJSPromise; end; function TJSPromiseRejectionEventInit._Getreason: Variant; begin Result:=ReadJSPropertyVariant('reason'); end; procedure TJSPromiseRejectionEventInit._Setpromise(const aValue : IJSPromise); begin WriteJSPropertyObject('promise',aValue); end; procedure TJSPromiseRejectionEventInit._Setreason(const aValue : Variant); begin WriteJSPropertyVariant('reason',aValue); end; constructor TJSPromiseRejectionEventInit.create(const aDict : TJSPromiseRejectionEventInitRec); overload; begin Self.promise:=aDict.promise; Self.reason:=aDict.reason; end; class function TJSPromiseRejectionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPromiseRejectionEventInit.Cast(const Intf: IJSObject): IJSPromiseRejectionEventInit; begin Result:=TJSPromiseRejectionEventInit.JOBCast(Intf); end; function TJSPushEvent._Getdata: IJSPushMessageData; begin Result:=ReadJSPropertyObject('data',TJSPushMessageData) as IJSPushMessageData; end; constructor TJSPushEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSPushEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSPushEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSPushEvent.JSClassName: UnicodeString; begin Result:='PushEvent'; end; class function TJSPushEvent.Cast(const Intf: IJSObject): IJSPushEvent; begin Result:=TJSPushEvent.JOBCast(Intf); end; function TJSPushEventInit._Getdata: TPushMessageDataInit; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSPushEventInit._Setdata(const aValue : TPushMessageDataInit); begin WriteJSPropertyVariant('data',aValue); end; constructor TJSPushEventInit.create(const aDict : TJSPushEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSPushEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPushEventInit.Cast(const Intf: IJSObject): IJSPushEventInit; begin Result:=TJSPushEventInit.JOBCast(Intf); end; function TJSPushSubscriptionOptionsInit._GetapplicationServerKey: TPushSubscriptionOptionsInit_applicationServerKey_Type; begin Result:=ReadJSPropertyVariant('applicationServerKey'); end; procedure TJSPushSubscriptionOptionsInit._SetapplicationServerKey(const aValue : TPushSubscriptionOptionsInit_applicationServerKey_Type); begin WriteJSPropertyVariant('applicationServerKey',aValue); end; constructor TJSPushSubscriptionOptionsInit.create(const aDict : TJSPushSubscriptionOptionsInitRec); overload; begin Self.applicationServerKey:=aDict.applicationServerKey; end; class function TJSPushSubscriptionOptionsInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPushSubscriptionOptionsInit.Cast(const Intf: IJSObject): IJSPushSubscriptionOptionsInit; begin Result:=TJSPushSubscriptionOptionsInit.JOBCast(Intf); end; function TJSPushManager.subscribe(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('subscribe',[aOptions],TJSPromise) as IJSPromise; end; function TJSPushManager.subscribe: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('subscribe',[],TJSPromise) as IJSPromise; end; function TJSPushManager.getSubscription: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getSubscription',[],TJSPromise) as IJSPromise; end; function TJSPushManager.permissionState(const aOptions: IJSPushSubscriptionOptionsInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('permissionState',[aOptions],TJSPromise) as IJSPromise; end; function TJSPushManager.permissionState: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('permissionState',[],TJSPromise) as IJSPromise; end; class function TJSPushManager.JSClassName: UnicodeString; begin Result:='PushManager'; end; class function TJSPushManager.Cast(const Intf: IJSObject): IJSPushManager; begin Result:=TJSPushManager.JOBCast(Intf); end; function TJSPushMessageData.arrayBuffer: IJSArrayBuffer; begin Result:=InvokeJSObjectResult('arrayBuffer',[],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSPushMessageData.blob: IJSBlob; begin Result:=InvokeJSObjectResult('blob',[],TJSBlob) as IJSBlob; end; function TJSPushMessageData.json: Variant; begin Result:=InvokeJSVariantResult('json',[]); end; function TJSPushMessageData.text: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('text',[]); end; class function TJSPushMessageData.JSClassName: UnicodeString; begin Result:='PushMessageData'; end; class function TJSPushMessageData.Cast(const Intf: IJSObject): IJSPushMessageData; begin Result:=TJSPushMessageData.JOBCast(Intf); end; function TJSPushSubscriptionKeys._Getp256dh: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('p256dh'); end; function TJSPushSubscriptionKeys._Getauth: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('auth'); end; procedure TJSPushSubscriptionKeys._Setp256dh(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('p256dh',aValue); end; procedure TJSPushSubscriptionKeys._Setauth(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('auth',aValue); end; constructor TJSPushSubscriptionKeys.create(const aDict : TJSPushSubscriptionKeysRec); overload; begin Self.p256dh:=aDict.p256dh; Self.auth:=aDict.auth; end; class function TJSPushSubscriptionKeys.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPushSubscriptionKeys.Cast(const Intf: IJSObject): IJSPushSubscriptionKeys; begin Result:=TJSPushSubscriptionKeys.JOBCast(Intf); end; function TJSPushSubscriptionJSON._Getendpoint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('endpoint'); end; function TJSPushSubscriptionJSON._Getkeys: IJSPushSubscriptionKeys; begin Result:=ReadJSPropertyObject('keys',TJSPushSubscriptionKeys) as IJSPushSubscriptionKeys; end; function TJSPushSubscriptionJSON._GetexpirationTime: TEpochTimeStamp; begin Result:=ReadJSPropertyInt64('expirationTime'); end; procedure TJSPushSubscriptionJSON._Setendpoint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('endpoint',aValue); end; procedure TJSPushSubscriptionJSON._Setkeys(const aValue : IJSPushSubscriptionKeys); begin WriteJSPropertyObject('keys',aValue); end; procedure TJSPushSubscriptionJSON._SetexpirationTime(const aValue : TEpochTimeStamp); begin WriteJSPropertyDouble('expirationTime',aValue); end; constructor TJSPushSubscriptionJSON.create(const aDict : TJSPushSubscriptionJSONRec); overload; begin Self.endpoint:=aDict.endpoint; Self.keys:=aDict.keys; Self.expirationTime:=aDict.expirationTime; end; class function TJSPushSubscriptionJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPushSubscriptionJSON.Cast(const Intf: IJSObject): IJSPushSubscriptionJSON; begin Result:=TJSPushSubscriptionJSON.JOBCast(Intf); end; function TJSPushSubscriptionInit._Getendpoint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('endpoint'); end; function TJSPushSubscriptionInit._Getscope: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scope'); end; function TJSPushSubscriptionInit._Getp256dhKey: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('p256dhKey',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSPushSubscriptionInit._GetauthSecret: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('authSecret',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSPushSubscriptionInit._GetappServerKey: IJSBufferSource; begin Result:=ReadJSPropertyObject('appServerKey',TJSBufferSource) as IJSBufferSource; end; function TJSPushSubscriptionInit._GetexpirationTime: TEpochTimeStamp; begin Result:=ReadJSPropertyInt64('expirationTime'); end; procedure TJSPushSubscriptionInit._Setendpoint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('endpoint',aValue); end; procedure TJSPushSubscriptionInit._Setscope(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scope',aValue); end; procedure TJSPushSubscriptionInit._Setp256dhKey(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('p256dhKey',aValue); end; procedure TJSPushSubscriptionInit._SetauthSecret(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('authSecret',aValue); end; procedure TJSPushSubscriptionInit._SetappServerKey(const aValue : IJSBufferSource); begin WriteJSPropertyObject('appServerKey',aValue); end; procedure TJSPushSubscriptionInit._SetexpirationTime(const aValue : TEpochTimeStamp); begin WriteJSPropertyDouble('expirationTime',aValue); end; constructor TJSPushSubscriptionInit.create(const aDict : TJSPushSubscriptionInitRec); overload; begin Self.endpoint:=aDict.endpoint; Self.scope:=aDict.scope; Self.p256dhKey:=aDict.p256dhKey; Self.authSecret:=aDict.authSecret; Self.appServerKey:=aDict.appServerKey; Self.expirationTime:=aDict.expirationTime; end; class function TJSPushSubscriptionInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPushSubscriptionInit.Cast(const Intf: IJSObject): IJSPushSubscriptionInit; begin Result:=TJSPushSubscriptionInit.JOBCast(Intf); end; function TJSPushSubscription._Getendpoint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('endpoint'); end; function TJSPushSubscription._Getoptions: IJSPushSubscriptionOptions; begin Result:=ReadJSPropertyObject('options',TJSPushSubscriptionOptions) as IJSPushSubscriptionOptions; end; function TJSPushSubscription._GetexpirationTime: TEpochTimeStamp; begin Result:=ReadJSPropertyInt64('expirationTime'); end; function TJSPushSubscription.getKey(aName: TPushEncryptionKeyName): IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getKey',[aName],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSPushSubscription.unsubscribe: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unsubscribe',[],TJSPromise) as IJSPromise; end; function TJSPushSubscription.toJSON: IJSPushSubscriptionJSON; begin Result:=InvokeJSObjectResult('toJSON',[],TJSPushSubscriptionJSON) as IJSPushSubscriptionJSON; end; class function TJSPushSubscription.JSClassName: UnicodeString; begin Result:='PushSubscription'; end; class function TJSPushSubscription.Cast(const Intf: IJSObject): IJSPushSubscription; begin Result:=TJSPushSubscription.JOBCast(Intf); end; function TJSPushSubscriptionOptions._GetapplicationServerKey: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('applicationServerKey',TJSArrayBuffer) as IJSArrayBuffer; end; class function TJSPushSubscriptionOptions.JSClassName: UnicodeString; begin Result:='PushSubscriptionOptions'; end; class function TJSPushSubscriptionOptions.Cast(const Intf: IJSObject): IJSPushSubscriptionOptions; begin Result:=TJSPushSubscriptionOptions.JOBCast(Intf); end; function TJSQueuingStrategy._GethighWaterMark: Double; begin Result:=ReadJSPropertyDouble('highWaterMark'); end; function TJSQueuingStrategy._Getsize: TQueuingStrategySize; begin Result:=(TQueuingStrategySize(ReadJSPropertyMethod('size'))); end; procedure TJSQueuingStrategy._SethighWaterMark(const aValue : Double); begin WriteJSPropertyDouble('highWaterMark',aValue); end; procedure TJSQueuingStrategy._Setsize(const aValue : TQueuingStrategySize); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallQueuingStrategySize); try InvokeJSNoResult('size',[m],jiSet); finally m.free end; end; constructor TJSQueuingStrategy.create(const aDict : TJSQueuingStrategyRec); overload; begin Self.highWaterMark:=aDict.highWaterMark; Self.size:=aDict.size; end; class function TJSQueuingStrategy.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSQueuingStrategy.Cast(const Intf: IJSObject): IJSQueuingStrategy; begin Result:=TJSQueuingStrategy.JOBCast(Intf); end; function TJSQueuingStrategyInit._GethighWaterMark: Double; begin Result:=ReadJSPropertyDouble('highWaterMark'); end; procedure TJSQueuingStrategyInit._SethighWaterMark(const aValue : Double); begin WriteJSPropertyDouble('highWaterMark',aValue); end; constructor TJSQueuingStrategyInit.create(const aDict : TJSQueuingStrategyInitRec); overload; begin Self.highWaterMark:=aDict.highWaterMark; end; class function TJSQueuingStrategyInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSQueuingStrategyInit.Cast(const Intf: IJSObject): IJSQueuingStrategyInit; begin Result:=TJSQueuingStrategyInit.JOBCast(Intf); end; function TJSCountQueuingStrategy._GethighWaterMark: Double; begin Result:=ReadJSPropertyDouble('highWaterMark'); end; function TJSCountQueuingStrategy._Getsize: TFunction; begin Result:=(TFunction(ReadJSPropertyMethod('size'))); end; constructor TJSCountQueuingStrategy.Create(const aInit: IJSQueuingStrategyInit); begin JOBCreate([aInit]); end; class function TJSCountQueuingStrategy.JSClassName: UnicodeString; begin Result:='CountQueuingStrategy'; end; class function TJSCountQueuingStrategy.Cast(const Intf: IJSObject): IJSCountQueuingStrategy; begin Result:=TJSCountQueuingStrategy.JOBCast(Intf); end; function TJSByteLengthQueuingStrategy._GethighWaterMark: Double; begin Result:=ReadJSPropertyDouble('highWaterMark'); end; function TJSByteLengthQueuingStrategy._Getsize: TFunction; begin Result:=(TFunction(ReadJSPropertyMethod('size'))); end; constructor TJSByteLengthQueuingStrategy.Create(const aInit: IJSQueuingStrategyInit); begin JOBCreate([aInit]); end; class function TJSByteLengthQueuingStrategy.JSClassName: UnicodeString; begin Result:='ByteLengthQueuingStrategy'; end; class function TJSByteLengthQueuingStrategy.Cast(const Intf: IJSObject): IJSByteLengthQueuingStrategy; begin Result:=TJSByteLengthQueuingStrategy.JOBCast(Intf); end; function TJSRadioNodeList._Getvalue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('value'); end; procedure TJSRadioNodeList._Setvalue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('value',aValue); end; class function TJSRadioNodeList.JSClassName: UnicodeString; begin Result:='RadioNodeList'; end; class function TJSRadioNodeList.Cast(const Intf: IJSObject): IJSRadioNodeList; begin Result:=TJSRadioNodeList.JOBCast(Intf); end; function TJSRange._GetcommonAncestorContainer: IJSNode; begin Result:=ReadJSPropertyObject('commonAncestorContainer',TJSNode) as IJSNode; end; constructor TJSRange.Create; begin JOBCreate([]); end; procedure TJSRange.setStart(aRefNode: IJSNode; aOffset: Cardinal); begin InvokeJSNoResult('setStart',[aRefNode,aOffset]); end; procedure TJSRange.setEnd(aRefNode: IJSNode; aOffset: Cardinal); begin InvokeJSNoResult('setEnd',[aRefNode,aOffset]); end; procedure TJSRange.setStartBefore(aRefNode: IJSNode); begin InvokeJSNoResult('setStartBefore',[aRefNode]); end; procedure TJSRange.setStartAfter(aRefNode: IJSNode); begin InvokeJSNoResult('setStartAfter',[aRefNode]); end; procedure TJSRange.setEndBefore(aRefNode: IJSNode); begin InvokeJSNoResult('setEndBefore',[aRefNode]); end; procedure TJSRange.setEndAfter(aRefNode: IJSNode); begin InvokeJSNoResult('setEndAfter',[aRefNode]); end; procedure TJSRange.collapse(aToStart: Boolean); begin InvokeJSNoResult('collapse',[aToStart]); end; procedure TJSRange.collapse; begin InvokeJSNoResult('collapse',[]); end; procedure TJSRange.selectNode(aRefNode: IJSNode); begin InvokeJSNoResult('selectNode',[aRefNode]); end; procedure TJSRange.selectNodeContents(aRefNode: IJSNode); begin InvokeJSNoResult('selectNodeContents',[aRefNode]); end; function TJSRange.compareBoundaryPoints(aHow: Word; aSourceRange: IJSRange): SmallInt; begin Result:=InvokeJSLongIntResult('compareBoundaryPoints',[aHow,aSourceRange]); end; procedure TJSRange.deleteContents; begin InvokeJSNoResult('deleteContents',[]); end; function TJSRange.extractContents: IJSDocumentFragment; begin Result:=InvokeJSObjectResult('extractContents',[],TJSDocumentFragment) as IJSDocumentFragment; end; function TJSRange.cloneContents: IJSDocumentFragment; begin Result:=InvokeJSObjectResult('cloneContents',[],TJSDocumentFragment) as IJSDocumentFragment; end; procedure TJSRange.insertNode(aNode: IJSNode); begin InvokeJSNoResult('insertNode',[aNode]); end; procedure TJSRange.surroundContents(aNewParent: IJSNode); begin InvokeJSNoResult('surroundContents',[aNewParent]); end; function TJSRange.cloneRange: IJSRange; begin Result:=InvokeJSObjectResult('cloneRange',[],TJSRange) as IJSRange; end; procedure TJSRange.detach; begin InvokeJSNoResult('detach',[]); end; function TJSRange.isPointInRange(aNode: IJSNode; aOffset: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('isPointInRange',[aNode,aOffset]); end; function TJSRange.comparePoint(aNode: IJSNode; aOffset: Cardinal): SmallInt; begin Result:=InvokeJSLongIntResult('comparePoint',[aNode,aOffset]); end; function TJSRange.intersectsNode(aNode: IJSNode): Boolean; begin Result:=InvokeJSBooleanResult('intersectsNode',[aNode]); end; function TJSRange.createContextualFragment(const aFragment: UnicodeString): IJSDocumentFragment; begin Result:=InvokeJSObjectResult('createContextualFragment',[aFragment],TJSDocumentFragment) as IJSDocumentFragment; end; function TJSRange.getClientRects: IJSDOMRectList; begin Result:=InvokeJSObjectResult('getClientRects',[],TJSDOMRectList) as IJSDOMRectList; end; function TJSRange.getBoundingClientRect: IJSDOMRect; begin Result:=InvokeJSObjectResult('getBoundingClientRect',[],TJSDOMRect) as IJSDOMRect; end; class function TJSRange.JSClassName: UnicodeString; begin Result:='Range'; end; class function TJSRange.Cast(const Intf: IJSObject): IJSRange; begin Result:=TJSRange.JOBCast(Intf); end; function TJSClientRectsAndTexts._GetrectList: IJSDOMRectList; begin Result:=ReadJSPropertyObject('rectList',TJSDOMRectList) as IJSDOMRectList; end; function TJSClientRectsAndTexts._GettextList: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('textList',TJSArray) as TUnicodeStringDynArray; end; procedure TJSClientRectsAndTexts._SetrectList(const aValue : IJSDOMRectList); begin WriteJSPropertyObject('rectList',aValue); end; procedure TJSClientRectsAndTexts._SettextList(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('textList',aValue); end; constructor TJSClientRectsAndTexts.create(const aDict : TJSClientRectsAndTextsRec); overload; begin Self.rectList:=aDict.rectList; Self.textList:=aDict.textList; end; class function TJSClientRectsAndTexts.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSClientRectsAndTexts.Cast(const Intf: IJSObject): IJSClientRectsAndTexts; begin Result:=TJSClientRectsAndTexts.JOBCast(Intf); end; function TJSReadableByteStreamController._GetbyobRequest: IJSReadableStreamBYOBRequest; begin Result:=ReadJSPropertyObject('byobRequest',TJSReadableStreamBYOBRequest) as IJSReadableStreamBYOBRequest; end; function TJSReadableByteStreamController._GetdesiredSize: Double; begin Result:=ReadJSPropertyDouble('desiredSize'); end; procedure TJSReadableByteStreamController.close; begin InvokeJSNoResult('close',[]); end; procedure TJSReadableByteStreamController.enqueue(aChunk: IJSArrayBufferView); begin InvokeJSNoResult('enqueue',[aChunk]); end; procedure TJSReadableByteStreamController.error(const aE: Variant); begin InvokeJSNoResult('error',[aE]); end; procedure TJSReadableByteStreamController.error; begin InvokeJSNoResult('error',[]); end; class function TJSReadableByteStreamController.JSClassName: UnicodeString; begin Result:='ReadableByteStreamController'; end; class function TJSReadableByteStreamController.Cast(const Intf: IJSObject): IJSReadableByteStreamController; begin Result:=TJSReadableByteStreamController.JOBCast(Intf); end; function TJSReadableStream._Getlocked: Boolean; begin Result:=ReadJSPropertyBoolean('locked'); end; constructor TJSReadableStream.Create(aUnderlyingSource: IJSObject; const aStrategy: IJSQueuingStrategy); begin JOBCreate([aUnderlyingSource,aStrategy]); end; constructor TJSReadableStream.Create; begin JOBCreate([]); end; constructor TJSReadableStream.Create(aUnderlyingSource: IJSObject); begin JOBCreate([aUnderlyingSource]); end; function TJSReadableStream.from(const aAsyncIterable: Variant): IJSReadableStream; begin Result:=InvokeJSObjectResult('from',[aAsyncIterable],TJSReadableStream) as IJSReadableStream; end; function TJSReadableStream.cancel(const aReason: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('cancel',[aReason],TJSPromise) as IJSPromise; end; function TJSReadableStream.cancel: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('cancel',[],TJSPromise) as IJSPromise; end; function TJSReadableStream.getReader(const aOptions: IJSReadableStreamGetReaderOptions): TReadableStreamReader; begin Result:=InvokeJSVariantResult('getReader',[aOptions]); end; function TJSReadableStream.getReader: TReadableStreamReader; begin Result:=InvokeJSVariantResult('getReader',[]); end; function TJSReadableStream.pipeThrough(const aTransform: IJSReadableWritablePair; const aOptions: IJSStreamPipeOptions): IJSReadableStream; begin Result:=InvokeJSObjectResult('pipeThrough',[aTransform,aOptions],TJSReadableStream) as IJSReadableStream; end; function TJSReadableStream.pipeThrough(const aTransform: IJSReadableWritablePair): IJSReadableStream; begin Result:=InvokeJSObjectResult('pipeThrough',[aTransform],TJSReadableStream) as IJSReadableStream; end; function TJSReadableStream.pipeTo(aDestination: IJSWritableStream; const aOptions: IJSStreamPipeOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('pipeTo',[aDestination,aOptions],TJSPromise) as IJSPromise; end; function TJSReadableStream.pipeTo(aDestination: IJSWritableStream): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('pipeTo',[aDestination],TJSPromise) as IJSPromise; end; function TJSReadableStream.tee: TJSReadableStreamDynArray; begin Result:=InvokeJSObjectResult('tee',[],TJSArray) as TJSReadableStreamDynArray; end; class function TJSReadableStream.JSClassName: UnicodeString; begin Result:='ReadableStream'; end; class function TJSReadableStream.Cast(const Intf: IJSObject): IJSReadableStream; begin Result:=TJSReadableStream.JOBCast(Intf); end; function TJSReadableStreamGetReaderOptions._Getmode: TReadableStreamReaderMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; procedure TJSReadableStreamGetReaderOptions._Setmode(const aValue : TReadableStreamReaderMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; constructor TJSReadableStreamGetReaderOptions.create(const aDict : TJSReadableStreamGetReaderOptionsRec); overload; begin Self.mode:=aDict.mode; end; class function TJSReadableStreamGetReaderOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReadableStreamGetReaderOptions.Cast(const Intf: IJSObject): IJSReadableStreamGetReaderOptions; begin Result:=TJSReadableStreamGetReaderOptions.JOBCast(Intf); end; function TJSReadableStreamIteratorOptions._GetpreventCancel: Boolean; begin Result:=ReadJSPropertyBoolean('preventCancel'); end; procedure TJSReadableStreamIteratorOptions._SetpreventCancel(const aValue : Boolean); begin WriteJSPropertyBoolean('preventCancel',aValue); end; constructor TJSReadableStreamIteratorOptions.create(const aDict : TJSReadableStreamIteratorOptionsRec); overload; begin Self.preventCancel:=aDict.preventCancel; end; class function TJSReadableStreamIteratorOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReadableStreamIteratorOptions.Cast(const Intf: IJSObject): IJSReadableStreamIteratorOptions; begin Result:=TJSReadableStreamIteratorOptions.JOBCast(Intf); end; function TJSReadableWritablePair._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSReadableWritablePair._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; procedure TJSReadableWritablePair._Setreadable(const aValue : IJSReadableStream); begin WriteJSPropertyObject('readable',aValue); end; procedure TJSReadableWritablePair._Setwritable(const aValue : IJSWritableStream); begin WriteJSPropertyObject('writable',aValue); end; constructor TJSReadableWritablePair.create(const aDict : TJSReadableWritablePairRec); overload; begin Self.readable:=aDict.readable; Self.writable:=aDict.writable; end; class function TJSReadableWritablePair.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReadableWritablePair.Cast(const Intf: IJSObject): IJSReadableWritablePair; begin Result:=TJSReadableWritablePair.JOBCast(Intf); end; function TJSStreamPipeOptions._GetpreventClose: Boolean; begin Result:=ReadJSPropertyBoolean('preventClose'); end; function TJSStreamPipeOptions._GetpreventAbort: Boolean; begin Result:=ReadJSPropertyBoolean('preventAbort'); end; function TJSStreamPipeOptions._GetpreventCancel: Boolean; begin Result:=ReadJSPropertyBoolean('preventCancel'); end; function TJSStreamPipeOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; procedure TJSStreamPipeOptions._SetpreventClose(const aValue : Boolean); begin WriteJSPropertyBoolean('preventClose',aValue); end; procedure TJSStreamPipeOptions._SetpreventAbort(const aValue : Boolean); begin WriteJSPropertyBoolean('preventAbort',aValue); end; procedure TJSStreamPipeOptions._SetpreventCancel(const aValue : Boolean); begin WriteJSPropertyBoolean('preventCancel',aValue); end; procedure TJSStreamPipeOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; constructor TJSStreamPipeOptions.create(const aDict : TJSStreamPipeOptionsRec); overload; begin Self.preventClose:=aDict.preventClose; Self.preventAbort:=aDict.preventAbort; Self.preventCancel:=aDict.preventCancel; Self.signal:=aDict.signal; end; class function TJSStreamPipeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStreamPipeOptions.Cast(const Intf: IJSObject): IJSStreamPipeOptions; begin Result:=TJSStreamPipeOptions.JOBCast(Intf); end; constructor TJSReadableStreamBYOBReader.Create(aStream: IJSReadableStream); begin JOBCreate([aStream]); end; function TJSReadableStreamBYOBReader.read(aView: IJSArrayBufferView): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('read',[aView],TJSPromise) as IJSPromise; end; procedure TJSReadableStreamBYOBReader.releaseLock; begin InvokeJSNoResult('releaseLock',[]); end; class function TJSReadableStreamBYOBReader.JSClassName: UnicodeString; begin Result:='ReadableStreamBYOBReader'; end; class function TJSReadableStreamBYOBReader.Cast(const Intf: IJSObject): IJSReadableStreamBYOBReader; begin Result:=TJSReadableStreamBYOBReader.JOBCast(Intf); end; function TJSReadableStreamBYOBRequest._Getview: IJSArrayBufferView; begin Result:=ReadJSPropertyObject('view',TJSArrayBufferView) as IJSArrayBufferView; end; procedure TJSReadableStreamBYOBRequest.respond(aBytesWritten: QWord); begin InvokeJSNoResult('respond',[aBytesWritten]); end; procedure TJSReadableStreamBYOBRequest.respondWithNewView(aView: IJSArrayBufferView); begin InvokeJSNoResult('respondWithNewView',[aView]); end; class function TJSReadableStreamBYOBRequest.JSClassName: UnicodeString; begin Result:='ReadableStreamBYOBRequest'; end; class function TJSReadableStreamBYOBRequest.Cast(const Intf: IJSObject): IJSReadableStreamBYOBRequest; begin Result:=TJSReadableStreamBYOBRequest.JOBCast(Intf); end; function TJSReadableStreamDefaultController._GetdesiredSize: Double; begin Result:=ReadJSPropertyDouble('desiredSize'); end; procedure TJSReadableStreamDefaultController.close; begin InvokeJSNoResult('close',[]); end; procedure TJSReadableStreamDefaultController.enqueue(const aChunk: Variant); begin InvokeJSNoResult('enqueue',[aChunk]); end; procedure TJSReadableStreamDefaultController.enqueue; begin InvokeJSNoResult('enqueue',[]); end; procedure TJSReadableStreamDefaultController.error(const aE: Variant); begin InvokeJSNoResult('error',[aE]); end; procedure TJSReadableStreamDefaultController.error; begin InvokeJSNoResult('error',[]); end; class function TJSReadableStreamDefaultController.JSClassName: UnicodeString; begin Result:='ReadableStreamDefaultController'; end; class function TJSReadableStreamDefaultController.Cast(const Intf: IJSObject): IJSReadableStreamDefaultController; begin Result:=TJSReadableStreamDefaultController.JOBCast(Intf); end; function TJSReadableStreamGenericReader._Getclosed: IJSPromise; begin Result:=ReadJSPropertyObject('closed',TJSPromise) as IJSPromise; end; function TJSReadableStreamGenericReader.cancel(const aReason: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('cancel',[aReason],TJSPromise) as IJSPromise; end; function TJSReadableStreamGenericReader.cancel: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('cancel',[],TJSPromise) as IJSPromise; end; class function TJSReadableStreamGenericReader.JSClassName: UnicodeString; begin Result:='ReadableStreamGenericReader'; end; class function TJSReadableStreamGenericReader.Cast(const Intf: IJSObject): IJSReadableStreamGenericReader; begin Result:=TJSReadableStreamGenericReader.JOBCast(Intf); end; constructor TJSReadableStreamDefaultReader.Create(aStream: IJSReadableStream); begin JOBCreate([aStream]); end; function TJSReadableStreamDefaultReader.read: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('read',[],TJSPromise) as IJSPromise; end; procedure TJSReadableStreamDefaultReader.releaseLock; begin InvokeJSNoResult('releaseLock',[]); end; class function TJSReadableStreamDefaultReader.JSClassName: UnicodeString; begin Result:='ReadableStreamDefaultReader'; end; class function TJSReadableStreamDefaultReader.Cast(const Intf: IJSObject): IJSReadableStreamDefaultReader; begin Result:=TJSReadableStreamDefaultReader.JOBCast(Intf); end; function TJSReadableStreamReadResult._Getvalue: Variant; begin Result:=ReadJSPropertyVariant('value'); end; function TJSReadableStreamReadResult._Getdone: Boolean; begin Result:=ReadJSPropertyBoolean('done'); end; procedure TJSReadableStreamReadResult._Setvalue(const aValue : Variant); begin WriteJSPropertyVariant('value',aValue); end; procedure TJSReadableStreamReadResult._Setdone(const aValue : Boolean); begin WriteJSPropertyBoolean('done',aValue); end; constructor TJSReadableStreamReadResult.create(const aDict : TJSReadableStreamReadResultRec); overload; begin Self.value:=aDict.value; Self.done:=aDict.done; end; class function TJSReadableStreamReadResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReadableStreamReadResult.Cast(const Intf: IJSObject): IJSReadableStreamReadResult; begin Result:=TJSReadableStreamReadResult.JOBCast(Intf); end; function TJSReportBody.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSReportBody.JSClassName: UnicodeString; begin Result:='ReportBody'; end; class function TJSReportBody.Cast(const Intf: IJSObject): IJSReportBody; begin Result:=TJSReportBody.JOBCast(Intf); end; function TJSReport._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSReport._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSReport._Getbody: IJSReportBody; begin Result:=ReadJSPropertyObject('body',TJSReportBody) as IJSReportBody; end; function TJSReport.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSReport.JSClassName: UnicodeString; begin Result:='Report'; end; class function TJSReport.Cast(const Intf: IJSObject): IJSReport; begin Result:=TJSReport.JOBCast(Intf); end; constructor TJSReportingObserver.Create(const aCallback: TReportingObserverCallback; const aOptions: IJSReportingObserverOptions); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallReportingObserverCallback); try JOBCreate([m,aOptions]); finally m.free; end; end; constructor TJSReportingObserver.Create(const aCallback: TReportingObserverCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallReportingObserverCallback); try JOBCreate([m]); finally m.free; end; end; procedure TJSReportingObserver.observe; begin InvokeJSNoResult('observe',[]); end; procedure TJSReportingObserver.disconnect; begin InvokeJSNoResult('disconnect',[]); end; function TJSReportingObserver.takeRecords: TReportListDynArray; begin Result:=InvokeJSObjectResult('takeRecords',[],TJSArray) as TReportListDynArray; end; class function TJSReportingObserver.JSClassName: UnicodeString; begin Result:='ReportingObserver'; end; class function TJSReportingObserver.Cast(const Intf: IJSObject): IJSReportingObserver; begin Result:=TJSReportingObserver.JOBCast(Intf); end; function TJSReportingObserverOptions._Gettypes: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('types',TJSArray) as TUnicodeStringDynArray; end; function TJSReportingObserverOptions._Getbuffered: Boolean; begin Result:=ReadJSPropertyBoolean('buffered'); end; procedure TJSReportingObserverOptions._Settypes(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('types',aValue); end; procedure TJSReportingObserverOptions._Setbuffered(const aValue : Boolean); begin WriteJSPropertyBoolean('buffered',aValue); end; constructor TJSReportingObserverOptions.create(const aDict : TJSReportingObserverOptionsRec); overload; begin Self.types:=aDict.types; Self.buffered:=aDict.buffered; end; class function TJSReportingObserverOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReportingObserverOptions.Cast(const Intf: IJSObject): IJSReportingObserverOptions; begin Result:=TJSReportingObserverOptions.JOBCast(Intf); end; function TJSDeprecationReportBody._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSDeprecationReportBody._GetanticipatedRemoval: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('anticipatedRemoval'); end; function TJSDeprecationReportBody._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSDeprecationReportBody._GetsourceFile: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sourceFile'); end; function TJSDeprecationReportBody._GetlineNumber: Cardinal; begin Result:=ReadJSPropertyInt64('lineNumber'); end; function TJSDeprecationReportBody._GetcolumnNumber: Cardinal; begin Result:=ReadJSPropertyInt64('columnNumber'); end; class function TJSDeprecationReportBody.JSClassName: UnicodeString; begin Result:='DeprecationReportBody'; end; class function TJSDeprecationReportBody.Cast(const Intf: IJSObject): IJSDeprecationReportBody; begin Result:=TJSDeprecationReportBody.JOBCast(Intf); end; function TJSTestingDeprecatedInterface._GetdeprecatedAttribute: Boolean; begin Result:=ReadJSPropertyBoolean('deprecatedAttribute'); end; constructor TJSTestingDeprecatedInterface.Create; begin JOBCreate([]); end; procedure TJSTestingDeprecatedInterface.deprecatedMethod; begin InvokeJSNoResult('deprecatedMethod',[]); end; class function TJSTestingDeprecatedInterface.JSClassName: UnicodeString; begin Result:='TestingDeprecatedInterface'; end; class function TJSTestingDeprecatedInterface.Cast(const Intf: IJSObject): IJSTestingDeprecatedInterface; begin Result:=TJSTestingDeprecatedInterface.JOBCast(Intf); end; function TJSReportingHeaderValue._Getitems: TJSReportingItemDynArray; begin Result:=ReadJSPropertyObject('items',TJSArray) as TJSReportingItemDynArray; end; procedure TJSReportingHeaderValue._Setitems(const aValue : TJSReportingItemDynArray); begin WriteJSPropertyObject('items',aValue); end; constructor TJSReportingHeaderValue.create(const aDict : TJSReportingHeaderValueRec); overload; begin Self.items:=aDict.items; end; class function TJSReportingHeaderValue.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReportingHeaderValue.Cast(const Intf: IJSObject): IJSReportingHeaderValue; begin Result:=TJSReportingHeaderValue.JOBCast(Intf); end; function TJSReportingItem._Getmax_age: Variant; begin Result:=ReadJSPropertyVariant('max_age'); end; function TJSReportingItem._Getendpoints: Variant; begin Result:=ReadJSPropertyVariant('endpoints'); end; function TJSReportingItem._Getgroup: Variant; begin Result:=ReadJSPropertyVariant('group'); end; function TJSReportingItem._Getinclude_subdomains: Boolean; begin Result:=ReadJSPropertyBoolean('include_subdomains'); end; procedure TJSReportingItem._Setmax_age(const aValue : Variant); begin WriteJSPropertyVariant('max_age',aValue); end; procedure TJSReportingItem._Setendpoints(const aValue : Variant); begin WriteJSPropertyVariant('endpoints',aValue); end; procedure TJSReportingItem._Setgroup(const aValue : Variant); begin WriteJSPropertyVariant('group',aValue); end; procedure TJSReportingItem._Setinclude_subdomains(const aValue : Boolean); begin WriteJSPropertyBoolean('include_subdomains',aValue); end; constructor TJSReportingItem.create(const aDict : TJSReportingItemRec); overload; begin Self.max_age:=aDict.max_age; Self.endpoints:=aDict.endpoints; Self.group:=aDict.group; Self.include_subdomains:=aDict.include_subdomains; end; class function TJSReportingItem.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReportingItem.Cast(const Intf: IJSObject): IJSReportingItem; begin Result:=TJSReportingItem.JOBCast(Intf); end; function TJSReportingEndpoint._Geturl: Variant; begin Result:=ReadJSPropertyVariant('url'); end; function TJSReportingEndpoint._Getpriority: Variant; begin Result:=ReadJSPropertyVariant('priority'); end; function TJSReportingEndpoint._Getweight: Variant; begin Result:=ReadJSPropertyVariant('weight'); end; procedure TJSReportingEndpoint._Seturl(const aValue : Variant); begin WriteJSPropertyVariant('url',aValue); end; procedure TJSReportingEndpoint._Setpriority(const aValue : Variant); begin WriteJSPropertyVariant('priority',aValue); end; procedure TJSReportingEndpoint._Setweight(const aValue : Variant); begin WriteJSPropertyVariant('weight',aValue); end; constructor TJSReportingEndpoint.create(const aDict : TJSReportingEndpointRec); overload; begin Self.url:=aDict.url; Self.priority:=aDict.priority; Self.weight:=aDict.weight; end; class function TJSReportingEndpoint.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSReportingEndpoint.Cast(const Intf: IJSObject): IJSReportingEndpoint; begin Result:=TJSReportingEndpoint.JOBCast(Intf); end; function TJSRequest._Getmethod: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('method'); end; function TJSRequest._Geturl: UTF8String; begin Result:=ReadJSPropertyUTF8String('url'); end; function TJSRequest._Getheaders: IJSHeaders; begin Result:=ReadJSPropertyObject('headers',TJSHeaders) as IJSHeaders; end; function TJSRequest._Getdestination: TRequestDestination; begin Result:=ReadJSPropertyUnicodeString('destination'); end; function TJSRequest._Getreferrer: UTF8String; begin Result:=ReadJSPropertyUTF8String('referrer'); end; function TJSRequest._GetreferrerPolicy: TReferrerPolicy; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSRequest._Getmode: TRequestMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSRequest._Getcredentials: TRequestCredentials; begin Result:=ReadJSPropertyUnicodeString('credentials'); end; function TJSRequest._Getcache: TRequestCache; begin Result:=ReadJSPropertyUnicodeString('cache'); end; function TJSRequest._Getredirect: TRequestRedirect; begin Result:=ReadJSPropertyUnicodeString('redirect'); end; function TJSRequest._Getintegrity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('integrity'); end; function TJSRequest._Getkeepalive: Boolean; begin Result:=ReadJSPropertyBoolean('keepalive'); end; function TJSRequest._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; constructor TJSRequest.Create(aInput: IJSRequest; const aInit: IJSRequestInit); begin JOBCreate([aInput,aInit]); end; constructor TJSRequest.Create(const aInput: UTF8String; const aInit: IJSRequestInit); begin JOBCreate([aInput,aInit]); end; constructor TJSRequest.Create(const aInput: UTF8String); begin JOBCreate([aInput]); end; constructor TJSRequest.Create(aInput: IJSRequest); begin JOBCreate([aInput]); end; function TJSRequest.clone: IJSRequest; begin Result:=InvokeJSObjectResult('clone',[],TJSRequest) as IJSRequest; end; class function TJSRequest.JSClassName: UnicodeString; begin Result:='Request'; end; class function TJSRequest.Cast(const Intf: IJSObject): IJSRequest; begin Result:=TJSRequest.JOBCast(Intf); end; function TJSRequestInit._Getmethod: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('method'); end; function TJSRequestInit._Getheaders: THeadersInit; begin Result:=ReadJSPropertyVariant('headers'); end; function TJSRequestInit._Getbody: TBodyInit; begin Result:=ReadJSPropertyVariant('body'); end; function TJSRequestInit._Getreferrer: UTF8String; begin Result:=ReadJSPropertyUTF8String('referrer'); end; function TJSRequestInit._GetreferrerPolicy: TReferrerPolicy; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSRequestInit._Getmode: TRequestMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSRequestInit._Getcredentials: TRequestCredentials; begin Result:=ReadJSPropertyUnicodeString('credentials'); end; function TJSRequestInit._Getcache: TRequestCache; begin Result:=ReadJSPropertyUnicodeString('cache'); end; function TJSRequestInit._Getredirect: TRequestRedirect; begin Result:=ReadJSPropertyUnicodeString('redirect'); end; function TJSRequestInit._Getintegrity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('integrity'); end; function TJSRequestInit._Getkeepalive: Boolean; begin Result:=ReadJSPropertyBoolean('keepalive'); end; function TJSRequestInit._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; function TJSRequestInit._Getpriority: TRequestPriority; begin Result:=ReadJSPropertyUnicodeString('priority'); end; function TJSRequestInit._Getobserve: TObserverCallback; begin Result:=(TObserverCallback(ReadJSPropertyMethod('observe'))); end; procedure TJSRequestInit._Setmethod(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('method',aValue); end; procedure TJSRequestInit._Setheaders(const aValue : THeadersInit); begin WriteJSPropertyVariant('headers',aValue); end; procedure TJSRequestInit._Setbody(const aValue : TBodyInit); begin WriteJSPropertyVariant('body',aValue); end; procedure TJSRequestInit._Setreferrer(const aValue : UTF8String); begin WriteJSPropertyUTF8String('referrer',aValue); end; procedure TJSRequestInit._SetreferrerPolicy(const aValue : TReferrerPolicy); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSRequestInit._Setmode(const aValue : TRequestMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSRequestInit._Setcredentials(const aValue : TRequestCredentials); begin WriteJSPropertyUnicodeString('credentials',aValue); end; procedure TJSRequestInit._Setcache(const aValue : TRequestCache); begin WriteJSPropertyUnicodeString('cache',aValue); end; procedure TJSRequestInit._Setredirect(const aValue : TRequestRedirect); begin WriteJSPropertyUnicodeString('redirect',aValue); end; procedure TJSRequestInit._Setintegrity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('integrity',aValue); end; procedure TJSRequestInit._Setkeepalive(const aValue : Boolean); begin WriteJSPropertyBoolean('keepalive',aValue); end; procedure TJSRequestInit._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; procedure TJSRequestInit._Setpriority(const aValue : TRequestPriority); begin WriteJSPropertyUnicodeString('priority',aValue); end; procedure TJSRequestInit._Setobserve(const aValue : TObserverCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallObserverCallback); try InvokeJSNoResult('observe',[m],jiSet); finally m.free end; end; constructor TJSRequestInit.create(const aDict : TJSRequestInitRec); overload; begin Self.method:=aDict.method; Self.headers:=aDict.headers; Self.body:=aDict.body; Self.referrer:=aDict.referrer; Self.referrerPolicy:=aDict.referrerPolicy; Self.mode:=aDict.mode; Self.credentials:=aDict.credentials; Self.cache:=aDict.cache; Self.redirect:=aDict.redirect; Self.integrity:=aDict.integrity; Self.keepalive:=aDict.keepalive; Self.signal:=aDict.signal; Self.priority:=aDict.priority; Self.observe:=aDict.observe; end; class function TJSRequestInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRequestInit.Cast(const Intf: IJSObject): IJSRequestInit; begin Result:=TJSRequestInit.JOBCast(Intf); end; function TJSResizeObserverOptions._Getbox: TResizeObserverBoxOptions; begin Result:=ReadJSPropertyUnicodeString('box'); end; procedure TJSResizeObserverOptions._Setbox(const aValue : TResizeObserverBoxOptions); begin WriteJSPropertyUnicodeString('box',aValue); end; constructor TJSResizeObserverOptions.create(const aDict : TJSResizeObserverOptionsRec); overload; begin Self.box:=aDict.box; end; class function TJSResizeObserverOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSResizeObserverOptions.Cast(const Intf: IJSObject): IJSResizeObserverOptions; begin Result:=TJSResizeObserverOptions.JOBCast(Intf); end; constructor TJSResizeObserver.Create(const aCallback: TResizeObserverCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallResizeObserverCallback); try JOBCreate([m]); finally m.free; end; end; procedure TJSResizeObserver.observe(aTarget: IJSElement; const aOptions: IJSResizeObserverOptions); begin InvokeJSNoResult('observe',[aTarget,aOptions]); end; procedure TJSResizeObserver.observe(aTarget: IJSElement); begin InvokeJSNoResult('observe',[aTarget]); end; procedure TJSResizeObserver.unobserve(aTarget: IJSElement); begin InvokeJSNoResult('unobserve',[aTarget]); end; procedure TJSResizeObserver.disconnect; begin InvokeJSNoResult('disconnect',[]); end; class function TJSResizeObserver.JSClassName: UnicodeString; begin Result:='ResizeObserver'; end; class function TJSResizeObserver.Cast(const Intf: IJSObject): IJSResizeObserver; begin Result:=TJSResizeObserver.JOBCast(Intf); end; function TJSResizeObserverEntry._Gettarget: IJSElement; begin Result:=ReadJSPropertyObject('target',TJSElement) as IJSElement; end; function TJSResizeObserverEntry._GetcontentRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('contentRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSResizeObserverEntry._GetborderBoxSize: TJSResizeObserverSizeDynArray; begin Result:=ReadJSPropertyObject('borderBoxSize',TJSArray) as TJSResizeObserverSizeDynArray; end; function TJSResizeObserverEntry._GetcontentBoxSize: TJSResizeObserverSizeDynArray; begin Result:=ReadJSPropertyObject('contentBoxSize',TJSArray) as TJSResizeObserverSizeDynArray; end; function TJSResizeObserverEntry._GetdevicePixelContentBoxSize: TJSResizeObserverSizeDynArray; begin Result:=ReadJSPropertyObject('devicePixelContentBoxSize',TJSArray) as TJSResizeObserverSizeDynArray; end; class function TJSResizeObserverEntry.JSClassName: UnicodeString; begin Result:='ResizeObserverEntry'; end; class function TJSResizeObserverEntry.Cast(const Intf: IJSObject): IJSResizeObserverEntry; begin Result:=TJSResizeObserverEntry.JOBCast(Intf); end; function TJSResizeObserverSize._GetinlineSize: Double; begin Result:=ReadJSPropertyDouble('inlineSize'); end; function TJSResizeObserverSize._GetblockSize: Double; begin Result:=ReadJSPropertyDouble('blockSize'); end; class function TJSResizeObserverSize.JSClassName: UnicodeString; begin Result:='ResizeObserverSize'; end; class function TJSResizeObserverSize.Cast(const Intf: IJSObject): IJSResizeObserverSize; begin Result:=TJSResizeObserverSize.JOBCast(Intf); end; function TJSResponse._Gettype_: TResponseType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSResponse._Geturl: UTF8String; begin Result:=ReadJSPropertyUTF8String('url'); end; function TJSResponse._Getredirected: Boolean; begin Result:=ReadJSPropertyBoolean('redirected'); end; function TJSResponse._Getstatus: Word; begin Result:=ReadJSPropertyLongInt('status'); end; function TJSResponse._Getok: Boolean; begin Result:=ReadJSPropertyBoolean('ok'); end; function TJSResponse._GetstatusText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('statusText'); end; function TJSResponse._Getheaders: IJSHeaders; begin Result:=ReadJSPropertyObject('headers',TJSHeaders) as IJSHeaders; end; function TJSResponse._Getbody: IJSReadableStream; begin Result:=ReadJSPropertyObject('body',TJSReadableStream) as IJSReadableStream; end; function TJSResponse._GetbodyUsed: Boolean; begin Result:=ReadJSPropertyBoolean('bodyUsed'); end; constructor TJSResponse.Create(aBody: IJSBlob; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create; begin JOBCreate([]); end; constructor TJSResponse.Create(aBody: IJSBufferSource; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create(aBody: IJSFormData; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create(aBody: IJSReadableStream; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create(aBody: IJSURLSearchParams; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create(const aBody: UnicodeString; const aInit: IJSResponseInit); begin JOBCreate([aBody,aInit]); end; constructor TJSResponse.Create(const aBody: UnicodeString); begin JOBCreate([aBody]); end; constructor TJSResponse.Create(aBody: IJSURLSearchParams); begin JOBCreate([aBody]); end; constructor TJSResponse.Create(aBody: IJSReadableStream); begin JOBCreate([aBody]); end; constructor TJSResponse.Create(aBody: IJSFormData); begin JOBCreate([aBody]); end; constructor TJSResponse.Create(aBody: IJSBufferSource); begin JOBCreate([aBody]); end; constructor TJSResponse.Create(aBody: IJSBlob); begin JOBCreate([aBody]); end; function TJSResponse.error: IJSResponse; begin Result:=InvokeJSObjectResult('error',[],TJSResponse) as IJSResponse; end; function TJSResponse.redirect(const aUrl: UTF8String; aStatus: Word): IJSResponse; begin Result:=InvokeJSObjectResult('redirect',[aUrl,aStatus],TJSResponse) as IJSResponse; end; function TJSResponse.redirect(const aUrl: UTF8String): IJSResponse; begin Result:=InvokeJSObjectResult('redirect',[aUrl],TJSResponse) as IJSResponse; end; function TJSResponse.json(const aData: Variant; const aInit: IJSResponseInit): IJSResponse; begin Result:=InvokeJSObjectResult('json',[aData,aInit],TJSResponse) as IJSResponse; end; function TJSResponse.json(const aData: Variant): IJSResponse; begin Result:=InvokeJSObjectResult('json',[aData],TJSResponse) as IJSResponse; end; function TJSResponse.clone: IJSResponse; begin Result:=InvokeJSObjectResult('clone',[],TJSResponse) as IJSResponse; end; function TJSResponse.arrayBuffer: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('arrayBuffer',[],TJSPromise) as IJSPromise; end; function TJSResponse.blob: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('blob',[],TJSPromise) as IJSPromise; end; function TJSResponse.formData: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('formData',[],TJSPromise) as IJSPromise; end; function TJSResponse.json: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('json',[],TJSPromise) as IJSPromise; end; function TJSResponse.text: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('text',[],TJSPromise) as IJSPromise; end; class function TJSResponse.JSClassName: UnicodeString; begin Result:='Response'; end; class function TJSResponse.Cast(const Intf: IJSObject): IJSResponse; begin Result:=TJSResponse.JOBCast(Intf); end; function TJSResponseInit._Getstatus: Word; begin Result:=ReadJSPropertyLongInt('status'); end; function TJSResponseInit._GetstatusText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('statusText'); end; function TJSResponseInit._Getheaders: THeadersInit; begin Result:=ReadJSPropertyVariant('headers'); end; procedure TJSResponseInit._Setstatus(const aValue : Word); begin WriteJSPropertyLongInt('status',aValue); end; procedure TJSResponseInit._SetstatusText(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('statusText',aValue); end; procedure TJSResponseInit._Setheaders(const aValue : THeadersInit); begin WriteJSPropertyVariant('headers',aValue); end; constructor TJSResponseInit.create(const aDict : TJSResponseInitRec); overload; begin Self.status:=aDict.status; Self.statusText:=aDict.statusText; Self.headers:=aDict.headers; end; class function TJSResponseInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSResponseInit.Cast(const Intf: IJSObject): IJSResponseInit; begin Result:=TJSResponseInit.JOBCast(Intf); end; function TJSRTCCertificateExpiration._Getexpires: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('expires'); end; procedure TJSRTCCertificateExpiration._Setexpires(const aValue : TDOMTimeStamp); begin WriteJSPropertyDouble('expires',aValue); end; constructor TJSRTCCertificateExpiration.create(const aDict : TJSRTCCertificateExpirationRec); overload; begin Self.expires:=aDict.expires; end; class function TJSRTCCertificateExpiration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCCertificateExpiration.Cast(const Intf: IJSObject): IJSRTCCertificateExpiration; begin Result:=TJSRTCCertificateExpiration.JOBCast(Intf); end; function TJSRTCCertificate._Getexpires: TDOMTimeStamp; begin Result:=ReadJSPropertyInt64('expires'); end; class function TJSRTCCertificate.JSClassName: UnicodeString; begin Result:='RTCCertificate'; end; class function TJSRTCCertificate.Cast(const Intf: IJSObject): IJSRTCCertificate; begin Result:=TJSRTCCertificate.JOBCast(Intf); end; function TJSRTCIceServer._Geturls: TRTCIceServer_urls_Type; begin Result:=ReadJSPropertyVariant('urls'); end; function TJSRTCIceServer._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSRTCIceServer._Getusername: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('username'); end; function TJSRTCIceServer._Getcredential: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('credential'); end; function TJSRTCIceServer._GetcredentialType: TRTCIceCredentialType; begin Result:=ReadJSPropertyUnicodeString('credentialType'); end; procedure TJSRTCIceServer._Seturls(const aValue : TRTCIceServer_urls_Type); begin WriteJSPropertyVariant('urls',aValue); end; procedure TJSRTCIceServer._Seturl(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('url',aValue); end; procedure TJSRTCIceServer._Setusername(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('username',aValue); end; procedure TJSRTCIceServer._Setcredential(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('credential',aValue); end; procedure TJSRTCIceServer._SetcredentialType(const aValue : TRTCIceCredentialType); begin WriteJSPropertyUnicodeString('credentialType',aValue); end; constructor TJSRTCIceServer.create(const aDict : TJSRTCIceServerRec); overload; begin Self.urls:=aDict.urls; Self.url:=aDict.url; Self.username:=aDict.username; Self.credential:=aDict.credential; Self.credentialType:=aDict.credentialType; end; class function TJSRTCIceServer.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIceServer.Cast(const Intf: IJSObject): IJSRTCIceServer; begin Result:=TJSRTCIceServer.JOBCast(Intf); end; function TJSRTCConfiguration._GeticeServers: TJSRTCIceServerDynArray; begin Result:=ReadJSPropertyObject('iceServers',TJSArray) as TJSRTCIceServerDynArray; end; function TJSRTCConfiguration._GeticeTransportPolicy: TRTCIceTransportPolicy; begin Result:=ReadJSPropertyUnicodeString('iceTransportPolicy'); end; function TJSRTCConfiguration._GetbundlePolicy: TRTCBundlePolicy; begin Result:=ReadJSPropertyUnicodeString('bundlePolicy'); end; function TJSRTCConfiguration._GetpeerIdentity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('peerIdentity'); end; function TJSRTCConfiguration._Getcertificates: TJSRTCCertificateDynArray; begin Result:=ReadJSPropertyObject('certificates',TJSArray) as TJSRTCCertificateDynArray; end; function TJSRTCConfiguration._GetsdpSemantics: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpSemantics'); end; procedure TJSRTCConfiguration._SeticeServers(const aValue : TJSRTCIceServerDynArray); begin WriteJSPropertyObject('iceServers',aValue); end; procedure TJSRTCConfiguration._SeticeTransportPolicy(const aValue : TRTCIceTransportPolicy); begin WriteJSPropertyUnicodeString('iceTransportPolicy',aValue); end; procedure TJSRTCConfiguration._SetbundlePolicy(const aValue : TRTCBundlePolicy); begin WriteJSPropertyUnicodeString('bundlePolicy',aValue); end; procedure TJSRTCConfiguration._SetpeerIdentity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('peerIdentity',aValue); end; procedure TJSRTCConfiguration._Setcertificates(const aValue : TJSRTCCertificateDynArray); begin WriteJSPropertyObject('certificates',aValue); end; procedure TJSRTCConfiguration._SetsdpSemantics(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpSemantics',aValue); end; constructor TJSRTCConfiguration.create(const aDict : TJSRTCConfigurationRec); overload; begin Self.iceServers:=aDict.iceServers; Self.iceTransportPolicy:=aDict.iceTransportPolicy; Self.bundlePolicy:=aDict.bundlePolicy; Self.peerIdentity:=aDict.peerIdentity; Self.certificates:=aDict.certificates; Self.sdpSemantics:=aDict.sdpSemantics; end; class function TJSRTCConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCConfiguration.Cast(const Intf: IJSObject): IJSRTCConfiguration; begin Result:=TJSRTCConfiguration.JOBCast(Intf); end; function TJSRTCDataChannel._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSRTCDataChannel._Getnegotiated: Boolean; begin Result:=ReadJSPropertyBoolean('negotiated'); end; function TJSRTCDataChannel._Getordered: Boolean; begin Result:=ReadJSPropertyBoolean('ordered'); end; function TJSRTCDataChannel._Getreliable: Boolean; begin Result:=ReadJSPropertyBoolean('reliable'); end; function TJSRTCDataChannel._GetmaxPacketLifeTime: Word; begin Result:=ReadJSPropertyLongInt('maxPacketLifeTime'); end; function TJSRTCDataChannel._GetmaxRetransmits: Word; begin Result:=ReadJSPropertyLongInt('maxRetransmits'); end; function TJSRTCDataChannel._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCDataChannel._Getid: Word; begin Result:=ReadJSPropertyLongInt('id'); end; function TJSRTCDataChannel._GetreadyState: TRTCDataChannelState; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSRTCDataChannel._GetbufferedAmount: Cardinal; begin Result:=ReadJSPropertyInt64('bufferedAmount'); end; function TJSRTCDataChannel._GetbufferedAmountLowThreshold: Cardinal; begin Result:=ReadJSPropertyInt64('bufferedAmountLowThreshold'); end; function TJSRTCDataChannel._Getonopen: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onopen'))); end; function TJSRTCDataChannel._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSRTCDataChannel._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSRTCDataChannel._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSRTCDataChannel._Getonbufferedamountlow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbufferedamountlow'))); end; function TJSRTCDataChannel._GetbinaryType: TRTCDataChannelType; begin Result:=ReadJSPropertyUnicodeString('binaryType'); end; procedure TJSRTCDataChannel._SetbufferedAmountLowThreshold(const aValue : Cardinal); begin WriteJSPropertyDouble('bufferedAmountLowThreshold',aValue); end; procedure TJSRTCDataChannel._Setonopen(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onopen',[m],jiSet); finally m.free end; end; procedure TJSRTCDataChannel._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSRTCDataChannel._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSRTCDataChannel._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSRTCDataChannel._Setonbufferedamountlow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbufferedamountlow',[m],jiSet); finally m.free end; end; procedure TJSRTCDataChannel._SetbinaryType(const aValue : TRTCDataChannelType); begin WriteJSPropertyUnicodeString('binaryType',aValue); end; procedure TJSRTCDataChannel.close; begin InvokeJSNoResult('close',[]); end; procedure TJSRTCDataChannel.send(const aData: UnicodeString); begin InvokeJSNoResult('send',[aData]); end; procedure TJSRTCDataChannel.send(aData: IJSBlob); begin InvokeJSNoResult('send',[aData]); end; procedure TJSRTCDataChannel.send(aData: IJSArrayBuffer); begin InvokeJSNoResult('send',[aData]); end; procedure TJSRTCDataChannel.send(aData: IJSArrayBufferView); begin InvokeJSNoResult('send',[aData]); end; class function TJSRTCDataChannel.JSClassName: UnicodeString; begin Result:='RTCDataChannel'; end; class function TJSRTCDataChannel.Cast(const Intf: IJSObject): IJSRTCDataChannel; begin Result:=TJSRTCDataChannel.JOBCast(Intf); end; function TJSRTCDataChannelEventInit._Getchannel: IJSRTCDataChannel; begin Result:=ReadJSPropertyObject('channel',TJSRTCDataChannel) as IJSRTCDataChannel; end; procedure TJSRTCDataChannelEventInit._Setchannel(const aValue : IJSRTCDataChannel); begin WriteJSPropertyObject('channel',aValue); end; constructor TJSRTCDataChannelEventInit.create(const aDict : TJSRTCDataChannelEventInitRec); overload; begin Self.channel:=aDict.channel; end; class function TJSRTCDataChannelEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCDataChannelEventInit.Cast(const Intf: IJSObject): IJSRTCDataChannelEventInit; begin Result:=TJSRTCDataChannelEventInit.JOBCast(Intf); end; function TJSRTCDataChannelEvent._Getchannel: IJSRTCDataChannel; begin Result:=ReadJSPropertyObject('channel',TJSRTCDataChannel) as IJSRTCDataChannel; end; constructor TJSRTCDataChannelEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCDataChannelEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSRTCDataChannelEvent.JSClassName: UnicodeString; begin Result:='RTCDataChannelEvent'; end; class function TJSRTCDataChannelEvent.Cast(const Intf: IJSObject): IJSRTCDataChannelEvent; begin Result:=TJSRTCDataChannelEvent.JOBCast(Intf); end; function TJSRTCDtlsTransport._GeticeTransport: IJSRTCIceTransport; begin Result:=ReadJSPropertyObject('iceTransport',TJSRTCIceTransport) as IJSRTCIceTransport; end; function TJSRTCDtlsTransport._Getstate: TRTCDtlsTransportState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSRTCDtlsTransport._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; procedure TJSRTCDtlsTransport._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; class function TJSRTCDtlsTransport.JSClassName: UnicodeString; begin Result:='RTCDtlsTransport'; end; class function TJSRTCDtlsTransport.Cast(const Intf: IJSObject): IJSRTCDtlsTransport; begin Result:=TJSRTCDtlsTransport.JOBCast(Intf); end; function TJSRTCDTMFSender._Getontonechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontonechange'))); end; function TJSRTCDTMFSender._GettoneBuffer: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('toneBuffer'); end; procedure TJSRTCDTMFSender._Setontonechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontonechange',[m],jiSet); finally m.free end; end; procedure TJSRTCDTMFSender.insertDTMF(const aTones: UnicodeString; aDuration: Cardinal; aInterToneGap: Cardinal); begin InvokeJSNoResult('insertDTMF',[aTones,aDuration,aInterToneGap]); end; procedure TJSRTCDTMFSender.insertDTMF(const aTones: UnicodeString); begin InvokeJSNoResult('insertDTMF',[aTones]); end; procedure TJSRTCDTMFSender.insertDTMF(const aTones: UnicodeString; aDuration: Cardinal); begin InvokeJSNoResult('insertDTMF',[aTones,aDuration]); end; class function TJSRTCDTMFSender.JSClassName: UnicodeString; begin Result:='RTCDTMFSender'; end; class function TJSRTCDTMFSender.Cast(const Intf: IJSObject): IJSRTCDTMFSender; begin Result:=TJSRTCDTMFSender.JOBCast(Intf); end; function TJSRTCDTMFToneChangeEvent._Gettone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tone'); end; constructor TJSRTCDTMFToneChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCDTMFToneChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSRTCDTMFToneChangeEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSRTCDTMFToneChangeEvent.JSClassName: UnicodeString; begin Result:='RTCDTMFToneChangeEvent'; end; class function TJSRTCDTMFToneChangeEvent.Cast(const Intf: IJSObject): IJSRTCDTMFToneChangeEvent; begin Result:=TJSRTCDTMFToneChangeEvent.JOBCast(Intf); end; function TJSRTCDTMFToneChangeEventInit._Gettone: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('tone'); end; procedure TJSRTCDTMFToneChangeEventInit._Settone(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('tone',aValue); end; constructor TJSRTCDTMFToneChangeEventInit.create(const aDict : TJSRTCDTMFToneChangeEventInitRec); overload; begin Self.tone:=aDict.tone; end; class function TJSRTCDTMFToneChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCDTMFToneChangeEventInit.Cast(const Intf: IJSObject): IJSRTCDTMFToneChangeEventInit; begin Result:=TJSRTCDTMFToneChangeEventInit.JOBCast(Intf); end; function TJSRTCEncodedAudioFrameMetadata._GetsynchronizationSource: Cardinal; begin Result:=ReadJSPropertyInt64('synchronizationSource'); end; function TJSRTCEncodedAudioFrameMetadata._GetpayloadType: Byte; begin Result:=ReadJSPropertyLongInt('payloadType'); end; function TJSRTCEncodedAudioFrameMetadata._GetcontributingSources: TCardinalDynArray; begin Result:=ReadJSPropertyObject('contributingSources',TJSArray) as TCardinalDynArray; end; function TJSRTCEncodedAudioFrameMetadata._GetsequenceNumber: SmallInt; begin Result:=ReadJSPropertyLongInt('sequenceNumber'); end; procedure TJSRTCEncodedAudioFrameMetadata._SetsynchronizationSource(const aValue : Cardinal); begin WriteJSPropertyDouble('synchronizationSource',aValue); end; procedure TJSRTCEncodedAudioFrameMetadata._SetpayloadType(const aValue : Byte); begin WriteJSPropertyLongInt('payloadType',aValue); end; procedure TJSRTCEncodedAudioFrameMetadata._SetcontributingSources(const aValue : TCardinalDynArray); begin WriteJSPropertyObject('contributingSources',aValue); end; procedure TJSRTCEncodedAudioFrameMetadata._SetsequenceNumber(const aValue : SmallInt); begin WriteJSPropertyLongInt('sequenceNumber',aValue); end; constructor TJSRTCEncodedAudioFrameMetadata.create(const aDict : TJSRTCEncodedAudioFrameMetadataRec); overload; begin Self.synchronizationSource:=aDict.synchronizationSource; Self.payloadType:=aDict.payloadType; Self.contributingSources:=aDict.contributingSources; Self.sequenceNumber:=aDict.sequenceNumber; end; class function TJSRTCEncodedAudioFrameMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCEncodedAudioFrameMetadata.Cast(const Intf: IJSObject): IJSRTCEncodedAudioFrameMetadata; begin Result:=TJSRTCEncodedAudioFrameMetadata.JOBCast(Intf); end; function TJSRTCEncodedAudioFrame._Gettimestamp: Cardinal; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSRTCEncodedAudioFrame._Getdata: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('data',TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSRTCEncodedAudioFrame._Setdata(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('data',aValue); end; function TJSRTCEncodedAudioFrame.getMetadata: IJSRTCEncodedAudioFrameMetadata; begin Result:=InvokeJSObjectResult('getMetadata',[],TJSRTCEncodedAudioFrameMetadata) as IJSRTCEncodedAudioFrameMetadata; end; class function TJSRTCEncodedAudioFrame.JSClassName: UnicodeString; begin Result:='RTCEncodedAudioFrame'; end; class function TJSRTCEncodedAudioFrame.Cast(const Intf: IJSObject): IJSRTCEncodedAudioFrame; begin Result:=TJSRTCEncodedAudioFrame.JOBCast(Intf); end; function TJSRTCEncodedVideoFrameMetadata._GetframeId: QWord; begin Result:=ReadJSPropertyInt64('frameId'); end; function TJSRTCEncodedVideoFrameMetadata._Getdependencies: TQWordDynArray; begin Result:=ReadJSPropertyObject('dependencies',TJSArray) as TQWordDynArray; end; function TJSRTCEncodedVideoFrameMetadata._Getwidth: Word; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSRTCEncodedVideoFrameMetadata._Getheight: Word; begin Result:=ReadJSPropertyLongInt('height'); end; function TJSRTCEncodedVideoFrameMetadata._GetspatialIndex: Cardinal; begin Result:=ReadJSPropertyInt64('spatialIndex'); end; function TJSRTCEncodedVideoFrameMetadata._GettemporalIndex: Cardinal; begin Result:=ReadJSPropertyInt64('temporalIndex'); end; function TJSRTCEncodedVideoFrameMetadata._GetsynchronizationSource: Cardinal; begin Result:=ReadJSPropertyInt64('synchronizationSource'); end; function TJSRTCEncodedVideoFrameMetadata._GetpayloadType: Byte; begin Result:=ReadJSPropertyLongInt('payloadType'); end; function TJSRTCEncodedVideoFrameMetadata._GetcontributingSources: TCardinalDynArray; begin Result:=ReadJSPropertyObject('contributingSources',TJSArray) as TCardinalDynArray; end; function TJSRTCEncodedVideoFrameMetadata._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; procedure TJSRTCEncodedVideoFrameMetadata._SetframeId(const aValue : QWord); begin WriteJSPropertyDouble('frameId',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._Setdependencies(const aValue : TQWordDynArray); begin WriteJSPropertyObject('dependencies',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._Setwidth(const aValue : Word); begin WriteJSPropertyLongInt('width',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._Setheight(const aValue : Word); begin WriteJSPropertyLongInt('height',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._SetspatialIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('spatialIndex',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._SettemporalIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('temporalIndex',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._SetsynchronizationSource(const aValue : Cardinal); begin WriteJSPropertyDouble('synchronizationSource',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._SetpayloadType(const aValue : Byte); begin WriteJSPropertyLongInt('payloadType',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._SetcontributingSources(const aValue : TCardinalDynArray); begin WriteJSPropertyObject('contributingSources',aValue); end; procedure TJSRTCEncodedVideoFrameMetadata._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; constructor TJSRTCEncodedVideoFrameMetadata.create(const aDict : TJSRTCEncodedVideoFrameMetadataRec); overload; begin Self.frameId:=aDict.frameId; Self.dependencies:=aDict.dependencies; Self.width:=aDict.width; Self.height:=aDict.height; Self.spatialIndex:=aDict.spatialIndex; Self.temporalIndex:=aDict.temporalIndex; Self.synchronizationSource:=aDict.synchronizationSource; Self.payloadType:=aDict.payloadType; Self.contributingSources:=aDict.contributingSources; Self.timestamp:=aDict.timestamp; end; class function TJSRTCEncodedVideoFrameMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCEncodedVideoFrameMetadata.Cast(const Intf: IJSObject): IJSRTCEncodedVideoFrameMetadata; begin Result:=TJSRTCEncodedVideoFrameMetadata.JOBCast(Intf); end; function TJSRTCEncodedVideoFrame._Gettype_: TRTCEncodedVideoFrameType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCEncodedVideoFrame._Gettimestamp: Cardinal; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSRTCEncodedVideoFrame._Getdata: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('data',TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSRTCEncodedVideoFrame._Setdata(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('data',aValue); end; function TJSRTCEncodedVideoFrame.getMetadata: IJSRTCEncodedVideoFrameMetadata; begin Result:=InvokeJSObjectResult('getMetadata',[],TJSRTCEncodedVideoFrameMetadata) as IJSRTCEncodedVideoFrameMetadata; end; class function TJSRTCEncodedVideoFrame.JSClassName: UnicodeString; begin Result:='RTCEncodedVideoFrame'; end; class function TJSRTCEncodedVideoFrame.Cast(const Intf: IJSObject): IJSRTCEncodedVideoFrame; begin Result:=TJSRTCEncodedVideoFrame.JOBCast(Intf); end; function TJSRTCIceCandidateInit._Getcandidate: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('candidate'); end; function TJSRTCIceCandidateInit._GetsdpMid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpMid'); end; function TJSRTCIceCandidateInit._GetsdpMLineIndex: Word; begin Result:=ReadJSPropertyLongInt('sdpMLineIndex'); end; function TJSRTCIceCandidateInit._GetusernameFragment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('usernameFragment'); end; procedure TJSRTCIceCandidateInit._Setcandidate(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('candidate',aValue); end; procedure TJSRTCIceCandidateInit._SetsdpMid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpMid',aValue); end; procedure TJSRTCIceCandidateInit._SetsdpMLineIndex(const aValue : Word); begin WriteJSPropertyLongInt('sdpMLineIndex',aValue); end; procedure TJSRTCIceCandidateInit._SetusernameFragment(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('usernameFragment',aValue); end; constructor TJSRTCIceCandidateInit.create(const aDict : TJSRTCIceCandidateInitRec); overload; begin Self.candidate:=aDict.candidate; Self.sdpMid:=aDict.sdpMid; Self.sdpMLineIndex:=aDict.sdpMLineIndex; Self.usernameFragment:=aDict.usernameFragment; end; class function TJSRTCIceCandidateInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIceCandidateInit.Cast(const Intf: IJSObject): IJSRTCIceCandidateInit; begin Result:=TJSRTCIceCandidateInit.JOBCast(Intf); end; function TJSRTCIceCandidate._Getcandidate: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('candidate'); end; function TJSRTCIceCandidate._GetsdpMid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpMid'); end; function TJSRTCIceCandidate._GetsdpMLineIndex: Word; begin Result:=ReadJSPropertyLongInt('sdpMLineIndex'); end; function TJSRTCIceCandidate._Getfoundation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('foundation'); end; function TJSRTCIceCandidate._Getcomponent: TRTCIceComponent; begin Result:=ReadJSPropertyUnicodeString('component'); end; function TJSRTCIceCandidate._Getpriority: Cardinal; begin Result:=ReadJSPropertyInt64('priority'); end; function TJSRTCIceCandidate._Getaddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('address'); end; function TJSRTCIceCandidate._Getprotocol: TRTCIceProtocol; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCIceCandidate._Getport: Word; begin Result:=ReadJSPropertyLongInt('port'); end; function TJSRTCIceCandidate._Gettype_: TRTCIceCandidateType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCIceCandidate._GettcpType: TRTCIceTcpCandidateType; begin Result:=ReadJSPropertyUnicodeString('tcpType'); end; function TJSRTCIceCandidate._GetrelatedAddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('relatedAddress'); end; function TJSRTCIceCandidate._GetrelatedPort: Word; begin Result:=ReadJSPropertyLongInt('relatedPort'); end; function TJSRTCIceCandidate._GetusernameFragment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('usernameFragment'); end; constructor TJSRTCIceCandidate.Create(const aCandidateInitDict: IJSRTCIceCandidateInit); begin JOBCreate([aCandidateInitDict]); end; constructor TJSRTCIceCandidate.Create; begin JOBCreate([]); end; function TJSRTCIceCandidate.toJSON: IJSRTCIceCandidateInit; begin Result:=InvokeJSObjectResult('toJSON',[],TJSRTCIceCandidateInit) as IJSRTCIceCandidateInit; end; class function TJSRTCIceCandidate.JSClassName: UnicodeString; begin Result:='RTCIceCandidate'; end; class function TJSRTCIceCandidate.Cast(const Intf: IJSObject): IJSRTCIceCandidate; begin Result:=TJSRTCIceCandidate.JOBCast(Intf); end; function TJSRTCIceTransport._Getstate: TRTCIceTransportState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSRTCIceTransport._GetgatheringState: TRTCIceGathererState; begin Result:=ReadJSPropertyUnicodeString('gatheringState'); end; function TJSRTCIceTransport._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; function TJSRTCIceTransport._Getongatheringstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongatheringstatechange'))); end; procedure TJSRTCIceTransport._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; procedure TJSRTCIceTransport._Setongatheringstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongatheringstatechange',[m],jiSet); finally m.free end; end; class function TJSRTCIceTransport.JSClassName: UnicodeString; begin Result:='RTCIceTransport'; end; class function TJSRTCIceTransport.Cast(const Intf: IJSObject): IJSRTCIceTransport; begin Result:=TJSRTCIceTransport.JOBCast(Intf); end; function TJSRTCIdentityAssertion._Getidp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('idp'); end; function TJSRTCIdentityAssertion._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSRTCIdentityAssertion._Setidp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('idp',aValue); end; procedure TJSRTCIdentityAssertion._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSRTCIdentityAssertion.create(const aDict : TJSRTCIdentityAssertionRec); overload; begin Self.idp:=aDict.idp; Self.name:=aDict.name; end; class function TJSRTCIdentityAssertion.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityAssertion.Cast(const Intf: IJSObject): IJSRTCIdentityAssertion; begin Result:=TJSRTCIdentityAssertion.JOBCast(Intf); end; procedure TJSRTCIdentityProviderRegistrar.register(const aIdp: IJSRTCIdentityProvider); begin InvokeJSNoResult('register',[aIdp]); end; class function TJSRTCIdentityProviderRegistrar.JSClassName: UnicodeString; begin Result:='RTCIdentityProviderRegistrar'; end; class function TJSRTCIdentityProviderRegistrar.Cast(const Intf: IJSObject): IJSRTCIdentityProviderRegistrar; begin Result:=TJSRTCIdentityProviderRegistrar.JOBCast(Intf); end; function TJSRTCIdentityProvider._GetgenerateAssertion: TGenerateAssertionCallback; begin Result:=(TGenerateAssertionCallback(ReadJSPropertyMethod('generateAssertion'))); end; function TJSRTCIdentityProvider._GetvalidateAssertion: TValidateAssertionCallback; begin Result:=(TValidateAssertionCallback(ReadJSPropertyMethod('validateAssertion'))); end; procedure TJSRTCIdentityProvider._SetgenerateAssertion(const aValue : TGenerateAssertionCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallGenerateAssertionCallback); try InvokeJSNoResult('generateAssertion',[m],jiSet); finally m.free end; end; procedure TJSRTCIdentityProvider._SetvalidateAssertion(const aValue : TValidateAssertionCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallValidateAssertionCallback); try InvokeJSNoResult('validateAssertion',[m],jiSet); finally m.free end; end; constructor TJSRTCIdentityProvider.create(const aDict : TJSRTCIdentityProviderRec); overload; begin Self.generateAssertion:=aDict.generateAssertion; Self.validateAssertion:=aDict.validateAssertion; end; class function TJSRTCIdentityProvider.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityProvider.Cast(const Intf: IJSObject): IJSRTCIdentityProvider; begin Result:=TJSRTCIdentityProvider.JOBCast(Intf); end; function TJSRTCIdentityAssertionResult._Getidp: IJSRTCIdentityProviderDetails; begin Result:=ReadJSPropertyObject('idp',TJSRTCIdentityProviderDetails) as IJSRTCIdentityProviderDetails; end; function TJSRTCIdentityAssertionResult._Getassertion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('assertion'); end; procedure TJSRTCIdentityAssertionResult._Setidp(const aValue : IJSRTCIdentityProviderDetails); begin WriteJSPropertyObject('idp',aValue); end; procedure TJSRTCIdentityAssertionResult._Setassertion(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('assertion',aValue); end; constructor TJSRTCIdentityAssertionResult.create(const aDict : TJSRTCIdentityAssertionResultRec); overload; begin Self.idp:=aDict.idp; Self.assertion:=aDict.assertion; end; class function TJSRTCIdentityAssertionResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityAssertionResult.Cast(const Intf: IJSObject): IJSRTCIdentityAssertionResult; begin Result:=TJSRTCIdentityAssertionResult.JOBCast(Intf); end; function TJSRTCIdentityProviderDetails._Getdomain: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('domain'); end; function TJSRTCIdentityProviderDetails._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; procedure TJSRTCIdentityProviderDetails._Setdomain(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('domain',aValue); end; procedure TJSRTCIdentityProviderDetails._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; constructor TJSRTCIdentityProviderDetails.create(const aDict : TJSRTCIdentityProviderDetailsRec); overload; begin Self.domain:=aDict.domain; Self.protocol:=aDict.protocol; end; class function TJSRTCIdentityProviderDetails.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityProviderDetails.Cast(const Intf: IJSObject): IJSRTCIdentityProviderDetails; begin Result:=TJSRTCIdentityProviderDetails.JOBCast(Intf); end; function TJSRTCIdentityValidationResult._Getidentity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('identity'); end; function TJSRTCIdentityValidationResult._Getcontents: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contents'); end; procedure TJSRTCIdentityValidationResult._Setidentity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('identity',aValue); end; procedure TJSRTCIdentityValidationResult._Setcontents(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contents',aValue); end; constructor TJSRTCIdentityValidationResult.create(const aDict : TJSRTCIdentityValidationResultRec); overload; begin Self.identity:=aDict.identity; Self.contents:=aDict.contents; end; class function TJSRTCIdentityValidationResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityValidationResult.Cast(const Intf: IJSObject): IJSRTCIdentityValidationResult; begin Result:=TJSRTCIdentityValidationResult.JOBCast(Intf); end; function TJSRTCIdentityProviderOptions._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCIdentityProviderOptions._GetusernameHint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('usernameHint'); end; function TJSRTCIdentityProviderOptions._GetpeerIdentity: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('peerIdentity'); end; procedure TJSRTCIdentityProviderOptions._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; procedure TJSRTCIdentityProviderOptions._SetusernameHint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('usernameHint',aValue); end; procedure TJSRTCIdentityProviderOptions._SetpeerIdentity(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('peerIdentity',aValue); end; constructor TJSRTCIdentityProviderOptions.create(const aDict : TJSRTCIdentityProviderOptionsRec); overload; begin Self.protocol:=aDict.protocol; Self.usernameHint:=aDict.usernameHint; Self.peerIdentity:=aDict.peerIdentity; end; class function TJSRTCIdentityProviderOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIdentityProviderOptions.Cast(const Intf: IJSObject): IJSRTCIdentityProviderOptions; begin Result:=TJSRTCIdentityProviderOptions.JOBCast(Intf); end; function TJSRTCDataChannelInit._Getordered: Boolean; begin Result:=ReadJSPropertyBoolean('ordered'); end; function TJSRTCDataChannelInit._GetmaxPacketLifeTime: Word; begin Result:=ReadJSPropertyLongInt('maxPacketLifeTime'); end; function TJSRTCDataChannelInit._GetmaxRetransmits: Word; begin Result:=ReadJSPropertyLongInt('maxRetransmits'); end; function TJSRTCDataChannelInit._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCDataChannelInit._Getnegotiated: Boolean; begin Result:=ReadJSPropertyBoolean('negotiated'); end; function TJSRTCDataChannelInit._Getid: Word; begin Result:=ReadJSPropertyLongInt('id'); end; function TJSRTCDataChannelInit._GetmaxRetransmitTime: Word; begin Result:=ReadJSPropertyLongInt('maxRetransmitTime'); end; procedure TJSRTCDataChannelInit._Setordered(const aValue : Boolean); begin WriteJSPropertyBoolean('ordered',aValue); end; procedure TJSRTCDataChannelInit._SetmaxPacketLifeTime(const aValue : Word); begin WriteJSPropertyLongInt('maxPacketLifeTime',aValue); end; procedure TJSRTCDataChannelInit._SetmaxRetransmits(const aValue : Word); begin WriteJSPropertyLongInt('maxRetransmits',aValue); end; procedure TJSRTCDataChannelInit._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; procedure TJSRTCDataChannelInit._Setnegotiated(const aValue : Boolean); begin WriteJSPropertyBoolean('negotiated',aValue); end; procedure TJSRTCDataChannelInit._Setid(const aValue : Word); begin WriteJSPropertyLongInt('id',aValue); end; procedure TJSRTCDataChannelInit._SetmaxRetransmitTime(const aValue : Word); begin WriteJSPropertyLongInt('maxRetransmitTime',aValue); end; constructor TJSRTCDataChannelInit.create(const aDict : TJSRTCDataChannelInitRec); overload; begin Self.ordered:=aDict.ordered; Self.maxPacketLifeTime:=aDict.maxPacketLifeTime; Self.maxRetransmits:=aDict.maxRetransmits; Self.protocol:=aDict.protocol; Self.negotiated:=aDict.negotiated; Self.id:=aDict.id; Self.maxRetransmitTime:=aDict.maxRetransmitTime; end; class function TJSRTCDataChannelInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCDataChannelInit.Cast(const Intf: IJSObject): IJSRTCDataChannelInit; begin Result:=TJSRTCDataChannelInit.JOBCast(Intf); end; constructor TJSRTCOfferAnswerOptions.create(const aDict : TJSRTCOfferAnswerOptionsRec); overload; begin end; class function TJSRTCOfferAnswerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCOfferAnswerOptions.Cast(const Intf: IJSObject): IJSRTCOfferAnswerOptions; begin Result:=TJSRTCOfferAnswerOptions.JOBCast(Intf); end; constructor TJSRTCAnswerOptions.create(const aDict : TJSRTCAnswerOptionsRec); overload; begin end; class function TJSRTCAnswerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCAnswerOptions.Cast(const Intf: IJSObject): IJSRTCAnswerOptions; begin Result:=TJSRTCAnswerOptions.JOBCast(Intf); end; function TJSRTCOfferOptions._GetofferToReceiveVideo: Boolean; begin Result:=ReadJSPropertyBoolean('offerToReceiveVideo'); end; function TJSRTCOfferOptions._GetofferToReceiveAudio: Boolean; begin Result:=ReadJSPropertyBoolean('offerToReceiveAudio'); end; function TJSRTCOfferOptions._GeticeRestart: Boolean; begin Result:=ReadJSPropertyBoolean('iceRestart'); end; procedure TJSRTCOfferOptions._SetofferToReceiveVideo(const aValue : Boolean); begin WriteJSPropertyBoolean('offerToReceiveVideo',aValue); end; procedure TJSRTCOfferOptions._SetofferToReceiveAudio(const aValue : Boolean); begin WriteJSPropertyBoolean('offerToReceiveAudio',aValue); end; procedure TJSRTCOfferOptions._SeticeRestart(const aValue : Boolean); begin WriteJSPropertyBoolean('iceRestart',aValue); end; constructor TJSRTCOfferOptions.create(const aDict : TJSRTCOfferOptionsRec); overload; begin Self.offerToReceiveVideo:=aDict.offerToReceiveVideo; Self.offerToReceiveAudio:=aDict.offerToReceiveAudio; Self.iceRestart:=aDict.iceRestart; end; class function TJSRTCOfferOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCOfferOptions.Cast(const Intf: IJSObject): IJSRTCOfferOptions; begin Result:=TJSRTCOfferOptions.JOBCast(Intf); end; function TJSRTCPeerConnection._GetlocalDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('localDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetcurrentLocalDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('currentLocalDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetpendingLocalDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('pendingLocalDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetremoteDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('remoteDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetcurrentRemoteDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('currentRemoteDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetpendingRemoteDescription: IJSRTCSessionDescription; begin Result:=ReadJSPropertyObject('pendingRemoteDescription',TJSRTCSessionDescription) as IJSRTCSessionDescription; end; function TJSRTCPeerConnection._GetsignalingState: TRTCSignalingState; begin Result:=ReadJSPropertyUnicodeString('signalingState'); end; function TJSRTCPeerConnection._GetcanTrickleIceCandidates: Boolean; begin Result:=ReadJSPropertyBoolean('canTrickleIceCandidates'); end; function TJSRTCPeerConnection._GeticeGatheringState: TRTCIceGatheringState; begin Result:=ReadJSPropertyUnicodeString('iceGatheringState'); end; function TJSRTCPeerConnection._GeticeConnectionState: TRTCIceConnectionState; begin Result:=ReadJSPropertyUnicodeString('iceConnectionState'); end; function TJSRTCPeerConnection._GetconnectionState: TRTCPeerConnectionState; begin Result:=ReadJSPropertyUnicodeString('connectionState'); end; function TJSRTCPeerConnection._GetpeerIdentity: IJSPromise; begin Result:=ReadJSPropertyObject('peerIdentity',TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection._GetidpLoginUrl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('idpLoginUrl'); end; function TJSRTCPeerConnection._Getonnegotiationneeded: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onnegotiationneeded'))); end; function TJSRTCPeerConnection._Getonicecandidate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onicecandidate'))); end; function TJSRTCPeerConnection._Getonsignalingstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsignalingstatechange'))); end; function TJSRTCPeerConnection._Getonaddstream: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddstream'))); end; function TJSRTCPeerConnection._Getonaddtrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddtrack'))); end; function TJSRTCPeerConnection._Getontrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontrack'))); end; function TJSRTCPeerConnection._Getoniceconnectionstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oniceconnectionstatechange'))); end; function TJSRTCPeerConnection._Getonicegatheringstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onicegatheringstatechange'))); end; function TJSRTCPeerConnection._Getonconnectionstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onconnectionstatechange'))); end; function TJSRTCPeerConnection._Getsctp: IJSRTCSctpTransport; begin Result:=ReadJSPropertyObject('sctp',TJSRTCSctpTransport) as IJSRTCSctpTransport; end; function TJSRTCPeerConnection._Getondatachannel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondatachannel'))); end; procedure TJSRTCPeerConnection._Setonnegotiationneeded(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onnegotiationneeded',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonicecandidate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onicecandidate',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonsignalingstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsignalingstatechange',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonaddstream(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddstream',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonaddtrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddtrack',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setontrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontrack',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setoniceconnectionstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oniceconnectionstatechange',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonicegatheringstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onicegatheringstatechange',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setonconnectionstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onconnectionstatechange',[m],jiSet); finally m.free end; end; procedure TJSRTCPeerConnection._Setondatachannel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondatachannel',[m],jiSet); finally m.free end; end; constructor TJSRTCPeerConnection.Create(const aConfiguration: IJSRTCConfiguration); begin JOBCreate([aConfiguration]); end; constructor TJSRTCPeerConnection.Create; begin JOBCreate([]); end; function TJSRTCPeerConnection.generateCertificate(const aKeygenAlgorithm: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateCertificate',[aKeygenAlgorithm],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.generateCertificate(aKeygenAlgorithm: IJSObject): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateCertificate',[aKeygenAlgorithm],TJSPromise) as IJSPromise; end; procedure TJSRTCPeerConnection.setIdentityProvider(const aProvider: UnicodeString; const aOptions: IJSRTCIdentityProviderOptions); begin InvokeJSNoResult('setIdentityProvider',[aProvider,aOptions]); end; procedure TJSRTCPeerConnection.setIdentityProvider(const aProvider: UnicodeString); begin InvokeJSNoResult('setIdentityProvider',[aProvider]); end; function TJSRTCPeerConnection.getIdentityAssertion: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getIdentityAssertion',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.createOffer(const aOptions: IJSRTCOfferOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createOffer',[aOptions],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.createOffer: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createOffer',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.createAnswer(const aOptions: IJSRTCAnswerOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createAnswer',[aOptions],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.createAnswer: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createAnswer',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setLocalDescription',[aDescription],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.setLocalDescription: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setLocalDescription',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setRemoteDescription',[aDescription],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.addIceCandidate(aCandidate: IJSRTCIceCandidate): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addIceCandidate',[aCandidate],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.addIceCandidate: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addIceCandidate',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.addIceCandidate(const aCandidate: IJSRTCIceCandidateInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addIceCandidate',[aCandidate],TJSPromise) as IJSPromise; end; procedure TJSRTCPeerConnection.restartIce; begin InvokeJSNoResult('restartIce',[]); end; function TJSRTCPeerConnection.getConfiguration: IJSRTCConfiguration; begin Result:=InvokeJSObjectResult('getConfiguration',[],TJSRTCConfiguration) as IJSRTCConfiguration; end; procedure TJSRTCPeerConnection.setConfiguration(const aConfiguration: IJSRTCConfiguration); begin InvokeJSNoResult('setConfiguration',[aConfiguration]); end; procedure TJSRTCPeerConnection.setConfiguration; begin InvokeJSNoResult('setConfiguration',[]); end; function TJSRTCPeerConnection.getLocalStreams: TJSMediaStreamDynArray; begin Result:=InvokeJSObjectResult('getLocalStreams',[],TJSArray) as TJSMediaStreamDynArray; end; function TJSRTCPeerConnection.getRemoteStreams: TJSMediaStreamDynArray; begin Result:=InvokeJSObjectResult('getRemoteStreams',[],TJSArray) as TJSMediaStreamDynArray; end; procedure TJSRTCPeerConnection.addStream(aStream: IJSMediaStream); begin InvokeJSNoResult('addStream',[aStream]); end; function TJSRTCPeerConnection.addTrack(aTrack: IJSMediaStreamTrack; aStreams: IJSMediaStream): IJSRTCRtpSender{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('addTrack',[aTrack,aStreams],TJSRTCRtpSender) as IJSRTCRtpSender; end; procedure TJSRTCPeerConnection.removeTrack(aSender: IJSRTCRtpSender); begin InvokeJSNoResult('removeTrack',[aSender]); end; function TJSRTCPeerConnection.addTransceiver(const aTrackOrKind: UnicodeString; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; begin Result:=InvokeJSObjectResult('addTransceiver',[aTrackOrKind,aInit],TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; function TJSRTCPeerConnection.addTransceiver(aTrackOrKind: IJSMediaStreamTrack; const aInit: IJSRTCRtpTransceiverInit): IJSRTCRtpTransceiver; begin Result:=InvokeJSObjectResult('addTransceiver',[aTrackOrKind,aInit],TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; function TJSRTCPeerConnection.addTransceiver(aTrackOrKind: IJSMediaStreamTrack): IJSRTCRtpTransceiver; begin Result:=InvokeJSObjectResult('addTransceiver',[aTrackOrKind],TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; function TJSRTCPeerConnection.addTransceiver(const aTrackOrKind: UnicodeString): IJSRTCRtpTransceiver; begin Result:=InvokeJSObjectResult('addTransceiver',[aTrackOrKind],TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; function TJSRTCPeerConnection.getSenders: TJSRTCRtpSenderDynArray; begin Result:=InvokeJSObjectResult('getSenders',[],TJSArray) as TJSRTCRtpSenderDynArray; end; function TJSRTCPeerConnection.getReceivers: TJSRTCRtpReceiverDynArray; begin Result:=InvokeJSObjectResult('getReceivers',[],TJSArray) as TJSRTCRtpReceiverDynArray; end; function TJSRTCPeerConnection.getTransceivers: TJSRTCRtpTransceiverDynArray; begin Result:=InvokeJSObjectResult('getTransceivers',[],TJSArray) as TJSRTCRtpTransceiverDynArray; end; procedure TJSRTCPeerConnection.close; begin InvokeJSNoResult('close',[]); end; function TJSRTCPeerConnection.getStats(aSelector: IJSMediaStreamTrack): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[aSelector],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; function TJSRTCPeerConnection.createDataChannel(const aLabel_: UnicodeString; const aDataChannelDict: IJSRTCDataChannelInit): IJSRTCDataChannel; begin Result:=InvokeJSObjectResult('createDataChannel',[aLabel_,aDataChannelDict],TJSRTCDataChannel) as IJSRTCDataChannel; end; function TJSRTCPeerConnection.createDataChannel(const aLabel_: UnicodeString): IJSRTCDataChannel; begin Result:=InvokeJSObjectResult('createDataChannel',[aLabel_],TJSRTCDataChannel) as IJSRTCDataChannel; end; function TJSRTCPeerConnection.createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback; const aOptions: IJSRTCOfferOptions): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallRTCSessionDescriptionCallback); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('createOffer',[m,m2,aOptions],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSRTCPeerConnection.createOffer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallRTCSessionDescriptionCallback); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('createOffer',[m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSRTCPeerConnection.setLocalDescription(const aDescription: IJSRTCLocalSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallVoidFunction); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('setLocalDescription',[aDescription,m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSRTCPeerConnection.createAnswer(const aSuccessCallback: TRTCSessionDescriptionCallback; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallRTCSessionDescriptionCallback); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('createAnswer',[m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSRTCPeerConnection.setRemoteDescription(const aDescription: IJSRTCSessionDescriptionInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallVoidFunction); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('setRemoteDescription',[aDescription,m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; function TJSRTCPeerConnection.addIceCandidate(const aCandidate: IJSRTCIceCandidateInit; const aSuccessCallback: TVoidFunction; const aFailureCallback: TRTCPeerConnectionErrorCallback): IJSPromise; // Promise var m: TJOB_Method; m2: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aSuccessCallback),@JOBCallVoidFunction); m2:=TJOB_Method.Create(TMethod(aFailureCallback),@JOBCallRTCPeerConnectionErrorCallback); try Result:=InvokeJSObjectResult('addIceCandidate',[aCandidate,m,m2],TJSPromise) as IJSPromise; finally m.free; m2.free; end; end; class function TJSRTCPeerConnection.JSClassName: UnicodeString; begin Result:='RTCPeerConnection'; end; class function TJSRTCPeerConnection.Cast(const Intf: IJSObject): IJSRTCPeerConnection; begin Result:=TJSRTCPeerConnection.JOBCast(Intf); end; function TJSRTCPeerConnectionIceEventInit._Getcandidate: IJSRTCIceCandidate; begin Result:=ReadJSPropertyObject('candidate',TJSRTCIceCandidate) as IJSRTCIceCandidate; end; procedure TJSRTCPeerConnectionIceEventInit._Setcandidate(const aValue : IJSRTCIceCandidate); begin WriteJSPropertyObject('candidate',aValue); end; constructor TJSRTCPeerConnectionIceEventInit.create(const aDict : TJSRTCPeerConnectionIceEventInitRec); overload; begin Self.candidate:=aDict.candidate; end; class function TJSRTCPeerConnectionIceEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCPeerConnectionIceEventInit.Cast(const Intf: IJSObject): IJSRTCPeerConnectionIceEventInit; begin Result:=TJSRTCPeerConnectionIceEventInit.JOBCast(Intf); end; function TJSRTCPeerConnectionIceEvent._Getcandidate: IJSRTCIceCandidate; begin Result:=ReadJSPropertyObject('candidate',TJSRTCIceCandidate) as IJSRTCIceCandidate; end; constructor TJSRTCPeerConnectionIceEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCPeerConnectionIceEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSRTCPeerConnectionIceEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSRTCPeerConnectionIceEvent.JSClassName: UnicodeString; begin Result:='RTCPeerConnectionIceEvent'; end; class function TJSRTCPeerConnectionIceEvent.Cast(const Intf: IJSObject): IJSRTCPeerConnectionIceEvent; begin Result:=TJSRTCPeerConnectionIceEvent.JOBCast(Intf); end; function TJSRTCRtpCapabilities._Getcodecs: TJSRTCRtpCodecCapabilityDynArray; begin Result:=ReadJSPropertyObject('codecs',TJSArray) as TJSRTCRtpCodecCapabilityDynArray; end; function TJSRTCRtpCapabilities._GetheaderExtensions: TJSRTCRtpHeaderExtensionCapabilityDynArray; begin Result:=ReadJSPropertyObject('headerExtensions',TJSArray) as TJSRTCRtpHeaderExtensionCapabilityDynArray; end; procedure TJSRTCRtpCapabilities._Setcodecs(const aValue : TJSRTCRtpCodecCapabilityDynArray); begin WriteJSPropertyObject('codecs',aValue); end; procedure TJSRTCRtpCapabilities._SetheaderExtensions(const aValue : TJSRTCRtpHeaderExtensionCapabilityDynArray); begin WriteJSPropertyObject('headerExtensions',aValue); end; constructor TJSRTCRtpCapabilities.create(const aDict : TJSRTCRtpCapabilitiesRec); overload; begin Self.codecs:=aDict.codecs; Self.headerExtensions:=aDict.headerExtensions; end; class function TJSRTCRtpCapabilities.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpCapabilities.Cast(const Intf: IJSObject): IJSRTCRtpCapabilities; begin Result:=TJSRTCRtpCapabilities.JOBCast(Intf); end; constructor TJSRTCRtpCodecCapability.create(const aDict : TJSRTCRtpCodecCapabilityRec); overload; begin end; class function TJSRTCRtpCodecCapability.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpCodecCapability.Cast(const Intf: IJSObject): IJSRTCRtpCodecCapability; begin Result:=TJSRTCRtpCodecCapability.JOBCast(Intf); end; function TJSRTCRtpCodec._GetmimeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mimeType'); end; function TJSRTCRtpCodec._GetclockRate: Cardinal; begin Result:=ReadJSPropertyInt64('clockRate'); end; function TJSRTCRtpCodec._Getchannels: Word; begin Result:=ReadJSPropertyLongInt('channels'); end; function TJSRTCRtpCodec._GetsdpFmtpLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpFmtpLine'); end; procedure TJSRTCRtpCodec._SetmimeType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mimeType',aValue); end; procedure TJSRTCRtpCodec._SetclockRate(const aValue : Cardinal); begin WriteJSPropertyDouble('clockRate',aValue); end; procedure TJSRTCRtpCodec._Setchannels(const aValue : Word); begin WriteJSPropertyLongInt('channels',aValue); end; procedure TJSRTCRtpCodec._SetsdpFmtpLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpFmtpLine',aValue); end; constructor TJSRTCRtpCodec.create(const aDict : TJSRTCRtpCodecRec); overload; begin Self.mimeType:=aDict.mimeType; Self.clockRate:=aDict.clockRate; Self.channels:=aDict.channels; Self.sdpFmtpLine:=aDict.sdpFmtpLine; end; class function TJSRTCRtpCodec.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpCodec.Cast(const Intf: IJSObject): IJSRTCRtpCodec; begin Result:=TJSRTCRtpCodec.JOBCast(Intf); end; function TJSRTCRtpHeaderExtensionCapability._Geturi: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('uri'); end; procedure TJSRTCRtpHeaderExtensionCapability._Seturi(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('uri',aValue); end; constructor TJSRTCRtpHeaderExtensionCapability.create(const aDict : TJSRTCRtpHeaderExtensionCapabilityRec); overload; begin Self.uri:=aDict.uri; end; class function TJSRTCRtpHeaderExtensionCapability.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpHeaderExtensionCapability.Cast(const Intf: IJSObject): IJSRTCRtpHeaderExtensionCapability; begin Result:=TJSRTCRtpHeaderExtensionCapability.JOBCast(Intf); end; function TJSRTCRtpEncodingParameters._Getactive: Boolean; begin Result:=ReadJSPropertyBoolean('active'); end; function TJSRTCRtpEncodingParameters._Getpriority: TRTCPriorityType; begin Result:=ReadJSPropertyUnicodeString('priority'); end; function TJSRTCRtpEncodingParameters._GetmaxBitrate: Cardinal; begin Result:=ReadJSPropertyInt64('maxBitrate'); end; function TJSRTCRtpEncodingParameters._Getrid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rid'); end; function TJSRTCRtpEncodingParameters._GetscaleResolutionDownBy: Double; begin Result:=ReadJSPropertyDouble('scaleResolutionDownBy'); end; function TJSRTCRtpEncodingParameters._GetmaxFramerate: Double; begin Result:=ReadJSPropertyDouble('maxFramerate'); end; procedure TJSRTCRtpEncodingParameters._Setactive(const aValue : Boolean); begin WriteJSPropertyBoolean('active',aValue); end; procedure TJSRTCRtpEncodingParameters._Setpriority(const aValue : TRTCPriorityType); begin WriteJSPropertyUnicodeString('priority',aValue); end; procedure TJSRTCRtpEncodingParameters._SetmaxBitrate(const aValue : Cardinal); begin WriteJSPropertyDouble('maxBitrate',aValue); end; procedure TJSRTCRtpEncodingParameters._Setrid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rid',aValue); end; procedure TJSRTCRtpEncodingParameters._SetscaleResolutionDownBy(const aValue : Double); begin WriteJSPropertyDouble('scaleResolutionDownBy',aValue); end; procedure TJSRTCRtpEncodingParameters._SetmaxFramerate(const aValue : Double); begin WriteJSPropertyDouble('maxFramerate',aValue); end; constructor TJSRTCRtpEncodingParameters.create(const aDict : TJSRTCRtpEncodingParametersRec); overload; begin Self.active:=aDict.active; Self.priority:=aDict.priority; Self.maxBitrate:=aDict.maxBitrate; Self.rid:=aDict.rid; Self.scaleResolutionDownBy:=aDict.scaleResolutionDownBy; Self.maxFramerate:=aDict.maxFramerate; end; class function TJSRTCRtpEncodingParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpEncodingParameters.Cast(const Intf: IJSObject): IJSRTCRtpEncodingParameters; begin Result:=TJSRTCRtpEncodingParameters.JOBCast(Intf); end; function TJSRTCRtpHeaderExtensionParameters._Geturi: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('uri'); end; function TJSRTCRtpHeaderExtensionParameters._Getid: Word; begin Result:=ReadJSPropertyLongInt('id'); end; function TJSRTCRtpHeaderExtensionParameters._Getencrypted: Boolean; begin Result:=ReadJSPropertyBoolean('encrypted'); end; procedure TJSRTCRtpHeaderExtensionParameters._Seturi(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('uri',aValue); end; procedure TJSRTCRtpHeaderExtensionParameters._Setid(const aValue : Word); begin WriteJSPropertyLongInt('id',aValue); end; procedure TJSRTCRtpHeaderExtensionParameters._Setencrypted(const aValue : Boolean); begin WriteJSPropertyBoolean('encrypted',aValue); end; constructor TJSRTCRtpHeaderExtensionParameters.create(const aDict : TJSRTCRtpHeaderExtensionParametersRec); overload; begin Self.uri:=aDict.uri; Self.id:=aDict.id; Self.encrypted:=aDict.encrypted; end; class function TJSRTCRtpHeaderExtensionParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpHeaderExtensionParameters.Cast(const Intf: IJSObject): IJSRTCRtpHeaderExtensionParameters; begin Result:=TJSRTCRtpHeaderExtensionParameters.JOBCast(Intf); end; function TJSRTCRtcpParameters._Getcname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('cname'); end; function TJSRTCRtcpParameters._GetreducedSize: Boolean; begin Result:=ReadJSPropertyBoolean('reducedSize'); end; procedure TJSRTCRtcpParameters._Setcname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('cname',aValue); end; procedure TJSRTCRtcpParameters._SetreducedSize(const aValue : Boolean); begin WriteJSPropertyBoolean('reducedSize',aValue); end; constructor TJSRTCRtcpParameters.create(const aDict : TJSRTCRtcpParametersRec); overload; begin Self.cname:=aDict.cname; Self.reducedSize:=aDict.reducedSize; end; class function TJSRTCRtcpParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtcpParameters.Cast(const Intf: IJSObject): IJSRTCRtcpParameters; begin Result:=TJSRTCRtcpParameters.JOBCast(Intf); end; function TJSRTCRtpCodecParameters._GetpayloadType: Word; begin Result:=ReadJSPropertyLongInt('payloadType'); end; function TJSRTCRtpCodecParameters._GetmimeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mimeType'); end; function TJSRTCRtpCodecParameters._GetclockRate: Cardinal; begin Result:=ReadJSPropertyInt64('clockRate'); end; function TJSRTCRtpCodecParameters._Getchannels: Word; begin Result:=ReadJSPropertyLongInt('channels'); end; function TJSRTCRtpCodecParameters._GetsdpFmtpLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpFmtpLine'); end; procedure TJSRTCRtpCodecParameters._SetpayloadType(const aValue : Word); begin WriteJSPropertyLongInt('payloadType',aValue); end; procedure TJSRTCRtpCodecParameters._SetmimeType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mimeType',aValue); end; procedure TJSRTCRtpCodecParameters._SetclockRate(const aValue : Cardinal); begin WriteJSPropertyDouble('clockRate',aValue); end; procedure TJSRTCRtpCodecParameters._Setchannels(const aValue : Word); begin WriteJSPropertyLongInt('channels',aValue); end; procedure TJSRTCRtpCodecParameters._SetsdpFmtpLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpFmtpLine',aValue); end; constructor TJSRTCRtpCodecParameters.create(const aDict : TJSRTCRtpCodecParametersRec); overload; begin Self.payloadType:=aDict.payloadType; Self.mimeType:=aDict.mimeType; Self.clockRate:=aDict.clockRate; Self.channels:=aDict.channels; Self.sdpFmtpLine:=aDict.sdpFmtpLine; end; class function TJSRTCRtpCodecParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpCodecParameters.Cast(const Intf: IJSObject): IJSRTCRtpCodecParameters; begin Result:=TJSRTCRtpCodecParameters.JOBCast(Intf); end; function TJSRTCRtpParameters._GetheaderExtensions: TJSRTCRtpHeaderExtensionParametersDynArray; begin Result:=ReadJSPropertyObject('headerExtensions',TJSArray) as TJSRTCRtpHeaderExtensionParametersDynArray; end; function TJSRTCRtpParameters._Getrtcp: IJSRTCRtcpParameters; begin Result:=ReadJSPropertyObject('rtcp',TJSRTCRtcpParameters) as IJSRTCRtcpParameters; end; function TJSRTCRtpParameters._Getcodecs: TJSRTCRtpCodecParametersDynArray; begin Result:=ReadJSPropertyObject('codecs',TJSArray) as TJSRTCRtpCodecParametersDynArray; end; procedure TJSRTCRtpParameters._SetheaderExtensions(const aValue : TJSRTCRtpHeaderExtensionParametersDynArray); begin WriteJSPropertyObject('headerExtensions',aValue); end; procedure TJSRTCRtpParameters._Setrtcp(const aValue : IJSRTCRtcpParameters); begin WriteJSPropertyObject('rtcp',aValue); end; procedure TJSRTCRtpParameters._Setcodecs(const aValue : TJSRTCRtpCodecParametersDynArray); begin WriteJSPropertyObject('codecs',aValue); end; constructor TJSRTCRtpParameters.create(const aDict : TJSRTCRtpParametersRec); overload; begin Self.headerExtensions:=aDict.headerExtensions; Self.rtcp:=aDict.rtcp; Self.codecs:=aDict.codecs; end; class function TJSRTCRtpParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpParameters.Cast(const Intf: IJSObject): IJSRTCRtpParameters; begin Result:=TJSRTCRtpParameters.JOBCast(Intf); end; function TJSRTCRtpSendParameters._GettransactionId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transactionId'); end; function TJSRTCRtpSendParameters._Getencodings: TJSRTCRtpEncodingParametersDynArray; begin Result:=ReadJSPropertyObject('encodings',TJSArray) as TJSRTCRtpEncodingParametersDynArray; end; procedure TJSRTCRtpSendParameters._SettransactionId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('transactionId',aValue); end; procedure TJSRTCRtpSendParameters._Setencodings(const aValue : TJSRTCRtpEncodingParametersDynArray); begin WriteJSPropertyObject('encodings',aValue); end; constructor TJSRTCRtpSendParameters.create(const aDict : TJSRTCRtpSendParametersRec); overload; begin Self.transactionId:=aDict.transactionId; Self.encodings:=aDict.encodings; end; class function TJSRTCRtpSendParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpSendParameters.Cast(const Intf: IJSObject): IJSRTCRtpSendParameters; begin Result:=TJSRTCRtpSendParameters.JOBCast(Intf); end; function TJSRTCRtpReceiver._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; function TJSRTCRtpReceiver._Gettransport: IJSRTCDtlsTransport; begin Result:=ReadJSPropertyObject('transport',TJSRTCDtlsTransport) as IJSRTCDtlsTransport; end; function TJSRTCRtpReceiver._GetjitterBufferTarget: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('jitterBufferTarget'); end; function TJSRTCRtpReceiver._Gettransform: IJSRTCRtpScriptTransform; begin Result:=ReadJSPropertyObject('transform',TJSRTCRtpScriptTransform) as IJSRTCRtpScriptTransform; end; procedure TJSRTCRtpReceiver._SetjitterBufferTarget(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('jitterBufferTarget',aValue); end; procedure TJSRTCRtpReceiver._Settransform(const aValue : IJSRTCRtpScriptTransform); begin WriteJSPropertyObject('transform',aValue); end; function TJSRTCRtpReceiver.getCapabilities(const aKind: UnicodeString): IJSRTCRtpCapabilities; begin Result:=InvokeJSObjectResult('getCapabilities',[aKind],TJSRTCRtpCapabilities) as IJSRTCRtpCapabilities; end; function TJSRTCRtpReceiver.getContributingSources: TJSRTCRtpContributingSourceDynArray; begin Result:=InvokeJSObjectResult('getContributingSources',[],TJSArray) as TJSRTCRtpContributingSourceDynArray; end; function TJSRTCRtpReceiver.getSynchronizationSources: TJSRTCRtpSynchronizationSourceDynArray; begin Result:=InvokeJSObjectResult('getSynchronizationSources',[],TJSArray) as TJSRTCRtpSynchronizationSourceDynArray; end; function TJSRTCRtpReceiver.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; class function TJSRTCRtpReceiver.JSClassName: UnicodeString; begin Result:='RTCRtpReceiver'; end; class function TJSRTCRtpReceiver.Cast(const Intf: IJSObject): IJSRTCRtpReceiver; begin Result:=TJSRTCRtpReceiver.JOBCast(Intf); end; constructor TJSRTCRtpScriptTransform.Create(aWorker: IJSWorker; const aOptions: Variant; const aTransfer: TIJSObjectDynArray); begin JOBCreate([aWorker,aOptions,aTransfer]); end; constructor TJSRTCRtpScriptTransform.Create(aWorker: IJSWorker); begin JOBCreate([aWorker]); end; constructor TJSRTCRtpScriptTransform.Create(aWorker: IJSWorker; const aOptions: Variant); begin JOBCreate([aWorker,aOptions]); end; class function TJSRTCRtpScriptTransform.JSClassName: UnicodeString; begin Result:='RTCRtpScriptTransform'; end; class function TJSRTCRtpScriptTransform.Cast(const Intf: IJSObject): IJSRTCRtpScriptTransform; begin Result:=TJSRTCRtpScriptTransform.JOBCast(Intf); end; function TJSRTCRtpScriptTransformer._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSRTCRtpScriptTransformer._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; function TJSRTCRtpScriptTransformer._Getoptions: Variant; begin Result:=ReadJSPropertyVariant('options'); end; function TJSRTCRtpScriptTransformer.generateKeyFrame(const aRid: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateKeyFrame',[aRid],TJSPromise) as IJSPromise; end; function TJSRTCRtpScriptTransformer.generateKeyFrame: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateKeyFrame',[],TJSPromise) as IJSPromise; end; function TJSRTCRtpScriptTransformer.sendKeyFrameRequest: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('sendKeyFrameRequest',[],TJSPromise) as IJSPromise; end; class function TJSRTCRtpScriptTransformer.JSClassName: UnicodeString; begin Result:='RTCRtpScriptTransformer'; end; class function TJSRTCRtpScriptTransformer.Cast(const Intf: IJSObject): IJSRTCRtpScriptTransformer; begin Result:=TJSRTCRtpScriptTransformer.JOBCast(Intf); end; function TJSRTCRtpSender._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; function TJSRTCRtpSender._Gettransport: IJSRTCDtlsTransport; begin Result:=ReadJSPropertyObject('transport',TJSRTCDtlsTransport) as IJSRTCDtlsTransport; end; function TJSRTCRtpSender._Getdtmf: IJSRTCDTMFSender; begin Result:=ReadJSPropertyObject('dtmf',TJSRTCDTMFSender) as IJSRTCDTMFSender; end; function TJSRTCRtpSender._Gettransform: IJSRTCRtpScriptTransform; begin Result:=ReadJSPropertyObject('transform',TJSRTCRtpScriptTransform) as IJSRTCRtpScriptTransform; end; procedure TJSRTCRtpSender._Settransform(const aValue : IJSRTCRtpScriptTransform); begin WriteJSPropertyObject('transform',aValue); end; function TJSRTCRtpSender.getCapabilities(const aKind: UnicodeString): IJSRTCRtpCapabilities; begin Result:=InvokeJSObjectResult('getCapabilities',[aKind],TJSRTCRtpCapabilities) as IJSRTCRtpCapabilities; end; function TJSRTCRtpSender.setParameters(const aParameters: IJSRTCRtpSendParameters): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('setParameters',[aParameters],TJSPromise) as IJSPromise; end; function TJSRTCRtpSender.getParameters: IJSRTCRtpSendParameters; begin Result:=InvokeJSObjectResult('getParameters',[],TJSRTCRtpSendParameters) as IJSRTCRtpSendParameters; end; function TJSRTCRtpSender.replaceTrack(aWithTrack: IJSMediaStreamTrack): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('replaceTrack',[aWithTrack],TJSPromise) as IJSPromise; end; procedure TJSRTCRtpSender.setStreams(aStreams: IJSMediaStream){; ToDo:varargs}; begin InvokeJSNoResult('setStreams',[aStreams]); end; function TJSRTCRtpSender.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; class function TJSRTCRtpSender.JSClassName: UnicodeString; begin Result:='RTCRtpSender'; end; class function TJSRTCRtpSender.Cast(const Intf: IJSObject): IJSRTCRtpSender; begin Result:=TJSRTCRtpSender.JOBCast(Intf); end; function TJSRTCRtpContributingSource._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSRTCRtpContributingSource._Getsource: Cardinal; begin Result:=ReadJSPropertyInt64('source'); end; function TJSRTCRtpContributingSource._GetaudioLevel: Double; begin Result:=ReadJSPropertyDouble('audioLevel'); end; function TJSRTCRtpContributingSource._GetrtpTimestamp: Cardinal; begin Result:=ReadJSPropertyInt64('rtpTimestamp'); end; procedure TJSRTCRtpContributingSource._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSRTCRtpContributingSource._Setsource(const aValue : Cardinal); begin WriteJSPropertyDouble('source',aValue); end; procedure TJSRTCRtpContributingSource._SetaudioLevel(const aValue : Double); begin WriteJSPropertyDouble('audioLevel',aValue); end; procedure TJSRTCRtpContributingSource._SetrtpTimestamp(const aValue : Cardinal); begin WriteJSPropertyDouble('rtpTimestamp',aValue); end; constructor TJSRTCRtpContributingSource.create(const aDict : TJSRTCRtpContributingSourceRec); overload; begin Self.timestamp:=aDict.timestamp; Self.source:=aDict.source; Self.audioLevel:=aDict.audioLevel; Self.rtpTimestamp:=aDict.rtpTimestamp; end; class function TJSRTCRtpContributingSource.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpContributingSource.Cast(const Intf: IJSObject): IJSRTCRtpContributingSource; begin Result:=TJSRTCRtpContributingSource.JOBCast(Intf); end; function TJSRTCRtpSynchronizationSource._GetvoiceActivityFlag: Boolean; begin Result:=ReadJSPropertyBoolean('voiceActivityFlag'); end; procedure TJSRTCRtpSynchronizationSource._SetvoiceActivityFlag(const aValue : Boolean); begin WriteJSPropertyBoolean('voiceActivityFlag',aValue); end; constructor TJSRTCRtpSynchronizationSource.create(const aDict : TJSRTCRtpSynchronizationSourceRec); overload; begin Self.voiceActivityFlag:=aDict.voiceActivityFlag; end; class function TJSRTCRtpSynchronizationSource.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpSynchronizationSource.Cast(const Intf: IJSObject): IJSRTCRtpSynchronizationSource; begin Result:=TJSRTCRtpSynchronizationSource.JOBCast(Intf); end; function TJSRTCRtpSourceEntry._GetsourceType: TRTCRtpSourceEntryType; begin Result:=ReadJSPropertyUnicodeString('sourceType'); end; procedure TJSRTCRtpSourceEntry._SetsourceType(const aValue : TRTCRtpSourceEntryType); begin WriteJSPropertyUnicodeString('sourceType',aValue); end; constructor TJSRTCRtpSourceEntry.create(const aDict : TJSRTCRtpSourceEntryRec); overload; begin Self.sourceType:=aDict.sourceType; end; class function TJSRTCRtpSourceEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpSourceEntry.Cast(const Intf: IJSObject): IJSRTCRtpSourceEntry; begin Result:=TJSRTCRtpSourceEntry.JOBCast(Intf); end; function TJSRTCRtpTransceiverInit._Getdirection: TRTCRtpTransceiverDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSRTCRtpTransceiverInit._Getstreams: TJSMediaStreamDynArray; begin Result:=ReadJSPropertyObject('streams',TJSArray) as TJSMediaStreamDynArray; end; function TJSRTCRtpTransceiverInit._GetsendEncodings: TJSRTCRtpEncodingParametersDynArray; begin Result:=ReadJSPropertyObject('sendEncodings',TJSArray) as TJSRTCRtpEncodingParametersDynArray; end; procedure TJSRTCRtpTransceiverInit._Setdirection(const aValue : TRTCRtpTransceiverDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSRTCRtpTransceiverInit._Setstreams(const aValue : TJSMediaStreamDynArray); begin WriteJSPropertyObject('streams',aValue); end; procedure TJSRTCRtpTransceiverInit._SetsendEncodings(const aValue : TJSRTCRtpEncodingParametersDynArray); begin WriteJSPropertyObject('sendEncodings',aValue); end; constructor TJSRTCRtpTransceiverInit.create(const aDict : TJSRTCRtpTransceiverInitRec); overload; begin Self.direction:=aDict.direction; Self.streams:=aDict.streams; Self.sendEncodings:=aDict.sendEncodings; end; class function TJSRTCRtpTransceiverInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpTransceiverInit.Cast(const Intf: IJSObject): IJSRTCRtpTransceiverInit; begin Result:=TJSRTCRtpTransceiverInit.JOBCast(Intf); end; function TJSRTCRtpTransceiver._Getmid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mid'); end; function TJSRTCRtpTransceiver._Getsender: IJSRTCRtpSender; begin Result:=ReadJSPropertyObject('sender',TJSRTCRtpSender) as IJSRTCRtpSender; end; function TJSRTCRtpTransceiver._Getreceiver: IJSRTCRtpReceiver; begin Result:=ReadJSPropertyObject('receiver',TJSRTCRtpReceiver) as IJSRTCRtpReceiver; end; function TJSRTCRtpTransceiver._Getstopped: Boolean; begin Result:=ReadJSPropertyBoolean('stopped'); end; function TJSRTCRtpTransceiver._Getdirection: TRTCRtpTransceiverDirection; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSRTCRtpTransceiver._GetcurrentDirection: TRTCRtpTransceiverDirection; begin Result:=ReadJSPropertyUnicodeString('currentDirection'); end; procedure TJSRTCRtpTransceiver._Setdirection(const aValue : TRTCRtpTransceiverDirection); begin WriteJSPropertyUnicodeString('direction',aValue); end; procedure TJSRTCRtpTransceiver.stop; begin InvokeJSNoResult('stop',[]); end; class function TJSRTCRtpTransceiver.JSClassName: UnicodeString; begin Result:='RTCRtpTransceiver'; end; class function TJSRTCRtpTransceiver.Cast(const Intf: IJSObject): IJSRTCRtpTransceiver; begin Result:=TJSRTCRtpTransceiver.JOBCast(Intf); end; function TJSRTCSctpTransport._Gettransport: IJSRTCDtlsTransport; begin Result:=ReadJSPropertyObject('transport',TJSRTCDtlsTransport) as IJSRTCDtlsTransport; end; function TJSRTCSctpTransport._Getstate: TRTCSctpTransportState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSRTCSctpTransport._GetmaxMessageSize: Double; begin Result:=ReadJSPropertyDouble('maxMessageSize'); end; function TJSRTCSctpTransport._GetmaxChannels: Word; begin Result:=ReadJSPropertyLongInt('maxChannels'); end; function TJSRTCSctpTransport._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; procedure TJSRTCSctpTransport._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; class function TJSRTCSctpTransport.JSClassName: UnicodeString; begin Result:='RTCSctpTransport'; end; class function TJSRTCSctpTransport.Cast(const Intf: IJSObject): IJSRTCSctpTransport; begin Result:=TJSRTCSctpTransport.JOBCast(Intf); end; function TJSRTCSessionDescriptionInit._Gettype_: TRTCSdpType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCSessionDescriptionInit._Getsdp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdp'); end; procedure TJSRTCSessionDescriptionInit._Settype_(const aValue : TRTCSdpType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSRTCSessionDescriptionInit._Setsdp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdp',aValue); end; constructor TJSRTCSessionDescriptionInit.create(const aDict : TJSRTCSessionDescriptionInitRec); overload; begin Self.type_:=aDict.type_; Self.sdp:=aDict.sdp; end; class function TJSRTCSessionDescriptionInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCSessionDescriptionInit.Cast(const Intf: IJSObject): IJSRTCSessionDescriptionInit; begin Result:=TJSRTCSessionDescriptionInit.JOBCast(Intf); end; function TJSRTCLocalSessionDescriptionInit._Gettype_: TRTCSdpType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCLocalSessionDescriptionInit._Getsdp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdp'); end; procedure TJSRTCLocalSessionDescriptionInit._Settype_(const aValue : TRTCSdpType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSRTCLocalSessionDescriptionInit._Setsdp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdp',aValue); end; constructor TJSRTCLocalSessionDescriptionInit.create(const aDict : TJSRTCLocalSessionDescriptionInitRec); overload; begin Self.type_:=aDict.type_; Self.sdp:=aDict.sdp; end; class function TJSRTCLocalSessionDescriptionInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCLocalSessionDescriptionInit.Cast(const Intf: IJSObject): IJSRTCLocalSessionDescriptionInit; begin Result:=TJSRTCLocalSessionDescriptionInit.JOBCast(Intf); end; function TJSRTCSessionDescription._Gettype_: TRTCSdpType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCSessionDescription._Getsdp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdp'); end; procedure TJSRTCSessionDescription._Settype_(const aValue : TRTCSdpType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSRTCSessionDescription._Setsdp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdp',aValue); end; constructor TJSRTCSessionDescription.Create(const aDescriptionInitDict: IJSRTCSessionDescriptionInit); begin JOBCreate([aDescriptionInitDict]); end; function TJSRTCSessionDescription.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSRTCSessionDescription.JSClassName: UnicodeString; begin Result:='RTCSessionDescription'; end; class function TJSRTCSessionDescription.Cast(const Intf: IJSObject): IJSRTCSessionDescription; begin Result:=TJSRTCSessionDescription.JOBCast(Intf); end; function TJSRTCStats._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSRTCStats._Gettype_: TRTCStatsType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSRTCStats._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSRTCStats._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSRTCStats._Settype_(const aValue : TRTCStatsType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSRTCStats._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; constructor TJSRTCStats.create(const aDict : TJSRTCStatsRec); overload; begin Self.timestamp:=aDict.timestamp; Self.type_:=aDict.type_; Self.id:=aDict.id; end; class function TJSRTCStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCStats.Cast(const Intf: IJSObject): IJSRTCStats; begin Result:=TJSRTCStats.JOBCast(Intf); end; function TJSRTCRtpStreamStats._Getssrc: Cardinal; begin Result:=ReadJSPropertyInt64('ssrc'); end; function TJSRTCRtpStreamStats._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSRTCRtpStreamStats._GetmediaType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mediaType'); end; function TJSRTCRtpStreamStats._GettransportId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transportId'); end; function TJSRTCRtpStreamStats._GetcodecId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codecId'); end; procedure TJSRTCRtpStreamStats._Setssrc(const aValue : Cardinal); begin WriteJSPropertyDouble('ssrc',aValue); end; procedure TJSRTCRtpStreamStats._Setkind(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('kind',aValue); end; procedure TJSRTCRtpStreamStats._SetmediaType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mediaType',aValue); end; procedure TJSRTCRtpStreamStats._SettransportId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('transportId',aValue); end; procedure TJSRTCRtpStreamStats._SetcodecId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codecId',aValue); end; constructor TJSRTCRtpStreamStats.create(const aDict : TJSRTCRtpStreamStatsRec); overload; begin Self.ssrc:=aDict.ssrc; Self.kind:=aDict.kind; Self.mediaType:=aDict.mediaType; Self.transportId:=aDict.transportId; Self.codecId:=aDict.codecId; end; class function TJSRTCRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCRtpStreamStats; begin Result:=TJSRTCRtpStreamStats.JOBCast(Intf); end; function TJSRTCCodecStats._GetpayloadType: Cardinal; begin Result:=ReadJSPropertyInt64('payloadType'); end; function TJSRTCCodecStats._GetcodecType: TRTCCodecType; begin Result:=ReadJSPropertyUnicodeString('codecType'); end; function TJSRTCCodecStats._GettransportId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transportId'); end; function TJSRTCCodecStats._GetmimeType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mimeType'); end; function TJSRTCCodecStats._GetclockRate: Cardinal; begin Result:=ReadJSPropertyInt64('clockRate'); end; function TJSRTCCodecStats._Getchannels: Cardinal; begin Result:=ReadJSPropertyInt64('channels'); end; function TJSRTCCodecStats._GetsdpFmtpLine: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpFmtpLine'); end; procedure TJSRTCCodecStats._SetpayloadType(const aValue : Cardinal); begin WriteJSPropertyDouble('payloadType',aValue); end; procedure TJSRTCCodecStats._SetcodecType(const aValue : TRTCCodecType); begin WriteJSPropertyUnicodeString('codecType',aValue); end; procedure TJSRTCCodecStats._SettransportId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('transportId',aValue); end; procedure TJSRTCCodecStats._SetmimeType(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('mimeType',aValue); end; procedure TJSRTCCodecStats._SetclockRate(const aValue : Cardinal); begin WriteJSPropertyDouble('clockRate',aValue); end; procedure TJSRTCCodecStats._Setchannels(const aValue : Cardinal); begin WriteJSPropertyDouble('channels',aValue); end; procedure TJSRTCCodecStats._SetsdpFmtpLine(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpFmtpLine',aValue); end; constructor TJSRTCCodecStats.create(const aDict : TJSRTCCodecStatsRec); overload; begin Self.payloadType:=aDict.payloadType; Self.codecType:=aDict.codecType; Self.transportId:=aDict.transportId; Self.mimeType:=aDict.mimeType; Self.clockRate:=aDict.clockRate; Self.channels:=aDict.channels; Self.sdpFmtpLine:=aDict.sdpFmtpLine; end; class function TJSRTCCodecStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCCodecStats.Cast(const Intf: IJSObject): IJSRTCCodecStats; begin Result:=TJSRTCCodecStats.JOBCast(Intf); end; function TJSRTCReceivedRtpStreamStats._GetpacketsReceived: QWord; begin Result:=ReadJSPropertyInt64('packetsReceived'); end; function TJSRTCReceivedRtpStreamStats._GetpacketsLost: Int64; begin Result:=ReadJSPropertyInt64('packetsLost'); end; function TJSRTCReceivedRtpStreamStats._Getjitter: Double; begin Result:=ReadJSPropertyDouble('jitter'); end; function TJSRTCReceivedRtpStreamStats._GetdiscardedPackets: Cardinal; begin Result:=ReadJSPropertyInt64('discardedPackets'); end; function TJSRTCReceivedRtpStreamStats._GetpacketsDiscarded: Cardinal; begin Result:=ReadJSPropertyInt64('packetsDiscarded'); end; procedure TJSRTCReceivedRtpStreamStats._SetpacketsReceived(const aValue : QWord); begin WriteJSPropertyDouble('packetsReceived',aValue); end; procedure TJSRTCReceivedRtpStreamStats._SetpacketsLost(const aValue : Int64); begin WriteJSPropertyDouble('packetsLost',aValue); end; procedure TJSRTCReceivedRtpStreamStats._Setjitter(const aValue : Double); begin WriteJSPropertyDouble('jitter',aValue); end; procedure TJSRTCReceivedRtpStreamStats._SetdiscardedPackets(const aValue : Cardinal); begin WriteJSPropertyDouble('discardedPackets',aValue); end; procedure TJSRTCReceivedRtpStreamStats._SetpacketsDiscarded(const aValue : Cardinal); begin WriteJSPropertyDouble('packetsDiscarded',aValue); end; constructor TJSRTCReceivedRtpStreamStats.create(const aDict : TJSRTCReceivedRtpStreamStatsRec); overload; begin Self.packetsReceived:=aDict.packetsReceived; Self.packetsLost:=aDict.packetsLost; Self.jitter:=aDict.jitter; Self.discardedPackets:=aDict.discardedPackets; Self.packetsDiscarded:=aDict.packetsDiscarded; end; class function TJSRTCReceivedRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCReceivedRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCReceivedRtpStreamStats; begin Result:=TJSRTCReceivedRtpStreamStats.JOBCast(Intf); end; function TJSRTCInboundRtpStreamStats._GettrackIdentifier: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('trackIdentifier'); end; function TJSRTCInboundRtpStreamStats._GetremoteId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('remoteId'); end; function TJSRTCInboundRtpStreamStats._GetframesDecoded: Cardinal; begin Result:=ReadJSPropertyInt64('framesDecoded'); end; function TJSRTCInboundRtpStreamStats._GetframesDropped: Cardinal; begin Result:=ReadJSPropertyInt64('framesDropped'); end; function TJSRTCInboundRtpStreamStats._GetframeWidth: Cardinal; begin Result:=ReadJSPropertyInt64('frameWidth'); end; function TJSRTCInboundRtpStreamStats._GetframeHeight: Cardinal; begin Result:=ReadJSPropertyInt64('frameHeight'); end; function TJSRTCInboundRtpStreamStats._GetframesPerSecond: Double; begin Result:=ReadJSPropertyDouble('framesPerSecond'); end; function TJSRTCInboundRtpStreamStats._GetqpSum: QWord; begin Result:=ReadJSPropertyInt64('qpSum'); end; function TJSRTCInboundRtpStreamStats._GettotalDecodeTime: Double; begin Result:=ReadJSPropertyDouble('totalDecodeTime'); end; function TJSRTCInboundRtpStreamStats._GettotalInterFrameDelay: Double; begin Result:=ReadJSPropertyDouble('totalInterFrameDelay'); end; function TJSRTCInboundRtpStreamStats._GettotalSquaredInterFrameDelay: Double; begin Result:=ReadJSPropertyDouble('totalSquaredInterFrameDelay'); end; function TJSRTCInboundRtpStreamStats._GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('lastPacketReceivedTimestamp'); end; function TJSRTCInboundRtpStreamStats._GetheaderBytesReceived: QWord; begin Result:=ReadJSPropertyInt64('headerBytesReceived'); end; function TJSRTCInboundRtpStreamStats._GetfecPacketsReceived: QWord; begin Result:=ReadJSPropertyInt64('fecPacketsReceived'); end; function TJSRTCInboundRtpStreamStats._GetfecPacketsDiscarded: QWord; begin Result:=ReadJSPropertyInt64('fecPacketsDiscarded'); end; function TJSRTCInboundRtpStreamStats._GetbytesReceived: QWord; begin Result:=ReadJSPropertyInt64('bytesReceived'); end; function TJSRTCInboundRtpStreamStats._GetnackCount: Cardinal; begin Result:=ReadJSPropertyInt64('nackCount'); end; function TJSRTCInboundRtpStreamStats._GetfirCount: Cardinal; begin Result:=ReadJSPropertyInt64('firCount'); end; function TJSRTCInboundRtpStreamStats._GetpliCount: Cardinal; begin Result:=ReadJSPropertyInt64('pliCount'); end; function TJSRTCInboundRtpStreamStats._GettotalProcessingDelay: Double; begin Result:=ReadJSPropertyDouble('totalProcessingDelay'); end; function TJSRTCInboundRtpStreamStats._GetjitterBufferDelay: Double; begin Result:=ReadJSPropertyDouble('jitterBufferDelay'); end; function TJSRTCInboundRtpStreamStats._GetjitterBufferEmittedCount: QWord; begin Result:=ReadJSPropertyInt64('jitterBufferEmittedCount'); end; function TJSRTCInboundRtpStreamStats._GettotalSamplesReceived: QWord; begin Result:=ReadJSPropertyInt64('totalSamplesReceived'); end; function TJSRTCInboundRtpStreamStats._GetconcealedSamples: QWord; begin Result:=ReadJSPropertyInt64('concealedSamples'); end; function TJSRTCInboundRtpStreamStats._GetsilentConcealedSamples: QWord; begin Result:=ReadJSPropertyInt64('silentConcealedSamples'); end; function TJSRTCInboundRtpStreamStats._GetconcealmentEvents: QWord; begin Result:=ReadJSPropertyInt64('concealmentEvents'); end; function TJSRTCInboundRtpStreamStats._GetinsertedSamplesForDeceleration: QWord; begin Result:=ReadJSPropertyInt64('insertedSamplesForDeceleration'); end; function TJSRTCInboundRtpStreamStats._GetremovedSamplesForAcceleration: QWord; begin Result:=ReadJSPropertyInt64('removedSamplesForAcceleration'); end; function TJSRTCInboundRtpStreamStats._GetaudioLevel: Double; begin Result:=ReadJSPropertyDouble('audioLevel'); end; function TJSRTCInboundRtpStreamStats._GettotalAudioEnergy: Double; begin Result:=ReadJSPropertyDouble('totalAudioEnergy'); end; function TJSRTCInboundRtpStreamStats._GettotalSamplesDuration: Double; begin Result:=ReadJSPropertyDouble('totalSamplesDuration'); end; function TJSRTCInboundRtpStreamStats._GetframesReceived: Cardinal; begin Result:=ReadJSPropertyInt64('framesReceived'); end; procedure TJSRTCInboundRtpStreamStats._SettrackIdentifier(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('trackIdentifier',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetremoteId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('remoteId',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframesDecoded(const aValue : Cardinal); begin WriteJSPropertyDouble('framesDecoded',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframesDropped(const aValue : Cardinal); begin WriteJSPropertyDouble('framesDropped',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframeWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('frameWidth',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframeHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('frameHeight',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframesPerSecond(const aValue : Double); begin WriteJSPropertyDouble('framesPerSecond',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetqpSum(const aValue : QWord); begin WriteJSPropertyDouble('qpSum',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalDecodeTime(const aValue : Double); begin WriteJSPropertyDouble('totalDecodeTime',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalInterFrameDelay(const aValue : Double); begin WriteJSPropertyDouble('totalInterFrameDelay',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalSquaredInterFrameDelay(const aValue : Double); begin WriteJSPropertyDouble('totalSquaredInterFrameDelay',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetlastPacketReceivedTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('lastPacketReceivedTimestamp',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetheaderBytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('headerBytesReceived',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetfecPacketsReceived(const aValue : QWord); begin WriteJSPropertyDouble('fecPacketsReceived',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetfecPacketsDiscarded(const aValue : QWord); begin WriteJSPropertyDouble('fecPacketsDiscarded',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetbytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('bytesReceived',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetnackCount(const aValue : Cardinal); begin WriteJSPropertyDouble('nackCount',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetfirCount(const aValue : Cardinal); begin WriteJSPropertyDouble('firCount',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetpliCount(const aValue : Cardinal); begin WriteJSPropertyDouble('pliCount',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalProcessingDelay(const aValue : Double); begin WriteJSPropertyDouble('totalProcessingDelay',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetjitterBufferDelay(const aValue : Double); begin WriteJSPropertyDouble('jitterBufferDelay',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetjitterBufferEmittedCount(const aValue : QWord); begin WriteJSPropertyDouble('jitterBufferEmittedCount',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalSamplesReceived(const aValue : QWord); begin WriteJSPropertyDouble('totalSamplesReceived',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetconcealedSamples(const aValue : QWord); begin WriteJSPropertyDouble('concealedSamples',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetsilentConcealedSamples(const aValue : QWord); begin WriteJSPropertyDouble('silentConcealedSamples',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetconcealmentEvents(const aValue : QWord); begin WriteJSPropertyDouble('concealmentEvents',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetinsertedSamplesForDeceleration(const aValue : QWord); begin WriteJSPropertyDouble('insertedSamplesForDeceleration',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetremovedSamplesForAcceleration(const aValue : QWord); begin WriteJSPropertyDouble('removedSamplesForAcceleration',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetaudioLevel(const aValue : Double); begin WriteJSPropertyDouble('audioLevel',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalAudioEnergy(const aValue : Double); begin WriteJSPropertyDouble('totalAudioEnergy',aValue); end; procedure TJSRTCInboundRtpStreamStats._SettotalSamplesDuration(const aValue : Double); begin WriteJSPropertyDouble('totalSamplesDuration',aValue); end; procedure TJSRTCInboundRtpStreamStats._SetframesReceived(const aValue : Cardinal); begin WriteJSPropertyDouble('framesReceived',aValue); end; constructor TJSRTCInboundRtpStreamStats.create(const aDict : TJSRTCInboundRtpStreamStatsRec); overload; begin Self.trackIdentifier:=aDict.trackIdentifier; Self.remoteId:=aDict.remoteId; Self.framesDecoded:=aDict.framesDecoded; Self.framesDropped:=aDict.framesDropped; Self.frameWidth:=aDict.frameWidth; Self.frameHeight:=aDict.frameHeight; Self.framesPerSecond:=aDict.framesPerSecond; Self.qpSum:=aDict.qpSum; Self.totalDecodeTime:=aDict.totalDecodeTime; Self.totalInterFrameDelay:=aDict.totalInterFrameDelay; Self.totalSquaredInterFrameDelay:=aDict.totalSquaredInterFrameDelay; Self.lastPacketReceivedTimestamp:=aDict.lastPacketReceivedTimestamp; Self.headerBytesReceived:=aDict.headerBytesReceived; Self.fecPacketsReceived:=aDict.fecPacketsReceived; Self.fecPacketsDiscarded:=aDict.fecPacketsDiscarded; Self.bytesReceived:=aDict.bytesReceived; Self.nackCount:=aDict.nackCount; Self.firCount:=aDict.firCount; Self.pliCount:=aDict.pliCount; Self.totalProcessingDelay:=aDict.totalProcessingDelay; Self.jitterBufferDelay:=aDict.jitterBufferDelay; Self.jitterBufferEmittedCount:=aDict.jitterBufferEmittedCount; Self.totalSamplesReceived:=aDict.totalSamplesReceived; Self.concealedSamples:=aDict.concealedSamples; Self.silentConcealedSamples:=aDict.silentConcealedSamples; Self.concealmentEvents:=aDict.concealmentEvents; Self.insertedSamplesForDeceleration:=aDict.insertedSamplesForDeceleration; Self.removedSamplesForAcceleration:=aDict.removedSamplesForAcceleration; Self.audioLevel:=aDict.audioLevel; Self.totalAudioEnergy:=aDict.totalAudioEnergy; Self.totalSamplesDuration:=aDict.totalSamplesDuration; Self.framesReceived:=aDict.framesReceived; end; class function TJSRTCInboundRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCInboundRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCInboundRtpStreamStats; begin Result:=TJSRTCInboundRtpStreamStats.JOBCast(Intf); end; function TJSRTCRemoteInboundRtpStreamStats._GetlocalId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localId'); end; function TJSRTCRemoteInboundRtpStreamStats._GetroundTripTime: Double; begin Result:=ReadJSPropertyDouble('roundTripTime'); end; function TJSRTCRemoteInboundRtpStreamStats._GettotalRoundTripTime: Double; begin Result:=ReadJSPropertyDouble('totalRoundTripTime'); end; function TJSRTCRemoteInboundRtpStreamStats._GetfractionLost: Double; begin Result:=ReadJSPropertyDouble('fractionLost'); end; function TJSRTCRemoteInboundRtpStreamStats._GetroundTripTimeMeasurements: QWord; begin Result:=ReadJSPropertyInt64('roundTripTimeMeasurements'); end; procedure TJSRTCRemoteInboundRtpStreamStats._SetlocalId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('localId',aValue); end; procedure TJSRTCRemoteInboundRtpStreamStats._SetroundTripTime(const aValue : Double); begin WriteJSPropertyDouble('roundTripTime',aValue); end; procedure TJSRTCRemoteInboundRtpStreamStats._SettotalRoundTripTime(const aValue : Double); begin WriteJSPropertyDouble('totalRoundTripTime',aValue); end; procedure TJSRTCRemoteInboundRtpStreamStats._SetfractionLost(const aValue : Double); begin WriteJSPropertyDouble('fractionLost',aValue); end; procedure TJSRTCRemoteInboundRtpStreamStats._SetroundTripTimeMeasurements(const aValue : QWord); begin WriteJSPropertyDouble('roundTripTimeMeasurements',aValue); end; constructor TJSRTCRemoteInboundRtpStreamStats.create(const aDict : TJSRTCRemoteInboundRtpStreamStatsRec); overload; begin Self.localId:=aDict.localId; Self.roundTripTime:=aDict.roundTripTime; Self.totalRoundTripTime:=aDict.totalRoundTripTime; Self.fractionLost:=aDict.fractionLost; Self.roundTripTimeMeasurements:=aDict.roundTripTimeMeasurements; end; class function TJSRTCRemoteInboundRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRemoteInboundRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCRemoteInboundRtpStreamStats; begin Result:=TJSRTCRemoteInboundRtpStreamStats.JOBCast(Intf); end; function TJSRTCSentRtpStreamStats._GetpacketsSent: Cardinal; begin Result:=ReadJSPropertyInt64('packetsSent'); end; function TJSRTCSentRtpStreamStats._GetbytesSent: QWord; begin Result:=ReadJSPropertyInt64('bytesSent'); end; procedure TJSRTCSentRtpStreamStats._SetpacketsSent(const aValue : Cardinal); begin WriteJSPropertyDouble('packetsSent',aValue); end; procedure TJSRTCSentRtpStreamStats._SetbytesSent(const aValue : QWord); begin WriteJSPropertyDouble('bytesSent',aValue); end; constructor TJSRTCSentRtpStreamStats.create(const aDict : TJSRTCSentRtpStreamStatsRec); overload; begin Self.packetsSent:=aDict.packetsSent; Self.bytesSent:=aDict.bytesSent; end; class function TJSRTCSentRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCSentRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCSentRtpStreamStats; begin Result:=TJSRTCSentRtpStreamStats.JOBCast(Intf); end; function TJSRTCOutboundRtpStreamStats._GetremoteId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('remoteId'); end; function TJSRTCOutboundRtpStreamStats._GetframesEncoded: Cardinal; begin Result:=ReadJSPropertyInt64('framesEncoded'); end; function TJSRTCOutboundRtpStreamStats._GetqpSum: QWord; begin Result:=ReadJSPropertyInt64('qpSum'); end; function TJSRTCOutboundRtpStreamStats._GetnackCount: Cardinal; begin Result:=ReadJSPropertyInt64('nackCount'); end; function TJSRTCOutboundRtpStreamStats._GetfirCount: Cardinal; begin Result:=ReadJSPropertyInt64('firCount'); end; function TJSRTCOutboundRtpStreamStats._GetpliCount: Cardinal; begin Result:=ReadJSPropertyInt64('pliCount'); end; function TJSRTCOutboundRtpStreamStats._GetheaderBytesSent: QWord; begin Result:=ReadJSPropertyInt64('headerBytesSent'); end; function TJSRTCOutboundRtpStreamStats._GetretransmittedPacketsSent: QWord; begin Result:=ReadJSPropertyInt64('retransmittedPacketsSent'); end; function TJSRTCOutboundRtpStreamStats._GetretransmittedBytesSent: QWord; begin Result:=ReadJSPropertyInt64('retransmittedBytesSent'); end; function TJSRTCOutboundRtpStreamStats._GettotalEncodedBytesTarget: QWord; begin Result:=ReadJSPropertyInt64('totalEncodedBytesTarget'); end; function TJSRTCOutboundRtpStreamStats._GetframeWidth: Cardinal; begin Result:=ReadJSPropertyInt64('frameWidth'); end; function TJSRTCOutboundRtpStreamStats._GetframeHeight: Cardinal; begin Result:=ReadJSPropertyInt64('frameHeight'); end; function TJSRTCOutboundRtpStreamStats._GetframesPerSecond: Double; begin Result:=ReadJSPropertyDouble('framesPerSecond'); end; function TJSRTCOutboundRtpStreamStats._GetframesSent: Cardinal; begin Result:=ReadJSPropertyInt64('framesSent'); end; function TJSRTCOutboundRtpStreamStats._GethugeFramesSent: Cardinal; begin Result:=ReadJSPropertyInt64('hugeFramesSent'); end; function TJSRTCOutboundRtpStreamStats._GettotalEncodeTime: Double; begin Result:=ReadJSPropertyDouble('totalEncodeTime'); end; procedure TJSRTCOutboundRtpStreamStats._SetremoteId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('remoteId',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetframesEncoded(const aValue : Cardinal); begin WriteJSPropertyDouble('framesEncoded',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetqpSum(const aValue : QWord); begin WriteJSPropertyDouble('qpSum',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetnackCount(const aValue : Cardinal); begin WriteJSPropertyDouble('nackCount',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetfirCount(const aValue : Cardinal); begin WriteJSPropertyDouble('firCount',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetpliCount(const aValue : Cardinal); begin WriteJSPropertyDouble('pliCount',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetheaderBytesSent(const aValue : QWord); begin WriteJSPropertyDouble('headerBytesSent',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetretransmittedPacketsSent(const aValue : QWord); begin WriteJSPropertyDouble('retransmittedPacketsSent',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetretransmittedBytesSent(const aValue : QWord); begin WriteJSPropertyDouble('retransmittedBytesSent',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SettotalEncodedBytesTarget(const aValue : QWord); begin WriteJSPropertyDouble('totalEncodedBytesTarget',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetframeWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('frameWidth',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetframeHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('frameHeight',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetframesPerSecond(const aValue : Double); begin WriteJSPropertyDouble('framesPerSecond',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SetframesSent(const aValue : Cardinal); begin WriteJSPropertyDouble('framesSent',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SethugeFramesSent(const aValue : Cardinal); begin WriteJSPropertyDouble('hugeFramesSent',aValue); end; procedure TJSRTCOutboundRtpStreamStats._SettotalEncodeTime(const aValue : Double); begin WriteJSPropertyDouble('totalEncodeTime',aValue); end; constructor TJSRTCOutboundRtpStreamStats.create(const aDict : TJSRTCOutboundRtpStreamStatsRec); overload; begin Self.remoteId:=aDict.remoteId; Self.framesEncoded:=aDict.framesEncoded; Self.qpSum:=aDict.qpSum; Self.nackCount:=aDict.nackCount; Self.firCount:=aDict.firCount; Self.pliCount:=aDict.pliCount; Self.headerBytesSent:=aDict.headerBytesSent; Self.retransmittedPacketsSent:=aDict.retransmittedPacketsSent; Self.retransmittedBytesSent:=aDict.retransmittedBytesSent; Self.totalEncodedBytesTarget:=aDict.totalEncodedBytesTarget; Self.frameWidth:=aDict.frameWidth; Self.frameHeight:=aDict.frameHeight; Self.framesPerSecond:=aDict.framesPerSecond; Self.framesSent:=aDict.framesSent; Self.hugeFramesSent:=aDict.hugeFramesSent; Self.totalEncodeTime:=aDict.totalEncodeTime; end; class function TJSRTCOutboundRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCOutboundRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCOutboundRtpStreamStats; begin Result:=TJSRTCOutboundRtpStreamStats.JOBCast(Intf); end; function TJSRTCRemoteOutboundRtpStreamStats._GetlocalId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localId'); end; function TJSRTCRemoteOutboundRtpStreamStats._GetremoteTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('remoteTimestamp'); end; procedure TJSRTCRemoteOutboundRtpStreamStats._SetlocalId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('localId',aValue); end; procedure TJSRTCRemoteOutboundRtpStreamStats._SetremoteTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('remoteTimestamp',aValue); end; constructor TJSRTCRemoteOutboundRtpStreamStats.create(const aDict : TJSRTCRemoteOutboundRtpStreamStatsRec); overload; begin Self.localId:=aDict.localId; Self.remoteTimestamp:=aDict.remoteTimestamp; end; class function TJSRTCRemoteOutboundRtpStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRemoteOutboundRtpStreamStats.Cast(const Intf: IJSObject): IJSRTCRemoteOutboundRtpStreamStats; begin Result:=TJSRTCRemoteOutboundRtpStreamStats.JOBCast(Intf); end; function TJSRTCMediaSourceStats._GettrackIdentifier: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('trackIdentifier'); end; function TJSRTCMediaSourceStats._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; procedure TJSRTCMediaSourceStats._SettrackIdentifier(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('trackIdentifier',aValue); end; procedure TJSRTCMediaSourceStats._Setkind(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('kind',aValue); end; constructor TJSRTCMediaSourceStats.create(const aDict : TJSRTCMediaSourceStatsRec); overload; begin Self.trackIdentifier:=aDict.trackIdentifier; Self.kind:=aDict.kind; end; class function TJSRTCMediaSourceStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCMediaSourceStats.Cast(const Intf: IJSObject): IJSRTCMediaSourceStats; begin Result:=TJSRTCMediaSourceStats.JOBCast(Intf); end; function TJSRTCVideoSourceStats._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSRTCVideoSourceStats._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSRTCVideoSourceStats._Getframes: Cardinal; begin Result:=ReadJSPropertyInt64('frames'); end; function TJSRTCVideoSourceStats._GetframesPerSecond: Double; begin Result:=ReadJSPropertyDouble('framesPerSecond'); end; procedure TJSRTCVideoSourceStats._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSRTCVideoSourceStats._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSRTCVideoSourceStats._Setframes(const aValue : Cardinal); begin WriteJSPropertyDouble('frames',aValue); end; procedure TJSRTCVideoSourceStats._SetframesPerSecond(const aValue : Double); begin WriteJSPropertyDouble('framesPerSecond',aValue); end; constructor TJSRTCVideoSourceStats.create(const aDict : TJSRTCVideoSourceStatsRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.frames:=aDict.frames; Self.framesPerSecond:=aDict.framesPerSecond; end; class function TJSRTCVideoSourceStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCVideoSourceStats.Cast(const Intf: IJSObject): IJSRTCVideoSourceStats; begin Result:=TJSRTCVideoSourceStats.JOBCast(Intf); end; function TJSRTCPeerConnectionStats._GetdataChannelsOpened: Cardinal; begin Result:=ReadJSPropertyInt64('dataChannelsOpened'); end; function TJSRTCPeerConnectionStats._GetdataChannelsClosed: Cardinal; begin Result:=ReadJSPropertyInt64('dataChannelsClosed'); end; procedure TJSRTCPeerConnectionStats._SetdataChannelsOpened(const aValue : Cardinal); begin WriteJSPropertyDouble('dataChannelsOpened',aValue); end; procedure TJSRTCPeerConnectionStats._SetdataChannelsClosed(const aValue : Cardinal); begin WriteJSPropertyDouble('dataChannelsClosed',aValue); end; constructor TJSRTCPeerConnectionStats.create(const aDict : TJSRTCPeerConnectionStatsRec); overload; begin Self.dataChannelsOpened:=aDict.dataChannelsOpened; Self.dataChannelsClosed:=aDict.dataChannelsClosed; end; class function TJSRTCPeerConnectionStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCPeerConnectionStats.Cast(const Intf: IJSObject): IJSRTCPeerConnectionStats; begin Result:=TJSRTCPeerConnectionStats.JOBCast(Intf); end; function TJSRTCRTPContributingSourceStats._GetcontributorSsrc: Cardinal; begin Result:=ReadJSPropertyInt64('contributorSsrc'); end; function TJSRTCRTPContributingSourceStats._GetinboundRtpStreamId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inboundRtpStreamId'); end; procedure TJSRTCRTPContributingSourceStats._SetcontributorSsrc(const aValue : Cardinal); begin WriteJSPropertyDouble('contributorSsrc',aValue); end; procedure TJSRTCRTPContributingSourceStats._SetinboundRtpStreamId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('inboundRtpStreamId',aValue); end; constructor TJSRTCRTPContributingSourceStats.create(const aDict : TJSRTCRTPContributingSourceStatsRec); overload; begin Self.contributorSsrc:=aDict.contributorSsrc; Self.inboundRtpStreamId:=aDict.inboundRtpStreamId; end; class function TJSRTCRTPContributingSourceStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCRTPContributingSourceStats.Cast(const Intf: IJSObject): IJSRTCRTPContributingSourceStats; begin Result:=TJSRTCRTPContributingSourceStats.JOBCast(Intf); end; function TJSRTCDataChannelStats._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSRTCDataChannelStats._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCDataChannelStats._GetdataChannelIdentifier: LongInt; begin Result:=ReadJSPropertyLongInt('dataChannelIdentifier'); end; function TJSRTCDataChannelStats._Getstate: TRTCDataChannelState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSRTCDataChannelStats._GetmessagesSent: Cardinal; begin Result:=ReadJSPropertyInt64('messagesSent'); end; function TJSRTCDataChannelStats._GetbytesSent: QWord; begin Result:=ReadJSPropertyInt64('bytesSent'); end; function TJSRTCDataChannelStats._GetmessagesReceived: Cardinal; begin Result:=ReadJSPropertyInt64('messagesReceived'); end; function TJSRTCDataChannelStats._GetbytesReceived: QWord; begin Result:=ReadJSPropertyInt64('bytesReceived'); end; procedure TJSRTCDataChannelStats._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSRTCDataChannelStats._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; procedure TJSRTCDataChannelStats._SetdataChannelIdentifier(const aValue : LongInt); begin WriteJSPropertyLongInt('dataChannelIdentifier',aValue); end; procedure TJSRTCDataChannelStats._Setstate(const aValue : TRTCDataChannelState); begin WriteJSPropertyUnicodeString('state',aValue); end; procedure TJSRTCDataChannelStats._SetmessagesSent(const aValue : Cardinal); begin WriteJSPropertyDouble('messagesSent',aValue); end; procedure TJSRTCDataChannelStats._SetbytesSent(const aValue : QWord); begin WriteJSPropertyDouble('bytesSent',aValue); end; procedure TJSRTCDataChannelStats._SetmessagesReceived(const aValue : Cardinal); begin WriteJSPropertyDouble('messagesReceived',aValue); end; procedure TJSRTCDataChannelStats._SetbytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('bytesReceived',aValue); end; constructor TJSRTCDataChannelStats.create(const aDict : TJSRTCDataChannelStatsRec); overload; begin Self.label_:=aDict.label_; Self.protocol:=aDict.protocol; Self.dataChannelIdentifier:=aDict.dataChannelIdentifier; Self.state:=aDict.state; Self.messagesSent:=aDict.messagesSent; Self.bytesSent:=aDict.bytesSent; Self.messagesReceived:=aDict.messagesReceived; Self.bytesReceived:=aDict.bytesReceived; end; class function TJSRTCDataChannelStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCDataChannelStats.Cast(const Intf: IJSObject): IJSRTCDataChannelStats; begin Result:=TJSRTCDataChannelStats.JOBCast(Intf); end; function TJSRTCIceCandidatePairStats._GettransportId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transportId'); end; function TJSRTCIceCandidatePairStats._GetlocalCandidateId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localCandidateId'); end; function TJSRTCIceCandidatePairStats._GetremoteCandidateId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('remoteCandidateId'); end; function TJSRTCIceCandidatePairStats._Getstate: TRTCStatsIceCandidatePairState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSRTCIceCandidatePairStats._Getpriority: QWord; begin Result:=ReadJSPropertyInt64('priority'); end; function TJSRTCIceCandidatePairStats._Getnominated: Boolean; begin Result:=ReadJSPropertyBoolean('nominated'); end; function TJSRTCIceCandidatePairStats._Getwritable: Boolean; begin Result:=ReadJSPropertyBoolean('writable'); end; function TJSRTCIceCandidatePairStats._Getreadable: Boolean; begin Result:=ReadJSPropertyBoolean('readable'); end; function TJSRTCIceCandidatePairStats._GetbytesSent: QWord; begin Result:=ReadJSPropertyInt64('bytesSent'); end; function TJSRTCIceCandidatePairStats._GetbytesReceived: QWord; begin Result:=ReadJSPropertyInt64('bytesReceived'); end; function TJSRTCIceCandidatePairStats._GetlastPacketSentTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('lastPacketSentTimestamp'); end; function TJSRTCIceCandidatePairStats._GetlastPacketReceivedTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('lastPacketReceivedTimestamp'); end; function TJSRTCIceCandidatePairStats._Getselected: Boolean; begin Result:=ReadJSPropertyBoolean('selected'); end; procedure TJSRTCIceCandidatePairStats._SettransportId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('transportId',aValue); end; procedure TJSRTCIceCandidatePairStats._SetlocalCandidateId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('localCandidateId',aValue); end; procedure TJSRTCIceCandidatePairStats._SetremoteCandidateId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('remoteCandidateId',aValue); end; procedure TJSRTCIceCandidatePairStats._Setstate(const aValue : TRTCStatsIceCandidatePairState); begin WriteJSPropertyUnicodeString('state',aValue); end; procedure TJSRTCIceCandidatePairStats._Setpriority(const aValue : QWord); begin WriteJSPropertyDouble('priority',aValue); end; procedure TJSRTCIceCandidatePairStats._Setnominated(const aValue : Boolean); begin WriteJSPropertyBoolean('nominated',aValue); end; procedure TJSRTCIceCandidatePairStats._Setwritable(const aValue : Boolean); begin WriteJSPropertyBoolean('writable',aValue); end; procedure TJSRTCIceCandidatePairStats._Setreadable(const aValue : Boolean); begin WriteJSPropertyBoolean('readable',aValue); end; procedure TJSRTCIceCandidatePairStats._SetbytesSent(const aValue : QWord); begin WriteJSPropertyDouble('bytesSent',aValue); end; procedure TJSRTCIceCandidatePairStats._SetbytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('bytesReceived',aValue); end; procedure TJSRTCIceCandidatePairStats._SetlastPacketSentTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('lastPacketSentTimestamp',aValue); end; procedure TJSRTCIceCandidatePairStats._SetlastPacketReceivedTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('lastPacketReceivedTimestamp',aValue); end; procedure TJSRTCIceCandidatePairStats._Setselected(const aValue : Boolean); begin WriteJSPropertyBoolean('selected',aValue); end; constructor TJSRTCIceCandidatePairStats.create(const aDict : TJSRTCIceCandidatePairStatsRec); overload; begin Self.transportId:=aDict.transportId; Self.localCandidateId:=aDict.localCandidateId; Self.remoteCandidateId:=aDict.remoteCandidateId; Self.state:=aDict.state; Self.priority:=aDict.priority; Self.nominated:=aDict.nominated; Self.writable:=aDict.writable; Self.readable:=aDict.readable; Self.bytesSent:=aDict.bytesSent; Self.bytesReceived:=aDict.bytesReceived; Self.lastPacketSentTimestamp:=aDict.lastPacketSentTimestamp; Self.lastPacketReceivedTimestamp:=aDict.lastPacketReceivedTimestamp; Self.selected:=aDict.selected; end; class function TJSRTCIceCandidatePairStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIceCandidatePairStats.Cast(const Intf: IJSObject): IJSRTCIceCandidatePairStats; begin Result:=TJSRTCIceCandidatePairStats.JOBCast(Intf); end; function TJSRTCIceCandidateStats._Getaddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('address'); end; function TJSRTCIceCandidateStats._Getport: LongInt; begin Result:=ReadJSPropertyLongInt('port'); end; function TJSRTCIceCandidateStats._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSRTCIceCandidateStats._GetcandidateType: TRTCIceCandidateType; begin Result:=ReadJSPropertyUnicodeString('candidateType'); end; function TJSRTCIceCandidateStats._Getpriority: LongInt; begin Result:=ReadJSPropertyLongInt('priority'); end; function TJSRTCIceCandidateStats._GetrelayProtocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('relayProtocol'); end; procedure TJSRTCIceCandidateStats._Setaddress(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('address',aValue); end; procedure TJSRTCIceCandidateStats._Setport(const aValue : LongInt); begin WriteJSPropertyLongInt('port',aValue); end; procedure TJSRTCIceCandidateStats._Setprotocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('protocol',aValue); end; procedure TJSRTCIceCandidateStats._SetcandidateType(const aValue : TRTCIceCandidateType); begin WriteJSPropertyUnicodeString('candidateType',aValue); end; procedure TJSRTCIceCandidateStats._Setpriority(const aValue : LongInt); begin WriteJSPropertyLongInt('priority',aValue); end; procedure TJSRTCIceCandidateStats._SetrelayProtocol(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('relayProtocol',aValue); end; constructor TJSRTCIceCandidateStats.create(const aDict : TJSRTCIceCandidateStatsRec); overload; begin Self.address:=aDict.address; Self.port:=aDict.port; Self.protocol:=aDict.protocol; Self.candidateType:=aDict.candidateType; Self.priority:=aDict.priority; Self.relayProtocol:=aDict.relayProtocol; end; class function TJSRTCIceCandidateStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIceCandidateStats.Cast(const Intf: IJSObject): IJSRTCIceCandidateStats; begin Result:=TJSRTCIceCandidateStats.JOBCast(Intf); end; function TJSRTCVideoFrameHistoryEntryInternal._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSRTCVideoFrameHistoryEntryInternal._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetrotationAngle: Cardinal; begin Result:=ReadJSPropertyInt64('rotationAngle'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetfirstFrameTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('firstFrameTimestamp'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetlastFrameTimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('lastFrameTimestamp'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetconsecutiveFrames: QWord; begin Result:=ReadJSPropertyInt64('consecutiveFrames'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetlocalSsrc: Cardinal; begin Result:=ReadJSPropertyInt64('localSsrc'); end; function TJSRTCVideoFrameHistoryEntryInternal._GetremoteSsrc: Cardinal; begin Result:=ReadJSPropertyInt64('remoteSsrc'); end; procedure TJSRTCVideoFrameHistoryEntryInternal._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetrotationAngle(const aValue : Cardinal); begin WriteJSPropertyDouble('rotationAngle',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetfirstFrameTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('firstFrameTimestamp',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetlastFrameTimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('lastFrameTimestamp',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetconsecutiveFrames(const aValue : QWord); begin WriteJSPropertyDouble('consecutiveFrames',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetlocalSsrc(const aValue : Cardinal); begin WriteJSPropertyDouble('localSsrc',aValue); end; procedure TJSRTCVideoFrameHistoryEntryInternal._SetremoteSsrc(const aValue : Cardinal); begin WriteJSPropertyDouble('remoteSsrc',aValue); end; constructor TJSRTCVideoFrameHistoryEntryInternal.create(const aDict : TJSRTCVideoFrameHistoryEntryInternalRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.rotationAngle:=aDict.rotationAngle; Self.firstFrameTimestamp:=aDict.firstFrameTimestamp; Self.lastFrameTimestamp:=aDict.lastFrameTimestamp; Self.consecutiveFrames:=aDict.consecutiveFrames; Self.localSsrc:=aDict.localSsrc; Self.remoteSsrc:=aDict.remoteSsrc; end; class function TJSRTCVideoFrameHistoryEntryInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCVideoFrameHistoryEntryInternal.Cast(const Intf: IJSObject): IJSRTCVideoFrameHistoryEntryInternal; begin Result:=TJSRTCVideoFrameHistoryEntryInternal.JOBCast(Intf); end; function TJSRTCVideoFrameHistoryInternal._GettrackIdentifier: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('trackIdentifier'); end; function TJSRTCVideoFrameHistoryInternal._Getentries: TJSRTCVideoFrameHistoryEntryInternalDynArray; begin Result:=ReadJSPropertyObject('entries',TJSArray) as TJSRTCVideoFrameHistoryEntryInternalDynArray; end; procedure TJSRTCVideoFrameHistoryInternal._SettrackIdentifier(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('trackIdentifier',aValue); end; procedure TJSRTCVideoFrameHistoryInternal._Setentries(const aValue : TJSRTCVideoFrameHistoryEntryInternalDynArray); begin WriteJSPropertyObject('entries',aValue); end; constructor TJSRTCVideoFrameHistoryInternal.create(const aDict : TJSRTCVideoFrameHistoryInternalRec); overload; begin Self.trackIdentifier:=aDict.trackIdentifier; Self.entries:=aDict.entries; end; class function TJSRTCVideoFrameHistoryInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCVideoFrameHistoryInternal.Cast(const Intf: IJSObject): IJSRTCVideoFrameHistoryInternal; begin Result:=TJSRTCVideoFrameHistoryInternal.JOBCast(Intf); end; function TJSRTCBandwidthEstimationInternal._GettrackIdentifier: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('trackIdentifier'); end; function TJSRTCBandwidthEstimationInternal._GetsendBandwidthBps: LongInt; begin Result:=ReadJSPropertyLongInt('sendBandwidthBps'); end; function TJSRTCBandwidthEstimationInternal._GetmaxPaddingBps: LongInt; begin Result:=ReadJSPropertyLongInt('maxPaddingBps'); end; function TJSRTCBandwidthEstimationInternal._GetreceiveBandwidthBps: LongInt; begin Result:=ReadJSPropertyLongInt('receiveBandwidthBps'); end; function TJSRTCBandwidthEstimationInternal._GetpacerDelayMs: LongInt; begin Result:=ReadJSPropertyLongInt('pacerDelayMs'); end; function TJSRTCBandwidthEstimationInternal._GetrttMs: LongInt; begin Result:=ReadJSPropertyLongInt('rttMs'); end; procedure TJSRTCBandwidthEstimationInternal._SettrackIdentifier(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('trackIdentifier',aValue); end; procedure TJSRTCBandwidthEstimationInternal._SetsendBandwidthBps(const aValue : LongInt); begin WriteJSPropertyLongInt('sendBandwidthBps',aValue); end; procedure TJSRTCBandwidthEstimationInternal._SetmaxPaddingBps(const aValue : LongInt); begin WriteJSPropertyLongInt('maxPaddingBps',aValue); end; procedure TJSRTCBandwidthEstimationInternal._SetreceiveBandwidthBps(const aValue : LongInt); begin WriteJSPropertyLongInt('receiveBandwidthBps',aValue); end; procedure TJSRTCBandwidthEstimationInternal._SetpacerDelayMs(const aValue : LongInt); begin WriteJSPropertyLongInt('pacerDelayMs',aValue); end; procedure TJSRTCBandwidthEstimationInternal._SetrttMs(const aValue : LongInt); begin WriteJSPropertyLongInt('rttMs',aValue); end; constructor TJSRTCBandwidthEstimationInternal.create(const aDict : TJSRTCBandwidthEstimationInternalRec); overload; begin Self.trackIdentifier:=aDict.trackIdentifier; Self.sendBandwidthBps:=aDict.sendBandwidthBps; Self.maxPaddingBps:=aDict.maxPaddingBps; Self.receiveBandwidthBps:=aDict.receiveBandwidthBps; Self.pacerDelayMs:=aDict.pacerDelayMs; Self.rttMs:=aDict.rttMs; end; class function TJSRTCBandwidthEstimationInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCBandwidthEstimationInternal.Cast(const Intf: IJSObject): IJSRTCBandwidthEstimationInternal; begin Result:=TJSRTCBandwidthEstimationInternal.JOBCast(Intf); end; function TJSRTCSdpParsingErrorInternal._GetlineNumber: Cardinal; begin Result:=ReadJSPropertyInt64('lineNumber'); end; function TJSRTCSdpParsingErrorInternal._Geterror: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('error'); end; procedure TJSRTCSdpParsingErrorInternal._SetlineNumber(const aValue : Cardinal); begin WriteJSPropertyDouble('lineNumber',aValue); end; procedure TJSRTCSdpParsingErrorInternal._Seterror(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('error',aValue); end; constructor TJSRTCSdpParsingErrorInternal.create(const aDict : TJSRTCSdpParsingErrorInternalRec); overload; begin Self.lineNumber:=aDict.lineNumber; Self.error:=aDict.error; end; class function TJSRTCSdpParsingErrorInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCSdpParsingErrorInternal.Cast(const Intf: IJSObject): IJSRTCSdpParsingErrorInternal; begin Result:=TJSRTCSdpParsingErrorInternal.JOBCast(Intf); end; function TJSRTCSdpHistoryEntryInternal._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSRTCSdpHistoryEntryInternal._GetisLocal: Boolean; begin Result:=ReadJSPropertyBoolean('isLocal'); end; function TJSRTCSdpHistoryEntryInternal._Getsdp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdp'); end; function TJSRTCSdpHistoryEntryInternal._Geterrors: TJSRTCSdpParsingErrorInternalDynArray; begin Result:=ReadJSPropertyObject('errors',TJSArray) as TJSRTCSdpParsingErrorInternalDynArray; end; procedure TJSRTCSdpHistoryEntryInternal._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSRTCSdpHistoryEntryInternal._SetisLocal(const aValue : Boolean); begin WriteJSPropertyBoolean('isLocal',aValue); end; procedure TJSRTCSdpHistoryEntryInternal._Setsdp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdp',aValue); end; procedure TJSRTCSdpHistoryEntryInternal._Seterrors(const aValue : TJSRTCSdpParsingErrorInternalDynArray); begin WriteJSPropertyObject('errors',aValue); end; constructor TJSRTCSdpHistoryEntryInternal.create(const aDict : TJSRTCSdpHistoryEntryInternalRec); overload; begin Self.timestamp:=aDict.timestamp; Self.isLocal:=aDict.isLocal; Self.sdp:=aDict.sdp; Self.errors:=aDict.errors; end; class function TJSRTCSdpHistoryEntryInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCSdpHistoryEntryInternal.Cast(const Intf: IJSObject): IJSRTCSdpHistoryEntryInternal; begin Result:=TJSRTCSdpHistoryEntryInternal.JOBCast(Intf); end; function TJSRTCStatsCollection._GetinboundRtpStreamStats: TJSRTCInboundRtpStreamStatsDynArray; begin Result:=ReadJSPropertyObject('inboundRtpStreamStats',TJSArray) as TJSRTCInboundRtpStreamStatsDynArray; end; function TJSRTCStatsCollection._GetoutboundRtpStreamStats: TJSRTCOutboundRtpStreamStatsDynArray; begin Result:=ReadJSPropertyObject('outboundRtpStreamStats',TJSArray) as TJSRTCOutboundRtpStreamStatsDynArray; end; function TJSRTCStatsCollection._GetremoteInboundRtpStreamStats: TJSRTCRemoteInboundRtpStreamStatsDynArray; begin Result:=ReadJSPropertyObject('remoteInboundRtpStreamStats',TJSArray) as TJSRTCRemoteInboundRtpStreamStatsDynArray; end; function TJSRTCStatsCollection._GetremoteOutboundRtpStreamStats: TJSRTCRemoteOutboundRtpStreamStatsDynArray; begin Result:=ReadJSPropertyObject('remoteOutboundRtpStreamStats',TJSArray) as TJSRTCRemoteOutboundRtpStreamStatsDynArray; end; function TJSRTCStatsCollection._GetmediaSourceStats: TJSRTCMediaSourceStatsDynArray; begin Result:=ReadJSPropertyObject('mediaSourceStats',TJSArray) as TJSRTCMediaSourceStatsDynArray; end; function TJSRTCStatsCollection._GetvideoSourceStats: TJSRTCVideoSourceStatsDynArray; begin Result:=ReadJSPropertyObject('videoSourceStats',TJSArray) as TJSRTCVideoSourceStatsDynArray; end; function TJSRTCStatsCollection._GetpeerConnectionStats: TJSRTCPeerConnectionStatsDynArray; begin Result:=ReadJSPropertyObject('peerConnectionStats',TJSArray) as TJSRTCPeerConnectionStatsDynArray; end; function TJSRTCStatsCollection._GetrtpContributingSourceStats: TJSRTCRTPContributingSourceStatsDynArray; begin Result:=ReadJSPropertyObject('rtpContributingSourceStats',TJSArray) as TJSRTCRTPContributingSourceStatsDynArray; end; function TJSRTCStatsCollection._GeticeCandidatePairStats: TJSRTCIceCandidatePairStatsDynArray; begin Result:=ReadJSPropertyObject('iceCandidatePairStats',TJSArray) as TJSRTCIceCandidatePairStatsDynArray; end; function TJSRTCStatsCollection._GeticeCandidateStats: TJSRTCIceCandidateStatsDynArray; begin Result:=ReadJSPropertyObject('iceCandidateStats',TJSArray) as TJSRTCIceCandidateStatsDynArray; end; function TJSRTCStatsCollection._GettrickledIceCandidateStats: TJSRTCIceCandidateStatsDynArray; begin Result:=ReadJSPropertyObject('trickledIceCandidateStats',TJSArray) as TJSRTCIceCandidateStatsDynArray; end; function TJSRTCStatsCollection._GetdataChannelStats: TJSRTCDataChannelStatsDynArray; begin Result:=ReadJSPropertyObject('dataChannelStats',TJSArray) as TJSRTCDataChannelStatsDynArray; end; function TJSRTCStatsCollection._GetcodecStats: TJSRTCCodecStatsDynArray; begin Result:=ReadJSPropertyObject('codecStats',TJSArray) as TJSRTCCodecStatsDynArray; end; function TJSRTCStatsCollection._GetrawLocalCandidates: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('rawLocalCandidates',TJSArray) as TUnicodeStringDynArray; end; function TJSRTCStatsCollection._GetrawRemoteCandidates: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('rawRemoteCandidates',TJSArray) as TUnicodeStringDynArray; end; function TJSRTCStatsCollection._GetvideoFrameHistories: TJSRTCVideoFrameHistoryInternalDynArray; begin Result:=ReadJSPropertyObject('videoFrameHistories',TJSArray) as TJSRTCVideoFrameHistoryInternalDynArray; end; function TJSRTCStatsCollection._GetbandwidthEstimations: TJSRTCBandwidthEstimationInternalDynArray; begin Result:=ReadJSPropertyObject('bandwidthEstimations',TJSArray) as TJSRTCBandwidthEstimationInternalDynArray; end; procedure TJSRTCStatsCollection._SetinboundRtpStreamStats(const aValue : TJSRTCInboundRtpStreamStatsDynArray); begin WriteJSPropertyObject('inboundRtpStreamStats',aValue); end; procedure TJSRTCStatsCollection._SetoutboundRtpStreamStats(const aValue : TJSRTCOutboundRtpStreamStatsDynArray); begin WriteJSPropertyObject('outboundRtpStreamStats',aValue); end; procedure TJSRTCStatsCollection._SetremoteInboundRtpStreamStats(const aValue : TJSRTCRemoteInboundRtpStreamStatsDynArray); begin WriteJSPropertyObject('remoteInboundRtpStreamStats',aValue); end; procedure TJSRTCStatsCollection._SetremoteOutboundRtpStreamStats(const aValue : TJSRTCRemoteOutboundRtpStreamStatsDynArray); begin WriteJSPropertyObject('remoteOutboundRtpStreamStats',aValue); end; procedure TJSRTCStatsCollection._SetmediaSourceStats(const aValue : TJSRTCMediaSourceStatsDynArray); begin WriteJSPropertyObject('mediaSourceStats',aValue); end; procedure TJSRTCStatsCollection._SetvideoSourceStats(const aValue : TJSRTCVideoSourceStatsDynArray); begin WriteJSPropertyObject('videoSourceStats',aValue); end; procedure TJSRTCStatsCollection._SetpeerConnectionStats(const aValue : TJSRTCPeerConnectionStatsDynArray); begin WriteJSPropertyObject('peerConnectionStats',aValue); end; procedure TJSRTCStatsCollection._SetrtpContributingSourceStats(const aValue : TJSRTCRTPContributingSourceStatsDynArray); begin WriteJSPropertyObject('rtpContributingSourceStats',aValue); end; procedure TJSRTCStatsCollection._SeticeCandidatePairStats(const aValue : TJSRTCIceCandidatePairStatsDynArray); begin WriteJSPropertyObject('iceCandidatePairStats',aValue); end; procedure TJSRTCStatsCollection._SeticeCandidateStats(const aValue : TJSRTCIceCandidateStatsDynArray); begin WriteJSPropertyObject('iceCandidateStats',aValue); end; procedure TJSRTCStatsCollection._SettrickledIceCandidateStats(const aValue : TJSRTCIceCandidateStatsDynArray); begin WriteJSPropertyObject('trickledIceCandidateStats',aValue); end; procedure TJSRTCStatsCollection._SetdataChannelStats(const aValue : TJSRTCDataChannelStatsDynArray); begin WriteJSPropertyObject('dataChannelStats',aValue); end; procedure TJSRTCStatsCollection._SetcodecStats(const aValue : TJSRTCCodecStatsDynArray); begin WriteJSPropertyObject('codecStats',aValue); end; procedure TJSRTCStatsCollection._SetrawLocalCandidates(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('rawLocalCandidates',aValue); end; procedure TJSRTCStatsCollection._SetrawRemoteCandidates(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('rawRemoteCandidates',aValue); end; procedure TJSRTCStatsCollection._SetvideoFrameHistories(const aValue : TJSRTCVideoFrameHistoryInternalDynArray); begin WriteJSPropertyObject('videoFrameHistories',aValue); end; procedure TJSRTCStatsCollection._SetbandwidthEstimations(const aValue : TJSRTCBandwidthEstimationInternalDynArray); begin WriteJSPropertyObject('bandwidthEstimations',aValue); end; constructor TJSRTCStatsCollection.create(const aDict : TJSRTCStatsCollectionRec); overload; begin Self.inboundRtpStreamStats:=aDict.inboundRtpStreamStats; Self.outboundRtpStreamStats:=aDict.outboundRtpStreamStats; Self.remoteInboundRtpStreamStats:=aDict.remoteInboundRtpStreamStats; Self.remoteOutboundRtpStreamStats:=aDict.remoteOutboundRtpStreamStats; Self.mediaSourceStats:=aDict.mediaSourceStats; Self.videoSourceStats:=aDict.videoSourceStats; Self.peerConnectionStats:=aDict.peerConnectionStats; Self.rtpContributingSourceStats:=aDict.rtpContributingSourceStats; Self.iceCandidatePairStats:=aDict.iceCandidatePairStats; Self.iceCandidateStats:=aDict.iceCandidateStats; Self.trickledIceCandidateStats:=aDict.trickledIceCandidateStats; Self.dataChannelStats:=aDict.dataChannelStats; Self.codecStats:=aDict.codecStats; Self.rawLocalCandidates:=aDict.rawLocalCandidates; Self.rawRemoteCandidates:=aDict.rawRemoteCandidates; Self.videoFrameHistories:=aDict.videoFrameHistories; Self.bandwidthEstimations:=aDict.bandwidthEstimations; end; class function TJSRTCStatsCollection.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCStatsCollection.Cast(const Intf: IJSObject): IJSRTCStatsCollection; begin Result:=TJSRTCStatsCollection.JOBCast(Intf); end; function TJSRTCIceServerInternal._Geturls: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('urls',TJSArray) as TUnicodeStringDynArray; end; function TJSRTCIceServerInternal._GetcredentialProvided: Boolean; begin Result:=ReadJSPropertyBoolean('credentialProvided'); end; function TJSRTCIceServerInternal._GetuserNameProvided: Boolean; begin Result:=ReadJSPropertyBoolean('userNameProvided'); end; procedure TJSRTCIceServerInternal._Seturls(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('urls',aValue); end; procedure TJSRTCIceServerInternal._SetcredentialProvided(const aValue : Boolean); begin WriteJSPropertyBoolean('credentialProvided',aValue); end; procedure TJSRTCIceServerInternal._SetuserNameProvided(const aValue : Boolean); begin WriteJSPropertyBoolean('userNameProvided',aValue); end; constructor TJSRTCIceServerInternal.create(const aDict : TJSRTCIceServerInternalRec); overload; begin Self.urls:=aDict.urls; Self.credentialProvided:=aDict.credentialProvided; Self.userNameProvided:=aDict.userNameProvided; end; class function TJSRTCIceServerInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCIceServerInternal.Cast(const Intf: IJSObject): IJSRTCIceServerInternal; begin Result:=TJSRTCIceServerInternal.JOBCast(Intf); end; function TJSRTCConfigurationInternal._GetbundlePolicy: TRTCBundlePolicy; begin Result:=ReadJSPropertyUnicodeString('bundlePolicy'); end; function TJSRTCConfigurationInternal._GetcertificatesProvided: Boolean; begin Result:=ReadJSPropertyBoolean('certificatesProvided'); end; function TJSRTCConfigurationInternal._GeticeServers: TJSRTCIceServerInternalDynArray; begin Result:=ReadJSPropertyObject('iceServers',TJSArray) as TJSRTCIceServerInternalDynArray; end; function TJSRTCConfigurationInternal._GeticeTransportPolicy: TRTCIceTransportPolicy; begin Result:=ReadJSPropertyUnicodeString('iceTransportPolicy'); end; function TJSRTCConfigurationInternal._GetpeerIdentityProvided: Boolean; begin Result:=ReadJSPropertyBoolean('peerIdentityProvided'); end; function TJSRTCConfigurationInternal._GetsdpSemantics: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sdpSemantics'); end; procedure TJSRTCConfigurationInternal._SetbundlePolicy(const aValue : TRTCBundlePolicy); begin WriteJSPropertyUnicodeString('bundlePolicy',aValue); end; procedure TJSRTCConfigurationInternal._SetcertificatesProvided(const aValue : Boolean); begin WriteJSPropertyBoolean('certificatesProvided',aValue); end; procedure TJSRTCConfigurationInternal._SeticeServers(const aValue : TJSRTCIceServerInternalDynArray); begin WriteJSPropertyObject('iceServers',aValue); end; procedure TJSRTCConfigurationInternal._SeticeTransportPolicy(const aValue : TRTCIceTransportPolicy); begin WriteJSPropertyUnicodeString('iceTransportPolicy',aValue); end; procedure TJSRTCConfigurationInternal._SetpeerIdentityProvided(const aValue : Boolean); begin WriteJSPropertyBoolean('peerIdentityProvided',aValue); end; procedure TJSRTCConfigurationInternal._SetsdpSemantics(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sdpSemantics',aValue); end; constructor TJSRTCConfigurationInternal.create(const aDict : TJSRTCConfigurationInternalRec); overload; begin Self.bundlePolicy:=aDict.bundlePolicy; Self.certificatesProvided:=aDict.certificatesProvided; Self.iceServers:=aDict.iceServers; Self.iceTransportPolicy:=aDict.iceTransportPolicy; Self.peerIdentityProvided:=aDict.peerIdentityProvided; Self.sdpSemantics:=aDict.sdpSemantics; end; class function TJSRTCConfigurationInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCConfigurationInternal.Cast(const Intf: IJSObject): IJSRTCConfigurationInternal; begin Result:=TJSRTCConfigurationInternal.JOBCast(Intf); end; function TJSRTCSdpHistoryInternal._Getpcid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pcid'); end; function TJSRTCSdpHistoryInternal._GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; begin Result:=ReadJSPropertyObject('sdpHistory',TJSArray) as TJSRTCSdpHistoryEntryInternalDynArray; end; procedure TJSRTCSdpHistoryInternal._Setpcid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pcid',aValue); end; procedure TJSRTCSdpHistoryInternal._SetsdpHistory(const aValue : TJSRTCSdpHistoryEntryInternalDynArray); begin WriteJSPropertyObject('sdpHistory',aValue); end; constructor TJSRTCSdpHistoryInternal.create(const aDict : TJSRTCSdpHistoryInternalRec); overload; begin Self.pcid:=aDict.pcid; Self.sdpHistory:=aDict.sdpHistory; end; class function TJSRTCSdpHistoryInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCSdpHistoryInternal.Cast(const Intf: IJSObject): IJSRTCSdpHistoryInternal; begin Result:=TJSRTCSdpHistoryInternal.JOBCast(Intf); end; function TJSRTCStatsReportInternal._Getpcid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pcid'); end; function TJSRTCStatsReportInternal._GetbrowserId: Cardinal; begin Result:=ReadJSPropertyInt64('browserId'); end; function TJSRTCStatsReportInternal._Getconfiguration: IJSRTCConfigurationInternal; begin Result:=ReadJSPropertyObject('configuration',TJSRTCConfigurationInternal) as IJSRTCConfigurationInternal; end; function TJSRTCStatsReportInternal._GetjsepSessionErrors: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('jsepSessionErrors'); end; function TJSRTCStatsReportInternal._GetsdpHistory: TJSRTCSdpHistoryEntryInternalDynArray; begin Result:=ReadJSPropertyObject('sdpHistory',TJSArray) as TJSRTCSdpHistoryEntryInternalDynArray; end; function TJSRTCStatsReportInternal._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSRTCStatsReportInternal._GetcallDurationMs: Double; begin Result:=ReadJSPropertyDouble('callDurationMs'); end; function TJSRTCStatsReportInternal._GeticeRestarts: Cardinal; begin Result:=ReadJSPropertyInt64('iceRestarts'); end; function TJSRTCStatsReportInternal._GeticeRollbacks: Cardinal; begin Result:=ReadJSPropertyInt64('iceRollbacks'); end; function TJSRTCStatsReportInternal._Getofferer: Boolean; begin Result:=ReadJSPropertyBoolean('offerer'); end; function TJSRTCStatsReportInternal._Getclosed: Boolean; begin Result:=ReadJSPropertyBoolean('closed'); end; procedure TJSRTCStatsReportInternal._Setpcid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pcid',aValue); end; procedure TJSRTCStatsReportInternal._SetbrowserId(const aValue : Cardinal); begin WriteJSPropertyDouble('browserId',aValue); end; procedure TJSRTCStatsReportInternal._Setconfiguration(const aValue : IJSRTCConfigurationInternal); begin WriteJSPropertyObject('configuration',aValue); end; procedure TJSRTCStatsReportInternal._SetjsepSessionErrors(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('jsepSessionErrors',aValue); end; procedure TJSRTCStatsReportInternal._SetsdpHistory(const aValue : TJSRTCSdpHistoryEntryInternalDynArray); begin WriteJSPropertyObject('sdpHistory',aValue); end; procedure TJSRTCStatsReportInternal._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSRTCStatsReportInternal._SetcallDurationMs(const aValue : Double); begin WriteJSPropertyDouble('callDurationMs',aValue); end; procedure TJSRTCStatsReportInternal._SeticeRestarts(const aValue : Cardinal); begin WriteJSPropertyDouble('iceRestarts',aValue); end; procedure TJSRTCStatsReportInternal._SeticeRollbacks(const aValue : Cardinal); begin WriteJSPropertyDouble('iceRollbacks',aValue); end; procedure TJSRTCStatsReportInternal._Setofferer(const aValue : Boolean); begin WriteJSPropertyBoolean('offerer',aValue); end; procedure TJSRTCStatsReportInternal._Setclosed(const aValue : Boolean); begin WriteJSPropertyBoolean('closed',aValue); end; constructor TJSRTCStatsReportInternal.create(const aDict : TJSRTCStatsReportInternalRec); overload; begin Self.pcid:=aDict.pcid; Self.browserId:=aDict.browserId; Self.configuration:=aDict.configuration; Self.jsepSessionErrors:=aDict.jsepSessionErrors; Self.sdpHistory:=aDict.sdpHistory; Self.timestamp:=aDict.timestamp; Self.callDurationMs:=aDict.callDurationMs; Self.iceRestarts:=aDict.iceRestarts; Self.iceRollbacks:=aDict.iceRollbacks; Self.offerer:=aDict.offerer; Self.closed:=aDict.closed; end; class function TJSRTCStatsReportInternal.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCStatsReportInternal.Cast(const Intf: IJSObject): IJSRTCStatsReportInternal; begin Result:=TJSRTCStatsReportInternal.JOBCast(Intf); end; function TJSRTCStatsReport._Getsize: LongInt; begin Result:=0; end; function TJSRTCStatsReport.get(key: UnicodeString) : IJSObject; begin Result:=InvokeJSObjectResult('get',[key],TJSObject) as IJSObject; end; function TJSRTCStatsReport.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSRTCStatsReport.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSRTCStatsReport.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSRTCStatsReport.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; class function TJSRTCStatsReport.JSClassName: UnicodeString; begin Result:='RTCStatsReport'; end; class function TJSRTCStatsReport.Cast(const Intf: IJSObject): IJSRTCStatsReport; begin Result:=TJSRTCStatsReport.JOBCast(Intf); end; function TJSRTCTrackEventInit._Getreceiver: IJSRTCRtpReceiver; begin Result:=ReadJSPropertyObject('receiver',TJSRTCRtpReceiver) as IJSRTCRtpReceiver; end; function TJSRTCTrackEventInit._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; function TJSRTCTrackEventInit._Getstreams: TJSMediaStreamDynArray; begin Result:=ReadJSPropertyObject('streams',TJSArray) as TJSMediaStreamDynArray; end; function TJSRTCTrackEventInit._Gettransceiver: IJSRTCRtpTransceiver; begin Result:=ReadJSPropertyObject('transceiver',TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; procedure TJSRTCTrackEventInit._Setreceiver(const aValue : IJSRTCRtpReceiver); begin WriteJSPropertyObject('receiver',aValue); end; procedure TJSRTCTrackEventInit._Settrack(const aValue : IJSMediaStreamTrack); begin WriteJSPropertyObject('track',aValue); end; procedure TJSRTCTrackEventInit._Setstreams(const aValue : TJSMediaStreamDynArray); begin WriteJSPropertyObject('streams',aValue); end; procedure TJSRTCTrackEventInit._Settransceiver(const aValue : IJSRTCRtpTransceiver); begin WriteJSPropertyObject('transceiver',aValue); end; constructor TJSRTCTrackEventInit.create(const aDict : TJSRTCTrackEventInitRec); overload; begin Self.receiver:=aDict.receiver; Self.track:=aDict.track; Self.streams:=aDict.streams; Self.transceiver:=aDict.transceiver; end; class function TJSRTCTrackEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCTrackEventInit.Cast(const Intf: IJSObject): IJSRTCTrackEventInit; begin Result:=TJSRTCTrackEventInit.JOBCast(Intf); end; function TJSRTCTrackEvent._Getreceiver: IJSRTCRtpReceiver; begin Result:=ReadJSPropertyObject('receiver',TJSRTCRtpReceiver) as IJSRTCRtpReceiver; end; function TJSRTCTrackEvent._Gettrack: IJSMediaStreamTrack; begin Result:=ReadJSPropertyObject('track',TJSMediaStreamTrack) as IJSMediaStreamTrack; end; function TJSRTCTrackEvent._Getstreams: TJSMediaStreamDynArray; begin Result:=ReadJSPropertyObject('streams',TJSArray) as TJSMediaStreamDynArray; end; function TJSRTCTrackEvent._Gettransceiver: IJSRTCRtpTransceiver; begin Result:=ReadJSPropertyObject('transceiver',TJSRTCRtpTransceiver) as IJSRTCRtpTransceiver; end; constructor TJSRTCTrackEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCTrackEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSRTCTrackEvent.JSClassName: UnicodeString; begin Result:='RTCTrackEvent'; end; class function TJSRTCTrackEvent.Cast(const Intf: IJSObject): IJSRTCTrackEvent; begin Result:=TJSRTCTrackEvent.JOBCast(Intf); end; function TJSRTCTransformEvent._Gettransformer: IJSRTCRtpScriptTransformer; begin Result:=ReadJSPropertyObject('transformer',TJSRTCRtpScriptTransformer) as IJSRTCRtpScriptTransformer; end; constructor TJSRTCTransformEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSRTCTransformEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSRTCTransformEvent.JSClassName: UnicodeString; begin Result:='RTCTransformEvent'; end; class function TJSRTCTransformEvent.Cast(const Intf: IJSObject): IJSRTCTransformEvent; begin Result:=TJSRTCTransformEvent.JOBCast(Intf); end; function TJSRTCTransformEventInit._Gettransformer: IJSRTCRtpScriptTransformer; begin Result:=ReadJSPropertyObject('transformer',TJSRTCRtpScriptTransformer) as IJSRTCRtpScriptTransformer; end; procedure TJSRTCTransformEventInit._Settransformer(const aValue : IJSRTCRtpScriptTransformer); begin WriteJSPropertyObject('transformer',aValue); end; constructor TJSRTCTransformEventInit.create(const aDict : TJSRTCTransformEventInitRec); overload; begin Self.transformer:=aDict.transformer; end; class function TJSRTCTransformEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRTCTransformEventInit.Cast(const Intf: IJSObject): IJSRTCTransformEventInit; begin Result:=TJSRTCTransformEventInit.JOBCast(Intf); end; function TJSSanitizerElementNamespace._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSSanitizerElementNamespace._Getnamespace: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namespace'); end; procedure TJSSanitizerElementNamespace._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSSanitizerElementNamespace._Setnamespace(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('namespace',aValue); end; constructor TJSSanitizerElementNamespace.create(const aDict : TJSSanitizerElementNamespaceRec); overload; begin Self.name:=aDict.name; Self.namespace:=aDict.namespace; end; class function TJSSanitizerElementNamespace.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSanitizerElementNamespace.Cast(const Intf: IJSObject): IJSSanitizerElementNamespace; begin Result:=TJSSanitizerElementNamespace.JOBCast(Intf); end; function TJSSanitizerElementNamespaceWithAttributes._Getattributes: TSanitizerAttributeDynArray; begin Result:=ReadJSPropertyObject('attributes',TJSArray) as TSanitizerAttributeDynArray; end; function TJSSanitizerElementNamespaceWithAttributes._GetremoveAttributes: TSanitizerAttributeDynArray; begin Result:=ReadJSPropertyObject('removeAttributes',TJSArray) as TSanitizerAttributeDynArray; end; procedure TJSSanitizerElementNamespaceWithAttributes._Setattributes(const aValue : TSanitizerAttributeDynArray); begin WriteJSPropertyObject('attributes',aValue); end; procedure TJSSanitizerElementNamespaceWithAttributes._SetremoveAttributes(const aValue : TSanitizerAttributeDynArray); begin WriteJSPropertyObject('removeAttributes',aValue); end; constructor TJSSanitizerElementNamespaceWithAttributes.create(const aDict : TJSSanitizerElementNamespaceWithAttributesRec); overload; begin Self.attributes:=aDict.attributes; Self.removeAttributes:=aDict.removeAttributes; end; class function TJSSanitizerElementNamespaceWithAttributes.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSanitizerElementNamespaceWithAttributes.Cast(const Intf: IJSObject): IJSSanitizerElementNamespaceWithAttributes; begin Result:=TJSSanitizerElementNamespaceWithAttributes.JOBCast(Intf); end; function TJSSanitizerAttributeNamespace._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSSanitizerAttributeNamespace._Getnamespace: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('namespace'); end; procedure TJSSanitizerAttributeNamespace._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSSanitizerAttributeNamespace._Setnamespace(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('namespace',aValue); end; constructor TJSSanitizerAttributeNamespace.create(const aDict : TJSSanitizerAttributeNamespaceRec); overload; begin Self.name:=aDict.name; Self.namespace:=aDict.namespace; end; class function TJSSanitizerAttributeNamespace.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSanitizerAttributeNamespace.Cast(const Intf: IJSObject): IJSSanitizerAttributeNamespace; begin Result:=TJSSanitizerAttributeNamespace.JOBCast(Intf); end; function TJSSanitizerConfig._Getelements: TSanitizerElementWithAttributesDynArray; begin Result:=ReadJSPropertyObject('elements',TJSArray) as TSanitizerElementWithAttributesDynArray; end; function TJSSanitizerConfig._GetremoveElements: TSanitizerElementDynArray; begin Result:=ReadJSPropertyObject('removeElements',TJSArray) as TSanitizerElementDynArray; end; function TJSSanitizerConfig._GetreplaceWithChildrenElements: TSanitizerElementDynArray; begin Result:=ReadJSPropertyObject('replaceWithChildrenElements',TJSArray) as TSanitizerElementDynArray; end; function TJSSanitizerConfig._Getattributes: TSanitizerAttributeDynArray; begin Result:=ReadJSPropertyObject('attributes',TJSArray) as TSanitizerAttributeDynArray; end; function TJSSanitizerConfig._GetremoveAttributes: TSanitizerAttributeDynArray; begin Result:=ReadJSPropertyObject('removeAttributes',TJSArray) as TSanitizerAttributeDynArray; end; function TJSSanitizerConfig._GetcustomElements: Boolean; begin Result:=ReadJSPropertyBoolean('customElements'); end; function TJSSanitizerConfig._GetunknownMarkup: Boolean; begin Result:=ReadJSPropertyBoolean('unknownMarkup'); end; function TJSSanitizerConfig._Getcomments: Boolean; begin Result:=ReadJSPropertyBoolean('comments'); end; procedure TJSSanitizerConfig._Setelements(const aValue : TSanitizerElementWithAttributesDynArray); begin WriteJSPropertyObject('elements',aValue); end; procedure TJSSanitizerConfig._SetremoveElements(const aValue : TSanitizerElementDynArray); begin WriteJSPropertyObject('removeElements',aValue); end; procedure TJSSanitizerConfig._SetreplaceWithChildrenElements(const aValue : TSanitizerElementDynArray); begin WriteJSPropertyObject('replaceWithChildrenElements',aValue); end; procedure TJSSanitizerConfig._Setattributes(const aValue : TSanitizerAttributeDynArray); begin WriteJSPropertyObject('attributes',aValue); end; procedure TJSSanitizerConfig._SetremoveAttributes(const aValue : TSanitizerAttributeDynArray); begin WriteJSPropertyObject('removeAttributes',aValue); end; procedure TJSSanitizerConfig._SetcustomElements(const aValue : Boolean); begin WriteJSPropertyBoolean('customElements',aValue); end; procedure TJSSanitizerConfig._SetunknownMarkup(const aValue : Boolean); begin WriteJSPropertyBoolean('unknownMarkup',aValue); end; procedure TJSSanitizerConfig._Setcomments(const aValue : Boolean); begin WriteJSPropertyBoolean('comments',aValue); end; constructor TJSSanitizerConfig.create(const aDict : TJSSanitizerConfigRec); overload; begin Self.elements:=aDict.elements; Self.removeElements:=aDict.removeElements; Self.replaceWithChildrenElements:=aDict.replaceWithChildrenElements; Self.attributes:=aDict.attributes; Self.removeAttributes:=aDict.removeAttributes; Self.customElements:=aDict.customElements; Self.unknownMarkup:=aDict.unknownMarkup; Self.comments:=aDict.comments; end; class function TJSSanitizerConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSanitizerConfig.Cast(const Intf: IJSObject): IJSSanitizerConfig; begin Result:=TJSSanitizerConfig.JOBCast(Intf); end; constructor TJSSanitizer.Create(const aSanitizerConfig: IJSSanitizerConfig); begin JOBCreate([aSanitizerConfig]); end; constructor TJSSanitizer.Create; begin JOBCreate([]); end; function TJSSanitizer.sanitize(aInput: IJSDocument): IJSDocumentFragment; begin Result:=InvokeJSObjectResult('sanitize',[aInput],TJSDocumentFragment) as IJSDocumentFragment; end; function TJSSanitizer.sanitize(aInput: IJSDocumentFragment): IJSDocumentFragment; begin Result:=InvokeJSObjectResult('sanitize',[aInput],TJSDocumentFragment) as IJSDocumentFragment; end; class function TJSSanitizer.JSClassName: UnicodeString; begin Result:='Sanitizer'; end; class function TJSSanitizer.Cast(const Intf: IJSObject): IJSSanitizer; begin Result:=TJSSanitizer.JOBCast(Intf); end; function TJSScreen._GetavailWidth: LongInt; begin Result:=ReadJSPropertyLongInt('availWidth'); end; function TJSScreen._GetavailHeight: LongInt; begin Result:=ReadJSPropertyLongInt('availHeight'); end; function TJSScreen._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSScreen._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; function TJSScreen._GetcolorDepth: LongInt; begin Result:=ReadJSPropertyLongInt('colorDepth'); end; function TJSScreen._GetpixelDepth: LongInt; begin Result:=ReadJSPropertyLongInt('pixelDepth'); end; function TJSScreen._Gettop: LongInt; begin Result:=ReadJSPropertyLongInt('top'); end; function TJSScreen._Getleft: LongInt; begin Result:=ReadJSPropertyLongInt('left'); end; function TJSScreen._GetavailTop: LongInt; begin Result:=ReadJSPropertyLongInt('availTop'); end; function TJSScreen._GetavailLeft: LongInt; begin Result:=ReadJSPropertyLongInt('availLeft'); end; function TJSScreen._GetmozOrientation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('mozOrientation'); end; function TJSScreen._Getonmozorientationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozorientationchange'))); end; function TJSScreen._Getorientation: IJSScreenOrientation; begin Result:=ReadJSPropertyObject('orientation',TJSScreenOrientation) as IJSScreenOrientation; end; function TJSScreen._GetcolorGamut: TScreenColorGamut; begin Result:=ReadJSPropertyUnicodeString('colorGamut'); end; function TJSScreen._Getluminance: IJSScreenLuminance; begin Result:=ReadJSPropertyObject('luminance',TJSScreenLuminance) as IJSScreenLuminance; end; function TJSScreen._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; procedure TJSScreen._Setonmozorientationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozorientationchange',[m],jiSet); finally m.free end; end; procedure TJSScreen._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; function TJSScreen.mozLockOrientation(const aOrientation: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('mozLockOrientation',[aOrientation]); end; function TJSScreen.mozLockOrientation(const aOrientation: TUnicodeStringDynArray): Boolean; begin Result:=InvokeJSBooleanResult('mozLockOrientation',[aOrientation]); end; procedure TJSScreen.mozUnlockOrientation; begin InvokeJSNoResult('mozUnlockOrientation',[]); end; class function TJSScreen.JSClassName: UnicodeString; begin Result:='Screen'; end; class function TJSScreen.Cast(const Intf: IJSObject): IJSScreen; begin Result:=TJSScreen.JOBCast(Intf); end; function TJSScreenLuminance._Getmin: Double; begin Result:=ReadJSPropertyDouble('min'); end; function TJSScreenLuminance._Getmax: Double; begin Result:=ReadJSPropertyDouble('max'); end; function TJSScreenLuminance._GetmaxAverage: Double; begin Result:=ReadJSPropertyDouble('maxAverage'); end; class function TJSScreenLuminance.JSClassName: UnicodeString; begin Result:='ScreenLuminance'; end; class function TJSScreenLuminance.Cast(const Intf: IJSObject): IJSScreenLuminance; begin Result:=TJSScreenLuminance.JOBCast(Intf); end; function TJSScreenOrientation._Gettype_: TOrientationType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSScreenOrientation._Getangle: Word; begin Result:=ReadJSPropertyLongInt('angle'); end; function TJSScreenOrientation._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; procedure TJSScreenOrientation._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; function TJSScreenOrientation.lock(aOrientation: TOrientationLockType): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('lock',[aOrientation],TJSPromise) as IJSPromise; end; procedure TJSScreenOrientation.unlock; begin InvokeJSNoResult('unlock',[]); end; class function TJSScreenOrientation.JSClassName: UnicodeString; begin Result:='ScreenOrientation'; end; class function TJSScreenOrientation.Cast(const Intf: IJSObject): IJSScreenOrientation; begin Result:=TJSScreenOrientation.JOBCast(Intf); end; function TJSScriptProcessorNode._Getonaudioprocess: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaudioprocess'))); end; function TJSScriptProcessorNode._GetbufferSize: LongInt; begin Result:=ReadJSPropertyLongInt('bufferSize'); end; procedure TJSScriptProcessorNode._Setonaudioprocess(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaudioprocess',[m],jiSet); finally m.free end; end; class function TJSScriptProcessorNode.JSClassName: UnicodeString; begin Result:='ScriptProcessorNode'; end; class function TJSScriptProcessorNode.Cast(const Intf: IJSObject): IJSScriptProcessorNode; begin Result:=TJSScriptProcessorNode.JOBCast(Intf); end; function TJSScrollAreaEvent._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSScrollAreaEvent._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSScrollAreaEvent._Getwidth: Single; begin Result:=ReadJSPropertyDouble('width'); end; function TJSScrollAreaEvent._Getheight: Single; begin Result:=ReadJSPropertyDouble('height'); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single; aHeight: Single); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aX,aY,aWidth,aHeight]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initScrollAreaEvent',[aType_]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView,aDetail]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aX]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aX,aY]); end; procedure TJSScrollAreaEvent.initScrollAreaEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aX: Single; aY: Single; aWidth: Single); begin InvokeJSNoResult('initScrollAreaEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aX,aY,aWidth]); end; class function TJSScrollAreaEvent.JSClassName: UnicodeString; begin Result:='ScrollAreaEvent'; end; class function TJSScrollAreaEvent.Cast(const Intf: IJSObject): IJSScrollAreaEvent; begin Result:=TJSScrollAreaEvent.JOBCast(Intf); end; function TJSScrollViewChangeEventInit._Getstate: TScrollState; begin Result:=ReadJSPropertyUnicodeString('state'); end; procedure TJSScrollViewChangeEventInit._Setstate(const aValue : TScrollState); begin WriteJSPropertyUnicodeString('state',aValue); end; constructor TJSScrollViewChangeEventInit.create(const aDict : TJSScrollViewChangeEventInitRec); overload; begin Self.state:=aDict.state; end; class function TJSScrollViewChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollViewChangeEventInit.Cast(const Intf: IJSObject): IJSScrollViewChangeEventInit; begin Result:=TJSScrollViewChangeEventInit.JOBCast(Intf); end; function TJSSecurityPolicyViolationEvent._GetdocumentURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('documentURI'); end; function TJSSecurityPolicyViolationEvent._Getreferrer: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrer'); end; function TJSSecurityPolicyViolationEvent._GetblockedURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('blockedURI'); end; function TJSSecurityPolicyViolationEvent._GetviolatedDirective: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('violatedDirective'); end; function TJSSecurityPolicyViolationEvent._GeteffectiveDirective: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('effectiveDirective'); end; function TJSSecurityPolicyViolationEvent._GetoriginalPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('originalPolicy'); end; function TJSSecurityPolicyViolationEvent._GetsourceFile: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sourceFile'); end; function TJSSecurityPolicyViolationEvent._Getsample: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sample'); end; function TJSSecurityPolicyViolationEvent._Getdisposition: TSecurityPolicyViolationEventDisposition; begin Result:=ReadJSPropertyUnicodeString('disposition'); end; function TJSSecurityPolicyViolationEvent._GetstatusCode: Word; begin Result:=ReadJSPropertyLongInt('statusCode'); end; function TJSSecurityPolicyViolationEvent._GetlineNumber: Cardinal; begin Result:=ReadJSPropertyInt64('lineNumber'); end; function TJSSecurityPolicyViolationEvent._GetcolumnNumber: Cardinal; begin Result:=ReadJSPropertyInt64('columnNumber'); end; constructor TJSSecurityPolicyViolationEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSSecurityPolicyViolationEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSSecurityPolicyViolationEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSSecurityPolicyViolationEvent.JSClassName: UnicodeString; begin Result:='SecurityPolicyViolationEvent'; end; class function TJSSecurityPolicyViolationEvent.Cast(const Intf: IJSObject): IJSSecurityPolicyViolationEvent; begin Result:=TJSSecurityPolicyViolationEvent.JOBCast(Intf); end; function TJSSecurityPolicyViolationEventInit._GetdocumentURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('documentURI'); end; function TJSSecurityPolicyViolationEventInit._Getreferrer: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrer'); end; function TJSSecurityPolicyViolationEventInit._GetblockedURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('blockedURI'); end; function TJSSecurityPolicyViolationEventInit._GetviolatedDirective: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('violatedDirective'); end; function TJSSecurityPolicyViolationEventInit._GeteffectiveDirective: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('effectiveDirective'); end; function TJSSecurityPolicyViolationEventInit._GetoriginalPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('originalPolicy'); end; function TJSSecurityPolicyViolationEventInit._GetsourceFile: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sourceFile'); end; function TJSSecurityPolicyViolationEventInit._Getsample: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('sample'); end; function TJSSecurityPolicyViolationEventInit._Getdisposition: TSecurityPolicyViolationEventDisposition; begin Result:=ReadJSPropertyUnicodeString('disposition'); end; function TJSSecurityPolicyViolationEventInit._GetstatusCode: Word; begin Result:=ReadJSPropertyLongInt('statusCode'); end; function TJSSecurityPolicyViolationEventInit._GetlineNumber: Cardinal; begin Result:=ReadJSPropertyInt64('lineNumber'); end; function TJSSecurityPolicyViolationEventInit._GetcolumnNumber: Cardinal; begin Result:=ReadJSPropertyInt64('columnNumber'); end; procedure TJSSecurityPolicyViolationEventInit._SetdocumentURI(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('documentURI',aValue); end; procedure TJSSecurityPolicyViolationEventInit._Setreferrer(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrer',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetblockedURI(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('blockedURI',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetviolatedDirective(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('violatedDirective',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SeteffectiveDirective(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('effectiveDirective',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetoriginalPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('originalPolicy',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetsourceFile(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sourceFile',aValue); end; procedure TJSSecurityPolicyViolationEventInit._Setsample(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('sample',aValue); end; procedure TJSSecurityPolicyViolationEventInit._Setdisposition(const aValue : TSecurityPolicyViolationEventDisposition); begin WriteJSPropertyUnicodeString('disposition',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetstatusCode(const aValue : Word); begin WriteJSPropertyLongInt('statusCode',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetlineNumber(const aValue : Cardinal); begin WriteJSPropertyDouble('lineNumber',aValue); end; procedure TJSSecurityPolicyViolationEventInit._SetcolumnNumber(const aValue : Cardinal); begin WriteJSPropertyDouble('columnNumber',aValue); end; constructor TJSSecurityPolicyViolationEventInit.create(const aDict : TJSSecurityPolicyViolationEventInitRec); overload; begin Self.documentURI:=aDict.documentURI; Self.referrer:=aDict.referrer; Self.blockedURI:=aDict.blockedURI; Self.violatedDirective:=aDict.violatedDirective; Self.effectiveDirective:=aDict.effectiveDirective; Self.originalPolicy:=aDict.originalPolicy; Self.sourceFile:=aDict.sourceFile; Self.sample:=aDict.sample; Self.disposition:=aDict.disposition; Self.statusCode:=aDict.statusCode; Self.lineNumber:=aDict.lineNumber; Self.columnNumber:=aDict.columnNumber; end; class function TJSSecurityPolicyViolationEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSecurityPolicyViolationEventInit.Cast(const Intf: IJSObject): IJSSecurityPolicyViolationEventInit; begin Result:=TJSSecurityPolicyViolationEventInit.JOBCast(Intf); end; function TJSSelection._GetanchorNode: IJSNode; begin Result:=ReadJSPropertyObject('anchorNode',TJSNode) as IJSNode; end; function TJSSelection._GetanchorOffset: Cardinal; begin Result:=ReadJSPropertyInt64('anchorOffset'); end; function TJSSelection._GetfocusNode: IJSNode; begin Result:=ReadJSPropertyObject('focusNode',TJSNode) as IJSNode; end; function TJSSelection._GetfocusOffset: Cardinal; begin Result:=ReadJSPropertyInt64('focusOffset'); end; function TJSSelection._GetisCollapsed: Boolean; begin Result:=ReadJSPropertyBoolean('isCollapsed'); end; function TJSSelection._GetrangeCount: Cardinal; begin Result:=ReadJSPropertyInt64('rangeCount'); end; function TJSSelection._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSSelection._Getdirection: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('direction'); end; function TJSSelection._GetcaretBidiLevel: SmallInt; begin Result:=ReadJSPropertyLongInt('caretBidiLevel'); end; procedure TJSSelection._SetcaretBidiLevel(const aValue : SmallInt); begin WriteJSPropertyLongInt('caretBidiLevel',aValue); end; function TJSSelection.getRangeAt(aIndex: Cardinal): IJSRange; begin Result:=InvokeJSObjectResult('getRangeAt',[aIndex],TJSRange) as IJSRange; end; procedure TJSSelection.addRange(aRange: IJSRange); begin InvokeJSNoResult('addRange',[aRange]); end; procedure TJSSelection.removeRange(aRange: IJSRange); begin InvokeJSNoResult('removeRange',[aRange]); end; procedure TJSSelection.removeAllRanges; begin InvokeJSNoResult('removeAllRanges',[]); end; procedure TJSSelection.empty; begin InvokeJSNoResult('empty',[]); end; function TJSSelection.getComposedRanges(aShadowRoots: IJSShadowRoot): TJSStaticRangeDynArray{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('getComposedRanges',[aShadowRoots],TJSArray) as TJSStaticRangeDynArray; end; procedure TJSSelection.collapse(aNode: IJSNode; aOffset: Cardinal); begin InvokeJSNoResult('collapse',[aNode,aOffset]); end; procedure TJSSelection.collapse(aNode: IJSNode); begin InvokeJSNoResult('collapse',[aNode]); end; procedure TJSSelection.setPosition(aNode: IJSNode; aOffset: Cardinal); begin InvokeJSNoResult('setPosition',[aNode,aOffset]); end; procedure TJSSelection.setPosition(aNode: IJSNode); begin InvokeJSNoResult('setPosition',[aNode]); end; procedure TJSSelection.collapseToStart; begin InvokeJSNoResult('collapseToStart',[]); end; procedure TJSSelection.collapseToEnd; begin InvokeJSNoResult('collapseToEnd',[]); end; procedure TJSSelection.extend(aNode: IJSNode; aOffset: Cardinal); begin InvokeJSNoResult('extend',[aNode,aOffset]); end; procedure TJSSelection.extend(aNode: IJSNode); begin InvokeJSNoResult('extend',[aNode]); end; procedure TJSSelection.setBaseAndExtent(aAnchorNode: IJSNode; aAnchorOffset: Cardinal; aFocusNode: IJSNode; aFocusOffset: Cardinal); begin InvokeJSNoResult('setBaseAndExtent',[aAnchorNode,aAnchorOffset,aFocusNode,aFocusOffset]); end; procedure TJSSelection.selectAllChildren(aNode: IJSNode); begin InvokeJSNoResult('selectAllChildren',[aNode]); end; procedure TJSSelection.deleteFromDocument; begin InvokeJSNoResult('deleteFromDocument',[]); end; function TJSSelection.containsNode(aNode: IJSNode; aAllowPartialContainment: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('containsNode',[aNode,aAllowPartialContainment]); end; function TJSSelection.containsNode(aNode: IJSNode): Boolean; begin Result:=InvokeJSBooleanResult('containsNode',[aNode]); end; function TJSSelection.SelectionType: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('',[]); end; procedure TJSSelection.modify(const aAlter: UnicodeString; const aDirection: UnicodeString; const aGranularity: UnicodeString); begin InvokeJSNoResult('modify',[aAlter,aDirection,aGranularity]); end; class function TJSSelection.JSClassName: UnicodeString; begin Result:='Selection'; end; class function TJSSelection.Cast(const Intf: IJSObject): IJSSelection; begin Result:=TJSSelection.JOBCast(Intf); end; class function TJSnsISelectionListener.JSClassName: UnicodeString; begin Result:='nsISelectionListener'; end; class function TJSnsISelectionListener.Cast(const Intf: IJSObject): IJSnsISelectionListener; begin Result:=TJSnsISelectionListener.JOBCast(Intf); end; function TJSServiceWorker._GetscriptURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scriptURL'); end; function TJSServiceWorker._Getstate: TServiceWorkerState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSServiceWorker._Getonstatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstatechange'))); end; function TJSServiceWorker._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSServiceWorker._Setonstatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstatechange',[m],jiSet); finally m.free end; end; procedure TJSServiceWorker._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSServiceWorker.postMessage(const aMessage: Variant; const aTransferable: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTransferable]); end; procedure TJSServiceWorker.postMessage(const aMessage: Variant; const aOptions: IJSStructuredSerializeOptions); begin InvokeJSNoResult('postMessage',[aMessage,aOptions]); end; procedure TJSServiceWorker.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; class function TJSServiceWorker.JSClassName: UnicodeString; begin Result:='ServiceWorker'; end; class function TJSServiceWorker.Cast(const Intf: IJSObject): IJSServiceWorker; begin Result:=TJSServiceWorker.JOBCast(Intf); end; function TJSServiceWorkerContainer._Getcontroller: IJSServiceWorker; begin Result:=ReadJSPropertyObject('controller',TJSServiceWorker) as IJSServiceWorker; end; function TJSServiceWorkerContainer._Getready: IJSPromise; begin Result:=ReadJSPropertyObject('ready',TJSPromise) as IJSPromise; end; function TJSServiceWorkerContainer._Getoncontrollerchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontrollerchange'))); end; function TJSServiceWorkerContainer._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSServiceWorkerContainer._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; procedure TJSServiceWorkerContainer._Setoncontrollerchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontrollerchange',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerContainer._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerContainer._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; function TJSServiceWorkerContainer.register(const aScriptURL: UnicodeString; const aOptions: IJSRegistrationOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('register',[aScriptURL,aOptions],TJSPromise) as IJSPromise; end; function TJSServiceWorkerContainer.register(const aScriptURL: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('register',[aScriptURL],TJSPromise) as IJSPromise; end; function TJSServiceWorkerContainer.getRegistration(const aDocumentURL: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getRegistration',[aDocumentURL],TJSPromise) as IJSPromise; end; function TJSServiceWorkerContainer.getRegistration: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getRegistration',[],TJSPromise) as IJSPromise; end; function TJSServiceWorkerContainer.getRegistrations: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getRegistrations',[],TJSPromise) as IJSPromise; end; procedure TJSServiceWorkerContainer.startMessages; begin InvokeJSNoResult('startMessages',[]); end; function TJSServiceWorkerContainer.getScopeForUrl(const aUrl: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getScopeForUrl',[aUrl]); end; class function TJSServiceWorkerContainer.JSClassName: UnicodeString; begin Result:='ServiceWorkerContainer'; end; class function TJSServiceWorkerContainer.Cast(const Intf: IJSObject): IJSServiceWorkerContainer; begin Result:=TJSServiceWorkerContainer.JOBCast(Intf); end; function TJSRegistrationOptions._Getscope: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scope'); end; function TJSRegistrationOptions._GetupdateViaCache: TServiceWorkerUpdateViaCache; begin Result:=ReadJSPropertyUnicodeString('updateViaCache'); end; procedure TJSRegistrationOptions._Setscope(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scope',aValue); end; procedure TJSRegistrationOptions._SetupdateViaCache(const aValue : TServiceWorkerUpdateViaCache); begin WriteJSPropertyUnicodeString('updateViaCache',aValue); end; constructor TJSRegistrationOptions.create(const aDict : TJSRegistrationOptionsRec); overload; begin Self.scope:=aDict.scope; Self.updateViaCache:=aDict.updateViaCache; end; class function TJSRegistrationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRegistrationOptions.Cast(const Intf: IJSObject): IJSRegistrationOptions; begin Result:=TJSRegistrationOptions.JOBCast(Intf); end; function TJSServiceWorkerGlobalScope._Getclients: IJSClients; begin Result:=ReadJSPropertyObject('clients',TJSClients) as IJSClients; end; function TJSServiceWorkerGlobalScope._Getregistration: IJSServiceWorkerRegistration; begin Result:=ReadJSPropertyObject('registration',TJSServiceWorkerRegistration) as IJSServiceWorkerRegistration; end; function TJSServiceWorkerGlobalScope._Getoninstall: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninstall'))); end; function TJSServiceWorkerGlobalScope._Getonactivate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onactivate'))); end; function TJSServiceWorkerGlobalScope._Getonfetch: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfetch'))); end; function TJSServiceWorkerGlobalScope._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSServiceWorkerGlobalScope._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSServiceWorkerGlobalScope._Getonpush: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpush'))); end; function TJSServiceWorkerGlobalScope._Getonpushsubscriptionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpushsubscriptionchange'))); end; function TJSServiceWorkerGlobalScope._Getonnotificationclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onnotificationclick'))); end; function TJSServiceWorkerGlobalScope._Getonnotificationclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onnotificationclose'))); end; function TJSServiceWorkerGlobalScope._Getbrowser: IJSExtensionBrowser; begin Result:=ReadJSPropertyObject('browser',TJSExtensionBrowser) as IJSExtensionBrowser; end; procedure TJSServiceWorkerGlobalScope._Setoninstall(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninstall',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonactivate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onactivate',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonfetch(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfetch',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonpush(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpush',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonpushsubscriptionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpushsubscriptionchange',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonnotificationclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onnotificationclick',[m],jiSet); finally m.free end; end; procedure TJSServiceWorkerGlobalScope._Setonnotificationclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onnotificationclose',[m],jiSet); finally m.free end; end; function TJSServiceWorkerGlobalScope.skipWaiting: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('skipWaiting',[],TJSPromise) as IJSPromise; end; class function TJSServiceWorkerGlobalScope.JSClassName: UnicodeString; begin Result:='ServiceWorkerGlobalScope'; end; class function TJSServiceWorkerGlobalScope.Cast(const Intf: IJSObject): IJSServiceWorkerGlobalScope; begin Result:=TJSServiceWorkerGlobalScope.JOBCast(Intf); end; function TJSServiceWorkerRegistration._Getinstalling: IJSServiceWorker; begin Result:=ReadJSPropertyObject('installing',TJSServiceWorker) as IJSServiceWorker; end; function TJSServiceWorkerRegistration._Getwaiting: IJSServiceWorker; begin Result:=ReadJSPropertyObject('waiting',TJSServiceWorker) as IJSServiceWorker; end; function TJSServiceWorkerRegistration._Getactive: IJSServiceWorker; begin Result:=ReadJSPropertyObject('active',TJSServiceWorker) as IJSServiceWorker; end; function TJSServiceWorkerRegistration._GetnavigationPreload: IJSNavigationPreloadManager; begin Result:=ReadJSPropertyObject('navigationPreload',TJSNavigationPreloadManager) as IJSNavigationPreloadManager; end; function TJSServiceWorkerRegistration._Getscope: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scope'); end; function TJSServiceWorkerRegistration._GetupdateViaCache: TServiceWorkerUpdateViaCache; begin Result:=ReadJSPropertyUnicodeString('updateViaCache'); end; function TJSServiceWorkerRegistration._Getonupdatefound: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onupdatefound'))); end; function TJSServiceWorkerRegistration._GetpushManager: IJSPushManager; begin Result:=ReadJSPropertyObject('pushManager',TJSPushManager) as IJSPushManager; end; procedure TJSServiceWorkerRegistration._Setonupdatefound(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onupdatefound',[m],jiSet); finally m.free end; end; function TJSServiceWorkerRegistration.update: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('update',[],TJSPromise) as IJSPromise; end; function TJSServiceWorkerRegistration.unregister: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unregister',[],TJSPromise) as IJSPromise; end; function TJSServiceWorkerRegistration.showNotification(const aTitle: UnicodeString; const aOptions: IJSNotificationOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('showNotification',[aTitle,aOptions],TJSPromise) as IJSPromise; end; function TJSServiceWorkerRegistration.showNotification(const aTitle: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('showNotification',[aTitle],TJSPromise) as IJSPromise; end; function TJSServiceWorkerRegistration.getNotifications(const aFilter: IJSGetNotificationOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getNotifications',[aFilter],TJSPromise) as IJSPromise; end; function TJSServiceWorkerRegistration.getNotifications: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getNotifications',[],TJSPromise) as IJSPromise; end; class function TJSServiceWorkerRegistration.JSClassName: UnicodeString; begin Result:='ServiceWorkerRegistration'; end; class function TJSServiceWorkerRegistration.Cast(const Intf: IJSObject): IJSServiceWorkerRegistration; begin Result:=TJSServiceWorkerRegistration.JOBCast(Intf); end; class function TJSShadowRealmGlobalScope.JSClassName: UnicodeString; begin Result:='ShadowRealmGlobalScope'; end; class function TJSShadowRealmGlobalScope.Cast(const Intf: IJSObject): IJSShadowRealmGlobalScope; begin Result:=TJSShadowRealmGlobalScope.JOBCast(Intf); end; function TJSShadowRoot._Getmode: TShadowRootMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSShadowRoot._GetdelegatesFocus: Boolean; begin Result:=ReadJSPropertyBoolean('delegatesFocus'); end; function TJSShadowRoot._GetslotAssignment: TSlotAssignmentMode; begin Result:=ReadJSPropertyUnicodeString('slotAssignment'); end; function TJSShadowRoot._Getclonable: Boolean; begin Result:=ReadJSPropertyBoolean('clonable'); end; function TJSShadowRoot._Gethost: IJSElement; begin Result:=ReadJSPropertyObject('host',TJSElement) as IJSElement; end; function TJSShadowRoot._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSShadowRoot._GetinnerHTML: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('innerHTML'); end; function TJSShadowRoot._GetactiveElement: IJSElement; begin Result:=ReadJSPropertyObject('activeElement',TJSElement) as IJSElement; end; function TJSShadowRoot._GetstyleSheets: IJSStyleSheetList; begin Result:=ReadJSPropertyObject('styleSheets',TJSStyleSheetList) as IJSStyleSheetList; end; function TJSShadowRoot._GetpointerLockElement: IJSElement; begin Result:=ReadJSPropertyObject('pointerLockElement',TJSElement) as IJSElement; end; function TJSShadowRoot._GetfullscreenElement: IJSElement; begin Result:=ReadJSPropertyObject('fullscreenElement',TJSElement) as IJSElement; end; function TJSShadowRoot._GetmozFullScreenElement: IJSElement; begin Result:=ReadJSPropertyObject('mozFullScreenElement',TJSElement) as IJSElement; end; function TJSShadowRoot._GetadoptedStyleSheets: TJSCSSStyleSheetDynArray; begin Result:=ReadJSPropertyObject('adoptedStyleSheets',TJSArray) as TJSCSSStyleSheetDynArray; end; procedure TJSShadowRoot._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSShadowRoot._SetinnerHTML(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('innerHTML',aValue); end; procedure TJSShadowRoot._SetadoptedStyleSheets(const aValue : TJSCSSStyleSheetDynArray); begin WriteJSPropertyObject('adoptedStyleSheets',aValue); end; function TJSShadowRoot.getElementById(const aElementId: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('getElementById',[aElementId],TJSElement) as IJSElement; end; function TJSShadowRoot.importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode; aDeep: Boolean): IJSNode; begin Result:=InvokeJSObjectResult('importNodeAndAppendChildAt',[aParentNode,aNode,aDeep],TJSNode) as IJSNode; end; function TJSShadowRoot.importNodeAndAppendChildAt(aParentNode: IJSNode; aNode: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('importNodeAndAppendChildAt',[aParentNode,aNode],TJSNode) as IJSNode; end; function TJSShadowRoot.createElementAndAppendChildAt(aParentNode: IJSNode; const aLocalName: UnicodeString): IJSNode; begin Result:=InvokeJSObjectResult('createElementAndAppendChildAt',[aParentNode,aLocalName],TJSNode) as IJSNode; end; procedure TJSShadowRoot.setHTMLUnsafe(const aHtml: UnicodeString); begin InvokeJSNoResult('setHTMLUnsafe',[aHtml]); end; function TJSShadowRoot.elementFromPoint(aX: Single; aY: Single): IJSElement; begin Result:=InvokeJSObjectResult('elementFromPoint',[aX,aY],TJSElement) as IJSElement; end; function TJSShadowRoot.elementsFromPoint(aX: Single; aY: Single): TJSElementDynArray; begin Result:=InvokeJSObjectResult('elementsFromPoint',[aX,aY],TJSArray) as TJSElementDynArray; end; function TJSShadowRoot.getAnimations: TJSAnimationDynArray; begin Result:=InvokeJSObjectResult('getAnimations',[],TJSArray) as TJSAnimationDynArray; end; class function TJSShadowRoot.JSClassName: UnicodeString; begin Result:='ShadowRoot'; end; class function TJSShadowRoot.Cast(const Intf: IJSObject): IJSShadowRoot; begin Result:=TJSShadowRoot.JOBCast(Intf); end; function TJSSharedWorker._Getport: IJSMessagePort; begin Result:=ReadJSPropertyObject('port',TJSMessagePort) as IJSMessagePort; end; function TJSSharedWorker._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSSharedWorker._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSSharedWorker.Create(const aScriptURL: UnicodeString; const aOptions: UnicodeString); begin JOBCreate([aScriptURL,aOptions]); end; constructor TJSSharedWorker.Create(const aScriptURL: UnicodeString); begin JOBCreate([aScriptURL]); end; constructor TJSSharedWorker.Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); begin JOBCreate([aScriptURL,aOptions]); end; class function TJSSharedWorker.JSClassName: UnicodeString; begin Result:='SharedWorker'; end; class function TJSSharedWorker.Cast(const Intf: IJSObject): IJSSharedWorker; begin Result:=TJSSharedWorker.JOBCast(Intf); end; function TJSSharedWorkerGlobalScope._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSSharedWorkerGlobalScope._Getonconnect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onconnect'))); end; procedure TJSSharedWorkerGlobalScope._Setonconnect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onconnect',[m],jiSet); finally m.free end; end; procedure TJSSharedWorkerGlobalScope.close; begin InvokeJSNoResult('close',[]); end; class function TJSSharedWorkerGlobalScope.JSClassName: UnicodeString; begin Result:='SharedWorkerGlobalScope'; end; class function TJSSharedWorkerGlobalScope.Cast(const Intf: IJSObject): IJSSharedWorkerGlobalScope; begin Result:=TJSSharedWorkerGlobalScope.JOBCast(Intf); end; function TJSSourceBuffer._Getmode: TSourceBufferAppendMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSSourceBuffer._Getupdating: Boolean; begin Result:=ReadJSPropertyBoolean('updating'); end; function TJSSourceBuffer._Getbuffered: IJSTimeRanges; begin Result:=ReadJSPropertyObject('buffered',TJSTimeRanges) as IJSTimeRanges; end; function TJSSourceBuffer._GettimestampOffset: Double; begin Result:=ReadJSPropertyDouble('timestampOffset'); end; function TJSSourceBuffer._GetappendWindowStart: Double; begin Result:=ReadJSPropertyDouble('appendWindowStart'); end; function TJSSourceBuffer._GetappendWindowEnd: Double; begin Result:=ReadJSPropertyDouble('appendWindowEnd'); end; function TJSSourceBuffer._Getonupdatestart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onupdatestart'))); end; function TJSSourceBuffer._Getonupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onupdate'))); end; function TJSSourceBuffer._Getonupdateend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onupdateend'))); end; function TJSSourceBuffer._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSSourceBuffer._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; procedure TJSSourceBuffer._Setmode(const aValue : TSourceBufferAppendMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSSourceBuffer._SettimestampOffset(const aValue : Double); begin WriteJSPropertyDouble('timestampOffset',aValue); end; procedure TJSSourceBuffer._SetappendWindowStart(const aValue : Double); begin WriteJSPropertyDouble('appendWindowStart',aValue); end; procedure TJSSourceBuffer._SetappendWindowEnd(const aValue : Double); begin WriteJSPropertyDouble('appendWindowEnd',aValue); end; procedure TJSSourceBuffer._Setonupdatestart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onupdatestart',[m],jiSet); finally m.free end; end; procedure TJSSourceBuffer._Setonupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onupdate',[m],jiSet); finally m.free end; end; procedure TJSSourceBuffer._Setonupdateend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onupdateend',[m],jiSet); finally m.free end; end; procedure TJSSourceBuffer._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSSourceBuffer._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSSourceBuffer.appendBuffer(aData: IJSArrayBuffer); begin InvokeJSNoResult('appendBuffer',[aData]); end; procedure TJSSourceBuffer.appendBuffer(aData: IJSArrayBufferView); begin InvokeJSNoResult('appendBuffer',[aData]); end; procedure TJSSourceBuffer.abort; begin InvokeJSNoResult('abort',[]); end; procedure TJSSourceBuffer.remove(aStart: Double; aEnd_: Double); begin InvokeJSNoResult('remove',[aStart,aEnd_]); end; function TJSSourceBuffer.appendBufferAsync(aData: IJSArrayBuffer): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('appendBufferAsync',[aData],TJSPromise) as IJSPromise; end; function TJSSourceBuffer.appendBufferAsync(aData: IJSArrayBufferView): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('appendBufferAsync',[aData],TJSPromise) as IJSPromise; end; function TJSSourceBuffer.removeAsync(aStart: Double; aEnd_: Double): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('removeAsync',[aStart,aEnd_],TJSPromise) as IJSPromise; end; procedure TJSSourceBuffer.changeType(const aType_: UnicodeString); begin InvokeJSNoResult('changeType',[aType_]); end; class function TJSSourceBuffer.JSClassName: UnicodeString; begin Result:='SourceBuffer'; end; class function TJSSourceBuffer.Cast(const Intf: IJSObject): IJSSourceBuffer; begin Result:=TJSSourceBuffer.JOBCast(Intf); end; function TJSSourceBufferList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSSourceBufferList._Getonaddsourcebuffer: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddsourcebuffer'))); end; function TJSSourceBufferList._Getonremovesourcebuffer: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremovesourcebuffer'))); end; procedure TJSSourceBufferList._Setonaddsourcebuffer(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddsourcebuffer',[m],jiSet); finally m.free end; end; procedure TJSSourceBufferList._Setonremovesourcebuffer(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremovesourcebuffer',[m],jiSet); finally m.free end; end; function TJSSourceBufferList.GetDefault(aIndex: Cardinal): IJSSourceBuffer; begin Result:=InvokeJSObjectResult('',[aIndex],TJSSourceBuffer) as IJSSourceBuffer; end; class function TJSSourceBufferList.JSClassName: UnicodeString; begin Result:='SourceBufferList'; end; class function TJSSourceBufferList.Cast(const Intf: IJSObject): IJSSourceBufferList; begin Result:=TJSSourceBufferList.JOBCast(Intf); end; function TJSSpeechGrammar._Getsrc: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('src'); end; function TJSSpeechGrammar._Getweight: Single; begin Result:=ReadJSPropertyDouble('weight'); end; procedure TJSSpeechGrammar._Setsrc(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('src',aValue); end; procedure TJSSpeechGrammar._Setweight(const aValue : Single); begin WriteJSPropertyDouble('weight',aValue); end; constructor TJSSpeechGrammar.Create; begin JOBCreate([]); end; class function TJSSpeechGrammar.JSClassName: UnicodeString; begin Result:='SpeechGrammar'; end; class function TJSSpeechGrammar.Cast(const Intf: IJSObject): IJSSpeechGrammar; begin Result:=TJSSpeechGrammar.JOBCast(Intf); end; function TJSSpeechGrammarList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; constructor TJSSpeechGrammarList.Create; begin JOBCreate([]); end; function TJSSpeechGrammarList.item(aIndex: Cardinal): IJSSpeechGrammar; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSSpeechGrammar) as IJSSpeechGrammar; end; procedure TJSSpeechGrammarList.addFromURI(const aSrc: UnicodeString; aWeight: Single); begin InvokeJSNoResult('addFromURI',[aSrc,aWeight]); end; procedure TJSSpeechGrammarList.addFromURI(const aSrc: UnicodeString); begin InvokeJSNoResult('addFromURI',[aSrc]); end; procedure TJSSpeechGrammarList.addFromString(const aString_: UnicodeString; aWeight: Single); begin InvokeJSNoResult('addFromString',[aString_,aWeight]); end; procedure TJSSpeechGrammarList.addFromString(const aString_: UnicodeString); begin InvokeJSNoResult('addFromString',[aString_]); end; class function TJSSpeechGrammarList.JSClassName: UnicodeString; begin Result:='SpeechGrammarList'; end; class function TJSSpeechGrammarList.Cast(const Intf: IJSObject): IJSSpeechGrammarList; begin Result:=TJSSpeechGrammarList.JOBCast(Intf); end; function TJSSpeechRecognition._Getgrammars: IJSSpeechGrammarList; begin Result:=ReadJSPropertyObject('grammars',TJSSpeechGrammarList) as IJSSpeechGrammarList; end; function TJSSpeechRecognition._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSSpeechRecognition._Getcontinuous: Boolean; begin Result:=ReadJSPropertyBoolean('continuous'); end; function TJSSpeechRecognition._GetinterimResults: Boolean; begin Result:=ReadJSPropertyBoolean('interimResults'); end; function TJSSpeechRecognition._GetmaxAlternatives: Cardinal; begin Result:=ReadJSPropertyInt64('maxAlternatives'); end; function TJSSpeechRecognition._GetserviceURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('serviceURI'); end; function TJSSpeechRecognition._Getonaudiostart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaudiostart'))); end; function TJSSpeechRecognition._Getonsoundstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsoundstart'))); end; function TJSSpeechRecognition._Getonspeechstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onspeechstart'))); end; function TJSSpeechRecognition._Getonspeechend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onspeechend'))); end; function TJSSpeechRecognition._Getonsoundend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsoundend'))); end; function TJSSpeechRecognition._Getonaudioend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaudioend'))); end; function TJSSpeechRecognition._Getonresult: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresult'))); end; function TJSSpeechRecognition._Getonnomatch: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onnomatch'))); end; function TJSSpeechRecognition._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSSpeechRecognition._Getonstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstart'))); end; function TJSSpeechRecognition._Getonend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onend'))); end; procedure TJSSpeechRecognition._Setgrammars(const aValue : IJSSpeechGrammarList); begin WriteJSPropertyObject('grammars',aValue); end; procedure TJSSpeechRecognition._Setlang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lang',aValue); end; procedure TJSSpeechRecognition._Setcontinuous(const aValue : Boolean); begin WriteJSPropertyBoolean('continuous',aValue); end; procedure TJSSpeechRecognition._SetinterimResults(const aValue : Boolean); begin WriteJSPropertyBoolean('interimResults',aValue); end; procedure TJSSpeechRecognition._SetmaxAlternatives(const aValue : Cardinal); begin WriteJSPropertyDouble('maxAlternatives',aValue); end; procedure TJSSpeechRecognition._SetserviceURI(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('serviceURI',aValue); end; procedure TJSSpeechRecognition._Setonaudiostart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaudiostart',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonsoundstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsoundstart',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonspeechstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onspeechstart',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonspeechend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onspeechend',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonsoundend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsoundend',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonaudioend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaudioend',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonresult(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresult',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonnomatch(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onnomatch',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstart',[m],jiSet); finally m.free end; end; procedure TJSSpeechRecognition._Setonend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onend',[m],jiSet); finally m.free end; end; constructor TJSSpeechRecognition.Create; begin JOBCreate([]); end; procedure TJSSpeechRecognition.start(aStream: IJSMediaStream); begin InvokeJSNoResult('start',[aStream]); end; procedure TJSSpeechRecognition.start; begin InvokeJSNoResult('start',[]); end; procedure TJSSpeechRecognition.stop; begin InvokeJSNoResult('stop',[]); end; procedure TJSSpeechRecognition.abort; begin InvokeJSNoResult('abort',[]); end; class function TJSSpeechRecognition.JSClassName: UnicodeString; begin Result:='SpeechRecognition'; end; class function TJSSpeechRecognition.Cast(const Intf: IJSObject): IJSSpeechRecognition; begin Result:=TJSSpeechRecognition.JOBCast(Intf); end; function TJSSpeechRecognitionAlternative._Gettranscript: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('transcript'); end; function TJSSpeechRecognitionAlternative._Getconfidence: Single; begin Result:=ReadJSPropertyDouble('confidence'); end; class function TJSSpeechRecognitionAlternative.JSClassName: UnicodeString; begin Result:='SpeechRecognitionAlternative'; end; class function TJSSpeechRecognitionAlternative.Cast(const Intf: IJSObject): IJSSpeechRecognitionAlternative; begin Result:=TJSSpeechRecognitionAlternative.JOBCast(Intf); end; function TJSSpeechRecognitionError._Geterror: TSpeechRecognitionErrorCode; begin Result:=ReadJSPropertyUnicodeString('error'); end; function TJSSpeechRecognitionError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; constructor TJSSpeechRecognitionError.Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechRecognitionErrorInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSSpeechRecognitionError.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSSpeechRecognitionError.JSClassName: UnicodeString; begin Result:='SpeechRecognitionError'; end; class function TJSSpeechRecognitionError.Cast(const Intf: IJSObject): IJSSpeechRecognitionError; begin Result:=TJSSpeechRecognitionError.JOBCast(Intf); end; function TJSSpeechRecognitionErrorInit._Geterror: TSpeechRecognitionErrorCode; begin Result:=ReadJSPropertyUnicodeString('error'); end; function TJSSpeechRecognitionErrorInit._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; procedure TJSSpeechRecognitionErrorInit._Seterror(const aValue : TSpeechRecognitionErrorCode); begin WriteJSPropertyUnicodeString('error',aValue); end; procedure TJSSpeechRecognitionErrorInit._Setmessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('message',aValue); end; constructor TJSSpeechRecognitionErrorInit.create(const aDict : TJSSpeechRecognitionErrorInitRec); overload; begin Self.error:=aDict.error; Self.message:=aDict.message; end; class function TJSSpeechRecognitionErrorInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSpeechRecognitionErrorInit.Cast(const Intf: IJSObject): IJSSpeechRecognitionErrorInit; begin Result:=TJSSpeechRecognitionErrorInit.JOBCast(Intf); end; function TJSSpeechRecognitionEvent._GetresultIndex: Cardinal; begin Result:=ReadJSPropertyInt64('resultIndex'); end; function TJSSpeechRecognitionEvent._Getresults: IJSSpeechRecognitionResultList; begin Result:=ReadJSPropertyObject('results',TJSSpeechRecognitionResultList) as IJSSpeechRecognitionResultList; end; function TJSSpeechRecognitionEvent._Getinterpretation: Variant; begin Result:=ReadJSPropertyVariant('interpretation'); end; function TJSSpeechRecognitionEvent._Getemma: IJSDocument; begin Result:=ReadJSPropertyObject('emma',TJSDocument) as IJSDocument; end; constructor TJSSpeechRecognitionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechRecognitionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSSpeechRecognitionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSSpeechRecognitionEvent.JSClassName: UnicodeString; begin Result:='SpeechRecognitionEvent'; end; class function TJSSpeechRecognitionEvent.Cast(const Intf: IJSObject): IJSSpeechRecognitionEvent; begin Result:=TJSSpeechRecognitionEvent.JOBCast(Intf); end; function TJSSpeechRecognitionEventInit._GetresultIndex: Cardinal; begin Result:=ReadJSPropertyInt64('resultIndex'); end; function TJSSpeechRecognitionEventInit._Getresults: IJSSpeechRecognitionResultList; begin Result:=ReadJSPropertyObject('results',TJSSpeechRecognitionResultList) as IJSSpeechRecognitionResultList; end; function TJSSpeechRecognitionEventInit._Getinterpretation: Variant; begin Result:=ReadJSPropertyVariant('interpretation'); end; function TJSSpeechRecognitionEventInit._Getemma: IJSDocument; begin Result:=ReadJSPropertyObject('emma',TJSDocument) as IJSDocument; end; procedure TJSSpeechRecognitionEventInit._SetresultIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('resultIndex',aValue); end; procedure TJSSpeechRecognitionEventInit._Setresults(const aValue : IJSSpeechRecognitionResultList); begin WriteJSPropertyObject('results',aValue); end; procedure TJSSpeechRecognitionEventInit._Setinterpretation(const aValue : Variant); begin WriteJSPropertyVariant('interpretation',aValue); end; procedure TJSSpeechRecognitionEventInit._Setemma(const aValue : IJSDocument); begin WriteJSPropertyObject('emma',aValue); end; constructor TJSSpeechRecognitionEventInit.create(const aDict : TJSSpeechRecognitionEventInitRec); overload; begin Self.resultIndex:=aDict.resultIndex; Self.results:=aDict.results; Self.interpretation:=aDict.interpretation; Self.emma:=aDict.emma; end; class function TJSSpeechRecognitionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSpeechRecognitionEventInit.Cast(const Intf: IJSObject): IJSSpeechRecognitionEventInit; begin Result:=TJSSpeechRecognitionEventInit.JOBCast(Intf); end; function TJSSpeechRecognitionResult._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSSpeechRecognitionResult._GetisFinal: Boolean; begin Result:=ReadJSPropertyBoolean('isFinal'); end; function TJSSpeechRecognitionResult.item(aIndex: Cardinal): IJSSpeechRecognitionAlternative; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSSpeechRecognitionAlternative) as IJSSpeechRecognitionAlternative; end; class function TJSSpeechRecognitionResult.JSClassName: UnicodeString; begin Result:='SpeechRecognitionResult'; end; class function TJSSpeechRecognitionResult.Cast(const Intf: IJSObject): IJSSpeechRecognitionResult; begin Result:=TJSSpeechRecognitionResult.JOBCast(Intf); end; function TJSSpeechRecognitionResultList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSSpeechRecognitionResultList.item(aIndex: Cardinal): IJSSpeechRecognitionResult; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSSpeechRecognitionResult) as IJSSpeechRecognitionResult; end; class function TJSSpeechRecognitionResultList.JSClassName: UnicodeString; begin Result:='SpeechRecognitionResultList'; end; class function TJSSpeechRecognitionResultList.Cast(const Intf: IJSObject): IJSSpeechRecognitionResultList; begin Result:=TJSSpeechRecognitionResultList.JOBCast(Intf); end; function TJSSpeechSynthesis._Getpending: Boolean; begin Result:=ReadJSPropertyBoolean('pending'); end; function TJSSpeechSynthesis._Getspeaking: Boolean; begin Result:=ReadJSPropertyBoolean('speaking'); end; function TJSSpeechSynthesis._Getpaused: Boolean; begin Result:=ReadJSPropertyBoolean('paused'); end; function TJSSpeechSynthesis._Getonvoiceschanged: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvoiceschanged'))); end; procedure TJSSpeechSynthesis._Setonvoiceschanged(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvoiceschanged',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesis.speak(aUtterance: IJSSpeechSynthesisUtterance); begin InvokeJSNoResult('speak',[aUtterance]); end; procedure TJSSpeechSynthesis.cancel; begin InvokeJSNoResult('cancel',[]); end; procedure TJSSpeechSynthesis.pause; begin InvokeJSNoResult('pause',[]); end; procedure TJSSpeechSynthesis.resume; begin InvokeJSNoResult('resume',[]); end; function TJSSpeechSynthesis.getVoices: TJSSpeechSynthesisVoiceDynArray; begin Result:=InvokeJSObjectResult('getVoices',[],TJSArray) as TJSSpeechSynthesisVoiceDynArray; end; class function TJSSpeechSynthesis.JSClassName: UnicodeString; begin Result:='SpeechSynthesis'; end; class function TJSSpeechSynthesis.Cast(const Intf: IJSObject): IJSSpeechSynthesis; begin Result:=TJSSpeechSynthesis.JOBCast(Intf); end; function TJSSpeechSynthesisErrorEvent._Geterror: TSpeechSynthesisErrorCode; begin Result:=ReadJSPropertyUnicodeString('error'); end; constructor TJSSpeechSynthesisErrorEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechSynthesisErrorEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSSpeechSynthesisErrorEvent.JSClassName: UnicodeString; begin Result:='SpeechSynthesisErrorEvent'; end; class function TJSSpeechSynthesisErrorEvent.Cast(const Intf: IJSObject): IJSSpeechSynthesisErrorEvent; begin Result:=TJSSpeechSynthesisErrorEvent.JOBCast(Intf); end; function TJSSpeechSynthesisErrorEventInit._Geterror: TSpeechSynthesisErrorCode; begin Result:=ReadJSPropertyUnicodeString('error'); end; procedure TJSSpeechSynthesisErrorEventInit._Seterror(const aValue : TSpeechSynthesisErrorCode); begin WriteJSPropertyUnicodeString('error',aValue); end; constructor TJSSpeechSynthesisErrorEventInit.create(const aDict : TJSSpeechSynthesisErrorEventInitRec); overload; begin Self.error:=aDict.error; end; class function TJSSpeechSynthesisErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSpeechSynthesisErrorEventInit.Cast(const Intf: IJSObject): IJSSpeechSynthesisErrorEventInit; begin Result:=TJSSpeechSynthesisErrorEventInit.JOBCast(Intf); end; function TJSSpeechSynthesisEvent._Getutterance: IJSSpeechSynthesisUtterance; begin Result:=ReadJSPropertyObject('utterance',TJSSpeechSynthesisUtterance) as IJSSpeechSynthesisUtterance; end; function TJSSpeechSynthesisEvent._GetcharIndex: Cardinal; begin Result:=ReadJSPropertyInt64('charIndex'); end; function TJSSpeechSynthesisEvent._GetcharLength: Cardinal; begin Result:=ReadJSPropertyInt64('charLength'); end; function TJSSpeechSynthesisEvent._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSSpeechSynthesisEvent._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; constructor TJSSpeechSynthesisEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSSpeechSynthesisEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSSpeechSynthesisEvent.JSClassName: UnicodeString; begin Result:='SpeechSynthesisEvent'; end; class function TJSSpeechSynthesisEvent.Cast(const Intf: IJSObject): IJSSpeechSynthesisEvent; begin Result:=TJSSpeechSynthesisEvent.JOBCast(Intf); end; function TJSSpeechSynthesisEventInit._Getutterance: IJSSpeechSynthesisUtterance; begin Result:=ReadJSPropertyObject('utterance',TJSSpeechSynthesisUtterance) as IJSSpeechSynthesisUtterance; end; function TJSSpeechSynthesisEventInit._GetcharIndex: Cardinal; begin Result:=ReadJSPropertyInt64('charIndex'); end; function TJSSpeechSynthesisEventInit._GetcharLength: Cardinal; begin Result:=ReadJSPropertyInt64('charLength'); end; function TJSSpeechSynthesisEventInit._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSSpeechSynthesisEventInit._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSSpeechSynthesisEventInit._Setutterance(const aValue : IJSSpeechSynthesisUtterance); begin WriteJSPropertyObject('utterance',aValue); end; procedure TJSSpeechSynthesisEventInit._SetcharIndex(const aValue : Cardinal); begin WriteJSPropertyDouble('charIndex',aValue); end; procedure TJSSpeechSynthesisEventInit._SetcharLength(const aValue : Cardinal); begin WriteJSPropertyDouble('charLength',aValue); end; procedure TJSSpeechSynthesisEventInit._SetelapsedTime(const aValue : Single); begin WriteJSPropertyDouble('elapsedTime',aValue); end; procedure TJSSpeechSynthesisEventInit._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSSpeechSynthesisEventInit.create(const aDict : TJSSpeechSynthesisEventInitRec); overload; begin Self.utterance:=aDict.utterance; Self.charIndex:=aDict.charIndex; Self.charLength:=aDict.charLength; Self.elapsedTime:=aDict.elapsedTime; Self.name:=aDict.name; end; class function TJSSpeechSynthesisEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSpeechSynthesisEventInit.Cast(const Intf: IJSObject): IJSSpeechSynthesisEventInit; begin Result:=TJSSpeechSynthesisEventInit.JOBCast(Intf); end; function TJSSpeechSynthesisUtterance._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSSpeechSynthesisUtterance._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSSpeechSynthesisUtterance._Getvoice: IJSSpeechSynthesisVoice; begin Result:=ReadJSPropertyObject('voice',TJSSpeechSynthesisVoice) as IJSSpeechSynthesisVoice; end; function TJSSpeechSynthesisUtterance._Getvolume: Single; begin Result:=ReadJSPropertyDouble('volume'); end; function TJSSpeechSynthesisUtterance._Getrate: Single; begin Result:=ReadJSPropertyDouble('rate'); end; function TJSSpeechSynthesisUtterance._Getpitch: Single; begin Result:=ReadJSPropertyDouble('pitch'); end; function TJSSpeechSynthesisUtterance._Getonstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstart'))); end; function TJSSpeechSynthesisUtterance._Getonend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onend'))); end; function TJSSpeechSynthesisUtterance._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSSpeechSynthesisUtterance._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSSpeechSynthesisUtterance._Getonresume: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresume'))); end; function TJSSpeechSynthesisUtterance._Getonmark: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmark'))); end; function TJSSpeechSynthesisUtterance._Getonboundary: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onboundary'))); end; procedure TJSSpeechSynthesisUtterance._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; procedure TJSSpeechSynthesisUtterance._Setlang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('lang',aValue); end; procedure TJSSpeechSynthesisUtterance._Setvoice(const aValue : IJSSpeechSynthesisVoice); begin WriteJSPropertyObject('voice',aValue); end; procedure TJSSpeechSynthesisUtterance._Setvolume(const aValue : Single); begin WriteJSPropertyDouble('volume',aValue); end; procedure TJSSpeechSynthesisUtterance._Setrate(const aValue : Single); begin WriteJSPropertyDouble('rate',aValue); end; procedure TJSSpeechSynthesisUtterance._Setpitch(const aValue : Single); begin WriteJSPropertyDouble('pitch',aValue); end; procedure TJSSpeechSynthesisUtterance._Setonstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstart',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onend',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonresume(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresume',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonmark(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmark',[m],jiSet); finally m.free end; end; procedure TJSSpeechSynthesisUtterance._Setonboundary(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onboundary',[m],jiSet); finally m.free end; end; constructor TJSSpeechSynthesisUtterance.Create; begin JOBCreate([]); end; constructor TJSSpeechSynthesisUtterance.Create(const aText: UnicodeString); begin JOBCreate([aText]); end; class function TJSSpeechSynthesisUtterance.JSClassName: UnicodeString; begin Result:='SpeechSynthesisUtterance'; end; class function TJSSpeechSynthesisUtterance.Cast(const Intf: IJSObject): IJSSpeechSynthesisUtterance; begin Result:=TJSSpeechSynthesisUtterance.JOBCast(Intf); end; function TJSSpeechSynthesisVoice._GetvoiceURI: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('voiceURI'); end; function TJSSpeechSynthesisVoice._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSSpeechSynthesisVoice._Getlang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('lang'); end; function TJSSpeechSynthesisVoice._GetlocalService: Boolean; begin Result:=ReadJSPropertyBoolean('localService'); end; function TJSSpeechSynthesisVoice._Getdefault: Boolean; begin Result:=ReadJSPropertyBoolean('default'); end; class function TJSSpeechSynthesisVoice.JSClassName: UnicodeString; begin Result:='SpeechSynthesisVoice'; end; class function TJSSpeechSynthesisVoice.Cast(const Intf: IJSObject): IJSSpeechSynthesisVoice; begin Result:=TJSSpeechSynthesisVoice.JOBCast(Intf); end; constructor TJSStaticRange.Create(const aInit: IJSStaticRangeInit); begin JOBCreate([aInit]); end; class function TJSStaticRange.JSClassName: UnicodeString; begin Result:='StaticRange'; end; class function TJSStaticRange.Cast(const Intf: IJSObject): IJSStaticRange; begin Result:=TJSStaticRange.JOBCast(Intf); end; function TJSStaticRangeInit._GetstartContainer: IJSNode; begin Result:=ReadJSPropertyObject('startContainer',TJSNode) as IJSNode; end; function TJSStaticRangeInit._GetstartOffset: Cardinal; begin Result:=ReadJSPropertyInt64('startOffset'); end; function TJSStaticRangeInit._GetendContainer: IJSNode; begin Result:=ReadJSPropertyObject('endContainer',TJSNode) as IJSNode; end; function TJSStaticRangeInit._GetendOffset: Cardinal; begin Result:=ReadJSPropertyInt64('endOffset'); end; procedure TJSStaticRangeInit._SetstartContainer(const aValue : IJSNode); begin WriteJSPropertyObject('startContainer',aValue); end; procedure TJSStaticRangeInit._SetstartOffset(const aValue : Cardinal); begin WriteJSPropertyDouble('startOffset',aValue); end; procedure TJSStaticRangeInit._SetendContainer(const aValue : IJSNode); begin WriteJSPropertyObject('endContainer',aValue); end; procedure TJSStaticRangeInit._SetendOffset(const aValue : Cardinal); begin WriteJSPropertyDouble('endOffset',aValue); end; constructor TJSStaticRangeInit.create(const aDict : TJSStaticRangeInitRec); overload; begin Self.startContainer:=aDict.startContainer; Self.startOffset:=aDict.startOffset; Self.endContainer:=aDict.endContainer; Self.endOffset:=aDict.endOffset; end; class function TJSStaticRangeInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStaticRangeInit.Cast(const Intf: IJSObject): IJSStaticRangeInit; begin Result:=TJSStaticRangeInit.JOBCast(Intf); end; function TJSStereoPannerOptions._Getpan: Single; begin Result:=ReadJSPropertyDouble('pan'); end; procedure TJSStereoPannerOptions._Setpan(const aValue : Single); begin WriteJSPropertyDouble('pan',aValue); end; constructor TJSStereoPannerOptions.create(const aDict : TJSStereoPannerOptionsRec); overload; begin Self.pan:=aDict.pan; end; class function TJSStereoPannerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStereoPannerOptions.Cast(const Intf: IJSObject): IJSStereoPannerOptions; begin Result:=TJSStereoPannerOptions.JOBCast(Intf); end; function TJSStereoPannerNode._Getpan: IJSAudioParam; begin Result:=ReadJSPropertyObject('pan',TJSAudioParam) as IJSAudioParam; end; constructor TJSStereoPannerNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSStereoPannerOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSStereoPannerNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSStereoPannerNode.JSClassName: UnicodeString; begin Result:='StereoPannerNode'; end; class function TJSStereoPannerNode.Cast(const Intf: IJSObject): IJSStereoPannerNode; begin Result:=TJSStereoPannerNode.JOBCast(Intf); end; function TJSStorage._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSStorage._GethasSnapshot: Boolean; begin Result:=ReadJSPropertyBoolean('hasSnapshot'); end; function TJSStorage._GetsnapshotUsage: Int64; begin Result:=ReadJSPropertyInt64('snapshotUsage'); end; function TJSStorage.key(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('key',[aIndex]); end; function TJSStorage.getItem(const aKey: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getItem',[aKey]); end; procedure TJSStorage.setItem(const aKey: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('setItem',[aKey,aValue]); end; procedure TJSStorage.removeItem(const aKey: UnicodeString); begin InvokeJSNoResult('removeItem',[aKey]); end; procedure TJSStorage.clear; begin InvokeJSNoResult('clear',[]); end; procedure TJSStorage.open; begin InvokeJSNoResult('open',[]); end; procedure TJSStorage.close; begin InvokeJSNoResult('close',[]); end; procedure TJSStorage.beginExplicitSnapshot; begin InvokeJSNoResult('beginExplicitSnapshot',[]); end; procedure TJSStorage.checkpointExplicitSnapshot; begin InvokeJSNoResult('checkpointExplicitSnapshot',[]); end; procedure TJSStorage.endExplicitSnapshot; begin InvokeJSNoResult('endExplicitSnapshot',[]); end; class function TJSStorage.JSClassName: UnicodeString; begin Result:='Storage'; end; class function TJSStorage.Cast(const Intf: IJSObject): IJSStorage; begin Result:=TJSStorage.JOBCast(Intf); end; function TJSStorageEvent._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSStorageEvent._GetoldValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldValue'); end; function TJSStorageEvent._GetnewValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newValue'); end; function TJSStorageEvent._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSStorageEvent._GetstorageArea: IJSStorage; begin Result:=ReadJSPropertyObject('storageArea',TJSStorage) as IJSStorage; end; constructor TJSStorageEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSStorageEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSStorageEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString; aStorageArea: IJSStorage); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable,aKey,aOldValue,aNewValue,aUrl,aStorageArea]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initStorageEvent',[aType_]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable,aKey]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable,aKey,aOldValue]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable,aKey,aOldValue,aNewValue]); end; procedure TJSStorageEvent.initStorageEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; const aKey: UnicodeString; const aOldValue: UnicodeString; const aNewValue: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('initStorageEvent',[aType_,aCanBubble,aCancelable,aKey,aOldValue,aNewValue,aUrl]); end; class function TJSStorageEvent.JSClassName: UnicodeString; begin Result:='StorageEvent'; end; class function TJSStorageEvent.Cast(const Intf: IJSObject): IJSStorageEvent; begin Result:=TJSStorageEvent.JOBCast(Intf); end; function TJSStorageEventInit._Getkey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('key'); end; function TJSStorageEventInit._GetoldValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldValue'); end; function TJSStorageEventInit._GetnewValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newValue'); end; function TJSStorageEventInit._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSStorageEventInit._GetstorageArea: IJSStorage; begin Result:=ReadJSPropertyObject('storageArea',TJSStorage) as IJSStorage; end; procedure TJSStorageEventInit._Setkey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('key',aValue); end; procedure TJSStorageEventInit._SetoldValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('oldValue',aValue); end; procedure TJSStorageEventInit._SetnewValue(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('newValue',aValue); end; procedure TJSStorageEventInit._Seturl(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('url',aValue); end; procedure TJSStorageEventInit._SetstorageArea(const aValue : IJSStorage); begin WriteJSPropertyObject('storageArea',aValue); end; constructor TJSStorageEventInit.create(const aDict : TJSStorageEventInitRec); overload; begin Self.key:=aDict.key; Self.oldValue:=aDict.oldValue; Self.newValue:=aDict.newValue; Self.url:=aDict.url; Self.storageArea:=aDict.storageArea; end; class function TJSStorageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStorageEventInit.Cast(const Intf: IJSObject): IJSStorageEventInit; begin Result:=TJSStorageEventInit.JOBCast(Intf); end; function TJSStorageManager.persisted: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('persisted',[],TJSPromise) as IJSPromise; end; function TJSStorageManager.persist: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('persist',[],TJSPromise) as IJSPromise; end; function TJSStorageManager.estimate: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('estimate',[],TJSPromise) as IJSPromise; end; function TJSStorageManager.getDirectory: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getDirectory',[],TJSPromise) as IJSPromise; end; class function TJSStorageManager.JSClassName: UnicodeString; begin Result:='StorageManager'; end; class function TJSStorageManager.Cast(const Intf: IJSObject): IJSStorageManager; begin Result:=TJSStorageManager.JOBCast(Intf); end; function TJSStorageEstimate._Getusage: QWord; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSStorageEstimate._Getquota: QWord; begin Result:=ReadJSPropertyInt64('quota'); end; procedure TJSStorageEstimate._Setusage(const aValue : QWord); begin WriteJSPropertyDouble('usage',aValue); end; procedure TJSStorageEstimate._Setquota(const aValue : QWord); begin WriteJSPropertyDouble('quota',aValue); end; constructor TJSStorageEstimate.create(const aDict : TJSStorageEstimateRec); overload; begin Self.usage:=aDict.usage; Self.quota:=aDict.quota; end; class function TJSStorageEstimate.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStorageEstimate.Cast(const Intf: IJSObject): IJSStorageEstimate; begin Result:=TJSStorageEstimate.JOBCast(Intf); end; function TJSStreamFilter._Getstatus: TStreamFilterStatus; begin Result:=ReadJSPropertyUnicodeString('status'); end; function TJSStreamFilter._Geterror: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('error'); end; function TJSStreamFilter._Getondata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondata'))); end; function TJSStreamFilter._Getonstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstart'))); end; function TJSStreamFilter._Getonstop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstop'))); end; function TJSStreamFilter._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSStreamFilter._Setondata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondata',[m],jiSet); finally m.free end; end; procedure TJSStreamFilter._Setonstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstart',[m],jiSet); finally m.free end; end; procedure TJSStreamFilter._Setonstop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstop',[m],jiSet); finally m.free end; end; procedure TJSStreamFilter._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSStreamFilter.suspend; begin InvokeJSNoResult('suspend',[]); end; procedure TJSStreamFilter.resume; begin InvokeJSNoResult('resume',[]); end; procedure TJSStreamFilter.close; begin InvokeJSNoResult('close',[]); end; procedure TJSStreamFilter.disconnect; begin InvokeJSNoResult('disconnect',[]); end; procedure TJSStreamFilter.write(aData: IJSArrayBuffer); begin InvokeJSNoResult('write',[aData]); end; procedure TJSStreamFilter.write(aData: IJSUint8Array); begin InvokeJSNoResult('write',[aData]); end; class function TJSStreamFilter.JSClassName: UnicodeString; begin Result:='StreamFilter'; end; class function TJSStreamFilter.Cast(const Intf: IJSObject): IJSStreamFilter; begin Result:=TJSStreamFilter.JOBCast(Intf); end; function TJSStreamFilterDataEvent._Getdata: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('data',TJSArrayBuffer) as IJSArrayBuffer; end; constructor TJSStreamFilterDataEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSStreamFilterDataEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSStreamFilterDataEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSStreamFilterDataEvent.JSClassName: UnicodeString; begin Result:='StreamFilterDataEvent'; end; class function TJSStreamFilterDataEvent.Cast(const Intf: IJSObject): IJSStreamFilterDataEvent; begin Result:=TJSStreamFilterDataEvent.JOBCast(Intf); end; function TJSStreamFilterDataEventInit._Getdata: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('data',TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSStreamFilterDataEventInit._Setdata(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('data',aValue); end; constructor TJSStreamFilterDataEventInit.create(const aDict : TJSStreamFilterDataEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSStreamFilterDataEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSStreamFilterDataEventInit.Cast(const Intf: IJSObject): IJSStreamFilterDataEventInit; begin Result:=TJSStreamFilterDataEventInit.JOBCast(Intf); end; function TJSStructuredCloneTester._Getserializable: Boolean; begin Result:=ReadJSPropertyBoolean('serializable'); end; function TJSStructuredCloneTester._Getdeserializable: Boolean; begin Result:=ReadJSPropertyBoolean('deserializable'); end; constructor TJSStructuredCloneTester.Create(aSerializable: Boolean; aDeserializable: Boolean); begin JOBCreate([aSerializable,aDeserializable]); end; class function TJSStructuredCloneTester.JSClassName: UnicodeString; begin Result:='StructuredCloneTester'; end; class function TJSStructuredCloneTester.Cast(const Intf: IJSObject): IJSStructuredCloneTester; begin Result:=TJSStructuredCloneTester.JOBCast(Intf); end; function TJSStyleSheet._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSStyleSheet._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSStyleSheet._GetownerNode: IJSNode; begin Result:=ReadJSPropertyObject('ownerNode',TJSNode) as IJSNode; end; function TJSStyleSheet._GetparentStyleSheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('parentStyleSheet',TJSStyleSheet) as IJSStyleSheet; end; function TJSStyleSheet._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSStyleSheet._Getmedia: IJSMediaList; begin Result:=ReadJSPropertyObject('media',TJSMediaList) as IJSMediaList; end; function TJSStyleSheet._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; procedure TJSStyleSheet._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; class function TJSStyleSheet.JSClassName: UnicodeString; begin Result:='StyleSheet'; end; class function TJSStyleSheet.Cast(const Intf: IJSObject): IJSStyleSheet; begin Result:=TJSStyleSheet.JOBCast(Intf); end; function TJSStyleSheetList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSStyleSheetList.item(aIndex: Cardinal): IJSCSSStyleSheet; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSCSSStyleSheet) as IJSCSSStyleSheet; end; class function TJSStyleSheetList.JSClassName: UnicodeString; begin Result:='StyleSheetList'; end; class function TJSStyleSheetList.Cast(const Intf: IJSObject): IJSStyleSheetList; begin Result:=TJSStyleSheetList.JOBCast(Intf); end; function TJSSubmitEvent._Getsubmitter: IJSHTMLElement; begin Result:=ReadJSPropertyObject('submitter',TJSHTMLElement) as IJSHTMLElement; end; constructor TJSSubmitEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSSubmitEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSSubmitEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSSubmitEvent.JSClassName: UnicodeString; begin Result:='SubmitEvent'; end; class function TJSSubmitEvent.Cast(const Intf: IJSObject): IJSSubmitEvent; begin Result:=TJSSubmitEvent.JOBCast(Intf); end; function TJSSubmitEventInit._Getsubmitter: IJSHTMLElement; begin Result:=ReadJSPropertyObject('submitter',TJSHTMLElement) as IJSHTMLElement; end; procedure TJSSubmitEventInit._Setsubmitter(const aValue : IJSHTMLElement); begin WriteJSPropertyObject('submitter',aValue); end; constructor TJSSubmitEventInit.create(const aDict : TJSSubmitEventInitRec); overload; begin Self.submitter:=aDict.submitter; end; class function TJSSubmitEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSubmitEventInit.Cast(const Intf: IJSObject): IJSSubmitEventInit; begin Result:=TJSSubmitEventInit.JOBCast(Intf); end; function TJSAlgorithm._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSAlgorithm._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSAlgorithm.create(const aDict : TJSAlgorithmRec); overload; begin Self.name:=aDict.name; end; class function TJSAlgorithm.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAlgorithm.Cast(const Intf: IJSObject): IJSAlgorithm; begin Result:=TJSAlgorithm.JOBCast(Intf); end; function TJSAesCbcParams._Getiv: IJSBufferSource; begin Result:=ReadJSPropertyObject('iv',TJSBufferSource) as IJSBufferSource; end; procedure TJSAesCbcParams._Setiv(const aValue : IJSBufferSource); begin WriteJSPropertyObject('iv',aValue); end; constructor TJSAesCbcParams.create(const aDict : TJSAesCbcParamsRec); overload; begin Self.iv:=aDict.iv; end; class function TJSAesCbcParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesCbcParams.Cast(const Intf: IJSObject): IJSAesCbcParams; begin Result:=TJSAesCbcParams.JOBCast(Intf); end; function TJSAesCtrParams._Getcounter: IJSBufferSource; begin Result:=ReadJSPropertyObject('counter',TJSBufferSource) as IJSBufferSource; end; function TJSAesCtrParams._Getlength_: Byte; begin Result:=ReadJSPropertyLongInt('length'); end; procedure TJSAesCtrParams._Setcounter(const aValue : IJSBufferSource); begin WriteJSPropertyObject('counter',aValue); end; procedure TJSAesCtrParams._Setlength_(const aValue : Byte); begin WriteJSPropertyLongInt('length',aValue); end; constructor TJSAesCtrParams.create(const aDict : TJSAesCtrParamsRec); overload; begin Self.counter:=aDict.counter; Self.length_:=aDict.length_; end; class function TJSAesCtrParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesCtrParams.Cast(const Intf: IJSObject): IJSAesCtrParams; begin Result:=TJSAesCtrParams.JOBCast(Intf); end; function TJSAesGcmParams._Getiv: IJSBufferSource; begin Result:=ReadJSPropertyObject('iv',TJSBufferSource) as IJSBufferSource; end; function TJSAesGcmParams._GetadditionalData: IJSBufferSource; begin Result:=ReadJSPropertyObject('additionalData',TJSBufferSource) as IJSBufferSource; end; function TJSAesGcmParams._GettagLength: Byte; begin Result:=ReadJSPropertyLongInt('tagLength'); end; procedure TJSAesGcmParams._Setiv(const aValue : IJSBufferSource); begin WriteJSPropertyObject('iv',aValue); end; procedure TJSAesGcmParams._SetadditionalData(const aValue : IJSBufferSource); begin WriteJSPropertyObject('additionalData',aValue); end; procedure TJSAesGcmParams._SettagLength(const aValue : Byte); begin WriteJSPropertyLongInt('tagLength',aValue); end; constructor TJSAesGcmParams.create(const aDict : TJSAesGcmParamsRec); overload; begin Self.iv:=aDict.iv; Self.additionalData:=aDict.additionalData; Self.tagLength:=aDict.tagLength; end; class function TJSAesGcmParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesGcmParams.Cast(const Intf: IJSObject): IJSAesGcmParams; begin Result:=TJSAesGcmParams.JOBCast(Intf); end; function TJSHmacImportParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; procedure TJSHmacImportParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; constructor TJSHmacImportParams.create(const aDict : TJSHmacImportParamsRec); overload; begin Self.hash:=aDict.hash; end; class function TJSHmacImportParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHmacImportParams.Cast(const Intf: IJSObject): IJSHmacImportParams; begin Result:=TJSHmacImportParams.JOBCast(Intf); end; function TJSPbkdf2Params._Getsalt: IJSBufferSource; begin Result:=ReadJSPropertyObject('salt',TJSBufferSource) as IJSBufferSource; end; function TJSPbkdf2Params._Getiterations: Cardinal; begin Result:=ReadJSPropertyInt64('iterations'); end; function TJSPbkdf2Params._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; procedure TJSPbkdf2Params._Setsalt(const aValue : IJSBufferSource); begin WriteJSPropertyObject('salt',aValue); end; procedure TJSPbkdf2Params._Setiterations(const aValue : Cardinal); begin WriteJSPropertyDouble('iterations',aValue); end; procedure TJSPbkdf2Params._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; constructor TJSPbkdf2Params.create(const aDict : TJSPbkdf2ParamsRec); overload; begin Self.salt:=aDict.salt; Self.iterations:=aDict.iterations; Self.hash:=aDict.hash; end; class function TJSPbkdf2Params.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPbkdf2Params.Cast(const Intf: IJSObject): IJSPbkdf2Params; begin Result:=TJSPbkdf2Params.JOBCast(Intf); end; function TJSRsaHashedImportParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; procedure TJSRsaHashedImportParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; constructor TJSRsaHashedImportParams.create(const aDict : TJSRsaHashedImportParamsRec); overload; begin Self.hash:=aDict.hash; end; class function TJSRsaHashedImportParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaHashedImportParams.Cast(const Intf: IJSObject): IJSRsaHashedImportParams; begin Result:=TJSRsaHashedImportParams.JOBCast(Intf); end; function TJSAesKeyGenParams._Getlength_: Word; begin Result:=ReadJSPropertyLongInt('length'); end; procedure TJSAesKeyGenParams._Setlength_(const aValue : Word); begin WriteJSPropertyLongInt('length',aValue); end; constructor TJSAesKeyGenParams.create(const aDict : TJSAesKeyGenParamsRec); overload; begin Self.length_:=aDict.length_; end; class function TJSAesKeyGenParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesKeyGenParams.Cast(const Intf: IJSObject): IJSAesKeyGenParams; begin Result:=TJSAesKeyGenParams.JOBCast(Intf); end; function TJSHmacKeyGenParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; function TJSHmacKeyGenParams._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSHmacKeyGenParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; procedure TJSHmacKeyGenParams._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; constructor TJSHmacKeyGenParams.create(const aDict : TJSHmacKeyGenParamsRec); overload; begin Self.hash:=aDict.hash; Self.length_:=aDict.length_; end; class function TJSHmacKeyGenParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHmacKeyGenParams.Cast(const Intf: IJSObject): IJSHmacKeyGenParams; begin Result:=TJSHmacKeyGenParams.JOBCast(Intf); end; function TJSRsaHashedKeyGenParams._GetmodulusLength: Cardinal; begin Result:=ReadJSPropertyInt64('modulusLength'); end; function TJSRsaHashedKeyGenParams._GetpublicExponent: TBigInteger; begin Result:=ReadJSPropertyObject('publicExponent',TJSUint8Array) as TBigInteger; end; function TJSRsaHashedKeyGenParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; procedure TJSRsaHashedKeyGenParams._SetmodulusLength(const aValue : Cardinal); begin WriteJSPropertyDouble('modulusLength',aValue); end; procedure TJSRsaHashedKeyGenParams._SetpublicExponent(const aValue : TBigInteger); begin WriteJSPropertyObject('publicExponent',aValue); end; procedure TJSRsaHashedKeyGenParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; constructor TJSRsaHashedKeyGenParams.create(const aDict : TJSRsaHashedKeyGenParamsRec); overload; begin Self.modulusLength:=aDict.modulusLength; Self.publicExponent:=aDict.publicExponent; Self.hash:=aDict.hash; end; class function TJSRsaHashedKeyGenParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaHashedKeyGenParams.Cast(const Intf: IJSObject): IJSRsaHashedKeyGenParams; begin Result:=TJSRsaHashedKeyGenParams.JOBCast(Intf); end; function TJSRsaOaepParams._Getlabel_: IJSBufferSource; begin Result:=ReadJSPropertyObject('label',TJSBufferSource) as IJSBufferSource; end; procedure TJSRsaOaepParams._Setlabel_(const aValue : IJSBufferSource); begin WriteJSPropertyObject('label',aValue); end; constructor TJSRsaOaepParams.create(const aDict : TJSRsaOaepParamsRec); overload; begin Self.label_:=aDict.label_; end; class function TJSRsaOaepParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaOaepParams.Cast(const Intf: IJSObject): IJSRsaOaepParams; begin Result:=TJSRsaOaepParams.JOBCast(Intf); end; function TJSRsaPssParams._GetsaltLength: Cardinal; begin Result:=ReadJSPropertyInt64('saltLength'); end; procedure TJSRsaPssParams._SetsaltLength(const aValue : Cardinal); begin WriteJSPropertyDouble('saltLength',aValue); end; constructor TJSRsaPssParams.create(const aDict : TJSRsaPssParamsRec); overload; begin Self.saltLength:=aDict.saltLength; end; class function TJSRsaPssParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaPssParams.Cast(const Intf: IJSObject): IJSRsaPssParams; begin Result:=TJSRsaPssParams.JOBCast(Intf); end; function TJSEcKeyGenParams._GetnamedCurve: TNamedCurve; begin Result:=ReadJSPropertyUnicodeString('namedCurve'); end; procedure TJSEcKeyGenParams._SetnamedCurve(const aValue : TNamedCurve); begin WriteJSPropertyUnicodeString('namedCurve',aValue); end; constructor TJSEcKeyGenParams.create(const aDict : TJSEcKeyGenParamsRec); overload; begin Self.namedCurve:=aDict.namedCurve; end; class function TJSEcKeyGenParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEcKeyGenParams.Cast(const Intf: IJSObject): IJSEcKeyGenParams; begin Result:=TJSEcKeyGenParams.JOBCast(Intf); end; function TJSAesDerivedKeyParams._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSAesDerivedKeyParams._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; constructor TJSAesDerivedKeyParams.create(const aDict : TJSAesDerivedKeyParamsRec); overload; begin Self.length_:=aDict.length_; end; class function TJSAesDerivedKeyParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAesDerivedKeyParams.Cast(const Intf: IJSObject): IJSAesDerivedKeyParams; begin Result:=TJSAesDerivedKeyParams.JOBCast(Intf); end; function TJSHmacDerivedKeyParams._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSHmacDerivedKeyParams._Setlength_(const aValue : Cardinal); begin WriteJSPropertyDouble('length',aValue); end; constructor TJSHmacDerivedKeyParams.create(const aDict : TJSHmacDerivedKeyParamsRec); overload; begin Self.length_:=aDict.length_; end; class function TJSHmacDerivedKeyParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHmacDerivedKeyParams.Cast(const Intf: IJSObject): IJSHmacDerivedKeyParams; begin Result:=TJSHmacDerivedKeyParams.JOBCast(Intf); end; function TJSEcdhKeyDeriveParams._Getpublic: IJSCryptoKey; begin Result:=ReadJSPropertyObject('public',TJSCryptoKey) as IJSCryptoKey; end; procedure TJSEcdhKeyDeriveParams._Setpublic(const aValue : IJSCryptoKey); begin WriteJSPropertyObject('public',aValue); end; constructor TJSEcdhKeyDeriveParams.create(const aDict : TJSEcdhKeyDeriveParamsRec); overload; begin Self.public:=aDict.public; end; class function TJSEcdhKeyDeriveParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEcdhKeyDeriveParams.Cast(const Intf: IJSObject): IJSEcdhKeyDeriveParams; begin Result:=TJSEcdhKeyDeriveParams.JOBCast(Intf); end; function TJSDhImportKeyParams._Getprime: TBigInteger; begin Result:=ReadJSPropertyObject('prime',TJSUint8Array) as TBigInteger; end; function TJSDhImportKeyParams._Getgenerator: TBigInteger; begin Result:=ReadJSPropertyObject('generator',TJSUint8Array) as TBigInteger; end; procedure TJSDhImportKeyParams._Setprime(const aValue : TBigInteger); begin WriteJSPropertyObject('prime',aValue); end; procedure TJSDhImportKeyParams._Setgenerator(const aValue : TBigInteger); begin WriteJSPropertyObject('generator',aValue); end; constructor TJSDhImportKeyParams.create(const aDict : TJSDhImportKeyParamsRec); overload; begin Self.prime:=aDict.prime; Self.generator:=aDict.generator; end; class function TJSDhImportKeyParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDhImportKeyParams.Cast(const Intf: IJSObject): IJSDhImportKeyParams; begin Result:=TJSDhImportKeyParams.JOBCast(Intf); end; function TJSEcdsaParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; procedure TJSEcdsaParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; constructor TJSEcdsaParams.create(const aDict : TJSEcdsaParamsRec); overload; begin Self.hash:=aDict.hash; end; class function TJSEcdsaParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEcdsaParams.Cast(const Intf: IJSObject): IJSEcdsaParams; begin Result:=TJSEcdsaParams.JOBCast(Intf); end; function TJSEcKeyImportParams._GetnamedCurve: TNamedCurve; begin Result:=ReadJSPropertyUnicodeString('namedCurve'); end; procedure TJSEcKeyImportParams._SetnamedCurve(const aValue : TNamedCurve); begin WriteJSPropertyUnicodeString('namedCurve',aValue); end; constructor TJSEcKeyImportParams.create(const aDict : TJSEcKeyImportParamsRec); overload; begin Self.namedCurve:=aDict.namedCurve; end; class function TJSEcKeyImportParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEcKeyImportParams.Cast(const Intf: IJSObject): IJSEcKeyImportParams; begin Result:=TJSEcKeyImportParams.JOBCast(Intf); end; function TJSHkdfParams._Gethash: TAlgorithmIdentifier; begin Result:=ReadJSPropertyVariant('hash'); end; function TJSHkdfParams._Getsalt: IJSBufferSource; begin Result:=ReadJSPropertyObject('salt',TJSBufferSource) as IJSBufferSource; end; function TJSHkdfParams._Getinfo: IJSBufferSource; begin Result:=ReadJSPropertyObject('info',TJSBufferSource) as IJSBufferSource; end; procedure TJSHkdfParams._Sethash(const aValue : TAlgorithmIdentifier); begin WriteJSPropertyVariant('hash',aValue); end; procedure TJSHkdfParams._Setsalt(const aValue : IJSBufferSource); begin WriteJSPropertyObject('salt',aValue); end; procedure TJSHkdfParams._Setinfo(const aValue : IJSBufferSource); begin WriteJSPropertyObject('info',aValue); end; constructor TJSHkdfParams.create(const aDict : TJSHkdfParamsRec); overload; begin Self.hash:=aDict.hash; Self.salt:=aDict.salt; Self.info:=aDict.info; end; class function TJSHkdfParams.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSHkdfParams.Cast(const Intf: IJSObject): IJSHkdfParams; begin Result:=TJSHkdfParams.JOBCast(Intf); end; function TJSRsaOtherPrimesInfo._Getr: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('r'); end; function TJSRsaOtherPrimesInfo._Getd: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('d'); end; function TJSRsaOtherPrimesInfo._Gett: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('t'); end; procedure TJSRsaOtherPrimesInfo._Setr(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('r',aValue); end; procedure TJSRsaOtherPrimesInfo._Setd(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('d',aValue); end; procedure TJSRsaOtherPrimesInfo._Sett(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('t',aValue); end; constructor TJSRsaOtherPrimesInfo.create(const aDict : TJSRsaOtherPrimesInfoRec); overload; begin Self.r:=aDict.r; Self.d:=aDict.d; Self.t:=aDict.t; end; class function TJSRsaOtherPrimesInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRsaOtherPrimesInfo.Cast(const Intf: IJSObject): IJSRsaOtherPrimesInfo; begin Result:=TJSRsaOtherPrimesInfo.JOBCast(Intf); end; function TJSJsonWebKey._Getkty: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kty'); end; function TJSJsonWebKey._Getuse: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('use'); end; function TJSJsonWebKey._Getkey_ops: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('key_ops',TJSArray) as TUnicodeStringDynArray; end; function TJSJsonWebKey._Getalg: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('alg'); end; function TJSJsonWebKey._Getext: Boolean; begin Result:=ReadJSPropertyBoolean('ext'); end; function TJSJsonWebKey._Getcrv: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crv'); end; function TJSJsonWebKey._Getx: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('x'); end; function TJSJsonWebKey._Gety: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('y'); end; function TJSJsonWebKey._Getd: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('d'); end; function TJSJsonWebKey._Getn: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('n'); end; function TJSJsonWebKey._Gete: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('e'); end; function TJSJsonWebKey._Getp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('p'); end; function TJSJsonWebKey._Getq: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('q'); end; function TJSJsonWebKey._Getdp: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dp'); end; function TJSJsonWebKey._Getdq: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('dq'); end; function TJSJsonWebKey._Getqi: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('qi'); end; function TJSJsonWebKey._Getoth: TJSRsaOtherPrimesInfoDynArray; begin Result:=ReadJSPropertyObject('oth',TJSArray) as TJSRsaOtherPrimesInfoDynArray; end; function TJSJsonWebKey._Getk: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('k'); end; procedure TJSJsonWebKey._Setkty(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('kty',aValue); end; procedure TJSJsonWebKey._Setuse(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('use',aValue); end; procedure TJSJsonWebKey._Setkey_ops(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('key_ops',aValue); end; procedure TJSJsonWebKey._Setalg(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('alg',aValue); end; procedure TJSJsonWebKey._Setext(const aValue : Boolean); begin WriteJSPropertyBoolean('ext',aValue); end; procedure TJSJsonWebKey._Setcrv(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crv',aValue); end; procedure TJSJsonWebKey._Setx(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('x',aValue); end; procedure TJSJsonWebKey._Sety(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('y',aValue); end; procedure TJSJsonWebKey._Setd(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('d',aValue); end; procedure TJSJsonWebKey._Setn(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('n',aValue); end; procedure TJSJsonWebKey._Sete(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('e',aValue); end; procedure TJSJsonWebKey._Setp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('p',aValue); end; procedure TJSJsonWebKey._Setq(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('q',aValue); end; procedure TJSJsonWebKey._Setdp(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dp',aValue); end; procedure TJSJsonWebKey._Setdq(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('dq',aValue); end; procedure TJSJsonWebKey._Setqi(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('qi',aValue); end; procedure TJSJsonWebKey._Setoth(const aValue : TJSRsaOtherPrimesInfoDynArray); begin WriteJSPropertyObject('oth',aValue); end; procedure TJSJsonWebKey._Setk(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('k',aValue); end; constructor TJSJsonWebKey.create(const aDict : TJSJsonWebKeyRec); overload; begin Self.kty:=aDict.kty; Self.use:=aDict.use; Self.key_ops:=aDict.key_ops; Self.alg:=aDict.alg; Self.ext:=aDict.ext; Self.crv:=aDict.crv; Self.x:=aDict.x; Self.y:=aDict.y; Self.d:=aDict.d; Self.n:=aDict.n; Self.e:=aDict.e; Self.p:=aDict.p; Self.q:=aDict.q; Self.dp:=aDict.dp; Self.dq:=aDict.dq; Self.qi:=aDict.qi; Self.oth:=aDict.oth; Self.k:=aDict.k; end; class function TJSJsonWebKey.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSJsonWebKey.Cast(const Intf: IJSObject): IJSJsonWebKey; begin Result:=TJSJsonWebKey.JOBCast(Intf); end; function TJSCryptoKey._Gettype_: TKeyType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSCryptoKey._Getextractable: Boolean; begin Result:=ReadJSPropertyBoolean('extractable'); end; function TJSCryptoKey._Getalgorithm: IJSObject; begin Result:=ReadJSPropertyObject('algorithm',TJSObject) as IJSObject; end; function TJSCryptoKey._Getusages: TKeyUsageDynArray; begin Result:=ReadJSPropertyObject('usages',TJSArray) as TKeyUsageDynArray; end; class function TJSCryptoKey.JSClassName: UnicodeString; begin Result:='CryptoKey'; end; class function TJSCryptoKey.Cast(const Intf: IJSObject): IJSCryptoKey; begin Result:=TJSCryptoKey.JOBCast(Intf); end; function TJSCryptoKeyPair._GetpublicKey: IJSCryptoKey; begin Result:=ReadJSPropertyObject('publicKey',TJSCryptoKey) as IJSCryptoKey; end; function TJSCryptoKeyPair._GetprivateKey: IJSCryptoKey; begin Result:=ReadJSPropertyObject('privateKey',TJSCryptoKey) as IJSCryptoKey; end; procedure TJSCryptoKeyPair._SetpublicKey(const aValue : IJSCryptoKey); begin WriteJSPropertyObject('publicKey',aValue); end; procedure TJSCryptoKeyPair._SetprivateKey(const aValue : IJSCryptoKey); begin WriteJSPropertyObject('privateKey',aValue); end; constructor TJSCryptoKeyPair.create(const aDict : TJSCryptoKeyPairRec); overload; begin Self.publicKey:=aDict.publicKey; Self.privateKey:=aDict.privateKey; end; class function TJSCryptoKeyPair.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCryptoKeyPair.Cast(const Intf: IJSObject): IJSCryptoKeyPair; begin Result:=TJSCryptoKeyPair.JOBCast(Intf); end; function TJSSubtleCrypto.encrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('encrypt',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.encrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('encrypt',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.decrypt(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decrypt',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.decrypt(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decrypt',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.sign(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('sign',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.sign(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('sign',[aAlgorithm,aKey,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.verify(const aAlgorithm: UnicodeString; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('verify',[aAlgorithm,aKey,aSignature,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.verify(aAlgorithm: IJSObject; aKey: IJSCryptoKey; aSignature: IJSBufferSource; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('verify',[aAlgorithm,aKey,aSignature,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.digest(const aAlgorithm: UnicodeString; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('digest',[aAlgorithm,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.digest(aAlgorithm: IJSObject; aData: IJSBufferSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('digest',[aAlgorithm,aData],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.generateKey(const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateKey',[aAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.generateKey(aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('generateKey',[aAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveKey',[aAlgorithm,aBaseKey,aDerivedKeyType,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; const aDerivedKeyType: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveKey',[aAlgorithm,aBaseKey,aDerivedKeyType,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveKey(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveKey',[aAlgorithm,aBaseKey,aDerivedKeyType,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveKey(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aDerivedKeyType: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveKey',[aAlgorithm,aBaseKey,aDerivedKeyType,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveBits(const aAlgorithm: UnicodeString; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveBits',[aAlgorithm,aBaseKey,aLength_],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.deriveBits(aAlgorithm: IJSObject; aBaseKey: IJSCryptoKey; aLength_: Cardinal): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('deriveBits',[aAlgorithm,aBaseKey,aLength_],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; const aAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('importKey',[aFormat,aKeyData,aAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.importKey(const aFormat: TKeyFormat; aKeyData: IJSObject; aAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('importKey',[aFormat,aKeyData,aAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.exportKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('exportKey',[aFormat,aKey],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; const aWrapAlgorithm: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('wrapKey',[aFormat,aKey,aWrappingKey,aWrapAlgorithm],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.wrapKey(const aFormat: TKeyFormat; aKey: IJSCryptoKey; aWrappingKey: IJSCryptoKey; aWrapAlgorithm: IJSObject): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('wrapKey',[aFormat,aKey,aWrappingKey,aWrapAlgorithm],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unwrapKey',[aFormat,aWrappedKey,aUnwrappingKey,aUnwrapAlgorithm,aUnwrappedKeyAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; const aUnwrappedKeyAlgorithm: UnicodeString; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unwrapKey',[aFormat,aWrappedKey,aUnwrappingKey,aUnwrapAlgorithm,aUnwrappedKeyAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; aUnwrapAlgorithm: IJSObject; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unwrapKey',[aFormat,aWrappedKey,aUnwrappingKey,aUnwrapAlgorithm,aUnwrappedKeyAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; function TJSSubtleCrypto.unwrapKey(const aFormat: TKeyFormat; aWrappedKey: IJSBufferSource; aUnwrappingKey: IJSCryptoKey; const aUnwrapAlgorithm: UnicodeString; aUnwrappedKeyAlgorithm: IJSObject; aExtractable: Boolean; const aKeyUsages: TKeyUsageDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('unwrapKey',[aFormat,aWrappedKey,aUnwrappingKey,aUnwrapAlgorithm,aUnwrappedKeyAlgorithm,aExtractable,aKeyUsages],TJSPromise) as IJSPromise; end; class function TJSSubtleCrypto.JSClassName: UnicodeString; begin Result:='SubtleCrypto'; end; class function TJSSubtleCrypto.Cast(const Intf: IJSObject): IJSSubtleCrypto; begin Result:=TJSSubtleCrypto.JOBCast(Intf); end; function TJSSVGAElement._Gettarget: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('target',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGAElement._Getdownload: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('download'); end; function TJSSVGAElement._Getping: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('ping'); end; function TJSSVGAElement._Getrel: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rel'); end; function TJSSVGAElement._GetreferrerPolicy: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('referrerPolicy'); end; function TJSSVGAElement._GetrelList: IJSDOMTokenList; begin Result:=ReadJSPropertyObject('relList',TJSDOMTokenList) as IJSDOMTokenList; end; function TJSSVGAElement._Gethreflang: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hreflang'); end; function TJSSVGAElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSSVGAElement._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; function TJSSVGAElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGAElement._Setdownload(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('download',aValue); end; procedure TJSSVGAElement._Setping(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('ping',aValue); end; procedure TJSSVGAElement._Setrel(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rel',aValue); end; procedure TJSSVGAElement._SetreferrerPolicy(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('referrerPolicy',aValue); end; procedure TJSSVGAElement._Sethreflang(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('hreflang',aValue); end; procedure TJSSVGAElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSSVGAElement._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; class function TJSSVGAElement.JSClassName: UnicodeString; begin Result:='SVGAElement'; end; class function TJSSVGAElement.Cast(const Intf: IJSObject): IJSSVGAElement; begin Result:=TJSSVGAElement.JOBCast(Intf); end; function TJSSVGAngle._GetunitType: Word; begin Result:=ReadJSPropertyLongInt('unitType'); end; function TJSSVGAngle._Getvalue: Single; begin Result:=ReadJSPropertyDouble('value'); end; function TJSSVGAngle._GetvalueInSpecifiedUnits: Single; begin Result:=ReadJSPropertyDouble('valueInSpecifiedUnits'); end; function TJSSVGAngle._GetvalueAsString: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('valueAsString'); end; procedure TJSSVGAngle._Setvalue(const aValue : Single); begin WriteJSPropertyDouble('value',aValue); end; procedure TJSSVGAngle._SetvalueInSpecifiedUnits(const aValue : Single); begin WriteJSPropertyDouble('valueInSpecifiedUnits',aValue); end; procedure TJSSVGAngle._SetvalueAsString(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('valueAsString',aValue); end; procedure TJSSVGAngle.newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); begin InvokeJSNoResult('newValueSpecifiedUnits',[aUnitType,aValueInSpecifiedUnits]); end; procedure TJSSVGAngle.convertToSpecifiedUnits(aUnitType: Word); begin InvokeJSNoResult('convertToSpecifiedUnits',[aUnitType]); end; class function TJSSVGAngle.JSClassName: UnicodeString; begin Result:='SVGAngle'; end; class function TJSSVGAngle.Cast(const Intf: IJSObject): IJSSVGAngle; begin Result:=TJSSVGAngle.JOBCast(Intf); end; function TJSSVGAnimatedAngle._GetbaseVal: IJSSVGAngle; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGAngle) as IJSSVGAngle; end; function TJSSVGAnimatedAngle._GetanimVal: IJSSVGAngle; begin Result:=ReadJSPropertyObject('animVal',TJSSVGAngle) as IJSSVGAngle; end; class function TJSSVGAnimatedAngle.JSClassName: UnicodeString; begin Result:='SVGAnimatedAngle'; end; class function TJSSVGAnimatedAngle.Cast(const Intf: IJSObject): IJSSVGAnimatedAngle; begin Result:=TJSSVGAnimatedAngle.JOBCast(Intf); end; function TJSSVGAnimatedBoolean._GetbaseVal: Boolean; begin Result:=ReadJSPropertyBoolean('baseVal'); end; function TJSSVGAnimatedBoolean._GetanimVal: Boolean; begin Result:=ReadJSPropertyBoolean('animVal'); end; procedure TJSSVGAnimatedBoolean._SetbaseVal(const aValue : Boolean); begin WriteJSPropertyBoolean('baseVal',aValue); end; class function TJSSVGAnimatedBoolean.JSClassName: UnicodeString; begin Result:='SVGAnimatedBoolean'; end; class function TJSSVGAnimatedBoolean.Cast(const Intf: IJSObject): IJSSVGAnimatedBoolean; begin Result:=TJSSVGAnimatedBoolean.JOBCast(Intf); end; function TJSSVGAnimatedEnumeration._GetbaseVal: Word; begin Result:=ReadJSPropertyLongInt('baseVal'); end; function TJSSVGAnimatedEnumeration._GetanimVal: Word; begin Result:=ReadJSPropertyLongInt('animVal'); end; procedure TJSSVGAnimatedEnumeration._SetbaseVal(const aValue : Word); begin WriteJSPropertyLongInt('baseVal',aValue); end; class function TJSSVGAnimatedEnumeration.JSClassName: UnicodeString; begin Result:='SVGAnimatedEnumeration'; end; class function TJSSVGAnimatedEnumeration.Cast(const Intf: IJSObject): IJSSVGAnimatedEnumeration; begin Result:=TJSSVGAnimatedEnumeration.JOBCast(Intf); end; function TJSSVGAnimatedInteger._GetbaseVal: LongInt; begin Result:=ReadJSPropertyLongInt('baseVal'); end; function TJSSVGAnimatedInteger._GetanimVal: LongInt; begin Result:=ReadJSPropertyLongInt('animVal'); end; procedure TJSSVGAnimatedInteger._SetbaseVal(const aValue : LongInt); begin WriteJSPropertyLongInt('baseVal',aValue); end; class function TJSSVGAnimatedInteger.JSClassName: UnicodeString; begin Result:='SVGAnimatedInteger'; end; class function TJSSVGAnimatedInteger.Cast(const Intf: IJSObject): IJSSVGAnimatedInteger; begin Result:=TJSSVGAnimatedInteger.JOBCast(Intf); end; function TJSSVGAnimatedLength._GetbaseVal: IJSSVGLength; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGLength) as IJSSVGLength; end; function TJSSVGAnimatedLength._GetanimVal: IJSSVGLength; begin Result:=ReadJSPropertyObject('animVal',TJSSVGLength) as IJSSVGLength; end; class function TJSSVGAnimatedLength.JSClassName: UnicodeString; begin Result:='SVGAnimatedLength'; end; class function TJSSVGAnimatedLength.Cast(const Intf: IJSObject): IJSSVGAnimatedLength; begin Result:=TJSSVGAnimatedLength.JOBCast(Intf); end; function TJSSVGAnimatedLengthList._GetbaseVal: IJSSVGLengthList; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGLengthList) as IJSSVGLengthList; end; function TJSSVGAnimatedLengthList._GetanimVal: IJSSVGLengthList; begin Result:=ReadJSPropertyObject('animVal',TJSSVGLengthList) as IJSSVGLengthList; end; class function TJSSVGAnimatedLengthList.JSClassName: UnicodeString; begin Result:='SVGAnimatedLengthList'; end; class function TJSSVGAnimatedLengthList.Cast(const Intf: IJSObject): IJSSVGAnimatedLengthList; begin Result:=TJSSVGAnimatedLengthList.JOBCast(Intf); end; function TJSSVGAnimatedNumber._GetbaseVal: Single; begin Result:=ReadJSPropertyDouble('baseVal'); end; function TJSSVGAnimatedNumber._GetanimVal: Single; begin Result:=ReadJSPropertyDouble('animVal'); end; procedure TJSSVGAnimatedNumber._SetbaseVal(const aValue : Single); begin WriteJSPropertyDouble('baseVal',aValue); end; class function TJSSVGAnimatedNumber.JSClassName: UnicodeString; begin Result:='SVGAnimatedNumber'; end; class function TJSSVGAnimatedNumber.Cast(const Intf: IJSObject): IJSSVGAnimatedNumber; begin Result:=TJSSVGAnimatedNumber.JOBCast(Intf); end; function TJSSVGAnimatedNumberList._GetbaseVal: IJSSVGNumberList; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGNumberList) as IJSSVGNumberList; end; function TJSSVGAnimatedNumberList._GetanimVal: IJSSVGNumberList; begin Result:=ReadJSPropertyObject('animVal',TJSSVGNumberList) as IJSSVGNumberList; end; class function TJSSVGAnimatedNumberList.JSClassName: UnicodeString; begin Result:='SVGAnimatedNumberList'; end; class function TJSSVGAnimatedNumberList.Cast(const Intf: IJSObject): IJSSVGAnimatedNumberList; begin Result:=TJSSVGAnimatedNumberList.JOBCast(Intf); end; function TJSSVGAnimatedPathData._GetpathSegList: IJSSVGPathSegList; begin Result:=ReadJSPropertyObject('pathSegList',TJSSVGPathSegList) as IJSSVGPathSegList; end; function TJSSVGAnimatedPathData._GetanimatedPathSegList: IJSSVGPathSegList; begin Result:=ReadJSPropertyObject('animatedPathSegList',TJSSVGPathSegList) as IJSSVGPathSegList; end; class function TJSSVGAnimatedPathData.JSClassName: UnicodeString; begin Result:='SVGAnimatedPathData'; end; class function TJSSVGAnimatedPathData.Cast(const Intf: IJSObject): IJSSVGAnimatedPathData; begin Result:=TJSSVGAnimatedPathData.JOBCast(Intf); end; function TJSSVGAnimatedPoints._Getpoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('points',TJSSVGPointList) as IJSSVGPointList; end; function TJSSVGAnimatedPoints._GetanimatedPoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('animatedPoints',TJSSVGPointList) as IJSSVGPointList; end; class function TJSSVGAnimatedPoints.JSClassName: UnicodeString; begin Result:='SVGAnimatedPoints'; end; class function TJSSVGAnimatedPoints.Cast(const Intf: IJSObject): IJSSVGAnimatedPoints; begin Result:=TJSSVGAnimatedPoints.JOBCast(Intf); end; function TJSSVGAnimatedPreserveAspectRatio._GetbaseVal: IJSSVGPreserveAspectRatio; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGPreserveAspectRatio) as IJSSVGPreserveAspectRatio; end; function TJSSVGAnimatedPreserveAspectRatio._GetanimVal: IJSSVGPreserveAspectRatio; begin Result:=ReadJSPropertyObject('animVal',TJSSVGPreserveAspectRatio) as IJSSVGPreserveAspectRatio; end; class function TJSSVGAnimatedPreserveAspectRatio.JSClassName: UnicodeString; begin Result:='SVGAnimatedPreserveAspectRatio'; end; class function TJSSVGAnimatedPreserveAspectRatio.Cast(const Intf: IJSObject): IJSSVGAnimatedPreserveAspectRatio; begin Result:=TJSSVGAnimatedPreserveAspectRatio.JOBCast(Intf); end; function TJSSVGAnimatedRect._GetbaseVal: IJSSVGRect; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGRect) as IJSSVGRect; end; function TJSSVGAnimatedRect._GetanimVal: IJSSVGRect; begin Result:=ReadJSPropertyObject('animVal',TJSSVGRect) as IJSSVGRect; end; class function TJSSVGAnimatedRect.JSClassName: UnicodeString; begin Result:='SVGAnimatedRect'; end; class function TJSSVGAnimatedRect.Cast(const Intf: IJSObject): IJSSVGAnimatedRect; begin Result:=TJSSVGAnimatedRect.JOBCast(Intf); end; function TJSSVGAnimatedString._GetbaseVal: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('baseVal'); end; function TJSSVGAnimatedString._GetanimVal: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('animVal'); end; procedure TJSSVGAnimatedString._SetbaseVal(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('baseVal',aValue); end; class function TJSSVGAnimatedString.JSClassName: UnicodeString; begin Result:='SVGAnimatedString'; end; class function TJSSVGAnimatedString.Cast(const Intf: IJSObject): IJSSVGAnimatedString; begin Result:=TJSSVGAnimatedString.JOBCast(Intf); end; function TJSSVGAnimatedTransformList._GetbaseVal: IJSSVGTransformList; begin Result:=ReadJSPropertyObject('baseVal',TJSSVGTransformList) as IJSSVGTransformList; end; function TJSSVGAnimatedTransformList._GetanimVal: IJSSVGTransformList; begin Result:=ReadJSPropertyObject('animVal',TJSSVGTransformList) as IJSSVGTransformList; end; class function TJSSVGAnimatedTransformList.JSClassName: UnicodeString; begin Result:='SVGAnimatedTransformList'; end; class function TJSSVGAnimatedTransformList.Cast(const Intf: IJSObject): IJSSVGAnimatedTransformList; begin Result:=TJSSVGAnimatedTransformList.JOBCast(Intf); end; class function TJSSVGAnimateElement.JSClassName: UnicodeString; begin Result:='SVGAnimateElement'; end; class function TJSSVGAnimateElement.Cast(const Intf: IJSObject): IJSSVGAnimateElement; begin Result:=TJSSVGAnimateElement.JOBCast(Intf); end; class function TJSSVGAnimateMotionElement.JSClassName: UnicodeString; begin Result:='SVGAnimateMotionElement'; end; class function TJSSVGAnimateMotionElement.Cast(const Intf: IJSObject): IJSSVGAnimateMotionElement; begin Result:=TJSSVGAnimateMotionElement.JOBCast(Intf); end; class function TJSSVGAnimateTransformElement.JSClassName: UnicodeString; begin Result:='SVGAnimateTransformElement'; end; class function TJSSVGAnimateTransformElement.Cast(const Intf: IJSObject): IJSSVGAnimateTransformElement; begin Result:=TJSSVGAnimateTransformElement.JOBCast(Intf); end; function TJSSVGAnimationElement._GettargetElement: IJSSVGElement; begin Result:=ReadJSPropertyObject('targetElement',TJSSVGElement) as IJSSVGElement; end; function TJSSVGAnimationElement._Getonbegin: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbegin'))); end; function TJSSVGAnimationElement._Getonend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onend'))); end; function TJSSVGAnimationElement._Getonrepeat: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrepeat'))); end; function TJSSVGAnimationElement._GetrequiredExtensions: IJSSVGStringList; begin Result:=ReadJSPropertyObject('requiredExtensions',TJSSVGStringList) as IJSSVGStringList; end; function TJSSVGAnimationElement._GetsystemLanguage: IJSSVGStringList; begin Result:=ReadJSPropertyObject('systemLanguage',TJSSVGStringList) as IJSSVGStringList; end; procedure TJSSVGAnimationElement._Setonbegin(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbegin',[m],jiSet); finally m.free end; end; procedure TJSSVGAnimationElement._Setonend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onend',[m],jiSet); finally m.free end; end; procedure TJSSVGAnimationElement._Setonrepeat(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrepeat',[m],jiSet); finally m.free end; end; function TJSSVGAnimationElement.getStartTime: Single; begin Result:=InvokeJSDoubleResult('getStartTime',[]); end; function TJSSVGAnimationElement.getCurrentTime: Single; begin Result:=InvokeJSDoubleResult('getCurrentTime',[]); end; function TJSSVGAnimationElement.getSimpleDuration: Single; begin Result:=InvokeJSDoubleResult('getSimpleDuration',[]); end; procedure TJSSVGAnimationElement.beginElement; begin InvokeJSNoResult('beginElement',[]); end; procedure TJSSVGAnimationElement.beginElementAt(aOffset: Single); begin InvokeJSNoResult('beginElementAt',[aOffset]); end; procedure TJSSVGAnimationElement.endElement; begin InvokeJSNoResult('endElement',[]); end; procedure TJSSVGAnimationElement.endElementAt(aOffset: Single); begin InvokeJSNoResult('endElementAt',[aOffset]); end; class function TJSSVGAnimationElement.JSClassName: UnicodeString; begin Result:='SVGAnimationElement'; end; class function TJSSVGAnimationElement.Cast(const Intf: IJSObject): IJSSVGAnimationElement; begin Result:=TJSSVGAnimationElement.JOBCast(Intf); end; function TJSSVGCircleElement._Getcx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGCircleElement._Getcy: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cy',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGCircleElement._Getr: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('r',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGCircleElement.JSClassName: UnicodeString; begin Result:='SVGCircleElement'; end; class function TJSSVGCircleElement.Cast(const Intf: IJSObject): IJSSVGCircleElement; begin Result:=TJSSVGCircleElement.JOBCast(Intf); end; function TJSSVGClipPathElement._GetclipPathUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('clipPathUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGClipPathElement._Gettransform: IJSSVGAnimatedTransformList; begin Result:=ReadJSPropertyObject('transform',TJSSVGAnimatedTransformList) as IJSSVGAnimatedTransformList; end; class function TJSSVGClipPathElement.JSClassName: UnicodeString; begin Result:='SVGClipPathElement'; end; class function TJSSVGClipPathElement.Cast(const Intf: IJSObject): IJSSVGClipPathElement; begin Result:=TJSSVGClipPathElement.JOBCast(Intf); end; function TJSSVGComponentTransferFunctionElement._Gettype_: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('type',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGComponentTransferFunctionElement._GettableValues: IJSSVGAnimatedNumberList; begin Result:=ReadJSPropertyObject('tableValues',TJSSVGAnimatedNumberList) as IJSSVGAnimatedNumberList; end; function TJSSVGComponentTransferFunctionElement._Getslope: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('slope',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGComponentTransferFunctionElement._Getintercept: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('intercept',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGComponentTransferFunctionElement._Getamplitude: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('amplitude',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGComponentTransferFunctionElement._Getexponent: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('exponent',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGComponentTransferFunctionElement._Getoffset: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('offset',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; class function TJSSVGComponentTransferFunctionElement.JSClassName: UnicodeString; begin Result:='SVGComponentTransferFunctionElement'; end; class function TJSSVGComponentTransferFunctionElement.Cast(const Intf: IJSObject): IJSSVGComponentTransferFunctionElement; begin Result:=TJSSVGComponentTransferFunctionElement.JOBCast(Intf); end; class function TJSSVGDefsElement.JSClassName: UnicodeString; begin Result:='SVGDefsElement'; end; class function TJSSVGDefsElement.Cast(const Intf: IJSObject): IJSSVGDefsElement; begin Result:=TJSSVGDefsElement.JOBCast(Intf); end; class function TJSSVGDescElement.JSClassName: UnicodeString; begin Result:='SVGDescElement'; end; class function TJSSVGDescElement.Cast(const Intf: IJSObject): IJSSVGDescElement; begin Result:=TJSSVGDescElement.JOBCast(Intf); end; function TJSSVGElement._Getid2: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSSVGElement._GetclassName_2: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('className',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGElement._GetownerSVGElement: IJSSVGSVGElement; begin Result:=ReadJSPropertyObject('ownerSVGElement',TJSSVGSVGElement) as IJSSVGSVGElement; end; function TJSSVGElement._GetviewportElement: IJSSVGElement; begin Result:=ReadJSPropertyObject('viewportElement',TJSSVGElement) as IJSSVGElement; end; function TJSSVGElement._Getnonce: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('nonce'); end; function TJSSVGElement._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSSVGElement._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSSVGElement._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSSVGElement._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSSVGElement._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSSVGElement._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSSVGElement._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSSVGElement._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSSVGElement._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSSVGElement._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSSVGElement._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSSVGElement._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSSVGElement._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSSVGElement._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSSVGElement._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSSVGElement._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSSVGElement._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSSVGElement._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSSVGElement._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSSVGElement._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSSVGElement._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSSVGElement._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSSVGElement._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSSVGElement._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSSVGElement._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSSVGElement._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSSVGElement._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSSVGElement._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSSVGElement._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSSVGElement._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSSVGElement._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSSVGElement._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSSVGElement._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSSVGElement._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSSVGElement._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSSVGElement._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSSVGElement._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSSVGElement._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSSVGElement._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSSVGElement._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSSVGElement._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSSVGElement._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSSVGElement._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSSVGElement._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSSVGElement._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSSVGElement._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSSVGElement._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSSVGElement._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSSVGElement._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSSVGElement._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSSVGElement._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSSVGElement._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSSVGElement._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSSVGElement._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSSVGElement._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSSVGElement._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSSVGElement._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSSVGElement._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSSVGElement._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSSVGElement._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSSVGElement._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSSVGElement._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSSVGElement._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSSVGElement._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSSVGElement._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSSVGElement._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSSVGElement._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSSVGElement._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSSVGElement._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSSVGElement._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSSVGElement._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSSVGElement._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSSVGElement._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSSVGElement._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSSVGElement._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSSVGElement._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSSVGElement._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSSVGElement._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSSVGElement._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSSVGElement._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSSVGElement._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSSVGElement._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSSVGElement._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSSVGElement._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSSVGElement._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSSVGElement._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSSVGElement._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSSVGElement._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSSVGElement._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSSVGElement._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSSVGElement._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSSVGElement._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSSVGElement._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSSVGElement._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSSVGElement._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSSVGElement._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; function TJSSVGElement._Getdataset: IJSDOMStringMap; begin Result:=ReadJSPropertyObject('dataset',TJSDOMStringMap) as IJSDOMStringMap; end; function TJSSVGElement._Getautofocus: Boolean; begin Result:=ReadJSPropertyBoolean('autofocus'); end; function TJSSVGElement._GettabIndex: LongInt; begin Result:=ReadJSPropertyLongInt('tabIndex'); end; function TJSSVGElement._Getstyle: IJSCSSStyleDeclaration; begin Result:=ReadJSPropertyObject('style',TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSSVGElement._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSSVGElement._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSSVGElement._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSSVGElement._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; function TJSSVGElement._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSSVGElement._Setid2(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSSVGElement._Setnonce(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('nonce',aValue); end; procedure TJSSVGElement._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setautofocus(const aValue : Boolean); begin WriteJSPropertyBoolean('autofocus',aValue); end; procedure TJSSVGElement._SettabIndex(const aValue : LongInt); begin WriteJSPropertyLongInt('tabIndex',aValue); end; procedure TJSSVGElement._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; procedure TJSSVGElement._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSSVGElement.focus(const aOptions: IJSFocusOptions); begin InvokeJSNoResult('focus',[aOptions]); end; procedure TJSSVGElement.focus; begin InvokeJSNoResult('focus',[]); end; procedure TJSSVGElement.blur; begin InvokeJSNoResult('blur',[]); end; class function TJSSVGElement.JSClassName: UnicodeString; begin Result:='SVGElement'; end; class function TJSSVGElement.Cast(const Intf: IJSObject): IJSSVGElement; begin Result:=TJSSVGElement.JOBCast(Intf); end; function TJSSVGEllipseElement._Getcx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGEllipseElement._Getcy: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cy',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGEllipseElement._Getrx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('rx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGEllipseElement._Getry: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('ry',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGEllipseElement.JSClassName: UnicodeString; begin Result:='SVGEllipseElement'; end; class function TJSSVGEllipseElement.Cast(const Intf: IJSObject): IJSSVGEllipseElement; begin Result:=TJSSVGEllipseElement.JOBCast(Intf); end; function TJSSVGFEBlendElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEBlendElement._Getin2: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in2',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEBlendElement._Getmode: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('mode',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEBlendElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEBlendElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEBlendElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEBlendElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEBlendElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEBlendElement.JSClassName: UnicodeString; begin Result:='SVGFEBlendElement'; end; class function TJSSVGFEBlendElement.Cast(const Intf: IJSObject): IJSSVGFEBlendElement; begin Result:=TJSSVGFEBlendElement.JOBCast(Intf); end; function TJSSVGFEColorMatrixElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEColorMatrixElement._Gettype_: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('type',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEColorMatrixElement._Getvalues: IJSSVGAnimatedNumberList; begin Result:=ReadJSPropertyObject('values',TJSSVGAnimatedNumberList) as IJSSVGAnimatedNumberList; end; function TJSSVGFEColorMatrixElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEColorMatrixElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEColorMatrixElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEColorMatrixElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEColorMatrixElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEColorMatrixElement.JSClassName: UnicodeString; begin Result:='SVGFEColorMatrixElement'; end; class function TJSSVGFEColorMatrixElement.Cast(const Intf: IJSObject): IJSSVGFEColorMatrixElement; begin Result:=TJSSVGFEColorMatrixElement.JOBCast(Intf); end; function TJSSVGFEComponentTransferElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEComponentTransferElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEComponentTransferElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEComponentTransferElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEComponentTransferElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEComponentTransferElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEComponentTransferElement.JSClassName: UnicodeString; begin Result:='SVGFEComponentTransferElement'; end; class function TJSSVGFEComponentTransferElement.Cast(const Intf: IJSObject): IJSSVGFEComponentTransferElement; begin Result:=TJSSVGFEComponentTransferElement.JOBCast(Intf); end; function TJSSVGFECompositeElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFECompositeElement._Getin2: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in2',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFECompositeElement._Getoperator_: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('operator',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFECompositeElement._Getk1: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('k1',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFECompositeElement._Getk2: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('k2',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFECompositeElement._Getk3: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('k3',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFECompositeElement._Getk4: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('k4',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFECompositeElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFECompositeElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFECompositeElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFECompositeElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFECompositeElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFECompositeElement.JSClassName: UnicodeString; begin Result:='SVGFECompositeElement'; end; class function TJSSVGFECompositeElement.Cast(const Intf: IJSObject): IJSSVGFECompositeElement; begin Result:=TJSSVGFECompositeElement.JOBCast(Intf); end; function TJSSVGFEConvolveMatrixElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEConvolveMatrixElement._GetorderX: IJSSVGAnimatedInteger; begin Result:=ReadJSPropertyObject('orderX',TJSSVGAnimatedInteger) as IJSSVGAnimatedInteger; end; function TJSSVGFEConvolveMatrixElement._GetorderY: IJSSVGAnimatedInteger; begin Result:=ReadJSPropertyObject('orderY',TJSSVGAnimatedInteger) as IJSSVGAnimatedInteger; end; function TJSSVGFEConvolveMatrixElement._GetkernelMatrix: IJSSVGAnimatedNumberList; begin Result:=ReadJSPropertyObject('kernelMatrix',TJSSVGAnimatedNumberList) as IJSSVGAnimatedNumberList; end; function TJSSVGFEConvolveMatrixElement._Getdivisor: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('divisor',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEConvolveMatrixElement._Getbias: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('bias',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEConvolveMatrixElement._GettargetX: IJSSVGAnimatedInteger; begin Result:=ReadJSPropertyObject('targetX',TJSSVGAnimatedInteger) as IJSSVGAnimatedInteger; end; function TJSSVGFEConvolveMatrixElement._GettargetY: IJSSVGAnimatedInteger; begin Result:=ReadJSPropertyObject('targetY',TJSSVGAnimatedInteger) as IJSSVGAnimatedInteger; end; function TJSSVGFEConvolveMatrixElement._GetedgeMode: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('edgeMode',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEConvolveMatrixElement._GetkernelUnitLengthX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEConvolveMatrixElement._GetkernelUnitLengthY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEConvolveMatrixElement._GetpreserveAlpha: IJSSVGAnimatedBoolean; begin Result:=ReadJSPropertyObject('preserveAlpha',TJSSVGAnimatedBoolean) as IJSSVGAnimatedBoolean; end; function TJSSVGFEConvolveMatrixElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEConvolveMatrixElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEConvolveMatrixElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEConvolveMatrixElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEConvolveMatrixElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEConvolveMatrixElement.JSClassName: UnicodeString; begin Result:='SVGFEConvolveMatrixElement'; end; class function TJSSVGFEConvolveMatrixElement.Cast(const Intf: IJSObject): IJSSVGFEConvolveMatrixElement; begin Result:=TJSSVGFEConvolveMatrixElement.JOBCast(Intf); end; function TJSSVGFEDiffuseLightingElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEDiffuseLightingElement._GetsurfaceScale: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('surfaceScale',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDiffuseLightingElement._GetdiffuseConstant: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('diffuseConstant',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDiffuseLightingElement._GetkernelUnitLengthX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDiffuseLightingElement._GetkernelUnitLengthY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDiffuseLightingElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDiffuseLightingElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDiffuseLightingElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDiffuseLightingElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDiffuseLightingElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEDiffuseLightingElement.JSClassName: UnicodeString; begin Result:='SVGFEDiffuseLightingElement'; end; class function TJSSVGFEDiffuseLightingElement.Cast(const Intf: IJSObject): IJSSVGFEDiffuseLightingElement; begin Result:=TJSSVGFEDiffuseLightingElement.JOBCast(Intf); end; function TJSSVGFEDisplacementMapElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEDisplacementMapElement._Getin2: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in2',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEDisplacementMapElement._Getscale: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('scale',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDisplacementMapElement._GetxChannelSelector: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('xChannelSelector',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEDisplacementMapElement._GetyChannelSelector: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('yChannelSelector',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEDisplacementMapElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDisplacementMapElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDisplacementMapElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDisplacementMapElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDisplacementMapElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEDisplacementMapElement.JSClassName: UnicodeString; begin Result:='SVGFEDisplacementMapElement'; end; class function TJSSVGFEDisplacementMapElement.Cast(const Intf: IJSObject): IJSSVGFEDisplacementMapElement; begin Result:=TJSSVGFEDisplacementMapElement.JOBCast(Intf); end; function TJSSVGFEDistantLightElement._Getazimuth: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('azimuth',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDistantLightElement._Getelevation: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('elevation',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; class function TJSSVGFEDistantLightElement.JSClassName: UnicodeString; begin Result:='SVGFEDistantLightElement'; end; class function TJSSVGFEDistantLightElement.Cast(const Intf: IJSObject): IJSSVGFEDistantLightElement; begin Result:=TJSSVGFEDistantLightElement.JOBCast(Intf); end; function TJSSVGFEDropShadowElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEDropShadowElement._Getdx: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('dx',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDropShadowElement._Getdy: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('dy',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDropShadowElement._GetstdDeviationX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('stdDeviationX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDropShadowElement._GetstdDeviationY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('stdDeviationY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEDropShadowElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDropShadowElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDropShadowElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDropShadowElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEDropShadowElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGFEDropShadowElement.setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); begin InvokeJSNoResult('setStdDeviation',[aStdDeviationX,aStdDeviationY]); end; class function TJSSVGFEDropShadowElement.JSClassName: UnicodeString; begin Result:='SVGFEDropShadowElement'; end; class function TJSSVGFEDropShadowElement.Cast(const Intf: IJSObject): IJSSVGFEDropShadowElement; begin Result:=TJSSVGFEDropShadowElement.JOBCast(Intf); end; function TJSSVGFEFloodElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEFloodElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEFloodElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEFloodElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEFloodElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEFloodElement.JSClassName: UnicodeString; begin Result:='SVGFEFloodElement'; end; class function TJSSVGFEFloodElement.Cast(const Intf: IJSObject): IJSSVGFEFloodElement; begin Result:=TJSSVGFEFloodElement.JOBCast(Intf); end; class function TJSSVGFEFuncAElement.JSClassName: UnicodeString; begin Result:='SVGFEFuncAElement'; end; class function TJSSVGFEFuncAElement.Cast(const Intf: IJSObject): IJSSVGFEFuncAElement; begin Result:=TJSSVGFEFuncAElement.JOBCast(Intf); end; class function TJSSVGFEFuncBElement.JSClassName: UnicodeString; begin Result:='SVGFEFuncBElement'; end; class function TJSSVGFEFuncBElement.Cast(const Intf: IJSObject): IJSSVGFEFuncBElement; begin Result:=TJSSVGFEFuncBElement.JOBCast(Intf); end; class function TJSSVGFEFuncGElement.JSClassName: UnicodeString; begin Result:='SVGFEFuncGElement'; end; class function TJSSVGFEFuncGElement.Cast(const Intf: IJSObject): IJSSVGFEFuncGElement; begin Result:=TJSSVGFEFuncGElement.JOBCast(Intf); end; class function TJSSVGFEFuncRElement.JSClassName: UnicodeString; begin Result:='SVGFEFuncRElement'; end; class function TJSSVGFEFuncRElement.Cast(const Intf: IJSObject): IJSSVGFEFuncRElement; begin Result:=TJSSVGFEFuncRElement.JOBCast(Intf); end; function TJSSVGFEGaussianBlurElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEGaussianBlurElement._GetstdDeviationX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('stdDeviationX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEGaussianBlurElement._GetstdDeviationY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('stdDeviationY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEGaussianBlurElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEGaussianBlurElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEGaussianBlurElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEGaussianBlurElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEGaussianBlurElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGFEGaussianBlurElement.setStdDeviation(aStdDeviationX: Single; aStdDeviationY: Single); begin InvokeJSNoResult('setStdDeviation',[aStdDeviationX,aStdDeviationY]); end; class function TJSSVGFEGaussianBlurElement.JSClassName: UnicodeString; begin Result:='SVGFEGaussianBlurElement'; end; class function TJSSVGFEGaussianBlurElement.Cast(const Intf: IJSObject): IJSSVGFEGaussianBlurElement; begin Result:=TJSSVGFEGaussianBlurElement.JOBCast(Intf); end; function TJSSVGFEImageElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGFEImageElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSSVGFEImageElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEImageElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEImageElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEImageElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEImageElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEImageElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGFEImageElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; class function TJSSVGFEImageElement.JSClassName: UnicodeString; begin Result:='SVGFEImageElement'; end; class function TJSSVGFEImageElement.Cast(const Intf: IJSObject): IJSSVGFEImageElement; begin Result:=TJSSVGFEImageElement.JOBCast(Intf); end; function TJSSVGFEMergeElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMergeElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMergeElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMergeElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMergeElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEMergeElement.JSClassName: UnicodeString; begin Result:='SVGFEMergeElement'; end; class function TJSSVGFEMergeElement.Cast(const Intf: IJSObject): IJSSVGFEMergeElement; begin Result:=TJSSVGFEMergeElement.JOBCast(Intf); end; function TJSSVGFEMergeNodeElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEMergeNodeElement.JSClassName: UnicodeString; begin Result:='SVGFEMergeNodeElement'; end; class function TJSSVGFEMergeNodeElement.Cast(const Intf: IJSObject): IJSSVGFEMergeNodeElement; begin Result:=TJSSVGFEMergeNodeElement.JOBCast(Intf); end; function TJSSVGFEMorphologyElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEMorphologyElement._Getoperator_: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('operator',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFEMorphologyElement._GetradiusX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('radiusX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEMorphologyElement._GetradiusY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('radiusY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEMorphologyElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMorphologyElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMorphologyElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMorphologyElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEMorphologyElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEMorphologyElement.JSClassName: UnicodeString; begin Result:='SVGFEMorphologyElement'; end; class function TJSSVGFEMorphologyElement.Cast(const Intf: IJSObject): IJSSVGFEMorphologyElement; begin Result:=TJSSVGFEMorphologyElement.JOBCast(Intf); end; function TJSSVGFEOffsetElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFEOffsetElement._Getdx: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('dx',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEOffsetElement._Getdy: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('dy',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEOffsetElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEOffsetElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEOffsetElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEOffsetElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFEOffsetElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFEOffsetElement.JSClassName: UnicodeString; begin Result:='SVGFEOffsetElement'; end; class function TJSSVGFEOffsetElement.Cast(const Intf: IJSObject): IJSSVGFEOffsetElement; begin Result:=TJSSVGFEOffsetElement.JOBCast(Intf); end; function TJSSVGFEPointLightElement._Getx: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEPointLightElement._Gety: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFEPointLightElement._Getz: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('z',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; class function TJSSVGFEPointLightElement.JSClassName: UnicodeString; begin Result:='SVGFEPointLightElement'; end; class function TJSSVGFEPointLightElement.Cast(const Intf: IJSObject): IJSSVGFEPointLightElement; begin Result:=TJSSVGFEPointLightElement.JOBCast(Intf); end; function TJSSVGFESpecularLightingElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFESpecularLightingElement._GetsurfaceScale: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('surfaceScale',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpecularLightingElement._GetspecularConstant: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('specularConstant',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpecularLightingElement._GetspecularExponent: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('specularExponent',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpecularLightingElement._GetkernelUnitLengthX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpecularLightingElement._GetkernelUnitLengthY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('kernelUnitLengthY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpecularLightingElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFESpecularLightingElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFESpecularLightingElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFESpecularLightingElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFESpecularLightingElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFESpecularLightingElement.JSClassName: UnicodeString; begin Result:='SVGFESpecularLightingElement'; end; class function TJSSVGFESpecularLightingElement.Cast(const Intf: IJSObject): IJSSVGFESpecularLightingElement; begin Result:=TJSSVGFESpecularLightingElement.JOBCast(Intf); end; function TJSSVGFESpotLightElement._Getx: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._Gety: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._Getz: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('z',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._GetpointsAtX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('pointsAtX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._GetpointsAtY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('pointsAtY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._GetpointsAtZ: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('pointsAtZ',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._GetspecularExponent: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('specularExponent',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFESpotLightElement._GetlimitingConeAngle: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('limitingConeAngle',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; class function TJSSVGFESpotLightElement.JSClassName: UnicodeString; begin Result:='SVGFESpotLightElement'; end; class function TJSSVGFESpotLightElement.Cast(const Intf: IJSObject): IJSSVGFESpotLightElement; begin Result:=TJSSVGFESpotLightElement.JOBCast(Intf); end; function TJSSVGFETileElement._Getin1: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('in1',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; function TJSSVGFETileElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETileElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETileElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETileElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETileElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFETileElement.JSClassName: UnicodeString; begin Result:='SVGFETileElement'; end; class function TJSSVGFETileElement.Cast(const Intf: IJSObject): IJSSVGFETileElement; begin Result:=TJSSVGFETileElement.JOBCast(Intf); end; function TJSSVGFETurbulenceElement._GetbaseFrequencyX: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('baseFrequencyX',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFETurbulenceElement._GetbaseFrequencyY: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('baseFrequencyY',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFETurbulenceElement._GetnumOctaves: IJSSVGAnimatedInteger; begin Result:=ReadJSPropertyObject('numOctaves',TJSSVGAnimatedInteger) as IJSSVGAnimatedInteger; end; function TJSSVGFETurbulenceElement._Getseed: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('seed',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGFETurbulenceElement._GetstitchTiles: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('stitchTiles',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFETurbulenceElement._Gettype_: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('type',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFETurbulenceElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETurbulenceElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETurbulenceElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETurbulenceElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFETurbulenceElement._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFETurbulenceElement.JSClassName: UnicodeString; begin Result:='SVGFETurbulenceElement'; end; class function TJSSVGFETurbulenceElement.Cast(const Intf: IJSObject): IJSSVGFETurbulenceElement; begin Result:=TJSSVGFETurbulenceElement.JOBCast(Intf); end; function TJSSVGFilterElement._GetfilterUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('filterUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFilterElement._GetprimitiveUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('primitiveUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGFilterElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFilterElement.JSClassName: UnicodeString; begin Result:='SVGFilterElement'; end; class function TJSSVGFilterElement.Cast(const Intf: IJSObject): IJSSVGFilterElement; begin Result:=TJSSVGFilterElement.JOBCast(Intf); end; function TJSSVGFilterPrimitiveStandardAttributes._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterPrimitiveStandardAttributes._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterPrimitiveStandardAttributes._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterPrimitiveStandardAttributes._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGFilterPrimitiveStandardAttributes._Getresult: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('result',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGFilterPrimitiveStandardAttributes.JSClassName: UnicodeString; begin Result:='SVGFilterPrimitiveStandardAttributes'; end; class function TJSSVGFilterPrimitiveStandardAttributes.Cast(const Intf: IJSObject): IJSSVGFilterPrimitiveStandardAttributes; begin Result:=TJSSVGFilterPrimitiveStandardAttributes.JOBCast(Intf); end; function TJSSVGFitToViewBox._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGFitToViewBox._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; class function TJSSVGFitToViewBox.JSClassName: UnicodeString; begin Result:='SVGFitToViewBox'; end; class function TJSSVGFitToViewBox.Cast(const Intf: IJSObject): IJSSVGFitToViewBox; begin Result:=TJSSVGFitToViewBox.JOBCast(Intf); end; function TJSSVGForeignObjectElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGForeignObjectElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGForeignObjectElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGForeignObjectElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGForeignObjectElement.JSClassName: UnicodeString; begin Result:='SVGForeignObjectElement'; end; class function TJSSVGForeignObjectElement.Cast(const Intf: IJSObject): IJSSVGForeignObjectElement; begin Result:=TJSSVGForeignObjectElement.JOBCast(Intf); end; class function TJSSVGGElement.JSClassName: UnicodeString; begin Result:='SVGGElement'; end; class function TJSSVGGElement.Cast(const Intf: IJSObject): IJSSVGGElement; begin Result:=TJSSVGGElement.JOBCast(Intf); end; function TJSSVGGeometryElement._GetpathLength: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('pathLength',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; function TJSSVGGeometryElement.isPointInFill(const aPoint: IJSDOMPointInit): Boolean; begin Result:=InvokeJSBooleanResult('isPointInFill',[aPoint]); end; function TJSSVGGeometryElement.isPointInFill: Boolean; begin Result:=InvokeJSBooleanResult('isPointInFill',[]); end; function TJSSVGGeometryElement.isPointInStroke(const aPoint: IJSDOMPointInit): Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[aPoint]); end; function TJSSVGGeometryElement.isPointInStroke: Boolean; begin Result:=InvokeJSBooleanResult('isPointInStroke',[]); end; function TJSSVGGeometryElement.getTotalLength: Single; begin Result:=InvokeJSDoubleResult('getTotalLength',[]); end; function TJSSVGGeometryElement.getPointAtLength(aDistance: Single): IJSSVGPoint; begin Result:=InvokeJSObjectResult('getPointAtLength',[aDistance],TJSSVGPoint) as IJSSVGPoint; end; class function TJSSVGGeometryElement.JSClassName: UnicodeString; begin Result:='SVGGeometryElement'; end; class function TJSSVGGeometryElement.Cast(const Intf: IJSObject): IJSSVGGeometryElement; begin Result:=TJSSVGGeometryElement.JOBCast(Intf); end; function TJSSVGGradientElement._GetgradientUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('gradientUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGGradientElement._GetgradientTransform: IJSSVGAnimatedTransformList; begin Result:=ReadJSPropertyObject('gradientTransform',TJSSVGAnimatedTransformList) as IJSSVGAnimatedTransformList; end; function TJSSVGGradientElement._GetspreadMethod: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('spreadMethod',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGGradientElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGGradientElement.JSClassName: UnicodeString; begin Result:='SVGGradientElement'; end; class function TJSSVGGradientElement.Cast(const Intf: IJSObject): IJSSVGGradientElement; begin Result:=TJSSVGGradientElement.JOBCast(Intf); end; function TJSSVGBoundingBoxOptions._Getfill: Boolean; begin Result:=ReadJSPropertyBoolean('fill'); end; function TJSSVGBoundingBoxOptions._Getstroke: Boolean; begin Result:=ReadJSPropertyBoolean('stroke'); end; function TJSSVGBoundingBoxOptions._Getmarkers: Boolean; begin Result:=ReadJSPropertyBoolean('markers'); end; function TJSSVGBoundingBoxOptions._Getclipped: Boolean; begin Result:=ReadJSPropertyBoolean('clipped'); end; procedure TJSSVGBoundingBoxOptions._Setfill(const aValue : Boolean); begin WriteJSPropertyBoolean('fill',aValue); end; procedure TJSSVGBoundingBoxOptions._Setstroke(const aValue : Boolean); begin WriteJSPropertyBoolean('stroke',aValue); end; procedure TJSSVGBoundingBoxOptions._Setmarkers(const aValue : Boolean); begin WriteJSPropertyBoolean('markers',aValue); end; procedure TJSSVGBoundingBoxOptions._Setclipped(const aValue : Boolean); begin WriteJSPropertyBoolean('clipped',aValue); end; constructor TJSSVGBoundingBoxOptions.create(const aDict : TJSSVGBoundingBoxOptionsRec); overload; begin Self.fill:=aDict.fill; Self.stroke:=aDict.stroke; Self.markers:=aDict.markers; Self.clipped:=aDict.clipped; end; class function TJSSVGBoundingBoxOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSVGBoundingBoxOptions.Cast(const Intf: IJSObject): IJSSVGBoundingBoxOptions; begin Result:=TJSSVGBoundingBoxOptions.JOBCast(Intf); end; function TJSSVGGraphicsElement._Gettransform: IJSSVGAnimatedTransformList; begin Result:=ReadJSPropertyObject('transform',TJSSVGAnimatedTransformList) as IJSSVGAnimatedTransformList; end; function TJSSVGGraphicsElement._GetnearestViewportElement: IJSSVGElement; begin Result:=ReadJSPropertyObject('nearestViewportElement',TJSSVGElement) as IJSSVGElement; end; function TJSSVGGraphicsElement._GetfarthestViewportElement: IJSSVGElement; begin Result:=ReadJSPropertyObject('farthestViewportElement',TJSSVGElement) as IJSSVGElement; end; function TJSSVGGraphicsElement._GetrequiredExtensions: IJSSVGStringList; begin Result:=ReadJSPropertyObject('requiredExtensions',TJSSVGStringList) as IJSSVGStringList; end; function TJSSVGGraphicsElement._GetsystemLanguage: IJSSVGStringList; begin Result:=ReadJSPropertyObject('systemLanguage',TJSSVGStringList) as IJSSVGStringList; end; function TJSSVGGraphicsElement.getBBox(const aAOptions: IJSSVGBoundingBoxOptions): IJSSVGRect; begin Result:=InvokeJSObjectResult('getBBox',[aAOptions],TJSSVGRect) as IJSSVGRect; end; function TJSSVGGraphicsElement.getBBox: IJSSVGRect; begin Result:=InvokeJSObjectResult('getBBox',[],TJSSVGRect) as IJSSVGRect; end; function TJSSVGGraphicsElement.getCTM: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('getCTM',[],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGGraphicsElement.getScreenCTM: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('getScreenCTM',[],TJSSVGMatrix) as IJSSVGMatrix; end; class function TJSSVGGraphicsElement.JSClassName: UnicodeString; begin Result:='SVGGraphicsElement'; end; class function TJSSVGGraphicsElement.Cast(const Intf: IJSObject): IJSSVGGraphicsElement; begin Result:=TJSSVGGraphicsElement.JOBCast(Intf); end; function TJSSVGImageElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGImageElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGImageElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGImageElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGImageElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGImageElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSSVGImageElement._Getdecoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('decoding'); end; function TJSSVGImageElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGImageElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; procedure TJSSVGImageElement._Setdecoding(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('decoding',aValue); end; function TJSSVGImageElement.decode: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('decode',[],TJSPromise) as IJSPromise; end; class function TJSSVGImageElement.JSClassName: UnicodeString; begin Result:='SVGImageElement'; end; class function TJSSVGImageElement.Cast(const Intf: IJSObject): IJSSVGImageElement; begin Result:=TJSSVGImageElement.JOBCast(Intf); end; function TJSSVGLength._GetunitType: Word; begin Result:=ReadJSPropertyLongInt('unitType'); end; function TJSSVGLength._Getvalue: Single; begin Result:=ReadJSPropertyDouble('value'); end; function TJSSVGLength._GetvalueInSpecifiedUnits: Single; begin Result:=ReadJSPropertyDouble('valueInSpecifiedUnits'); end; function TJSSVGLength._GetvalueAsString: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('valueAsString'); end; procedure TJSSVGLength._Setvalue(const aValue : Single); begin WriteJSPropertyDouble('value',aValue); end; procedure TJSSVGLength._SetvalueInSpecifiedUnits(const aValue : Single); begin WriteJSPropertyDouble('valueInSpecifiedUnits',aValue); end; procedure TJSSVGLength._SetvalueAsString(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('valueAsString',aValue); end; procedure TJSSVGLength.newValueSpecifiedUnits(aUnitType: Word; aValueInSpecifiedUnits: Single); begin InvokeJSNoResult('newValueSpecifiedUnits',[aUnitType,aValueInSpecifiedUnits]); end; procedure TJSSVGLength.convertToSpecifiedUnits(aUnitType: Word); begin InvokeJSNoResult('convertToSpecifiedUnits',[aUnitType]); end; class function TJSSVGLength.JSClassName: UnicodeString; begin Result:='SVGLength'; end; class function TJSSVGLength.Cast(const Intf: IJSObject): IJSSVGLength; begin Result:=TJSSVGLength.JOBCast(Intf); end; function TJSSVGLengthList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; function TJSSVGLengthList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSSVGLengthList.clear; begin InvokeJSNoResult('clear',[]); end; function TJSSVGLengthList.initialize(aNewItem: IJSSVGLength): IJSSVGLength; begin Result:=InvokeJSObjectResult('initialize',[aNewItem],TJSSVGLength) as IJSSVGLength; end; function TJSSVGLengthList.getItem(aIndex: Cardinal): IJSSVGLength; begin Result:=InvokeJSObjectResult('getItem',[aIndex],TJSSVGLength) as IJSSVGLength; end; function TJSSVGLengthList.insertItemBefore(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; begin Result:=InvokeJSObjectResult('insertItemBefore',[aNewItem,aIndex],TJSSVGLength) as IJSSVGLength; end; function TJSSVGLengthList.replaceItem(aNewItem: IJSSVGLength; aIndex: Cardinal): IJSSVGLength; begin Result:=InvokeJSObjectResult('replaceItem',[aNewItem,aIndex],TJSSVGLength) as IJSSVGLength; end; function TJSSVGLengthList.removeItem(aIndex: Cardinal): IJSSVGLength; begin Result:=InvokeJSObjectResult('removeItem',[aIndex],TJSSVGLength) as IJSSVGLength; end; function TJSSVGLengthList.appendItem(aNewItem: IJSSVGLength): IJSSVGLength; begin Result:=InvokeJSObjectResult('appendItem',[aNewItem],TJSSVGLength) as IJSSVGLength; end; procedure TJSSVGLengthList.SetDefault(aIndex: Cardinal; aNewItem: IJSSVGLength); begin InvokeJSNoResult('',[aIndex,aNewItem]); end; class function TJSSVGLengthList.JSClassName: UnicodeString; begin Result:='SVGLengthList'; end; class function TJSSVGLengthList.Cast(const Intf: IJSObject): IJSSVGLengthList; begin Result:=TJSSVGLengthList.JOBCast(Intf); end; function TJSSVGLinearGradientElement._Getx1: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x1',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLinearGradientElement._Gety1: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y1',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLinearGradientElement._Getx2: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x2',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLinearGradientElement._Gety2: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y2',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGLinearGradientElement.JSClassName: UnicodeString; begin Result:='SVGLinearGradientElement'; end; class function TJSSVGLinearGradientElement.Cast(const Intf: IJSObject): IJSSVGLinearGradientElement; begin Result:=TJSSVGLinearGradientElement.JOBCast(Intf); end; function TJSSVGLineElement._Getx1: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x1',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLineElement._Gety1: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y1',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLineElement._Getx2: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x2',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGLineElement._Gety2: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y2',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGLineElement.JSClassName: UnicodeString; begin Result:='SVGLineElement'; end; class function TJSSVGLineElement.Cast(const Intf: IJSObject): IJSSVGLineElement; begin Result:=TJSSVGLineElement.JOBCast(Intf); end; function TJSSVGMarkerElement._GetrefX: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('refX',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMarkerElement._GetrefY: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('refY',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMarkerElement._GetmarkerUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('markerUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGMarkerElement._GetmarkerWidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('markerWidth',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMarkerElement._GetmarkerHeight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('markerHeight',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMarkerElement._GetorientType: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('orientType',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGMarkerElement._GetorientAngle: IJSSVGAnimatedAngle; begin Result:=ReadJSPropertyObject('orientAngle',TJSSVGAnimatedAngle) as IJSSVGAnimatedAngle; end; function TJSSVGMarkerElement._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGMarkerElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; procedure TJSSVGMarkerElement.setOrientToAuto; begin InvokeJSNoResult('setOrientToAuto',[]); end; procedure TJSSVGMarkerElement.setOrientToAngle(aAngle: IJSSVGAngle); begin InvokeJSNoResult('setOrientToAngle',[aAngle]); end; class function TJSSVGMarkerElement.JSClassName: UnicodeString; begin Result:='SVGMarkerElement'; end; class function TJSSVGMarkerElement.Cast(const Intf: IJSObject): IJSSVGMarkerElement; begin Result:=TJSSVGMarkerElement.JOBCast(Intf); end; function TJSSVGMaskElement._GetmaskUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('maskUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGMaskElement._GetmaskContentUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('maskContentUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGMaskElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMaskElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMaskElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGMaskElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGMaskElement.JSClassName: UnicodeString; begin Result:='SVGMaskElement'; end; class function TJSSVGMaskElement.Cast(const Intf: IJSObject): IJSSVGMaskElement; begin Result:=TJSSVGMaskElement.JOBCast(Intf); end; function TJSSVGMatrix._Geta: Single; begin Result:=ReadJSPropertyDouble('a'); end; function TJSSVGMatrix._Getb: Single; begin Result:=ReadJSPropertyDouble('b'); end; function TJSSVGMatrix._Getc: Single; begin Result:=ReadJSPropertyDouble('c'); end; function TJSSVGMatrix._Getd: Single; begin Result:=ReadJSPropertyDouble('d'); end; function TJSSVGMatrix._Gete: Single; begin Result:=ReadJSPropertyDouble('e'); end; function TJSSVGMatrix._Getf: Single; begin Result:=ReadJSPropertyDouble('f'); end; procedure TJSSVGMatrix._Seta(const aValue : Single); begin WriteJSPropertyDouble('a',aValue); end; procedure TJSSVGMatrix._Setb(const aValue : Single); begin WriteJSPropertyDouble('b',aValue); end; procedure TJSSVGMatrix._Setc(const aValue : Single); begin WriteJSPropertyDouble('c',aValue); end; procedure TJSSVGMatrix._Setd(const aValue : Single); begin WriteJSPropertyDouble('d',aValue); end; procedure TJSSVGMatrix._Sete(const aValue : Single); begin WriteJSPropertyDouble('e',aValue); end; procedure TJSSVGMatrix._Setf(const aValue : Single); begin WriteJSPropertyDouble('f',aValue); end; function TJSSVGMatrix.multiply(aSecondMatrix: IJSSVGMatrix): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('multiply',[aSecondMatrix],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.inverse: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('inverse',[],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.translate(aX: Single; aY: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('translate',[aX,aY],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.scale(aScaleFactor: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('scale',[aScaleFactor],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.scaleNonUniform(aScaleFactorX: Single; aScaleFactorY: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('scaleNonUniform',[aScaleFactorX,aScaleFactorY],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.rotate(aAngle: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('rotate',[aAngle],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.rotateFromVector(aX: Single; aY: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('rotateFromVector',[aX,aY],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.flipX: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('flipX',[],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.flipY: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('flipY',[],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.skewX(aAngle: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('skewX',[aAngle],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGMatrix.skewY(aAngle: Single): IJSSVGMatrix; begin Result:=InvokeJSObjectResult('skewY',[aAngle],TJSSVGMatrix) as IJSSVGMatrix; end; class function TJSSVGMatrix.JSClassName: UnicodeString; begin Result:='SVGMatrix'; end; class function TJSSVGMatrix.Cast(const Intf: IJSObject): IJSSVGMatrix; begin Result:=TJSSVGMatrix.JOBCast(Intf); end; class function TJSSVGMetadataElement.JSClassName: UnicodeString; begin Result:='SVGMetadataElement'; end; class function TJSSVGMetadataElement.Cast(const Intf: IJSObject): IJSSVGMetadataElement; begin Result:=TJSSVGMetadataElement.JOBCast(Intf); end; function TJSSVGMPathElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGMPathElement.JSClassName: UnicodeString; begin Result:='SVGMPathElement'; end; class function TJSSVGMPathElement.Cast(const Intf: IJSObject): IJSSVGMPathElement; begin Result:=TJSSVGMPathElement.JOBCast(Intf); end; function TJSSVGNumber._Getvalue: Single; begin Result:=ReadJSPropertyDouble('value'); end; procedure TJSSVGNumber._Setvalue(const aValue : Single); begin WriteJSPropertyDouble('value',aValue); end; class function TJSSVGNumber.JSClassName: UnicodeString; begin Result:='SVGNumber'; end; class function TJSSVGNumber.Cast(const Intf: IJSObject): IJSSVGNumber; begin Result:=TJSSVGNumber.JOBCast(Intf); end; function TJSSVGNumberList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; function TJSSVGNumberList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSSVGNumberList.clear; begin InvokeJSNoResult('clear',[]); end; function TJSSVGNumberList.initialize(aNewItem: IJSSVGNumber): IJSSVGNumber; begin Result:=InvokeJSObjectResult('initialize',[aNewItem],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGNumberList.getItem(aIndex: Cardinal): IJSSVGNumber; begin Result:=InvokeJSObjectResult('getItem',[aIndex],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGNumberList.insertItemBefore(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; begin Result:=InvokeJSObjectResult('insertItemBefore',[aNewItem,aIndex],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGNumberList.replaceItem(aNewItem: IJSSVGNumber; aIndex: Cardinal): IJSSVGNumber; begin Result:=InvokeJSObjectResult('replaceItem',[aNewItem,aIndex],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGNumberList.removeItem(aIndex: Cardinal): IJSSVGNumber; begin Result:=InvokeJSObjectResult('removeItem',[aIndex],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGNumberList.appendItem(aNewItem: IJSSVGNumber): IJSSVGNumber; begin Result:=InvokeJSObjectResult('appendItem',[aNewItem],TJSSVGNumber) as IJSSVGNumber; end; class function TJSSVGNumberList.JSClassName: UnicodeString; begin Result:='SVGNumberList'; end; class function TJSSVGNumberList.Cast(const Intf: IJSObject): IJSSVGNumberList; begin Result:=TJSSVGNumberList.JOBCast(Intf); end; function TJSSVGPathElement._GetpathSegList: IJSSVGPathSegList; begin Result:=ReadJSPropertyObject('pathSegList',TJSSVGPathSegList) as IJSSVGPathSegList; end; function TJSSVGPathElement._GetanimatedPathSegList: IJSSVGPathSegList; begin Result:=ReadJSPropertyObject('animatedPathSegList',TJSSVGPathSegList) as IJSSVGPathSegList; end; function TJSSVGPathElement.getPathSegAtLength(aDistance: Single): Cardinal; begin Result:=InvokeJSLongIntResult('getPathSegAtLength',[aDistance]); end; class function TJSSVGPathElement.JSClassName: UnicodeString; begin Result:='SVGPathElement'; end; class function TJSSVGPathElement.Cast(const Intf: IJSObject): IJSSVGPathElement; begin Result:=TJSSVGPathElement.JOBCast(Intf); end; function TJSSVGPathSeg._GetpathSegType: Word; begin Result:=ReadJSPropertyLongInt('pathSegType'); end; function TJSSVGPathSeg._GetpathSegTypeAsLetter: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pathSegTypeAsLetter'); end; class function TJSSVGPathSeg.JSClassName: UnicodeString; begin Result:='SVGPathSeg'; end; class function TJSSVGPathSeg.Cast(const Intf: IJSObject): IJSSVGPathSeg; begin Result:=TJSSVGPathSeg.JOBCast(Intf); end; class function TJSSVGPathSegClosePath.JSClassName: UnicodeString; begin Result:='SVGPathSegClosePath'; end; class function TJSSVGPathSegClosePath.Cast(const Intf: IJSObject): IJSSVGPathSegClosePath; begin Result:=TJSSVGPathSegClosePath.JOBCast(Intf); end; function TJSSVGPathSegMovetoAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegMovetoAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegMovetoAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegMovetoAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegMovetoAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegMovetoAbs'; end; class function TJSSVGPathSegMovetoAbs.Cast(const Intf: IJSObject): IJSSVGPathSegMovetoAbs; begin Result:=TJSSVGPathSegMovetoAbs.JOBCast(Intf); end; function TJSSVGPathSegMovetoRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegMovetoRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegMovetoRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegMovetoRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegMovetoRel.JSClassName: UnicodeString; begin Result:='SVGPathSegMovetoRel'; end; class function TJSSVGPathSegMovetoRel.Cast(const Intf: IJSObject): IJSSVGPathSegMovetoRel; begin Result:=TJSSVGPathSegMovetoRel.JOBCast(Intf); end; function TJSSVGPathSegLinetoAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegLinetoAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegLinetoAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegLinetoAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegLinetoAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoAbs'; end; class function TJSSVGPathSegLinetoAbs.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoAbs; begin Result:=TJSSVGPathSegLinetoAbs.JOBCast(Intf); end; function TJSSVGPathSegLinetoRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegLinetoRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegLinetoRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegLinetoRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegLinetoRel.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoRel'; end; class function TJSSVGPathSegLinetoRel.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoRel; begin Result:=TJSSVGPathSegLinetoRel.JOBCast(Intf); end; function TJSSVGPathSegCurvetoCubicAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoCubicAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoCubicAbs._Getx1: Single; begin Result:=ReadJSPropertyDouble('x1'); end; function TJSSVGPathSegCurvetoCubicAbs._Gety1: Single; begin Result:=ReadJSPropertyDouble('y1'); end; function TJSSVGPathSegCurvetoCubicAbs._Getx2: Single; begin Result:=ReadJSPropertyDouble('x2'); end; function TJSSVGPathSegCurvetoCubicAbs._Gety2: Single; begin Result:=ReadJSPropertyDouble('y2'); end; procedure TJSSVGPathSegCurvetoCubicAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoCubicAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoCubicAbs._Setx1(const aValue : Single); begin WriteJSPropertyDouble('x1',aValue); end; procedure TJSSVGPathSegCurvetoCubicAbs._Sety1(const aValue : Single); begin WriteJSPropertyDouble('y1',aValue); end; procedure TJSSVGPathSegCurvetoCubicAbs._Setx2(const aValue : Single); begin WriteJSPropertyDouble('x2',aValue); end; procedure TJSSVGPathSegCurvetoCubicAbs._Sety2(const aValue : Single); begin WriteJSPropertyDouble('y2',aValue); end; class function TJSSVGPathSegCurvetoCubicAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoCubicAbs'; end; class function TJSSVGPathSegCurvetoCubicAbs.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicAbs; begin Result:=TJSSVGPathSegCurvetoCubicAbs.JOBCast(Intf); end; function TJSSVGPathSegCurvetoCubicRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoCubicRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoCubicRel._Getx1: Single; begin Result:=ReadJSPropertyDouble('x1'); end; function TJSSVGPathSegCurvetoCubicRel._Gety1: Single; begin Result:=ReadJSPropertyDouble('y1'); end; function TJSSVGPathSegCurvetoCubicRel._Getx2: Single; begin Result:=ReadJSPropertyDouble('x2'); end; function TJSSVGPathSegCurvetoCubicRel._Gety2: Single; begin Result:=ReadJSPropertyDouble('y2'); end; procedure TJSSVGPathSegCurvetoCubicRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoCubicRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoCubicRel._Setx1(const aValue : Single); begin WriteJSPropertyDouble('x1',aValue); end; procedure TJSSVGPathSegCurvetoCubicRel._Sety1(const aValue : Single); begin WriteJSPropertyDouble('y1',aValue); end; procedure TJSSVGPathSegCurvetoCubicRel._Setx2(const aValue : Single); begin WriteJSPropertyDouble('x2',aValue); end; procedure TJSSVGPathSegCurvetoCubicRel._Sety2(const aValue : Single); begin WriteJSPropertyDouble('y2',aValue); end; class function TJSSVGPathSegCurvetoCubicRel.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoCubicRel'; end; class function TJSSVGPathSegCurvetoCubicRel.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicRel; begin Result:=TJSSVGPathSegCurvetoCubicRel.JOBCast(Intf); end; function TJSSVGPathSegCurvetoQuadraticAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoQuadraticAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoQuadraticAbs._Getx1: Single; begin Result:=ReadJSPropertyDouble('x1'); end; function TJSSVGPathSegCurvetoQuadraticAbs._Gety1: Single; begin Result:=ReadJSPropertyDouble('y1'); end; procedure TJSSVGPathSegCurvetoQuadraticAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticAbs._Setx1(const aValue : Single); begin WriteJSPropertyDouble('x1',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticAbs._Sety1(const aValue : Single); begin WriteJSPropertyDouble('y1',aValue); end; class function TJSSVGPathSegCurvetoQuadraticAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoQuadraticAbs'; end; class function TJSSVGPathSegCurvetoQuadraticAbs.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticAbs; begin Result:=TJSSVGPathSegCurvetoQuadraticAbs.JOBCast(Intf); end; function TJSSVGPathSegCurvetoQuadraticRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoQuadraticRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoQuadraticRel._Getx1: Single; begin Result:=ReadJSPropertyDouble('x1'); end; function TJSSVGPathSegCurvetoQuadraticRel._Gety1: Single; begin Result:=ReadJSPropertyDouble('y1'); end; procedure TJSSVGPathSegCurvetoQuadraticRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticRel._Setx1(const aValue : Single); begin WriteJSPropertyDouble('x1',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticRel._Sety1(const aValue : Single); begin WriteJSPropertyDouble('y1',aValue); end; class function TJSSVGPathSegCurvetoQuadraticRel.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoQuadraticRel'; end; class function TJSSVGPathSegCurvetoQuadraticRel.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticRel; begin Result:=TJSSVGPathSegCurvetoQuadraticRel.JOBCast(Intf); end; function TJSSVGPathSegArcAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegArcAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegArcAbs._Getr1: Single; begin Result:=ReadJSPropertyDouble('r1'); end; function TJSSVGPathSegArcAbs._Getr2: Single; begin Result:=ReadJSPropertyDouble('r2'); end; function TJSSVGPathSegArcAbs._Getangle: Single; begin Result:=ReadJSPropertyDouble('angle'); end; function TJSSVGPathSegArcAbs._GetlargeArcFlag: Boolean; begin Result:=ReadJSPropertyBoolean('largeArcFlag'); end; function TJSSVGPathSegArcAbs._GetsweepFlag: Boolean; begin Result:=ReadJSPropertyBoolean('sweepFlag'); end; procedure TJSSVGPathSegArcAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegArcAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegArcAbs._Setr1(const aValue : Single); begin WriteJSPropertyDouble('r1',aValue); end; procedure TJSSVGPathSegArcAbs._Setr2(const aValue : Single); begin WriteJSPropertyDouble('r2',aValue); end; procedure TJSSVGPathSegArcAbs._Setangle(const aValue : Single); begin WriteJSPropertyDouble('angle',aValue); end; procedure TJSSVGPathSegArcAbs._SetlargeArcFlag(const aValue : Boolean); begin WriteJSPropertyBoolean('largeArcFlag',aValue); end; procedure TJSSVGPathSegArcAbs._SetsweepFlag(const aValue : Boolean); begin WriteJSPropertyBoolean('sweepFlag',aValue); end; class function TJSSVGPathSegArcAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegArcAbs'; end; class function TJSSVGPathSegArcAbs.Cast(const Intf: IJSObject): IJSSVGPathSegArcAbs; begin Result:=TJSSVGPathSegArcAbs.JOBCast(Intf); end; function TJSSVGPathSegArcRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegArcRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegArcRel._Getr1: Single; begin Result:=ReadJSPropertyDouble('r1'); end; function TJSSVGPathSegArcRel._Getr2: Single; begin Result:=ReadJSPropertyDouble('r2'); end; function TJSSVGPathSegArcRel._Getangle: Single; begin Result:=ReadJSPropertyDouble('angle'); end; function TJSSVGPathSegArcRel._GetlargeArcFlag: Boolean; begin Result:=ReadJSPropertyBoolean('largeArcFlag'); end; function TJSSVGPathSegArcRel._GetsweepFlag: Boolean; begin Result:=ReadJSPropertyBoolean('sweepFlag'); end; procedure TJSSVGPathSegArcRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegArcRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegArcRel._Setr1(const aValue : Single); begin WriteJSPropertyDouble('r1',aValue); end; procedure TJSSVGPathSegArcRel._Setr2(const aValue : Single); begin WriteJSPropertyDouble('r2',aValue); end; procedure TJSSVGPathSegArcRel._Setangle(const aValue : Single); begin WriteJSPropertyDouble('angle',aValue); end; procedure TJSSVGPathSegArcRel._SetlargeArcFlag(const aValue : Boolean); begin WriteJSPropertyBoolean('largeArcFlag',aValue); end; procedure TJSSVGPathSegArcRel._SetsweepFlag(const aValue : Boolean); begin WriteJSPropertyBoolean('sweepFlag',aValue); end; class function TJSSVGPathSegArcRel.JSClassName: UnicodeString; begin Result:='SVGPathSegArcRel'; end; class function TJSSVGPathSegArcRel.Cast(const Intf: IJSObject): IJSSVGPathSegArcRel; begin Result:=TJSSVGPathSegArcRel.JOBCast(Intf); end; function TJSSVGPathSegLinetoHorizontalAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; procedure TJSSVGPathSegLinetoHorizontalAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; class function TJSSVGPathSegLinetoHorizontalAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoHorizontalAbs'; end; class function TJSSVGPathSegLinetoHorizontalAbs.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoHorizontalAbs; begin Result:=TJSSVGPathSegLinetoHorizontalAbs.JOBCast(Intf); end; function TJSSVGPathSegLinetoHorizontalRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; procedure TJSSVGPathSegLinetoHorizontalRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; class function TJSSVGPathSegLinetoHorizontalRel.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoHorizontalRel'; end; class function TJSSVGPathSegLinetoHorizontalRel.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoHorizontalRel; begin Result:=TJSSVGPathSegLinetoHorizontalRel.JOBCast(Intf); end; function TJSSVGPathSegLinetoVerticalAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegLinetoVerticalAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegLinetoVerticalAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoVerticalAbs'; end; class function TJSSVGPathSegLinetoVerticalAbs.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoVerticalAbs; begin Result:=TJSSVGPathSegLinetoVerticalAbs.JOBCast(Intf); end; function TJSSVGPathSegLinetoVerticalRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegLinetoVerticalRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegLinetoVerticalRel.JSClassName: UnicodeString; begin Result:='SVGPathSegLinetoVerticalRel'; end; class function TJSSVGPathSegLinetoVerticalRel.Cast(const Intf: IJSObject): IJSSVGPathSegLinetoVerticalRel; begin Result:=TJSSVGPathSegLinetoVerticalRel.JOBCast(Intf); end; function TJSSVGPathSegCurvetoCubicSmoothAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoCubicSmoothAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoCubicSmoothAbs._Getx2: Single; begin Result:=ReadJSPropertyDouble('x2'); end; function TJSSVGPathSegCurvetoCubicSmoothAbs._Gety2: Single; begin Result:=ReadJSPropertyDouble('y2'); end; procedure TJSSVGPathSegCurvetoCubicSmoothAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothAbs._Setx2(const aValue : Single); begin WriteJSPropertyDouble('x2',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothAbs._Sety2(const aValue : Single); begin WriteJSPropertyDouble('y2',aValue); end; class function TJSSVGPathSegCurvetoCubicSmoothAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoCubicSmoothAbs'; end; class function TJSSVGPathSegCurvetoCubicSmoothAbs.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicSmoothAbs; begin Result:=TJSSVGPathSegCurvetoCubicSmoothAbs.JOBCast(Intf); end; function TJSSVGPathSegCurvetoCubicSmoothRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoCubicSmoothRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGPathSegCurvetoCubicSmoothRel._Getx2: Single; begin Result:=ReadJSPropertyDouble('x2'); end; function TJSSVGPathSegCurvetoCubicSmoothRel._Gety2: Single; begin Result:=ReadJSPropertyDouble('y2'); end; procedure TJSSVGPathSegCurvetoCubicSmoothRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothRel._Setx2(const aValue : Single); begin WriteJSPropertyDouble('x2',aValue); end; procedure TJSSVGPathSegCurvetoCubicSmoothRel._Sety2(const aValue : Single); begin WriteJSPropertyDouble('y2',aValue); end; class function TJSSVGPathSegCurvetoCubicSmoothRel.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoCubicSmoothRel'; end; class function TJSSVGPathSegCurvetoCubicSmoothRel.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoCubicSmoothRel; begin Result:=TJSSVGPathSegCurvetoCubicSmoothRel.JOBCast(Intf); end; function TJSSVGPathSegCurvetoQuadraticSmoothAbs._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoQuadraticSmoothAbs._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegCurvetoQuadraticSmoothAbs._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticSmoothAbs._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegCurvetoQuadraticSmoothAbs.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoQuadraticSmoothAbs'; end; class function TJSSVGPathSegCurvetoQuadraticSmoothAbs.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticSmoothAbs; begin Result:=TJSSVGPathSegCurvetoQuadraticSmoothAbs.JOBCast(Intf); end; function TJSSVGPathSegCurvetoQuadraticSmoothRel._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPathSegCurvetoQuadraticSmoothRel._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPathSegCurvetoQuadraticSmoothRel._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPathSegCurvetoQuadraticSmoothRel._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; class function TJSSVGPathSegCurvetoQuadraticSmoothRel.JSClassName: UnicodeString; begin Result:='SVGPathSegCurvetoQuadraticSmoothRel'; end; class function TJSSVGPathSegCurvetoQuadraticSmoothRel.Cast(const Intf: IJSObject): IJSSVGPathSegCurvetoQuadraticSmoothRel; begin Result:=TJSSVGPathSegCurvetoQuadraticSmoothRel.JOBCast(Intf); end; function TJSSVGPathSegList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; function TJSSVGPathSegList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSSVGPathSegList.getItem(aIndex: Cardinal): IJSSVGPathSeg; begin Result:=InvokeJSObjectResult('getItem',[aIndex],TJSSVGPathSeg) as IJSSVGPathSeg; end; class function TJSSVGPathSegList.JSClassName: UnicodeString; begin Result:='SVGPathSegList'; end; class function TJSSVGPathSegList.Cast(const Intf: IJSObject): IJSSVGPathSegList; begin Result:=TJSSVGPathSegList.JOBCast(Intf); end; function TJSSVGPatternElement._GetpatternUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('patternUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGPatternElement._GetpatternContentUnits: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('patternContentUnits',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGPatternElement._GetpatternTransform: IJSSVGAnimatedTransformList; begin Result:=ReadJSPropertyObject('patternTransform',TJSSVGAnimatedTransformList) as IJSSVGAnimatedTransformList; end; function TJSSVGPatternElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGPatternElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGPatternElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGPatternElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGPatternElement._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGPatternElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGPatternElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGPatternElement.JSClassName: UnicodeString; begin Result:='SVGPatternElement'; end; class function TJSSVGPatternElement.Cast(const Intf: IJSObject): IJSSVGPatternElement; begin Result:=TJSSVGPatternElement.JOBCast(Intf); end; function TJSSVGPoint._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGPoint._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; procedure TJSSVGPoint._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGPoint._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; function TJSSVGPoint.matrixTransform(const aMatrix: IJSDOMMatrix2DInit): IJSSVGPoint; begin Result:=InvokeJSObjectResult('matrixTransform',[aMatrix],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPoint.matrixTransform: IJSSVGPoint; begin Result:=InvokeJSObjectResult('matrixTransform',[],TJSSVGPoint) as IJSSVGPoint; end; class function TJSSVGPoint.JSClassName: UnicodeString; begin Result:='SVGPoint'; end; class function TJSSVGPoint.Cast(const Intf: IJSObject): IJSSVGPoint; begin Result:=TJSSVGPoint.JOBCast(Intf); end; function TJSSVGPointList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; function TJSSVGPointList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSSVGPointList.clear; begin InvokeJSNoResult('clear',[]); end; function TJSSVGPointList.initialize(aNewItem: IJSSVGPoint): IJSSVGPoint; begin Result:=InvokeJSObjectResult('initialize',[aNewItem],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPointList.getItem(aIndex: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('getItem',[aIndex],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPointList.insertItemBefore(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('insertItemBefore',[aNewItem,aIndex],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPointList.replaceItem(aNewItem: IJSSVGPoint; aIndex: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('replaceItem',[aNewItem,aIndex],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPointList.removeItem(aIndex: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('removeItem',[aIndex],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGPointList.appendItem(aNewItem: IJSSVGPoint): IJSSVGPoint; begin Result:=InvokeJSObjectResult('appendItem',[aNewItem],TJSSVGPoint) as IJSSVGPoint; end; class function TJSSVGPointList.JSClassName: UnicodeString; begin Result:='SVGPointList'; end; class function TJSSVGPointList.Cast(const Intf: IJSObject): IJSSVGPointList; begin Result:=TJSSVGPointList.JOBCast(Intf); end; function TJSSVGPolygonElement._Getpoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('points',TJSSVGPointList) as IJSSVGPointList; end; function TJSSVGPolygonElement._GetanimatedPoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('animatedPoints',TJSSVGPointList) as IJSSVGPointList; end; class function TJSSVGPolygonElement.JSClassName: UnicodeString; begin Result:='SVGPolygonElement'; end; class function TJSSVGPolygonElement.Cast(const Intf: IJSObject): IJSSVGPolygonElement; begin Result:=TJSSVGPolygonElement.JOBCast(Intf); end; function TJSSVGPolylineElement._Getpoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('points',TJSSVGPointList) as IJSSVGPointList; end; function TJSSVGPolylineElement._GetanimatedPoints: IJSSVGPointList; begin Result:=ReadJSPropertyObject('animatedPoints',TJSSVGPointList) as IJSSVGPointList; end; class function TJSSVGPolylineElement.JSClassName: UnicodeString; begin Result:='SVGPolylineElement'; end; class function TJSSVGPolylineElement.Cast(const Intf: IJSObject): IJSSVGPolylineElement; begin Result:=TJSSVGPolylineElement.JOBCast(Intf); end; function TJSSVGPreserveAspectRatio._Getalign: Word; begin Result:=ReadJSPropertyLongInt('align'); end; function TJSSVGPreserveAspectRatio._GetmeetOrSlice: Word; begin Result:=ReadJSPropertyLongInt('meetOrSlice'); end; procedure TJSSVGPreserveAspectRatio._Setalign(const aValue : Word); begin WriteJSPropertyLongInt('align',aValue); end; procedure TJSSVGPreserveAspectRatio._SetmeetOrSlice(const aValue : Word); begin WriteJSPropertyLongInt('meetOrSlice',aValue); end; class function TJSSVGPreserveAspectRatio.JSClassName: UnicodeString; begin Result:='SVGPreserveAspectRatio'; end; class function TJSSVGPreserveAspectRatio.Cast(const Intf: IJSObject): IJSSVGPreserveAspectRatio; begin Result:=TJSSVGPreserveAspectRatio.JOBCast(Intf); end; function TJSSVGRadialGradientElement._Getcx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRadialGradientElement._Getcy: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('cy',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRadialGradientElement._Getr: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('r',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRadialGradientElement._Getfx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('fx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRadialGradientElement._Getfy: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('fy',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRadialGradientElement._Getfr: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('fr',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGRadialGradientElement.JSClassName: UnicodeString; begin Result:='SVGRadialGradientElement'; end; class function TJSSVGRadialGradientElement.Cast(const Intf: IJSObject): IJSSVGRadialGradientElement; begin Result:=TJSSVGRadialGradientElement.JOBCast(Intf); end; function TJSSVGRect._Getx: Single; begin Result:=ReadJSPropertyDouble('x'); end; function TJSSVGRect._Gety: Single; begin Result:=ReadJSPropertyDouble('y'); end; function TJSSVGRect._Getwidth: Single; begin Result:=ReadJSPropertyDouble('width'); end; function TJSSVGRect._Getheight: Single; begin Result:=ReadJSPropertyDouble('height'); end; procedure TJSSVGRect._Setx(const aValue : Single); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSSVGRect._Sety(const aValue : Single); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSSVGRect._Setwidth(const aValue : Single); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSSVGRect._Setheight(const aValue : Single); begin WriteJSPropertyDouble('height',aValue); end; class function TJSSVGRect.JSClassName: UnicodeString; begin Result:='SVGRect'; end; class function TJSSVGRect.Cast(const Intf: IJSObject): IJSSVGRect; begin Result:=TJSSVGRect.JOBCast(Intf); end; function TJSSVGRectElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRectElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRectElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRectElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRectElement._Getrx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('rx',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGRectElement._Getry: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('ry',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; class function TJSSVGRectElement.JSClassName: UnicodeString; begin Result:='SVGRectElement'; end; class function TJSSVGRectElement.Cast(const Intf: IJSObject): IJSSVGRectElement; begin Result:=TJSSVGRectElement.JOBCast(Intf); end; function TJSSVGScriptElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSSVGScriptElement._Getasync: Boolean; begin Result:=ReadJSPropertyBoolean('async'); end; function TJSSVGScriptElement._Getdefer: Boolean; begin Result:=ReadJSPropertyBoolean('defer'); end; function TJSSVGScriptElement._GetcrossOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('crossOrigin'); end; function TJSSVGScriptElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; procedure TJSSVGScriptElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSSVGScriptElement._Setasync(const aValue : Boolean); begin WriteJSPropertyBoolean('async',aValue); end; procedure TJSSVGScriptElement._Setdefer(const aValue : Boolean); begin WriteJSPropertyBoolean('defer',aValue); end; procedure TJSSVGScriptElement._SetcrossOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('crossOrigin',aValue); end; class function TJSSVGScriptElement.JSClassName: UnicodeString; begin Result:='SVGScriptElement'; end; class function TJSSVGScriptElement.Cast(const Intf: IJSObject): IJSSVGScriptElement; begin Result:=TJSSVGScriptElement.JOBCast(Intf); end; class function TJSSVGSetElement.JSClassName: UnicodeString; begin Result:='SVGSetElement'; end; class function TJSSVGSetElement.Cast(const Intf: IJSObject): IJSSVGSetElement; begin Result:=TJSSVGSetElement.JOBCast(Intf); end; function TJSSVGStopElement._Getoffset: IJSSVGAnimatedNumber; begin Result:=ReadJSPropertyObject('offset',TJSSVGAnimatedNumber) as IJSSVGAnimatedNumber; end; class function TJSSVGStopElement.JSClassName: UnicodeString; begin Result:='SVGStopElement'; end; class function TJSSVGStopElement.Cast(const Intf: IJSObject): IJSSVGStopElement; begin Result:=TJSSVGStopElement.JOBCast(Intf); end; function TJSSVGStringList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSSVGStringList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; procedure TJSSVGStringList.clear; begin InvokeJSNoResult('clear',[]); end; function TJSSVGStringList.initialize(const aNewItem: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('initialize',[aNewItem]); end; function TJSSVGStringList.getItem(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getItem',[aIndex]); end; function TJSSVGStringList.GetDefault(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('',[aIndex]); end; function TJSSVGStringList.insertItemBefore(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('insertItemBefore',[aNewItem,aIndex]); end; function TJSSVGStringList.replaceItem(const aNewItem: UnicodeString; aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('replaceItem',[aNewItem,aIndex]); end; function TJSSVGStringList.removeItem(aIndex: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('removeItem',[aIndex]); end; function TJSSVGStringList.appendItem(const aNewItem: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('appendItem',[aNewItem]); end; class function TJSSVGStringList.JSClassName: UnicodeString; begin Result:='SVGStringList'; end; class function TJSSVGStringList.Cast(const Intf: IJSObject): IJSSVGStringList; begin Result:=TJSSVGStringList.JOBCast(Intf); end; function TJSSVGStyleElement._Getdisabled: Boolean; begin Result:=ReadJSPropertyBoolean('disabled'); end; function TJSSVGStyleElement._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSSVGStyleElement._Getmedia: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('media'); end; function TJSSVGStyleElement._Gettitle: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('title'); end; function TJSSVGStyleElement._Getsheet: IJSStyleSheet; begin Result:=ReadJSPropertyObject('sheet',TJSStyleSheet) as IJSStyleSheet; end; procedure TJSSVGStyleElement._Setdisabled(const aValue : Boolean); begin WriteJSPropertyBoolean('disabled',aValue); end; procedure TJSSVGStyleElement._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSSVGStyleElement._Setmedia(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('media',aValue); end; procedure TJSSVGStyleElement._Settitle(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('title',aValue); end; class function TJSSVGStyleElement.JSClassName: UnicodeString; begin Result:='SVGStyleElement'; end; class function TJSSVGStyleElement.Cast(const Intf: IJSObject): IJSSVGStyleElement; begin Result:=TJSSVGStyleElement.JOBCast(Intf); end; function TJSSVGSVGElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGSVGElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGSVGElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGSVGElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGSVGElement._GetcurrentScale: Single; begin Result:=ReadJSPropertyDouble('currentScale'); end; function TJSSVGSVGElement._GetcurrentTranslate: IJSSVGPoint; begin Result:=ReadJSPropertyObject('currentTranslate',TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGSVGElement._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGSVGElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGSVGElement._GetzoomAndPan: Word; begin Result:=ReadJSPropertyLongInt('zoomAndPan'); end; procedure TJSSVGSVGElement._SetcurrentScale(const aValue : Single); begin WriteJSPropertyDouble('currentScale',aValue); end; procedure TJSSVGSVGElement._SetzoomAndPan(const aValue : Word); begin WriteJSPropertyLongInt('zoomAndPan',aValue); end; function TJSSVGSVGElement.suspendRedraw(aMaxWaitMilliseconds: Cardinal): Cardinal; begin Result:=InvokeJSLongIntResult('suspendRedraw',[aMaxWaitMilliseconds]); end; procedure TJSSVGSVGElement.unsuspendRedraw(aSuspendHandleID: Cardinal); begin InvokeJSNoResult('unsuspendRedraw',[aSuspendHandleID]); end; procedure TJSSVGSVGElement.unsuspendRedrawAll; begin InvokeJSNoResult('unsuspendRedrawAll',[]); end; procedure TJSSVGSVGElement.forceRedraw; begin InvokeJSNoResult('forceRedraw',[]); end; procedure TJSSVGSVGElement.pauseAnimations; begin InvokeJSNoResult('pauseAnimations',[]); end; procedure TJSSVGSVGElement.unpauseAnimations; begin InvokeJSNoResult('unpauseAnimations',[]); end; function TJSSVGSVGElement.animationsPaused: Boolean; begin Result:=InvokeJSBooleanResult('animationsPaused',[]); end; function TJSSVGSVGElement.getCurrentTime: Single; begin Result:=InvokeJSDoubleResult('getCurrentTime',[]); end; procedure TJSSVGSVGElement.setCurrentTime(aSeconds: Single); begin InvokeJSNoResult('setCurrentTime',[aSeconds]); end; procedure TJSSVGSVGElement.deselectAll; begin InvokeJSNoResult('deselectAll',[]); end; function TJSSVGSVGElement.createSVGNumber: IJSSVGNumber; begin Result:=InvokeJSObjectResult('createSVGNumber',[],TJSSVGNumber) as IJSSVGNumber; end; function TJSSVGSVGElement.createSVGLength: IJSSVGLength; begin Result:=InvokeJSObjectResult('createSVGLength',[],TJSSVGLength) as IJSSVGLength; end; function TJSSVGSVGElement.createSVGAngle: IJSSVGAngle; begin Result:=InvokeJSObjectResult('createSVGAngle',[],TJSSVGAngle) as IJSSVGAngle; end; function TJSSVGSVGElement.createSVGPoint: IJSSVGPoint; begin Result:=InvokeJSObjectResult('createSVGPoint',[],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGSVGElement.createSVGMatrix: IJSSVGMatrix; begin Result:=InvokeJSObjectResult('createSVGMatrix',[],TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGSVGElement.createSVGRect: IJSSVGRect; begin Result:=InvokeJSObjectResult('createSVGRect',[],TJSSVGRect) as IJSSVGRect; end; function TJSSVGSVGElement.createSVGTransform: IJSSVGTransform; begin Result:=InvokeJSObjectResult('createSVGTransform',[],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGSVGElement.createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; begin Result:=InvokeJSObjectResult('createSVGTransformFromMatrix',[aMatrix],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGSVGElement.createSVGTransformFromMatrix: IJSSVGTransform; begin Result:=InvokeJSObjectResult('createSVGTransformFromMatrix',[],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGSVGElement.getElementById(const aElementId: UnicodeString): IJSElement; begin Result:=InvokeJSObjectResult('getElementById',[aElementId],TJSElement) as IJSElement; end; class function TJSSVGSVGElement.JSClassName: UnicodeString; begin Result:='SVGSVGElement'; end; class function TJSSVGSVGElement.Cast(const Intf: IJSObject): IJSSVGSVGElement; begin Result:=TJSSVGSVGElement.JOBCast(Intf); end; class function TJSSVGSwitchElement.JSClassName: UnicodeString; begin Result:='SVGSwitchElement'; end; class function TJSSVGSwitchElement.Cast(const Intf: IJSObject): IJSSVGSwitchElement; begin Result:=TJSSVGSwitchElement.JOBCast(Intf); end; function TJSSVGSymbolElement._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGSymbolElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGSymbolElement._GetrequiredExtensions: IJSSVGStringList; begin Result:=ReadJSPropertyObject('requiredExtensions',TJSSVGStringList) as IJSSVGStringList; end; function TJSSVGSymbolElement._GetsystemLanguage: IJSSVGStringList; begin Result:=ReadJSPropertyObject('systemLanguage',TJSSVGStringList) as IJSSVGStringList; end; class function TJSSVGSymbolElement.JSClassName: UnicodeString; begin Result:='SVGSymbolElement'; end; class function TJSSVGSymbolElement.Cast(const Intf: IJSObject): IJSSVGSymbolElement; begin Result:=TJSSVGSymbolElement.JOBCast(Intf); end; function TJSSVGTests._GetrequiredExtensions: IJSSVGStringList; begin Result:=ReadJSPropertyObject('requiredExtensions',TJSSVGStringList) as IJSSVGStringList; end; function TJSSVGTests._GetsystemLanguage: IJSSVGStringList; begin Result:=ReadJSPropertyObject('systemLanguage',TJSSVGStringList) as IJSSVGStringList; end; class function TJSSVGTests.JSClassName: UnicodeString; begin Result:='SVGTests'; end; class function TJSSVGTests.Cast(const Intf: IJSObject): IJSSVGTests; begin Result:=TJSSVGTests.JOBCast(Intf); end; function TJSSVGTextContentElement._GettextLength: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('textLength',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGTextContentElement._GetlengthAdjust: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('lengthAdjust',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGTextContentElement.getNumberOfChars: LongInt; begin Result:=InvokeJSLongIntResult('getNumberOfChars',[]); end; function TJSSVGTextContentElement.getComputedTextLength: Single; begin Result:=InvokeJSDoubleResult('getComputedTextLength',[]); end; function TJSSVGTextContentElement.getSubStringLength(aCharnum: Cardinal; aNchars: Cardinal): Single; begin Result:=InvokeJSDoubleResult('getSubStringLength',[aCharnum,aNchars]); end; function TJSSVGTextContentElement.getStartPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('getStartPositionOfChar',[aCharnum],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGTextContentElement.getEndPositionOfChar(aCharnum: Cardinal): IJSSVGPoint; begin Result:=InvokeJSObjectResult('getEndPositionOfChar',[aCharnum],TJSSVGPoint) as IJSSVGPoint; end; function TJSSVGTextContentElement.getExtentOfChar(aCharnum: Cardinal): IJSSVGRect; begin Result:=InvokeJSObjectResult('getExtentOfChar',[aCharnum],TJSSVGRect) as IJSSVGRect; end; function TJSSVGTextContentElement.getRotationOfChar(aCharnum: Cardinal): Single; begin Result:=InvokeJSDoubleResult('getRotationOfChar',[aCharnum]); end; function TJSSVGTextContentElement.getCharNumAtPosition(const aPoint: IJSDOMPointInit): LongInt; begin Result:=InvokeJSLongIntResult('getCharNumAtPosition',[aPoint]); end; function TJSSVGTextContentElement.getCharNumAtPosition: LongInt; begin Result:=InvokeJSLongIntResult('getCharNumAtPosition',[]); end; procedure TJSSVGTextContentElement.selectSubString(aCharnum: Cardinal; aNchars: Cardinal); begin InvokeJSNoResult('selectSubString',[aCharnum,aNchars]); end; class function TJSSVGTextContentElement.JSClassName: UnicodeString; begin Result:='SVGTextContentElement'; end; class function TJSSVGTextContentElement.Cast(const Intf: IJSObject): IJSSVGTextContentElement; begin Result:=TJSSVGTextContentElement.JOBCast(Intf); end; class function TJSSVGTextElement.JSClassName: UnicodeString; begin Result:='SVGTextElement'; end; class function TJSSVGTextElement.Cast(const Intf: IJSObject): IJSSVGTextElement; begin Result:=TJSSVGTextElement.JOBCast(Intf); end; function TJSSVGTextPathElement._GetstartOffset: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('startOffset',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGTextPathElement._Getmethod: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('method',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGTextPathElement._Getspacing: IJSSVGAnimatedEnumeration; begin Result:=ReadJSPropertyObject('spacing',TJSSVGAnimatedEnumeration) as IJSSVGAnimatedEnumeration; end; function TJSSVGTextPathElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGTextPathElement.JSClassName: UnicodeString; begin Result:='SVGTextPathElement'; end; class function TJSSVGTextPathElement.Cast(const Intf: IJSObject): IJSSVGTextPathElement; begin Result:=TJSSVGTextPathElement.JOBCast(Intf); end; function TJSSVGTextPositioningElement._Getx: IJSSVGAnimatedLengthList; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLengthList) as IJSSVGAnimatedLengthList; end; function TJSSVGTextPositioningElement._Gety: IJSSVGAnimatedLengthList; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLengthList) as IJSSVGAnimatedLengthList; end; function TJSSVGTextPositioningElement._Getdx: IJSSVGAnimatedLengthList; begin Result:=ReadJSPropertyObject('dx',TJSSVGAnimatedLengthList) as IJSSVGAnimatedLengthList; end; function TJSSVGTextPositioningElement._Getdy: IJSSVGAnimatedLengthList; begin Result:=ReadJSPropertyObject('dy',TJSSVGAnimatedLengthList) as IJSSVGAnimatedLengthList; end; function TJSSVGTextPositioningElement._Getrotate: IJSSVGAnimatedNumberList; begin Result:=ReadJSPropertyObject('rotate',TJSSVGAnimatedNumberList) as IJSSVGAnimatedNumberList; end; class function TJSSVGTextPositioningElement.JSClassName: UnicodeString; begin Result:='SVGTextPositioningElement'; end; class function TJSSVGTextPositioningElement.Cast(const Intf: IJSObject): IJSSVGTextPositioningElement; begin Result:=TJSSVGTextPositioningElement.JOBCast(Intf); end; class function TJSSVGTitleElement.JSClassName: UnicodeString; begin Result:='SVGTitleElement'; end; class function TJSSVGTitleElement.Cast(const Intf: IJSObject): IJSSVGTitleElement; begin Result:=TJSSVGTitleElement.JOBCast(Intf); end; function TJSSVGTransform._Gettype_: Word; begin Result:=ReadJSPropertyLongInt('type'); end; function TJSSVGTransform._Getmatrix: IJSSVGMatrix; begin Result:=ReadJSPropertyObject('matrix',TJSSVGMatrix) as IJSSVGMatrix; end; function TJSSVGTransform._Getangle: Single; begin Result:=ReadJSPropertyDouble('angle'); end; procedure TJSSVGTransform.setMatrix(const aMatrix: IJSDOMMatrix2DInit); begin InvokeJSNoResult('setMatrix',[aMatrix]); end; procedure TJSSVGTransform.setMatrix; begin InvokeJSNoResult('setMatrix',[]); end; procedure TJSSVGTransform.setTranslate(aTx: Single; aTy: Single); begin InvokeJSNoResult('setTranslate',[aTx,aTy]); end; procedure TJSSVGTransform.setScale(aSx: Single; aSy: Single); begin InvokeJSNoResult('setScale',[aSx,aSy]); end; procedure TJSSVGTransform.setRotate(aAngle: Single; aCx: Single; aCy: Single); begin InvokeJSNoResult('setRotate',[aAngle,aCx,aCy]); end; procedure TJSSVGTransform.setSkewX(aAngle: Single); begin InvokeJSNoResult('setSkewX',[aAngle]); end; procedure TJSSVGTransform.setSkewY(aAngle: Single); begin InvokeJSNoResult('setSkewY',[aAngle]); end; class function TJSSVGTransform.JSClassName: UnicodeString; begin Result:='SVGTransform'; end; class function TJSSVGTransform.Cast(const Intf: IJSObject): IJSSVGTransform; begin Result:=TJSSVGTransform.JOBCast(Intf); end; function TJSSVGTransformList._GetnumberOfItems: Cardinal; begin Result:=ReadJSPropertyInt64('numberOfItems'); end; function TJSSVGTransformList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; procedure TJSSVGTransformList.clear; begin InvokeJSNoResult('clear',[]); end; function TJSSVGTransformList.initialize(aNewItem: IJSSVGTransform): IJSSVGTransform; begin Result:=InvokeJSObjectResult('initialize',[aNewItem],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.getItem(aIndex: Cardinal): IJSSVGTransform; begin Result:=InvokeJSObjectResult('getItem',[aIndex],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.insertItemBefore(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; begin Result:=InvokeJSObjectResult('insertItemBefore',[aNewItem,aIndex],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.replaceItem(aNewItem: IJSSVGTransform; aIndex: Cardinal): IJSSVGTransform; begin Result:=InvokeJSObjectResult('replaceItem',[aNewItem,aIndex],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.removeItem(aIndex: Cardinal): IJSSVGTransform; begin Result:=InvokeJSObjectResult('removeItem',[aIndex],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.appendItem(aNewItem: IJSSVGTransform): IJSSVGTransform; begin Result:=InvokeJSObjectResult('appendItem',[aNewItem],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.createSVGTransformFromMatrix(const aMatrix: IJSDOMMatrix2DInit): IJSSVGTransform; begin Result:=InvokeJSObjectResult('createSVGTransformFromMatrix',[aMatrix],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.createSVGTransformFromMatrix: IJSSVGTransform; begin Result:=InvokeJSObjectResult('createSVGTransformFromMatrix',[],TJSSVGTransform) as IJSSVGTransform; end; function TJSSVGTransformList.consolidate: IJSSVGTransform; begin Result:=InvokeJSObjectResult('consolidate',[],TJSSVGTransform) as IJSSVGTransform; end; class function TJSSVGTransformList.JSClassName: UnicodeString; begin Result:='SVGTransformList'; end; class function TJSSVGTransformList.Cast(const Intf: IJSObject): IJSSVGTransformList; begin Result:=TJSSVGTransformList.JOBCast(Intf); end; class function TJSSVGTSpanElement.JSClassName: UnicodeString; begin Result:='SVGTSpanElement'; end; class function TJSSVGTSpanElement.Cast(const Intf: IJSObject): IJSSVGTSpanElement; begin Result:=TJSSVGTSpanElement.JOBCast(Intf); end; class function TJSSVGUnitTypes.JSClassName: UnicodeString; begin Result:='SVGUnitTypes'; end; class function TJSSVGUnitTypes.Cast(const Intf: IJSObject): IJSSVGUnitTypes; begin Result:=TJSSVGUnitTypes.JOBCast(Intf); end; function TJSSVGURIReference._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGURIReference.JSClassName: UnicodeString; begin Result:='SVGURIReference'; end; class function TJSSVGURIReference.Cast(const Intf: IJSObject): IJSSVGURIReference; begin Result:=TJSSVGURIReference.JOBCast(Intf); end; function TJSSVGUseElement._Getx: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('x',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGUseElement._Gety: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('y',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGUseElement._Getwidth: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('width',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGUseElement._Getheight: IJSSVGAnimatedLength; begin Result:=ReadJSPropertyObject('height',TJSSVGAnimatedLength) as IJSSVGAnimatedLength; end; function TJSSVGUseElement._Gethref: IJSSVGAnimatedString; begin Result:=ReadJSPropertyObject('href',TJSSVGAnimatedString) as IJSSVGAnimatedString; end; class function TJSSVGUseElement.JSClassName: UnicodeString; begin Result:='SVGUseElement'; end; class function TJSSVGUseElement.Cast(const Intf: IJSObject): IJSSVGUseElement; begin Result:=TJSSVGUseElement.JOBCast(Intf); end; function TJSSVGViewElement._GetviewBox: IJSSVGAnimatedRect; begin Result:=ReadJSPropertyObject('viewBox',TJSSVGAnimatedRect) as IJSSVGAnimatedRect; end; function TJSSVGViewElement._GetpreserveAspectRatio: IJSSVGAnimatedPreserveAspectRatio; begin Result:=ReadJSPropertyObject('preserveAspectRatio',TJSSVGAnimatedPreserveAspectRatio) as IJSSVGAnimatedPreserveAspectRatio; end; function TJSSVGViewElement._GetzoomAndPan: Word; begin Result:=ReadJSPropertyLongInt('zoomAndPan'); end; procedure TJSSVGViewElement._SetzoomAndPan(const aValue : Word); begin WriteJSPropertyLongInt('zoomAndPan',aValue); end; class function TJSSVGViewElement.JSClassName: UnicodeString; begin Result:='SVGViewElement'; end; class function TJSSVGViewElement.Cast(const Intf: IJSObject): IJSSVGViewElement; begin Result:=TJSSVGViewElement.JOBCast(Intf); end; function TJSSVGZoomAndPan._GetzoomAndPan: Word; begin Result:=ReadJSPropertyLongInt('zoomAndPan'); end; procedure TJSSVGZoomAndPan._SetzoomAndPan(const aValue : Word); begin WriteJSPropertyLongInt('zoomAndPan',aValue); end; class function TJSSVGZoomAndPan.JSClassName: UnicodeString; begin Result:='SVGZoomAndPan'; end; class function TJSSVGZoomAndPan.Cast(const Intf: IJSObject): IJSSVGZoomAndPan; begin Result:=TJSSVGZoomAndPan.JOBCast(Intf); end; function TJSTaskPriorityChangeEvent._GetpreviousPriority: TTaskPriority; begin Result:=ReadJSPropertyUnicodeString('previousPriority'); end; constructor TJSTaskPriorityChangeEvent.Create(const aType_: UnicodeString; const aPriorityChangeEventInitDict: IJSTaskPriorityChangeEventInit); begin JOBCreate([aType_,aPriorityChangeEventInitDict]); end; class function TJSTaskPriorityChangeEvent.JSClassName: UnicodeString; begin Result:='TaskPriorityChangeEvent'; end; class function TJSTaskPriorityChangeEvent.Cast(const Intf: IJSObject): IJSTaskPriorityChangeEvent; begin Result:=TJSTaskPriorityChangeEvent.JOBCast(Intf); end; function TJSTaskPriorityChangeEventInit._GetpreviousPriority: TTaskPriority; begin Result:=ReadJSPropertyUnicodeString('previousPriority'); end; procedure TJSTaskPriorityChangeEventInit._SetpreviousPriority(const aValue : TTaskPriority); begin WriteJSPropertyUnicodeString('previousPriority',aValue); end; constructor TJSTaskPriorityChangeEventInit.create(const aDict : TJSTaskPriorityChangeEventInitRec); overload; begin Self.previousPriority:=aDict.previousPriority; end; class function TJSTaskPriorityChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTaskPriorityChangeEventInit.Cast(const Intf: IJSObject): IJSTaskPriorityChangeEventInit; begin Result:=TJSTaskPriorityChangeEventInit.JOBCast(Intf); end; function TJSServerSocketOptions._GetbinaryType: TTCPSocketBinaryType; begin Result:=ReadJSPropertyUnicodeString('binaryType'); end; procedure TJSServerSocketOptions._SetbinaryType(const aValue : TTCPSocketBinaryType); begin WriteJSPropertyUnicodeString('binaryType',aValue); end; constructor TJSServerSocketOptions.create(const aDict : TJSServerSocketOptionsRec); overload; begin Self.binaryType:=aDict.binaryType; end; class function TJSServerSocketOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSServerSocketOptions.Cast(const Intf: IJSObject): IJSServerSocketOptions; begin Result:=TJSServerSocketOptions.JOBCast(Intf); end; function TJSTCPServerSocket._GetlocalPort: Word; begin Result:=ReadJSPropertyLongInt('localPort'); end; function TJSTCPServerSocket._Getonconnect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onconnect'))); end; function TJSTCPServerSocket._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSTCPServerSocket._Setonconnect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onconnect',[m],jiSet); finally m.free end; end; procedure TJSTCPServerSocket._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSTCPServerSocket.Create(aPort: Word; const aOptions: IJSServerSocketOptions; aBacklog: Word); begin JOBCreate([aPort,aOptions,aBacklog]); end; constructor TJSTCPServerSocket.Create(aPort: Word); begin JOBCreate([aPort]); end; constructor TJSTCPServerSocket.Create(aPort: Word; const aOptions: IJSServerSocketOptions); begin JOBCreate([aPort,aOptions]); end; procedure TJSTCPServerSocket.close; begin InvokeJSNoResult('close',[]); end; class function TJSTCPServerSocket.JSClassName: UnicodeString; begin Result:='TCPServerSocket'; end; class function TJSTCPServerSocket.Cast(const Intf: IJSObject): IJSTCPServerSocket; begin Result:=TJSTCPServerSocket.JOBCast(Intf); end; function TJSTCPServerSocketEvent._Getsocket: IJSTCPSocket; begin Result:=ReadJSPropertyObject('socket',TJSTCPSocket) as IJSTCPSocket; end; constructor TJSTCPServerSocketEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPServerSocketEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTCPServerSocketEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSTCPServerSocketEvent.JSClassName: UnicodeString; begin Result:='TCPServerSocketEvent'; end; class function TJSTCPServerSocketEvent.Cast(const Intf: IJSObject): IJSTCPServerSocketEvent; begin Result:=TJSTCPServerSocketEvent.JOBCast(Intf); end; function TJSTCPServerSocketEventInit._Getsocket: IJSTCPSocket; begin Result:=ReadJSPropertyObject('socket',TJSTCPSocket) as IJSTCPSocket; end; procedure TJSTCPServerSocketEventInit._Setsocket(const aValue : IJSTCPSocket); begin WriteJSPropertyObject('socket',aValue); end; constructor TJSTCPServerSocketEventInit.create(const aDict : TJSTCPServerSocketEventInitRec); overload; begin Self.socket:=aDict.socket; end; class function TJSTCPServerSocketEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTCPServerSocketEventInit.Cast(const Intf: IJSObject): IJSTCPServerSocketEventInit; begin Result:=TJSTCPServerSocketEventInit.JOBCast(Intf); end; class function TJSnsISocketTransport.JSClassName: UnicodeString; begin Result:='nsISocketTransport'; end; class function TJSnsISocketTransport.Cast(const Intf: IJSObject): IJSnsISocketTransport; begin Result:=TJSnsISocketTransport.JOBCast(Intf); end; function TJSSocketOptions._GetuseSecureTransport: Boolean; begin Result:=ReadJSPropertyBoolean('useSecureTransport'); end; function TJSSocketOptions._GetbinaryType: TTCPSocketBinaryType; begin Result:=ReadJSPropertyUnicodeString('binaryType'); end; procedure TJSSocketOptions._SetuseSecureTransport(const aValue : Boolean); begin WriteJSPropertyBoolean('useSecureTransport',aValue); end; procedure TJSSocketOptions._SetbinaryType(const aValue : TTCPSocketBinaryType); begin WriteJSPropertyUnicodeString('binaryType',aValue); end; constructor TJSSocketOptions.create(const aDict : TJSSocketOptionsRec); overload; begin Self.useSecureTransport:=aDict.useSecureTransport; Self.binaryType:=aDict.binaryType; end; class function TJSSocketOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSocketOptions.Cast(const Intf: IJSObject): IJSSocketOptions; begin Result:=TJSSocketOptions.JOBCast(Intf); end; function TJSLegacyMozTCPSocket.open(const aHost: UnicodeString; aPort: Word; const aOptions: IJSSocketOptions): IJSTCPSocket; begin Result:=InvokeJSObjectResult('open',[aHost,aPort,aOptions],TJSTCPSocket) as IJSTCPSocket; end; function TJSLegacyMozTCPSocket.open(const aHost: UnicodeString; aPort: Word): IJSTCPSocket; begin Result:=InvokeJSObjectResult('open',[aHost,aPort],TJSTCPSocket) as IJSTCPSocket; end; function TJSLegacyMozTCPSocket.listen(aPort: Word; const aOptions: IJSServerSocketOptions; aBacklog: Word): IJSTCPServerSocket; begin Result:=InvokeJSObjectResult('listen',[aPort,aOptions,aBacklog],TJSTCPServerSocket) as IJSTCPServerSocket; end; function TJSLegacyMozTCPSocket.listen(aPort: Word): IJSTCPServerSocket; begin Result:=InvokeJSObjectResult('listen',[aPort],TJSTCPServerSocket) as IJSTCPServerSocket; end; function TJSLegacyMozTCPSocket.listen(aPort: Word; const aOptions: IJSServerSocketOptions): IJSTCPServerSocket; begin Result:=InvokeJSObjectResult('listen',[aPort,aOptions],TJSTCPServerSocket) as IJSTCPServerSocket; end; class function TJSLegacyMozTCPSocket.JSClassName: UnicodeString; begin Result:='LegacyMozTCPSocket'; end; class function TJSLegacyMozTCPSocket.Cast(const Intf: IJSObject): IJSLegacyMozTCPSocket; begin Result:=TJSLegacyMozTCPSocket.JOBCast(Intf); end; function TJSTCPSocket._Gettransport: IJSnsISocketTransport; begin Result:=ReadJSPropertyObject('transport',TJSnsISocketTransport) as IJSnsISocketTransport; end; function TJSTCPSocket._Gethost: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('host'); end; function TJSTCPSocket._Getport: Word; begin Result:=ReadJSPropertyLongInt('port'); end; function TJSTCPSocket._Getssl: Boolean; begin Result:=ReadJSPropertyBoolean('ssl'); end; function TJSTCPSocket._GetbufferedAmount: QWord; begin Result:=ReadJSPropertyInt64('bufferedAmount'); end; function TJSTCPSocket._GetreadyState: TTCPReadyState; begin Result:=ReadJSPropertyUnicodeString('readyState'); end; function TJSTCPSocket._GetbinaryType: TTCPSocketBinaryType; begin Result:=ReadJSPropertyUnicodeString('binaryType'); end; function TJSTCPSocket._Getonopen: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onopen'))); end; function TJSTCPSocket._Getondrain: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrain'))); end; function TJSTCPSocket._Getondata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondata'))); end; function TJSTCPSocket._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSTCPSocket._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; procedure TJSTCPSocket._Setonopen(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onopen',[m],jiSet); finally m.free end; end; procedure TJSTCPSocket._Setondrain(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrain',[m],jiSet); finally m.free end; end; procedure TJSTCPSocket._Setondata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondata',[m],jiSet); finally m.free end; end; procedure TJSTCPSocket._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSTCPSocket._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; constructor TJSTCPSocket.Create(const aHost: UnicodeString; aPort: Word; const aOptions: IJSSocketOptions); begin JOBCreate([aHost,aPort,aOptions]); end; constructor TJSTCPSocket.Create(const aHost: UnicodeString; aPort: Word); begin JOBCreate([aHost,aPort]); end; procedure TJSTCPSocket.upgradeToSecure; begin InvokeJSNoResult('upgradeToSecure',[]); end; procedure TJSTCPSocket.suspend; begin InvokeJSNoResult('suspend',[]); end; procedure TJSTCPSocket.resume; begin InvokeJSNoResult('resume',[]); end; procedure TJSTCPSocket.close; begin InvokeJSNoResult('close',[]); end; function TJSTCPSocket.send(const aData: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('send',[aData]); end; function TJSTCPSocket.send(aData: IJSArrayBuffer; aByteOffset: Cardinal; aByteLength: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('send',[aData,aByteOffset,aByteLength]); end; function TJSTCPSocket.send(aData: IJSArrayBuffer): Boolean; begin Result:=InvokeJSBooleanResult('send',[aData]); end; function TJSTCPSocket.send(aData: IJSArrayBuffer; aByteOffset: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('send',[aData,aByteOffset]); end; class function TJSTCPSocket.JSClassName: UnicodeString; begin Result:='TCPSocket'; end; class function TJSTCPSocket.Cast(const Intf: IJSObject): IJSTCPSocket; begin Result:=TJSTCPSocket.JOBCast(Intf); end; function TJSTCPSocketErrorEvent._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSTCPSocketErrorEvent._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSTCPSocketErrorEvent._GeterrorCode: Cardinal; begin Result:=ReadJSPropertyInt64('errorCode'); end; constructor TJSTCPSocketErrorEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPSocketErrorEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTCPSocketErrorEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSTCPSocketErrorEvent.JSClassName: UnicodeString; begin Result:='TCPSocketErrorEvent'; end; class function TJSTCPSocketErrorEvent.Cast(const Intf: IJSObject): IJSTCPSocketErrorEvent; begin Result:=TJSTCPSocketErrorEvent.JOBCast(Intf); end; function TJSTCPSocketErrorEventInit._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSTCPSocketErrorEventInit._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSTCPSocketErrorEventInit._GeterrorCode: Cardinal; begin Result:=ReadJSPropertyInt64('errorCode'); end; procedure TJSTCPSocketErrorEventInit._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSTCPSocketErrorEventInit._Setmessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('message',aValue); end; procedure TJSTCPSocketErrorEventInit._SeterrorCode(const aValue : Cardinal); begin WriteJSPropertyDouble('errorCode',aValue); end; constructor TJSTCPSocketErrorEventInit.create(const aDict : TJSTCPSocketErrorEventInitRec); overload; begin Self.name:=aDict.name; Self.message:=aDict.message; Self.errorCode:=aDict.errorCode; end; class function TJSTCPSocketErrorEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTCPSocketErrorEventInit.Cast(const Intf: IJSObject): IJSTCPSocketErrorEventInit; begin Result:=TJSTCPSocketErrorEventInit.JOBCast(Intf); end; function TJSTCPSocketEvent._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; constructor TJSTCPSocketEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTCPSocketEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTCPSocketEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSTCPSocketEvent.JSClassName: UnicodeString; begin Result:='TCPSocketEvent'; end; class function TJSTCPSocketEvent.Cast(const Intf: IJSObject): IJSTCPSocketEvent; begin Result:=TJSTCPSocketEvent.JOBCast(Intf); end; function TJSTCPSocketEventInit._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSTCPSocketEventInit._Setdata(const aValue : Variant); begin WriteJSPropertyVariant('data',aValue); end; constructor TJSTCPSocketEventInit.create(const aDict : TJSTCPSocketEventInitRec); overload; begin Self.data:=aDict.data; end; class function TJSTCPSocketEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTCPSocketEventInit.Cast(const Intf: IJSObject): IJSTCPSocketEventInit; begin Result:=TJSTCPSocketEventInit.JOBCast(Intf); end; constructor TJSWrapperCachedNonISupportsTestInterface.Create; begin JOBCreate([]); end; class function TJSWrapperCachedNonISupportsTestInterface.JSClassName: UnicodeString; begin Result:='WrapperCachedNonISupportsTestInterface'; end; class function TJSWrapperCachedNonISupportsTestInterface.Cast(const Intf: IJSObject): IJSWrapperCachedNonISupportsTestInterface; begin Result:=TJSWrapperCachedNonISupportsTestInterface.JOBCast(Intf); end; constructor TJSTestTrialInterface.Create; begin JOBCreate([]); end; class function TJSTestTrialInterface.JSClassName: UnicodeString; begin Result:='TestTrialInterface'; end; class function TJSTestTrialInterface.Cast(const Intf: IJSObject): IJSTestTrialInterface; begin Result:=TJSTestTrialInterface.JOBCast(Intf); end; class function TJSTestInterfaceLength.JSClassName: UnicodeString; begin Result:='TestInterfaceLength'; end; class function TJSTestInterfaceLength.Cast(const Intf: IJSObject): IJSTestInterfaceLength; begin Result:=TJSTestInterfaceLength.JOBCast(Intf); end; function TJSTestFunctions._Getone: LongInt; begin Result:=ReadJSPropertyLongInt('one'); end; function TJSTestFunctions._Gettwo: LongInt; begin Result:=ReadJSPropertyLongInt('two'); end; function TJSTestFunctions._GetwrapperCachedNonISupportsObject: IJSWrapperCachedNonISupportsTestInterface; begin Result:=ReadJSPropertyObject('wrapperCachedNonISupportsObject',TJSWrapperCachedNonISupportsTestInterface) as IJSWrapperCachedNonISupportsTestInterface; end; function TJSTestFunctions._GetclampedNullableOctet: Byte; begin Result:=ReadJSPropertyLongInt('clampedNullableOctet'); end; function TJSTestFunctions._GetenforcedNullableOctet: Byte; begin Result:=ReadJSPropertyLongInt('enforcedNullableOctet'); end; function TJSTestFunctions._GetarrayBufferView: IJSArrayBufferView; begin Result:=ReadJSPropertyObject('arrayBufferView',TJSArrayBufferView) as IJSArrayBufferView; end; function TJSTestFunctions._GetallowSharedArrayBufferView: IJSArrayBufferView; begin Result:=ReadJSPropertyObject('allowSharedArrayBufferView',TJSArrayBufferView) as IJSArrayBufferView; end; function TJSTestFunctions._GetsequenceOfArrayBufferView: TIJSArrayBufferViewDynArray; begin Result:=ReadJSPropertyObject('sequenceOfArrayBufferView',TJSArray) as TIJSArrayBufferViewDynArray; end; function TJSTestFunctions._GetsequenceOfAllowSharedArrayBufferView: TIJSArrayBufferViewDynArray; begin Result:=ReadJSPropertyObject('sequenceOfAllowSharedArrayBufferView',TJSArray) as TIJSArrayBufferViewDynArray; end; function TJSTestFunctions._GetarrayBuffer: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('arrayBuffer',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSTestFunctions._GetallowSharedArrayBuffer: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('allowSharedArrayBuffer',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSTestFunctions._GetsequenceOfArrayBuffer: TIJSArrayBufferDynArray; begin Result:=ReadJSPropertyObject('sequenceOfArrayBuffer',TJSArray) as TIJSArrayBufferDynArray; end; function TJSTestFunctions._GetsequenceOfAllowSharedArrayBuffer: TIJSArrayBufferDynArray; begin Result:=ReadJSPropertyObject('sequenceOfAllowSharedArrayBuffer',TJSArray) as TIJSArrayBufferDynArray; end; procedure TJSTestFunctions._SetclampedNullableOctet(const aValue : Byte); begin WriteJSPropertyLongInt('clampedNullableOctet',aValue); end; procedure TJSTestFunctions._SetenforcedNullableOctet(const aValue : Byte); begin WriteJSPropertyLongInt('enforcedNullableOctet',aValue); end; procedure TJSTestFunctions._SetarrayBufferView(const aValue : IJSArrayBufferView); begin WriteJSPropertyObject('arrayBufferView',aValue); end; procedure TJSTestFunctions._SetallowSharedArrayBufferView(const aValue : IJSArrayBufferView); begin WriteJSPropertyObject('allowSharedArrayBufferView',aValue); end; procedure TJSTestFunctions._SetsequenceOfArrayBufferView(const aValue : TIJSArrayBufferViewDynArray); begin WriteJSPropertyObject('sequenceOfArrayBufferView',aValue); end; procedure TJSTestFunctions._SetsequenceOfAllowSharedArrayBufferView(const aValue : TIJSArrayBufferViewDynArray); begin WriteJSPropertyObject('sequenceOfAllowSharedArrayBufferView',aValue); end; procedure TJSTestFunctions._SetarrayBuffer(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('arrayBuffer',aValue); end; procedure TJSTestFunctions._SetallowSharedArrayBuffer(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('allowSharedArrayBuffer',aValue); end; procedure TJSTestFunctions._SetsequenceOfArrayBuffer(const aValue : TIJSArrayBufferDynArray); begin WriteJSPropertyObject('sequenceOfArrayBuffer',aValue); end; procedure TJSTestFunctions._SetsequenceOfAllowSharedArrayBuffer(const aValue : TIJSArrayBufferDynArray); begin WriteJSPropertyObject('sequenceOfAllowSharedArrayBuffer',aValue); end; constructor TJSTestFunctions.Create; begin JOBCreate([]); end; procedure TJSTestFunctions.throwUncatchableException; begin InvokeJSNoResult('throwUncatchableException',[]); end; function TJSTestFunctions.passThroughPromise(aArg: IJSPromise): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('passThroughPromise',[aArg],TJSPromise) as IJSPromise; end; function TJSTestFunctions.passThroughCallbackPromise(const aCallback: TPromiseReturner): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallPromiseReturner); try Result:=InvokeJSObjectResult('passThroughCallbackPromise',[m],TJSPromise) as IJSPromise; finally m.free; end; end; procedure TJSTestFunctions.setStringData(const aArg: UnicodeString); begin InvokeJSNoResult('setStringData',[aArg]); end; function TJSTestFunctions.getStringDataAsAString: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getStringDataAsAString',[]); end; function TJSTestFunctions.getStringDataAsAString(aLength_: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getStringDataAsAString',[aLength_]); end; function TJSTestFunctions.getStringDataAsDOMString(aLength_: Cardinal): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getStringDataAsDOMString',[aLength_]); end; function TJSTestFunctions.getStringDataAsDOMString: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getStringDataAsDOMString',[]); end; function TJSTestFunctions.getShortLiteralString: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getShortLiteralString',[]); end; function TJSTestFunctions.getMediumLiteralString: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getMediumLiteralString',[]); end; function TJSTestFunctions.getLongLiteralString: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getLongLiteralString',[]); end; function TJSTestFunctions.getStringbufferString(const aInput: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getStringbufferString',[aInput]); end; function TJSTestFunctions.getStringType(const aStr: UnicodeString): TStringType; begin Result:=InvokeJSUnicodeStringResult('getStringType',[aStr]); end; function TJSTestFunctions.stringbufferMatchesStored(const aStr: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('stringbufferMatchesStored',[aStr]); end; procedure TJSTestFunctions.testThrowNsresult; begin InvokeJSNoResult('testThrowNsresult',[]); end; procedure TJSTestFunctions.testThrowNsresultFromNative; begin InvokeJSNoResult('testThrowNsresultFromNative',[]); end; function TJSTestFunctions.throwToRejectPromise: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('throwToRejectPromise',[],TJSPromise) as IJSPromise; end; function TJSTestFunctions.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; procedure TJSTestFunctions.testNotAllowShared(aBuffer: IJSArrayBufferView); begin InvokeJSNoResult('testNotAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testNotAllowShared(aBuffer: IJSArrayBuffer); begin InvokeJSNoResult('testNotAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testNotAllowShared(const aBuffer: UnicodeString); begin InvokeJSNoResult('testNotAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testAllowShared(aBuffer: IJSArrayBufferView); begin InvokeJSNoResult('testAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testAllowShared(aBuffer: IJSArrayBuffer); begin InvokeJSNoResult('testAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testDictWithAllowShared(const aBuffer: IJSDictWithAllowSharedBufferSource); begin InvokeJSNoResult('testDictWithAllowShared',[aBuffer]); end; procedure TJSTestFunctions.testDictWithAllowShared; begin InvokeJSNoResult('testDictWithAllowShared',[]); end; procedure TJSTestFunctions.testUnionOfBuffferSource(aFoo: IJSArrayBuffer); begin InvokeJSNoResult('testUnionOfBuffferSource',[aFoo]); end; procedure TJSTestFunctions.testUnionOfBuffferSource(aFoo: IJSArrayBufferView); begin InvokeJSNoResult('testUnionOfBuffferSource',[aFoo]); end; procedure TJSTestFunctions.testUnionOfBuffferSource(const aFoo: UnicodeString); begin InvokeJSNoResult('testUnionOfBuffferSource',[aFoo]); end; procedure TJSTestFunctions.testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBuffer); begin InvokeJSNoResult('testUnionOfAllowSharedBuffferSource',[aFoo]); end; procedure TJSTestFunctions.testUnionOfAllowSharedBuffferSource(aFoo: IJSArrayBufferView); begin InvokeJSNoResult('testUnionOfAllowSharedBuffferSource',[aFoo]); end; function TJSTestFunctions.staticAndNonStaticOverload(aFoo: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('staticAndNonStaticOverload',[aFoo]); end; function TJSTestFunctions.staticAndNonStaticOverload: Boolean; begin Result:=InvokeJSBooleanResult('staticAndNonStaticOverload',[]); end; class function TJSTestFunctions.JSClassName: UnicodeString; begin Result:='TestFunctions'; end; class function TJSTestFunctions.Cast(const Intf: IJSObject): IJSTestFunctions; begin Result:=TJSTestFunctions.JOBCast(Intf); end; function TJSDictWithAllowSharedBufferSource._GetarrayBuffer: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('arrayBuffer',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSDictWithAllowSharedBufferSource._GetarrayBufferView: IJSArrayBufferView; begin Result:=ReadJSPropertyObject('arrayBufferView',TJSArrayBufferView) as IJSArrayBufferView; end; function TJSDictWithAllowSharedBufferSource._GetallowSharedArrayBuffer: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('allowSharedArrayBuffer',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSDictWithAllowSharedBufferSource._GetallowSharedArrayBufferView: IJSArrayBufferView; begin Result:=ReadJSPropertyObject('allowSharedArrayBufferView',TJSArrayBufferView) as IJSArrayBufferView; end; procedure TJSDictWithAllowSharedBufferSource._SetarrayBuffer(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('arrayBuffer',aValue); end; procedure TJSDictWithAllowSharedBufferSource._SetarrayBufferView(const aValue : IJSArrayBufferView); begin WriteJSPropertyObject('arrayBufferView',aValue); end; procedure TJSDictWithAllowSharedBufferSource._SetallowSharedArrayBuffer(const aValue : IJSArrayBuffer); begin WriteJSPropertyObject('allowSharedArrayBuffer',aValue); end; procedure TJSDictWithAllowSharedBufferSource._SetallowSharedArrayBufferView(const aValue : IJSArrayBufferView); begin WriteJSPropertyObject('allowSharedArrayBufferView',aValue); end; constructor TJSDictWithAllowSharedBufferSource.create(const aDict : TJSDictWithAllowSharedBufferSourceRec); overload; begin Self.arrayBuffer:=aDict.arrayBuffer; Self.arrayBufferView:=aDict.arrayBufferView; Self.allowSharedArrayBuffer:=aDict.allowSharedArrayBuffer; Self.allowSharedArrayBufferView:=aDict.allowSharedArrayBufferView; end; class function TJSDictWithAllowSharedBufferSource.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSDictWithAllowSharedBufferSource.Cast(const Intf: IJSObject): IJSDictWithAllowSharedBufferSource; begin Result:=TJSDictWithAllowSharedBufferSource.JOBCast(Intf); end; function TJSTestInterfaceJSUnionableDictionary._GetobjectMember: IJSObject; begin Result:=ReadJSPropertyObject('objectMember',TJSObject) as IJSObject; end; function TJSTestInterfaceJSUnionableDictionary._GetanyMember: Variant; begin Result:=ReadJSPropertyVariant('anyMember'); end; procedure TJSTestInterfaceJSUnionableDictionary._SetobjectMember(const aValue : IJSObject); begin WriteJSPropertyObject('objectMember',aValue); end; procedure TJSTestInterfaceJSUnionableDictionary._SetanyMember(const aValue : Variant); begin WriteJSPropertyVariant('anyMember',aValue); end; constructor TJSTestInterfaceJSUnionableDictionary.create(const aDict : TJSTestInterfaceJSUnionableDictionaryRec); overload; begin Self.objectMember:=aDict.objectMember; Self.anyMember:=aDict.anyMember; end; class function TJSTestInterfaceJSUnionableDictionary.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTestInterfaceJSUnionableDictionary.Cast(const Intf: IJSObject): IJSTestInterfaceJSUnionableDictionary; begin Result:=TJSTestInterfaceJSUnionableDictionary.JOBCast(Intf); end; function TJSTestInterfaceJS._GetanyArg: Variant; begin Result:=ReadJSPropertyVariant('anyArg'); end; function TJSTestInterfaceJS._GetobjectArg: IJSObject; begin Result:=ReadJSPropertyObject('objectArg',TJSObject) as IJSObject; end; function TJSTestInterfaceJS._GetanyAttr: Variant; begin Result:=ReadJSPropertyVariant('anyAttr'); end; function TJSTestInterfaceJS._GetobjectAttr: IJSObject; begin Result:=ReadJSPropertyObject('objectAttr',TJSObject) as IJSObject; end; function TJSTestInterfaceJS._Getonsomething: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsomething'))); end; procedure TJSTestInterfaceJS._SetanyAttr(const aValue : Variant); begin WriteJSPropertyVariant('anyAttr',aValue); end; procedure TJSTestInterfaceJS._SetobjectAttr(const aValue : IJSObject); begin WriteJSPropertyObject('objectAttr',aValue); end; procedure TJSTestInterfaceJS._Setonsomething(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsomething',[m],jiSet); finally m.free end; end; constructor TJSTestInterfaceJS.Create(const aAnyArg: Variant; aObjectArg: IJSObject; const aDictionaryArg: IJSTestInterfaceJSDictionary); begin JOBCreate([aAnyArg,aObjectArg,aDictionaryArg]); end; constructor TJSTestInterfaceJS.Create; begin JOBCreate([]); end; constructor TJSTestInterfaceJS.Create(const aAnyArg: Variant); begin JOBCreate([aAnyArg]); end; constructor TJSTestInterfaceJS.Create(const aAnyArg: Variant; aObjectArg: IJSObject); begin JOBCreate([aAnyArg,aObjectArg]); end; function TJSTestInterfaceJS.getDictionaryArg: IJSTestInterfaceJSDictionary; begin Result:=InvokeJSObjectResult('getDictionaryArg',[],TJSTestInterfaceJSDictionary) as IJSTestInterfaceJSDictionary; end; function TJSTestInterfaceJS.getDictionaryAttr: IJSTestInterfaceJSDictionary; begin Result:=InvokeJSObjectResult('getDictionaryAttr',[],TJSTestInterfaceJSDictionary) as IJSTestInterfaceJSDictionary; end; procedure TJSTestInterfaceJS.setDictionaryAttr(const aDict: IJSTestInterfaceJSDictionary); begin InvokeJSNoResult('setDictionaryAttr',[aDict]); end; procedure TJSTestInterfaceJS.setDictionaryAttr; begin InvokeJSNoResult('setDictionaryAttr',[]); end; function TJSTestInterfaceJS.pingPongAny(const aArg: Variant): Variant; begin Result:=InvokeJSVariantResult('pingPongAny',[aArg]); end; function TJSTestInterfaceJS.pingPongObject(aObj: IJSObject): IJSObject; begin Result:=InvokeJSObjectResult('pingPongObject',[aObj],TJSObject) as IJSObject; end; function TJSTestInterfaceJS.pingPongObjectOrString(const aObjOrString: UnicodeString): Variant; begin Result:=InvokeJSVariantResult('pingPongObjectOrString',[aObjOrString]); end; function TJSTestInterfaceJS.pingPongObjectOrString(aObjOrString: IJSObject): Variant; begin Result:=InvokeJSVariantResult('pingPongObjectOrString',[aObjOrString]); end; function TJSTestInterfaceJS.pingPongDictionary(const aDict: IJSTestInterfaceJSDictionary): IJSTestInterfaceJSDictionary; begin Result:=InvokeJSObjectResult('pingPongDictionary',[aDict],TJSTestInterfaceJSDictionary) as IJSTestInterfaceJSDictionary; end; function TJSTestInterfaceJS.pingPongDictionary: IJSTestInterfaceJSDictionary; begin Result:=InvokeJSObjectResult('pingPongDictionary',[],TJSTestInterfaceJSDictionary) as IJSTestInterfaceJSDictionary; end; function TJSTestInterfaceJS.pingPongDictionaryOrLong(aDictOrLong: LongInt): LongInt; begin Result:=InvokeJSLongIntResult('pingPongDictionaryOrLong',[aDictOrLong]); end; function TJSTestInterfaceJS.pingPongDictionaryOrLong: LongInt; begin Result:=InvokeJSLongIntResult('pingPongDictionaryOrLong',[]); end; function TJSTestInterfaceJS.pingPongDictionaryOrLong(const aDictOrLong: IJSTestInterfaceJSUnionableDictionary): LongInt; begin Result:=InvokeJSLongIntResult('pingPongDictionaryOrLong',[aDictOrLong]); end; function TJSTestInterfaceJS.pingPongRecord(aRec: IJSObject): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('pingPongRecord',[aRec]); end; function TJSTestInterfaceJS.objectSequenceLength(const aSeq: TIJSObjectDynArray): LongInt; begin Result:=InvokeJSLongIntResult('objectSequenceLength',[aSeq]); end; function TJSTestInterfaceJS.anySequenceLength(const aSeq: TVariantDynArray): LongInt; begin Result:=InvokeJSLongIntResult('anySequenceLength',[aSeq]); end; function TJSTestInterfaceJS.getCallerPrincipal: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getCallerPrincipal',[]); end; function TJSTestInterfaceJS.convertSVS(const aSvs: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('convertSVS',[aSvs]); end; function TJSTestInterfaceJS.pingPongUnion(aSomething: LongInt): TTestInterfaceJS_pingPongUnion_Type; begin Result:=InvokeJSVariantResult('pingPongUnion',[aSomething]); end; function TJSTestInterfaceJS.pingPongUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnion_Type; begin Result:=InvokeJSVariantResult('pingPongUnion',[aSomething]); end; function TJSTestInterfaceJS.pingPongUnionContainingNull(const aSomething: UnicodeString): TTestInterfaceJS_pingPongUnionContainingNull_Type; begin Result:=InvokeJSVariantResult('pingPongUnionContainingNull',[aSomething]); end; function TJSTestInterfaceJS.pingPongUnionContainingNull(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongUnionContainingNull_Type; begin Result:=InvokeJSVariantResult('pingPongUnionContainingNull',[aSomething]); end; function TJSTestInterfaceJS.pingPongNullableUnion(aSomething: LongInt): TTestInterfaceJS_pingPongNullableUnion_Type; begin Result:=InvokeJSVariantResult('pingPongNullableUnion',[aSomething]); end; function TJSTestInterfaceJS.pingPongNullableUnion(aSomething: IJSTestInterfaceJS): TTestInterfaceJS_pingPongNullableUnion_Type; begin Result:=InvokeJSVariantResult('pingPongNullableUnion',[aSomething]); end; function TJSTestInterfaceJS.returnBadUnion: TTestInterfaceJS_returnBadUnion_Type; begin Result:=InvokeJSVariantResult('returnBadUnion',[]); end; procedure TJSTestInterfaceJS.testSequenceOverload(const aArg: TUnicodeStringDynArray); begin InvokeJSNoResult('testSequenceOverload',[aArg]); end; procedure TJSTestInterfaceJS.testSequenceOverload(const aArg: UnicodeString); begin InvokeJSNoResult('testSequenceOverload',[aArg]); end; procedure TJSTestInterfaceJS.testSequenceUnion(const aArg: UnicodeString); begin InvokeJSNoResult('testSequenceUnion',[aArg]); end; procedure TJSTestInterfaceJS.testSequenceUnion(const aArg: TUnicodeStringDynArray); begin InvokeJSNoResult('testSequenceUnion',[aArg]); end; procedure TJSTestInterfaceJS.testThrowError; begin InvokeJSNoResult('testThrowError',[]); end; procedure TJSTestInterfaceJS.testThrowDOMException; begin InvokeJSNoResult('testThrowDOMException',[]); end; procedure TJSTestInterfaceJS.testThrowTypeError; begin InvokeJSNoResult('testThrowTypeError',[]); end; procedure TJSTestInterfaceJS.testThrowCallbackError(const aCallback: TFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFunction_); try InvokeJSNoResult('testThrowCallbackError',[m]); finally m.free; end; end; procedure TJSTestInterfaceJS.testThrowXraySelfHosted; begin InvokeJSNoResult('testThrowXraySelfHosted',[]); end; procedure TJSTestInterfaceJS.testThrowSelfHosted; begin InvokeJSNoResult('testThrowSelfHosted',[]); end; function TJSTestInterfaceJS.testPromiseWithThrowingChromePromiseInit: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithThrowingChromePromiseInit',[],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithThrowingContentPromiseInit(const aFunc: TFunction): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFunc),@JOBCallFunction_); try Result:=InvokeJSObjectResult('testPromiseWithThrowingContentPromiseInit',[m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSTestInterfaceJS.testPromiseWithDOMExceptionThrowingPromiseInit: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithDOMExceptionThrowingPromiseInit',[],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithThrowingChromeThenFunction: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithThrowingChromeThenFunction',[],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithThrowingContentThenFunction(const aFunc: TAnyCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aFunc),@JOBCallAnyCallback); try Result:=InvokeJSObjectResult('testPromiseWithThrowingContentThenFunction',[m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSTestInterfaceJS.testPromiseWithDOMExceptionThrowingThenFunction: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithDOMExceptionThrowingThenFunction',[],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithThrowingChromeThenable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithThrowingChromeThenable',[],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithThrowingContentThenable(aThenable: IJSObject): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithThrowingContentThenable',[aThenable],TJSPromise) as IJSPromise; end; function TJSTestInterfaceJS.testPromiseWithDOMExceptionThrowingThenable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('testPromiseWithDOMExceptionThrowingThenable',[],TJSPromise) as IJSPromise; end; class function TJSTestInterfaceJS.JSClassName: UnicodeString; begin Result:='TestInterfaceJS'; end; class function TJSTestInterfaceJS.Cast(const Intf: IJSObject): IJSTestInterfaceJS; begin Result:=TJSTestInterfaceJS.JOBCast(Intf); end; function TJSTestInterfaceJSDictionary2._GetinnerObject: IJSObject; begin Result:=ReadJSPropertyObject('innerObject',TJSObject) as IJSObject; end; procedure TJSTestInterfaceJSDictionary2._SetinnerObject(const aValue : IJSObject); begin WriteJSPropertyObject('innerObject',aValue); end; constructor TJSTestInterfaceJSDictionary2.create(const aDict : TJSTestInterfaceJSDictionary2Rec); overload; begin Self.innerObject:=aDict.innerObject; end; class function TJSTestInterfaceJSDictionary2.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTestInterfaceJSDictionary2.Cast(const Intf: IJSObject): IJSTestInterfaceJSDictionary2; begin Result:=TJSTestInterfaceJSDictionary2.JOBCast(Intf); end; function TJSTestInterfaceJSDictionary._GetinnerDictionary: IJSTestInterfaceJSDictionary2; begin Result:=ReadJSPropertyObject('innerDictionary',TJSTestInterfaceJSDictionary2) as IJSTestInterfaceJSDictionary2; end; function TJSTestInterfaceJSDictionary._GetobjectMember: IJSObject; begin Result:=ReadJSPropertyObject('objectMember',TJSObject) as IJSObject; end; function TJSTestInterfaceJSDictionary._GetanyMember: Variant; begin Result:=ReadJSPropertyVariant('anyMember'); end; function TJSTestInterfaceJSDictionary._GetobjectOrStringMember: TTestInterfaceJSDictionary_objectOrStringMember_Type; begin Result:=ReadJSPropertyVariant('objectOrStringMember'); end; function TJSTestInterfaceJSDictionary._GetanySequenceMember: TVariantDynArray; begin Result:=ReadJSPropertyObject('anySequenceMember',TJSArray) as TVariantDynArray; end; function TJSTestInterfaceJSDictionary._GetobjectRecordMember: IJSObject; begin Result:=ReadJSPropertyObject('objectRecordMember',TJSObject) as IJSObject; end; procedure TJSTestInterfaceJSDictionary._SetinnerDictionary(const aValue : IJSTestInterfaceJSDictionary2); begin WriteJSPropertyObject('innerDictionary',aValue); end; procedure TJSTestInterfaceJSDictionary._SetobjectMember(const aValue : IJSObject); begin WriteJSPropertyObject('objectMember',aValue); end; procedure TJSTestInterfaceJSDictionary._SetanyMember(const aValue : Variant); begin WriteJSPropertyVariant('anyMember',aValue); end; procedure TJSTestInterfaceJSDictionary._SetobjectOrStringMember(const aValue : TTestInterfaceJSDictionary_objectOrStringMember_Type); begin WriteJSPropertyVariant('objectOrStringMember',aValue); end; procedure TJSTestInterfaceJSDictionary._SetanySequenceMember(const aValue : TVariantDynArray); begin WriteJSPropertyObject('anySequenceMember',aValue); end; procedure TJSTestInterfaceJSDictionary._SetobjectRecordMember(const aValue : IJSObject); begin WriteJSPropertyObject('objectRecordMember',aValue); end; constructor TJSTestInterfaceJSDictionary.create(const aDict : TJSTestInterfaceJSDictionaryRec); overload; begin Self.innerDictionary:=aDict.innerDictionary; Self.objectMember:=aDict.objectMember; Self.anyMember:=aDict.anyMember; Self.objectOrStringMember:=aDict.objectOrStringMember; Self.anySequenceMember:=aDict.anySequenceMember; Self.objectRecordMember:=aDict.objectRecordMember; end; class function TJSTestInterfaceJSDictionary.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTestInterfaceJSDictionary.Cast(const Intf: IJSObject): IJSTestInterfaceJSDictionary; begin Result:=TJSTestInterfaceJSDictionary.JOBCast(Intf); end; function TJSTestInterfaceMaplike._Getsize: LongInt; begin Result:=0; end; constructor TJSTestInterfaceMaplike.Create; begin JOBCreate([]); end; function TJSTestInterfaceMaplike.get(key: UnicodeString) : LongInt; begin Result:=InvokeJSLongIntResult('get',[key]); end; function TJSTestInterfaceMaplike.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSTestInterfaceMaplike.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplike.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplike.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; Procedure TJSTestInterfaceMaplike.set_(key: UnicodeString; value : LongInt); begin InvokeJSNoResult('set',[key,Value]); end; Procedure TJSTestInterfaceMaplike.clear; begin InvokeJSNoResult('clear',[]); end; Procedure TJSTestInterfaceMaplike.delete(key: UnicodeString); begin InvokeJSNoResult('delete',[key]); end; procedure TJSTestInterfaceMaplike.setInternal(const aAKey: UnicodeString; aAValue: LongInt); begin InvokeJSNoResult('setInternal',[aAKey,aAValue]); end; procedure TJSTestInterfaceMaplike.clearInternal; begin InvokeJSNoResult('clearInternal',[]); end; function TJSTestInterfaceMaplike.deleteInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('deleteInternal',[aAKey]); end; function TJSTestInterfaceMaplike.hasInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('hasInternal',[aAKey]); end; function TJSTestInterfaceMaplike.getInternal(const aAKey: UnicodeString): LongInt; begin Result:=InvokeJSLongIntResult('getInternal',[aAKey]); end; class function TJSTestInterfaceMaplike.JSClassName: UnicodeString; begin Result:='TestInterfaceMaplike'; end; class function TJSTestInterfaceMaplike.Cast(const Intf: IJSObject): IJSTestInterfaceMaplike; begin Result:=TJSTestInterfaceMaplike.JOBCast(Intf); end; function TJSTestInterfaceMaplikeObject._Getsize: LongInt; begin Result:=0; end; constructor TJSTestInterfaceMaplikeObject.Create; begin JOBCreate([]); end; function TJSTestInterfaceMaplikeObject.get(key: UnicodeString) : TJSTestInterfaceMaplike; begin Result:=InvokeJSObjectResult('get',[key],TJSTestInterfaceMaplike) as TJSTestInterfaceMaplike; end; function TJSTestInterfaceMaplikeObject.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSTestInterfaceMaplikeObject.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplikeObject.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplikeObject.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; procedure TJSTestInterfaceMaplikeObject.setInternal(const aAKey: UnicodeString); begin InvokeJSNoResult('setInternal',[aAKey]); end; procedure TJSTestInterfaceMaplikeObject.clearInternal; begin InvokeJSNoResult('clearInternal',[]); end; function TJSTestInterfaceMaplikeObject.deleteInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('deleteInternal',[aAKey]); end; function TJSTestInterfaceMaplikeObject.hasInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('hasInternal',[aAKey]); end; function TJSTestInterfaceMaplikeObject.getInternal(const aAKey: UnicodeString): IJSTestInterfaceMaplike; begin Result:=InvokeJSObjectResult('getInternal',[aAKey],TJSTestInterfaceMaplike) as IJSTestInterfaceMaplike; end; class function TJSTestInterfaceMaplikeObject.JSClassName: UnicodeString; begin Result:='TestInterfaceMaplikeObject'; end; class function TJSTestInterfaceMaplikeObject.Cast(const Intf: IJSObject): IJSTestInterfaceMaplikeObject; begin Result:=TJSTestInterfaceMaplikeObject.JOBCast(Intf); end; function TJSTestInterfaceMaplikeJSObject._Getsize: LongInt; begin Result:=0; end; constructor TJSTestInterfaceMaplikeJSObject.Create; begin JOBCreate([]); end; function TJSTestInterfaceMaplikeJSObject.get(key: UnicodeString) : IJSObject; begin Result:=InvokeJSObjectResult('get',[key],TJSObject) as IJSObject; end; function TJSTestInterfaceMaplikeJSObject.has(key: UnicodeString) : Boolean; begin Result:=InvokeJSBooleanResult('has',[key]); end; function TJSTestInterfaceMaplikeJSObject.entries : IJSIterator; begin Result:=InvokeJSObjectResult('entries',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplikeJSObject.keys : IJSIterator; begin Result:=InvokeJSObjectResult('keys',[],TJSIterator) as IJSIterator; end; function TJSTestInterfaceMaplikeJSObject.values : IJSIterator; begin Result:=InvokeJSObjectResult('values',[],TJSIterator) as IJSIterator; end; procedure TJSTestInterfaceMaplikeJSObject.setInternal(const aAKey: UnicodeString; aAObject: IJSObject); begin InvokeJSNoResult('setInternal',[aAKey,aAObject]); end; procedure TJSTestInterfaceMaplikeJSObject.clearInternal; begin InvokeJSNoResult('clearInternal',[]); end; function TJSTestInterfaceMaplikeJSObject.deleteInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('deleteInternal',[aAKey]); end; function TJSTestInterfaceMaplikeJSObject.hasInternal(const aAKey: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('hasInternal',[aAKey]); end; function TJSTestInterfaceMaplikeJSObject.getInternal(const aAKey: UnicodeString): IJSObject; begin Result:=InvokeJSObjectResult('getInternal',[aAKey],TJSObject) as IJSObject; end; class function TJSTestInterfaceMaplikeJSObject.JSClassName: UnicodeString; begin Result:='TestInterfaceMaplikeJSObject'; end; class function TJSTestInterfaceMaplikeJSObject.Cast(const Intf: IJSObject): IJSTestInterfaceMaplikeJSObject; begin Result:=TJSTestInterfaceMaplikeJSObject.JOBCast(Intf); end; constructor TJSTestInterfaceSetlike.Create; begin JOBCreate([]); end; class function TJSTestInterfaceSetlike.JSClassName: UnicodeString; begin Result:='TestInterfaceSetlike'; end; class function TJSTestInterfaceSetlike.Cast(const Intf: IJSObject): IJSTestInterfaceSetlike; begin Result:=TJSTestInterfaceSetlike.JOBCast(Intf); end; constructor TJSTestInterfaceSetlikeNode.Create; begin JOBCreate([]); end; class function TJSTestInterfaceSetlikeNode.JSClassName: UnicodeString; begin Result:='TestInterfaceSetlikeNode'; end; class function TJSTestInterfaceSetlikeNode.Cast(const Intf: IJSObject): IJSTestInterfaceSetlikeNode; begin Result:=TJSTestInterfaceSetlikeNode.JOBCast(Intf); end; function TJSTestInterfaceIterableSingle._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; constructor TJSTestInterfaceIterableSingle.Create; begin JOBCreate([]); end; function TJSTestInterfaceIterableSingle.GetDefault(aIndex: Cardinal): LongInt; begin Result:=InvokeJSLongIntResult('',[aIndex]); end; class function TJSTestInterfaceIterableSingle.JSClassName: UnicodeString; begin Result:='TestInterfaceIterableSingle'; end; class function TJSTestInterfaceIterableSingle.Cast(const Intf: IJSObject): IJSTestInterfaceIterableSingle; begin Result:=TJSTestInterfaceIterableSingle.JOBCast(Intf); end; constructor TJSTestInterfaceIterableDouble.Create; begin JOBCreate([]); end; class function TJSTestInterfaceIterableDouble.JSClassName: UnicodeString; begin Result:='TestInterfaceIterableDouble'; end; class function TJSTestInterfaceIterableDouble.Cast(const Intf: IJSObject): IJSTestInterfaceIterableDouble; begin Result:=TJSTestInterfaceIterableDouble.JOBCast(Intf); end; constructor TJSTestInterfaceIterableDoubleUnion.Create; begin JOBCreate([]); end; class function TJSTestInterfaceIterableDoubleUnion.JSClassName: UnicodeString; begin Result:='TestInterfaceIterableDoubleUnion'; end; class function TJSTestInterfaceIterableDoubleUnion.Cast(const Intf: IJSObject): IJSTestInterfaceIterableDoubleUnion; begin Result:=TJSTestInterfaceIterableDoubleUnion.JOBCast(Intf); end; function TJSTestInterfaceAsyncIterableSingleOptions._GetfailToInit: Boolean; begin Result:=ReadJSPropertyBoolean('failToInit'); end; procedure TJSTestInterfaceAsyncIterableSingleOptions._SetfailToInit(const aValue : Boolean); begin WriteJSPropertyBoolean('failToInit',aValue); end; constructor TJSTestInterfaceAsyncIterableSingleOptions.create(const aDict : TJSTestInterfaceAsyncIterableSingleOptionsRec); overload; begin Self.failToInit:=aDict.failToInit; end; class function TJSTestInterfaceAsyncIterableSingleOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTestInterfaceAsyncIterableSingleOptions.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingleOptions; begin Result:=TJSTestInterfaceAsyncIterableSingleOptions.JOBCast(Intf); end; constructor TJSTestInterfaceAsyncIterableSingle.Create(const aOptions: IJSTestInterfaceAsyncIterableSingleOptions); begin JOBCreate([aOptions]); end; constructor TJSTestInterfaceAsyncIterableSingle.Create; begin JOBCreate([]); end; class function TJSTestInterfaceAsyncIterableSingle.JSClassName: UnicodeString; begin Result:='TestInterfaceAsyncIterableSingle'; end; class function TJSTestInterfaceAsyncIterableSingle.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingle; begin Result:=TJSTestInterfaceAsyncIterableSingle.JOBCast(Intf); end; function TJSTestInterfaceAsyncIteratorOptions._Getmultiplier: Cardinal; begin Result:=ReadJSPropertyInt64('multiplier'); end; function TJSTestInterfaceAsyncIteratorOptions._GetblockingPromises: TPromiseDynArray; begin Result:=ReadJSPropertyObject('blockingPromises',TJSArray) as TPromiseDynArray; end; function TJSTestInterfaceAsyncIteratorOptions._GetfailNextAfter: Cardinal; begin Result:=ReadJSPropertyInt64('failNextAfter'); end; function TJSTestInterfaceAsyncIteratorOptions._GetthrowFromNext: Boolean; begin Result:=ReadJSPropertyBoolean('throwFromNext'); end; function TJSTestInterfaceAsyncIteratorOptions._GetthrowFromReturn: TTestThrowingCallback; begin Result:=(TTestThrowingCallback(ReadJSPropertyMethod('throwFromReturn'))); end; procedure TJSTestInterfaceAsyncIteratorOptions._Setmultiplier(const aValue : Cardinal); begin WriteJSPropertyDouble('multiplier',aValue); end; procedure TJSTestInterfaceAsyncIteratorOptions._SetblockingPromises(const aValue : TPromiseDynArray); begin WriteJSPropertyObject('blockingPromises',aValue); end; procedure TJSTestInterfaceAsyncIteratorOptions._SetfailNextAfter(const aValue : Cardinal); begin WriteJSPropertyDouble('failNextAfter',aValue); end; procedure TJSTestInterfaceAsyncIteratorOptions._SetthrowFromNext(const aValue : Boolean); begin WriteJSPropertyBoolean('throwFromNext',aValue); end; procedure TJSTestInterfaceAsyncIteratorOptions._SetthrowFromReturn(const aValue : TTestThrowingCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallTestThrowingCallback); try InvokeJSNoResult('throwFromReturn',[m],jiSet); finally m.free end; end; constructor TJSTestInterfaceAsyncIteratorOptions.create(const aDict : TJSTestInterfaceAsyncIteratorOptionsRec); overload; begin Self.multiplier:=aDict.multiplier; Self.blockingPromises:=aDict.blockingPromises; Self.failNextAfter:=aDict.failNextAfter; Self.throwFromNext:=aDict.throwFromNext; Self.throwFromReturn:=aDict.throwFromReturn; end; class function TJSTestInterfaceAsyncIteratorOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTestInterfaceAsyncIteratorOptions.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIteratorOptions; begin Result:=TJSTestInterfaceAsyncIteratorOptions.JOBCast(Intf); end; function TJSTestInterfaceAsyncIterableSingleWithArgs._GetreturnCallCount: LongInt; begin Result:=ReadJSPropertyLongInt('returnCallCount'); end; function TJSTestInterfaceAsyncIterableSingleWithArgs._GetreturnLastCalledWith: Variant; begin Result:=ReadJSPropertyVariant('returnLastCalledWith'); end; constructor TJSTestInterfaceAsyncIterableSingleWithArgs.Create; begin JOBCreate([]); end; class function TJSTestInterfaceAsyncIterableSingleWithArgs.JSClassName: UnicodeString; begin Result:='TestInterfaceAsyncIterableSingleWithArgs'; end; class function TJSTestInterfaceAsyncIterableSingleWithArgs.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableSingleWithArgs; begin Result:=TJSTestInterfaceAsyncIterableSingleWithArgs.JOBCast(Intf); end; constructor TJSTestInterfaceAsyncIterableDouble.Create; begin JOBCreate([]); end; class function TJSTestInterfaceAsyncIterableDouble.JSClassName: UnicodeString; begin Result:='TestInterfaceAsyncIterableDouble'; end; class function TJSTestInterfaceAsyncIterableDouble.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableDouble; begin Result:=TJSTestInterfaceAsyncIterableDouble.JOBCast(Intf); end; constructor TJSTestInterfaceAsyncIterableDoubleUnion.Create; begin JOBCreate([]); end; class function TJSTestInterfaceAsyncIterableDoubleUnion.JSClassName: UnicodeString; begin Result:='TestInterfaceAsyncIterableDoubleUnion'; end; class function TJSTestInterfaceAsyncIterableDoubleUnion.Cast(const Intf: IJSObject): IJSTestInterfaceAsyncIterableDoubleUnion; begin Result:=TJSTestInterfaceAsyncIterableDoubleUnion.JOBCast(Intf); end; function TJSObservableArrayCallbacks._GetsetObjectCallback: TSetDeleteObjectCallback; begin Result:=(TSetDeleteObjectCallback(ReadJSPropertyMethod('setObjectCallback'))); end; function TJSObservableArrayCallbacks._GetdeleteObjectCallback: TSetDeleteObjectCallback; begin Result:=(TSetDeleteObjectCallback(ReadJSPropertyMethod('deleteObjectCallback'))); end; function TJSObservableArrayCallbacks._GetsetBooleanCallback: TSetDeleteBooleanCallback; begin Result:=(TSetDeleteBooleanCallback(ReadJSPropertyMethod('setBooleanCallback'))); end; function TJSObservableArrayCallbacks._GetdeleteBooleanCallback: TSetDeleteBooleanCallback; begin Result:=(TSetDeleteBooleanCallback(ReadJSPropertyMethod('deleteBooleanCallback'))); end; function TJSObservableArrayCallbacks._GetsetInterfaceCallback: TSetDeleteInterfaceCallback; begin Result:=(TSetDeleteInterfaceCallback(ReadJSPropertyMethod('setInterfaceCallback'))); end; function TJSObservableArrayCallbacks._GetdeleteInterfaceCallback: TSetDeleteInterfaceCallback; begin Result:=(TSetDeleteInterfaceCallback(ReadJSPropertyMethod('deleteInterfaceCallback'))); end; procedure TJSObservableArrayCallbacks._SetsetObjectCallback(const aValue : TSetDeleteObjectCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteObjectCallback); try InvokeJSNoResult('setObjectCallback',[m],jiSet); finally m.free end; end; procedure TJSObservableArrayCallbacks._SetdeleteObjectCallback(const aValue : TSetDeleteObjectCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteObjectCallback); try InvokeJSNoResult('deleteObjectCallback',[m],jiSet); finally m.free end; end; procedure TJSObservableArrayCallbacks._SetsetBooleanCallback(const aValue : TSetDeleteBooleanCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteBooleanCallback); try InvokeJSNoResult('setBooleanCallback',[m],jiSet); finally m.free end; end; procedure TJSObservableArrayCallbacks._SetdeleteBooleanCallback(const aValue : TSetDeleteBooleanCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteBooleanCallback); try InvokeJSNoResult('deleteBooleanCallback',[m],jiSet); finally m.free end; end; procedure TJSObservableArrayCallbacks._SetsetInterfaceCallback(const aValue : TSetDeleteInterfaceCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteInterfaceCallback); try InvokeJSNoResult('setInterfaceCallback',[m],jiSet); finally m.free end; end; procedure TJSObservableArrayCallbacks._SetdeleteInterfaceCallback(const aValue : TSetDeleteInterfaceCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallSetDeleteInterfaceCallback); try InvokeJSNoResult('deleteInterfaceCallback',[m],jiSet); finally m.free end; end; constructor TJSObservableArrayCallbacks.create(const aDict : TJSObservableArrayCallbacksRec); overload; begin Self.setObjectCallback:=aDict.setObjectCallback; Self.deleteObjectCallback:=aDict.deleteObjectCallback; Self.setBooleanCallback:=aDict.setBooleanCallback; Self.deleteBooleanCallback:=aDict.deleteBooleanCallback; Self.setInterfaceCallback:=aDict.setInterfaceCallback; Self.deleteInterfaceCallback:=aDict.deleteInterfaceCallback; end; class function TJSObservableArrayCallbacks.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSObservableArrayCallbacks.Cast(const Intf: IJSObject): IJSObservableArrayCallbacks; begin Result:=TJSObservableArrayCallbacks.JOBCast(Intf); end; function TJSTestInterfaceObservableArray._GetobservableArrayBoolean: TBooleanDynArray; begin Result:=ReadJSPropertyObject('observableArrayBoolean',TJSArray) as TBooleanDynArray; end; function TJSTestInterfaceObservableArray._GetobservableArrayObject: TIJSObjectDynArray; begin Result:=ReadJSPropertyObject('observableArrayObject',TJSArray) as TIJSObjectDynArray; end; function TJSTestInterfaceObservableArray._GetobservableArrayInterface: TJSTestInterfaceObservableArrayDynArray; begin Result:=ReadJSPropertyObject('observableArrayInterface',TJSArray) as TJSTestInterfaceObservableArrayDynArray; end; procedure TJSTestInterfaceObservableArray._SetobservableArrayBoolean(const aValue : TBooleanDynArray); begin WriteJSPropertyObject('observableArrayBoolean',aValue); end; procedure TJSTestInterfaceObservableArray._SetobservableArrayObject(const aValue : TIJSObjectDynArray); begin WriteJSPropertyObject('observableArrayObject',aValue); end; procedure TJSTestInterfaceObservableArray._SetobservableArrayInterface(const aValue : TJSTestInterfaceObservableArrayDynArray); begin WriteJSPropertyObject('observableArrayInterface',aValue); end; constructor TJSTestInterfaceObservableArray.Create(const aCallbacks: IJSObservableArrayCallbacks); begin JOBCreate([aCallbacks]); end; constructor TJSTestInterfaceObservableArray.Create; begin JOBCreate([]); end; function TJSTestInterfaceObservableArray.booleanElementAtInternal(aIndex: Cardinal): Boolean; begin Result:=InvokeJSBooleanResult('booleanElementAtInternal',[aIndex]); end; function TJSTestInterfaceObservableArray.interfaceElementAtInternal(aIndex: Cardinal): IJSTestInterfaceObservableArray; begin Result:=InvokeJSObjectResult('interfaceElementAtInternal',[aIndex],TJSTestInterfaceObservableArray) as IJSTestInterfaceObservableArray; end; function TJSTestInterfaceObservableArray.objectElementAtInternal(aIndex: Cardinal): IJSObject; begin Result:=InvokeJSObjectResult('objectElementAtInternal',[aIndex],TJSObject) as IJSObject; end; procedure TJSTestInterfaceObservableArray.booleanReplaceElementAtInternal(aIndex: Cardinal; aValue: Boolean); begin InvokeJSNoResult('booleanReplaceElementAtInternal',[aIndex,aValue]); end; procedure TJSTestInterfaceObservableArray.interfaceReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSTestInterfaceObservableArray); begin InvokeJSNoResult('interfaceReplaceElementAtInternal',[aIndex,aValue]); end; procedure TJSTestInterfaceObservableArray.objectReplaceElementAtInternal(aIndex: Cardinal; aValue: IJSObject); begin InvokeJSNoResult('objectReplaceElementAtInternal',[aIndex,aValue]); end; procedure TJSTestInterfaceObservableArray.booleanAppendElementInternal(aValue: Boolean); begin InvokeJSNoResult('booleanAppendElementInternal',[aValue]); end; procedure TJSTestInterfaceObservableArray.interfaceAppendElementInternal(aValue: IJSTestInterfaceObservableArray); begin InvokeJSNoResult('interfaceAppendElementInternal',[aValue]); end; procedure TJSTestInterfaceObservableArray.objectAppendElementInternal(aValue: IJSObject); begin InvokeJSNoResult('objectAppendElementInternal',[aValue]); end; procedure TJSTestInterfaceObservableArray.booleanRemoveLastElementInternal; begin InvokeJSNoResult('booleanRemoveLastElementInternal',[]); end; procedure TJSTestInterfaceObservableArray.interfaceRemoveLastElementInternal; begin InvokeJSNoResult('interfaceRemoveLastElementInternal',[]); end; procedure TJSTestInterfaceObservableArray.objectRemoveLastElementInternal; begin InvokeJSNoResult('objectRemoveLastElementInternal',[]); end; function TJSTestInterfaceObservableArray.booleanLengthInternal: Cardinal; begin Result:=InvokeJSLongIntResult('booleanLengthInternal',[]); end; function TJSTestInterfaceObservableArray.interfaceLengthInternal: Cardinal; begin Result:=InvokeJSLongIntResult('interfaceLengthInternal',[]); end; function TJSTestInterfaceObservableArray.objectLengthInternal: Cardinal; begin Result:=InvokeJSLongIntResult('objectLengthInternal',[]); end; class function TJSTestInterfaceObservableArray.JSClassName: UnicodeString; begin Result:='TestInterfaceObservableArray'; end; class function TJSTestInterfaceObservableArray.Cast(const Intf: IJSObject): IJSTestInterfaceObservableArray; begin Result:=TJSTestInterfaceObservableArray.JOBCast(Intf); end; function TJSTestUtils.gc: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('gc',[],TJSPromise) as IJSPromise; end; class function TJSTestUtils.JSClassName: UnicodeString; begin Result:='TestUtils'; end; class function TJSTestUtils.Cast(const Intf: IJSObject): IJSTestUtils; begin Result:=TJSTestUtils.JOBCast(Intf); end; function TJSText._GetwholeText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('wholeText'); end; function TJSText._GetassignedSlot: IJSHTMLSlotElement; begin Result:=ReadJSPropertyObject('assignedSlot',TJSHTMLSlotElement) as IJSHTMLSlotElement; end; constructor TJSText.Create(const aData: UnicodeString); begin JOBCreate([aData]); end; constructor TJSText.Create; begin JOBCreate([]); end; function TJSText.splitText(aOffset: Cardinal): IJSText; begin Result:=InvokeJSObjectResult('splitText',[aOffset],TJSText) as IJSText; end; function TJSText.getBoxQuads(const aOptions: IJSBoxQuadOptions): TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[aOptions],TJSArray) as TJSDOMQuadDynArray; end; function TJSText.getBoxQuads: TJSDOMQuadDynArray; begin Result:=InvokeJSObjectResult('getBoxQuads',[],TJSArray) as TJSDOMQuadDynArray; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertQuadFromNode(aQuad: IJSDOMQuad; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertQuadFromNode',[aQuad,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom,aOptions],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSText): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSElement): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertRectFromNode(aRect: IJSDOMRectReadOnly; aFrom: IJSDocument): IJSDOMQuad; begin Result:=InvokeJSObjectResult('convertRectFromNode',[aRect,aFrom],TJSDOMQuad) as IJSDOMQuad; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText; const aOptions: IJSConvertCoordinateOptions): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom,aOptions],TJSDOMPoint) as IJSDOMPoint; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSText): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSElement): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; function TJSText.convertPointFromNode(const aPoint: IJSDOMPointInit; aFrom: IJSDocument): IJSDOMPoint; begin Result:=InvokeJSObjectResult('convertPointFromNode',[aPoint,aFrom],TJSDOMPoint) as IJSDOMPoint; end; class function TJSText.JSClassName: UnicodeString; begin Result:='Text'; end; class function TJSText.Cast(const Intf: IJSObject): IJSText; begin Result:=TJSText.JOBCast(Intf); end; function TJSTextDecoderCommon._Getencoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encoding'); end; function TJSTextDecoderCommon._Getfatal: Boolean; begin Result:=ReadJSPropertyBoolean('fatal'); end; function TJSTextDecoderCommon._GetignoreBOM: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreBOM'); end; class function TJSTextDecoderCommon.JSClassName: UnicodeString; begin Result:='TextDecoderCommon'; end; class function TJSTextDecoderCommon.Cast(const Intf: IJSObject): IJSTextDecoderCommon; begin Result:=TJSTextDecoderCommon.JOBCast(Intf); end; constructor TJSTextDecoder.Create(const aLabel_: UnicodeString; const aOptions: IJSTextDecoderOptions); begin JOBCreate([aLabel_,aOptions]); end; constructor TJSTextDecoder.Create; begin JOBCreate([]); end; constructor TJSTextDecoder.Create(const aLabel_: UnicodeString); begin JOBCreate([aLabel_]); end; function TJSTextDecoder.decode(aInput: IJSBufferSource; const aOptions: IJSTextDecodeOptions): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('decode',[aInput,aOptions]); end; function TJSTextDecoder.decode: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('decode',[]); end; function TJSTextDecoder.decode(aInput: IJSBufferSource): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('decode',[aInput]); end; class function TJSTextDecoder.JSClassName: UnicodeString; begin Result:='TextDecoder'; end; class function TJSTextDecoder.Cast(const Intf: IJSObject): IJSTextDecoder; begin Result:=TJSTextDecoder.JOBCast(Intf); end; function TJSTextDecoderOptions._Getfatal: Boolean; begin Result:=ReadJSPropertyBoolean('fatal'); end; function TJSTextDecoderOptions._GetignoreBOM: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreBOM'); end; procedure TJSTextDecoderOptions._Setfatal(const aValue : Boolean); begin WriteJSPropertyBoolean('fatal',aValue); end; procedure TJSTextDecoderOptions._SetignoreBOM(const aValue : Boolean); begin WriteJSPropertyBoolean('ignoreBOM',aValue); end; constructor TJSTextDecoderOptions.create(const aDict : TJSTextDecoderOptionsRec); overload; begin Self.fatal:=aDict.fatal; Self.ignoreBOM:=aDict.ignoreBOM; end; class function TJSTextDecoderOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTextDecoderOptions.Cast(const Intf: IJSObject): IJSTextDecoderOptions; begin Result:=TJSTextDecoderOptions.JOBCast(Intf); end; function TJSTextDecodeOptions._Getstream: Boolean; begin Result:=ReadJSPropertyBoolean('stream'); end; procedure TJSTextDecodeOptions._Setstream(const aValue : Boolean); begin WriteJSPropertyBoolean('stream',aValue); end; constructor TJSTextDecodeOptions.create(const aDict : TJSTextDecodeOptionsRec); overload; begin Self.stream:=aDict.stream; end; class function TJSTextDecodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTextDecodeOptions.Cast(const Intf: IJSObject): IJSTextDecodeOptions; begin Result:=TJSTextDecodeOptions.JOBCast(Intf); end; function TJSTextDecoderStream._Getencoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encoding'); end; function TJSTextDecoderStream._Getfatal: Boolean; begin Result:=ReadJSPropertyBoolean('fatal'); end; function TJSTextDecoderStream._GetignoreBOM: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreBOM'); end; function TJSTextDecoderStream._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSTextDecoderStream._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; constructor TJSTextDecoderStream.Create(const aLabel_: UnicodeString; const aOptions: IJSTextDecoderOptions); begin JOBCreate([aLabel_,aOptions]); end; constructor TJSTextDecoderStream.Create; begin JOBCreate([]); end; constructor TJSTextDecoderStream.Create(const aLabel_: UnicodeString); begin JOBCreate([aLabel_]); end; class function TJSTextDecoderStream.JSClassName: UnicodeString; begin Result:='TextDecoderStream'; end; class function TJSTextDecoderStream.Cast(const Intf: IJSObject): IJSTextDecoderStream; begin Result:=TJSTextDecoderStream.JOBCast(Intf); end; function TJSTextEncoderCommon._Getencoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encoding'); end; class function TJSTextEncoderCommon.JSClassName: UnicodeString; begin Result:='TextEncoderCommon'; end; class function TJSTextEncoderCommon.Cast(const Intf: IJSObject): IJSTextEncoderCommon; begin Result:=TJSTextEncoderCommon.JOBCast(Intf); end; function TJSTextEncoderEncodeIntoResult._Getread: QWord; begin Result:=ReadJSPropertyInt64('read'); end; function TJSTextEncoderEncodeIntoResult._Getwritten: QWord; begin Result:=ReadJSPropertyInt64('written'); end; procedure TJSTextEncoderEncodeIntoResult._Setread(const aValue : QWord); begin WriteJSPropertyDouble('read',aValue); end; procedure TJSTextEncoderEncodeIntoResult._Setwritten(const aValue : QWord); begin WriteJSPropertyDouble('written',aValue); end; constructor TJSTextEncoderEncodeIntoResult.create(const aDict : TJSTextEncoderEncodeIntoResultRec); overload; begin Self.read:=aDict.read; Self.written:=aDict.written; end; class function TJSTextEncoderEncodeIntoResult.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTextEncoderEncodeIntoResult.Cast(const Intf: IJSObject): IJSTextEncoderEncodeIntoResult; begin Result:=TJSTextEncoderEncodeIntoResult.JOBCast(Intf); end; constructor TJSTextEncoder.Create; begin JOBCreate([]); end; function TJSTextEncoder.encode(const aInput: UTF8String): IJSUint8Array; begin Result:=InvokeJSObjectResult('encode',[aInput],TJSUint8Array) as IJSUint8Array; end; function TJSTextEncoder.encode: IJSUint8Array; begin Result:=InvokeJSObjectResult('encode',[],TJSUint8Array) as IJSUint8Array; end; function TJSTextEncoder.encodeInto(aSource: IJSString; aDestination: IJSUint8Array): IJSTextEncoderEncodeIntoResult; begin Result:=InvokeJSObjectResult('encodeInto',[aSource,aDestination],TJSTextEncoderEncodeIntoResult) as IJSTextEncoderEncodeIntoResult; end; class function TJSTextEncoder.JSClassName: UnicodeString; begin Result:='TextEncoder'; end; class function TJSTextEncoder.Cast(const Intf: IJSObject): IJSTextEncoder; begin Result:=TJSTextEncoder.JOBCast(Intf); end; function TJSTextEncoderStream._Getencoding: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('encoding'); end; function TJSTextEncoderStream._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSTextEncoderStream._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; constructor TJSTextEncoderStream.Create; begin JOBCreate([]); end; class function TJSTextEncoderStream.JSClassName: UnicodeString; begin Result:='TextEncoderStream'; end; class function TJSTextEncoderStream.Cast(const Intf: IJSObject): IJSTextEncoderStream; begin Result:=TJSTextEncoderStream.JOBCast(Intf); end; function TJSTextEvent._Getdata: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('data'); end; procedure TJSTextEvent.initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow; const aData: UnicodeString); begin InvokeJSNoResult('initTextEvent',[aType_,aBubbles,aCancelable,aView,aData]); end; procedure TJSTextEvent.initTextEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initTextEvent',[aType_]); end; procedure TJSTextEvent.initTextEvent(const aType_: UnicodeString; aBubbles: Boolean); begin InvokeJSNoResult('initTextEvent',[aType_,aBubbles]); end; procedure TJSTextEvent.initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initTextEvent',[aType_,aBubbles,aCancelable]); end; procedure TJSTextEvent.initTextEvent(const aType_: UnicodeString; aBubbles: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initTextEvent',[aType_,aBubbles,aCancelable,aView]); end; class function TJSTextEvent.JSClassName: UnicodeString; begin Result:='TextEvent'; end; class function TJSTextEvent.Cast(const Intf: IJSObject): IJSTextEvent; begin Result:=TJSTextEvent.JOBCast(Intf); end; function TJSTextTrack._Getkind: TTextTrackKind; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSTextTrack._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSTextTrack._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSTextTrack._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSTextTrack._GetinBandMetadataTrackDispatchType: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('inBandMetadataTrackDispatchType'); end; function TJSTextTrack._Getmode: TTextTrackMode; begin Result:=ReadJSPropertyUnicodeString('mode'); end; function TJSTextTrack._Getcues: IJSTextTrackCueList; begin Result:=ReadJSPropertyObject('cues',TJSTextTrackCueList) as IJSTextTrackCueList; end; function TJSTextTrack._GetactiveCues: IJSTextTrackCueList; begin Result:=ReadJSPropertyObject('activeCues',TJSTextTrackCueList) as IJSTextTrackCueList; end; function TJSTextTrack._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; procedure TJSTextTrack._Setmode(const aValue : TTextTrackMode); begin WriteJSPropertyUnicodeString('mode',aValue); end; procedure TJSTextTrack._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSTextTrack.addCue(aCue: IJSVTTCue); begin InvokeJSNoResult('addCue',[aCue]); end; procedure TJSTextTrack.removeCue(aCue: IJSVTTCue); begin InvokeJSNoResult('removeCue',[aCue]); end; class function TJSTextTrack.JSClassName: UnicodeString; begin Result:='TextTrack'; end; class function TJSTextTrack.Cast(const Intf: IJSObject): IJSTextTrack; begin Result:=TJSTextTrack.JOBCast(Intf); end; function TJSTextTrackCue._Gettrack: IJSTextTrack; begin Result:=ReadJSPropertyObject('track',TJSTextTrack) as IJSTextTrack; end; function TJSTextTrackCue._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSTextTrackCue._GetstartTime: Double; begin Result:=ReadJSPropertyDouble('startTime'); end; function TJSTextTrackCue._GetendTime: Double; begin Result:=ReadJSPropertyDouble('endTime'); end; function TJSTextTrackCue._GetpauseOnExit: Boolean; begin Result:=ReadJSPropertyBoolean('pauseOnExit'); end; function TJSTextTrackCue._Getonenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onenter'))); end; function TJSTextTrackCue._Getonexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onexit'))); end; procedure TJSTextTrackCue._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSTextTrackCue._SetstartTime(const aValue : Double); begin WriteJSPropertyDouble('startTime',aValue); end; procedure TJSTextTrackCue._SetendTime(const aValue : Double); begin WriteJSPropertyDouble('endTime',aValue); end; procedure TJSTextTrackCue._SetpauseOnExit(const aValue : Boolean); begin WriteJSPropertyBoolean('pauseOnExit',aValue); end; procedure TJSTextTrackCue._Setonenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onenter',[m],jiSet); finally m.free end; end; procedure TJSTextTrackCue._Setonexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onexit',[m],jiSet); finally m.free end; end; class function TJSTextTrackCue.JSClassName: UnicodeString; begin Result:='TextTrackCue'; end; class function TJSTextTrackCue.Cast(const Intf: IJSObject): IJSTextTrackCue; begin Result:=TJSTextTrackCue.JOBCast(Intf); end; function TJSTextTrackCueList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSTextTrackCueList.GetDefault(aIndex: Cardinal): IJSVTTCue; begin Result:=InvokeJSObjectResult('',[aIndex],TJSVTTCue) as IJSVTTCue; end; function TJSTextTrackCueList.getCueById(const aId: UnicodeString): IJSVTTCue; begin Result:=InvokeJSObjectResult('getCueById',[aId],TJSVTTCue) as IJSVTTCue; end; class function TJSTextTrackCueList.JSClassName: UnicodeString; begin Result:='TextTrackCueList'; end; class function TJSTextTrackCueList.Cast(const Intf: IJSObject): IJSTextTrackCueList; begin Result:=TJSTextTrackCueList.JOBCast(Intf); end; function TJSTextTrackList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSTextTrackList._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSTextTrackList._Getonaddtrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddtrack'))); end; function TJSTextTrackList._Getonremovetrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremovetrack'))); end; procedure TJSTextTrackList._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSTextTrackList._Setonaddtrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddtrack',[m],jiSet); finally m.free end; end; procedure TJSTextTrackList._Setonremovetrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremovetrack',[m],jiSet); finally m.free end; end; function TJSTextTrackList.GetDefault(aIndex: Cardinal): IJSTextTrack; begin Result:=InvokeJSObjectResult('',[aIndex],TJSTextTrack) as IJSTextTrack; end; function TJSTextTrackList.getTrackById(const aId: UnicodeString): IJSTextTrack; begin Result:=InvokeJSObjectResult('getTrackById',[aId],TJSTextTrack) as IJSTextTrack; end; class function TJSTextTrackList.JSClassName: UnicodeString; begin Result:='TextTrackList'; end; class function TJSTextTrackList.Cast(const Intf: IJSObject): IJSTextTrackList; begin Result:=TJSTextTrackList.JOBCast(Intf); end; function TJSTimeEvent._Getdetail: LongInt; begin Result:=ReadJSPropertyLongInt('detail'); end; function TJSTimeEvent._Getview: IJSWindowProxy; begin Result:=ReadJSPropertyObject('view',TJSWindowProxy) as IJSWindowProxy; end; procedure TJSTimeEvent.initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow; aADetail: LongInt); begin InvokeJSNoResult('initTimeEvent',[aAType,aAView,aADetail]); end; procedure TJSTimeEvent.initTimeEvent(const aAType: UnicodeString); begin InvokeJSNoResult('initTimeEvent',[aAType]); end; procedure TJSTimeEvent.initTimeEvent(const aAType: UnicodeString; aAView: IJSWindow); begin InvokeJSNoResult('initTimeEvent',[aAType,aAView]); end; class function TJSTimeEvent.JSClassName: UnicodeString; begin Result:='TimeEvent'; end; class function TJSTimeEvent.Cast(const Intf: IJSObject): IJSTimeEvent; begin Result:=TJSTimeEvent.JOBCast(Intf); end; function TJSTimeRanges._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSTimeRanges.start(aIndex: Cardinal): Double; begin Result:=InvokeJSDoubleResult('start',[aIndex]); end; function TJSTimeRanges.end_(aIndex: Cardinal): Double; begin Result:=InvokeJSDoubleResult('end',[aIndex]); end; class function TJSTimeRanges.JSClassName: UnicodeString; begin Result:='TimeRanges'; end; class function TJSTimeRanges.Cast(const Intf: IJSObject): IJSTimeRanges; begin Result:=TJSTimeRanges.JOBCast(Intf); end; function TJSToggleEvent._GetoldState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldState'); end; function TJSToggleEvent._GetnewState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newState'); end; constructor TJSToggleEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSToggleEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSToggleEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSToggleEvent.JSClassName: UnicodeString; begin Result:='ToggleEvent'; end; class function TJSToggleEvent.Cast(const Intf: IJSObject): IJSToggleEvent; begin Result:=TJSToggleEvent.JOBCast(Intf); end; function TJSToggleEventInit._GetoldState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('oldState'); end; function TJSToggleEventInit._GetnewState: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('newState'); end; procedure TJSToggleEventInit._SetoldState(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('oldState',aValue); end; procedure TJSToggleEventInit._SetnewState(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('newState',aValue); end; constructor TJSToggleEventInit.create(const aDict : TJSToggleEventInitRec); overload; begin Self.oldState:=aDict.oldState; Self.newState:=aDict.newState; end; class function TJSToggleEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSToggleEventInit.Cast(const Intf: IJSObject): IJSToggleEventInit; begin Result:=TJSToggleEventInit.JOBCast(Intf); end; function TJSTouchInit._Getidentifier: LongInt; begin Result:=ReadJSPropertyLongInt('identifier'); end; function TJSTouchInit._Gettarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('target',TJSEventTarget) as IJSEventTarget; end; function TJSTouchInit._GetclientX: LongInt; begin Result:=ReadJSPropertyLongInt('clientX'); end; function TJSTouchInit._GetclientY: LongInt; begin Result:=ReadJSPropertyLongInt('clientY'); end; function TJSTouchInit._GetscreenX: LongInt; begin Result:=ReadJSPropertyLongInt('screenX'); end; function TJSTouchInit._GetscreenY: LongInt; begin Result:=ReadJSPropertyLongInt('screenY'); end; function TJSTouchInit._GetpageX: LongInt; begin Result:=ReadJSPropertyLongInt('pageX'); end; function TJSTouchInit._GetpageY: LongInt; begin Result:=ReadJSPropertyLongInt('pageY'); end; function TJSTouchInit._GetradiusX: Single; begin Result:=ReadJSPropertyDouble('radiusX'); end; function TJSTouchInit._GetradiusY: Single; begin Result:=ReadJSPropertyDouble('radiusY'); end; function TJSTouchInit._GetrotationAngle: Single; begin Result:=ReadJSPropertyDouble('rotationAngle'); end; function TJSTouchInit._Getforce: Single; begin Result:=ReadJSPropertyDouble('force'); end; procedure TJSTouchInit._Setidentifier(const aValue : LongInt); begin WriteJSPropertyLongInt('identifier',aValue); end; procedure TJSTouchInit._Settarget(const aValue : IJSEventTarget); begin WriteJSPropertyObject('target',aValue); end; procedure TJSTouchInit._SetclientX(const aValue : LongInt); begin WriteJSPropertyLongInt('clientX',aValue); end; procedure TJSTouchInit._SetclientY(const aValue : LongInt); begin WriteJSPropertyLongInt('clientY',aValue); end; procedure TJSTouchInit._SetscreenX(const aValue : LongInt); begin WriteJSPropertyLongInt('screenX',aValue); end; procedure TJSTouchInit._SetscreenY(const aValue : LongInt); begin WriteJSPropertyLongInt('screenY',aValue); end; procedure TJSTouchInit._SetpageX(const aValue : LongInt); begin WriteJSPropertyLongInt('pageX',aValue); end; procedure TJSTouchInit._SetpageY(const aValue : LongInt); begin WriteJSPropertyLongInt('pageY',aValue); end; procedure TJSTouchInit._SetradiusX(const aValue : Single); begin WriteJSPropertyDouble('radiusX',aValue); end; procedure TJSTouchInit._SetradiusY(const aValue : Single); begin WriteJSPropertyDouble('radiusY',aValue); end; procedure TJSTouchInit._SetrotationAngle(const aValue : Single); begin WriteJSPropertyDouble('rotationAngle',aValue); end; procedure TJSTouchInit._Setforce(const aValue : Single); begin WriteJSPropertyDouble('force',aValue); end; constructor TJSTouchInit.create(const aDict : TJSTouchInitRec); overload; begin Self.identifier:=aDict.identifier; Self.target:=aDict.target; Self.clientX:=aDict.clientX; Self.clientY:=aDict.clientY; Self.screenX:=aDict.screenX; Self.screenY:=aDict.screenY; Self.pageX:=aDict.pageX; Self.pageY:=aDict.pageY; Self.radiusX:=aDict.radiusX; Self.radiusY:=aDict.radiusY; Self.rotationAngle:=aDict.rotationAngle; Self.force:=aDict.force; end; class function TJSTouchInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTouchInit.Cast(const Intf: IJSObject): IJSTouchInit; begin Result:=TJSTouchInit.JOBCast(Intf); end; function TJSTouch._Getidentifier: LongInt; begin Result:=ReadJSPropertyLongInt('identifier'); end; function TJSTouch._Gettarget: IJSEventTarget; begin Result:=ReadJSPropertyObject('target',TJSEventTarget) as IJSEventTarget; end; function TJSTouch._GetscreenX: LongInt; begin Result:=ReadJSPropertyLongInt('screenX'); end; function TJSTouch._GetscreenY: LongInt; begin Result:=ReadJSPropertyLongInt('screenY'); end; function TJSTouch._GetclientX: LongInt; begin Result:=ReadJSPropertyLongInt('clientX'); end; function TJSTouch._GetclientY: LongInt; begin Result:=ReadJSPropertyLongInt('clientY'); end; function TJSTouch._GetpageX: LongInt; begin Result:=ReadJSPropertyLongInt('pageX'); end; function TJSTouch._GetpageY: LongInt; begin Result:=ReadJSPropertyLongInt('pageY'); end; function TJSTouch._GetradiusX: LongInt; begin Result:=ReadJSPropertyLongInt('radiusX'); end; function TJSTouch._GetradiusY: LongInt; begin Result:=ReadJSPropertyLongInt('radiusY'); end; function TJSTouch._GetrotationAngle: Single; begin Result:=ReadJSPropertyDouble('rotationAngle'); end; function TJSTouch._Getforce: Single; begin Result:=ReadJSPropertyDouble('force'); end; constructor TJSTouch.Create(const aTouchInitDict: IJSTouchInit); begin JOBCreate([aTouchInitDict]); end; class function TJSTouch.JSClassName: UnicodeString; begin Result:='Touch'; end; class function TJSTouch.Cast(const Intf: IJSObject): IJSTouch; begin Result:=TJSTouch.JOBCast(Intf); end; function TJSTouchEventInit._Gettouches: TJSTouchDynArray; begin Result:=ReadJSPropertyObject('touches',TJSArray) as TJSTouchDynArray; end; function TJSTouchEventInit._GettargetTouches: TJSTouchDynArray; begin Result:=ReadJSPropertyObject('targetTouches',TJSArray) as TJSTouchDynArray; end; function TJSTouchEventInit._GetchangedTouches: TJSTouchDynArray; begin Result:=ReadJSPropertyObject('changedTouches',TJSArray) as TJSTouchDynArray; end; procedure TJSTouchEventInit._Settouches(const aValue : TJSTouchDynArray); begin WriteJSPropertyObject('touches',aValue); end; procedure TJSTouchEventInit._SettargetTouches(const aValue : TJSTouchDynArray); begin WriteJSPropertyObject('targetTouches',aValue); end; procedure TJSTouchEventInit._SetchangedTouches(const aValue : TJSTouchDynArray); begin WriteJSPropertyObject('changedTouches',aValue); end; constructor TJSTouchEventInit.create(const aDict : TJSTouchEventInitRec); overload; begin Self.touches:=aDict.touches; Self.targetTouches:=aDict.targetTouches; Self.changedTouches:=aDict.changedTouches; end; class function TJSTouchEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTouchEventInit.Cast(const Intf: IJSObject): IJSTouchEventInit; begin Result:=TJSTouchEventInit.JOBCast(Intf); end; function TJSTouchEvent._Gettouches: IJSTouchList; begin Result:=ReadJSPropertyObject('touches',TJSTouchList) as IJSTouchList; end; function TJSTouchEvent._GettargetTouches: IJSTouchList; begin Result:=ReadJSPropertyObject('targetTouches',TJSTouchList) as IJSTouchList; end; function TJSTouchEvent._GetchangedTouches: IJSTouchList; begin Result:=ReadJSPropertyObject('changedTouches',TJSTouchList) as IJSTouchList; end; function TJSTouchEvent._GetaltKey: Boolean; begin Result:=ReadJSPropertyBoolean('altKey'); end; function TJSTouchEvent._GetmetaKey: Boolean; begin Result:=ReadJSPropertyBoolean('metaKey'); end; function TJSTouchEvent._GetctrlKey: Boolean; begin Result:=ReadJSPropertyBoolean('ctrlKey'); end; function TJSTouchEvent._GetshiftKey: Boolean; begin Result:=ReadJSPropertyBoolean('shiftKey'); end; constructor TJSTouchEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTouchEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTouchEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList; aChangedTouches: IJSTouchList); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aTouches,aTargetTouches,aChangedTouches]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString); begin InvokeJSNoResult('initTouchEvent',[aType_]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey,aShiftKey]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey,aShiftKey,aMetaKey]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aTouches]); end; procedure TJSTouchEvent.initTouchEvent(const aType_: UnicodeString; aCanBubble: Boolean; aCancelable: Boolean; aView: IJSWindow; aDetail: LongInt; aCtrlKey: Boolean; aAltKey: Boolean; aShiftKey: Boolean; aMetaKey: Boolean; aTouches: IJSTouchList; aTargetTouches: IJSTouchList); begin InvokeJSNoResult('initTouchEvent',[aType_,aCanBubble,aCancelable,aView,aDetail,aCtrlKey,aAltKey,aShiftKey,aMetaKey,aTouches,aTargetTouches]); end; class function TJSTouchEvent.JSClassName: UnicodeString; begin Result:='TouchEvent'; end; class function TJSTouchEvent.Cast(const Intf: IJSObject): IJSTouchEvent; begin Result:=TJSTouchEvent.JOBCast(Intf); end; function TJSTouchList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSTouchList.item(aIndex: Cardinal): IJSTouch; begin Result:=InvokeJSObjectResult('item',[aIndex],TJSTouch) as IJSTouch; end; class function TJSTouchList.JSClassName: UnicodeString; begin Result:='TouchList'; end; class function TJSTouchList.Cast(const Intf: IJSObject): IJSTouchList; begin Result:=TJSTouchList.JOBCast(Intf); end; function TJSTrackEvent._Gettrack: TTrackEvent_track_Type; begin Result:=ReadJSPropertyVariant('track'); end; constructor TJSTrackEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTrackEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTrackEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSTrackEvent.JSClassName: UnicodeString; begin Result:='TrackEvent'; end; class function TJSTrackEvent.Cast(const Intf: IJSObject): IJSTrackEvent; begin Result:=TJSTrackEvent.JOBCast(Intf); end; function TJSTrackEventInit._Gettrack: TTrackEventInit_track_Type; begin Result:=ReadJSPropertyVariant('track'); end; procedure TJSTrackEventInit._Settrack(const aValue : TTrackEventInit_track_Type); begin WriteJSPropertyVariant('track',aValue); end; constructor TJSTrackEventInit.create(const aDict : TJSTrackEventInitRec); overload; begin Self.track:=aDict.track; end; class function TJSTrackEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTrackEventInit.Cast(const Intf: IJSObject): IJSTrackEventInit; begin Result:=TJSTrackEventInit.JOBCast(Intf); end; function TJSTransformer._Getstart: TTransformerStartCallback; begin Result:=(TTransformerStartCallback(ReadJSPropertyMethod('start'))); end; function TJSTransformer._Gettransform: TTransformerTransformCallback; begin Result:=(TTransformerTransformCallback(ReadJSPropertyMethod('transform'))); end; function TJSTransformer._Getflush: TTransformerFlushCallback; begin Result:=(TTransformerFlushCallback(ReadJSPropertyMethod('flush'))); end; function TJSTransformer._GetreadableType: Variant; begin Result:=ReadJSPropertyVariant('readableType'); end; function TJSTransformer._GetwritableType: Variant; begin Result:=ReadJSPropertyVariant('writableType'); end; procedure TJSTransformer._Setstart(const aValue : TTransformerStartCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallTransformerStartCallback); try InvokeJSNoResult('start',[m],jiSet); finally m.free end; end; procedure TJSTransformer._Settransform(const aValue : TTransformerTransformCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallTransformerTransformCallback); try InvokeJSNoResult('transform',[m],jiSet); finally m.free end; end; procedure TJSTransformer._Setflush(const aValue : TTransformerFlushCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallTransformerFlushCallback); try InvokeJSNoResult('flush',[m],jiSet); finally m.free end; end; procedure TJSTransformer._SetreadableType(const aValue : Variant); begin WriteJSPropertyVariant('readableType',aValue); end; procedure TJSTransformer._SetwritableType(const aValue : Variant); begin WriteJSPropertyVariant('writableType',aValue); end; constructor TJSTransformer.create(const aDict : TJSTransformerRec); overload; begin Self.start:=aDict.start; Self.transform:=aDict.transform; Self.flush:=aDict.flush; Self.readableType:=aDict.readableType; Self.writableType:=aDict.writableType; end; class function TJSTransformer.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTransformer.Cast(const Intf: IJSObject): IJSTransformer; begin Result:=TJSTransformer.JOBCast(Intf); end; function TJSTransformStream._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSTransformStream._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; constructor TJSTransformStream.Create(aTransformer: IJSObject; const aWritableStrategy: IJSQueuingStrategy; const aReadableStrategy: IJSQueuingStrategy); begin JOBCreate([aTransformer,aWritableStrategy,aReadableStrategy]); end; constructor TJSTransformStream.Create; begin JOBCreate([]); end; constructor TJSTransformStream.Create(aTransformer: IJSObject); begin JOBCreate([aTransformer]); end; constructor TJSTransformStream.Create(aTransformer: IJSObject; const aWritableStrategy: IJSQueuingStrategy); begin JOBCreate([aTransformer,aWritableStrategy]); end; class function TJSTransformStream.JSClassName: UnicodeString; begin Result:='TransformStream'; end; class function TJSTransformStream.Cast(const Intf: IJSObject): IJSTransformStream; begin Result:=TJSTransformStream.JOBCast(Intf); end; function TJSTransformStreamDefaultController._GetdesiredSize: Double; begin Result:=ReadJSPropertyDouble('desiredSize'); end; procedure TJSTransformStreamDefaultController.enqueue(const aChunk: Variant); begin InvokeJSNoResult('enqueue',[aChunk]); end; procedure TJSTransformStreamDefaultController.enqueue; begin InvokeJSNoResult('enqueue',[]); end; procedure TJSTransformStreamDefaultController.error(const aReason: Variant); begin InvokeJSNoResult('error',[aReason]); end; procedure TJSTransformStreamDefaultController.error; begin InvokeJSNoResult('error',[]); end; procedure TJSTransformStreamDefaultController.terminate; begin InvokeJSNoResult('terminate',[]); end; class function TJSTransformStreamDefaultController.JSClassName: UnicodeString; begin Result:='TransformStreamDefaultController'; end; class function TJSTransformStreamDefaultController.Cast(const Intf: IJSObject): IJSTransformStreamDefaultController; begin Result:=TJSTransformStreamDefaultController.JOBCast(Intf); end; function TJSTransitionEvent._GetpropertyName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('propertyName'); end; function TJSTransitionEvent._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSTransitionEvent._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; constructor TJSTransitionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSTransitionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSTransitionEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSTransitionEvent.JSClassName: UnicodeString; begin Result:='TransitionEvent'; end; class function TJSTransitionEvent.Cast(const Intf: IJSObject): IJSTransitionEvent; begin Result:=TJSTransitionEvent.JOBCast(Intf); end; function TJSTransitionEventInit._GetpropertyName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('propertyName'); end; function TJSTransitionEventInit._GetelapsedTime: Single; begin Result:=ReadJSPropertyDouble('elapsedTime'); end; function TJSTransitionEventInit._GetpseudoElement: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pseudoElement'); end; procedure TJSTransitionEventInit._SetpropertyName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('propertyName',aValue); end; procedure TJSTransitionEventInit._SetelapsedTime(const aValue : Single); begin WriteJSPropertyDouble('elapsedTime',aValue); end; procedure TJSTransitionEventInit._SetpseudoElement(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('pseudoElement',aValue); end; constructor TJSTransitionEventInit.create(const aDict : TJSTransitionEventInitRec); overload; begin Self.propertyName:=aDict.propertyName; Self.elapsedTime:=aDict.elapsedTime; Self.pseudoElement:=aDict.pseudoElement; end; class function TJSTransitionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTransitionEventInit.Cast(const Intf: IJSObject): IJSTransitionEventInit; begin Result:=TJSTransitionEventInit.JOBCast(Intf); end; function TJSTreeWalker._Getroot: IJSNode; begin Result:=ReadJSPropertyObject('root',TJSNode) as IJSNode; end; function TJSTreeWalker._GetwhatToShow: Cardinal; begin Result:=ReadJSPropertyInt64('whatToShow'); end; function TJSTreeWalker._Getfilter: TNodeFilter; begin Result:=(TNodeFilter(ReadJSPropertyMethod('filter'))); end; function TJSTreeWalker._GetcurrentNode: IJSNode; begin Result:=ReadJSPropertyObject('currentNode',TJSNode) as IJSNode; end; procedure TJSTreeWalker._SetcurrentNode(const aValue : IJSNode); begin WriteJSPropertyObject('currentNode',aValue); end; function TJSTreeWalker.parentNode: IJSNode; begin Result:=InvokeJSObjectResult('parentNode',[],TJSNode) as IJSNode; end; function TJSTreeWalker.firstChild: IJSNode; begin Result:=InvokeJSObjectResult('firstChild',[],TJSNode) as IJSNode; end; function TJSTreeWalker.lastChild: IJSNode; begin Result:=InvokeJSObjectResult('lastChild',[],TJSNode) as IJSNode; end; function TJSTreeWalker.previousSibling: IJSNode; begin Result:=InvokeJSObjectResult('previousSibling',[],TJSNode) as IJSNode; end; function TJSTreeWalker.nextSibling: IJSNode; begin Result:=InvokeJSObjectResult('nextSibling',[],TJSNode) as IJSNode; end; function TJSTreeWalker.previousNode: IJSNode; begin Result:=InvokeJSObjectResult('previousNode',[],TJSNode) as IJSNode; end; function TJSTreeWalker.nextNode: IJSNode; begin Result:=InvokeJSObjectResult('nextNode',[],TJSNode) as IJSNode; end; class function TJSTreeWalker.JSClassName: UnicodeString; begin Result:='TreeWalker'; end; class function TJSTreeWalker.Cast(const Intf: IJSObject): IJSTreeWalker; begin Result:=TJSTreeWalker.JOBCast(Intf); end; function TJSTrustedHTML.toJSON: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toJSON',[]); end; class function TJSTrustedHTML.JSClassName: UnicodeString; begin Result:='TrustedHTML'; end; class function TJSTrustedHTML.Cast(const Intf: IJSObject): IJSTrustedHTML; begin Result:=TJSTrustedHTML.JOBCast(Intf); end; function TJSTrustedScript.toJSON: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toJSON',[]); end; class function TJSTrustedScript.JSClassName: UnicodeString; begin Result:='TrustedScript'; end; class function TJSTrustedScript.Cast(const Intf: IJSObject): IJSTrustedScript; begin Result:=TJSTrustedScript.JOBCast(Intf); end; function TJSTrustedScriptURL.toJSON: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('toJSON',[]); end; class function TJSTrustedScriptURL.JSClassName: UnicodeString; begin Result:='TrustedScriptURL'; end; class function TJSTrustedScriptURL.Cast(const Intf: IJSObject): IJSTrustedScriptURL; begin Result:=TJSTrustedScriptURL.JOBCast(Intf); end; function TJSTrustedTypePolicy._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSTrustedTypePolicy.createHTML(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedHTML{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('createHTML',[aInput,aArguments],TJSTrustedHTML) as IJSTrustedHTML; end; function TJSTrustedTypePolicy.createScript(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScript{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('createScript',[aInput,aArguments],TJSTrustedScript) as IJSTrustedScript; end; function TJSTrustedTypePolicy.createScriptURL(const aInput: UnicodeString; const aArguments: Variant): IJSTrustedScriptURL{; ToDo:varargs}; begin Result:=InvokeJSObjectResult('createScriptURL',[aInput,aArguments],TJSTrustedScriptURL) as IJSTrustedScriptURL; end; class function TJSTrustedTypePolicy.JSClassName: UnicodeString; begin Result:='TrustedTypePolicy'; end; class function TJSTrustedTypePolicy.Cast(const Intf: IJSObject): IJSTrustedTypePolicy; begin Result:=TJSTrustedTypePolicy.JOBCast(Intf); end; function TJSTrustedTypePolicyOptions._GetcreateHTML: TCreateHTMLCallback; begin Result:=(TCreateHTMLCallback(ReadJSPropertyMethod('createHTML'))); end; function TJSTrustedTypePolicyOptions._GetcreateScript: TCreateScriptCallback; begin Result:=(TCreateScriptCallback(ReadJSPropertyMethod('createScript'))); end; function TJSTrustedTypePolicyOptions._GetcreateScriptURL: TCreateScriptURLCallback; begin Result:=(TCreateScriptURLCallback(ReadJSPropertyMethod('createScriptURL'))); end; procedure TJSTrustedTypePolicyOptions._SetcreateHTML(const aValue : TCreateHTMLCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallCreateHTMLCallback); try InvokeJSNoResult('createHTML',[m],jiSet); finally m.free end; end; procedure TJSTrustedTypePolicyOptions._SetcreateScript(const aValue : TCreateScriptCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallCreateScriptCallback); try InvokeJSNoResult('createScript',[m],jiSet); finally m.free end; end; procedure TJSTrustedTypePolicyOptions._SetcreateScriptURL(const aValue : TCreateScriptURLCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallCreateScriptURLCallback); try InvokeJSNoResult('createScriptURL',[m],jiSet); finally m.free end; end; constructor TJSTrustedTypePolicyOptions.create(const aDict : TJSTrustedTypePolicyOptionsRec); overload; begin Self.createHTML:=aDict.createHTML; Self.createScript:=aDict.createScript; Self.createScriptURL:=aDict.createScriptURL; end; class function TJSTrustedTypePolicyOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTrustedTypePolicyOptions.Cast(const Intf: IJSObject): IJSTrustedTypePolicyOptions; begin Result:=TJSTrustedTypePolicyOptions.JOBCast(Intf); end; function TJSTrustedTypePolicyFactory._GetemptyHTML: IJSTrustedHTML; begin Result:=ReadJSPropertyObject('emptyHTML',TJSTrustedHTML) as IJSTrustedHTML; end; function TJSTrustedTypePolicyFactory._GetemptyScript: IJSTrustedScript; begin Result:=ReadJSPropertyObject('emptyScript',TJSTrustedScript) as IJSTrustedScript; end; function TJSTrustedTypePolicyFactory._GetdefaultPolicy: IJSTrustedTypePolicy; begin Result:=ReadJSPropertyObject('defaultPolicy',TJSTrustedTypePolicy) as IJSTrustedTypePolicy; end; function TJSTrustedTypePolicyFactory.createPolicy(const aPolicyName: UnicodeString; const aPolicyOptions: IJSTrustedTypePolicyOptions): IJSTrustedTypePolicy; begin Result:=InvokeJSObjectResult('createPolicy',[aPolicyName,aPolicyOptions],TJSTrustedTypePolicy) as IJSTrustedTypePolicy; end; function TJSTrustedTypePolicyFactory.createPolicy(const aPolicyName: UnicodeString): IJSTrustedTypePolicy; begin Result:=InvokeJSObjectResult('createPolicy',[aPolicyName],TJSTrustedTypePolicy) as IJSTrustedTypePolicy; end; function TJSTrustedTypePolicyFactory.isHTML(const aValue: Variant): Boolean; begin Result:=InvokeJSBooleanResult('isHTML',[aValue]); end; function TJSTrustedTypePolicyFactory.isScript(const aValue: Variant): Boolean; begin Result:=InvokeJSBooleanResult('isScript',[aValue]); end; function TJSTrustedTypePolicyFactory.isScriptURL(const aValue: Variant): Boolean; begin Result:=InvokeJSBooleanResult('isScriptURL',[aValue]); end; function TJSTrustedTypePolicyFactory.getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString; const aAttrNs: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAttributeType',[aTagName,aAttribute,aElementNs,aAttrNs]); end; function TJSTrustedTypePolicyFactory.getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAttributeType',[aTagName,aAttribute]); end; function TJSTrustedTypePolicyFactory.getAttributeType(const aTagName: UnicodeString; const aAttribute: UnicodeString; const aElementNs: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAttributeType',[aTagName,aAttribute,aElementNs]); end; function TJSTrustedTypePolicyFactory.getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString; const aElementNs: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getPropertyType',[aTagName,aProperty_,aElementNs]); end; function TJSTrustedTypePolicyFactory.getPropertyType(const aTagName: UnicodeString; const aProperty_: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getPropertyType',[aTagName,aProperty_]); end; class function TJSTrustedTypePolicyFactory.JSClassName: UnicodeString; begin Result:='TrustedTypePolicyFactory'; end; class function TJSTrustedTypePolicyFactory.Cast(const Intf: IJSObject): IJSTrustedTypePolicyFactory; begin Result:=TJSTrustedTypePolicyFactory.JOBCast(Intf); end; function TJSUDPMessageEventInit._GetremoteAddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('remoteAddress'); end; function TJSUDPMessageEventInit._GetremotePort: Word; begin Result:=ReadJSPropertyLongInt('remotePort'); end; function TJSUDPMessageEventInit._Getdata: Variant; begin Result:=ReadJSPropertyVariant('data'); end; procedure TJSUDPMessageEventInit._SetremoteAddress(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('remoteAddress',aValue); end; procedure TJSUDPMessageEventInit._SetremotePort(const aValue : Word); begin WriteJSPropertyLongInt('remotePort',aValue); end; procedure TJSUDPMessageEventInit._Setdata(const aValue : Variant); begin WriteJSPropertyVariant('data',aValue); end; constructor TJSUDPMessageEventInit.create(const aDict : TJSUDPMessageEventInitRec); overload; begin Self.remoteAddress:=aDict.remoteAddress; Self.remotePort:=aDict.remotePort; Self.data:=aDict.data; end; class function TJSUDPMessageEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUDPMessageEventInit.Cast(const Intf: IJSObject): IJSUDPMessageEventInit; begin Result:=TJSUDPMessageEventInit.JOBCast(Intf); end; function TJSUDPOptions._GetlocalAddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('localAddress'); end; function TJSUDPOptions._GetlocalPort: Word; begin Result:=ReadJSPropertyLongInt('localPort'); end; function TJSUDPOptions._GetremoteAddress: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('remoteAddress'); end; function TJSUDPOptions._GetremotePort: Word; begin Result:=ReadJSPropertyLongInt('remotePort'); end; function TJSUDPOptions._GetaddressReuse: Boolean; begin Result:=ReadJSPropertyBoolean('addressReuse'); end; function TJSUDPOptions._Getloopback: Boolean; begin Result:=ReadJSPropertyBoolean('loopback'); end; procedure TJSUDPOptions._SetlocalAddress(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('localAddress',aValue); end; procedure TJSUDPOptions._SetlocalPort(const aValue : Word); begin WriteJSPropertyLongInt('localPort',aValue); end; procedure TJSUDPOptions._SetremoteAddress(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('remoteAddress',aValue); end; procedure TJSUDPOptions._SetremotePort(const aValue : Word); begin WriteJSPropertyLongInt('remotePort',aValue); end; procedure TJSUDPOptions._SetaddressReuse(const aValue : Boolean); begin WriteJSPropertyBoolean('addressReuse',aValue); end; procedure TJSUDPOptions._Setloopback(const aValue : Boolean); begin WriteJSPropertyBoolean('loopback',aValue); end; constructor TJSUDPOptions.create(const aDict : TJSUDPOptionsRec); overload; begin Self.localAddress:=aDict.localAddress; Self.localPort:=aDict.localPort; Self.remoteAddress:=aDict.remoteAddress; Self.remotePort:=aDict.remotePort; Self.addressReuse:=aDict.addressReuse; Self.loopback:=aDict.loopback; end; class function TJSUDPOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUDPOptions.Cast(const Intf: IJSObject): IJSUDPOptions; begin Result:=TJSUDPOptions.JOBCast(Intf); end; function TJSUIEvent._Getview: IJSWindowProxy; begin Result:=ReadJSPropertyObject('view',TJSWindowProxy) as IJSWindowProxy; end; function TJSUIEvent._Getdetail: LongInt; begin Result:=ReadJSPropertyLongInt('detail'); end; function TJSUIEvent._GetlayerX: LongInt; begin Result:=ReadJSPropertyLongInt('layerX'); end; function TJSUIEvent._GetlayerY: LongInt; begin Result:=ReadJSPropertyLongInt('layerY'); end; function TJSUIEvent._Getwhich: Cardinal; begin Result:=ReadJSPropertyInt64('which'); end; function TJSUIEvent._GetrangeParent: IJSNode; begin Result:=ReadJSPropertyObject('rangeParent',TJSNode) as IJSNode; end; function TJSUIEvent._GetrangeOffset: LongInt; begin Result:=ReadJSPropertyLongInt('rangeOffset'); end; constructor TJSUIEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSUIEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSUIEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; procedure TJSUIEvent.initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow; aADetail: LongInt); begin InvokeJSNoResult('initUIEvent',[aAType,aACanBubble,aACancelable,aAView,aADetail]); end; procedure TJSUIEvent.initUIEvent(const aAType: UnicodeString); begin InvokeJSNoResult('initUIEvent',[aAType]); end; procedure TJSUIEvent.initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean); begin InvokeJSNoResult('initUIEvent',[aAType,aACanBubble]); end; procedure TJSUIEvent.initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean); begin InvokeJSNoResult('initUIEvent',[aAType,aACanBubble,aACancelable]); end; procedure TJSUIEvent.initUIEvent(const aAType: UnicodeString; aACanBubble: Boolean; aACancelable: Boolean; aAView: IJSWindow); begin InvokeJSNoResult('initUIEvent',[aAType,aACanBubble,aACancelable,aAView]); end; class function TJSUIEvent.JSClassName: UnicodeString; begin Result:='UIEvent'; end; class function TJSUIEvent.Cast(const Intf: IJSObject): IJSUIEvent; begin Result:=TJSUIEvent.JOBCast(Intf); end; function TJSUIEventInit._Getview: IJSWindow; begin Result:=ReadJSPropertyObject('view',TJSWindow) as IJSWindow; end; function TJSUIEventInit._Getdetail: LongInt; begin Result:=ReadJSPropertyLongInt('detail'); end; procedure TJSUIEventInit._Setview(const aValue : IJSWindow); begin WriteJSPropertyObject('view',aValue); end; procedure TJSUIEventInit._Setdetail(const aValue : LongInt); begin WriteJSPropertyLongInt('detail',aValue); end; constructor TJSUIEventInit.create(const aDict : TJSUIEventInitRec); overload; begin Self.view:=aDict.view; Self.detail:=aDict.detail; end; class function TJSUIEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUIEventInit.Cast(const Intf: IJSObject): IJSUIEventInit; begin Result:=TJSUIEventInit.JOBCast(Intf); end; function TJSEventModifierInit._GetctrlKey: Boolean; begin Result:=ReadJSPropertyBoolean('ctrlKey'); end; function TJSEventModifierInit._GetshiftKey: Boolean; begin Result:=ReadJSPropertyBoolean('shiftKey'); end; function TJSEventModifierInit._GetaltKey: Boolean; begin Result:=ReadJSPropertyBoolean('altKey'); end; function TJSEventModifierInit._GetmetaKey: Boolean; begin Result:=ReadJSPropertyBoolean('metaKey'); end; function TJSEventModifierInit._GetmodifierAltGraph: Boolean; begin Result:=ReadJSPropertyBoolean('modifierAltGraph'); end; function TJSEventModifierInit._GetmodifierCapsLock: Boolean; begin Result:=ReadJSPropertyBoolean('modifierCapsLock'); end; function TJSEventModifierInit._GetmodifierFn: Boolean; begin Result:=ReadJSPropertyBoolean('modifierFn'); end; function TJSEventModifierInit._GetmodifierFnLock: Boolean; begin Result:=ReadJSPropertyBoolean('modifierFnLock'); end; function TJSEventModifierInit._GetmodifierNumLock: Boolean; begin Result:=ReadJSPropertyBoolean('modifierNumLock'); end; function TJSEventModifierInit._GetmodifierOS: Boolean; begin Result:=ReadJSPropertyBoolean('modifierOS'); end; function TJSEventModifierInit._GetmodifierScrollLock: Boolean; begin Result:=ReadJSPropertyBoolean('modifierScrollLock'); end; function TJSEventModifierInit._GetmodifierSymbol: Boolean; begin Result:=ReadJSPropertyBoolean('modifierSymbol'); end; function TJSEventModifierInit._GetmodifierSymbolLock: Boolean; begin Result:=ReadJSPropertyBoolean('modifierSymbolLock'); end; procedure TJSEventModifierInit._SetctrlKey(const aValue : Boolean); begin WriteJSPropertyBoolean('ctrlKey',aValue); end; procedure TJSEventModifierInit._SetshiftKey(const aValue : Boolean); begin WriteJSPropertyBoolean('shiftKey',aValue); end; procedure TJSEventModifierInit._SetaltKey(const aValue : Boolean); begin WriteJSPropertyBoolean('altKey',aValue); end; procedure TJSEventModifierInit._SetmetaKey(const aValue : Boolean); begin WriteJSPropertyBoolean('metaKey',aValue); end; procedure TJSEventModifierInit._SetmodifierAltGraph(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierAltGraph',aValue); end; procedure TJSEventModifierInit._SetmodifierCapsLock(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierCapsLock',aValue); end; procedure TJSEventModifierInit._SetmodifierFn(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierFn',aValue); end; procedure TJSEventModifierInit._SetmodifierFnLock(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierFnLock',aValue); end; procedure TJSEventModifierInit._SetmodifierNumLock(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierNumLock',aValue); end; procedure TJSEventModifierInit._SetmodifierOS(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierOS',aValue); end; procedure TJSEventModifierInit._SetmodifierScrollLock(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierScrollLock',aValue); end; procedure TJSEventModifierInit._SetmodifierSymbol(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierSymbol',aValue); end; procedure TJSEventModifierInit._SetmodifierSymbolLock(const aValue : Boolean); begin WriteJSPropertyBoolean('modifierSymbolLock',aValue); end; constructor TJSEventModifierInit.create(const aDict : TJSEventModifierInitRec); overload; begin Self.ctrlKey:=aDict.ctrlKey; Self.shiftKey:=aDict.shiftKey; Self.altKey:=aDict.altKey; Self.metaKey:=aDict.metaKey; Self.modifierAltGraph:=aDict.modifierAltGraph; Self.modifierCapsLock:=aDict.modifierCapsLock; Self.modifierFn:=aDict.modifierFn; Self.modifierFnLock:=aDict.modifierFnLock; Self.modifierNumLock:=aDict.modifierNumLock; Self.modifierOS:=aDict.modifierOS; Self.modifierScrollLock:=aDict.modifierScrollLock; Self.modifierSymbol:=aDict.modifierSymbol; Self.modifierSymbolLock:=aDict.modifierSymbolLock; end; class function TJSEventModifierInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEventModifierInit.Cast(const Intf: IJSObject): IJSEventModifierInit; begin Result:=TJSEventModifierInit.JOBCast(Intf); end; function TJSUnderlyingSink._Getstart: TUnderlyingSinkStartCallback; begin Result:=(TUnderlyingSinkStartCallback(ReadJSPropertyMethod('start'))); end; function TJSUnderlyingSink._Getwrite: TUnderlyingSinkWriteCallback; begin Result:=(TUnderlyingSinkWriteCallback(ReadJSPropertyMethod('write'))); end; function TJSUnderlyingSink._Getclose: TUnderlyingSinkCloseCallback; begin Result:=(TUnderlyingSinkCloseCallback(ReadJSPropertyMethod('close'))); end; function TJSUnderlyingSink._Getabort: TUnderlyingSinkAbortCallback; begin Result:=(TUnderlyingSinkAbortCallback(ReadJSPropertyMethod('abort'))); end; function TJSUnderlyingSink._Gettype_: Variant; begin Result:=ReadJSPropertyVariant('type'); end; procedure TJSUnderlyingSink._Setstart(const aValue : TUnderlyingSinkStartCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSinkStartCallback); try InvokeJSNoResult('start',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSink._Setwrite(const aValue : TUnderlyingSinkWriteCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSinkWriteCallback); try InvokeJSNoResult('write',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSink._Setclose(const aValue : TUnderlyingSinkCloseCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSinkCloseCallback); try InvokeJSNoResult('close',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSink._Setabort(const aValue : TUnderlyingSinkAbortCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSinkAbortCallback); try InvokeJSNoResult('abort',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSink._Settype_(const aValue : Variant); begin WriteJSPropertyVariant('type',aValue); end; constructor TJSUnderlyingSink.create(const aDict : TJSUnderlyingSinkRec); overload; begin Self.start:=aDict.start; Self.write:=aDict.write; Self.close:=aDict.close; Self.abort:=aDict.abort; Self.type_:=aDict.type_; end; class function TJSUnderlyingSink.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUnderlyingSink.Cast(const Intf: IJSObject): IJSUnderlyingSink; begin Result:=TJSUnderlyingSink.JOBCast(Intf); end; function TJSUnderlyingSource._Getstart: TUnderlyingSourceStartCallback; begin Result:=(TUnderlyingSourceStartCallback(ReadJSPropertyMethod('start'))); end; function TJSUnderlyingSource._Getpull: TUnderlyingSourcePullCallback; begin Result:=(TUnderlyingSourcePullCallback(ReadJSPropertyMethod('pull'))); end; function TJSUnderlyingSource._Getcancel: TUnderlyingSourceCancelCallback; begin Result:=(TUnderlyingSourceCancelCallback(ReadJSPropertyMethod('cancel'))); end; function TJSUnderlyingSource._Gettype_: TReadableStreamType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSUnderlyingSource._GetautoAllocateChunkSize: QWord; begin Result:=ReadJSPropertyInt64('autoAllocateChunkSize'); end; procedure TJSUnderlyingSource._Setstart(const aValue : TUnderlyingSourceStartCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSourceStartCallback); try InvokeJSNoResult('start',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSource._Setpull(const aValue : TUnderlyingSourcePullCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSourcePullCallback); try InvokeJSNoResult('pull',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSource._Setcancel(const aValue : TUnderlyingSourceCancelCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallUnderlyingSourceCancelCallback); try InvokeJSNoResult('cancel',[m],jiSet); finally m.free end; end; procedure TJSUnderlyingSource._Settype_(const aValue : TReadableStreamType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSUnderlyingSource._SetautoAllocateChunkSize(const aValue : QWord); begin WriteJSPropertyDouble('autoAllocateChunkSize',aValue); end; constructor TJSUnderlyingSource.create(const aDict : TJSUnderlyingSourceRec); overload; begin Self.start:=aDict.start; Self.pull:=aDict.pull; Self.cancel:=aDict.cancel; Self.type_:=aDict.type_; Self.autoAllocateChunkSize:=aDict.autoAllocateChunkSize; end; class function TJSUnderlyingSource.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUnderlyingSource.Cast(const Intf: IJSObject): IJSUnderlyingSource; begin Result:=TJSUnderlyingSource.JOBCast(Intf); end; function TJSURL._Gethref: UTF8String; begin Result:=ReadJSPropertyUTF8String('href'); end; function TJSURL._Getorigin: UTF8String; begin Result:=ReadJSPropertyUTF8String('origin'); end; function TJSURL._Getprotocol: UTF8String; begin Result:=ReadJSPropertyUTF8String('protocol'); end; function TJSURL._Getusername: UTF8String; begin Result:=ReadJSPropertyUTF8String('username'); end; function TJSURL._Getpassword: UTF8String; begin Result:=ReadJSPropertyUTF8String('password'); end; function TJSURL._Gethost: UTF8String; begin Result:=ReadJSPropertyUTF8String('host'); end; function TJSURL._Gethostname: UTF8String; begin Result:=ReadJSPropertyUTF8String('hostname'); end; function TJSURL._Getport: UTF8String; begin Result:=ReadJSPropertyUTF8String('port'); end; function TJSURL._Getpathname: UTF8String; begin Result:=ReadJSPropertyUTF8String('pathname'); end; function TJSURL._Getsearch: UTF8String; begin Result:=ReadJSPropertyUTF8String('search'); end; function TJSURL._GetsearchParams: IJSURLSearchParams; begin Result:=ReadJSPropertyObject('searchParams',TJSURLSearchParams) as IJSURLSearchParams; end; function TJSURL._Gethash: UTF8String; begin Result:=ReadJSPropertyUTF8String('hash'); end; procedure TJSURL._Setprotocol(const aValue : UTF8String); begin WriteJSPropertyUTF8String('protocol',aValue); end; procedure TJSURL._Setusername(const aValue : UTF8String); begin WriteJSPropertyUTF8String('username',aValue); end; procedure TJSURL._Setpassword(const aValue : UTF8String); begin WriteJSPropertyUTF8String('password',aValue); end; procedure TJSURL._Sethost(const aValue : UTF8String); begin WriteJSPropertyUTF8String('host',aValue); end; procedure TJSURL._Sethostname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hostname',aValue); end; procedure TJSURL._Setport(const aValue : UTF8String); begin WriteJSPropertyUTF8String('port',aValue); end; procedure TJSURL._Setpathname(const aValue : UTF8String); begin WriteJSPropertyUTF8String('pathname',aValue); end; procedure TJSURL._Setsearch(const aValue : UTF8String); begin WriteJSPropertyUTF8String('search',aValue); end; procedure TJSURL._Sethash(const aValue : UTF8String); begin WriteJSPropertyUTF8String('hash',aValue); end; constructor TJSURL.Create(const aUrl: UTF8String; const aBase: UTF8String); begin JOBCreate([aUrl,aBase]); end; constructor TJSURL.Create(const aUrl: UTF8String); begin JOBCreate([aUrl]); end; function TJSURL.parse(const aUrl: UTF8String; const aBase: UTF8String): IJSURL; begin Result:=InvokeJSObjectResult('parse',[aUrl,aBase],TJSURL) as IJSURL; end; function TJSURL.parse(const aUrl: UTF8String): IJSURL; begin Result:=InvokeJSObjectResult('parse',[aUrl],TJSURL) as IJSURL; end; function TJSURL.canParse(const aUrl: UTF8String; const aBase: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('canParse',[aUrl,aBase]); end; function TJSURL.canParse(const aUrl: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('canParse',[aUrl]); end; function TJSURL.toJSON: UTF8String; begin Result:=InvokeJSUTF8StringResult('toJSON',[]); end; function TJSURL.createObjectURL(aBlob: IJSBlob): UTF8String; begin Result:=InvokeJSUTF8StringResult('createObjectURL',[aBlob]); end; procedure TJSURL.revokeObjectURL(const aUrl: UTF8String); begin InvokeJSNoResult('revokeObjectURL',[aUrl]); end; function TJSURL.createObjectURL(aSource: IJSMediaSource): UTF8String; begin Result:=InvokeJSUTF8StringResult('createObjectURL',[aSource]); end; class function TJSURL.JSClassName: UnicodeString; begin Result:='URL'; end; class function TJSURL.Cast(const Intf: IJSObject): IJSURL; begin Result:=TJSURL.JOBCast(Intf); end; function TJSURLSearchParams._Getsize: Cardinal; begin Result:=ReadJSPropertyInt64('size'); end; constructor TJSURLSearchParams.Create(aInit: IJSObject); begin JOBCreate([aInit]); end; constructor TJSURLSearchParams.Create; begin JOBCreate([]); end; constructor TJSURLSearchParams.Create(const aInit: TsequenceDynArrayDynArray); begin JOBCreate([aInit]); end; constructor TJSURLSearchParams.Create(const aInit: UTF8String); begin JOBCreate([aInit]); end; procedure TJSURLSearchParams.append(const aName: UTF8String; const aValue: UTF8String); begin InvokeJSNoResult('append',[aName,aValue]); end; procedure TJSURLSearchParams.delete(const aName: UTF8String; const aValue: UTF8String); begin InvokeJSNoResult('delete',[aName,aValue]); end; procedure TJSURLSearchParams.delete(const aName: UTF8String); begin InvokeJSNoResult('delete',[aName]); end; function TJSURLSearchParams.get(const aName: UTF8String): UTF8String; begin Result:=InvokeJSUTF8StringResult('get',[aName]); end; function TJSURLSearchParams.getAll(const aName: UTF8String): TUTF8StringDynArray; begin Result:=InvokeJSObjectResult('getAll',[aName],TJSArray) as TUTF8StringDynArray; end; function TJSURLSearchParams.has(const aName: UTF8String; const aValue: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('has',[aName,aValue]); end; function TJSURLSearchParams.has(const aName: UTF8String): Boolean; begin Result:=InvokeJSBooleanResult('has',[aName]); end; procedure TJSURLSearchParams.set_(const aName: UTF8String; const aValue: UTF8String); begin InvokeJSNoResult('set',[aName,aValue]); end; procedure TJSURLSearchParams.sort; begin InvokeJSNoResult('sort',[]); end; class function TJSURLSearchParams.JSClassName: UnicodeString; begin Result:='URLSearchParams'; end; class function TJSURLSearchParams.Cast(const Intf: IJSObject): IJSURLSearchParams; begin Result:=TJSURLSearchParams.JOBCast(Intf); end; function TJSUserActivation._GethasBeenActive: Boolean; begin Result:=ReadJSPropertyBoolean('hasBeenActive'); end; function TJSUserActivation._GetisActive: Boolean; begin Result:=ReadJSPropertyBoolean('isActive'); end; class function TJSUserActivation.JSClassName: UnicodeString; begin Result:='UserActivation'; end; class function TJSUserActivation.Cast(const Intf: IJSObject): IJSUserActivation; begin Result:=TJSUserActivation.JOBCast(Intf); end; function TJSUserProximityEvent._Getnear: Boolean; begin Result:=ReadJSPropertyBoolean('near'); end; constructor TJSUserProximityEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSUserProximityEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSUserProximityEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSUserProximityEvent.JSClassName: UnicodeString; begin Result:='UserProximityEvent'; end; class function TJSUserProximityEvent.Cast(const Intf: IJSObject): IJSUserProximityEvent; begin Result:=TJSUserProximityEvent.JOBCast(Intf); end; function TJSUserProximityEventInit._Getnear: Boolean; begin Result:=ReadJSPropertyBoolean('near'); end; procedure TJSUserProximityEventInit._Setnear(const aValue : Boolean); begin WriteJSPropertyBoolean('near',aValue); end; constructor TJSUserProximityEventInit.create(const aDict : TJSUserProximityEventInitRec); overload; begin Self.near:=aDict.near; end; class function TJSUserProximityEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSUserProximityEventInit.Cast(const Intf: IJSObject): IJSUserProximityEventInit; begin Result:=TJSUserProximityEventInit.JOBCast(Intf); end; function TJSValidityState._GetvalueMissing: Boolean; begin Result:=ReadJSPropertyBoolean('valueMissing'); end; function TJSValidityState._GettypeMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('typeMismatch'); end; function TJSValidityState._GetpatternMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('patternMismatch'); end; function TJSValidityState._GettooLong: Boolean; begin Result:=ReadJSPropertyBoolean('tooLong'); end; function TJSValidityState._GettooShort: Boolean; begin Result:=ReadJSPropertyBoolean('tooShort'); end; function TJSValidityState._GetrangeUnderflow: Boolean; begin Result:=ReadJSPropertyBoolean('rangeUnderflow'); end; function TJSValidityState._GetrangeOverflow: Boolean; begin Result:=ReadJSPropertyBoolean('rangeOverflow'); end; function TJSValidityState._GetstepMismatch: Boolean; begin Result:=ReadJSPropertyBoolean('stepMismatch'); end; function TJSValidityState._GetbadInput: Boolean; begin Result:=ReadJSPropertyBoolean('badInput'); end; function TJSValidityState._GetcustomError: Boolean; begin Result:=ReadJSPropertyBoolean('customError'); end; function TJSValidityState._Getvalid: Boolean; begin Result:=ReadJSPropertyBoolean('valid'); end; class function TJSValidityState.JSClassName: UnicodeString; begin Result:='ValidityState'; end; class function TJSValidityState.Cast(const Intf: IJSObject): IJSValidityState; begin Result:=TJSValidityState.JOBCast(Intf); end; function TJSVideoColorSpace._Getprimaries: TVideoColorPrimaries; begin Result:=ReadJSPropertyUnicodeString('primaries'); end; function TJSVideoColorSpace._Gettransfer: TVideoTransferCharacteristics; begin Result:=ReadJSPropertyUnicodeString('transfer'); end; function TJSVideoColorSpace._Getmatrix: TVideoMatrixCoefficients; begin Result:=ReadJSPropertyUnicodeString('matrix'); end; function TJSVideoColorSpace._GetfullRange: Boolean; begin Result:=ReadJSPropertyBoolean('fullRange'); end; constructor TJSVideoColorSpace.Create(const aInit: IJSVideoColorSpaceInit); begin JOBCreate([aInit]); end; constructor TJSVideoColorSpace.Create; begin JOBCreate([]); end; function TJSVideoColorSpace.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; class function TJSVideoColorSpace.JSClassName: UnicodeString; begin Result:='VideoColorSpace'; end; class function TJSVideoColorSpace.Cast(const Intf: IJSObject): IJSVideoColorSpace; begin Result:=TJSVideoColorSpace.JOBCast(Intf); end; function TJSVideoColorSpaceInit._Getprimaries: TVideoColorPrimaries; begin Result:=ReadJSPropertyUnicodeString('primaries'); end; function TJSVideoColorSpaceInit._Gettransfer: TVideoTransferCharacteristics; begin Result:=ReadJSPropertyUnicodeString('transfer'); end; function TJSVideoColorSpaceInit._Getmatrix: TVideoMatrixCoefficients; begin Result:=ReadJSPropertyUnicodeString('matrix'); end; function TJSVideoColorSpaceInit._GetfullRange: Boolean; begin Result:=ReadJSPropertyBoolean('fullRange'); end; procedure TJSVideoColorSpaceInit._Setprimaries(const aValue : TVideoColorPrimaries); begin WriteJSPropertyUnicodeString('primaries',aValue); end; procedure TJSVideoColorSpaceInit._Settransfer(const aValue : TVideoTransferCharacteristics); begin WriteJSPropertyUnicodeString('transfer',aValue); end; procedure TJSVideoColorSpaceInit._Setmatrix(const aValue : TVideoMatrixCoefficients); begin WriteJSPropertyUnicodeString('matrix',aValue); end; procedure TJSVideoColorSpaceInit._SetfullRange(const aValue : Boolean); begin WriteJSPropertyBoolean('fullRange',aValue); end; constructor TJSVideoColorSpaceInit.create(const aDict : TJSVideoColorSpaceInitRec); overload; begin Self.primaries:=aDict.primaries; Self.transfer:=aDict.transfer; Self.matrix:=aDict.matrix; Self.fullRange:=aDict.fullRange; end; class function TJSVideoColorSpaceInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoColorSpaceInit.Cast(const Intf: IJSObject): IJSVideoColorSpaceInit; begin Result:=TJSVideoColorSpaceInit.JOBCast(Intf); end; function TJSVideoDecoder._Getstate: TCodecState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSVideoDecoder._GetdecodeQueueSize: Cardinal; begin Result:=ReadJSPropertyInt64('decodeQueueSize'); end; function TJSVideoDecoder._Getondequeue: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondequeue'))); end; procedure TJSVideoDecoder._Setondequeue(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondequeue',[m],jiSet); finally m.free end; end; constructor TJSVideoDecoder.Create(const aInit: IJSVideoDecoderInit); begin JOBCreate([aInit]); end; procedure TJSVideoDecoder.configure(const aConfig: IJSVideoDecoderConfig); begin InvokeJSNoResult('configure',[aConfig]); end; procedure TJSVideoDecoder.decode(aChunk: IJSEncodedVideoChunk); begin InvokeJSNoResult('decode',[aChunk]); end; function TJSVideoDecoder.flush: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('flush',[],TJSPromise) as IJSPromise; end; procedure TJSVideoDecoder.reset; begin InvokeJSNoResult('reset',[]); end; procedure TJSVideoDecoder.close; begin InvokeJSNoResult('close',[]); end; function TJSVideoDecoder.isConfigSupported(const aConfig: IJSVideoDecoderConfig): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isConfigSupported',[aConfig],TJSPromise) as IJSPromise; end; class function TJSVideoDecoder.JSClassName: UnicodeString; begin Result:='VideoDecoder'; end; class function TJSVideoDecoder.Cast(const Intf: IJSObject): IJSVideoDecoder; begin Result:=TJSVideoDecoder.JOBCast(Intf); end; function TJSVideoDecoderInit._Getoutput: TVideoFrameOutputCallback; begin Result:=(TVideoFrameOutputCallback(ReadJSPropertyMethod('output'))); end; function TJSVideoDecoderInit._Geterror: TWebCodecsErrorCallback; begin Result:=(TWebCodecsErrorCallback(ReadJSPropertyMethod('error'))); end; procedure TJSVideoDecoderInit._Setoutput(const aValue : TVideoFrameOutputCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallVideoFrameOutputCallback); try InvokeJSNoResult('output',[m],jiSet); finally m.free end; end; procedure TJSVideoDecoderInit._Seterror(const aValue : TWebCodecsErrorCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallWebCodecsErrorCallback); try InvokeJSNoResult('error',[m],jiSet); finally m.free end; end; constructor TJSVideoDecoderInit.create(const aDict : TJSVideoDecoderInitRec); overload; begin Self.output:=aDict.output; Self.error:=aDict.error; end; class function TJSVideoDecoderInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoDecoderInit.Cast(const Intf: IJSObject): IJSVideoDecoderInit; begin Result:=TJSVideoDecoderInit.JOBCast(Intf); end; function TJSVideoDecoderSupport._Getsupported: Boolean; begin Result:=ReadJSPropertyBoolean('supported'); end; function TJSVideoDecoderSupport._Getconfig: IJSVideoDecoderConfig; begin Result:=ReadJSPropertyObject('config',TJSVideoDecoderConfig) as IJSVideoDecoderConfig; end; procedure TJSVideoDecoderSupport._Setsupported(const aValue : Boolean); begin WriteJSPropertyBoolean('supported',aValue); end; procedure TJSVideoDecoderSupport._Setconfig(const aValue : IJSVideoDecoderConfig); begin WriteJSPropertyObject('config',aValue); end; constructor TJSVideoDecoderSupport.create(const aDict : TJSVideoDecoderSupportRec); overload; begin Self.supported:=aDict.supported; Self.config:=aDict.config; end; class function TJSVideoDecoderSupport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoDecoderSupport.Cast(const Intf: IJSObject): IJSVideoDecoderSupport; begin Result:=TJSVideoDecoderSupport.JOBCast(Intf); end; function TJSVideoDecoderConfig._Getcodec: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codec'); end; function TJSVideoDecoderConfig._Getdescription: TVideoDecoderConfig_description_Type; begin Result:=ReadJSPropertyVariant('description'); end; function TJSVideoDecoderConfig._GetcodedWidth: Cardinal; begin Result:=ReadJSPropertyInt64('codedWidth'); end; function TJSVideoDecoderConfig._GetcodedHeight: Cardinal; begin Result:=ReadJSPropertyInt64('codedHeight'); end; function TJSVideoDecoderConfig._GetdisplayAspectWidth: Cardinal; begin Result:=ReadJSPropertyInt64('displayAspectWidth'); end; function TJSVideoDecoderConfig._GetdisplayAspectHeight: Cardinal; begin Result:=ReadJSPropertyInt64('displayAspectHeight'); end; function TJSVideoDecoderConfig._GetcolorSpace: IJSVideoColorSpaceInit; begin Result:=ReadJSPropertyObject('colorSpace',TJSVideoColorSpaceInit) as IJSVideoColorSpaceInit; end; function TJSVideoDecoderConfig._GethardwareAcceleration: THardwareAcceleration; begin Result:=ReadJSPropertyUnicodeString('hardwareAcceleration'); end; function TJSVideoDecoderConfig._GetoptimizeForLatency: Boolean; begin Result:=ReadJSPropertyBoolean('optimizeForLatency'); end; procedure TJSVideoDecoderConfig._Setcodec(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codec',aValue); end; procedure TJSVideoDecoderConfig._Setdescription(const aValue : TVideoDecoderConfig_description_Type); begin WriteJSPropertyVariant('description',aValue); end; procedure TJSVideoDecoderConfig._SetcodedWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('codedWidth',aValue); end; procedure TJSVideoDecoderConfig._SetcodedHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('codedHeight',aValue); end; procedure TJSVideoDecoderConfig._SetdisplayAspectWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('displayAspectWidth',aValue); end; procedure TJSVideoDecoderConfig._SetdisplayAspectHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('displayAspectHeight',aValue); end; procedure TJSVideoDecoderConfig._SetcolorSpace(const aValue : IJSVideoColorSpaceInit); begin WriteJSPropertyObject('colorSpace',aValue); end; procedure TJSVideoDecoderConfig._SethardwareAcceleration(const aValue : THardwareAcceleration); begin WriteJSPropertyUnicodeString('hardwareAcceleration',aValue); end; procedure TJSVideoDecoderConfig._SetoptimizeForLatency(const aValue : Boolean); begin WriteJSPropertyBoolean('optimizeForLatency',aValue); end; constructor TJSVideoDecoderConfig.create(const aDict : TJSVideoDecoderConfigRec); overload; begin Self.codec:=aDict.codec; Self.description:=aDict.description; Self.codedWidth:=aDict.codedWidth; Self.codedHeight:=aDict.codedHeight; Self.displayAspectWidth:=aDict.displayAspectWidth; Self.displayAspectHeight:=aDict.displayAspectHeight; Self.colorSpace:=aDict.colorSpace; Self.hardwareAcceleration:=aDict.hardwareAcceleration; Self.optimizeForLatency:=aDict.optimizeForLatency; end; class function TJSVideoDecoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoDecoderConfig.Cast(const Intf: IJSObject): IJSVideoDecoderConfig; begin Result:=TJSVideoDecoderConfig.JOBCast(Intf); end; function TJSVideoEncoder._Getstate: TCodecState; begin Result:=ReadJSPropertyUnicodeString('state'); end; function TJSVideoEncoder._GetencodeQueueSize: Cardinal; begin Result:=ReadJSPropertyInt64('encodeQueueSize'); end; function TJSVideoEncoder._Getondequeue: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondequeue'))); end; procedure TJSVideoEncoder._Setondequeue(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondequeue',[m],jiSet); finally m.free end; end; constructor TJSVideoEncoder.Create(const aInit: IJSVideoEncoderInit); begin JOBCreate([aInit]); end; procedure TJSVideoEncoder.configure(const aConfig: IJSVideoEncoderConfig); begin InvokeJSNoResult('configure',[aConfig]); end; procedure TJSVideoEncoder.encode(aFrame: IJSVideoFrame; const aOptions: IJSVideoEncoderEncodeOptions); begin InvokeJSNoResult('encode',[aFrame,aOptions]); end; procedure TJSVideoEncoder.encode(aFrame: IJSVideoFrame); begin InvokeJSNoResult('encode',[aFrame]); end; function TJSVideoEncoder.flush: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('flush',[],TJSPromise) as IJSPromise; end; procedure TJSVideoEncoder.reset; begin InvokeJSNoResult('reset',[]); end; procedure TJSVideoEncoder.close; begin InvokeJSNoResult('close',[]); end; function TJSVideoEncoder.isConfigSupported(const aConfig: IJSVideoEncoderConfig): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isConfigSupported',[aConfig],TJSPromise) as IJSPromise; end; class function TJSVideoEncoder.JSClassName: UnicodeString; begin Result:='VideoEncoder'; end; class function TJSVideoEncoder.Cast(const Intf: IJSObject): IJSVideoEncoder; begin Result:=TJSVideoEncoder.JOBCast(Intf); end; function TJSVideoEncoderInit._Getoutput: TEncodedVideoChunkOutputCallback; begin Result:=(TEncodedVideoChunkOutputCallback(ReadJSPropertyMethod('output'))); end; function TJSVideoEncoderInit._Geterror: TWebCodecsErrorCallback; begin Result:=(TWebCodecsErrorCallback(ReadJSPropertyMethod('error'))); end; procedure TJSVideoEncoderInit._Setoutput(const aValue : TEncodedVideoChunkOutputCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEncodedVideoChunkOutputCallback); try InvokeJSNoResult('output',[m],jiSet); finally m.free end; end; procedure TJSVideoEncoderInit._Seterror(const aValue : TWebCodecsErrorCallback); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallWebCodecsErrorCallback); try InvokeJSNoResult('error',[m],jiSet); finally m.free end; end; constructor TJSVideoEncoderInit.create(const aDict : TJSVideoEncoderInitRec); overload; begin Self.output:=aDict.output; Self.error:=aDict.error; end; class function TJSVideoEncoderInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoEncoderInit.Cast(const Intf: IJSObject): IJSVideoEncoderInit; begin Result:=TJSVideoEncoderInit.JOBCast(Intf); end; function TJSAvcEncoderConfig._Getformat: TAvcBitstreamFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; procedure TJSAvcEncoderConfig._Setformat(const aValue : TAvcBitstreamFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; constructor TJSAvcEncoderConfig.create(const aDict : TJSAvcEncoderConfigRec); overload; begin Self.format:=aDict.format; end; class function TJSAvcEncoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAvcEncoderConfig.Cast(const Intf: IJSObject): IJSAvcEncoderConfig; begin Result:=TJSAvcEncoderConfig.JOBCast(Intf); end; function TJSVideoEncoderConfig._Getcodec: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('codec'); end; function TJSVideoEncoderConfig._Getwidth: Cardinal; begin Result:=ReadJSPropertyInt64('width'); end; function TJSVideoEncoderConfig._Getheight: Cardinal; begin Result:=ReadJSPropertyInt64('height'); end; function TJSVideoEncoderConfig._GetdisplayWidth: Cardinal; begin Result:=ReadJSPropertyInt64('displayWidth'); end; function TJSVideoEncoderConfig._GetdisplayHeight: Cardinal; begin Result:=ReadJSPropertyInt64('displayHeight'); end; function TJSVideoEncoderConfig._Getbitrate: QWord; begin Result:=ReadJSPropertyInt64('bitrate'); end; function TJSVideoEncoderConfig._Getframerate: Double; begin Result:=ReadJSPropertyDouble('framerate'); end; function TJSVideoEncoderConfig._GethardwareAcceleration: THardwareAcceleration; begin Result:=ReadJSPropertyUnicodeString('hardwareAcceleration'); end; function TJSVideoEncoderConfig._Getalpha: TAlphaOption; begin Result:=ReadJSPropertyUnicodeString('alpha'); end; function TJSVideoEncoderConfig._GetscalabilityMode: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('scalabilityMode'); end; function TJSVideoEncoderConfig._GetbitrateMode: TVideoEncoderBitrateMode; begin Result:=ReadJSPropertyUnicodeString('bitrateMode'); end; function TJSVideoEncoderConfig._GetlatencyMode: TLatencyMode; begin Result:=ReadJSPropertyUnicodeString('latencyMode'); end; function TJSVideoEncoderConfig._GetcontentHint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('contentHint'); end; function TJSVideoEncoderConfig._Getavc: IJSAvcEncoderConfig; begin Result:=ReadJSPropertyObject('avc',TJSAvcEncoderConfig) as IJSAvcEncoderConfig; end; procedure TJSVideoEncoderConfig._Setcodec(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('codec',aValue); end; procedure TJSVideoEncoderConfig._Setwidth(const aValue : Cardinal); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSVideoEncoderConfig._Setheight(const aValue : Cardinal); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSVideoEncoderConfig._SetdisplayWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('displayWidth',aValue); end; procedure TJSVideoEncoderConfig._SetdisplayHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('displayHeight',aValue); end; procedure TJSVideoEncoderConfig._Setbitrate(const aValue : QWord); begin WriteJSPropertyDouble('bitrate',aValue); end; procedure TJSVideoEncoderConfig._Setframerate(const aValue : Double); begin WriteJSPropertyDouble('framerate',aValue); end; procedure TJSVideoEncoderConfig._SethardwareAcceleration(const aValue : THardwareAcceleration); begin WriteJSPropertyUnicodeString('hardwareAcceleration',aValue); end; procedure TJSVideoEncoderConfig._Setalpha(const aValue : TAlphaOption); begin WriteJSPropertyUnicodeString('alpha',aValue); end; procedure TJSVideoEncoderConfig._SetscalabilityMode(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('scalabilityMode',aValue); end; procedure TJSVideoEncoderConfig._SetbitrateMode(const aValue : TVideoEncoderBitrateMode); begin WriteJSPropertyUnicodeString('bitrateMode',aValue); end; procedure TJSVideoEncoderConfig._SetlatencyMode(const aValue : TLatencyMode); begin WriteJSPropertyUnicodeString('latencyMode',aValue); end; procedure TJSVideoEncoderConfig._SetcontentHint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('contentHint',aValue); end; procedure TJSVideoEncoderConfig._Setavc(const aValue : IJSAvcEncoderConfig); begin WriteJSPropertyObject('avc',aValue); end; constructor TJSVideoEncoderConfig.create(const aDict : TJSVideoEncoderConfigRec); overload; begin Self.codec:=aDict.codec; Self.width:=aDict.width; Self.height:=aDict.height; Self.displayWidth:=aDict.displayWidth; Self.displayHeight:=aDict.displayHeight; Self.bitrate:=aDict.bitrate; Self.framerate:=aDict.framerate; Self.hardwareAcceleration:=aDict.hardwareAcceleration; Self.alpha:=aDict.alpha; Self.scalabilityMode:=aDict.scalabilityMode; Self.bitrateMode:=aDict.bitrateMode; Self.latencyMode:=aDict.latencyMode; Self.contentHint:=aDict.contentHint; Self.avc:=aDict.avc; end; class function TJSVideoEncoderConfig.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoEncoderConfig.Cast(const Intf: IJSObject): IJSVideoEncoderConfig; begin Result:=TJSVideoEncoderConfig.JOBCast(Intf); end; function TJSVideoEncoderEncodeOptions._GetkeyFrame: Boolean; begin Result:=ReadJSPropertyBoolean('keyFrame'); end; function TJSVideoEncoderEncodeOptions._Getavc: IJSVideoEncoderEncodeOptionsForAvc; begin Result:=ReadJSPropertyObject('avc',TJSVideoEncoderEncodeOptionsForAvc) as IJSVideoEncoderEncodeOptionsForAvc; end; procedure TJSVideoEncoderEncodeOptions._SetkeyFrame(const aValue : Boolean); begin WriteJSPropertyBoolean('keyFrame',aValue); end; procedure TJSVideoEncoderEncodeOptions._Setavc(const aValue : IJSVideoEncoderEncodeOptionsForAvc); begin WriteJSPropertyObject('avc',aValue); end; constructor TJSVideoEncoderEncodeOptions.create(const aDict : TJSVideoEncoderEncodeOptionsRec); overload; begin Self.keyFrame:=aDict.keyFrame; Self.avc:=aDict.avc; end; class function TJSVideoEncoderEncodeOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoEncoderEncodeOptions.Cast(const Intf: IJSObject): IJSVideoEncoderEncodeOptions; begin Result:=TJSVideoEncoderEncodeOptions.JOBCast(Intf); end; function TJSVideoEncoderEncodeOptionsForAvc._Getquantizer: Word; begin Result:=ReadJSPropertyLongInt('quantizer'); end; procedure TJSVideoEncoderEncodeOptionsForAvc._Setquantizer(const aValue : Word); begin WriteJSPropertyLongInt('quantizer',aValue); end; constructor TJSVideoEncoderEncodeOptionsForAvc.create(const aDict : TJSVideoEncoderEncodeOptionsForAvcRec); overload; begin Self.quantizer:=aDict.quantizer; end; class function TJSVideoEncoderEncodeOptionsForAvc.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoEncoderEncodeOptionsForAvc.Cast(const Intf: IJSObject): IJSVideoEncoderEncodeOptionsForAvc; begin Result:=TJSVideoEncoderEncodeOptionsForAvc.JOBCast(Intf); end; function TJSVideoEncoderSupport._Getsupported: Boolean; begin Result:=ReadJSPropertyBoolean('supported'); end; function TJSVideoEncoderSupport._Getconfig: IJSVideoEncoderConfig; begin Result:=ReadJSPropertyObject('config',TJSVideoEncoderConfig) as IJSVideoEncoderConfig; end; procedure TJSVideoEncoderSupport._Setsupported(const aValue : Boolean); begin WriteJSPropertyBoolean('supported',aValue); end; procedure TJSVideoEncoderSupport._Setconfig(const aValue : IJSVideoEncoderConfig); begin WriteJSPropertyObject('config',aValue); end; constructor TJSVideoEncoderSupport.create(const aDict : TJSVideoEncoderSupportRec); overload; begin Self.supported:=aDict.supported; Self.config:=aDict.config; end; class function TJSVideoEncoderSupport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoEncoderSupport.Cast(const Intf: IJSObject): IJSVideoEncoderSupport; begin Result:=TJSVideoEncoderSupport.JOBCast(Intf); end; function TJSEncodedVideoChunkMetadata._GetdecoderConfig: IJSVideoDecoderConfig; begin Result:=ReadJSPropertyObject('decoderConfig',TJSVideoDecoderConfig) as IJSVideoDecoderConfig; end; function TJSEncodedVideoChunkMetadata._Getsvc: IJSSvcOutputMetadata; begin Result:=ReadJSPropertyObject('svc',TJSSvcOutputMetadata) as IJSSvcOutputMetadata; end; procedure TJSEncodedVideoChunkMetadata._SetdecoderConfig(const aValue : IJSVideoDecoderConfig); begin WriteJSPropertyObject('decoderConfig',aValue); end; procedure TJSEncodedVideoChunkMetadata._Setsvc(const aValue : IJSSvcOutputMetadata); begin WriteJSPropertyObject('svc',aValue); end; constructor TJSEncodedVideoChunkMetadata.create(const aDict : TJSEncodedVideoChunkMetadataRec); overload; begin Self.decoderConfig:=aDict.decoderConfig; Self.svc:=aDict.svc; end; class function TJSEncodedVideoChunkMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSEncodedVideoChunkMetadata.Cast(const Intf: IJSObject): IJSEncodedVideoChunkMetadata; begin Result:=TJSEncodedVideoChunkMetadata.JOBCast(Intf); end; function TJSSvcOutputMetadata._GettemporalLayerId: Cardinal; begin Result:=ReadJSPropertyInt64('temporalLayerId'); end; procedure TJSSvcOutputMetadata._SettemporalLayerId(const aValue : Cardinal); begin WriteJSPropertyDouble('temporalLayerId',aValue); end; constructor TJSSvcOutputMetadata.create(const aDict : TJSSvcOutputMetadataRec); overload; begin Self.temporalLayerId:=aDict.temporalLayerId; end; class function TJSSvcOutputMetadata.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSvcOutputMetadata.Cast(const Intf: IJSObject): IJSSvcOutputMetadata; begin Result:=TJSSvcOutputMetadata.JOBCast(Intf); end; function TJSVideoFrame._Getformat: TVideoPixelFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSVideoFrame._GetcodedWidth: Cardinal; begin Result:=ReadJSPropertyInt64('codedWidth'); end; function TJSVideoFrame._GetcodedHeight: Cardinal; begin Result:=ReadJSPropertyInt64('codedHeight'); end; function TJSVideoFrame._GetcodedRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('codedRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSVideoFrame._GetvisibleRect: IJSDOMRectReadOnly; begin Result:=ReadJSPropertyObject('visibleRect',TJSDOMRectReadOnly) as IJSDOMRectReadOnly; end; function TJSVideoFrame._GetdisplayWidth: Cardinal; begin Result:=ReadJSPropertyInt64('displayWidth'); end; function TJSVideoFrame._GetdisplayHeight: Cardinal; begin Result:=ReadJSPropertyInt64('displayHeight'); end; function TJSVideoFrame._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSVideoFrame._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSVideoFrame._GetcolorSpace: IJSVideoColorSpace; begin Result:=ReadJSPropertyObject('colorSpace',TJSVideoColorSpace) as IJSVideoColorSpace; end; constructor TJSVideoFrame.Create(aImageElement: IJSHTMLImageElement; const aInit: IJSVideoFrameInit); begin JOBCreate([aImageElement,aInit]); end; constructor TJSVideoFrame.Create(aImageElement: IJSHTMLImageElement); begin JOBCreate([aImageElement]); end; constructor TJSVideoFrame.Create(aSvgImageElement: IJSSVGImageElement; const aInit: IJSVideoFrameInit); begin JOBCreate([aSvgImageElement,aInit]); end; constructor TJSVideoFrame.Create(aSvgImageElement: IJSSVGImageElement); begin JOBCreate([aSvgImageElement]); end; constructor TJSVideoFrame.Create(aCanvasElement: IJSHTMLCanvasElement; const aInit: IJSVideoFrameInit); begin JOBCreate([aCanvasElement,aInit]); end; constructor TJSVideoFrame.Create(aCanvasElement: IJSHTMLCanvasElement); begin JOBCreate([aCanvasElement]); end; constructor TJSVideoFrame.Create(aVideoElement: IJSHTMLVideoElement; const aInit: IJSVideoFrameInit); begin JOBCreate([aVideoElement,aInit]); end; constructor TJSVideoFrame.Create(aVideoElement: IJSHTMLVideoElement); begin JOBCreate([aVideoElement]); end; constructor TJSVideoFrame.Create(aOffscreenCanvas: IJSOffscreenCanvas; const aInit: IJSVideoFrameInit); begin JOBCreate([aOffscreenCanvas,aInit]); end; constructor TJSVideoFrame.Create(aOffscreenCanvas: IJSOffscreenCanvas); begin JOBCreate([aOffscreenCanvas]); end; constructor TJSVideoFrame.Create(aImageBitmap: IJSImageBitmap; const aInit: IJSVideoFrameInit); begin JOBCreate([aImageBitmap,aInit]); end; constructor TJSVideoFrame.Create(aImageBitmap: IJSImageBitmap); begin JOBCreate([aImageBitmap]); end; constructor TJSVideoFrame.Create(aVideoFrame: IJSVideoFrame; const aInit: IJSVideoFrameInit); begin JOBCreate([aVideoFrame,aInit]); end; constructor TJSVideoFrame.Create(aVideoFrame: IJSVideoFrame); begin JOBCreate([aVideoFrame]); end; constructor TJSVideoFrame.Create(aBufferView: IJSArrayBufferView; const aInit: IJSVideoFrameBufferInit); begin JOBCreate([aBufferView,aInit]); end; constructor TJSVideoFrame.Create(aBuffer: IJSArrayBuffer; const aInit: IJSVideoFrameBufferInit); begin JOBCreate([aBuffer,aInit]); end; function TJSVideoFrame.allocationSize(const aOptions: IJSVideoFrameCopyToOptions): Cardinal; begin Result:=InvokeJSLongIntResult('allocationSize',[aOptions]); end; function TJSVideoFrame.allocationSize: Cardinal; begin Result:=InvokeJSLongIntResult('allocationSize',[]); end; function TJSVideoFrame.copyTo(aDestination: IJSArrayBuffer; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('copyTo',[aDestination,aOptions],TJSPromise) as IJSPromise; end; function TJSVideoFrame.copyTo(aDestination: IJSArrayBufferView; const aOptions: IJSVideoFrameCopyToOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('copyTo',[aDestination,aOptions],TJSPromise) as IJSPromise; end; function TJSVideoFrame.copyTo(aDestination: IJSArrayBufferView): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('copyTo',[aDestination],TJSPromise) as IJSPromise; end; function TJSVideoFrame.copyTo(aDestination: IJSArrayBuffer): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('copyTo',[aDestination],TJSPromise) as IJSPromise; end; function TJSVideoFrame.clone: IJSVideoFrame; begin Result:=InvokeJSObjectResult('clone',[],TJSVideoFrame) as IJSVideoFrame; end; procedure TJSVideoFrame.close; begin InvokeJSNoResult('close',[]); end; class function TJSVideoFrame.JSClassName: UnicodeString; begin Result:='VideoFrame'; end; class function TJSVideoFrame.Cast(const Intf: IJSObject): IJSVideoFrame; begin Result:=TJSVideoFrame.JOBCast(Intf); end; function TJSVideoFrameInit._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSVideoFrameInit._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSVideoFrameInit._Getalpha: TAlphaOption; begin Result:=ReadJSPropertyUnicodeString('alpha'); end; function TJSVideoFrameInit._GetvisibleRect: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('visibleRect',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSVideoFrameInit._GetdisplayWidth: Cardinal; begin Result:=ReadJSPropertyInt64('displayWidth'); end; function TJSVideoFrameInit._GetdisplayHeight: Cardinal; begin Result:=ReadJSPropertyInt64('displayHeight'); end; procedure TJSVideoFrameInit._Setduration(const aValue : QWord); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSVideoFrameInit._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSVideoFrameInit._Setalpha(const aValue : TAlphaOption); begin WriteJSPropertyUnicodeString('alpha',aValue); end; procedure TJSVideoFrameInit._SetvisibleRect(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('visibleRect',aValue); end; procedure TJSVideoFrameInit._SetdisplayWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('displayWidth',aValue); end; procedure TJSVideoFrameInit._SetdisplayHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('displayHeight',aValue); end; constructor TJSVideoFrameInit.create(const aDict : TJSVideoFrameInitRec); overload; begin Self.duration:=aDict.duration; Self.timestamp:=aDict.timestamp; Self.alpha:=aDict.alpha; Self.visibleRect:=aDict.visibleRect; Self.displayWidth:=aDict.displayWidth; Self.displayHeight:=aDict.displayHeight; end; class function TJSVideoFrameInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoFrameInit.Cast(const Intf: IJSObject): IJSVideoFrameInit; begin Result:=TJSVideoFrameInit.JOBCast(Intf); end; function TJSVideoFrameBufferInit._Getformat: TVideoPixelFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSVideoFrameBufferInit._GetcodedWidth: Cardinal; begin Result:=ReadJSPropertyInt64('codedWidth'); end; function TJSVideoFrameBufferInit._GetcodedHeight: Cardinal; begin Result:=ReadJSPropertyInt64('codedHeight'); end; function TJSVideoFrameBufferInit._Gettimestamp: Int64; begin Result:=ReadJSPropertyInt64('timestamp'); end; function TJSVideoFrameBufferInit._Getduration: QWord; begin Result:=ReadJSPropertyInt64('duration'); end; function TJSVideoFrameBufferInit._Getlayout: TJSPlaneLayoutDynArray; begin Result:=ReadJSPropertyObject('layout',TJSArray) as TJSPlaneLayoutDynArray; end; function TJSVideoFrameBufferInit._GetvisibleRect: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('visibleRect',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSVideoFrameBufferInit._GetdisplayWidth: Cardinal; begin Result:=ReadJSPropertyInt64('displayWidth'); end; function TJSVideoFrameBufferInit._GetdisplayHeight: Cardinal; begin Result:=ReadJSPropertyInt64('displayHeight'); end; function TJSVideoFrameBufferInit._GetcolorSpace: IJSVideoColorSpaceInit; begin Result:=ReadJSPropertyObject('colorSpace',TJSVideoColorSpaceInit) as IJSVideoColorSpaceInit; end; procedure TJSVideoFrameBufferInit._Setformat(const aValue : TVideoPixelFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSVideoFrameBufferInit._SetcodedWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('codedWidth',aValue); end; procedure TJSVideoFrameBufferInit._SetcodedHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('codedHeight',aValue); end; procedure TJSVideoFrameBufferInit._Settimestamp(const aValue : Int64); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSVideoFrameBufferInit._Setduration(const aValue : QWord); begin WriteJSPropertyDouble('duration',aValue); end; procedure TJSVideoFrameBufferInit._Setlayout(const aValue : TJSPlaneLayoutDynArray); begin WriteJSPropertyObject('layout',aValue); end; procedure TJSVideoFrameBufferInit._SetvisibleRect(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('visibleRect',aValue); end; procedure TJSVideoFrameBufferInit._SetdisplayWidth(const aValue : Cardinal); begin WriteJSPropertyDouble('displayWidth',aValue); end; procedure TJSVideoFrameBufferInit._SetdisplayHeight(const aValue : Cardinal); begin WriteJSPropertyDouble('displayHeight',aValue); end; procedure TJSVideoFrameBufferInit._SetcolorSpace(const aValue : IJSVideoColorSpaceInit); begin WriteJSPropertyObject('colorSpace',aValue); end; constructor TJSVideoFrameBufferInit.create(const aDict : TJSVideoFrameBufferInitRec); overload; begin Self.format:=aDict.format; Self.codedWidth:=aDict.codedWidth; Self.codedHeight:=aDict.codedHeight; Self.timestamp:=aDict.timestamp; Self.duration:=aDict.duration; Self.layout:=aDict.layout; Self.visibleRect:=aDict.visibleRect; Self.displayWidth:=aDict.displayWidth; Self.displayHeight:=aDict.displayHeight; Self.colorSpace:=aDict.colorSpace; end; class function TJSVideoFrameBufferInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoFrameBufferInit.Cast(const Intf: IJSObject): IJSVideoFrameBufferInit; begin Result:=TJSVideoFrameBufferInit.JOBCast(Intf); end; function TJSVideoFrameCopyToOptions._Getrect: IJSDOMRectInit; begin Result:=ReadJSPropertyObject('rect',TJSDOMRectInit) as IJSDOMRectInit; end; function TJSVideoFrameCopyToOptions._Getlayout: TJSPlaneLayoutDynArray; begin Result:=ReadJSPropertyObject('layout',TJSArray) as TJSPlaneLayoutDynArray; end; procedure TJSVideoFrameCopyToOptions._Setrect(const aValue : IJSDOMRectInit); begin WriteJSPropertyObject('rect',aValue); end; procedure TJSVideoFrameCopyToOptions._Setlayout(const aValue : TJSPlaneLayoutDynArray); begin WriteJSPropertyObject('layout',aValue); end; constructor TJSVideoFrameCopyToOptions.create(const aDict : TJSVideoFrameCopyToOptionsRec); overload; begin Self.rect:=aDict.rect; Self.layout:=aDict.layout; end; class function TJSVideoFrameCopyToOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVideoFrameCopyToOptions.Cast(const Intf: IJSObject): IJSVideoFrameCopyToOptions; begin Result:=TJSVideoFrameCopyToOptions.JOBCast(Intf); end; function TJSPlaneLayout._Getoffset: Cardinal; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSPlaneLayout._Getstride: Cardinal; begin Result:=ReadJSPropertyInt64('stride'); end; procedure TJSPlaneLayout._Setoffset(const aValue : Cardinal); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSPlaneLayout._Setstride(const aValue : Cardinal); begin WriteJSPropertyDouble('stride',aValue); end; constructor TJSPlaneLayout.create(const aDict : TJSPlaneLayoutRec); overload; begin Self.offset:=aDict.offset; Self.stride:=aDict.stride; end; class function TJSPlaneLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPlaneLayout.Cast(const Intf: IJSObject): IJSPlaneLayout; begin Result:=TJSPlaneLayout.JOBCast(Intf); end; function TJSVideoPlaybackQuality._GetcreationTime: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('creationTime'); end; function TJSVideoPlaybackQuality._GettotalVideoFrames: Cardinal; begin Result:=ReadJSPropertyInt64('totalVideoFrames'); end; function TJSVideoPlaybackQuality._GetdroppedVideoFrames: Cardinal; begin Result:=ReadJSPropertyInt64('droppedVideoFrames'); end; class function TJSVideoPlaybackQuality.JSClassName: UnicodeString; begin Result:='VideoPlaybackQuality'; end; class function TJSVideoPlaybackQuality.Cast(const Intf: IJSObject): IJSVideoPlaybackQuality; begin Result:=TJSVideoPlaybackQuality.JOBCast(Intf); end; function TJSVideoTrack._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSVideoTrack._Getkind: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('kind'); end; function TJSVideoTrack._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; function TJSVideoTrack._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSVideoTrack._Getselected: Boolean; begin Result:=ReadJSPropertyBoolean('selected'); end; procedure TJSVideoTrack._Setselected(const aValue : Boolean); begin WriteJSPropertyBoolean('selected',aValue); end; class function TJSVideoTrack.JSClassName: UnicodeString; begin Result:='VideoTrack'; end; class function TJSVideoTrack.Cast(const Intf: IJSObject): IJSVideoTrack; begin Result:=TJSVideoTrack.JOBCast(Intf); end; function TJSVideoTrackList._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSVideoTrackList._GetselectedIndex: LongInt; begin Result:=ReadJSPropertyLongInt('selectedIndex'); end; function TJSVideoTrackList._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSVideoTrackList._Getonaddtrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onaddtrack'))); end; function TJSVideoTrackList._Getonremovetrack: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onremovetrack'))); end; procedure TJSVideoTrackList._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSVideoTrackList._Setonaddtrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onaddtrack',[m],jiSet); finally m.free end; end; procedure TJSVideoTrackList._Setonremovetrack(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onremovetrack',[m],jiSet); finally m.free end; end; function TJSVideoTrackList.GetDefault(aIndex: Cardinal): IJSVideoTrack; begin Result:=InvokeJSObjectResult('',[aIndex],TJSVideoTrack) as IJSVideoTrack; end; function TJSVideoTrackList.getTrackById(const aId: UnicodeString): IJSVideoTrack; begin Result:=InvokeJSObjectResult('getTrackById',[aId],TJSVideoTrack) as IJSVideoTrack; end; class function TJSVideoTrackList.JSClassName: UnicodeString; begin Result:='VideoTrackList'; end; class function TJSVideoTrackList.Cast(const Intf: IJSObject): IJSVideoTrackList; begin Result:=TJSVideoTrackList.JOBCast(Intf); end; function TJSVisualViewport._GetoffsetLeft: Double; begin Result:=ReadJSPropertyDouble('offsetLeft'); end; function TJSVisualViewport._GetoffsetTop: Double; begin Result:=ReadJSPropertyDouble('offsetTop'); end; function TJSVisualViewport._GetpageLeft: Double; begin Result:=ReadJSPropertyDouble('pageLeft'); end; function TJSVisualViewport._GetpageTop: Double; begin Result:=ReadJSPropertyDouble('pageTop'); end; function TJSVisualViewport._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSVisualViewport._Getheight: Double; begin Result:=ReadJSPropertyDouble('height'); end; function TJSVisualViewport._Getscale: Double; begin Result:=ReadJSPropertyDouble('scale'); end; function TJSVisualViewport._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSVisualViewport._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; procedure TJSVisualViewport._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSVisualViewport._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; class function TJSVisualViewport.JSClassName: UnicodeString; begin Result:='VisualViewport'; end; class function TJSVisualViewport.Cast(const Intf: IJSObject): IJSVisualViewport; begin Result:=TJSVisualViewport.JOBCast(Intf); end; function TJSVRFieldOfView._GetupDegrees: Double; begin Result:=ReadJSPropertyDouble('upDegrees'); end; function TJSVRFieldOfView._GetrightDegrees: Double; begin Result:=ReadJSPropertyDouble('rightDegrees'); end; function TJSVRFieldOfView._GetdownDegrees: Double; begin Result:=ReadJSPropertyDouble('downDegrees'); end; function TJSVRFieldOfView._GetleftDegrees: Double; begin Result:=ReadJSPropertyDouble('leftDegrees'); end; class function TJSVRFieldOfView.JSClassName: UnicodeString; begin Result:='VRFieldOfView'; end; class function TJSVRFieldOfView.Cast(const Intf: IJSObject): IJSVRFieldOfView; begin Result:=TJSVRFieldOfView.JOBCast(Intf); end; function TJSVRLayer._Getsource: IJSHTMLCanvasElement; begin Result:=ReadJSPropertyObject('source',TJSHTMLCanvasElement) as IJSHTMLCanvasElement; end; function TJSVRLayer._GetleftBounds: TSingleDynArray; begin Result:=ReadJSPropertyObject('leftBounds',TJSArray) as TSingleDynArray; end; function TJSVRLayer._GetrightBounds: TSingleDynArray; begin Result:=ReadJSPropertyObject('rightBounds',TJSArray) as TSingleDynArray; end; procedure TJSVRLayer._Setsource(const aValue : IJSHTMLCanvasElement); begin WriteJSPropertyObject('source',aValue); end; procedure TJSVRLayer._SetleftBounds(const aValue : TSingleDynArray); begin WriteJSPropertyObject('leftBounds',aValue); end; procedure TJSVRLayer._SetrightBounds(const aValue : TSingleDynArray); begin WriteJSPropertyObject('rightBounds',aValue); end; constructor TJSVRLayer.create(const aDict : TJSVRLayerRec); overload; begin Self.source:=aDict.source; Self.leftBounds:=aDict.leftBounds; Self.rightBounds:=aDict.rightBounds; end; class function TJSVRLayer.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVRLayer.Cast(const Intf: IJSObject): IJSVRLayer; begin Result:=TJSVRLayer.JOBCast(Intf); end; function TJSVRDisplayCapabilities._GethasPosition: Boolean; begin Result:=ReadJSPropertyBoolean('hasPosition'); end; function TJSVRDisplayCapabilities._GethasOrientation: Boolean; begin Result:=ReadJSPropertyBoolean('hasOrientation'); end; function TJSVRDisplayCapabilities._GethasExternalDisplay: Boolean; begin Result:=ReadJSPropertyBoolean('hasExternalDisplay'); end; function TJSVRDisplayCapabilities._GetcanPresent: Boolean; begin Result:=ReadJSPropertyBoolean('canPresent'); end; function TJSVRDisplayCapabilities._GetmaxLayers: Cardinal; begin Result:=ReadJSPropertyInt64('maxLayers'); end; class function TJSVRDisplayCapabilities.JSClassName: UnicodeString; begin Result:='VRDisplayCapabilities'; end; class function TJSVRDisplayCapabilities.Cast(const Intf: IJSObject): IJSVRDisplayCapabilities; begin Result:=TJSVRDisplayCapabilities.JOBCast(Intf); end; function TJSVRStageParameters._GetsittingToStandingTransform: IJSFloat32Array; begin Result:=ReadJSPropertyObject('sittingToStandingTransform',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRStageParameters._GetsizeX: Single; begin Result:=ReadJSPropertyDouble('sizeX'); end; function TJSVRStageParameters._GetsizeZ: Single; begin Result:=ReadJSPropertyDouble('sizeZ'); end; class function TJSVRStageParameters.JSClassName: UnicodeString; begin Result:='VRStageParameters'; end; class function TJSVRStageParameters.Cast(const Intf: IJSObject): IJSVRStageParameters; begin Result:=TJSVRStageParameters.JOBCast(Intf); end; function TJSVRPose._Getposition: IJSFloat32Array; begin Result:=ReadJSPropertyObject('position',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRPose._GetlinearVelocity: IJSFloat32Array; begin Result:=ReadJSPropertyObject('linearVelocity',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRPose._GetlinearAcceleration: IJSFloat32Array; begin Result:=ReadJSPropertyObject('linearAcceleration',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRPose._Getorientation: IJSFloat32Array; begin Result:=ReadJSPropertyObject('orientation',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRPose._GetangularVelocity: IJSFloat32Array; begin Result:=ReadJSPropertyObject('angularVelocity',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRPose._GetangularAcceleration: IJSFloat32Array; begin Result:=ReadJSPropertyObject('angularAcceleration',TJSFloat32Array) as IJSFloat32Array; end; class function TJSVRPose.JSClassName: UnicodeString; begin Result:='VRPose'; end; class function TJSVRPose.Cast(const Intf: IJSObject): IJSVRPose; begin Result:=TJSVRPose.JOBCast(Intf); end; function TJSVRFrameData._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSVRFrameData._GetleftProjectionMatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('leftProjectionMatrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRFrameData._GetleftViewMatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('leftViewMatrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRFrameData._GetrightProjectionMatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('rightProjectionMatrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRFrameData._GetrightViewMatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('rightViewMatrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSVRFrameData._Getpose: IJSVRPose; begin Result:=ReadJSPropertyObject('pose',TJSVRPose) as IJSVRPose; end; constructor TJSVRFrameData.Create; begin JOBCreate([]); end; class function TJSVRFrameData.JSClassName: UnicodeString; begin Result:='VRFrameData'; end; class function TJSVRFrameData.Cast(const Intf: IJSObject): IJSVRFrameData; begin Result:=TJSVRFrameData.JOBCast(Intf); end; function TJSVREyeParameters._Getoffset: IJSFloat32Array; begin Result:=ReadJSPropertyObject('offset',TJSFloat32Array) as IJSFloat32Array; end; function TJSVREyeParameters._GetfieldOfView: IJSVRFieldOfView; begin Result:=ReadJSPropertyObject('fieldOfView',TJSVRFieldOfView) as IJSVRFieldOfView; end; function TJSVREyeParameters._GetrenderWidth: Cardinal; begin Result:=ReadJSPropertyInt64('renderWidth'); end; function TJSVREyeParameters._GetrenderHeight: Cardinal; begin Result:=ReadJSPropertyInt64('renderHeight'); end; class function TJSVREyeParameters.JSClassName: UnicodeString; begin Result:='VREyeParameters'; end; class function TJSVREyeParameters.Cast(const Intf: IJSObject): IJSVREyeParameters; begin Result:=TJSVREyeParameters.JOBCast(Intf); end; function TJSVRDisplay._GetisConnected: Boolean; begin Result:=ReadJSPropertyBoolean('isConnected'); end; function TJSVRDisplay._GetisPresenting: Boolean; begin Result:=ReadJSPropertyBoolean('isPresenting'); end; function TJSVRDisplay._Getcapabilities: IJSVRDisplayCapabilities; begin Result:=ReadJSPropertyObject('capabilities',TJSVRDisplayCapabilities) as IJSVRDisplayCapabilities; end; function TJSVRDisplay._GetstageParameters: IJSVRStageParameters; begin Result:=ReadJSPropertyObject('stageParameters',TJSVRStageParameters) as IJSVRStageParameters; end; function TJSVRDisplay._GetdisplayId: Cardinal; begin Result:=ReadJSPropertyInt64('displayId'); end; function TJSVRDisplay._GetdisplayName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('displayName'); end; function TJSVRDisplay._GetdepthNear: Double; begin Result:=ReadJSPropertyDouble('depthNear'); end; function TJSVRDisplay._GetdepthFar: Double; begin Result:=ReadJSPropertyDouble('depthFar'); end; procedure TJSVRDisplay._SetdepthNear(const aValue : Double); begin WriteJSPropertyDouble('depthNear',aValue); end; procedure TJSVRDisplay._SetdepthFar(const aValue : Double); begin WriteJSPropertyDouble('depthFar',aValue); end; function TJSVRDisplay.getEyeParameters(aWhichEye: TVREye): IJSVREyeParameters; begin Result:=InvokeJSObjectResult('getEyeParameters',[aWhichEye],TJSVREyeParameters) as IJSVREyeParameters; end; function TJSVRDisplay.getFrameData(aFrameData: IJSVRFrameData): Boolean; begin Result:=InvokeJSBooleanResult('getFrameData',[aFrameData]); end; function TJSVRDisplay.getPose: IJSVRPose; begin Result:=InvokeJSObjectResult('getPose',[],TJSVRPose) as IJSVRPose; end; procedure TJSVRDisplay.resetPose; begin InvokeJSNoResult('resetPose',[]); end; function TJSVRDisplay.requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFrameRequestCallback); try Result:=InvokeJSLongIntResult('requestAnimationFrame',[m]); finally m.free; end; end; procedure TJSVRDisplay.cancelAnimationFrame(aHandle: LongInt); begin InvokeJSNoResult('cancelAnimationFrame',[aHandle]); end; function TJSVRDisplay.requestPresent(const aLayers: TJSVRLayerDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestPresent',[aLayers],TJSPromise) as IJSPromise; end; function TJSVRDisplay.exitPresent: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('exitPresent',[],TJSPromise) as IJSPromise; end; function TJSVRDisplay.getLayers: TJSVRLayerDynArray; begin Result:=InvokeJSObjectResult('getLayers',[],TJSArray) as TJSVRLayerDynArray; end; procedure TJSVRDisplay.submitFrame; begin InvokeJSNoResult('submitFrame',[]); end; class function TJSVRDisplay.JSClassName: UnicodeString; begin Result:='VRDisplay'; end; class function TJSVRDisplay.Cast(const Intf: IJSObject): IJSVRDisplay; begin Result:=TJSVRDisplay.JOBCast(Intf); end; function TJSVRDisplayEventInit._Getdisplay: IJSVRDisplay; begin Result:=ReadJSPropertyObject('display',TJSVRDisplay) as IJSVRDisplay; end; function TJSVRDisplayEventInit._Getreason: TVRDisplayEventReason; begin Result:=ReadJSPropertyUnicodeString('reason'); end; procedure TJSVRDisplayEventInit._Setdisplay(const aValue : IJSVRDisplay); begin WriteJSPropertyObject('display',aValue); end; procedure TJSVRDisplayEventInit._Setreason(const aValue : TVRDisplayEventReason); begin WriteJSPropertyUnicodeString('reason',aValue); end; constructor TJSVRDisplayEventInit.create(const aDict : TJSVRDisplayEventInitRec); overload; begin Self.display:=aDict.display; Self.reason:=aDict.reason; end; class function TJSVRDisplayEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSVRDisplayEventInit.Cast(const Intf: IJSObject): IJSVRDisplayEventInit; begin Result:=TJSVRDisplayEventInit.JOBCast(Intf); end; function TJSVRDisplayEvent._Getdisplay: IJSVRDisplay; begin Result:=ReadJSPropertyObject('display',TJSVRDisplay) as IJSVRDisplay; end; function TJSVRDisplayEvent._Getreason: TVRDisplayEventReason; begin Result:=ReadJSPropertyUnicodeString('reason'); end; constructor TJSVRDisplayEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSVRDisplayEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSVRDisplayEvent.JSClassName: UnicodeString; begin Result:='VRDisplayEvent'; end; class function TJSVRDisplayEvent.Cast(const Intf: IJSObject): IJSVRDisplayEvent; begin Result:=TJSVRDisplayEvent.JOBCast(Intf); end; function TJSVRMockDisplay._GetcapPosition: Boolean; begin Result:=ReadJSPropertyBoolean('capPosition'); end; function TJSVRMockDisplay._GetcapOrientation: Boolean; begin Result:=ReadJSPropertyBoolean('capOrientation'); end; function TJSVRMockDisplay._GetcapPresent: Boolean; begin Result:=ReadJSPropertyBoolean('capPresent'); end; function TJSVRMockDisplay._GetcapExternal: Boolean; begin Result:=ReadJSPropertyBoolean('capExternal'); end; function TJSVRMockDisplay._GetcapAngularAcceleration: Boolean; begin Result:=ReadJSPropertyBoolean('capAngularAcceleration'); end; function TJSVRMockDisplay._GetcapLinearAcceleration: Boolean; begin Result:=ReadJSPropertyBoolean('capLinearAcceleration'); end; function TJSVRMockDisplay._GetcapStageParameters: Boolean; begin Result:=ReadJSPropertyBoolean('capStageParameters'); end; function TJSVRMockDisplay._GetcapMountDetection: Boolean; begin Result:=ReadJSPropertyBoolean('capMountDetection'); end; function TJSVRMockDisplay._GetcapPositionEmulated: Boolean; begin Result:=ReadJSPropertyBoolean('capPositionEmulated'); end; procedure TJSVRMockDisplay._SetcapPosition(const aValue : Boolean); begin WriteJSPropertyBoolean('capPosition',aValue); end; procedure TJSVRMockDisplay._SetcapOrientation(const aValue : Boolean); begin WriteJSPropertyBoolean('capOrientation',aValue); end; procedure TJSVRMockDisplay._SetcapPresent(const aValue : Boolean); begin WriteJSPropertyBoolean('capPresent',aValue); end; procedure TJSVRMockDisplay._SetcapExternal(const aValue : Boolean); begin WriteJSPropertyBoolean('capExternal',aValue); end; procedure TJSVRMockDisplay._SetcapAngularAcceleration(const aValue : Boolean); begin WriteJSPropertyBoolean('capAngularAcceleration',aValue); end; procedure TJSVRMockDisplay._SetcapLinearAcceleration(const aValue : Boolean); begin WriteJSPropertyBoolean('capLinearAcceleration',aValue); end; procedure TJSVRMockDisplay._SetcapStageParameters(const aValue : Boolean); begin WriteJSPropertyBoolean('capStageParameters',aValue); end; procedure TJSVRMockDisplay._SetcapMountDetection(const aValue : Boolean); begin WriteJSPropertyBoolean('capMountDetection',aValue); end; procedure TJSVRMockDisplay._SetcapPositionEmulated(const aValue : Boolean); begin WriteJSPropertyBoolean('capPositionEmulated',aValue); end; procedure TJSVRMockDisplay.create_; begin InvokeJSNoResult('create',[]); end; procedure TJSVRMockDisplay.setEyeFOV(aEye: TVREye; aUpDegree: Double; aRightDegree: Double; aDownDegree: Double; aLeftDegree: Double); begin InvokeJSNoResult('setEyeFOV',[aEye,aUpDegree,aRightDegree,aDownDegree,aLeftDegree]); end; procedure TJSVRMockDisplay.setEyeOffset(aEye: TVREye; aOffsetX: Double; aOffsetY: Double; aOffsetZ: Double); begin InvokeJSNoResult('setEyeOffset',[aEye,aOffsetX,aOffsetY,aOffsetZ]); end; procedure TJSVRMockDisplay.setEyeResolution(aRenderWidth: Cardinal; aRenderHeight: Cardinal); begin InvokeJSNoResult('setEyeResolution',[aRenderWidth,aRenderHeight]); end; procedure TJSVRMockDisplay.setConnected(aConnected: Boolean); begin InvokeJSNoResult('setConnected',[aConnected]); end; procedure TJSVRMockDisplay.setMounted(aMounted: Boolean); begin InvokeJSNoResult('setMounted',[aMounted]); end; procedure TJSVRMockDisplay.setStageSize(aWidth: Double; aHeight: Double); begin InvokeJSNoResult('setStageSize',[aWidth,aHeight]); end; procedure TJSVRMockDisplay.setSittingToStandingTransform(aSittingToStandingTransform: IJSFloat32Array); begin InvokeJSNoResult('setSittingToStandingTransform',[aSittingToStandingTransform]); end; procedure TJSVRMockDisplay.setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); begin InvokeJSNoResult('setPose',[aPosition,aLinearVelocity,aLinearAcceleration,aOrientation,aAngularVelocity,aAngularAcceleration]); end; class function TJSVRMockDisplay.JSClassName: UnicodeString; begin Result:='VRMockDisplay'; end; class function TJSVRMockDisplay.Cast(const Intf: IJSObject): IJSVRMockDisplay; begin Result:=TJSVRMockDisplay.JOBCast(Intf); end; function TJSVRMockController._Gethand: TGamepadHand; begin Result:=ReadJSPropertyUnicodeString('hand'); end; function TJSVRMockController._GetcapPosition: Boolean; begin Result:=ReadJSPropertyBoolean('capPosition'); end; function TJSVRMockController._GetcapOrientation: Boolean; begin Result:=ReadJSPropertyBoolean('capOrientation'); end; function TJSVRMockController._GetcapAngularAcceleration: Boolean; begin Result:=ReadJSPropertyBoolean('capAngularAcceleration'); end; function TJSVRMockController._GetcapLinearAcceleration: Boolean; begin Result:=ReadJSPropertyBoolean('capLinearAcceleration'); end; function TJSVRMockController._GetaxisCount: Cardinal; begin Result:=ReadJSPropertyInt64('axisCount'); end; function TJSVRMockController._GetbuttonCount: Cardinal; begin Result:=ReadJSPropertyInt64('buttonCount'); end; function TJSVRMockController._GethapticCount: Cardinal; begin Result:=ReadJSPropertyInt64('hapticCount'); end; procedure TJSVRMockController._Sethand(const aValue : TGamepadHand); begin WriteJSPropertyUnicodeString('hand',aValue); end; procedure TJSVRMockController._SetcapPosition(const aValue : Boolean); begin WriteJSPropertyBoolean('capPosition',aValue); end; procedure TJSVRMockController._SetcapOrientation(const aValue : Boolean); begin WriteJSPropertyBoolean('capOrientation',aValue); end; procedure TJSVRMockController._SetcapAngularAcceleration(const aValue : Boolean); begin WriteJSPropertyBoolean('capAngularAcceleration',aValue); end; procedure TJSVRMockController._SetcapLinearAcceleration(const aValue : Boolean); begin WriteJSPropertyBoolean('capLinearAcceleration',aValue); end; procedure TJSVRMockController._SetaxisCount(const aValue : Cardinal); begin WriteJSPropertyDouble('axisCount',aValue); end; procedure TJSVRMockController._SetbuttonCount(const aValue : Cardinal); begin WriteJSPropertyDouble('buttonCount',aValue); end; procedure TJSVRMockController._SethapticCount(const aValue : Cardinal); begin WriteJSPropertyDouble('hapticCount',aValue); end; procedure TJSVRMockController.create_; begin InvokeJSNoResult('create',[]); end; procedure TJSVRMockController.clear; begin InvokeJSNoResult('clear',[]); end; procedure TJSVRMockController.setPose(aPosition: IJSFloat32Array; aLinearVelocity: IJSFloat32Array; aLinearAcceleration: IJSFloat32Array; aOrientation: IJSFloat32Array; aAngularVelocity: IJSFloat32Array; aAngularAcceleration: IJSFloat32Array); begin InvokeJSNoResult('setPose',[aPosition,aLinearVelocity,aLinearAcceleration,aOrientation,aAngularVelocity,aAngularAcceleration]); end; procedure TJSVRMockController.setButtonPressed(aButtonIdx: Cardinal; aPressed: Boolean); begin InvokeJSNoResult('setButtonPressed',[aButtonIdx,aPressed]); end; procedure TJSVRMockController.setButtonTouched(aButtonIdx: Cardinal; aTouched: Boolean); begin InvokeJSNoResult('setButtonTouched',[aButtonIdx,aTouched]); end; procedure TJSVRMockController.setButtonTrigger(aButtonIdx: Cardinal; aTrigger: Double); begin InvokeJSNoResult('setButtonTrigger',[aButtonIdx,aTrigger]); end; procedure TJSVRMockController.setAxisValue(aAxisIdx: Cardinal; aValue: Double); begin InvokeJSNoResult('setAxisValue',[aAxisIdx,aValue]); end; class function TJSVRMockController.JSClassName: UnicodeString; begin Result:='VRMockController'; end; class function TJSVRMockController.Cast(const Intf: IJSObject): IJSVRMockController; begin Result:=TJSVRMockController.JOBCast(Intf); end; function TJSVRServiceTest.getVRDisplay: IJSVRMockDisplay; begin Result:=InvokeJSObjectResult('getVRDisplay',[],TJSVRMockDisplay) as IJSVRMockDisplay; end; function TJSVRServiceTest.getVRController(aControllerIdx: Cardinal): IJSVRMockController; begin Result:=InvokeJSObjectResult('getVRController',[aControllerIdx],TJSVRMockController) as IJSVRMockController; end; function TJSVRServiceTest.run: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('run',[],TJSPromise) as IJSPromise; end; function TJSVRServiceTest.reset: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('reset',[],TJSPromise) as IJSPromise; end; procedure TJSVRServiceTest.commit; begin InvokeJSNoResult('commit',[]); end; procedure TJSVRServiceTest.end_; begin InvokeJSNoResult('end',[]); end; procedure TJSVRServiceTest.clearAll; begin InvokeJSNoResult('clearAll',[]); end; procedure TJSVRServiceTest.timeout(aDuration: Cardinal); begin InvokeJSNoResult('timeout',[aDuration]); end; procedure TJSVRServiceTest.wait(aDuration: Cardinal); begin InvokeJSNoResult('wait',[aDuration]); end; procedure TJSVRServiceTest.waitSubmit; begin InvokeJSNoResult('waitSubmit',[]); end; procedure TJSVRServiceTest.waitPresentationStart; begin InvokeJSNoResult('waitPresentationStart',[]); end; procedure TJSVRServiceTest.waitPresentationEnd; begin InvokeJSNoResult('waitPresentationEnd',[]); end; procedure TJSVRServiceTest.waitHapticIntensity(aControllerIdx: Cardinal; aHapticIdx: Cardinal; aIntensity: Double); begin InvokeJSNoResult('waitHapticIntensity',[aControllerIdx,aHapticIdx,aIntensity]); end; procedure TJSVRServiceTest.captureFrame; begin InvokeJSNoResult('captureFrame',[]); end; procedure TJSVRServiceTest.acknowledgeFrame; begin InvokeJSNoResult('acknowledgeFrame',[]); end; procedure TJSVRServiceTest.rejectFrame; begin InvokeJSNoResult('rejectFrame',[]); end; procedure TJSVRServiceTest.startTimer; begin InvokeJSNoResult('startTimer',[]); end; procedure TJSVRServiceTest.stopTimer; begin InvokeJSNoResult('stopTimer',[]); end; class function TJSVRServiceTest.JSClassName: UnicodeString; begin Result:='VRServiceTest'; end; class function TJSVRServiceTest.Cast(const Intf: IJSObject): IJSVRServiceTest; begin Result:=TJSVRServiceTest.JOBCast(Intf); end; function TJSVTTCue._Getregion: IJSVTTRegion; begin Result:=ReadJSPropertyObject('region',TJSVTTRegion) as IJSVTTRegion; end; function TJSVTTCue._Getvertical: TDirectionSetting; begin Result:=ReadJSPropertyUnicodeString('vertical'); end; function TJSVTTCue._GetsnapToLines: Boolean; begin Result:=ReadJSPropertyBoolean('snapToLines'); end; function TJSVTTCue._Getline: TVTTCue_line_Type; begin Result:=ReadJSPropertyVariant('line'); end; function TJSVTTCue._GetlineAlign: TLineAlignSetting; begin Result:=ReadJSPropertyUnicodeString('lineAlign'); end; function TJSVTTCue._Getposition: TVTTCue_position_Type; begin Result:=ReadJSPropertyVariant('position'); end; function TJSVTTCue._GetpositionAlign: TPositionAlignSetting; begin Result:=ReadJSPropertyUnicodeString('positionAlign'); end; function TJSVTTCue._Getsize: Double; begin Result:=ReadJSPropertyDouble('size'); end; function TJSVTTCue._Getalign: TAlignSetting; begin Result:=ReadJSPropertyUnicodeString('align'); end; function TJSVTTCue._Gettext: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('text'); end; procedure TJSVTTCue._Setregion(const aValue : IJSVTTRegion); begin WriteJSPropertyObject('region',aValue); end; procedure TJSVTTCue._Setvertical(const aValue : TDirectionSetting); begin WriteJSPropertyUnicodeString('vertical',aValue); end; procedure TJSVTTCue._SetsnapToLines(const aValue : Boolean); begin WriteJSPropertyBoolean('snapToLines',aValue); end; procedure TJSVTTCue._Setline(const aValue : TVTTCue_line_Type); begin WriteJSPropertyVariant('line',aValue); end; procedure TJSVTTCue._SetlineAlign(const aValue : TLineAlignSetting); begin WriteJSPropertyUnicodeString('lineAlign',aValue); end; procedure TJSVTTCue._Setposition(const aValue : TVTTCue_position_Type); begin WriteJSPropertyVariant('position',aValue); end; procedure TJSVTTCue._SetpositionAlign(const aValue : TPositionAlignSetting); begin WriteJSPropertyUnicodeString('positionAlign',aValue); end; procedure TJSVTTCue._Setsize(const aValue : Double); begin WriteJSPropertyDouble('size',aValue); end; procedure TJSVTTCue._Setalign(const aValue : TAlignSetting); begin WriteJSPropertyUnicodeString('align',aValue); end; procedure TJSVTTCue._Settext(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('text',aValue); end; constructor TJSVTTCue.Create(aStartTime: Double; aEndTime: Double; const aText: UnicodeString); begin JOBCreate([aStartTime,aEndTime,aText]); end; function TJSVTTCue.getCueAsHTML: IJSDocumentFragment; begin Result:=InvokeJSObjectResult('getCueAsHTML',[],TJSDocumentFragment) as IJSDocumentFragment; end; class function TJSVTTCue.JSClassName: UnicodeString; begin Result:='VTTCue'; end; class function TJSVTTCue.Cast(const Intf: IJSObject): IJSVTTCue; begin Result:=TJSVTTCue.JOBCast(Intf); end; function TJSVTTRegion._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSVTTRegion._Getwidth: Double; begin Result:=ReadJSPropertyDouble('width'); end; function TJSVTTRegion._Getlines: LongInt; begin Result:=ReadJSPropertyLongInt('lines'); end; function TJSVTTRegion._GetregionAnchorX: Double; begin Result:=ReadJSPropertyDouble('regionAnchorX'); end; function TJSVTTRegion._GetregionAnchorY: Double; begin Result:=ReadJSPropertyDouble('regionAnchorY'); end; function TJSVTTRegion._GetviewportAnchorX: Double; begin Result:=ReadJSPropertyDouble('viewportAnchorX'); end; function TJSVTTRegion._GetviewportAnchorY: Double; begin Result:=ReadJSPropertyDouble('viewportAnchorY'); end; function TJSVTTRegion._Getscroll: TScrollSetting; begin Result:=ReadJSPropertyUnicodeString('scroll'); end; procedure TJSVTTRegion._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSVTTRegion._Setwidth(const aValue : Double); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSVTTRegion._Setlines(const aValue : LongInt); begin WriteJSPropertyLongInt('lines',aValue); end; procedure TJSVTTRegion._SetregionAnchorX(const aValue : Double); begin WriteJSPropertyDouble('regionAnchorX',aValue); end; procedure TJSVTTRegion._SetregionAnchorY(const aValue : Double); begin WriteJSPropertyDouble('regionAnchorY',aValue); end; procedure TJSVTTRegion._SetviewportAnchorX(const aValue : Double); begin WriteJSPropertyDouble('viewportAnchorX',aValue); end; procedure TJSVTTRegion._SetviewportAnchorY(const aValue : Double); begin WriteJSPropertyDouble('viewportAnchorY',aValue); end; procedure TJSVTTRegion._Setscroll(const aValue : TScrollSetting); begin WriteJSPropertyUnicodeString('scroll',aValue); end; constructor TJSVTTRegion.Create; begin JOBCreate([]); end; class function TJSVTTRegion.JSClassName: UnicodeString; begin Result:='VTTRegion'; end; class function TJSVTTRegion.Cast(const Intf: IJSObject): IJSVTTRegion; begin Result:=TJSVTTRegion.JOBCast(Intf); end; function TJSWakeLock.request(aType_: TWakeLockType): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('request',[aType_],TJSPromise) as IJSPromise; end; function TJSWakeLock.request: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('request',[],TJSPromise) as IJSPromise; end; class function TJSWakeLock.JSClassName: UnicodeString; begin Result:='WakeLock'; end; class function TJSWakeLock.Cast(const Intf: IJSObject): IJSWakeLock; begin Result:=TJSWakeLock.JOBCast(Intf); end; function TJSWakeLockSentinel._Getreleased: Boolean; begin Result:=ReadJSPropertyBoolean('released'); end; function TJSWakeLockSentinel._Gettype_: TWakeLockType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSWakeLockSentinel._Getonrelease: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrelease'))); end; procedure TJSWakeLockSentinel._Setonrelease(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrelease',[m],jiSet); finally m.free end; end; function TJSWakeLockSentinel.release: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('release',[],TJSPromise) as IJSPromise; end; class function TJSWakeLockSentinel.JSClassName: UnicodeString; begin Result:='WakeLockSentinel'; end; class function TJSWakeLockSentinel.Cast(const Intf: IJSObject): IJSWakeLockSentinel; begin Result:=TJSWakeLockSentinel.JOBCast(Intf); end; function TJSWaveShaperOptions._Getcurve: TSingleDynArray; begin Result:=ReadJSPropertyObject('curve',TJSArray) as TSingleDynArray; end; function TJSWaveShaperOptions._Getoversample: TOverSampleType; begin Result:=ReadJSPropertyUnicodeString('oversample'); end; procedure TJSWaveShaperOptions._Setcurve(const aValue : TSingleDynArray); begin WriteJSPropertyObject('curve',aValue); end; procedure TJSWaveShaperOptions._Setoversample(const aValue : TOverSampleType); begin WriteJSPropertyUnicodeString('oversample',aValue); end; constructor TJSWaveShaperOptions.create(const aDict : TJSWaveShaperOptionsRec); overload; begin Self.curve:=aDict.curve; Self.oversample:=aDict.oversample; end; class function TJSWaveShaperOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWaveShaperOptions.Cast(const Intf: IJSObject): IJSWaveShaperOptions; begin Result:=TJSWaveShaperOptions.JOBCast(Intf); end; function TJSWaveShaperNode._Getcurve: IJSFloat32Array; begin Result:=ReadJSPropertyObject('curve',TJSFloat32Array) as IJSFloat32Array; end; function TJSWaveShaperNode._Getoversample: TOverSampleType; begin Result:=ReadJSPropertyUnicodeString('oversample'); end; procedure TJSWaveShaperNode._Setcurve(const aValue : IJSFloat32Array); begin WriteJSPropertyObject('curve',aValue); end; procedure TJSWaveShaperNode._Setoversample(const aValue : TOverSampleType); begin WriteJSPropertyUnicodeString('oversample',aValue); end; constructor TJSWaveShaperNode.Create(aContext: IJSBaseAudioContext; const aOptions: IJSWaveShaperOptions); begin JOBCreate([aContext,aOptions]); end; constructor TJSWaveShaperNode.Create(aContext: IJSBaseAudioContext); begin JOBCreate([aContext]); end; class function TJSWaveShaperNode.JSClassName: UnicodeString; begin Result:='WaveShaperNode'; end; class function TJSWaveShaperNode.Cast(const Intf: IJSObject): IJSWaveShaperNode; begin Result:=TJSWaveShaperNode.JOBCast(Intf); end; function TJSPublicKeyCredential._GetrawId: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('rawId',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSPublicKeyCredential._Getresponse: IJSAuthenticatorResponse; begin Result:=ReadJSPropertyObject('response',TJSAuthenticatorResponse) as IJSAuthenticatorResponse; end; function TJSPublicKeyCredential._GetauthenticatorAttachment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('authenticatorAttachment'); end; function TJSPublicKeyCredential.getClientExtensionResults: IJSAuthenticationExtensionsClientOutputs; begin Result:=InvokeJSObjectResult('getClientExtensionResults',[],TJSAuthenticationExtensionsClientOutputs) as IJSAuthenticationExtensionsClientOutputs; end; function TJSPublicKeyCredential.isConditionalMediationAvailable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isConditionalMediationAvailable',[],TJSPromise) as IJSPromise; end; function TJSPublicKeyCredential.toJSON: IJSObject; begin Result:=InvokeJSObjectResult('toJSON',[],TJSObject) as IJSObject; end; function TJSPublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isUserVerifyingPlatformAuthenticatorAvailable',[],TJSPromise) as IJSPromise; end; function TJSPublicKeyCredential.parseCreationOptionsFromJSON(const aOptions: IJSPublicKeyCredentialCreationOptionsJSON): IJSPublicKeyCredentialCreationOptions; begin Result:=InvokeJSObjectResult('parseCreationOptionsFromJSON',[aOptions],TJSPublicKeyCredentialCreationOptions) as IJSPublicKeyCredentialCreationOptions; end; function TJSPublicKeyCredential.parseRequestOptionsFromJSON(const aOptions: IJSPublicKeyCredentialRequestOptionsJSON): IJSPublicKeyCredentialRequestOptions; begin Result:=InvokeJSObjectResult('parseRequestOptionsFromJSON',[aOptions],TJSPublicKeyCredentialRequestOptions) as IJSPublicKeyCredentialRequestOptions; end; class function TJSPublicKeyCredential.JSClassName: UnicodeString; begin Result:='PublicKeyCredential'; end; class function TJSPublicKeyCredential.Cast(const Intf: IJSObject): IJSPublicKeyCredential; begin Result:=TJSPublicKeyCredential.JOBCast(Intf); end; function TJSRegistrationResponseJSON._Getid: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSRegistrationResponseJSON._GetrawId: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('rawId'); end; function TJSRegistrationResponseJSON._Getresponse: IJSAuthenticatorAttestationResponseJSON; begin Result:=ReadJSPropertyObject('response',TJSAuthenticatorAttestationResponseJSON) as IJSAuthenticatorAttestationResponseJSON; end; function TJSRegistrationResponseJSON._GetauthenticatorAttachment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('authenticatorAttachment'); end; function TJSRegistrationResponseJSON._GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; begin Result:=ReadJSPropertyObject('clientExtensionResults',TJSAuthenticationExtensionsClientOutputsJSON) as IJSAuthenticationExtensionsClientOutputsJSON; end; function TJSRegistrationResponseJSON._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSRegistrationResponseJSON._Setid(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSRegistrationResponseJSON._SetrawId(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('rawId',aValue); end; procedure TJSRegistrationResponseJSON._Setresponse(const aValue : IJSAuthenticatorAttestationResponseJSON); begin WriteJSPropertyObject('response',aValue); end; procedure TJSRegistrationResponseJSON._SetauthenticatorAttachment(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('authenticatorAttachment',aValue); end; procedure TJSRegistrationResponseJSON._SetclientExtensionResults(const aValue : IJSAuthenticationExtensionsClientOutputsJSON); begin WriteJSPropertyObject('clientExtensionResults',aValue); end; procedure TJSRegistrationResponseJSON._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSRegistrationResponseJSON.create(const aDict : TJSRegistrationResponseJSONRec); overload; begin Self.id:=aDict.id; Self.rawId:=aDict.rawId; Self.response:=aDict.response; Self.authenticatorAttachment:=aDict.authenticatorAttachment; Self.clientExtensionResults:=aDict.clientExtensionResults; Self.type_:=aDict.type_; end; class function TJSRegistrationResponseJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSRegistrationResponseJSON.Cast(const Intf: IJSObject): IJSRegistrationResponseJSON; begin Result:=TJSRegistrationResponseJSON.JOBCast(Intf); end; function TJSAuthenticatorAttestationResponseJSON._GetclientDataJSON: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('clientDataJSON'); end; function TJSAuthenticatorAttestationResponseJSON._GetauthenticatorData: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('authenticatorData'); end; function TJSAuthenticatorAttestationResponseJSON._Gettransports: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('transports',TJSArray) as TUnicodeStringDynArray; end; function TJSAuthenticatorAttestationResponseJSON._GetpublicKey: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('publicKey'); end; function TJSAuthenticatorAttestationResponseJSON._GetpublicKeyAlgorithm: Int64; begin Result:=ReadJSPropertyInt64('publicKeyAlgorithm'); end; function TJSAuthenticatorAttestationResponseJSON._GetattestationObject: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('attestationObject'); end; procedure TJSAuthenticatorAttestationResponseJSON._SetclientDataJSON(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('clientDataJSON',aValue); end; procedure TJSAuthenticatorAttestationResponseJSON._SetauthenticatorData(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('authenticatorData',aValue); end; procedure TJSAuthenticatorAttestationResponseJSON._Settransports(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('transports',aValue); end; procedure TJSAuthenticatorAttestationResponseJSON._SetpublicKey(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('publicKey',aValue); end; procedure TJSAuthenticatorAttestationResponseJSON._SetpublicKeyAlgorithm(const aValue : Int64); begin WriteJSPropertyDouble('publicKeyAlgorithm',aValue); end; procedure TJSAuthenticatorAttestationResponseJSON._SetattestationObject(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('attestationObject',aValue); end; constructor TJSAuthenticatorAttestationResponseJSON.create(const aDict : TJSAuthenticatorAttestationResponseJSONRec); overload; begin Self.clientDataJSON:=aDict.clientDataJSON; Self.authenticatorData:=aDict.authenticatorData; Self.transports:=aDict.transports; Self.publicKey:=aDict.publicKey; Self.publicKeyAlgorithm:=aDict.publicKeyAlgorithm; Self.attestationObject:=aDict.attestationObject; end; class function TJSAuthenticatorAttestationResponseJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticatorAttestationResponseJSON.Cast(const Intf: IJSObject): IJSAuthenticatorAttestationResponseJSON; begin Result:=TJSAuthenticatorAttestationResponseJSON.JOBCast(Intf); end; function TJSAuthenticationResponseJSON._Getid: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSAuthenticationResponseJSON._GetrawId: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('rawId'); end; function TJSAuthenticationResponseJSON._Getresponse: IJSAuthenticatorAssertionResponseJSON; begin Result:=ReadJSPropertyObject('response',TJSAuthenticatorAssertionResponseJSON) as IJSAuthenticatorAssertionResponseJSON; end; function TJSAuthenticationResponseJSON._GetauthenticatorAttachment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('authenticatorAttachment'); end; function TJSAuthenticationResponseJSON._GetclientExtensionResults: IJSAuthenticationExtensionsClientOutputsJSON; begin Result:=ReadJSPropertyObject('clientExtensionResults',TJSAuthenticationExtensionsClientOutputsJSON) as IJSAuthenticationExtensionsClientOutputsJSON; end; function TJSAuthenticationResponseJSON._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSAuthenticationResponseJSON._Setid(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSAuthenticationResponseJSON._SetrawId(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('rawId',aValue); end; procedure TJSAuthenticationResponseJSON._Setresponse(const aValue : IJSAuthenticatorAssertionResponseJSON); begin WriteJSPropertyObject('response',aValue); end; procedure TJSAuthenticationResponseJSON._SetauthenticatorAttachment(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('authenticatorAttachment',aValue); end; procedure TJSAuthenticationResponseJSON._SetclientExtensionResults(const aValue : IJSAuthenticationExtensionsClientOutputsJSON); begin WriteJSPropertyObject('clientExtensionResults',aValue); end; procedure TJSAuthenticationResponseJSON._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSAuthenticationResponseJSON.create(const aDict : TJSAuthenticationResponseJSONRec); overload; begin Self.id:=aDict.id; Self.rawId:=aDict.rawId; Self.response:=aDict.response; Self.authenticatorAttachment:=aDict.authenticatorAttachment; Self.clientExtensionResults:=aDict.clientExtensionResults; Self.type_:=aDict.type_; end; class function TJSAuthenticationResponseJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticationResponseJSON.Cast(const Intf: IJSObject): IJSAuthenticationResponseJSON; begin Result:=TJSAuthenticationResponseJSON.JOBCast(Intf); end; function TJSAuthenticatorAssertionResponseJSON._GetclientDataJSON: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('clientDataJSON'); end; function TJSAuthenticatorAssertionResponseJSON._GetauthenticatorData: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('authenticatorData'); end; function TJSAuthenticatorAssertionResponseJSON._Getsignature: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('signature'); end; function TJSAuthenticatorAssertionResponseJSON._GetuserHandle: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('userHandle'); end; function TJSAuthenticatorAssertionResponseJSON._GetattestationObject: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('attestationObject'); end; procedure TJSAuthenticatorAssertionResponseJSON._SetclientDataJSON(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('clientDataJSON',aValue); end; procedure TJSAuthenticatorAssertionResponseJSON._SetauthenticatorData(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('authenticatorData',aValue); end; procedure TJSAuthenticatorAssertionResponseJSON._Setsignature(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('signature',aValue); end; procedure TJSAuthenticatorAssertionResponseJSON._SetuserHandle(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('userHandle',aValue); end; procedure TJSAuthenticatorAssertionResponseJSON._SetattestationObject(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('attestationObject',aValue); end; constructor TJSAuthenticatorAssertionResponseJSON.create(const aDict : TJSAuthenticatorAssertionResponseJSONRec); overload; begin Self.clientDataJSON:=aDict.clientDataJSON; Self.authenticatorData:=aDict.authenticatorData; Self.signature:=aDict.signature; Self.userHandle:=aDict.userHandle; Self.attestationObject:=aDict.attestationObject; end; class function TJSAuthenticatorAssertionResponseJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticatorAssertionResponseJSON.Cast(const Intf: IJSObject): IJSAuthenticatorAssertionResponseJSON; begin Result:=TJSAuthenticatorAssertionResponseJSON.JOBCast(Intf); end; function TJSAuthenticationExtensionsClientOutputsJSON._Getappid: Boolean; begin Result:=ReadJSPropertyBoolean('appid'); end; function TJSAuthenticationExtensionsClientOutputsJSON._GetcredProps: IJSCredentialPropertiesOutput; begin Result:=ReadJSPropertyObject('credProps',TJSCredentialPropertiesOutput) as IJSCredentialPropertiesOutput; end; function TJSAuthenticationExtensionsClientOutputsJSON._GethmacCreateSecret: Boolean; begin Result:=ReadJSPropertyBoolean('hmacCreateSecret'); end; procedure TJSAuthenticationExtensionsClientOutputsJSON._Setappid(const aValue : Boolean); begin WriteJSPropertyBoolean('appid',aValue); end; procedure TJSAuthenticationExtensionsClientOutputsJSON._SetcredProps(const aValue : IJSCredentialPropertiesOutput); begin WriteJSPropertyObject('credProps',aValue); end; procedure TJSAuthenticationExtensionsClientOutputsJSON._SethmacCreateSecret(const aValue : Boolean); begin WriteJSPropertyBoolean('hmacCreateSecret',aValue); end; constructor TJSAuthenticationExtensionsClientOutputsJSON.create(const aDict : TJSAuthenticationExtensionsClientOutputsJSONRec); overload; begin end; class function TJSAuthenticationExtensionsClientOutputsJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticationExtensionsClientOutputsJSON.Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientOutputsJSON; begin Result:=TJSAuthenticationExtensionsClientOutputsJSON.JOBCast(Intf); end; function TJSPublicKeyCredentialCreationOptionsJSON._Getrp: IJSPublicKeyCredentialRpEntity; begin Result:=ReadJSPropertyObject('rp',TJSPublicKeyCredentialRpEntity) as IJSPublicKeyCredentialRpEntity; end; function TJSPublicKeyCredentialCreationOptionsJSON._Getuser: IJSPublicKeyCredentialUserEntityJSON; begin Result:=ReadJSPropertyObject('user',TJSPublicKeyCredentialUserEntityJSON) as IJSPublicKeyCredentialUserEntityJSON; end; function TJSPublicKeyCredentialCreationOptionsJSON._Getchallenge: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('challenge'); end; function TJSPublicKeyCredentialCreationOptionsJSON._GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; begin Result:=ReadJSPropertyObject('pubKeyCredParams',TJSArray) as TJSPublicKeyCredentialParametersDynArray; end; function TJSPublicKeyCredentialCreationOptionsJSON._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSPublicKeyCredentialCreationOptionsJSON._GetexcludeCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; begin Result:=ReadJSPropertyObject('excludeCredentials',TJSArray) as TJSPublicKeyCredentialDescriptorJSONDynArray; end; function TJSPublicKeyCredentialCreationOptionsJSON._GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; begin Result:=ReadJSPropertyObject('authenticatorSelection',TJSAuthenticatorSelectionCriteria) as IJSAuthenticatorSelectionCriteria; end; function TJSPublicKeyCredentialCreationOptionsJSON._Gethints: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('hints',TJSArray) as TUnicodeStringDynArray; end; function TJSPublicKeyCredentialCreationOptionsJSON._Getattestation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attestation'); end; function TJSPublicKeyCredentialCreationOptionsJSON._GetattestationFormats: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('attestationFormats',TJSArray) as TUnicodeStringDynArray; end; function TJSPublicKeyCredentialCreationOptionsJSON._Getextensions: IJSAuthenticationExtensionsClientInputsJSON; begin Result:=ReadJSPropertyObject('extensions',TJSAuthenticationExtensionsClientInputsJSON) as IJSAuthenticationExtensionsClientInputsJSON; end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Setrp(const aValue : IJSPublicKeyCredentialRpEntity); begin WriteJSPropertyObject('rp',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Setuser(const aValue : IJSPublicKeyCredentialUserEntityJSON); begin WriteJSPropertyObject('user',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Setchallenge(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('challenge',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._SetpubKeyCredParams(const aValue : TJSPublicKeyCredentialParametersDynArray); begin WriteJSPropertyObject('pubKeyCredParams',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._SetexcludeCredentials(const aValue : TJSPublicKeyCredentialDescriptorJSONDynArray); begin WriteJSPropertyObject('excludeCredentials',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._SetauthenticatorSelection(const aValue : IJSAuthenticatorSelectionCriteria); begin WriteJSPropertyObject('authenticatorSelection',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Sethints(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('hints',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Setattestation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('attestation',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._SetattestationFormats(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('attestationFormats',aValue); end; procedure TJSPublicKeyCredentialCreationOptionsJSON._Setextensions(const aValue : IJSAuthenticationExtensionsClientInputsJSON); begin WriteJSPropertyObject('extensions',aValue); end; constructor TJSPublicKeyCredentialCreationOptionsJSON.create(const aDict : TJSPublicKeyCredentialCreationOptionsJSONRec); overload; begin Self.rp:=aDict.rp; Self.user:=aDict.user; Self.challenge:=aDict.challenge; Self.pubKeyCredParams:=aDict.pubKeyCredParams; Self.timeout:=aDict.timeout; Self.excludeCredentials:=aDict.excludeCredentials; Self.authenticatorSelection:=aDict.authenticatorSelection; Self.hints:=aDict.hints; Self.attestation:=aDict.attestation; Self.attestationFormats:=aDict.attestationFormats; Self.extensions:=aDict.extensions; end; class function TJSPublicKeyCredentialCreationOptionsJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialCreationOptionsJSON.Cast(const Intf: IJSObject): IJSPublicKeyCredentialCreationOptionsJSON; begin Result:=TJSPublicKeyCredentialCreationOptionsJSON.JOBCast(Intf); end; function TJSPublicKeyCredentialUserEntityJSON._Getid: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSPublicKeyCredentialUserEntityJSON._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSPublicKeyCredentialUserEntityJSON._GetdisplayName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('displayName'); end; procedure TJSPublicKeyCredentialUserEntityJSON._Setid(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSPublicKeyCredentialUserEntityJSON._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSPublicKeyCredentialUserEntityJSON._SetdisplayName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('displayName',aValue); end; constructor TJSPublicKeyCredentialUserEntityJSON.create(const aDict : TJSPublicKeyCredentialUserEntityJSONRec); overload; begin Self.id:=aDict.id; Self.name:=aDict.name; Self.displayName:=aDict.displayName; end; class function TJSPublicKeyCredentialUserEntityJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialUserEntityJSON.Cast(const Intf: IJSObject): IJSPublicKeyCredentialUserEntityJSON; begin Result:=TJSPublicKeyCredentialUserEntityJSON.JOBCast(Intf); end; function TJSPublicKeyCredentialDescriptorJSON._Getid: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('id'); end; function TJSPublicKeyCredentialDescriptorJSON._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSPublicKeyCredentialDescriptorJSON._Gettransports: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('transports',TJSArray) as TUnicodeStringDynArray; end; procedure TJSPublicKeyCredentialDescriptorJSON._Setid(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('id',aValue); end; procedure TJSPublicKeyCredentialDescriptorJSON._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSPublicKeyCredentialDescriptorJSON._Settransports(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('transports',aValue); end; constructor TJSPublicKeyCredentialDescriptorJSON.create(const aDict : TJSPublicKeyCredentialDescriptorJSONRec); overload; begin Self.id:=aDict.id; Self.type_:=aDict.type_; Self.transports:=aDict.transports; end; class function TJSPublicKeyCredentialDescriptorJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialDescriptorJSON.Cast(const Intf: IJSObject): IJSPublicKeyCredentialDescriptorJSON; begin Result:=TJSPublicKeyCredentialDescriptorJSON.JOBCast(Intf); end; function TJSAuthenticationExtensionsClientInputsJSON._Getappid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appid'); end; function TJSAuthenticationExtensionsClientInputsJSON._GetcredProps: Boolean; begin Result:=ReadJSPropertyBoolean('credProps'); end; function TJSAuthenticationExtensionsClientInputsJSON._GethmacCreateSecret: Boolean; begin Result:=ReadJSPropertyBoolean('hmacCreateSecret'); end; function TJSAuthenticationExtensionsClientInputsJSON._GetminPinLength: Boolean; begin Result:=ReadJSPropertyBoolean('minPinLength'); end; procedure TJSAuthenticationExtensionsClientInputsJSON._Setappid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('appid',aValue); end; procedure TJSAuthenticationExtensionsClientInputsJSON._SetcredProps(const aValue : Boolean); begin WriteJSPropertyBoolean('credProps',aValue); end; procedure TJSAuthenticationExtensionsClientInputsJSON._SethmacCreateSecret(const aValue : Boolean); begin WriteJSPropertyBoolean('hmacCreateSecret',aValue); end; procedure TJSAuthenticationExtensionsClientInputsJSON._SetminPinLength(const aValue : Boolean); begin WriteJSPropertyBoolean('minPinLength',aValue); end; constructor TJSAuthenticationExtensionsClientInputsJSON.create(const aDict : TJSAuthenticationExtensionsClientInputsJSONRec); overload; begin end; class function TJSAuthenticationExtensionsClientInputsJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticationExtensionsClientInputsJSON.Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientInputsJSON; begin Result:=TJSAuthenticationExtensionsClientInputsJSON.JOBCast(Intf); end; function TJSPublicKeyCredentialRequestOptionsJSON._Getchallenge: TBase64URLString; begin Result:=ReadJSPropertyUnicodeString('challenge'); end; function TJSPublicKeyCredentialRequestOptionsJSON._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSPublicKeyCredentialRequestOptionsJSON._GetrpId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rpId'); end; function TJSPublicKeyCredentialRequestOptionsJSON._GetallowCredentials: TJSPublicKeyCredentialDescriptorJSONDynArray; begin Result:=ReadJSPropertyObject('allowCredentials',TJSArray) as TJSPublicKeyCredentialDescriptorJSONDynArray; end; function TJSPublicKeyCredentialRequestOptionsJSON._GetuserVerification: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userVerification'); end; function TJSPublicKeyCredentialRequestOptionsJSON._Gethints: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('hints',TJSArray) as TUnicodeStringDynArray; end; function TJSPublicKeyCredentialRequestOptionsJSON._Getattestation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attestation'); end; function TJSPublicKeyCredentialRequestOptionsJSON._GetattestationFormats: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('attestationFormats',TJSArray) as TUnicodeStringDynArray; end; function TJSPublicKeyCredentialRequestOptionsJSON._Getextensions: IJSAuthenticationExtensionsClientInputsJSON; begin Result:=ReadJSPropertyObject('extensions',TJSAuthenticationExtensionsClientInputsJSON) as IJSAuthenticationExtensionsClientInputsJSON; end; procedure TJSPublicKeyCredentialRequestOptionsJSON._Setchallenge(const aValue : TBase64URLString); begin WriteJSPropertyUnicodeString('challenge',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._SetrpId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rpId',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._SetallowCredentials(const aValue : TJSPublicKeyCredentialDescriptorJSONDynArray); begin WriteJSPropertyObject('allowCredentials',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._SetuserVerification(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('userVerification',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._Sethints(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('hints',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._Setattestation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('attestation',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._SetattestationFormats(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('attestationFormats',aValue); end; procedure TJSPublicKeyCredentialRequestOptionsJSON._Setextensions(const aValue : IJSAuthenticationExtensionsClientInputsJSON); begin WriteJSPropertyObject('extensions',aValue); end; constructor TJSPublicKeyCredentialRequestOptionsJSON.create(const aDict : TJSPublicKeyCredentialRequestOptionsJSONRec); overload; begin Self.challenge:=aDict.challenge; Self.timeout:=aDict.timeout; Self.rpId:=aDict.rpId; Self.allowCredentials:=aDict.allowCredentials; Self.userVerification:=aDict.userVerification; Self.hints:=aDict.hints; Self.attestation:=aDict.attestation; Self.attestationFormats:=aDict.attestationFormats; Self.extensions:=aDict.extensions; end; class function TJSPublicKeyCredentialRequestOptionsJSON.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialRequestOptionsJSON.Cast(const Intf: IJSObject): IJSPublicKeyCredentialRequestOptionsJSON; begin Result:=TJSPublicKeyCredentialRequestOptionsJSON.JOBCast(Intf); end; function TJSAuthenticatorResponse._GetclientDataJSON: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('clientDataJSON',TJSArrayBuffer) as IJSArrayBuffer; end; class function TJSAuthenticatorResponse.JSClassName: UnicodeString; begin Result:='AuthenticatorResponse'; end; class function TJSAuthenticatorResponse.Cast(const Intf: IJSObject): IJSAuthenticatorResponse; begin Result:=TJSAuthenticatorResponse.JOBCast(Intf); end; function TJSAuthenticatorAttestationResponse._GetattestationObject: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('attestationObject',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSAuthenticatorAttestationResponse.getTransports: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getTransports',[],TJSArray) as TUnicodeStringDynArray; end; function TJSAuthenticatorAttestationResponse.getAuthenticatorData: IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getAuthenticatorData',[],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSAuthenticatorAttestationResponse.getPublicKey: IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getPublicKey',[],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSAuthenticatorAttestationResponse.getPublicKeyAlgorithm: TCOSEAlgorithmIdentifier; begin Result:=InvokeJSLongIntResult('getPublicKeyAlgorithm',[]); end; class function TJSAuthenticatorAttestationResponse.JSClassName: UnicodeString; begin Result:='AuthenticatorAttestationResponse'; end; class function TJSAuthenticatorAttestationResponse.Cast(const Intf: IJSObject): IJSAuthenticatorAttestationResponse; begin Result:=TJSAuthenticatorAttestationResponse.JOBCast(Intf); end; function TJSAuthenticatorAssertionResponse._GetauthenticatorData: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('authenticatorData',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSAuthenticatorAssertionResponse._Getsignature: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('signature',TJSArrayBuffer) as IJSArrayBuffer; end; function TJSAuthenticatorAssertionResponse._GetuserHandle: IJSArrayBuffer; begin Result:=ReadJSPropertyObject('userHandle',TJSArrayBuffer) as IJSArrayBuffer; end; class function TJSAuthenticatorAssertionResponse.JSClassName: UnicodeString; begin Result:='AuthenticatorAssertionResponse'; end; class function TJSAuthenticatorAssertionResponse.Cast(const Intf: IJSObject): IJSAuthenticatorAssertionResponse; begin Result:=TJSAuthenticatorAssertionResponse.JOBCast(Intf); end; function TJSPublicKeyCredentialParameters._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSPublicKeyCredentialParameters._Getalg: TCOSEAlgorithmIdentifier; begin Result:=ReadJSPropertyLongInt('alg'); end; procedure TJSPublicKeyCredentialParameters._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSPublicKeyCredentialParameters._Setalg(const aValue : TCOSEAlgorithmIdentifier); begin WriteJSPropertyLongInt('alg',aValue); end; constructor TJSPublicKeyCredentialParameters.create(const aDict : TJSPublicKeyCredentialParametersRec); overload; begin Self.type_:=aDict.type_; Self.alg:=aDict.alg; end; class function TJSPublicKeyCredentialParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialParameters.Cast(const Intf: IJSObject): IJSPublicKeyCredentialParameters; begin Result:=TJSPublicKeyCredentialParameters.JOBCast(Intf); end; function TJSPublicKeyCredentialCreationOptions._Getrp: IJSPublicKeyCredentialRpEntity; begin Result:=ReadJSPropertyObject('rp',TJSPublicKeyCredentialRpEntity) as IJSPublicKeyCredentialRpEntity; end; function TJSPublicKeyCredentialCreationOptions._Getuser: IJSPublicKeyCredentialUserEntity; begin Result:=ReadJSPropertyObject('user',TJSPublicKeyCredentialUserEntity) as IJSPublicKeyCredentialUserEntity; end; function TJSPublicKeyCredentialCreationOptions._Getchallenge: IJSBufferSource; begin Result:=ReadJSPropertyObject('challenge',TJSBufferSource) as IJSBufferSource; end; function TJSPublicKeyCredentialCreationOptions._GetpubKeyCredParams: TJSPublicKeyCredentialParametersDynArray; begin Result:=ReadJSPropertyObject('pubKeyCredParams',TJSArray) as TJSPublicKeyCredentialParametersDynArray; end; function TJSPublicKeyCredentialCreationOptions._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSPublicKeyCredentialCreationOptions._GetexcludeCredentials: TJSPublicKeyCredentialDescriptorDynArray; begin Result:=ReadJSPropertyObject('excludeCredentials',TJSArray) as TJSPublicKeyCredentialDescriptorDynArray; end; function TJSPublicKeyCredentialCreationOptions._GetauthenticatorSelection: IJSAuthenticatorSelectionCriteria; begin Result:=ReadJSPropertyObject('authenticatorSelection',TJSAuthenticatorSelectionCriteria) as IJSAuthenticatorSelectionCriteria; end; function TJSPublicKeyCredentialCreationOptions._Getattestation: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('attestation'); end; function TJSPublicKeyCredentialCreationOptions._Getextensions: IJSAuthenticationExtensionsClientInputs; begin Result:=ReadJSPropertyObject('extensions',TJSAuthenticationExtensionsClientInputs) as IJSAuthenticationExtensionsClientInputs; end; procedure TJSPublicKeyCredentialCreationOptions._Setrp(const aValue : IJSPublicKeyCredentialRpEntity); begin WriteJSPropertyObject('rp',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._Setuser(const aValue : IJSPublicKeyCredentialUserEntity); begin WriteJSPropertyObject('user',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._Setchallenge(const aValue : IJSBufferSource); begin WriteJSPropertyObject('challenge',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._SetpubKeyCredParams(const aValue : TJSPublicKeyCredentialParametersDynArray); begin WriteJSPropertyObject('pubKeyCredParams',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._SetexcludeCredentials(const aValue : TJSPublicKeyCredentialDescriptorDynArray); begin WriteJSPropertyObject('excludeCredentials',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._SetauthenticatorSelection(const aValue : IJSAuthenticatorSelectionCriteria); begin WriteJSPropertyObject('authenticatorSelection',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._Setattestation(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('attestation',aValue); end; procedure TJSPublicKeyCredentialCreationOptions._Setextensions(const aValue : IJSAuthenticationExtensionsClientInputs); begin WriteJSPropertyObject('extensions',aValue); end; constructor TJSPublicKeyCredentialCreationOptions.create(const aDict : TJSPublicKeyCredentialCreationOptionsRec); overload; begin Self.rp:=aDict.rp; Self.user:=aDict.user; Self.challenge:=aDict.challenge; Self.pubKeyCredParams:=aDict.pubKeyCredParams; Self.timeout:=aDict.timeout; Self.excludeCredentials:=aDict.excludeCredentials; Self.authenticatorSelection:=aDict.authenticatorSelection; Self.attestation:=aDict.attestation; Self.extensions:=aDict.extensions; end; class function TJSPublicKeyCredentialCreationOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialCreationOptions.Cast(const Intf: IJSObject): IJSPublicKeyCredentialCreationOptions; begin Result:=TJSPublicKeyCredentialCreationOptions.JOBCast(Intf); end; function TJSPublicKeyCredentialEntity._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSPublicKeyCredentialEntity._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSPublicKeyCredentialEntity.create(const aDict : TJSPublicKeyCredentialEntityRec); overload; begin Self.name:=aDict.name; end; class function TJSPublicKeyCredentialEntity.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialEntity.Cast(const Intf: IJSObject): IJSPublicKeyCredentialEntity; begin Result:=TJSPublicKeyCredentialEntity.JOBCast(Intf); end; function TJSPublicKeyCredentialRpEntity._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSPublicKeyCredentialRpEntity._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; constructor TJSPublicKeyCredentialRpEntity.create(const aDict : TJSPublicKeyCredentialRpEntityRec); overload; begin Self.id:=aDict.id; end; class function TJSPublicKeyCredentialRpEntity.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialRpEntity.Cast(const Intf: IJSObject): IJSPublicKeyCredentialRpEntity; begin Result:=TJSPublicKeyCredentialRpEntity.JOBCast(Intf); end; function TJSPublicKeyCredentialUserEntity._Getid: IJSBufferSource; begin Result:=ReadJSPropertyObject('id',TJSBufferSource) as IJSBufferSource; end; function TJSPublicKeyCredentialUserEntity._GetdisplayName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('displayName'); end; procedure TJSPublicKeyCredentialUserEntity._Setid(const aValue : IJSBufferSource); begin WriteJSPropertyObject('id',aValue); end; procedure TJSPublicKeyCredentialUserEntity._SetdisplayName(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('displayName',aValue); end; constructor TJSPublicKeyCredentialUserEntity.create(const aDict : TJSPublicKeyCredentialUserEntityRec); overload; begin Self.id:=aDict.id; Self.displayName:=aDict.displayName; end; class function TJSPublicKeyCredentialUserEntity.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialUserEntity.Cast(const Intf: IJSObject): IJSPublicKeyCredentialUserEntity; begin Result:=TJSPublicKeyCredentialUserEntity.JOBCast(Intf); end; function TJSAuthenticatorSelectionCriteria._GetauthenticatorAttachment: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('authenticatorAttachment'); end; function TJSAuthenticatorSelectionCriteria._GetresidentKey: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('residentKey'); end; function TJSAuthenticatorSelectionCriteria._GetrequireResidentKey: Boolean; begin Result:=ReadJSPropertyBoolean('requireResidentKey'); end; function TJSAuthenticatorSelectionCriteria._GetuserVerification: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userVerification'); end; procedure TJSAuthenticatorSelectionCriteria._SetauthenticatorAttachment(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('authenticatorAttachment',aValue); end; procedure TJSAuthenticatorSelectionCriteria._SetresidentKey(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('residentKey',aValue); end; procedure TJSAuthenticatorSelectionCriteria._SetrequireResidentKey(const aValue : Boolean); begin WriteJSPropertyBoolean('requireResidentKey',aValue); end; procedure TJSAuthenticatorSelectionCriteria._SetuserVerification(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('userVerification',aValue); end; constructor TJSAuthenticatorSelectionCriteria.create(const aDict : TJSAuthenticatorSelectionCriteriaRec); overload; begin Self.authenticatorAttachment:=aDict.authenticatorAttachment; Self.residentKey:=aDict.residentKey; Self.requireResidentKey:=aDict.requireResidentKey; Self.userVerification:=aDict.userVerification; end; class function TJSAuthenticatorSelectionCriteria.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticatorSelectionCriteria.Cast(const Intf: IJSObject): IJSAuthenticatorSelectionCriteria; begin Result:=TJSAuthenticatorSelectionCriteria.JOBCast(Intf); end; function TJSPublicKeyCredentialRequestOptions._Getchallenge: IJSBufferSource; begin Result:=ReadJSPropertyObject('challenge',TJSBufferSource) as IJSBufferSource; end; function TJSPublicKeyCredentialRequestOptions._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSPublicKeyCredentialRequestOptions._GetrpId: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('rpId'); end; function TJSPublicKeyCredentialRequestOptions._GetallowCredentials: TJSPublicKeyCredentialDescriptorDynArray; begin Result:=ReadJSPropertyObject('allowCredentials',TJSArray) as TJSPublicKeyCredentialDescriptorDynArray; end; function TJSPublicKeyCredentialRequestOptions._GetuserVerification: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userVerification'); end; function TJSPublicKeyCredentialRequestOptions._Getextensions: IJSAuthenticationExtensionsClientInputs; begin Result:=ReadJSPropertyObject('extensions',TJSAuthenticationExtensionsClientInputs) as IJSAuthenticationExtensionsClientInputs; end; procedure TJSPublicKeyCredentialRequestOptions._Setchallenge(const aValue : IJSBufferSource); begin WriteJSPropertyObject('challenge',aValue); end; procedure TJSPublicKeyCredentialRequestOptions._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSPublicKeyCredentialRequestOptions._SetrpId(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('rpId',aValue); end; procedure TJSPublicKeyCredentialRequestOptions._SetallowCredentials(const aValue : TJSPublicKeyCredentialDescriptorDynArray); begin WriteJSPropertyObject('allowCredentials',aValue); end; procedure TJSPublicKeyCredentialRequestOptions._SetuserVerification(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('userVerification',aValue); end; procedure TJSPublicKeyCredentialRequestOptions._Setextensions(const aValue : IJSAuthenticationExtensionsClientInputs); begin WriteJSPropertyObject('extensions',aValue); end; constructor TJSPublicKeyCredentialRequestOptions.create(const aDict : TJSPublicKeyCredentialRequestOptionsRec); overload; begin Self.challenge:=aDict.challenge; Self.timeout:=aDict.timeout; Self.rpId:=aDict.rpId; Self.allowCredentials:=aDict.allowCredentials; Self.userVerification:=aDict.userVerification; Self.extensions:=aDict.extensions; end; class function TJSPublicKeyCredentialRequestOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialRequestOptions.Cast(const Intf: IJSObject): IJSPublicKeyCredentialRequestOptions; begin Result:=TJSPublicKeyCredentialRequestOptions.JOBCast(Intf); end; function TJSAuthenticationExtensionsClientInputs._Getappid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appid'); end; function TJSAuthenticationExtensionsClientInputs._GetcredProps: Boolean; begin Result:=ReadJSPropertyBoolean('credProps'); end; function TJSAuthenticationExtensionsClientInputs._GethmacCreateSecret: Boolean; begin Result:=ReadJSPropertyBoolean('hmacCreateSecret'); end; function TJSAuthenticationExtensionsClientInputs._GetminPinLength: Boolean; begin Result:=ReadJSPropertyBoolean('minPinLength'); end; procedure TJSAuthenticationExtensionsClientInputs._Setappid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('appid',aValue); end; procedure TJSAuthenticationExtensionsClientInputs._SetcredProps(const aValue : Boolean); begin WriteJSPropertyBoolean('credProps',aValue); end; procedure TJSAuthenticationExtensionsClientInputs._SethmacCreateSecret(const aValue : Boolean); begin WriteJSPropertyBoolean('hmacCreateSecret',aValue); end; procedure TJSAuthenticationExtensionsClientInputs._SetminPinLength(const aValue : Boolean); begin WriteJSPropertyBoolean('minPinLength',aValue); end; constructor TJSAuthenticationExtensionsClientInputs.create(const aDict : TJSAuthenticationExtensionsClientInputsRec); overload; begin end; class function TJSAuthenticationExtensionsClientInputs.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticationExtensionsClientInputs.Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientInputs; begin Result:=TJSAuthenticationExtensionsClientInputs.JOBCast(Intf); end; function TJSAuthenticationExtensionsClientOutputs._Getappid: Boolean; begin Result:=ReadJSPropertyBoolean('appid'); end; function TJSAuthenticationExtensionsClientOutputs._GetcredProps: IJSCredentialPropertiesOutput; begin Result:=ReadJSPropertyObject('credProps',TJSCredentialPropertiesOutput) as IJSCredentialPropertiesOutput; end; function TJSAuthenticationExtensionsClientOutputs._GethmacCreateSecret: Boolean; begin Result:=ReadJSPropertyBoolean('hmacCreateSecret'); end; procedure TJSAuthenticationExtensionsClientOutputs._Setappid(const aValue : Boolean); begin WriteJSPropertyBoolean('appid',aValue); end; procedure TJSAuthenticationExtensionsClientOutputs._SetcredProps(const aValue : IJSCredentialPropertiesOutput); begin WriteJSPropertyObject('credProps',aValue); end; procedure TJSAuthenticationExtensionsClientOutputs._SethmacCreateSecret(const aValue : Boolean); begin WriteJSPropertyBoolean('hmacCreateSecret',aValue); end; constructor TJSAuthenticationExtensionsClientOutputs.create(const aDict : TJSAuthenticationExtensionsClientOutputsRec); overload; begin end; class function TJSAuthenticationExtensionsClientOutputs.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSAuthenticationExtensionsClientOutputs.Cast(const Intf: IJSObject): IJSAuthenticationExtensionsClientOutputs; begin Result:=TJSAuthenticationExtensionsClientOutputs.JOBCast(Intf); end; function TJSCollectedClientData._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSCollectedClientData._Getchallenge: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('challenge'); end; function TJSCollectedClientData._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSCollectedClientData._GettokenBinding: IJSTokenBinding; begin Result:=ReadJSPropertyObject('tokenBinding',TJSTokenBinding) as IJSTokenBinding; end; procedure TJSCollectedClientData._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSCollectedClientData._Setchallenge(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('challenge',aValue); end; procedure TJSCollectedClientData._Setorigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('origin',aValue); end; procedure TJSCollectedClientData._SettokenBinding(const aValue : IJSTokenBinding); begin WriteJSPropertyObject('tokenBinding',aValue); end; constructor TJSCollectedClientData.create(const aDict : TJSCollectedClientDataRec); overload; begin Self.type_:=aDict.type_; Self.challenge:=aDict.challenge; Self.origin:=aDict.origin; Self.tokenBinding:=aDict.tokenBinding; end; class function TJSCollectedClientData.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCollectedClientData.Cast(const Intf: IJSObject): IJSCollectedClientData; begin Result:=TJSCollectedClientData.JOBCast(Intf); end; function TJSTokenBinding._Getstatus: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('status'); end; function TJSTokenBinding._Getid: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('id'); end; procedure TJSTokenBinding._Setstatus(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('status',aValue); end; procedure TJSTokenBinding._Setid(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('id',aValue); end; constructor TJSTokenBinding.create(const aDict : TJSTokenBindingRec); overload; begin Self.status:=aDict.status; Self.id:=aDict.id; end; class function TJSTokenBinding.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTokenBinding.Cast(const Intf: IJSObject): IJSTokenBinding; begin Result:=TJSTokenBinding.JOBCast(Intf); end; function TJSPublicKeyCredentialDescriptor._Gettype_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSPublicKeyCredentialDescriptor._Getid: IJSBufferSource; begin Result:=ReadJSPropertyObject('id',TJSBufferSource) as IJSBufferSource; end; function TJSPublicKeyCredentialDescriptor._Gettransports: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('transports',TJSArray) as TUnicodeStringDynArray; end; procedure TJSPublicKeyCredentialDescriptor._Settype_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSPublicKeyCredentialDescriptor._Setid(const aValue : IJSBufferSource); begin WriteJSPropertyObject('id',aValue); end; procedure TJSPublicKeyCredentialDescriptor._Settransports(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('transports',aValue); end; constructor TJSPublicKeyCredentialDescriptor.create(const aDict : TJSPublicKeyCredentialDescriptorRec); overload; begin Self.type_:=aDict.type_; Self.id:=aDict.id; Self.transports:=aDict.transports; end; class function TJSPublicKeyCredentialDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSPublicKeyCredentialDescriptor.Cast(const Intf: IJSObject): IJSPublicKeyCredentialDescriptor; begin Result:=TJSPublicKeyCredentialDescriptor.JOBCast(Intf); end; function TJSCredentialPropertiesOutput._Getrk: Boolean; begin Result:=ReadJSPropertyBoolean('rk'); end; procedure TJSCredentialPropertiesOutput._Setrk(const aValue : Boolean); begin WriteJSPropertyBoolean('rk',aValue); end; constructor TJSCredentialPropertiesOutput.create(const aDict : TJSCredentialPropertiesOutputRec); overload; begin Self.rk:=aDict.rk; end; class function TJSCredentialPropertiesOutput.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSCredentialPropertiesOutput.Cast(const Intf: IJSObject): IJSCredentialPropertiesOutput; begin Result:=TJSCredentialPropertiesOutput.JOBCast(Intf); end; class function TJSWebGLSampler.JSClassName: UnicodeString; begin Result:='WebGLSampler'; end; class function TJSWebGLSampler.Cast(const Intf: IJSObject): IJSWebGLSampler; begin Result:=TJSWebGLSampler.JOBCast(Intf); end; class function TJSWebGLSync.JSClassName: UnicodeString; begin Result:='WebGLSync'; end; class function TJSWebGLSync.Cast(const Intf: IJSObject): IJSWebGLSync; begin Result:=TJSWebGLSync.JOBCast(Intf); end; class function TJSWebGLTransformFeedback.JSClassName: UnicodeString; begin Result:='WebGLTransformFeedback'; end; class function TJSWebGLTransformFeedback.Cast(const Intf: IJSObject): IJSWebGLTransformFeedback; begin Result:=TJSWebGLTransformFeedback.JOBCast(Intf); end; function TJSWebGL2RenderingContext._Getcanvas: TCanvasSource; begin Result:=ReadJSPropertyVariant('canvas'); end; function TJSWebGL2RenderingContext._GetdrawingBufferWidth: TGLsizei; begin Result:=ReadJSPropertyLongInt('drawingBufferWidth'); end; function TJSWebGL2RenderingContext._GetdrawingBufferHeight: TGLsizei; begin Result:=ReadJSPropertyLongInt('drawingBufferHeight'); end; function TJSWebGL2RenderingContext.getContextAttributes: IJSWebGLContextAttributes; begin Result:=InvokeJSObjectResult('getContextAttributes',[],TJSWebGLContextAttributes) as IJSWebGLContextAttributes; end; function TJSWebGL2RenderingContext.isContextLost: Boolean; begin Result:=InvokeJSBooleanResult('isContextLost',[]); end; function TJSWebGL2RenderingContext.getSupportedExtensions: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getSupportedExtensions',[],TJSArray) as TUnicodeStringDynArray; end; function TJSWebGL2RenderingContext.getExtension(const aName: UnicodeString): IJSObject; begin Result:=InvokeJSObjectResult('getExtension',[aName],TJSObject) as IJSObject; end; procedure TJSWebGL2RenderingContext.activeTexture(aTexture: TGLenum); begin InvokeJSNoResult('activeTexture',[aTexture]); end; procedure TJSWebGL2RenderingContext.attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); begin InvokeJSNoResult('attachShader',[aProgram_,aShader]); end; procedure TJSWebGL2RenderingContext.bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); begin InvokeJSNoResult('bindAttribLocation',[aProgram_,aIndex,aName]); end; procedure TJSWebGL2RenderingContext.bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('bindBuffer',[aTarget,aBuffer]); end; procedure TJSWebGL2RenderingContext.bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); begin InvokeJSNoResult('bindFramebuffer',[aTarget,aFramebuffer]); end; procedure TJSWebGL2RenderingContext.bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('bindRenderbuffer',[aTarget,aRenderbuffer]); end; procedure TJSWebGL2RenderingContext.bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); begin InvokeJSNoResult('bindTexture',[aTarget,aTexture]); end; procedure TJSWebGL2RenderingContext.blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); begin InvokeJSNoResult('blendColor',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGL2RenderingContext.blendEquation(aMode: TGLenum); begin InvokeJSNoResult('blendEquation',[aMode]); end; procedure TJSWebGL2RenderingContext.blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); begin InvokeJSNoResult('blendEquationSeparate',[aModeRGB,aModeAlpha]); end; procedure TJSWebGL2RenderingContext.blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); begin InvokeJSNoResult('blendFunc',[aSfactor,aDfactor]); end; procedure TJSWebGL2RenderingContext.blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); begin InvokeJSNoResult('blendFuncSeparate',[aSrcRGB,aDstRGB,aSrcAlpha,aDstAlpha]); end; function TJSWebGL2RenderingContext.checkFramebufferStatus(aTarget: TGLenum): TGLenum; begin Result:=InvokeJSLongIntResult('checkFramebufferStatus',[aTarget]); end; procedure TJSWebGL2RenderingContext.clear(aMask: TGLbitfield); begin InvokeJSNoResult('clear',[aMask]); end; procedure TJSWebGL2RenderingContext.clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); begin InvokeJSNoResult('clearColor',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGL2RenderingContext.clearDepth(aDepth: TGLclampf); begin InvokeJSNoResult('clearDepth',[aDepth]); end; procedure TJSWebGL2RenderingContext.clearStencil(aS_: TGLint); begin InvokeJSNoResult('clearStencil',[aS_]); end; procedure TJSWebGL2RenderingContext.colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); begin InvokeJSNoResult('colorMask',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGL2RenderingContext.compileShader(aShader: IJSWebGLShader); begin InvokeJSNoResult('compileShader',[aShader]); end; procedure TJSWebGL2RenderingContext.copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); begin InvokeJSNoResult('copyTexImage2D',[aTarget,aLevel,aInternalformat,aX,aY,aWidth,aHeight,aBorder]); end; procedure TJSWebGL2RenderingContext.copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('copyTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aX,aY,aWidth,aHeight]); end; function TJSWebGL2RenderingContext.createBuffer: IJSWebGLBuffer; begin Result:=InvokeJSObjectResult('createBuffer',[],TJSWebGLBuffer) as IJSWebGLBuffer; end; function TJSWebGL2RenderingContext.createFramebuffer: IJSWebGLFramebuffer; begin Result:=InvokeJSObjectResult('createFramebuffer',[],TJSWebGLFramebuffer) as IJSWebGLFramebuffer; end; function TJSWebGL2RenderingContext.createProgram: IJSWebGLProgram; begin Result:=InvokeJSObjectResult('createProgram',[],TJSWebGLProgram) as IJSWebGLProgram; end; function TJSWebGL2RenderingContext.createRenderbuffer: IJSWebGLRenderbuffer; begin Result:=InvokeJSObjectResult('createRenderbuffer',[],TJSWebGLRenderbuffer) as IJSWebGLRenderbuffer; end; function TJSWebGL2RenderingContext.createShader(aType_: TGLenum): IJSWebGLShader; begin Result:=InvokeJSObjectResult('createShader',[aType_],TJSWebGLShader) as IJSWebGLShader; end; function TJSWebGL2RenderingContext.createTexture: IJSWebGLTexture; begin Result:=InvokeJSObjectResult('createTexture',[],TJSWebGLTexture) as IJSWebGLTexture; end; procedure TJSWebGL2RenderingContext.cullFace(aMode: TGLenum); begin InvokeJSNoResult('cullFace',[aMode]); end; procedure TJSWebGL2RenderingContext.deleteBuffer(aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('deleteBuffer',[aBuffer]); end; procedure TJSWebGL2RenderingContext.deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); begin InvokeJSNoResult('deleteFramebuffer',[aFramebuffer]); end; procedure TJSWebGL2RenderingContext.deleteProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('deleteProgram',[aProgram_]); end; procedure TJSWebGL2RenderingContext.deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('deleteRenderbuffer',[aRenderbuffer]); end; procedure TJSWebGL2RenderingContext.deleteShader(aShader: IJSWebGLShader); begin InvokeJSNoResult('deleteShader',[aShader]); end; procedure TJSWebGL2RenderingContext.deleteTexture(aTexture: IJSWebGLTexture); begin InvokeJSNoResult('deleteTexture',[aTexture]); end; procedure TJSWebGL2RenderingContext.depthFunc(aFunc: TGLenum); begin InvokeJSNoResult('depthFunc',[aFunc]); end; procedure TJSWebGL2RenderingContext.depthMask(aFlag: TGLboolean); begin InvokeJSNoResult('depthMask',[aFlag]); end; procedure TJSWebGL2RenderingContext.depthRange(aZNear: TGLclampf; aZFar: TGLclampf); begin InvokeJSNoResult('depthRange',[aZNear,aZFar]); end; procedure TJSWebGL2RenderingContext.detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); begin InvokeJSNoResult('detachShader',[aProgram_,aShader]); end; procedure TJSWebGL2RenderingContext.disable(aCap: TGLenum); begin InvokeJSNoResult('disable',[aCap]); end; procedure TJSWebGL2RenderingContext.disableVertexAttribArray(aIndex: TGLuint); begin InvokeJSNoResult('disableVertexAttribArray',[aIndex]); end; procedure TJSWebGL2RenderingContext.drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); begin InvokeJSNoResult('drawArrays',[aMode,aFirst,aCount]); end; procedure TJSWebGL2RenderingContext.drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('drawElements',[aMode,aCount,aType_,aOffset]); end; procedure TJSWebGL2RenderingContext.enable(aCap: TGLenum); begin InvokeJSNoResult('enable',[aCap]); end; procedure TJSWebGL2RenderingContext.enableVertexAttribArray(aIndex: TGLuint); begin InvokeJSNoResult('enableVertexAttribArray',[aIndex]); end; procedure TJSWebGL2RenderingContext.finish; begin InvokeJSNoResult('finish',[]); end; procedure TJSWebGL2RenderingContext.flush; begin InvokeJSNoResult('flush',[]); end; procedure TJSWebGL2RenderingContext.framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('framebufferRenderbuffer',[aTarget,aAttachment,aRenderbuffertarget,aRenderbuffer]); end; procedure TJSWebGL2RenderingContext.framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); begin InvokeJSNoResult('framebufferTexture2D',[aTarget,aAttachment,aTextarget,aTexture,aLevel]); end; procedure TJSWebGL2RenderingContext.frontFace(aMode: TGLenum); begin InvokeJSNoResult('frontFace',[aMode]); end; procedure TJSWebGL2RenderingContext.generateMipmap(aTarget: TGLenum); begin InvokeJSNoResult('generateMipmap',[aTarget]); end; function TJSWebGL2RenderingContext.getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getActiveAttrib',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; function TJSWebGL2RenderingContext.getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getActiveUniform',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; function TJSWebGL2RenderingContext.getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; begin Result:=InvokeJSObjectResult('getAttachedShaders',[aProgram_],TJSArray) as TJSWebGLShaderDynArray; end; function TJSWebGL2RenderingContext.getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; begin Result:=InvokeJSLongIntResult('getAttribLocation',[aProgram_,aName]); end; function TJSWebGL2RenderingContext.getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getBufferParameter',[aTarget,aPname]); end; function TJSWebGL2RenderingContext.getParameter(aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getParameter',[aPname]); end; function TJSWebGL2RenderingContext.getError: TGLenum; begin Result:=InvokeJSLongIntResult('getError',[]); end; function TJSWebGL2RenderingContext.getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getFramebufferAttachmentParameter',[aTarget,aAttachment,aPname]); end; function TJSWebGL2RenderingContext.getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getProgramParameter',[aProgram_,aPname]); end; function TJSWebGL2RenderingContext.getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getProgramInfoLog',[aProgram_]); end; function TJSWebGL2RenderingContext.getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getRenderbufferParameter',[aTarget,aPname]); end; function TJSWebGL2RenderingContext.getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getShaderParameter',[aShader,aPname]); end; function TJSWebGL2RenderingContext.getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; begin Result:=InvokeJSObjectResult('getShaderPrecisionFormat',[aShadertype,aPrecisiontype],TJSWebGLShaderPrecisionFormat) as IJSWebGLShaderPrecisionFormat; end; function TJSWebGL2RenderingContext.getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getShaderInfoLog',[aShader]); end; function TJSWebGL2RenderingContext.getShaderSource(aShader: IJSWebGLShader): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getShaderSource',[aShader]); end; function TJSWebGL2RenderingContext.getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getTexParameter',[aTarget,aPname]); end; function TJSWebGL2RenderingContext.getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; begin Result:=InvokeJSVariantResult('getUniform',[aProgram_,aLocation]); end; function TJSWebGL2RenderingContext.getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; begin Result:=InvokeJSObjectResult('getUniformLocation',[aProgram_,aName],TJSWebGLUniformLocation) as IJSWebGLUniformLocation; end; function TJSWebGL2RenderingContext.getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getVertexAttrib',[aIndex,aPname]); end; function TJSWebGL2RenderingContext.getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; begin Result:=InvokeJSMaxIntResult('getVertexAttribOffset',[aIndex,aPname]); end; procedure TJSWebGL2RenderingContext.hint(aTarget: TGLenum; aMode: TGLenum); begin InvokeJSNoResult('hint',[aTarget,aMode]); end; function TJSWebGL2RenderingContext.isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isBuffer',[aBuffer]); end; function TJSWebGL2RenderingContext.isEnabled(aCap: TGLenum): TGLboolean; begin Result:=InvokeJSBooleanResult('isEnabled',[aCap]); end; function TJSWebGL2RenderingContext.isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isFramebuffer',[aFramebuffer]); end; function TJSWebGL2RenderingContext.isProgram(aProgram_: IJSWebGLProgram): TGLboolean; begin Result:=InvokeJSBooleanResult('isProgram',[aProgram_]); end; function TJSWebGL2RenderingContext.isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isRenderbuffer',[aRenderbuffer]); end; function TJSWebGL2RenderingContext.isShader(aShader: IJSWebGLShader): TGLboolean; begin Result:=InvokeJSBooleanResult('isShader',[aShader]); end; function TJSWebGL2RenderingContext.isTexture(aTexture: IJSWebGLTexture): TGLboolean; begin Result:=InvokeJSBooleanResult('isTexture',[aTexture]); end; procedure TJSWebGL2RenderingContext.lineWidth(aWidth: TGLfloat); begin InvokeJSNoResult('lineWidth',[aWidth]); end; procedure TJSWebGL2RenderingContext.linkProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('linkProgram',[aProgram_]); end; procedure TJSWebGL2RenderingContext.pixelStorei(aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('pixelStorei',[aPname,aParam]); end; procedure TJSWebGL2RenderingContext.polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); begin InvokeJSNoResult('polygonOffset',[aFactor,aUnits]); end; procedure TJSWebGL2RenderingContext.renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('renderbufferStorage',[aTarget,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); begin InvokeJSNoResult('sampleCoverage',[aValue,aInvert]); end; procedure TJSWebGL2RenderingContext.scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('scissor',[aX,aY,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); begin InvokeJSNoResult('shaderSource',[aShader,aSource]); end; procedure TJSWebGL2RenderingContext.stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); begin InvokeJSNoResult('stencilFunc',[aFunc,aRef,aMask]); end; procedure TJSWebGL2RenderingContext.stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); begin InvokeJSNoResult('stencilFuncSeparate',[aFace,aFunc,aRef,aMask]); end; procedure TJSWebGL2RenderingContext.stencilMask(aMask: TGLuint); begin InvokeJSNoResult('stencilMask',[aMask]); end; procedure TJSWebGL2RenderingContext.stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); begin InvokeJSNoResult('stencilMaskSeparate',[aFace,aMask]); end; procedure TJSWebGL2RenderingContext.stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); begin InvokeJSNoResult('stencilOp',[aFail,aZfail,aZpass]); end; procedure TJSWebGL2RenderingContext.stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); begin InvokeJSNoResult('stencilOpSeparate',[aFace,aFail,aZfail,aZpass]); end; procedure TJSWebGL2RenderingContext.texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); begin InvokeJSNoResult('texParameterf',[aTarget,aPname,aParam]); end; procedure TJSWebGL2RenderingContext.texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('texParameteri',[aTarget,aPname,aParam]); end; procedure TJSWebGL2RenderingContext.uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); begin InvokeJSNoResult('uniform1f',[aLocation,aX]); end; procedure TJSWebGL2RenderingContext.uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); begin InvokeJSNoResult('uniform2f',[aLocation,aX,aY]); end; procedure TJSWebGL2RenderingContext.uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); begin InvokeJSNoResult('uniform3f',[aLocation,aX,aY,aZ]); end; procedure TJSWebGL2RenderingContext.uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); begin InvokeJSNoResult('uniform4f',[aLocation,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContext.uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); begin InvokeJSNoResult('uniform1i',[aLocation,aX]); end; procedure TJSWebGL2RenderingContext.uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); begin InvokeJSNoResult('uniform2i',[aLocation,aX,aY]); end; procedure TJSWebGL2RenderingContext.uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); begin InvokeJSNoResult('uniform3i',[aLocation,aX,aY,aZ]); end; procedure TJSWebGL2RenderingContext.uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); begin InvokeJSNoResult('uniform4i',[aLocation,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContext.useProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('useProgram',[aProgram_]); end; procedure TJSWebGL2RenderingContext.validateProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('validateProgram',[aProgram_]); end; procedure TJSWebGL2RenderingContext.vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); begin InvokeJSNoResult('vertexAttrib1f',[aIndx,aX]); end; procedure TJSWebGL2RenderingContext.vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib1fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib1fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); begin InvokeJSNoResult('vertexAttrib2f',[aIndx,aX,aY]); end; procedure TJSWebGL2RenderingContext.vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib2fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib2fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); begin InvokeJSNoResult('vertexAttrib3f',[aIndx,aX,aY,aZ]); end; procedure TJSWebGL2RenderingContext.vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib3fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib3fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); begin InvokeJSNoResult('vertexAttrib4f',[aIndx,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContext.vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib4fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib4fv',[aIndx,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('vertexAttribPointer',[aIndx,aSize,aType_,aNormalized,aStride,aOffset]); end; procedure TJSWebGL2RenderingContext.viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('viewport',[aX,aY,aWidth,aHeight]); end; function TJSWebGL2RenderingContext.makeXRCompatible: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('makeXRCompatible',[],TJSPromise) as IJSPromise; end; procedure TJSWebGL2RenderingContext.bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSize,aUsage]); end; procedure TJSWebGL2RenderingContext.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage]); end; procedure TJSWebGL2RenderingContext.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage]); end; procedure TJSWebGL2RenderingContext.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aSrcData]); end; procedure TJSWebGL2RenderingContext.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aSrcData]); end; procedure TJSWebGL2RenderingContext.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage,aSrcOffset,aLength_]); end; procedure TJSWebGL2RenderingContext.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('bufferSubData',[aTarget,aDstByteOffset,aSrcData,aSrcOffset,aLength_]); end; procedure TJSWebGL2RenderingContext.bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('bufferSubData',[aTarget,aDstByteOffset,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); begin InvokeJSNoResult('copyBufferSubData',[aReadTarget,aWriteTarget,aReadOffset,aWriteOffset,aSize]); end; procedure TJSWebGL2RenderingContext.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData,aDstOffset,aLength_]); end; procedure TJSWebGL2RenderingContext.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData]); end; procedure TJSWebGL2RenderingContext.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData,aDstOffset]); end; procedure TJSWebGL2RenderingContext.blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); begin InvokeJSNoResult('blitFramebuffer',[aSrcX0,aSrcY0,aSrcX1,aSrcY1,aDstX0,aDstY0,aDstX1,aDstY1,aMask,aFilter]); end; procedure TJSWebGL2RenderingContext.framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); begin InvokeJSNoResult('framebufferTextureLayer',[aTarget,aAttachment,aTexture,aLevel,aLayer]); end; procedure TJSWebGL2RenderingContext.invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); begin InvokeJSNoResult('invalidateFramebuffer',[aTarget,aAttachments]); end; procedure TJSWebGL2RenderingContext.invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('invalidateSubFramebuffer',[aTarget,aAttachments,aX,aY,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.readBuffer(aSrc: TGLenum); begin InvokeJSNoResult('readBuffer',[aSrc]); end; function TJSWebGL2RenderingContext.getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getInternalformatParameter',[aTarget,aInternalformat,aPname]); end; procedure TJSWebGL2RenderingContext.renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('renderbufferStorageMultisample',[aTarget,aSamples,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('texStorage2D',[aTarget,aLevels,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); begin InvokeJSNoResult('texStorage3D',[aTarget,aLevels,aInternalformat,aWidth,aHeight,aDepth]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aPixels]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aPixels]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSrcData]); end; procedure TJSWebGL2RenderingContext.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSrcData]); end; procedure TJSWebGL2RenderingContext.copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('copyTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aX,aY,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContext.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContext.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData]); end; procedure TJSWebGL2RenderingContext.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContext.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData]); end; procedure TJSWebGL2RenderingContext.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData]); end; procedure TJSWebGL2RenderingContext.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData,aSrcOffset]); end; function TJSWebGL2RenderingContext.getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; begin Result:=InvokeJSLongIntResult('getFragDataLocation',[aProgram_,aName]); end; procedure TJSWebGL2RenderingContext.uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); begin InvokeJSNoResult('uniform1ui',[aLocation,aV0]); end; procedure TJSWebGL2RenderingContext.uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); begin InvokeJSNoResult('uniform2ui',[aLocation,aV0,aV1]); end; procedure TJSWebGL2RenderingContext.uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); begin InvokeJSNoResult('uniform3ui',[aLocation,aV0,aV1,aV2]); end; procedure TJSWebGL2RenderingContext.uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); begin InvokeJSNoResult('uniform4ui',[aLocation,aV0,aV1,aV2,aV3]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); begin InvokeJSNoResult('vertexAttribI4i',[aIndex,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); begin InvokeJSNoResult('vertexAttribI4iv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); begin InvokeJSNoResult('vertexAttribI4iv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); begin InvokeJSNoResult('vertexAttribI4ui',[aIndex,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); begin InvokeJSNoResult('vertexAttribI4uiv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); begin InvokeJSNoResult('vertexAttribI4uiv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContext.vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('vertexAttribIPointer',[aIndex,aSize,aType_,aStride,aOffset]); end; procedure TJSWebGL2RenderingContext.vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); begin InvokeJSNoResult('vertexAttribDivisor',[aIndex,aDivisor]); end; procedure TJSWebGL2RenderingContext.drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); begin InvokeJSNoResult('drawArraysInstanced',[aMode,aFirst,aCount,aInstanceCount]); end; procedure TJSWebGL2RenderingContext.drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); begin InvokeJSNoResult('drawElementsInstanced',[aMode,aCount,aType_,aOffset,aInstanceCount]); end; procedure TJSWebGL2RenderingContext.drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('drawRangeElements',[aMode,aStart,aEnd_,aCount,aType_,aOffset]); end; procedure TJSWebGL2RenderingContext.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aDstData]); end; procedure TJSWebGL2RenderingContext.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aOffset]); end; procedure TJSWebGL2RenderingContext.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aDstData,aDstOffset]); end; procedure TJSWebGL2RenderingContext.drawBuffers(const aBuffers: TGLenumDynArray); begin InvokeJSNoResult('drawBuffers',[aBuffers]); end; procedure TJSWebGL2RenderingContext.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContext.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContext.clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); begin InvokeJSNoResult('clearBufferfi',[aBuffer,aDrawbuffer,aDepth,aStencil]); end; function TJSWebGL2RenderingContext.createQuery: IJSWebGLQuery; begin Result:=InvokeJSObjectResult('createQuery',[],TJSWebGLQuery) as IJSWebGLQuery; end; procedure TJSWebGL2RenderingContext.deleteQuery(aQuery: IJSWebGLQuery); begin InvokeJSNoResult('deleteQuery',[aQuery]); end; function TJSWebGL2RenderingContext.isQuery(aQuery: IJSWebGLQuery): TGLboolean; begin Result:=InvokeJSBooleanResult('isQuery',[aQuery]); end; procedure TJSWebGL2RenderingContext.beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); begin InvokeJSNoResult('beginQuery',[aTarget,aQuery]); end; procedure TJSWebGL2RenderingContext.endQuery(aTarget: TGLenum); begin InvokeJSNoResult('endQuery',[aTarget]); end; function TJSWebGL2RenderingContext.getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQuery',[aTarget,aPname]); end; function TJSWebGL2RenderingContext.getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQueryParameter',[aQuery,aPname]); end; function TJSWebGL2RenderingContext.createSampler: IJSWebGLSampler; begin Result:=InvokeJSObjectResult('createSampler',[],TJSWebGLSampler) as IJSWebGLSampler; end; procedure TJSWebGL2RenderingContext.deleteSampler(aSampler: IJSWebGLSampler); begin InvokeJSNoResult('deleteSampler',[aSampler]); end; function TJSWebGL2RenderingContext.isSampler(aSampler: IJSWebGLSampler): TGLboolean; begin Result:=InvokeJSBooleanResult('isSampler',[aSampler]); end; procedure TJSWebGL2RenderingContext.bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); begin InvokeJSNoResult('bindSampler',[aUnit_,aSampler]); end; procedure TJSWebGL2RenderingContext.samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('samplerParameteri',[aSampler,aPname,aParam]); end; procedure TJSWebGL2RenderingContext.samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); begin InvokeJSNoResult('samplerParameterf',[aSampler,aPname,aParam]); end; function TJSWebGL2RenderingContext.getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getSamplerParameter',[aSampler,aPname]); end; function TJSWebGL2RenderingContext.fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; begin Result:=InvokeJSObjectResult('fenceSync',[aCondition,aFlags],TJSWebGLSync) as IJSWebGLSync; end; function TJSWebGL2RenderingContext.isSync(aSync: IJSWebGLSync): TGLboolean; begin Result:=InvokeJSBooleanResult('isSync',[aSync]); end; procedure TJSWebGL2RenderingContext.deleteSync(aSync: IJSWebGLSync); begin InvokeJSNoResult('deleteSync',[aSync]); end; function TJSWebGL2RenderingContext.clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; begin Result:=InvokeJSLongIntResult('clientWaitSync',[aSync,aFlags,aTimeout]); end; procedure TJSWebGL2RenderingContext.waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); begin InvokeJSNoResult('waitSync',[aSync,aFlags,aTimeout]); end; function TJSWebGL2RenderingContext.getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getSyncParameter',[aSync,aPname]); end; function TJSWebGL2RenderingContext.createTransformFeedback: IJSWebGLTransformFeedback; begin Result:=InvokeJSObjectResult('createTransformFeedback',[],TJSWebGLTransformFeedback) as IJSWebGLTransformFeedback; end; procedure TJSWebGL2RenderingContext.deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); begin InvokeJSNoResult('deleteTransformFeedback',[aTf]); end; function TJSWebGL2RenderingContext.isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; begin Result:=InvokeJSBooleanResult('isTransformFeedback',[aTf]); end; procedure TJSWebGL2RenderingContext.bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); begin InvokeJSNoResult('bindTransformFeedback',[aTarget,aTf]); end; procedure TJSWebGL2RenderingContext.beginTransformFeedback(aPrimitiveMode: TGLenum); begin InvokeJSNoResult('beginTransformFeedback',[aPrimitiveMode]); end; procedure TJSWebGL2RenderingContext.endTransformFeedback; begin InvokeJSNoResult('endTransformFeedback',[]); end; procedure TJSWebGL2RenderingContext.transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); begin InvokeJSNoResult('transformFeedbackVaryings',[aProgram_,aVaryings,aBufferMode]); end; function TJSWebGL2RenderingContext.getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getTransformFeedbackVarying',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; procedure TJSWebGL2RenderingContext.pauseTransformFeedback; begin InvokeJSNoResult('pauseTransformFeedback',[]); end; procedure TJSWebGL2RenderingContext.resumeTransformFeedback; begin InvokeJSNoResult('resumeTransformFeedback',[]); end; procedure TJSWebGL2RenderingContext.bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('bindBufferBase',[aTarget,aIndex,aBuffer]); end; procedure TJSWebGL2RenderingContext.bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); begin InvokeJSNoResult('bindBufferRange',[aTarget,aIndex,aBuffer,aOffset,aSize]); end; function TJSWebGL2RenderingContext.getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; begin Result:=InvokeJSVariantResult('getIndexedParameter',[aTarget,aIndex]); end; function TJSWebGL2RenderingContext.getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; begin Result:=InvokeJSObjectResult('getUniformIndices',[aProgram_,aUniformNames],TJSArray) as TGLuintDynArray; end; function TJSWebGL2RenderingContext.getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getActiveUniforms',[aProgram_,aUniformIndices,aPname]); end; function TJSWebGL2RenderingContext.getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; begin Result:=InvokeJSLongIntResult('getUniformBlockIndex',[aProgram_,aUniformBlockName]); end; function TJSWebGL2RenderingContext.getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getActiveUniformBlockParameter',[aProgram_,aUniformBlockIndex,aPname]); end; function TJSWebGL2RenderingContext.getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getActiveUniformBlockName',[aProgram_,aUniformBlockIndex]); end; procedure TJSWebGL2RenderingContext.uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); begin InvokeJSNoResult('uniformBlockBinding',[aProgram_,aUniformBlockIndex,aUniformBlockBinding]); end; function TJSWebGL2RenderingContext.createVertexArray: IJSWebGLVertexArrayObject; begin Result:=InvokeJSObjectResult('createVertexArray',[],TJSWebGLVertexArrayObject) as IJSWebGLVertexArrayObject; end; procedure TJSWebGL2RenderingContext.deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('deleteVertexArray',[aVertexArray]); end; function TJSWebGL2RenderingContext.isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; begin Result:=InvokeJSBooleanResult('isVertexArray',[aVertexArray]); end; procedure TJSWebGL2RenderingContext.bindVertexArray(aArray_: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('bindVertexArray',[aArray_]); end; class function TJSWebGL2RenderingContext.JSClassName: UnicodeString; begin Result:='WebGL2RenderingContext'; end; class function TJSWebGL2RenderingContext.Cast(const Intf: IJSObject): IJSWebGL2RenderingContext; begin Result:=TJSWebGL2RenderingContext.JOBCast(Intf); end; procedure TJSWebGL2RenderingContextBase.bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSize,aUsage]); end; procedure TJSWebGL2RenderingContextBase.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBuffer; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage]); end; procedure TJSWebGL2RenderingContextBase.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage]); end; procedure TJSWebGL2RenderingContextBase.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBuffer); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage,aSrcOffset,aLength_]); end; procedure TJSWebGL2RenderingContextBase.bufferData(aTarget: TGLenum; aSrcData: IJSArrayBufferView; aUsage: TGLenum; aSrcOffset: TGLuint); begin InvokeJSNoResult('bufferData',[aTarget,aSrcData,aUsage,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('bufferSubData',[aTarget,aDstByteOffset,aSrcData,aSrcOffset,aLength_]); end; procedure TJSWebGL2RenderingContextBase.bufferSubData(aTarget: TGLenum; aDstByteOffset: TGLintptr; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('bufferSubData',[aTarget,aDstByteOffset,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.copyBufferSubData(aReadTarget: TGLenum; aWriteTarget: TGLenum; aReadOffset: TGLintptr; aWriteOffset: TGLintptr; aSize: TGLsizeiptr); begin InvokeJSNoResult('copyBufferSubData',[aReadTarget,aWriteTarget,aReadOffset,aWriteOffset,aSize]); end; procedure TJSWebGL2RenderingContextBase.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint; aLength_: TGLuint); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData,aDstOffset,aLength_]); end; procedure TJSWebGL2RenderingContextBase.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData]); end; procedure TJSWebGL2RenderingContextBase.getBufferSubData(aTarget: TGLenum; aSrcByteOffset: TGLintptr; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); begin InvokeJSNoResult('getBufferSubData',[aTarget,aSrcByteOffset,aDstData,aDstOffset]); end; procedure TJSWebGL2RenderingContextBase.blitFramebuffer(aSrcX0: TGLint; aSrcY0: TGLint; aSrcX1: TGLint; aSrcY1: TGLint; aDstX0: TGLint; aDstY0: TGLint; aDstX1: TGLint; aDstY1: TGLint; aMask: TGLbitfield; aFilter: TGLenum); begin InvokeJSNoResult('blitFramebuffer',[aSrcX0,aSrcY0,aSrcX1,aSrcY1,aDstX0,aDstY0,aDstX1,aDstY1,aMask,aFilter]); end; procedure TJSWebGL2RenderingContextBase.framebufferTextureLayer(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aLayer: TGLint); begin InvokeJSNoResult('framebufferTextureLayer',[aTarget,aAttachment,aTexture,aLevel,aLayer]); end; procedure TJSWebGL2RenderingContextBase.invalidateFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray); begin InvokeJSNoResult('invalidateFramebuffer',[aTarget,aAttachments]); end; procedure TJSWebGL2RenderingContextBase.invalidateSubFramebuffer(aTarget: TGLenum; const aAttachments: TGLenumDynArray; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('invalidateSubFramebuffer',[aTarget,aAttachments,aX,aY,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContextBase.readBuffer(aSrc: TGLenum); begin InvokeJSNoResult('readBuffer',[aSrc]); end; function TJSWebGL2RenderingContextBase.getInternalformatParameter(aTarget: TGLenum; aInternalformat: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getInternalformatParameter',[aTarget,aInternalformat,aPname]); end; procedure TJSWebGL2RenderingContextBase.renderbufferStorageMultisample(aTarget: TGLenum; aSamples: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('renderbufferStorageMultisample',[aTarget,aSamples,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContextBase.texStorage2D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('texStorage2D',[aTarget,aLevels,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContextBase.texStorage3D(aTarget: TGLenum; aLevels: TGLsizei; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei); begin InvokeJSNoResult('texStorage3D',[aTarget,aLevels,aInternalformat,aWidth,aHeight,aDepth]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aPixels]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aPixels]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.texImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPboOffset: TGLintptr); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aPboOffset]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageBitmap); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSImageData); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSource: IJSVideoFrame); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSource]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.texSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('texSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aType_,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.copyTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('copyTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aX,aY,aWidth,aHeight]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.compressedTexImage3D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aBorder: TGLint; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexImage3D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aDepth,aBorder,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aSrcData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aImageSize: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aImageSize,aOffset]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint; aSrcLengthOverride: TGLuint); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData,aSrcOffset,aSrcLengthOverride]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData]); end; procedure TJSWebGL2RenderingContextBase.compressedTexSubImage3D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aZoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aDepth: TGLsizei; aFormat: TGLenum; aSrcData: IJSArrayBufferView; aSrcOffset: TGLuint); begin InvokeJSNoResult('compressedTexSubImage3D',[aTarget,aLevel,aXoffset,aYoffset,aZoffset,aWidth,aHeight,aDepth,aFormat,aSrcData,aSrcOffset]); end; function TJSWebGL2RenderingContextBase.getFragDataLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; begin Result:=InvokeJSLongIntResult('getFragDataLocation',[aProgram_,aName]); end; procedure TJSWebGL2RenderingContextBase.uniform1ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint); begin InvokeJSNoResult('uniform1ui',[aLocation,aV0]); end; procedure TJSWebGL2RenderingContextBase.uniform2ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint); begin InvokeJSNoResult('uniform2ui',[aLocation,aV0,aV1]); end; procedure TJSWebGL2RenderingContextBase.uniform3ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint); begin InvokeJSNoResult('uniform3ui',[aLocation,aV0,aV1,aV2]); end; procedure TJSWebGL2RenderingContextBase.uniform4ui(aLocation: IJSWebGLUniformLocation; aV0: TGLuint; aV1: TGLuint; aV2: TGLuint; aV3: TGLuint); begin InvokeJSNoResult('uniform4ui',[aLocation,aV0,aV1,aV2,aV3]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4fv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4iv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform1uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform1uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform2uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform2uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform3uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform3uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; aData: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniform4uiv(aLocation: IJSWebGLUniformLocation; const aData: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniform4uiv',[aLocation,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x2fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4x3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4x3fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix2x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix2x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix3x4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix3x4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint; aSrcLength: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset,aSrcLength]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4i(aIndex: TGLuint; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); begin InvokeJSNoResult('vertexAttribI4i',[aIndex,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4iv(aIndex: TGLuint; aValues: IJSInt32Array); begin InvokeJSNoResult('vertexAttribI4iv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4iv(aIndex: TGLuint; const aValues: TGLintDynArray); begin InvokeJSNoResult('vertexAttribI4iv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4ui(aIndex: TGLuint; aX: TGLuint; aY: TGLuint; aZ: TGLuint; aW: TGLuint); begin InvokeJSNoResult('vertexAttribI4ui',[aIndex,aX,aY,aZ,aW]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4uiv(aIndex: TGLuint; const aValues: TGLuintDynArray); begin InvokeJSNoResult('vertexAttribI4uiv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribI4uiv(aIndex: TGLuint; aValues: IJSUint32Array); begin InvokeJSNoResult('vertexAttribI4uiv',[aIndex,aValues]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribIPointer(aIndex: TGLuint; aSize: TGLint; aType_: TGLenum; aStride: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('vertexAttribIPointer',[aIndex,aSize,aType_,aStride,aOffset]); end; procedure TJSWebGL2RenderingContextBase.vertexAttribDivisor(aIndex: TGLuint; aDivisor: TGLuint); begin InvokeJSNoResult('vertexAttribDivisor',[aIndex,aDivisor]); end; procedure TJSWebGL2RenderingContextBase.drawArraysInstanced(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aInstanceCount: TGLsizei); begin InvokeJSNoResult('drawArraysInstanced',[aMode,aFirst,aCount,aInstanceCount]); end; procedure TJSWebGL2RenderingContextBase.drawElementsInstanced(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aInstanceCount: TGLsizei); begin InvokeJSNoResult('drawElementsInstanced',[aMode,aCount,aType_,aOffset,aInstanceCount]); end; procedure TJSWebGL2RenderingContextBase.drawRangeElements(aMode: TGLenum; aStart: TGLuint; aEnd_: TGLuint; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('drawRangeElements',[aMode,aStart,aEnd_,aCount,aType_,aOffset]); end; procedure TJSWebGL2RenderingContextBase.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aDstData]); end; procedure TJSWebGL2RenderingContextBase.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aOffset]); end; procedure TJSWebGL2RenderingContextBase.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aDstData: IJSArrayBufferView; aDstOffset: TGLuint); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aDstData,aDstOffset]); end; procedure TJSWebGL2RenderingContextBase.drawBuffers(const aBuffers: TGLenumDynArray); begin InvokeJSNoResult('drawBuffers',[aBuffers]); end; procedure TJSWebGL2RenderingContextBase.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferfv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSFloat32Array); begin InvokeJSNoResult('clearBufferfv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLintDynArray); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSInt32Array); begin InvokeJSNoResult('clearBufferiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array; aSrcOffset: TGLuint); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues,aSrcOffset]); end; procedure TJSWebGL2RenderingContextBase.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; aValues: IJSUint32Array); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferuiv(aBuffer: TGLenum; aDrawbuffer: TGLint; const aValues: TGLuintDynArray); begin InvokeJSNoResult('clearBufferuiv',[aBuffer,aDrawbuffer,aValues]); end; procedure TJSWebGL2RenderingContextBase.clearBufferfi(aBuffer: TGLenum; aDrawbuffer: TGLint; aDepth: TGLfloat; aStencil: TGLint); begin InvokeJSNoResult('clearBufferfi',[aBuffer,aDrawbuffer,aDepth,aStencil]); end; function TJSWebGL2RenderingContextBase.createQuery: IJSWebGLQuery; begin Result:=InvokeJSObjectResult('createQuery',[],TJSWebGLQuery) as IJSWebGLQuery; end; procedure TJSWebGL2RenderingContextBase.deleteQuery(aQuery: IJSWebGLQuery); begin InvokeJSNoResult('deleteQuery',[aQuery]); end; function TJSWebGL2RenderingContextBase.isQuery(aQuery: IJSWebGLQuery): TGLboolean; begin Result:=InvokeJSBooleanResult('isQuery',[aQuery]); end; procedure TJSWebGL2RenderingContextBase.beginQuery(aTarget: TGLenum; aQuery: IJSWebGLQuery); begin InvokeJSNoResult('beginQuery',[aTarget,aQuery]); end; procedure TJSWebGL2RenderingContextBase.endQuery(aTarget: TGLenum); begin InvokeJSNoResult('endQuery',[aTarget]); end; function TJSWebGL2RenderingContextBase.getQuery(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQuery',[aTarget,aPname]); end; function TJSWebGL2RenderingContextBase.getQueryParameter(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQueryParameter',[aQuery,aPname]); end; function TJSWebGL2RenderingContextBase.createSampler: IJSWebGLSampler; begin Result:=InvokeJSObjectResult('createSampler',[],TJSWebGLSampler) as IJSWebGLSampler; end; procedure TJSWebGL2RenderingContextBase.deleteSampler(aSampler: IJSWebGLSampler); begin InvokeJSNoResult('deleteSampler',[aSampler]); end; function TJSWebGL2RenderingContextBase.isSampler(aSampler: IJSWebGLSampler): TGLboolean; begin Result:=InvokeJSBooleanResult('isSampler',[aSampler]); end; procedure TJSWebGL2RenderingContextBase.bindSampler(aUnit_: TGLuint; aSampler: IJSWebGLSampler); begin InvokeJSNoResult('bindSampler',[aUnit_,aSampler]); end; procedure TJSWebGL2RenderingContextBase.samplerParameteri(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('samplerParameteri',[aSampler,aPname,aParam]); end; procedure TJSWebGL2RenderingContextBase.samplerParameterf(aSampler: IJSWebGLSampler; aPname: TGLenum; aParam: TGLfloat); begin InvokeJSNoResult('samplerParameterf',[aSampler,aPname,aParam]); end; function TJSWebGL2RenderingContextBase.getSamplerParameter(aSampler: IJSWebGLSampler; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getSamplerParameter',[aSampler,aPname]); end; function TJSWebGL2RenderingContextBase.fenceSync(aCondition: TGLenum; aFlags: TGLbitfield): IJSWebGLSync; begin Result:=InvokeJSObjectResult('fenceSync',[aCondition,aFlags],TJSWebGLSync) as IJSWebGLSync; end; function TJSWebGL2RenderingContextBase.isSync(aSync: IJSWebGLSync): TGLboolean; begin Result:=InvokeJSBooleanResult('isSync',[aSync]); end; procedure TJSWebGL2RenderingContextBase.deleteSync(aSync: IJSWebGLSync); begin InvokeJSNoResult('deleteSync',[aSync]); end; function TJSWebGL2RenderingContextBase.clientWaitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLuint64): TGLenum; begin Result:=InvokeJSLongIntResult('clientWaitSync',[aSync,aFlags,aTimeout]); end; procedure TJSWebGL2RenderingContextBase.waitSync(aSync: IJSWebGLSync; aFlags: TGLbitfield; aTimeout: TGLint64); begin InvokeJSNoResult('waitSync',[aSync,aFlags,aTimeout]); end; function TJSWebGL2RenderingContextBase.getSyncParameter(aSync: IJSWebGLSync; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getSyncParameter',[aSync,aPname]); end; function TJSWebGL2RenderingContextBase.createTransformFeedback: IJSWebGLTransformFeedback; begin Result:=InvokeJSObjectResult('createTransformFeedback',[],TJSWebGLTransformFeedback) as IJSWebGLTransformFeedback; end; procedure TJSWebGL2RenderingContextBase.deleteTransformFeedback(aTf: IJSWebGLTransformFeedback); begin InvokeJSNoResult('deleteTransformFeedback',[aTf]); end; function TJSWebGL2RenderingContextBase.isTransformFeedback(aTf: IJSWebGLTransformFeedback): TGLboolean; begin Result:=InvokeJSBooleanResult('isTransformFeedback',[aTf]); end; procedure TJSWebGL2RenderingContextBase.bindTransformFeedback(aTarget: TGLenum; aTf: IJSWebGLTransformFeedback); begin InvokeJSNoResult('bindTransformFeedback',[aTarget,aTf]); end; procedure TJSWebGL2RenderingContextBase.beginTransformFeedback(aPrimitiveMode: TGLenum); begin InvokeJSNoResult('beginTransformFeedback',[aPrimitiveMode]); end; procedure TJSWebGL2RenderingContextBase.endTransformFeedback; begin InvokeJSNoResult('endTransformFeedback',[]); end; procedure TJSWebGL2RenderingContextBase.transformFeedbackVaryings(aProgram_: IJSWebGLProgram; const aVaryings: TUnicodeStringDynArray; aBufferMode: TGLenum); begin InvokeJSNoResult('transformFeedbackVaryings',[aProgram_,aVaryings,aBufferMode]); end; function TJSWebGL2RenderingContextBase.getTransformFeedbackVarying(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getTransformFeedbackVarying',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; procedure TJSWebGL2RenderingContextBase.pauseTransformFeedback; begin InvokeJSNoResult('pauseTransformFeedback',[]); end; procedure TJSWebGL2RenderingContextBase.resumeTransformFeedback; begin InvokeJSNoResult('resumeTransformFeedback',[]); end; procedure TJSWebGL2RenderingContextBase.bindBufferBase(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('bindBufferBase',[aTarget,aIndex,aBuffer]); end; procedure TJSWebGL2RenderingContextBase.bindBufferRange(aTarget: TGLenum; aIndex: TGLuint; aBuffer: IJSWebGLBuffer; aOffset: TGLintptr; aSize: TGLsizeiptr); begin InvokeJSNoResult('bindBufferRange',[aTarget,aIndex,aBuffer,aOffset,aSize]); end; function TJSWebGL2RenderingContextBase.getIndexedParameter(aTarget: TGLenum; aIndex: TGLuint): Variant; begin Result:=InvokeJSVariantResult('getIndexedParameter',[aTarget,aIndex]); end; function TJSWebGL2RenderingContextBase.getUniformIndices(aProgram_: IJSWebGLProgram; const aUniformNames: TUnicodeStringDynArray): TGLuintDynArray; begin Result:=InvokeJSObjectResult('getUniformIndices',[aProgram_,aUniformNames],TJSArray) as TGLuintDynArray; end; function TJSWebGL2RenderingContextBase.getActiveUniforms(aProgram_: IJSWebGLProgram; const aUniformIndices: TGLuintDynArray; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getActiveUniforms',[aProgram_,aUniformIndices,aPname]); end; function TJSWebGL2RenderingContextBase.getUniformBlockIndex(aProgram_: IJSWebGLProgram; const aUniformBlockName: UnicodeString): TGLuint; begin Result:=InvokeJSLongIntResult('getUniformBlockIndex',[aProgram_,aUniformBlockName]); end; function TJSWebGL2RenderingContextBase.getActiveUniformBlockParameter(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getActiveUniformBlockParameter',[aProgram_,aUniformBlockIndex,aPname]); end; function TJSWebGL2RenderingContextBase.getActiveUniformBlockName(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getActiveUniformBlockName',[aProgram_,aUniformBlockIndex]); end; procedure TJSWebGL2RenderingContextBase.uniformBlockBinding(aProgram_: IJSWebGLProgram; aUniformBlockIndex: TGLuint; aUniformBlockBinding: TGLuint); begin InvokeJSNoResult('uniformBlockBinding',[aProgram_,aUniformBlockIndex,aUniformBlockBinding]); end; function TJSWebGL2RenderingContextBase.createVertexArray: IJSWebGLVertexArrayObject; begin Result:=InvokeJSObjectResult('createVertexArray',[],TJSWebGLVertexArrayObject) as IJSWebGLVertexArrayObject; end; procedure TJSWebGL2RenderingContextBase.deleteVertexArray(aVertexArray: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('deleteVertexArray',[aVertexArray]); end; function TJSWebGL2RenderingContextBase.isVertexArray(aVertexArray: IJSWebGLVertexArrayObject): TGLboolean; begin Result:=InvokeJSBooleanResult('isVertexArray',[aVertexArray]); end; procedure TJSWebGL2RenderingContextBase.bindVertexArray(aArray_: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('bindVertexArray',[aArray_]); end; class function TJSWebGL2RenderingContextBase.JSClassName: UnicodeString; begin Result:='WebGL2RenderingContextBase'; end; class function TJSWebGL2RenderingContextBase.Cast(const Intf: IJSObject): IJSWebGL2RenderingContextBase; begin Result:=TJSWebGL2RenderingContextBase.JOBCast(Intf); end; class function TJSEXT_color_buffer_float.JSClassName: UnicodeString; begin Result:='EXT_color_buffer_float'; end; class function TJSEXT_color_buffer_float.Cast(const Intf: IJSObject): IJSEXT_color_buffer_float; begin Result:=TJSEXT_color_buffer_float.JOBCast(Intf); end; procedure TJSOVR_multiview2.framebufferTextureMultiviewOVR(aTarget: TGLenum; aAttachment: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint; aBaseViewIndex: TGLint; aNumViews: TGLsizei); begin InvokeJSNoResult('framebufferTextureMultiviewOVR',[aTarget,aAttachment,aTexture,aLevel,aBaseViewIndex,aNumViews]); end; class function TJSOVR_multiview2.JSClassName: UnicodeString; begin Result:='OVR_multiview2'; end; class function TJSOVR_multiview2.Cast(const Intf: IJSObject): IJSOVR_multiview2; begin Result:=TJSOVR_multiview2.JOBCast(Intf); end; function TJSWebGLContextEvent._GetstatusMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('statusMessage'); end; constructor TJSWebGLContextEvent.Create(const aType_: UnicodeString; const aEventInit: IJSWebGLContextEventInit); begin JOBCreate([aType_,aEventInit]); end; constructor TJSWebGLContextEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSWebGLContextEvent.JSClassName: UnicodeString; begin Result:='WebGLContextEvent'; end; class function TJSWebGLContextEvent.Cast(const Intf: IJSObject): IJSWebGLContextEvent; begin Result:=TJSWebGLContextEvent.JOBCast(Intf); end; function TJSWebGLContextEventInit._GetstatusMessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('statusMessage'); end; procedure TJSWebGLContextEventInit._SetstatusMessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('statusMessage',aValue); end; constructor TJSWebGLContextEventInit.create(const aDict : TJSWebGLContextEventInitRec); overload; begin Self.statusMessage:=aDict.statusMessage; end; class function TJSWebGLContextEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebGLContextEventInit.Cast(const Intf: IJSObject): IJSWebGLContextEventInit; begin Result:=TJSWebGLContextEventInit.JOBCast(Intf); end; function TJSWebGLContextAttributes._Getalpha: TGLboolean; begin Result:=ReadJSPropertyBoolean('alpha'); end; function TJSWebGLContextAttributes._Getdepth: TGLboolean; begin Result:=ReadJSPropertyBoolean('depth'); end; function TJSWebGLContextAttributes._Getstencil: TGLboolean; begin Result:=ReadJSPropertyBoolean('stencil'); end; function TJSWebGLContextAttributes._Getantialias: TGLboolean; begin Result:=ReadJSPropertyBoolean('antialias'); end; function TJSWebGLContextAttributes._GetpremultipliedAlpha: TGLboolean; begin Result:=ReadJSPropertyBoolean('premultipliedAlpha'); end; function TJSWebGLContextAttributes._GetpreserveDrawingBuffer: TGLboolean; begin Result:=ReadJSPropertyBoolean('preserveDrawingBuffer'); end; function TJSWebGLContextAttributes._GetfailIfMajorPerformanceCaveat: TGLboolean; begin Result:=ReadJSPropertyBoolean('failIfMajorPerformanceCaveat'); end; function TJSWebGLContextAttributes._GetpowerPreference: TWebGLPowerPreference; begin Result:=ReadJSPropertyUnicodeString('powerPreference'); end; function TJSWebGLContextAttributes._GetcolorSpace: TPredefinedColorSpace; begin Result:=ReadJSPropertyUnicodeString('colorSpace'); end; function TJSWebGLContextAttributes._GetxrCompatible: Boolean; begin Result:=ReadJSPropertyBoolean('xrCompatible'); end; procedure TJSWebGLContextAttributes._Setalpha(const aValue : TGLboolean); begin WriteJSPropertyBoolean('alpha',aValue); end; procedure TJSWebGLContextAttributes._Setdepth(const aValue : TGLboolean); begin WriteJSPropertyBoolean('depth',aValue); end; procedure TJSWebGLContextAttributes._Setstencil(const aValue : TGLboolean); begin WriteJSPropertyBoolean('stencil',aValue); end; procedure TJSWebGLContextAttributes._Setantialias(const aValue : TGLboolean); begin WriteJSPropertyBoolean('antialias',aValue); end; procedure TJSWebGLContextAttributes._SetpremultipliedAlpha(const aValue : TGLboolean); begin WriteJSPropertyBoolean('premultipliedAlpha',aValue); end; procedure TJSWebGLContextAttributes._SetpreserveDrawingBuffer(const aValue : TGLboolean); begin WriteJSPropertyBoolean('preserveDrawingBuffer',aValue); end; procedure TJSWebGLContextAttributes._SetfailIfMajorPerformanceCaveat(const aValue : TGLboolean); begin WriteJSPropertyBoolean('failIfMajorPerformanceCaveat',aValue); end; procedure TJSWebGLContextAttributes._SetpowerPreference(const aValue : TWebGLPowerPreference); begin WriteJSPropertyUnicodeString('powerPreference',aValue); end; procedure TJSWebGLContextAttributes._SetcolorSpace(const aValue : TPredefinedColorSpace); begin WriteJSPropertyUnicodeString('colorSpace',aValue); end; procedure TJSWebGLContextAttributes._SetxrCompatible(const aValue : Boolean); begin WriteJSPropertyBoolean('xrCompatible',aValue); end; constructor TJSWebGLContextAttributes.create(const aDict : TJSWebGLContextAttributesRec); overload; begin Self.alpha:=aDict.alpha; Self.depth:=aDict.depth; Self.stencil:=aDict.stencil; Self.antialias:=aDict.antialias; Self.premultipliedAlpha:=aDict.premultipliedAlpha; Self.preserveDrawingBuffer:=aDict.preserveDrawingBuffer; Self.failIfMajorPerformanceCaveat:=aDict.failIfMajorPerformanceCaveat; Self.powerPreference:=aDict.powerPreference; Self.colorSpace:=aDict.colorSpace; end; class function TJSWebGLContextAttributes.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebGLContextAttributes.Cast(const Intf: IJSObject): IJSWebGLContextAttributes; begin Result:=TJSWebGLContextAttributes.JOBCast(Intf); end; class function TJSWebGLBuffer.JSClassName: UnicodeString; begin Result:='WebGLBuffer'; end; class function TJSWebGLBuffer.Cast(const Intf: IJSObject): IJSWebGLBuffer; begin Result:=TJSWebGLBuffer.JOBCast(Intf); end; class function TJSWebGLFramebuffer.JSClassName: UnicodeString; begin Result:='WebGLFramebuffer'; end; class function TJSWebGLFramebuffer.Cast(const Intf: IJSObject): IJSWebGLFramebuffer; begin Result:=TJSWebGLFramebuffer.JOBCast(Intf); end; class function TJSWebGLProgram.JSClassName: UnicodeString; begin Result:='WebGLProgram'; end; class function TJSWebGLProgram.Cast(const Intf: IJSObject): IJSWebGLProgram; begin Result:=TJSWebGLProgram.JOBCast(Intf); end; class function TJSWebGLRenderbuffer.JSClassName: UnicodeString; begin Result:='WebGLRenderbuffer'; end; class function TJSWebGLRenderbuffer.Cast(const Intf: IJSObject): IJSWebGLRenderbuffer; begin Result:=TJSWebGLRenderbuffer.JOBCast(Intf); end; class function TJSWebGLShader.JSClassName: UnicodeString; begin Result:='WebGLShader'; end; class function TJSWebGLShader.Cast(const Intf: IJSObject): IJSWebGLShader; begin Result:=TJSWebGLShader.JOBCast(Intf); end; class function TJSWebGLTexture.JSClassName: UnicodeString; begin Result:='WebGLTexture'; end; class function TJSWebGLTexture.Cast(const Intf: IJSObject): IJSWebGLTexture; begin Result:=TJSWebGLTexture.JOBCast(Intf); end; class function TJSWebGLUniformLocation.JSClassName: UnicodeString; begin Result:='WebGLUniformLocation'; end; class function TJSWebGLUniformLocation.Cast(const Intf: IJSObject): IJSWebGLUniformLocation; begin Result:=TJSWebGLUniformLocation.JOBCast(Intf); end; class function TJSWebGLVertexArrayObject.JSClassName: UnicodeString; begin Result:='WebGLVertexArrayObject'; end; class function TJSWebGLVertexArrayObject.Cast(const Intf: IJSObject): IJSWebGLVertexArrayObject; begin Result:=TJSWebGLVertexArrayObject.JOBCast(Intf); end; function TJSWebGLActiveInfo._Getsize: TGLint; begin Result:=ReadJSPropertyLongInt('size'); end; function TJSWebGLActiveInfo._Gettype_: TGLenum; begin Result:=ReadJSPropertyInt64('type'); end; function TJSWebGLActiveInfo._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; class function TJSWebGLActiveInfo.JSClassName: UnicodeString; begin Result:='WebGLActiveInfo'; end; class function TJSWebGLActiveInfo.Cast(const Intf: IJSObject): IJSWebGLActiveInfo; begin Result:=TJSWebGLActiveInfo.JOBCast(Intf); end; function TJSWebGLShaderPrecisionFormat._GetrangeMin: TGLint; begin Result:=ReadJSPropertyLongInt('rangeMin'); end; function TJSWebGLShaderPrecisionFormat._GetrangeMax: TGLint; begin Result:=ReadJSPropertyLongInt('rangeMax'); end; function TJSWebGLShaderPrecisionFormat._Getprecision: TGLint; begin Result:=ReadJSPropertyLongInt('precision'); end; class function TJSWebGLShaderPrecisionFormat.JSClassName: UnicodeString; begin Result:='WebGLShaderPrecisionFormat'; end; class function TJSWebGLShaderPrecisionFormat.Cast(const Intf: IJSObject): IJSWebGLShaderPrecisionFormat; begin Result:=TJSWebGLShaderPrecisionFormat.JOBCast(Intf); end; function TJSWebGLRenderingContextBase._Getcanvas: TCanvasSource; begin Result:=ReadJSPropertyVariant('canvas'); end; function TJSWebGLRenderingContextBase._GetdrawingBufferWidth: TGLsizei; begin Result:=ReadJSPropertyLongInt('drawingBufferWidth'); end; function TJSWebGLRenderingContextBase._GetdrawingBufferHeight: TGLsizei; begin Result:=ReadJSPropertyLongInt('drawingBufferHeight'); end; function TJSWebGLRenderingContextBase.getContextAttributes: IJSWebGLContextAttributes; begin Result:=InvokeJSObjectResult('getContextAttributes',[],TJSWebGLContextAttributes) as IJSWebGLContextAttributes; end; function TJSWebGLRenderingContextBase.isContextLost: Boolean; begin Result:=InvokeJSBooleanResult('isContextLost',[]); end; function TJSWebGLRenderingContextBase.getSupportedExtensions: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getSupportedExtensions',[],TJSArray) as TUnicodeStringDynArray; end; function TJSWebGLRenderingContextBase.getExtension(const aName: UnicodeString): IJSObject; begin Result:=InvokeJSObjectResult('getExtension',[aName],TJSObject) as IJSObject; end; procedure TJSWebGLRenderingContextBase.activeTexture(aTexture: TGLenum); begin InvokeJSNoResult('activeTexture',[aTexture]); end; procedure TJSWebGLRenderingContextBase.attachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); begin InvokeJSNoResult('attachShader',[aProgram_,aShader]); end; procedure TJSWebGLRenderingContextBase.bindAttribLocation(aProgram_: IJSWebGLProgram; aIndex: TGLuint; const aName: UnicodeString); begin InvokeJSNoResult('bindAttribLocation',[aProgram_,aIndex,aName]); end; procedure TJSWebGLRenderingContextBase.bindBuffer(aTarget: TGLenum; aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('bindBuffer',[aTarget,aBuffer]); end; procedure TJSWebGLRenderingContextBase.bindFramebuffer(aTarget: TGLenum; aFramebuffer: IJSWebGLFramebuffer); begin InvokeJSNoResult('bindFramebuffer',[aTarget,aFramebuffer]); end; procedure TJSWebGLRenderingContextBase.bindRenderbuffer(aTarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('bindRenderbuffer',[aTarget,aRenderbuffer]); end; procedure TJSWebGLRenderingContextBase.bindTexture(aTarget: TGLenum; aTexture: IJSWebGLTexture); begin InvokeJSNoResult('bindTexture',[aTarget,aTexture]); end; procedure TJSWebGLRenderingContextBase.blendColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); begin InvokeJSNoResult('blendColor',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGLRenderingContextBase.blendEquation(aMode: TGLenum); begin InvokeJSNoResult('blendEquation',[aMode]); end; procedure TJSWebGLRenderingContextBase.blendEquationSeparate(aModeRGB: TGLenum; aModeAlpha: TGLenum); begin InvokeJSNoResult('blendEquationSeparate',[aModeRGB,aModeAlpha]); end; procedure TJSWebGLRenderingContextBase.blendFunc(aSfactor: TGLenum; aDfactor: TGLenum); begin InvokeJSNoResult('blendFunc',[aSfactor,aDfactor]); end; procedure TJSWebGLRenderingContextBase.blendFuncSeparate(aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); begin InvokeJSNoResult('blendFuncSeparate',[aSrcRGB,aDstRGB,aSrcAlpha,aDstAlpha]); end; function TJSWebGLRenderingContextBase.checkFramebufferStatus(aTarget: TGLenum): TGLenum; begin Result:=InvokeJSLongIntResult('checkFramebufferStatus',[aTarget]); end; procedure TJSWebGLRenderingContextBase.clear(aMask: TGLbitfield); begin InvokeJSNoResult('clear',[aMask]); end; procedure TJSWebGLRenderingContextBase.clearColor(aRed: TGLfloat; aGreen: TGLfloat; aBlue: TGLfloat; aAlpha: TGLfloat); begin InvokeJSNoResult('clearColor',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGLRenderingContextBase.clearDepth(aDepth: TGLclampf); begin InvokeJSNoResult('clearDepth',[aDepth]); end; procedure TJSWebGLRenderingContextBase.clearStencil(aS_: TGLint); begin InvokeJSNoResult('clearStencil',[aS_]); end; procedure TJSWebGLRenderingContextBase.colorMask(aRed: TGLboolean; aGreen: TGLboolean; aBlue: TGLboolean; aAlpha: TGLboolean); begin InvokeJSNoResult('colorMask',[aRed,aGreen,aBlue,aAlpha]); end; procedure TJSWebGLRenderingContextBase.compileShader(aShader: IJSWebGLShader); begin InvokeJSNoResult('compileShader',[aShader]); end; procedure TJSWebGLRenderingContextBase.copyTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint); begin InvokeJSNoResult('copyTexImage2D',[aTarget,aLevel,aInternalformat,aX,aY,aWidth,aHeight,aBorder]); end; procedure TJSWebGLRenderingContextBase.copyTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('copyTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aX,aY,aWidth,aHeight]); end; function TJSWebGLRenderingContextBase.createBuffer: IJSWebGLBuffer; begin Result:=InvokeJSObjectResult('createBuffer',[],TJSWebGLBuffer) as IJSWebGLBuffer; end; function TJSWebGLRenderingContextBase.createFramebuffer: IJSWebGLFramebuffer; begin Result:=InvokeJSObjectResult('createFramebuffer',[],TJSWebGLFramebuffer) as IJSWebGLFramebuffer; end; function TJSWebGLRenderingContextBase.createProgram: IJSWebGLProgram; begin Result:=InvokeJSObjectResult('createProgram',[],TJSWebGLProgram) as IJSWebGLProgram; end; function TJSWebGLRenderingContextBase.createRenderbuffer: IJSWebGLRenderbuffer; begin Result:=InvokeJSObjectResult('createRenderbuffer',[],TJSWebGLRenderbuffer) as IJSWebGLRenderbuffer; end; function TJSWebGLRenderingContextBase.createShader(aType_: TGLenum): IJSWebGLShader; begin Result:=InvokeJSObjectResult('createShader',[aType_],TJSWebGLShader) as IJSWebGLShader; end; function TJSWebGLRenderingContextBase.createTexture: IJSWebGLTexture; begin Result:=InvokeJSObjectResult('createTexture',[],TJSWebGLTexture) as IJSWebGLTexture; end; procedure TJSWebGLRenderingContextBase.cullFace(aMode: TGLenum); begin InvokeJSNoResult('cullFace',[aMode]); end; procedure TJSWebGLRenderingContextBase.deleteBuffer(aBuffer: IJSWebGLBuffer); begin InvokeJSNoResult('deleteBuffer',[aBuffer]); end; procedure TJSWebGLRenderingContextBase.deleteFramebuffer(aFramebuffer: IJSWebGLFramebuffer); begin InvokeJSNoResult('deleteFramebuffer',[aFramebuffer]); end; procedure TJSWebGLRenderingContextBase.deleteProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('deleteProgram',[aProgram_]); end; procedure TJSWebGLRenderingContextBase.deleteRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('deleteRenderbuffer',[aRenderbuffer]); end; procedure TJSWebGLRenderingContextBase.deleteShader(aShader: IJSWebGLShader); begin InvokeJSNoResult('deleteShader',[aShader]); end; procedure TJSWebGLRenderingContextBase.deleteTexture(aTexture: IJSWebGLTexture); begin InvokeJSNoResult('deleteTexture',[aTexture]); end; procedure TJSWebGLRenderingContextBase.depthFunc(aFunc: TGLenum); begin InvokeJSNoResult('depthFunc',[aFunc]); end; procedure TJSWebGLRenderingContextBase.depthMask(aFlag: TGLboolean); begin InvokeJSNoResult('depthMask',[aFlag]); end; procedure TJSWebGLRenderingContextBase.depthRange(aZNear: TGLclampf; aZFar: TGLclampf); begin InvokeJSNoResult('depthRange',[aZNear,aZFar]); end; procedure TJSWebGLRenderingContextBase.detachShader(aProgram_: IJSWebGLProgram; aShader: IJSWebGLShader); begin InvokeJSNoResult('detachShader',[aProgram_,aShader]); end; procedure TJSWebGLRenderingContextBase.disable(aCap: TGLenum); begin InvokeJSNoResult('disable',[aCap]); end; procedure TJSWebGLRenderingContextBase.disableVertexAttribArray(aIndex: TGLuint); begin InvokeJSNoResult('disableVertexAttribArray',[aIndex]); end; procedure TJSWebGLRenderingContextBase.drawArrays(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei); begin InvokeJSNoResult('drawArrays',[aMode,aFirst,aCount]); end; procedure TJSWebGLRenderingContextBase.drawElements(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr); begin InvokeJSNoResult('drawElements',[aMode,aCount,aType_,aOffset]); end; procedure TJSWebGLRenderingContextBase.enable(aCap: TGLenum); begin InvokeJSNoResult('enable',[aCap]); end; procedure TJSWebGLRenderingContextBase.enableVertexAttribArray(aIndex: TGLuint); begin InvokeJSNoResult('enableVertexAttribArray',[aIndex]); end; procedure TJSWebGLRenderingContextBase.finish; begin InvokeJSNoResult('finish',[]); end; procedure TJSWebGLRenderingContextBase.flush; begin InvokeJSNoResult('flush',[]); end; procedure TJSWebGLRenderingContextBase.framebufferRenderbuffer(aTarget: TGLenum; aAttachment: TGLenum; aRenderbuffertarget: TGLenum; aRenderbuffer: IJSWebGLRenderbuffer); begin InvokeJSNoResult('framebufferRenderbuffer',[aTarget,aAttachment,aRenderbuffertarget,aRenderbuffer]); end; procedure TJSWebGLRenderingContextBase.framebufferTexture2D(aTarget: TGLenum; aAttachment: TGLenum; aTextarget: TGLenum; aTexture: IJSWebGLTexture; aLevel: TGLint); begin InvokeJSNoResult('framebufferTexture2D',[aTarget,aAttachment,aTextarget,aTexture,aLevel]); end; procedure TJSWebGLRenderingContextBase.frontFace(aMode: TGLenum); begin InvokeJSNoResult('frontFace',[aMode]); end; procedure TJSWebGLRenderingContextBase.generateMipmap(aTarget: TGLenum); begin InvokeJSNoResult('generateMipmap',[aTarget]); end; function TJSWebGLRenderingContextBase.getActiveAttrib(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getActiveAttrib',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; function TJSWebGLRenderingContextBase.getActiveUniform(aProgram_: IJSWebGLProgram; aIndex: TGLuint): IJSWebGLActiveInfo; begin Result:=InvokeJSObjectResult('getActiveUniform',[aProgram_,aIndex],TJSWebGLActiveInfo) as IJSWebGLActiveInfo; end; function TJSWebGLRenderingContextBase.getAttachedShaders(aProgram_: IJSWebGLProgram): TJSWebGLShaderDynArray; begin Result:=InvokeJSObjectResult('getAttachedShaders',[aProgram_],TJSArray) as TJSWebGLShaderDynArray; end; function TJSWebGLRenderingContextBase.getAttribLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): TGLint; begin Result:=InvokeJSLongIntResult('getAttribLocation',[aProgram_,aName]); end; function TJSWebGLRenderingContextBase.getBufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getBufferParameter',[aTarget,aPname]); end; function TJSWebGLRenderingContextBase.getParameter(aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getParameter',[aPname]); end; function TJSWebGLRenderingContextBase.getError: TGLenum; begin Result:=InvokeJSLongIntResult('getError',[]); end; function TJSWebGLRenderingContextBase.getFramebufferAttachmentParameter(aTarget: TGLenum; aAttachment: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getFramebufferAttachmentParameter',[aTarget,aAttachment,aPname]); end; function TJSWebGLRenderingContextBase.getProgramParameter(aProgram_: IJSWebGLProgram; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getProgramParameter',[aProgram_,aPname]); end; function TJSWebGLRenderingContextBase.getProgramInfoLog(aProgram_: IJSWebGLProgram): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getProgramInfoLog',[aProgram_]); end; function TJSWebGLRenderingContextBase.getRenderbufferParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getRenderbufferParameter',[aTarget,aPname]); end; function TJSWebGLRenderingContextBase.getShaderParameter(aShader: IJSWebGLShader; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getShaderParameter',[aShader,aPname]); end; function TJSWebGLRenderingContextBase.getShaderPrecisionFormat(aShadertype: TGLenum; aPrecisiontype: TGLenum): IJSWebGLShaderPrecisionFormat; begin Result:=InvokeJSObjectResult('getShaderPrecisionFormat',[aShadertype,aPrecisiontype],TJSWebGLShaderPrecisionFormat) as IJSWebGLShaderPrecisionFormat; end; function TJSWebGLRenderingContextBase.getShaderInfoLog(aShader: IJSWebGLShader): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getShaderInfoLog',[aShader]); end; function TJSWebGLRenderingContextBase.getShaderSource(aShader: IJSWebGLShader): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getShaderSource',[aShader]); end; function TJSWebGLRenderingContextBase.getTexParameter(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getTexParameter',[aTarget,aPname]); end; function TJSWebGLRenderingContextBase.getUniform(aProgram_: IJSWebGLProgram; aLocation: IJSWebGLUniformLocation): Variant; begin Result:=InvokeJSVariantResult('getUniform',[aProgram_,aLocation]); end; function TJSWebGLRenderingContextBase.getUniformLocation(aProgram_: IJSWebGLProgram; const aName: UnicodeString): IJSWebGLUniformLocation; begin Result:=InvokeJSObjectResult('getUniformLocation',[aProgram_,aName],TJSWebGLUniformLocation) as IJSWebGLUniformLocation; end; function TJSWebGLRenderingContextBase.getVertexAttrib(aIndex: TGLuint; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getVertexAttrib',[aIndex,aPname]); end; function TJSWebGLRenderingContextBase.getVertexAttribOffset(aIndex: TGLuint; aPname: TGLenum): TGLintptr; begin Result:=InvokeJSMaxIntResult('getVertexAttribOffset',[aIndex,aPname]); end; procedure TJSWebGLRenderingContextBase.hint(aTarget: TGLenum; aMode: TGLenum); begin InvokeJSNoResult('hint',[aTarget,aMode]); end; function TJSWebGLRenderingContextBase.isBuffer(aBuffer: IJSWebGLBuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isBuffer',[aBuffer]); end; function TJSWebGLRenderingContextBase.isEnabled(aCap: TGLenum): TGLboolean; begin Result:=InvokeJSBooleanResult('isEnabled',[aCap]); end; function TJSWebGLRenderingContextBase.isFramebuffer(aFramebuffer: IJSWebGLFramebuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isFramebuffer',[aFramebuffer]); end; function TJSWebGLRenderingContextBase.isProgram(aProgram_: IJSWebGLProgram): TGLboolean; begin Result:=InvokeJSBooleanResult('isProgram',[aProgram_]); end; function TJSWebGLRenderingContextBase.isRenderbuffer(aRenderbuffer: IJSWebGLRenderbuffer): TGLboolean; begin Result:=InvokeJSBooleanResult('isRenderbuffer',[aRenderbuffer]); end; function TJSWebGLRenderingContextBase.isShader(aShader: IJSWebGLShader): TGLboolean; begin Result:=InvokeJSBooleanResult('isShader',[aShader]); end; function TJSWebGLRenderingContextBase.isTexture(aTexture: IJSWebGLTexture): TGLboolean; begin Result:=InvokeJSBooleanResult('isTexture',[aTexture]); end; procedure TJSWebGLRenderingContextBase.lineWidth(aWidth: TGLfloat); begin InvokeJSNoResult('lineWidth',[aWidth]); end; procedure TJSWebGLRenderingContextBase.linkProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('linkProgram',[aProgram_]); end; procedure TJSWebGLRenderingContextBase.pixelStorei(aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('pixelStorei',[aPname,aParam]); end; procedure TJSWebGLRenderingContextBase.polygonOffset(aFactor: TGLfloat; aUnits: TGLfloat); begin InvokeJSNoResult('polygonOffset',[aFactor,aUnits]); end; procedure TJSWebGLRenderingContextBase.renderbufferStorage(aTarget: TGLenum; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('renderbufferStorage',[aTarget,aInternalformat,aWidth,aHeight]); end; procedure TJSWebGLRenderingContextBase.sampleCoverage(aValue: TGLclampf; aInvert: TGLboolean); begin InvokeJSNoResult('sampleCoverage',[aValue,aInvert]); end; procedure TJSWebGLRenderingContextBase.scissor(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('scissor',[aX,aY,aWidth,aHeight]); end; procedure TJSWebGLRenderingContextBase.shaderSource(aShader: IJSWebGLShader; const aSource: UnicodeString); begin InvokeJSNoResult('shaderSource',[aShader,aSource]); end; procedure TJSWebGLRenderingContextBase.stencilFunc(aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); begin InvokeJSNoResult('stencilFunc',[aFunc,aRef,aMask]); end; procedure TJSWebGLRenderingContextBase.stencilFuncSeparate(aFace: TGLenum; aFunc: TGLenum; aRef: TGLint; aMask: TGLuint); begin InvokeJSNoResult('stencilFuncSeparate',[aFace,aFunc,aRef,aMask]); end; procedure TJSWebGLRenderingContextBase.stencilMask(aMask: TGLuint); begin InvokeJSNoResult('stencilMask',[aMask]); end; procedure TJSWebGLRenderingContextBase.stencilMaskSeparate(aFace: TGLenum; aMask: TGLuint); begin InvokeJSNoResult('stencilMaskSeparate',[aFace,aMask]); end; procedure TJSWebGLRenderingContextBase.stencilOp(aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); begin InvokeJSNoResult('stencilOp',[aFail,aZfail,aZpass]); end; procedure TJSWebGLRenderingContextBase.stencilOpSeparate(aFace: TGLenum; aFail: TGLenum; aZfail: TGLenum; aZpass: TGLenum); begin InvokeJSNoResult('stencilOpSeparate',[aFace,aFail,aZfail,aZpass]); end; procedure TJSWebGLRenderingContextBase.texParameterf(aTarget: TGLenum; aPname: TGLenum; aParam: TGLfloat); begin InvokeJSNoResult('texParameterf',[aTarget,aPname,aParam]); end; procedure TJSWebGLRenderingContextBase.texParameteri(aTarget: TGLenum; aPname: TGLenum; aParam: TGLint); begin InvokeJSNoResult('texParameteri',[aTarget,aPname,aParam]); end; procedure TJSWebGLRenderingContextBase.uniform1f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat); begin InvokeJSNoResult('uniform1f',[aLocation,aX]); end; procedure TJSWebGLRenderingContextBase.uniform2f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat); begin InvokeJSNoResult('uniform2f',[aLocation,aX,aY]); end; procedure TJSWebGLRenderingContextBase.uniform3f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); begin InvokeJSNoResult('uniform3f',[aLocation,aX,aY,aZ]); end; procedure TJSWebGLRenderingContextBase.uniform4f(aLocation: IJSWebGLUniformLocation; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); begin InvokeJSNoResult('uniform4f',[aLocation,aX,aY,aZ,aW]); end; procedure TJSWebGLRenderingContextBase.uniform1i(aLocation: IJSWebGLUniformLocation; aX: TGLint); begin InvokeJSNoResult('uniform1i',[aLocation,aX]); end; procedure TJSWebGLRenderingContextBase.uniform2i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint); begin InvokeJSNoResult('uniform2i',[aLocation,aX,aY]); end; procedure TJSWebGLRenderingContextBase.uniform3i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint); begin InvokeJSNoResult('uniform3i',[aLocation,aX,aY,aZ]); end; procedure TJSWebGLRenderingContextBase.uniform4i(aLocation: IJSWebGLUniformLocation; aX: TGLint; aY: TGLint; aZ: TGLint; aW: TGLint); begin InvokeJSNoResult('uniform4i',[aLocation,aX,aY,aZ,aW]); end; procedure TJSWebGLRenderingContextBase.useProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('useProgram',[aProgram_]); end; procedure TJSWebGLRenderingContextBase.validateProgram(aProgram_: IJSWebGLProgram); begin InvokeJSNoResult('validateProgram',[aProgram_]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib1f(aIndx: TGLuint; aX: TGLfloat); begin InvokeJSNoResult('vertexAttrib1f',[aIndx,aX]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib1fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib1fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib1fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib1fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib2f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat); begin InvokeJSNoResult('vertexAttrib2f',[aIndx,aX,aY]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib2fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib2fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib2fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib2fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib3f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat); begin InvokeJSNoResult('vertexAttrib3f',[aIndx,aX,aY,aZ]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib3fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib3fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib3fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib3fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib4f(aIndx: TGLuint; aX: TGLfloat; aY: TGLfloat; aZ: TGLfloat; aW: TGLfloat); begin InvokeJSNoResult('vertexAttrib4f',[aIndx,aX,aY,aZ,aW]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib4fv(aIndx: TGLuint; aValues: IJSFloat32Array); begin InvokeJSNoResult('vertexAttrib4fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttrib4fv(aIndx: TGLuint; const aValues: TGLfloatDynArray); begin InvokeJSNoResult('vertexAttrib4fv',[aIndx,aValues]); end; procedure TJSWebGLRenderingContextBase.vertexAttribPointer(aIndx: TGLuint; aSize: TGLint; aType_: TGLenum; aNormalized: TGLboolean; aStride: TGLsizei; aOffset: TGLintptr); begin InvokeJSNoResult('vertexAttribPointer',[aIndx,aSize,aType_,aNormalized,aStride,aOffset]); end; procedure TJSWebGLRenderingContextBase.viewport(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei); begin InvokeJSNoResult('viewport',[aX,aY,aWidth,aHeight]); end; function TJSWebGLRenderingContextBase.makeXRCompatible: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('makeXRCompatible',[],TJSPromise) as IJSPromise; end; class function TJSWebGLRenderingContextBase.JSClassName: UnicodeString; begin Result:='WebGLRenderingContextBase'; end; class function TJSWebGLRenderingContextBase.Cast(const Intf: IJSObject): IJSWebGLRenderingContextBase; begin Result:=TJSWebGLRenderingContextBase.JOBCast(Intf); end; procedure TJSWebGLRenderingContext.bufferData(aTarget: TGLenum; aSize: TGLsizeiptr; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aSize,aUsage]); end; procedure TJSWebGLRenderingContext.bufferData(aTarget: TGLenum; aData: IJSArrayBuffer; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aData,aUsage]); end; procedure TJSWebGLRenderingContext.bufferData(aTarget: TGLenum; aData: IJSArrayBufferView; aUsage: TGLenum); begin InvokeJSNoResult('bufferData',[aTarget,aData,aUsage]); end; procedure TJSWebGLRenderingContext.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBuffer); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aData]); end; procedure TJSWebGLRenderingContext.bufferSubData(aTarget: TGLenum; aOffset: TGLintptr; aData: IJSArrayBufferView); begin InvokeJSNoResult('bufferSubData',[aTarget,aOffset,aData]); end; procedure TJSWebGLRenderingContext.compressedTexImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLenum; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aData]); end; procedure TJSWebGLRenderingContext.compressedTexSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aData: IJSArrayBufferView); begin InvokeJSNoResult('compressedTexSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aData]); end; procedure TJSWebGLRenderingContext.readPixels(aX: TGLint; aY: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('readPixels',[aX,aY,aWidth,aHeight,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aBorder: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aWidth,aHeight,aBorder,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aImage]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aCanvas]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aVideo]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aCanvas]); end; procedure TJSWebGLRenderingContext.texImage2D(aTarget: TGLenum; aLevel: TGLint; aInternalformat: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); begin InvokeJSNoResult('texImage2D',[aTarget,aLevel,aInternalformat,aFormat,aType_,aVideoFrame]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aWidth: TGLsizei; aHeight: TGLsizei; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSArrayBufferView); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aWidth,aHeight,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageBitmap); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aPixels: IJSImageData); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aPixels]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aImage: IJSHTMLImageElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aImage]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSHTMLCanvasElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aCanvas]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideo: IJSHTMLVideoElement); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aVideo]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aCanvas: IJSOffscreenCanvas); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aCanvas]); end; procedure TJSWebGLRenderingContext.texSubImage2D(aTarget: TGLenum; aLevel: TGLint; aXoffset: TGLint; aYoffset: TGLint; aFormat: TGLenum; aType_: TGLenum; aVideoFrame: IJSVideoFrame); begin InvokeJSNoResult('texSubImage2D',[aTarget,aLevel,aXoffset,aYoffset,aFormat,aType_,aVideoFrame]); end; procedure TJSWebGLRenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform1fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform1fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform2fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform2fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform3fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform3fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; aData: IJSFloat32Array); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform4fv(aLocation: IJSWebGLUniformLocation; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniform4fv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform1iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform1iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform2iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform2iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform3iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform3iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; aData: IJSInt32Array); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniform4iv(aLocation: IJSWebGLUniformLocation; const aData: TGLintDynArray); begin InvokeJSNoResult('uniform4iv',[aLocation,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix2fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix2fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix3fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix3fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; aData: IJSFloat32Array); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; procedure TJSWebGLRenderingContext.uniformMatrix4fv(aLocation: IJSWebGLUniformLocation; aTranspose: TGLboolean; const aData: TGLfloatDynArray); begin InvokeJSNoResult('uniformMatrix4fv',[aLocation,aTranspose,aData]); end; class function TJSWebGLRenderingContext.JSClassName: UnicodeString; begin Result:='WebGLRenderingContext'; end; class function TJSWebGLRenderingContext.Cast(const Intf: IJSObject): IJSWebGLRenderingContext; begin Result:=TJSWebGLRenderingContext.JOBCast(Intf); end; class function TJSEXT_texture_compression_bptc.JSClassName: UnicodeString; begin Result:='EXT_texture_compression_bptc'; end; class function TJSEXT_texture_compression_bptc.Cast(const Intf: IJSObject): IJSEXT_texture_compression_bptc; begin Result:=TJSEXT_texture_compression_bptc.JOBCast(Intf); end; class function TJSEXT_texture_compression_rgtc.JSClassName: UnicodeString; begin Result:='EXT_texture_compression_rgtc'; end; class function TJSEXT_texture_compression_rgtc.Cast(const Intf: IJSObject): IJSEXT_texture_compression_rgtc; begin Result:=TJSEXT_texture_compression_rgtc.JOBCast(Intf); end; class function TJSEXT_texture_norm16.JSClassName: UnicodeString; begin Result:='EXT_texture_norm16'; end; class function TJSEXT_texture_norm16.Cast(const Intf: IJSObject): IJSEXT_texture_norm16; begin Result:=TJSEXT_texture_norm16.JOBCast(Intf); end; class function TJSWEBGL_compressed_texture_s3tc.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_s3tc'; end; class function TJSWEBGL_compressed_texture_s3tc.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_s3tc; begin Result:=TJSWEBGL_compressed_texture_s3tc.JOBCast(Intf); end; class function TJSWEBGL_compressed_texture_s3tc_srgb.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_s3tc_srgb'; end; class function TJSWEBGL_compressed_texture_s3tc_srgb.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_s3tc_srgb; begin Result:=TJSWEBGL_compressed_texture_s3tc_srgb.JOBCast(Intf); end; function TJSWEBGL_compressed_texture_astc.getSupportedProfiles: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getSupportedProfiles',[],TJSArray) as TUnicodeStringDynArray; end; class function TJSWEBGL_compressed_texture_astc.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_astc'; end; class function TJSWEBGL_compressed_texture_astc.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_astc; begin Result:=TJSWEBGL_compressed_texture_astc.JOBCast(Intf); end; class function TJSWEBGL_compressed_texture_etc.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_etc'; end; class function TJSWEBGL_compressed_texture_etc.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_etc; begin Result:=TJSWEBGL_compressed_texture_etc.JOBCast(Intf); end; class function TJSWEBGL_compressed_texture_etc1.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_etc1'; end; class function TJSWEBGL_compressed_texture_etc1.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_etc1; begin Result:=TJSWEBGL_compressed_texture_etc1.JOBCast(Intf); end; class function TJSWEBGL_compressed_texture_pvrtc.JSClassName: UnicodeString; begin Result:='WEBGL_compressed_texture_pvrtc'; end; class function TJSWEBGL_compressed_texture_pvrtc.Cast(const Intf: IJSObject): IJSWEBGL_compressed_texture_pvrtc; begin Result:=TJSWEBGL_compressed_texture_pvrtc.JOBCast(Intf); end; class function TJSWEBGL_debug_renderer_info.JSClassName: UnicodeString; begin Result:='WEBGL_debug_renderer_info'; end; class function TJSWEBGL_debug_renderer_info.Cast(const Intf: IJSObject): IJSWEBGL_debug_renderer_info; begin Result:=TJSWEBGL_debug_renderer_info.JOBCast(Intf); end; function TJSWEBGL_debug_shaders.getTranslatedShaderSource(aShader: IJSWebGLShader): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getTranslatedShaderSource',[aShader]); end; class function TJSWEBGL_debug_shaders.JSClassName: UnicodeString; begin Result:='WEBGL_debug_shaders'; end; class function TJSWEBGL_debug_shaders.Cast(const Intf: IJSObject): IJSWEBGL_debug_shaders; begin Result:=TJSWEBGL_debug_shaders.JOBCast(Intf); end; class function TJSWEBGL_depth_texture.JSClassName: UnicodeString; begin Result:='WEBGL_depth_texture'; end; class function TJSWEBGL_depth_texture.Cast(const Intf: IJSObject): IJSWEBGL_depth_texture; begin Result:=TJSWEBGL_depth_texture.JOBCast(Intf); end; class function TJSOES_element_index_uint.JSClassName: UnicodeString; begin Result:='OES_element_index_uint'; end; class function TJSOES_element_index_uint.Cast(const Intf: IJSObject): IJSOES_element_index_uint; begin Result:=TJSOES_element_index_uint.JOBCast(Intf); end; class function TJSEXT_frag_depth.JSClassName: UnicodeString; begin Result:='EXT_frag_depth'; end; class function TJSEXT_frag_depth.Cast(const Intf: IJSObject): IJSEXT_frag_depth; begin Result:=TJSEXT_frag_depth.JOBCast(Intf); end; procedure TJSWEBGL_lose_context.loseContext; begin InvokeJSNoResult('loseContext',[]); end; procedure TJSWEBGL_lose_context.restoreContext; begin InvokeJSNoResult('restoreContext',[]); end; class function TJSWEBGL_lose_context.JSClassName: UnicodeString; begin Result:='WEBGL_lose_context'; end; class function TJSWEBGL_lose_context.Cast(const Intf: IJSObject): IJSWEBGL_lose_context; begin Result:=TJSWEBGL_lose_context.JOBCast(Intf); end; class function TJSEXT_texture_filter_anisotropic.JSClassName: UnicodeString; begin Result:='EXT_texture_filter_anisotropic'; end; class function TJSEXT_texture_filter_anisotropic.Cast(const Intf: IJSObject): IJSEXT_texture_filter_anisotropic; begin Result:=TJSEXT_texture_filter_anisotropic.JOBCast(Intf); end; class function TJSEXT_sRGB.JSClassName: UnicodeString; begin Result:='EXT_sRGB'; end; class function TJSEXT_sRGB.Cast(const Intf: IJSObject): IJSEXT_sRGB; begin Result:=TJSEXT_sRGB.JOBCast(Intf); end; class function TJSOES_standard_derivatives.JSClassName: UnicodeString; begin Result:='OES_standard_derivatives'; end; class function TJSOES_standard_derivatives.Cast(const Intf: IJSObject): IJSOES_standard_derivatives; begin Result:=TJSOES_standard_derivatives.JOBCast(Intf); end; class function TJSOES_texture_float.JSClassName: UnicodeString; begin Result:='OES_texture_float'; end; class function TJSOES_texture_float.Cast(const Intf: IJSObject): IJSOES_texture_float; begin Result:=TJSOES_texture_float.JOBCast(Intf); end; procedure TJSWEBGL_draw_buffers.drawBuffersWEBGL(const aBuffers: TGLenumDynArray); begin InvokeJSNoResult('drawBuffersWEBGL',[aBuffers]); end; class function TJSWEBGL_draw_buffers.JSClassName: UnicodeString; begin Result:='WEBGL_draw_buffers'; end; class function TJSWEBGL_draw_buffers.Cast(const Intf: IJSObject): IJSWEBGL_draw_buffers; begin Result:=TJSWEBGL_draw_buffers.JOBCast(Intf); end; class function TJSOES_texture_float_linear.JSClassName: UnicodeString; begin Result:='OES_texture_float_linear'; end; class function TJSOES_texture_float_linear.Cast(const Intf: IJSObject): IJSOES_texture_float_linear; begin Result:=TJSOES_texture_float_linear.JOBCast(Intf); end; class function TJSEXT_shader_texture_lod.JSClassName: UnicodeString; begin Result:='EXT_shader_texture_lod'; end; class function TJSEXT_shader_texture_lod.Cast(const Intf: IJSObject): IJSEXT_shader_texture_lod; begin Result:=TJSEXT_shader_texture_lod.JOBCast(Intf); end; class function TJSOES_texture_half_float.JSClassName: UnicodeString; begin Result:='OES_texture_half_float'; end; class function TJSOES_texture_half_float.Cast(const Intf: IJSObject): IJSOES_texture_half_float; begin Result:=TJSOES_texture_half_float.JOBCast(Intf); end; class function TJSOES_texture_half_float_linear.JSClassName: UnicodeString; begin Result:='OES_texture_half_float_linear'; end; class function TJSOES_texture_half_float_linear.Cast(const Intf: IJSObject): IJSOES_texture_half_float_linear; begin Result:=TJSOES_texture_half_float_linear.JOBCast(Intf); end; class function TJSWEBGL_color_buffer_float.JSClassName: UnicodeString; begin Result:='WEBGL_color_buffer_float'; end; class function TJSWEBGL_color_buffer_float.Cast(const Intf: IJSObject): IJSWEBGL_color_buffer_float; begin Result:=TJSWEBGL_color_buffer_float.JOBCast(Intf); end; class function TJSEXT_color_buffer_half_float.JSClassName: UnicodeString; begin Result:='EXT_color_buffer_half_float'; end; class function TJSEXT_color_buffer_half_float.Cast(const Intf: IJSObject): IJSEXT_color_buffer_half_float; begin Result:=TJSEXT_color_buffer_half_float.JOBCast(Intf); end; function TJSOES_vertex_array_object.createVertexArrayOES: IJSWebGLVertexArrayObject; begin Result:=InvokeJSObjectResult('createVertexArrayOES',[],TJSWebGLVertexArrayObject) as IJSWebGLVertexArrayObject; end; procedure TJSOES_vertex_array_object.deleteVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('deleteVertexArrayOES',[aArrayObject]); end; function TJSOES_vertex_array_object.isVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject): TGLboolean; begin Result:=InvokeJSBooleanResult('isVertexArrayOES',[aArrayObject]); end; procedure TJSOES_vertex_array_object.bindVertexArrayOES(aArrayObject: IJSWebGLVertexArrayObject); begin InvokeJSNoResult('bindVertexArrayOES',[aArrayObject]); end; class function TJSOES_vertex_array_object.JSClassName: UnicodeString; begin Result:='OES_vertex_array_object'; end; class function TJSOES_vertex_array_object.Cast(const Intf: IJSObject): IJSOES_vertex_array_object; begin Result:=TJSOES_vertex_array_object.JOBCast(Intf); end; procedure TJSANGLE_instanced_arrays.drawArraysInstancedANGLE(aMode: TGLenum; aFirst: TGLint; aCount: TGLsizei; aPrimcount: TGLsizei); begin InvokeJSNoResult('drawArraysInstancedANGLE',[aMode,aFirst,aCount,aPrimcount]); end; procedure TJSANGLE_instanced_arrays.drawElementsInstancedANGLE(aMode: TGLenum; aCount: TGLsizei; aType_: TGLenum; aOffset: TGLintptr; aPrimcount: TGLsizei); begin InvokeJSNoResult('drawElementsInstancedANGLE',[aMode,aCount,aType_,aOffset,aPrimcount]); end; procedure TJSANGLE_instanced_arrays.vertexAttribDivisorANGLE(aIndex: TGLuint; aDivisor: TGLuint); begin InvokeJSNoResult('vertexAttribDivisorANGLE',[aIndex,aDivisor]); end; class function TJSANGLE_instanced_arrays.JSClassName: UnicodeString; begin Result:='ANGLE_instanced_arrays'; end; class function TJSANGLE_instanced_arrays.Cast(const Intf: IJSObject): IJSANGLE_instanced_arrays; begin Result:=TJSANGLE_instanced_arrays.JOBCast(Intf); end; class function TJSEXT_blend_minmax.JSClassName: UnicodeString; begin Result:='EXT_blend_minmax'; end; class function TJSEXT_blend_minmax.Cast(const Intf: IJSObject): IJSEXT_blend_minmax; begin Result:=TJSEXT_blend_minmax.JOBCast(Intf); end; class function TJSWebGLQuery.JSClassName: UnicodeString; begin Result:='WebGLQuery'; end; class function TJSWebGLQuery.Cast(const Intf: IJSObject): IJSWebGLQuery; begin Result:=TJSWebGLQuery.JOBCast(Intf); end; function TJSEXT_disjoint_timer_query.createQueryEXT: IJSWebGLQuery; begin Result:=InvokeJSObjectResult('createQueryEXT',[],TJSWebGLQuery) as IJSWebGLQuery; end; procedure TJSEXT_disjoint_timer_query.deleteQueryEXT(aQuery: IJSWebGLQuery); begin InvokeJSNoResult('deleteQueryEXT',[aQuery]); end; function TJSEXT_disjoint_timer_query.isQueryEXT(aQuery: IJSWebGLQuery): Boolean; begin Result:=InvokeJSBooleanResult('isQueryEXT',[aQuery]); end; procedure TJSEXT_disjoint_timer_query.beginQueryEXT(aTarget: TGLenum; aQuery: IJSWebGLQuery); begin InvokeJSNoResult('beginQueryEXT',[aTarget,aQuery]); end; procedure TJSEXT_disjoint_timer_query.endQueryEXT(aTarget: TGLenum); begin InvokeJSNoResult('endQueryEXT',[aTarget]); end; procedure TJSEXT_disjoint_timer_query.queryCounterEXT(aQuery: IJSWebGLQuery; aTarget: TGLenum); begin InvokeJSNoResult('queryCounterEXT',[aQuery,aTarget]); end; function TJSEXT_disjoint_timer_query.getQueryEXT(aTarget: TGLenum; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQueryEXT',[aTarget,aPname]); end; function TJSEXT_disjoint_timer_query.getQueryObjectEXT(aQuery: IJSWebGLQuery; aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getQueryObjectEXT',[aQuery,aPname]); end; class function TJSEXT_disjoint_timer_query.JSClassName: UnicodeString; begin Result:='EXT_disjoint_timer_query'; end; class function TJSEXT_disjoint_timer_query.Cast(const Intf: IJSObject): IJSEXT_disjoint_timer_query; begin Result:=TJSEXT_disjoint_timer_query.JOBCast(Intf); end; function TJSMOZ_debug.getParameter(aPname: TGLenum): Variant; begin Result:=InvokeJSVariantResult('getParameter',[aPname]); end; class function TJSMOZ_debug.JSClassName: UnicodeString; begin Result:='MOZ_debug'; end; class function TJSMOZ_debug.Cast(const Intf: IJSObject): IJSMOZ_debug; begin Result:=TJSMOZ_debug.JOBCast(Intf); end; class function TJSEXT_float_blend.JSClassName: UnicodeString; begin Result:='EXT_float_blend'; end; class function TJSEXT_float_blend.Cast(const Intf: IJSObject): IJSEXT_float_blend; begin Result:=TJSEXT_float_blend.JOBCast(Intf); end; class function TJSOES_fbo_render_mipmap.JSClassName: UnicodeString; begin Result:='OES_fbo_render_mipmap'; end; class function TJSOES_fbo_render_mipmap.Cast(const Intf: IJSObject): IJSOES_fbo_render_mipmap; begin Result:=TJSOES_fbo_render_mipmap.JOBCast(Intf); end; procedure TJSWEBGL_explicit_present.present; begin InvokeJSNoResult('present',[]); end; class function TJSWEBGL_explicit_present.JSClassName: UnicodeString; begin Result:='WEBGL_explicit_present'; end; class function TJSWEBGL_explicit_present.Cast(const Intf: IJSObject): IJSWEBGL_explicit_present; begin Result:=TJSWEBGL_explicit_present.JOBCast(Intf); end; procedure TJSOES_draw_buffers_indexed.enableiOES(aTarget: TGLenum; aIndex: TGLuint); begin InvokeJSNoResult('enableiOES',[aTarget,aIndex]); end; procedure TJSOES_draw_buffers_indexed.disableiOES(aTarget: TGLenum; aIndex: TGLuint); begin InvokeJSNoResult('disableiOES',[aTarget,aIndex]); end; procedure TJSOES_draw_buffers_indexed.blendEquationiOES(aBuf: TGLuint; aMode: TGLenum); begin InvokeJSNoResult('blendEquationiOES',[aBuf,aMode]); end; procedure TJSOES_draw_buffers_indexed.blendEquationSeparateiOES(aBuf: TGLuint; aModeRGB: TGLenum; aModeAlpha: TGLenum); begin InvokeJSNoResult('blendEquationSeparateiOES',[aBuf,aModeRGB,aModeAlpha]); end; procedure TJSOES_draw_buffers_indexed.blendFunciOES(aBuf: TGLuint; aSrc: TGLenum; aDst: TGLenum); begin InvokeJSNoResult('blendFunciOES',[aBuf,aSrc,aDst]); end; procedure TJSOES_draw_buffers_indexed.blendFuncSeparateiOES(aBuf: TGLuint; aSrcRGB: TGLenum; aDstRGB: TGLenum; aSrcAlpha: TGLenum; aDstAlpha: TGLenum); begin InvokeJSNoResult('blendFuncSeparateiOES',[aBuf,aSrcRGB,aDstRGB,aSrcAlpha,aDstAlpha]); end; procedure TJSOES_draw_buffers_indexed.colorMaskiOES(aBuf: TGLuint; aR: TGLboolean; aG: TGLboolean; aB: TGLboolean; aA: TGLboolean); begin InvokeJSNoResult('colorMaskiOES',[aBuf,aR,aG,aB,aA]); end; class function TJSOES_draw_buffers_indexed.JSClassName: UnicodeString; begin Result:='OES_draw_buffers_indexed'; end; class function TJSOES_draw_buffers_indexed.Cast(const Intf: IJSObject): IJSOES_draw_buffers_indexed; begin Result:=TJSOES_draw_buffers_indexed.JOBCast(Intf); end; procedure TJSWEBGL_provoking_vertex.provokingVertexWEBGL(aProvokeMode: TGLenum); begin InvokeJSNoResult('provokingVertexWEBGL',[aProvokeMode]); end; class function TJSWEBGL_provoking_vertex.JSClassName: UnicodeString; begin Result:='WEBGL_provoking_vertex'; end; class function TJSWEBGL_provoking_vertex.Cast(const Intf: IJSObject): IJSWEBGL_provoking_vertex; begin Result:=TJSWEBGL_provoking_vertex.JOBCast(Intf); end; function TJSGPUObjectBase._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUObjectBase._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; class function TJSGPUObjectBase.JSClassName: UnicodeString; begin Result:='GPUObjectBase'; end; class function TJSGPUObjectBase.Cast(const Intf: IJSObject): IJSGPUObjectBase; begin Result:=TJSGPUObjectBase.JOBCast(Intf); end; function TJSGPUObjectDescriptorBase._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUObjectDescriptorBase._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; constructor TJSGPUObjectDescriptorBase.create(const aDict : TJSGPUObjectDescriptorBaseRec); overload; begin Self.label_:=aDict.label_; end; class function TJSGPUObjectDescriptorBase.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUObjectDescriptorBase.Cast(const Intf: IJSObject): IJSGPUObjectDescriptorBase; begin Result:=TJSGPUObjectDescriptorBase.JOBCast(Intf); end; function TJSGPUSupportedLimits._GetmaxTextureDimension1D: Cardinal; begin Result:=ReadJSPropertyInt64('maxTextureDimension1D'); end; function TJSGPUSupportedLimits._GetmaxTextureDimension2D: Cardinal; begin Result:=ReadJSPropertyInt64('maxTextureDimension2D'); end; function TJSGPUSupportedLimits._GetmaxTextureDimension3D: Cardinal; begin Result:=ReadJSPropertyInt64('maxTextureDimension3D'); end; function TJSGPUSupportedLimits._GetmaxTextureArrayLayers: Cardinal; begin Result:=ReadJSPropertyInt64('maxTextureArrayLayers'); end; function TJSGPUSupportedLimits._GetmaxBindGroups: Cardinal; begin Result:=ReadJSPropertyInt64('maxBindGroups'); end; function TJSGPUSupportedLimits._GetmaxBindGroupsPlusVertexBuffers: Cardinal; begin Result:=ReadJSPropertyInt64('maxBindGroupsPlusVertexBuffers'); end; function TJSGPUSupportedLimits._GetmaxBindingsPerBindGroup: Cardinal; begin Result:=ReadJSPropertyInt64('maxBindingsPerBindGroup'); end; function TJSGPUSupportedLimits._GetmaxDynamicUniformBuffersPerPipelineLayout: Cardinal; begin Result:=ReadJSPropertyInt64('maxDynamicUniformBuffersPerPipelineLayout'); end; function TJSGPUSupportedLimits._GetmaxDynamicStorageBuffersPerPipelineLayout: Cardinal; begin Result:=ReadJSPropertyInt64('maxDynamicStorageBuffersPerPipelineLayout'); end; function TJSGPUSupportedLimits._GetmaxSampledTexturesPerShaderStage: Cardinal; begin Result:=ReadJSPropertyInt64('maxSampledTexturesPerShaderStage'); end; function TJSGPUSupportedLimits._GetmaxSamplersPerShaderStage: Cardinal; begin Result:=ReadJSPropertyInt64('maxSamplersPerShaderStage'); end; function TJSGPUSupportedLimits._GetmaxStorageBuffersPerShaderStage: Cardinal; begin Result:=ReadJSPropertyInt64('maxStorageBuffersPerShaderStage'); end; function TJSGPUSupportedLimits._GetmaxStorageTexturesPerShaderStage: Cardinal; begin Result:=ReadJSPropertyInt64('maxStorageTexturesPerShaderStage'); end; function TJSGPUSupportedLimits._GetmaxUniformBuffersPerShaderStage: Cardinal; begin Result:=ReadJSPropertyInt64('maxUniformBuffersPerShaderStage'); end; function TJSGPUSupportedLimits._GetmaxUniformBufferBindingSize: QWord; begin Result:=ReadJSPropertyInt64('maxUniformBufferBindingSize'); end; function TJSGPUSupportedLimits._GetmaxStorageBufferBindingSize: QWord; begin Result:=ReadJSPropertyInt64('maxStorageBufferBindingSize'); end; function TJSGPUSupportedLimits._GetminUniformBufferOffsetAlignment: Cardinal; begin Result:=ReadJSPropertyInt64('minUniformBufferOffsetAlignment'); end; function TJSGPUSupportedLimits._GetminStorageBufferOffsetAlignment: Cardinal; begin Result:=ReadJSPropertyInt64('minStorageBufferOffsetAlignment'); end; function TJSGPUSupportedLimits._GetmaxVertexBuffers: Cardinal; begin Result:=ReadJSPropertyInt64('maxVertexBuffers'); end; function TJSGPUSupportedLimits._GetmaxBufferSize: QWord; begin Result:=ReadJSPropertyInt64('maxBufferSize'); end; function TJSGPUSupportedLimits._GetmaxVertexAttributes: Cardinal; begin Result:=ReadJSPropertyInt64('maxVertexAttributes'); end; function TJSGPUSupportedLimits._GetmaxVertexBufferArrayStride: Cardinal; begin Result:=ReadJSPropertyInt64('maxVertexBufferArrayStride'); end; function TJSGPUSupportedLimits._GetmaxInterStageShaderComponents: Cardinal; begin Result:=ReadJSPropertyInt64('maxInterStageShaderComponents'); end; function TJSGPUSupportedLimits._GetmaxInterStageShaderVariables: Cardinal; begin Result:=ReadJSPropertyInt64('maxInterStageShaderVariables'); end; function TJSGPUSupportedLimits._GetmaxColorAttachments: Cardinal; begin Result:=ReadJSPropertyInt64('maxColorAttachments'); end; function TJSGPUSupportedLimits._GetmaxColorAttachmentBytesPerSample: Cardinal; begin Result:=ReadJSPropertyInt64('maxColorAttachmentBytesPerSample'); end; function TJSGPUSupportedLimits._GetmaxComputeWorkgroupStorageSize: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeWorkgroupStorageSize'); end; function TJSGPUSupportedLimits._GetmaxComputeInvocationsPerWorkgroup: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeInvocationsPerWorkgroup'); end; function TJSGPUSupportedLimits._GetmaxComputeWorkgroupSizeX: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeWorkgroupSizeX'); end; function TJSGPUSupportedLimits._GetmaxComputeWorkgroupSizeY: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeWorkgroupSizeY'); end; function TJSGPUSupportedLimits._GetmaxComputeWorkgroupSizeZ: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeWorkgroupSizeZ'); end; function TJSGPUSupportedLimits._GetmaxComputeWorkgroupsPerDimension: Cardinal; begin Result:=ReadJSPropertyInt64('maxComputeWorkgroupsPerDimension'); end; class function TJSGPUSupportedLimits.JSClassName: UnicodeString; begin Result:='GPUSupportedLimits'; end; class function TJSGPUSupportedLimits.Cast(const Intf: IJSObject): IJSGPUSupportedLimits; begin Result:=TJSGPUSupportedLimits.JOBCast(Intf); end; class function TJSGPUSupportedFeatures.JSClassName: UnicodeString; begin Result:='GPUSupportedFeatures'; end; class function TJSGPUSupportedFeatures.Cast(const Intf: IJSObject): IJSGPUSupportedFeatures; begin Result:=TJSGPUSupportedFeatures.JOBCast(Intf); end; function TJSGPUAdapterInfo._Getvendor: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('vendor'); end; function TJSGPUAdapterInfo._Getarchitecture: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('architecture'); end; function TJSGPUAdapterInfo._Getdevice: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('device'); end; function TJSGPUAdapterInfo._Getdescription: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('description'); end; class function TJSGPUAdapterInfo.JSClassName: UnicodeString; begin Result:='GPUAdapterInfo'; end; class function TJSGPUAdapterInfo.Cast(const Intf: IJSObject): IJSGPUAdapterInfo; begin Result:=TJSGPUAdapterInfo.JOBCast(Intf); end; function TJSNavigatorGPU._Getgpu: IJSGPU; begin Result:=ReadJSPropertyObject('gpu',TJSGPU) as IJSGPU; end; class function TJSNavigatorGPU.JSClassName: UnicodeString; begin Result:='NavigatorGPU'; end; class function TJSNavigatorGPU.Cast(const Intf: IJSObject): IJSNavigatorGPU; begin Result:=TJSNavigatorGPU.JOBCast(Intf); end; function TJSGPU.requestAdapter(const aOptions: IJSGPURequestAdapterOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestAdapter',[aOptions],TJSPromise) as IJSPromise; end; function TJSGPU.requestAdapter: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestAdapter',[],TJSPromise) as IJSPromise; end; function TJSGPU.getPreferredCanvasFormat: TGPUTextureFormat; begin Result:=InvokeJSUnicodeStringResult('getPreferredCanvasFormat',[]); end; class function TJSGPU.JSClassName: UnicodeString; begin Result:='GPU'; end; class function TJSGPU.Cast(const Intf: IJSObject): IJSGPU; begin Result:=TJSGPU.JOBCast(Intf); end; function TJSGPURequestAdapterOptions._GetpowerPreference: TGPUPowerPreference; begin Result:=ReadJSPropertyUnicodeString('powerPreference'); end; function TJSGPURequestAdapterOptions._GetforceFallbackAdapter: Boolean; begin Result:=ReadJSPropertyBoolean('forceFallbackAdapter'); end; procedure TJSGPURequestAdapterOptions._SetpowerPreference(const aValue : TGPUPowerPreference); begin WriteJSPropertyUnicodeString('powerPreference',aValue); end; procedure TJSGPURequestAdapterOptions._SetforceFallbackAdapter(const aValue : Boolean); begin WriteJSPropertyBoolean('forceFallbackAdapter',aValue); end; constructor TJSGPURequestAdapterOptions.create(const aDict : TJSGPURequestAdapterOptionsRec); overload; begin Self.powerPreference:=aDict.powerPreference; Self.forceFallbackAdapter:=aDict.forceFallbackAdapter; end; class function TJSGPURequestAdapterOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURequestAdapterOptions.Cast(const Intf: IJSObject): IJSGPURequestAdapterOptions; begin Result:=TJSGPURequestAdapterOptions.JOBCast(Intf); end; function TJSGPUAdapter._Getfeatures: IJSGPUSupportedFeatures; begin Result:=ReadJSPropertyObject('features',TJSGPUSupportedFeatures) as IJSGPUSupportedFeatures; end; function TJSGPUAdapter._Getlimits: IJSGPUSupportedLimits; begin Result:=ReadJSPropertyObject('limits',TJSGPUSupportedLimits) as IJSGPUSupportedLimits; end; function TJSGPUAdapter._GetisFallbackAdapter: Boolean; begin Result:=ReadJSPropertyBoolean('isFallbackAdapter'); end; function TJSGPUAdapter.requestDevice(const aDescriptor: IJSGPUDeviceDescriptor): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestDevice',[aDescriptor],TJSPromise) as IJSPromise; end; function TJSGPUAdapter.requestDevice: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestDevice',[],TJSPromise) as IJSPromise; end; function TJSGPUAdapter.requestAdapterInfo(const aUnmaskHints: TUnicodeStringDynArray): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestAdapterInfo',[aUnmaskHints],TJSPromise) as IJSPromise; end; function TJSGPUAdapter.requestAdapterInfo: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestAdapterInfo',[],TJSPromise) as IJSPromise; end; class function TJSGPUAdapter.JSClassName: UnicodeString; begin Result:='GPUAdapter'; end; class function TJSGPUAdapter.Cast(const Intf: IJSObject): IJSGPUAdapter; begin Result:=TJSGPUAdapter.JOBCast(Intf); end; function TJSGPUDeviceDescriptor._GetrequiredFeatures: TGPUFeatureNameDynArray; begin Result:=ReadJSPropertyObject('requiredFeatures',TJSArray) as TGPUFeatureNameDynArray; end; function TJSGPUDeviceDescriptor._GetrequiredLimits: IJSObject; begin Result:=ReadJSPropertyObject('requiredLimits',TJSObject) as IJSObject; end; function TJSGPUDeviceDescriptor._GetdefaultQueue: IJSGPUQueueDescriptor; begin Result:=ReadJSPropertyObject('defaultQueue',TJSGPUQueueDescriptor) as IJSGPUQueueDescriptor; end; procedure TJSGPUDeviceDescriptor._SetrequiredFeatures(const aValue : TGPUFeatureNameDynArray); begin WriteJSPropertyObject('requiredFeatures',aValue); end; procedure TJSGPUDeviceDescriptor._SetrequiredLimits(const aValue : IJSObject); begin WriteJSPropertyObject('requiredLimits',aValue); end; procedure TJSGPUDeviceDescriptor._SetdefaultQueue(const aValue : IJSGPUQueueDescriptor); begin WriteJSPropertyObject('defaultQueue',aValue); end; constructor TJSGPUDeviceDescriptor.create(const aDict : TJSGPUDeviceDescriptorRec); overload; begin Self.requiredFeatures:=aDict.requiredFeatures; Self.requiredLimits:=aDict.requiredLimits; Self.defaultQueue:=aDict.defaultQueue; end; class function TJSGPUDeviceDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUDeviceDescriptor.Cast(const Intf: IJSObject): IJSGPUDeviceDescriptor; begin Result:=TJSGPUDeviceDescriptor.JOBCast(Intf); end; function TJSGPUDevice._Getfeatures: IJSGPUSupportedFeatures; begin Result:=ReadJSPropertyObject('features',TJSGPUSupportedFeatures) as IJSGPUSupportedFeatures; end; function TJSGPUDevice._Getlimits: IJSGPUSupportedLimits; begin Result:=ReadJSPropertyObject('limits',TJSGPUSupportedLimits) as IJSGPUSupportedLimits; end; function TJSGPUDevice._Getqueue: IJSGPUQueue; begin Result:=ReadJSPropertyObject('queue',TJSGPUQueue) as IJSGPUQueue; end; function TJSGPUDevice._Getlost: IJSPromise; begin Result:=ReadJSPropertyObject('lost',TJSPromise) as IJSPromise; end; function TJSGPUDevice._Getonuncapturederror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onuncapturederror'))); end; function TJSGPUDevice._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUDevice._Setonuncapturederror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onuncapturederror',[m],jiSet); finally m.free end; end; procedure TJSGPUDevice._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSGPUDevice.destroy; begin InvokeJSNoResult('destroy',[]); end; function TJSGPUDevice.createBuffer(const aDescriptor: IJSGPUBufferDescriptor): IJSGPUBuffer; begin Result:=InvokeJSObjectResult('createBuffer',[aDescriptor],TJSGPUBuffer) as IJSGPUBuffer; end; function TJSGPUDevice.createTexture(const aDescriptor: IJSGPUTextureDescriptor): IJSGPUTexture; begin Result:=InvokeJSObjectResult('createTexture',[aDescriptor],TJSGPUTexture) as IJSGPUTexture; end; function TJSGPUDevice.createSampler(const aDescriptor: IJSGPUSamplerDescriptor): IJSGPUSampler; begin Result:=InvokeJSObjectResult('createSampler',[aDescriptor],TJSGPUSampler) as IJSGPUSampler; end; function TJSGPUDevice.createSampler: IJSGPUSampler; begin Result:=InvokeJSObjectResult('createSampler',[],TJSGPUSampler) as IJSGPUSampler; end; function TJSGPUDevice.createBindGroupLayout(const aDescriptor: IJSGPUBindGroupLayoutDescriptor): IJSGPUBindGroupLayout; begin Result:=InvokeJSObjectResult('createBindGroupLayout',[aDescriptor],TJSGPUBindGroupLayout) as IJSGPUBindGroupLayout; end; function TJSGPUDevice.createPipelineLayout(const aDescriptor: IJSGPUPipelineLayoutDescriptor): IJSGPUPipelineLayout; begin Result:=InvokeJSObjectResult('createPipelineLayout',[aDescriptor],TJSGPUPipelineLayout) as IJSGPUPipelineLayout; end; function TJSGPUDevice.createBindGroup(const aDescriptor: IJSGPUBindGroupDescriptor): IJSGPUBindGroup; begin Result:=InvokeJSObjectResult('createBindGroup',[aDescriptor],TJSGPUBindGroup) as IJSGPUBindGroup; end; function TJSGPUDevice.createShaderModule(const aDescriptor: IJSGPUShaderModuleDescriptor): IJSGPUShaderModule; begin Result:=InvokeJSObjectResult('createShaderModule',[aDescriptor],TJSGPUShaderModule) as IJSGPUShaderModule; end; function TJSGPUDevice.createComputePipeline(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSGPUComputePipeline; begin Result:=InvokeJSObjectResult('createComputePipeline',[aDescriptor],TJSGPUComputePipeline) as IJSGPUComputePipeline; end; function TJSGPUDevice.createRenderPipeline(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSGPURenderPipeline; begin Result:=InvokeJSObjectResult('createRenderPipeline',[aDescriptor],TJSGPURenderPipeline) as IJSGPURenderPipeline; end; function TJSGPUDevice.createComputePipelineAsync(const aDescriptor: IJSGPUComputePipelineDescriptor): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createComputePipelineAsync',[aDescriptor],TJSPromise) as IJSPromise; end; function TJSGPUDevice.createRenderPipelineAsync(const aDescriptor: IJSGPURenderPipelineDescriptor): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createRenderPipelineAsync',[aDescriptor],TJSPromise) as IJSPromise; end; function TJSGPUDevice.createCommandEncoder(const aDescriptor: IJSGPUCommandEncoderDescriptor): IJSGPUCommandEncoder; begin Result:=InvokeJSObjectResult('createCommandEncoder',[aDescriptor],TJSGPUCommandEncoder) as IJSGPUCommandEncoder; end; function TJSGPUDevice.createCommandEncoder: IJSGPUCommandEncoder; begin Result:=InvokeJSObjectResult('createCommandEncoder',[],TJSGPUCommandEncoder) as IJSGPUCommandEncoder; end; function TJSGPUDevice.createRenderBundleEncoder(const aDescriptor: IJSGPURenderBundleEncoderDescriptor): IJSGPURenderBundleEncoder; begin Result:=InvokeJSObjectResult('createRenderBundleEncoder',[aDescriptor],TJSGPURenderBundleEncoder) as IJSGPURenderBundleEncoder; end; procedure TJSGPUDevice.pushErrorScope(aFilter: TGPUErrorFilter); begin InvokeJSNoResult('pushErrorScope',[aFilter]); end; function TJSGPUDevice.popErrorScope: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('popErrorScope',[],TJSPromise) as IJSPromise; end; class function TJSGPUDevice.JSClassName: UnicodeString; begin Result:='GPUDevice'; end; class function TJSGPUDevice.Cast(const Intf: IJSObject): IJSGPUDevice; begin Result:=TJSGPUDevice.JOBCast(Intf); end; function TJSGPUBuffer._Getsize: TGPUSize64Out; begin Result:=ReadJSPropertyInt64('size'); end; function TJSGPUBuffer._Getusage: TGPUFlagsConstant; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSGPUBuffer._GetmapState: TGPUBufferMapState; begin Result:=ReadJSPropertyUnicodeString('mapState'); end; function TJSGPUBuffer.mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64; aSize: TGPUSize64): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mapAsync',[aMode,aOffset,aSize],TJSPromise) as IJSPromise; end; function TJSGPUBuffer.mapAsync(aMode: TGPUMapModeFlags): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mapAsync',[aMode],TJSPromise) as IJSPromise; end; function TJSGPUBuffer.mapAsync(aMode: TGPUMapModeFlags; aOffset: TGPUSize64): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('mapAsync',[aMode,aOffset],TJSPromise) as IJSPromise; end; function TJSGPUBuffer.getMappedRange(aOffset: TGPUSize64; aSize: TGPUSize64): IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getMappedRange',[aOffset,aSize],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSGPUBuffer.getMappedRange: IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getMappedRange',[],TJSArrayBuffer) as IJSArrayBuffer; end; function TJSGPUBuffer.getMappedRange(aOffset: TGPUSize64): IJSArrayBuffer; begin Result:=InvokeJSObjectResult('getMappedRange',[aOffset],TJSArrayBuffer) as IJSArrayBuffer; end; procedure TJSGPUBuffer.unmap; begin InvokeJSNoResult('unmap',[]); end; procedure TJSGPUBuffer.destroy; begin InvokeJSNoResult('destroy',[]); end; class function TJSGPUBuffer.JSClassName: UnicodeString; begin Result:='GPUBuffer'; end; class function TJSGPUBuffer.Cast(const Intf: IJSObject): IJSGPUBuffer; begin Result:=TJSGPUBuffer.JOBCast(Intf); end; function TJSGPUBufferDescriptor._Getsize: TGPUSize64; begin Result:=ReadJSPropertyInt64('size'); end; function TJSGPUBufferDescriptor._Getusage: TGPUBufferUsageFlags; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSGPUBufferDescriptor._GetmappedAtCreation: Boolean; begin Result:=ReadJSPropertyBoolean('mappedAtCreation'); end; procedure TJSGPUBufferDescriptor._Setsize(const aValue : TGPUSize64); begin WriteJSPropertyDouble('size',aValue); end; procedure TJSGPUBufferDescriptor._Setusage(const aValue : TGPUBufferUsageFlags); begin WriteJSPropertyDouble('usage',aValue); end; procedure TJSGPUBufferDescriptor._SetmappedAtCreation(const aValue : Boolean); begin WriteJSPropertyBoolean('mappedAtCreation',aValue); end; constructor TJSGPUBufferDescriptor.create(const aDict : TJSGPUBufferDescriptorRec); overload; begin Self.size:=aDict.size; Self.usage:=aDict.usage; Self.mappedAtCreation:=aDict.mappedAtCreation; end; class function TJSGPUBufferDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBufferDescriptor.Cast(const Intf: IJSObject): IJSGPUBufferDescriptor; begin Result:=TJSGPUBufferDescriptor.JOBCast(Intf); end; class function TJSGPUBufferUsage.JSClassName: UnicodeString; begin Result:='GPUBufferUsage'; end; class function TJSGPUBufferUsage.Cast(const Intf: IJSObject): IJSGPUBufferUsage; begin Result:=TJSGPUBufferUsage.JOBCast(Intf); end; class function TJSGPUMapMode.JSClassName: UnicodeString; begin Result:='GPUMapMode'; end; class function TJSGPUMapMode.Cast(const Intf: IJSObject): IJSGPUMapMode; begin Result:=TJSGPUMapMode.JOBCast(Intf); end; function TJSGPUTexture._Getwidth: TGPUIntegerCoordinateOut; begin Result:=ReadJSPropertyInt64('width'); end; function TJSGPUTexture._Getheight: TGPUIntegerCoordinateOut; begin Result:=ReadJSPropertyInt64('height'); end; function TJSGPUTexture._GetdepthOrArrayLayers: TGPUIntegerCoordinateOut; begin Result:=ReadJSPropertyInt64('depthOrArrayLayers'); end; function TJSGPUTexture._GetmipLevelCount: TGPUIntegerCoordinateOut; begin Result:=ReadJSPropertyInt64('mipLevelCount'); end; function TJSGPUTexture._GetsampleCount: TGPUSize32Out; begin Result:=ReadJSPropertyInt64('sampleCount'); end; function TJSGPUTexture._Getdimension: TGPUTextureDimension; begin Result:=ReadJSPropertyUnicodeString('dimension'); end; function TJSGPUTexture._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUTexture._Getusage: TGPUFlagsConstant; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSGPUTexture.createView(const aDescriptor: IJSGPUTextureViewDescriptor): IJSGPUTextureView; begin Result:=InvokeJSObjectResult('createView',[aDescriptor],TJSGPUTextureView) as IJSGPUTextureView; end; function TJSGPUTexture.createView: IJSGPUTextureView; begin Result:=InvokeJSObjectResult('createView',[],TJSGPUTextureView) as IJSGPUTextureView; end; procedure TJSGPUTexture.destroy; begin InvokeJSNoResult('destroy',[]); end; class function TJSGPUTexture.JSClassName: UnicodeString; begin Result:='GPUTexture'; end; class function TJSGPUTexture.Cast(const Intf: IJSObject): IJSGPUTexture; begin Result:=TJSGPUTexture.JOBCast(Intf); end; function TJSGPUTextureDescriptor._Getsize: TGPUExtent3D; begin Result:=ReadJSPropertyVariant('size'); end; function TJSGPUTextureDescriptor._GetmipLevelCount: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('mipLevelCount'); end; function TJSGPUTextureDescriptor._GetsampleCount: TGPUSize32; begin Result:=ReadJSPropertyInt64('sampleCount'); end; function TJSGPUTextureDescriptor._Getdimension: TGPUTextureDimension; begin Result:=ReadJSPropertyUnicodeString('dimension'); end; function TJSGPUTextureDescriptor._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUTextureDescriptor._Getusage: TGPUTextureUsageFlags; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSGPUTextureDescriptor._GetviewFormats: TGPUTextureFormatDynArray; begin Result:=ReadJSPropertyObject('viewFormats',TJSArray) as TGPUTextureFormatDynArray; end; procedure TJSGPUTextureDescriptor._Setsize(const aValue : TGPUExtent3D); begin WriteJSPropertyVariant('size',aValue); end; procedure TJSGPUTextureDescriptor._SetmipLevelCount(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('mipLevelCount',aValue); end; procedure TJSGPUTextureDescriptor._SetsampleCount(const aValue : TGPUSize32); begin WriteJSPropertyDouble('sampleCount',aValue); end; procedure TJSGPUTextureDescriptor._Setdimension(const aValue : TGPUTextureDimension); begin WriteJSPropertyUnicodeString('dimension',aValue); end; procedure TJSGPUTextureDescriptor._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUTextureDescriptor._Setusage(const aValue : TGPUTextureUsageFlags); begin WriteJSPropertyDouble('usage',aValue); end; procedure TJSGPUTextureDescriptor._SetviewFormats(const aValue : TGPUTextureFormatDynArray); begin WriteJSPropertyObject('viewFormats',aValue); end; constructor TJSGPUTextureDescriptor.create(const aDict : TJSGPUTextureDescriptorRec); overload; begin Self.size:=aDict.size; Self.mipLevelCount:=aDict.mipLevelCount; Self.sampleCount:=aDict.sampleCount; Self.dimension:=aDict.dimension; Self.format:=aDict.format; Self.usage:=aDict.usage; Self.viewFormats:=aDict.viewFormats; end; class function TJSGPUTextureDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUTextureDescriptor.Cast(const Intf: IJSObject): IJSGPUTextureDescriptor; begin Result:=TJSGPUTextureDescriptor.JOBCast(Intf); end; class function TJSGPUTextureUsage.JSClassName: UnicodeString; begin Result:='GPUTextureUsage'; end; class function TJSGPUTextureUsage.Cast(const Intf: IJSObject): IJSGPUTextureUsage; begin Result:=TJSGPUTextureUsage.JOBCast(Intf); end; class function TJSGPUTextureView.JSClassName: UnicodeString; begin Result:='GPUTextureView'; end; class function TJSGPUTextureView.Cast(const Intf: IJSObject): IJSGPUTextureView; begin Result:=TJSGPUTextureView.JOBCast(Intf); end; function TJSGPUTextureViewDescriptor._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUTextureViewDescriptor._Getdimension: TGPUTextureViewDimension; begin Result:=ReadJSPropertyUnicodeString('dimension'); end; function TJSGPUTextureViewDescriptor._Getaspect: TGPUTextureAspect; begin Result:=ReadJSPropertyUnicodeString('aspect'); end; function TJSGPUTextureViewDescriptor._GetbaseMipLevel: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('baseMipLevel'); end; function TJSGPUTextureViewDescriptor._GetmipLevelCount: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('mipLevelCount'); end; function TJSGPUTextureViewDescriptor._GetbaseArrayLayer: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('baseArrayLayer'); end; function TJSGPUTextureViewDescriptor._GetarrayLayerCount: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('arrayLayerCount'); end; procedure TJSGPUTextureViewDescriptor._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUTextureViewDescriptor._Setdimension(const aValue : TGPUTextureViewDimension); begin WriteJSPropertyUnicodeString('dimension',aValue); end; procedure TJSGPUTextureViewDescriptor._Setaspect(const aValue : TGPUTextureAspect); begin WriteJSPropertyUnicodeString('aspect',aValue); end; procedure TJSGPUTextureViewDescriptor._SetbaseMipLevel(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('baseMipLevel',aValue); end; procedure TJSGPUTextureViewDescriptor._SetmipLevelCount(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('mipLevelCount',aValue); end; procedure TJSGPUTextureViewDescriptor._SetbaseArrayLayer(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('baseArrayLayer',aValue); end; procedure TJSGPUTextureViewDescriptor._SetarrayLayerCount(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('arrayLayerCount',aValue); end; constructor TJSGPUTextureViewDescriptor.create(const aDict : TJSGPUTextureViewDescriptorRec); overload; begin Self.format:=aDict.format; Self.dimension:=aDict.dimension; Self.aspect:=aDict.aspect; Self.baseMipLevel:=aDict.baseMipLevel; Self.mipLevelCount:=aDict.mipLevelCount; Self.baseArrayLayer:=aDict.baseArrayLayer; Self.arrayLayerCount:=aDict.arrayLayerCount; end; class function TJSGPUTextureViewDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUTextureViewDescriptor.Cast(const Intf: IJSObject): IJSGPUTextureViewDescriptor; begin Result:=TJSGPUTextureViewDescriptor.JOBCast(Intf); end; class function TJSGPUSampler.JSClassName: UnicodeString; begin Result:='GPUSampler'; end; class function TJSGPUSampler.Cast(const Intf: IJSObject): IJSGPUSampler; begin Result:=TJSGPUSampler.JOBCast(Intf); end; function TJSGPUSamplerDescriptor._GetaddressModeU: TGPUAddressMode; begin Result:=ReadJSPropertyUnicodeString('addressModeU'); end; function TJSGPUSamplerDescriptor._GetaddressModeV: TGPUAddressMode; begin Result:=ReadJSPropertyUnicodeString('addressModeV'); end; function TJSGPUSamplerDescriptor._GetaddressModeW: TGPUAddressMode; begin Result:=ReadJSPropertyUnicodeString('addressModeW'); end; function TJSGPUSamplerDescriptor._GetmagFilter: TGPUFilterMode; begin Result:=ReadJSPropertyUnicodeString('magFilter'); end; function TJSGPUSamplerDescriptor._GetminFilter: TGPUFilterMode; begin Result:=ReadJSPropertyUnicodeString('minFilter'); end; function TJSGPUSamplerDescriptor._GetmipmapFilter: TGPUMipmapFilterMode; begin Result:=ReadJSPropertyUnicodeString('mipmapFilter'); end; function TJSGPUSamplerDescriptor._GetlodMinClamp: Single; begin Result:=ReadJSPropertyDouble('lodMinClamp'); end; function TJSGPUSamplerDescriptor._GetlodMaxClamp: Single; begin Result:=ReadJSPropertyDouble('lodMaxClamp'); end; function TJSGPUSamplerDescriptor._Getcompare: TGPUCompareFunction; begin Result:=ReadJSPropertyUnicodeString('compare'); end; function TJSGPUSamplerDescriptor._GetmaxAnisotropy: Word; begin Result:=ReadJSPropertyLongInt('maxAnisotropy'); end; procedure TJSGPUSamplerDescriptor._SetaddressModeU(const aValue : TGPUAddressMode); begin WriteJSPropertyUnicodeString('addressModeU',aValue); end; procedure TJSGPUSamplerDescriptor._SetaddressModeV(const aValue : TGPUAddressMode); begin WriteJSPropertyUnicodeString('addressModeV',aValue); end; procedure TJSGPUSamplerDescriptor._SetaddressModeW(const aValue : TGPUAddressMode); begin WriteJSPropertyUnicodeString('addressModeW',aValue); end; procedure TJSGPUSamplerDescriptor._SetmagFilter(const aValue : TGPUFilterMode); begin WriteJSPropertyUnicodeString('magFilter',aValue); end; procedure TJSGPUSamplerDescriptor._SetminFilter(const aValue : TGPUFilterMode); begin WriteJSPropertyUnicodeString('minFilter',aValue); end; procedure TJSGPUSamplerDescriptor._SetmipmapFilter(const aValue : TGPUMipmapFilterMode); begin WriteJSPropertyUnicodeString('mipmapFilter',aValue); end; procedure TJSGPUSamplerDescriptor._SetlodMinClamp(const aValue : Single); begin WriteJSPropertyDouble('lodMinClamp',aValue); end; procedure TJSGPUSamplerDescriptor._SetlodMaxClamp(const aValue : Single); begin WriteJSPropertyDouble('lodMaxClamp',aValue); end; procedure TJSGPUSamplerDescriptor._Setcompare(const aValue : TGPUCompareFunction); begin WriteJSPropertyUnicodeString('compare',aValue); end; procedure TJSGPUSamplerDescriptor._SetmaxAnisotropy(const aValue : Word); begin WriteJSPropertyLongInt('maxAnisotropy',aValue); end; constructor TJSGPUSamplerDescriptor.create(const aDict : TJSGPUSamplerDescriptorRec); overload; begin Self.addressModeU:=aDict.addressModeU; Self.addressModeV:=aDict.addressModeV; Self.addressModeW:=aDict.addressModeW; Self.magFilter:=aDict.magFilter; Self.minFilter:=aDict.minFilter; Self.mipmapFilter:=aDict.mipmapFilter; Self.lodMinClamp:=aDict.lodMinClamp; Self.lodMaxClamp:=aDict.lodMaxClamp; Self.compare:=aDict.compare; Self.maxAnisotropy:=aDict.maxAnisotropy; end; class function TJSGPUSamplerDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUSamplerDescriptor.Cast(const Intf: IJSObject): IJSGPUSamplerDescriptor; begin Result:=TJSGPUSamplerDescriptor.JOBCast(Intf); end; class function TJSGPUBindGroupLayout.JSClassName: UnicodeString; begin Result:='GPUBindGroupLayout'; end; class function TJSGPUBindGroupLayout.Cast(const Intf: IJSObject): IJSGPUBindGroupLayout; begin Result:=TJSGPUBindGroupLayout.JOBCast(Intf); end; function TJSGPUBindGroupLayoutDescriptor._Getentries: TJSGPUBindGroupLayoutEntryDynArray; begin Result:=ReadJSPropertyObject('entries',TJSArray) as TJSGPUBindGroupLayoutEntryDynArray; end; procedure TJSGPUBindGroupLayoutDescriptor._Setentries(const aValue : TJSGPUBindGroupLayoutEntryDynArray); begin WriteJSPropertyObject('entries',aValue); end; constructor TJSGPUBindGroupLayoutDescriptor.create(const aDict : TJSGPUBindGroupLayoutDescriptorRec); overload; begin Self.entries:=aDict.entries; end; class function TJSGPUBindGroupLayoutDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBindGroupLayoutDescriptor.Cast(const Intf: IJSObject): IJSGPUBindGroupLayoutDescriptor; begin Result:=TJSGPUBindGroupLayoutDescriptor.JOBCast(Intf); end; function TJSGPUBindGroupLayoutEntry._Getbinding: TGPUIndex32; begin Result:=ReadJSPropertyInt64('binding'); end; function TJSGPUBindGroupLayoutEntry._Getvisibility: TGPUShaderStageFlags; begin Result:=ReadJSPropertyInt64('visibility'); end; function TJSGPUBindGroupLayoutEntry._Getbuffer: IJSGPUBufferBindingLayout; begin Result:=ReadJSPropertyObject('buffer',TJSGPUBufferBindingLayout) as IJSGPUBufferBindingLayout; end; function TJSGPUBindGroupLayoutEntry._Getsampler: IJSGPUSamplerBindingLayout; begin Result:=ReadJSPropertyObject('sampler',TJSGPUSamplerBindingLayout) as IJSGPUSamplerBindingLayout; end; function TJSGPUBindGroupLayoutEntry._Gettexture: IJSGPUTextureBindingLayout; begin Result:=ReadJSPropertyObject('texture',TJSGPUTextureBindingLayout) as IJSGPUTextureBindingLayout; end; function TJSGPUBindGroupLayoutEntry._GetstorageTexture: IJSGPUStorageTextureBindingLayout; begin Result:=ReadJSPropertyObject('storageTexture',TJSGPUStorageTextureBindingLayout) as IJSGPUStorageTextureBindingLayout; end; procedure TJSGPUBindGroupLayoutEntry._Setbinding(const aValue : TGPUIndex32); begin WriteJSPropertyDouble('binding',aValue); end; procedure TJSGPUBindGroupLayoutEntry._Setvisibility(const aValue : TGPUShaderStageFlags); begin WriteJSPropertyDouble('visibility',aValue); end; procedure TJSGPUBindGroupLayoutEntry._Setbuffer(const aValue : IJSGPUBufferBindingLayout); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSGPUBindGroupLayoutEntry._Setsampler(const aValue : IJSGPUSamplerBindingLayout); begin WriteJSPropertyObject('sampler',aValue); end; procedure TJSGPUBindGroupLayoutEntry._Settexture(const aValue : IJSGPUTextureBindingLayout); begin WriteJSPropertyObject('texture',aValue); end; procedure TJSGPUBindGroupLayoutEntry._SetstorageTexture(const aValue : IJSGPUStorageTextureBindingLayout); begin WriteJSPropertyObject('storageTexture',aValue); end; constructor TJSGPUBindGroupLayoutEntry.create(const aDict : TJSGPUBindGroupLayoutEntryRec); overload; begin Self.binding:=aDict.binding; Self.visibility:=aDict.visibility; Self.buffer:=aDict.buffer; Self.sampler:=aDict.sampler; Self.texture:=aDict.texture; Self.storageTexture:=aDict.storageTexture; end; class function TJSGPUBindGroupLayoutEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBindGroupLayoutEntry.Cast(const Intf: IJSObject): IJSGPUBindGroupLayoutEntry; begin Result:=TJSGPUBindGroupLayoutEntry.JOBCast(Intf); end; class function TJSGPUShaderStage.JSClassName: UnicodeString; begin Result:='GPUShaderStage'; end; class function TJSGPUShaderStage.Cast(const Intf: IJSObject): IJSGPUShaderStage; begin Result:=TJSGPUShaderStage.JOBCast(Intf); end; function TJSGPUBufferBindingLayout._Gettype_: TGPUBufferBindingType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGPUBufferBindingLayout._GethasDynamicOffset: Boolean; begin Result:=ReadJSPropertyBoolean('hasDynamicOffset'); end; function TJSGPUBufferBindingLayout._GetminBindingSize: TGPUSize64; begin Result:=ReadJSPropertyInt64('minBindingSize'); end; procedure TJSGPUBufferBindingLayout._Settype_(const aValue : TGPUBufferBindingType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSGPUBufferBindingLayout._SethasDynamicOffset(const aValue : Boolean); begin WriteJSPropertyBoolean('hasDynamicOffset',aValue); end; procedure TJSGPUBufferBindingLayout._SetminBindingSize(const aValue : TGPUSize64); begin WriteJSPropertyDouble('minBindingSize',aValue); end; constructor TJSGPUBufferBindingLayout.create(const aDict : TJSGPUBufferBindingLayoutRec); overload; begin Self.type_:=aDict.type_; Self.hasDynamicOffset:=aDict.hasDynamicOffset; Self.minBindingSize:=aDict.minBindingSize; end; class function TJSGPUBufferBindingLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBufferBindingLayout.Cast(const Intf: IJSObject): IJSGPUBufferBindingLayout; begin Result:=TJSGPUBufferBindingLayout.JOBCast(Intf); end; function TJSGPUSamplerBindingLayout._Gettype_: TGPUSamplerBindingType; begin Result:=ReadJSPropertyUnicodeString('type'); end; procedure TJSGPUSamplerBindingLayout._Settype_(const aValue : TGPUSamplerBindingType); begin WriteJSPropertyUnicodeString('type',aValue); end; constructor TJSGPUSamplerBindingLayout.create(const aDict : TJSGPUSamplerBindingLayoutRec); overload; begin Self.type_:=aDict.type_; end; class function TJSGPUSamplerBindingLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUSamplerBindingLayout.Cast(const Intf: IJSObject): IJSGPUSamplerBindingLayout; begin Result:=TJSGPUSamplerBindingLayout.JOBCast(Intf); end; function TJSGPUTextureBindingLayout._GetsampleType: TGPUTextureSampleType; begin Result:=ReadJSPropertyUnicodeString('sampleType'); end; function TJSGPUTextureBindingLayout._GetviewDimension: TGPUTextureViewDimension; begin Result:=ReadJSPropertyUnicodeString('viewDimension'); end; function TJSGPUTextureBindingLayout._Getmultisampled: Boolean; begin Result:=ReadJSPropertyBoolean('multisampled'); end; procedure TJSGPUTextureBindingLayout._SetsampleType(const aValue : TGPUTextureSampleType); begin WriteJSPropertyUnicodeString('sampleType',aValue); end; procedure TJSGPUTextureBindingLayout._SetviewDimension(const aValue : TGPUTextureViewDimension); begin WriteJSPropertyUnicodeString('viewDimension',aValue); end; procedure TJSGPUTextureBindingLayout._Setmultisampled(const aValue : Boolean); begin WriteJSPropertyBoolean('multisampled',aValue); end; constructor TJSGPUTextureBindingLayout.create(const aDict : TJSGPUTextureBindingLayoutRec); overload; begin Self.sampleType:=aDict.sampleType; Self.viewDimension:=aDict.viewDimension; Self.multisampled:=aDict.multisampled; end; class function TJSGPUTextureBindingLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUTextureBindingLayout.Cast(const Intf: IJSObject): IJSGPUTextureBindingLayout; begin Result:=TJSGPUTextureBindingLayout.JOBCast(Intf); end; function TJSGPUStorageTextureBindingLayout._Getaccess: TGPUStorageTextureAccess; begin Result:=ReadJSPropertyUnicodeString('access'); end; function TJSGPUStorageTextureBindingLayout._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUStorageTextureBindingLayout._GetviewDimension: TGPUTextureViewDimension; begin Result:=ReadJSPropertyUnicodeString('viewDimension'); end; procedure TJSGPUStorageTextureBindingLayout._Setaccess(const aValue : TGPUStorageTextureAccess); begin WriteJSPropertyUnicodeString('access',aValue); end; procedure TJSGPUStorageTextureBindingLayout._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUStorageTextureBindingLayout._SetviewDimension(const aValue : TGPUTextureViewDimension); begin WriteJSPropertyUnicodeString('viewDimension',aValue); end; constructor TJSGPUStorageTextureBindingLayout.create(const aDict : TJSGPUStorageTextureBindingLayoutRec); overload; begin Self.access:=aDict.access; Self.format:=aDict.format; Self.viewDimension:=aDict.viewDimension; end; class function TJSGPUStorageTextureBindingLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUStorageTextureBindingLayout.Cast(const Intf: IJSObject): IJSGPUStorageTextureBindingLayout; begin Result:=TJSGPUStorageTextureBindingLayout.JOBCast(Intf); end; class function TJSGPUBindGroup.JSClassName: UnicodeString; begin Result:='GPUBindGroup'; end; class function TJSGPUBindGroup.Cast(const Intf: IJSObject): IJSGPUBindGroup; begin Result:=TJSGPUBindGroup.JOBCast(Intf); end; function TJSGPUBindGroupDescriptor._Getlayout: IJSGPUBindGroupLayout; begin Result:=ReadJSPropertyObject('layout',TJSGPUBindGroupLayout) as IJSGPUBindGroupLayout; end; function TJSGPUBindGroupDescriptor._Getentries: TJSGPUBindGroupEntryDynArray; begin Result:=ReadJSPropertyObject('entries',TJSArray) as TJSGPUBindGroupEntryDynArray; end; procedure TJSGPUBindGroupDescriptor._Setlayout(const aValue : IJSGPUBindGroupLayout); begin WriteJSPropertyObject('layout',aValue); end; procedure TJSGPUBindGroupDescriptor._Setentries(const aValue : TJSGPUBindGroupEntryDynArray); begin WriteJSPropertyObject('entries',aValue); end; constructor TJSGPUBindGroupDescriptor.create(const aDict : TJSGPUBindGroupDescriptorRec); overload; begin Self.layout:=aDict.layout; Self.entries:=aDict.entries; end; class function TJSGPUBindGroupDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBindGroupDescriptor.Cast(const Intf: IJSObject): IJSGPUBindGroupDescriptor; begin Result:=TJSGPUBindGroupDescriptor.JOBCast(Intf); end; function TJSGPUBindGroupEntry._Getbinding: TGPUIndex32; begin Result:=ReadJSPropertyInt64('binding'); end; function TJSGPUBindGroupEntry._Getresource: TGPUBindingResource; begin Result:=ReadJSPropertyVariant('resource'); end; procedure TJSGPUBindGroupEntry._Setbinding(const aValue : TGPUIndex32); begin WriteJSPropertyDouble('binding',aValue); end; procedure TJSGPUBindGroupEntry._Setresource(const aValue : TGPUBindingResource); begin WriteJSPropertyVariant('resource',aValue); end; constructor TJSGPUBindGroupEntry.create(const aDict : TJSGPUBindGroupEntryRec); overload; begin Self.binding:=aDict.binding; Self.resource:=aDict.resource; end; class function TJSGPUBindGroupEntry.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBindGroupEntry.Cast(const Intf: IJSObject): IJSGPUBindGroupEntry; begin Result:=TJSGPUBindGroupEntry.JOBCast(Intf); end; function TJSGPUBufferBinding._Getbuffer: IJSGPUBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSGPUBuffer) as IJSGPUBuffer; end; function TJSGPUBufferBinding._Getoffset: TGPUSize64; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSGPUBufferBinding._Getsize: TGPUSize64; begin Result:=ReadJSPropertyInt64('size'); end; procedure TJSGPUBufferBinding._Setbuffer(const aValue : IJSGPUBuffer); begin WriteJSPropertyObject('buffer',aValue); end; procedure TJSGPUBufferBinding._Setoffset(const aValue : TGPUSize64); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSGPUBufferBinding._Setsize(const aValue : TGPUSize64); begin WriteJSPropertyDouble('size',aValue); end; constructor TJSGPUBufferBinding.create(const aDict : TJSGPUBufferBindingRec); overload; begin Self.buffer:=aDict.buffer; Self.offset:=aDict.offset; Self.size:=aDict.size; end; class function TJSGPUBufferBinding.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBufferBinding.Cast(const Intf: IJSObject): IJSGPUBufferBinding; begin Result:=TJSGPUBufferBinding.JOBCast(Intf); end; class function TJSGPUPipelineLayout.JSClassName: UnicodeString; begin Result:='GPUPipelineLayout'; end; class function TJSGPUPipelineLayout.Cast(const Intf: IJSObject): IJSGPUPipelineLayout; begin Result:=TJSGPUPipelineLayout.JOBCast(Intf); end; function TJSGPUPipelineLayoutDescriptor._GetbindGroupLayouts: TJSGPUBindGroupLayoutDynArray; begin Result:=ReadJSPropertyObject('bindGroupLayouts',TJSArray) as TJSGPUBindGroupLayoutDynArray; end; procedure TJSGPUPipelineLayoutDescriptor._SetbindGroupLayouts(const aValue : TJSGPUBindGroupLayoutDynArray); begin WriteJSPropertyObject('bindGroupLayouts',aValue); end; constructor TJSGPUPipelineLayoutDescriptor.create(const aDict : TJSGPUPipelineLayoutDescriptorRec); overload; begin Self.bindGroupLayouts:=aDict.bindGroupLayouts; end; class function TJSGPUPipelineLayoutDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUPipelineLayoutDescriptor.Cast(const Intf: IJSObject): IJSGPUPipelineLayoutDescriptor; begin Result:=TJSGPUPipelineLayoutDescriptor.JOBCast(Intf); end; function TJSGPUShaderModule.compilationInfo: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('compilationInfo',[],TJSPromise) as IJSPromise; end; function TJSGPUShaderModule.getCompilationInfo: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getCompilationInfo',[],TJSPromise) as IJSPromise; end; class function TJSGPUShaderModule.JSClassName: UnicodeString; begin Result:='GPUShaderModule'; end; class function TJSGPUShaderModule.Cast(const Intf: IJSObject): IJSGPUShaderModule; begin Result:=TJSGPUShaderModule.JOBCast(Intf); end; function TJSGPUShaderModuleDescriptor._Getcode: UTF8String; begin Result:=ReadJSPropertyUTF8String('code'); end; function TJSGPUShaderModuleDescriptor._GetsourceMap: IJSObject; begin Result:=ReadJSPropertyObject('sourceMap',TJSObject) as IJSObject; end; procedure TJSGPUShaderModuleDescriptor._Setcode(const aValue : UTF8String); begin WriteJSPropertyUTF8String('code',aValue); end; procedure TJSGPUShaderModuleDescriptor._SetsourceMap(const aValue : IJSObject); begin WriteJSPropertyObject('sourceMap',aValue); end; constructor TJSGPUShaderModuleDescriptor.create(const aDict : TJSGPUShaderModuleDescriptorRec); overload; begin Self.code:=aDict.code; Self.sourceMap:=aDict.sourceMap; end; class function TJSGPUShaderModuleDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUShaderModuleDescriptor.Cast(const Intf: IJSObject): IJSGPUShaderModuleDescriptor; begin Result:=TJSGPUShaderModuleDescriptor.JOBCast(Intf); end; function TJSGPUCompilationMessage._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; function TJSGPUCompilationMessage._Gettype_: TGPUCompilationMessageType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGPUCompilationMessage._GetlineNum: QWord; begin Result:=ReadJSPropertyInt64('lineNum'); end; function TJSGPUCompilationMessage._GetlinePos: QWord; begin Result:=ReadJSPropertyInt64('linePos'); end; function TJSGPUCompilationMessage._Getoffset: QWord; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSGPUCompilationMessage._Getlength_: QWord; begin Result:=ReadJSPropertyInt64('length'); end; class function TJSGPUCompilationMessage.JSClassName: UnicodeString; begin Result:='GPUCompilationMessage'; end; class function TJSGPUCompilationMessage.Cast(const Intf: IJSObject): IJSGPUCompilationMessage; begin Result:=TJSGPUCompilationMessage.JOBCast(Intf); end; function TJSGPUCompilationInfo._Getmessages: TJSGPUCompilationMessageDynArray; begin Result:=ReadJSPropertyObject('messages',TJSArray) as TJSGPUCompilationMessageDynArray; end; class function TJSGPUCompilationInfo.JSClassName: UnicodeString; begin Result:='GPUCompilationInfo'; end; class function TJSGPUCompilationInfo.Cast(const Intf: IJSObject): IJSGPUCompilationInfo; begin Result:=TJSGPUCompilationInfo.JOBCast(Intf); end; function TJSGPUPipelineDescriptorBase._Getlayout: TGPUPipelineDescriptorBase_layout_Type; begin Result:=ReadJSPropertyVariant('layout'); end; procedure TJSGPUPipelineDescriptorBase._Setlayout(const aValue : TGPUPipelineDescriptorBase_layout_Type); begin WriteJSPropertyVariant('layout',aValue); end; constructor TJSGPUPipelineDescriptorBase.create(const aDict : TJSGPUPipelineDescriptorBaseRec); overload; begin Self.layout:=aDict.layout; end; class function TJSGPUPipelineDescriptorBase.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUPipelineDescriptorBase.Cast(const Intf: IJSObject): IJSGPUPipelineDescriptorBase; begin Result:=TJSGPUPipelineDescriptorBase.JOBCast(Intf); end; function TJSGPUPipelineBase.getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; begin Result:=InvokeJSObjectResult('getBindGroupLayout',[aIndex],TJSGPUBindGroupLayout) as IJSGPUBindGroupLayout; end; class function TJSGPUPipelineBase.JSClassName: UnicodeString; begin Result:='GPUPipelineBase'; end; class function TJSGPUPipelineBase.Cast(const Intf: IJSObject): IJSGPUPipelineBase; begin Result:=TJSGPUPipelineBase.JOBCast(Intf); end; function TJSGPUProgrammableStage._Getmodule: IJSGPUShaderModule; begin Result:=ReadJSPropertyObject('module',TJSGPUShaderModule) as IJSGPUShaderModule; end; function TJSGPUProgrammableStage._GetentryPoint: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('entryPoint'); end; procedure TJSGPUProgrammableStage._Setmodule(const aValue : IJSGPUShaderModule); begin WriteJSPropertyObject('module',aValue); end; procedure TJSGPUProgrammableStage._SetentryPoint(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('entryPoint',aValue); end; constructor TJSGPUProgrammableStage.create(const aDict : TJSGPUProgrammableStageRec); overload; begin Self.module:=aDict.module; Self.entryPoint:=aDict.entryPoint; end; class function TJSGPUProgrammableStage.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUProgrammableStage.Cast(const Intf: IJSObject): IJSGPUProgrammableStage; begin Result:=TJSGPUProgrammableStage.JOBCast(Intf); end; function TJSGPUComputePipeline._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUComputePipeline._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; function TJSGPUComputePipeline.getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; begin Result:=InvokeJSObjectResult('getBindGroupLayout',[aIndex],TJSGPUBindGroupLayout) as IJSGPUBindGroupLayout; end; class function TJSGPUComputePipeline.JSClassName: UnicodeString; begin Result:='GPUComputePipeline'; end; class function TJSGPUComputePipeline.Cast(const Intf: IJSObject): IJSGPUComputePipeline; begin Result:=TJSGPUComputePipeline.JOBCast(Intf); end; function TJSGPUComputePipelineDescriptor._Getcompute: IJSGPUProgrammableStage; begin Result:=ReadJSPropertyObject('compute',TJSGPUProgrammableStage) as IJSGPUProgrammableStage; end; procedure TJSGPUComputePipelineDescriptor._Setcompute(const aValue : IJSGPUProgrammableStage); begin WriteJSPropertyObject('compute',aValue); end; constructor TJSGPUComputePipelineDescriptor.create(const aDict : TJSGPUComputePipelineDescriptorRec); overload; begin Self.compute:=aDict.compute; end; class function TJSGPUComputePipelineDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUComputePipelineDescriptor.Cast(const Intf: IJSObject): IJSGPUComputePipelineDescriptor; begin Result:=TJSGPUComputePipelineDescriptor.JOBCast(Intf); end; function TJSGPURenderPipeline._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPURenderPipeline._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; function TJSGPURenderPipeline.getBindGroupLayout(aIndex: Cardinal): IJSGPUBindGroupLayout; begin Result:=InvokeJSObjectResult('getBindGroupLayout',[aIndex],TJSGPUBindGroupLayout) as IJSGPUBindGroupLayout; end; class function TJSGPURenderPipeline.JSClassName: UnicodeString; begin Result:='GPURenderPipeline'; end; class function TJSGPURenderPipeline.Cast(const Intf: IJSObject): IJSGPURenderPipeline; begin Result:=TJSGPURenderPipeline.JOBCast(Intf); end; function TJSGPURenderPipelineDescriptor._Getvertex: IJSGPUVertexState; begin Result:=ReadJSPropertyObject('vertex',TJSGPUVertexState) as IJSGPUVertexState; end; function TJSGPURenderPipelineDescriptor._Getprimitive: IJSGPUPrimitiveState; begin Result:=ReadJSPropertyObject('primitive',TJSGPUPrimitiveState) as IJSGPUPrimitiveState; end; function TJSGPURenderPipelineDescriptor._GetdepthStencil: IJSGPUDepthStencilState; begin Result:=ReadJSPropertyObject('depthStencil',TJSGPUDepthStencilState) as IJSGPUDepthStencilState; end; function TJSGPURenderPipelineDescriptor._Getmultisample: IJSGPUMultisampleState; begin Result:=ReadJSPropertyObject('multisample',TJSGPUMultisampleState) as IJSGPUMultisampleState; end; function TJSGPURenderPipelineDescriptor._Getfragment: IJSGPUFragmentState; begin Result:=ReadJSPropertyObject('fragment',TJSGPUFragmentState) as IJSGPUFragmentState; end; procedure TJSGPURenderPipelineDescriptor._Setvertex(const aValue : IJSGPUVertexState); begin WriteJSPropertyObject('vertex',aValue); end; procedure TJSGPURenderPipelineDescriptor._Setprimitive(const aValue : IJSGPUPrimitiveState); begin WriteJSPropertyObject('primitive',aValue); end; procedure TJSGPURenderPipelineDescriptor._SetdepthStencil(const aValue : IJSGPUDepthStencilState); begin WriteJSPropertyObject('depthStencil',aValue); end; procedure TJSGPURenderPipelineDescriptor._Setmultisample(const aValue : IJSGPUMultisampleState); begin WriteJSPropertyObject('multisample',aValue); end; procedure TJSGPURenderPipelineDescriptor._Setfragment(const aValue : IJSGPUFragmentState); begin WriteJSPropertyObject('fragment',aValue); end; constructor TJSGPURenderPipelineDescriptor.create(const aDict : TJSGPURenderPipelineDescriptorRec); overload; begin Self.vertex:=aDict.vertex; Self.primitive:=aDict.primitive; Self.depthStencil:=aDict.depthStencil; Self.multisample:=aDict.multisample; Self.fragment:=aDict.fragment; end; class function TJSGPURenderPipelineDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderPipelineDescriptor.Cast(const Intf: IJSObject): IJSGPURenderPipelineDescriptor; begin Result:=TJSGPURenderPipelineDescriptor.JOBCast(Intf); end; function TJSGPUPrimitiveState._Gettopology: TGPUPrimitiveTopology; begin Result:=ReadJSPropertyUnicodeString('topology'); end; function TJSGPUPrimitiveState._GetstripIndexFormat: TGPUIndexFormat; begin Result:=ReadJSPropertyUnicodeString('stripIndexFormat'); end; function TJSGPUPrimitiveState._GetfrontFace: TGPUFrontFace; begin Result:=ReadJSPropertyUnicodeString('frontFace'); end; function TJSGPUPrimitiveState._GetcullMode: TGPUCullMode; begin Result:=ReadJSPropertyUnicodeString('cullMode'); end; function TJSGPUPrimitiveState._GetunclippedDepth: Boolean; begin Result:=ReadJSPropertyBoolean('unclippedDepth'); end; procedure TJSGPUPrimitiveState._Settopology(const aValue : TGPUPrimitiveTopology); begin WriteJSPropertyUnicodeString('topology',aValue); end; procedure TJSGPUPrimitiveState._SetstripIndexFormat(const aValue : TGPUIndexFormat); begin WriteJSPropertyUnicodeString('stripIndexFormat',aValue); end; procedure TJSGPUPrimitiveState._SetfrontFace(const aValue : TGPUFrontFace); begin WriteJSPropertyUnicodeString('frontFace',aValue); end; procedure TJSGPUPrimitiveState._SetcullMode(const aValue : TGPUCullMode); begin WriteJSPropertyUnicodeString('cullMode',aValue); end; procedure TJSGPUPrimitiveState._SetunclippedDepth(const aValue : Boolean); begin WriteJSPropertyBoolean('unclippedDepth',aValue); end; constructor TJSGPUPrimitiveState.create(const aDict : TJSGPUPrimitiveStateRec); overload; begin Self.topology:=aDict.topology; Self.stripIndexFormat:=aDict.stripIndexFormat; Self.frontFace:=aDict.frontFace; Self.cullMode:=aDict.cullMode; Self.unclippedDepth:=aDict.unclippedDepth; end; class function TJSGPUPrimitiveState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUPrimitiveState.Cast(const Intf: IJSObject): IJSGPUPrimitiveState; begin Result:=TJSGPUPrimitiveState.JOBCast(Intf); end; function TJSGPUMultisampleState._Getcount: TGPUSize32; begin Result:=ReadJSPropertyInt64('count'); end; function TJSGPUMultisampleState._Getmask: TGPUSampleMask; begin Result:=ReadJSPropertyInt64('mask'); end; function TJSGPUMultisampleState._GetalphaToCoverageEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('alphaToCoverageEnabled'); end; procedure TJSGPUMultisampleState._Setcount(const aValue : TGPUSize32); begin WriteJSPropertyDouble('count',aValue); end; procedure TJSGPUMultisampleState._Setmask(const aValue : TGPUSampleMask); begin WriteJSPropertyDouble('mask',aValue); end; procedure TJSGPUMultisampleState._SetalphaToCoverageEnabled(const aValue : Boolean); begin WriteJSPropertyBoolean('alphaToCoverageEnabled',aValue); end; constructor TJSGPUMultisampleState.create(const aDict : TJSGPUMultisampleStateRec); overload; begin Self.count:=aDict.count; Self.mask:=aDict.mask; Self.alphaToCoverageEnabled:=aDict.alphaToCoverageEnabled; end; class function TJSGPUMultisampleState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUMultisampleState.Cast(const Intf: IJSObject): IJSGPUMultisampleState; begin Result:=TJSGPUMultisampleState.JOBCast(Intf); end; function TJSGPUFragmentState._Gettargets: TJSGPUColorTargetStateDynArray; begin Result:=ReadJSPropertyObject('targets',TJSArray) as TJSGPUColorTargetStateDynArray; end; procedure TJSGPUFragmentState._Settargets(const aValue : TJSGPUColorTargetStateDynArray); begin WriteJSPropertyObject('targets',aValue); end; constructor TJSGPUFragmentState.create(const aDict : TJSGPUFragmentStateRec); overload; begin Self.targets:=aDict.targets; end; class function TJSGPUFragmentState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUFragmentState.Cast(const Intf: IJSObject): IJSGPUFragmentState; begin Result:=TJSGPUFragmentState.JOBCast(Intf); end; function TJSGPUColorTargetState._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUColorTargetState._Getblend: IJSGPUBlendState; begin Result:=ReadJSPropertyObject('blend',TJSGPUBlendState) as IJSGPUBlendState; end; function TJSGPUColorTargetState._GetwriteMask: TGPUColorWriteFlags; begin Result:=ReadJSPropertyInt64('writeMask'); end; procedure TJSGPUColorTargetState._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUColorTargetState._Setblend(const aValue : IJSGPUBlendState); begin WriteJSPropertyObject('blend',aValue); end; procedure TJSGPUColorTargetState._SetwriteMask(const aValue : TGPUColorWriteFlags); begin WriteJSPropertyDouble('writeMask',aValue); end; constructor TJSGPUColorTargetState.create(const aDict : TJSGPUColorTargetStateRec); overload; begin Self.format:=aDict.format; Self.blend:=aDict.blend; Self.writeMask:=aDict.writeMask; end; class function TJSGPUColorTargetState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUColorTargetState.Cast(const Intf: IJSObject): IJSGPUColorTargetState; begin Result:=TJSGPUColorTargetState.JOBCast(Intf); end; function TJSGPUBlendState._Getcolor: IJSGPUBlendComponent; begin Result:=ReadJSPropertyObject('color',TJSGPUBlendComponent) as IJSGPUBlendComponent; end; function TJSGPUBlendState._Getalpha: IJSGPUBlendComponent; begin Result:=ReadJSPropertyObject('alpha',TJSGPUBlendComponent) as IJSGPUBlendComponent; end; procedure TJSGPUBlendState._Setcolor(const aValue : IJSGPUBlendComponent); begin WriteJSPropertyObject('color',aValue); end; procedure TJSGPUBlendState._Setalpha(const aValue : IJSGPUBlendComponent); begin WriteJSPropertyObject('alpha',aValue); end; constructor TJSGPUBlendState.create(const aDict : TJSGPUBlendStateRec); overload; begin Self.color:=aDict.color; Self.alpha:=aDict.alpha; end; class function TJSGPUBlendState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBlendState.Cast(const Intf: IJSObject): IJSGPUBlendState; begin Result:=TJSGPUBlendState.JOBCast(Intf); end; class function TJSGPUColorWrite.JSClassName: UnicodeString; begin Result:='GPUColorWrite'; end; class function TJSGPUColorWrite.Cast(const Intf: IJSObject): IJSGPUColorWrite; begin Result:=TJSGPUColorWrite.JOBCast(Intf); end; function TJSGPUBlendComponent._Getoperation: TGPUBlendOperation; begin Result:=ReadJSPropertyUnicodeString('operation'); end; function TJSGPUBlendComponent._GetsrcFactor: TGPUBlendFactor; begin Result:=ReadJSPropertyUnicodeString('srcFactor'); end; function TJSGPUBlendComponent._GetdstFactor: TGPUBlendFactor; begin Result:=ReadJSPropertyUnicodeString('dstFactor'); end; procedure TJSGPUBlendComponent._Setoperation(const aValue : TGPUBlendOperation); begin WriteJSPropertyUnicodeString('operation',aValue); end; procedure TJSGPUBlendComponent._SetsrcFactor(const aValue : TGPUBlendFactor); begin WriteJSPropertyUnicodeString('srcFactor',aValue); end; procedure TJSGPUBlendComponent._SetdstFactor(const aValue : TGPUBlendFactor); begin WriteJSPropertyUnicodeString('dstFactor',aValue); end; constructor TJSGPUBlendComponent.create(const aDict : TJSGPUBlendComponentRec); overload; begin Self.operation:=aDict.operation; Self.srcFactor:=aDict.srcFactor; Self.dstFactor:=aDict.dstFactor; end; class function TJSGPUBlendComponent.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUBlendComponent.Cast(const Intf: IJSObject): IJSGPUBlendComponent; begin Result:=TJSGPUBlendComponent.JOBCast(Intf); end; function TJSGPUDepthStencilState._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUDepthStencilState._GetdepthWriteEnabled: Boolean; begin Result:=ReadJSPropertyBoolean('depthWriteEnabled'); end; function TJSGPUDepthStencilState._GetdepthCompare: TGPUCompareFunction; begin Result:=ReadJSPropertyUnicodeString('depthCompare'); end; function TJSGPUDepthStencilState._GetstencilFront: IJSGPUStencilFaceState; begin Result:=ReadJSPropertyObject('stencilFront',TJSGPUStencilFaceState) as IJSGPUStencilFaceState; end; function TJSGPUDepthStencilState._GetstencilBack: IJSGPUStencilFaceState; begin Result:=ReadJSPropertyObject('stencilBack',TJSGPUStencilFaceState) as IJSGPUStencilFaceState; end; function TJSGPUDepthStencilState._GetstencilReadMask: TGPUStencilValue; begin Result:=ReadJSPropertyInt64('stencilReadMask'); end; function TJSGPUDepthStencilState._GetstencilWriteMask: TGPUStencilValue; begin Result:=ReadJSPropertyInt64('stencilWriteMask'); end; function TJSGPUDepthStencilState._GetdepthBias: TGPUDepthBias; begin Result:=ReadJSPropertyLongInt('depthBias'); end; function TJSGPUDepthStencilState._GetdepthBiasSlopeScale: Single; begin Result:=ReadJSPropertyDouble('depthBiasSlopeScale'); end; function TJSGPUDepthStencilState._GetdepthBiasClamp: Single; begin Result:=ReadJSPropertyDouble('depthBiasClamp'); end; procedure TJSGPUDepthStencilState._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUDepthStencilState._SetdepthWriteEnabled(const aValue : Boolean); begin WriteJSPropertyBoolean('depthWriteEnabled',aValue); end; procedure TJSGPUDepthStencilState._SetdepthCompare(const aValue : TGPUCompareFunction); begin WriteJSPropertyUnicodeString('depthCompare',aValue); end; procedure TJSGPUDepthStencilState._SetstencilFront(const aValue : IJSGPUStencilFaceState); begin WriteJSPropertyObject('stencilFront',aValue); end; procedure TJSGPUDepthStencilState._SetstencilBack(const aValue : IJSGPUStencilFaceState); begin WriteJSPropertyObject('stencilBack',aValue); end; procedure TJSGPUDepthStencilState._SetstencilReadMask(const aValue : TGPUStencilValue); begin WriteJSPropertyDouble('stencilReadMask',aValue); end; procedure TJSGPUDepthStencilState._SetstencilWriteMask(const aValue : TGPUStencilValue); begin WriteJSPropertyDouble('stencilWriteMask',aValue); end; procedure TJSGPUDepthStencilState._SetdepthBias(const aValue : TGPUDepthBias); begin WriteJSPropertyLongInt('depthBias',aValue); end; procedure TJSGPUDepthStencilState._SetdepthBiasSlopeScale(const aValue : Single); begin WriteJSPropertyDouble('depthBiasSlopeScale',aValue); end; procedure TJSGPUDepthStencilState._SetdepthBiasClamp(const aValue : Single); begin WriteJSPropertyDouble('depthBiasClamp',aValue); end; constructor TJSGPUDepthStencilState.create(const aDict : TJSGPUDepthStencilStateRec); overload; begin Self.format:=aDict.format; Self.depthWriteEnabled:=aDict.depthWriteEnabled; Self.depthCompare:=aDict.depthCompare; Self.stencilFront:=aDict.stencilFront; Self.stencilBack:=aDict.stencilBack; Self.stencilReadMask:=aDict.stencilReadMask; Self.stencilWriteMask:=aDict.stencilWriteMask; Self.depthBias:=aDict.depthBias; Self.depthBiasSlopeScale:=aDict.depthBiasSlopeScale; Self.depthBiasClamp:=aDict.depthBiasClamp; end; class function TJSGPUDepthStencilState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUDepthStencilState.Cast(const Intf: IJSObject): IJSGPUDepthStencilState; begin Result:=TJSGPUDepthStencilState.JOBCast(Intf); end; function TJSGPUStencilFaceState._Getcompare: TGPUCompareFunction; begin Result:=ReadJSPropertyUnicodeString('compare'); end; function TJSGPUStencilFaceState._GetfailOp: TGPUStencilOperation; begin Result:=ReadJSPropertyUnicodeString('failOp'); end; function TJSGPUStencilFaceState._GetdepthFailOp: TGPUStencilOperation; begin Result:=ReadJSPropertyUnicodeString('depthFailOp'); end; function TJSGPUStencilFaceState._GetpassOp: TGPUStencilOperation; begin Result:=ReadJSPropertyUnicodeString('passOp'); end; procedure TJSGPUStencilFaceState._Setcompare(const aValue : TGPUCompareFunction); begin WriteJSPropertyUnicodeString('compare',aValue); end; procedure TJSGPUStencilFaceState._SetfailOp(const aValue : TGPUStencilOperation); begin WriteJSPropertyUnicodeString('failOp',aValue); end; procedure TJSGPUStencilFaceState._SetdepthFailOp(const aValue : TGPUStencilOperation); begin WriteJSPropertyUnicodeString('depthFailOp',aValue); end; procedure TJSGPUStencilFaceState._SetpassOp(const aValue : TGPUStencilOperation); begin WriteJSPropertyUnicodeString('passOp',aValue); end; constructor TJSGPUStencilFaceState.create(const aDict : TJSGPUStencilFaceStateRec); overload; begin Self.compare:=aDict.compare; Self.failOp:=aDict.failOp; Self.depthFailOp:=aDict.depthFailOp; Self.passOp:=aDict.passOp; end; class function TJSGPUStencilFaceState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUStencilFaceState.Cast(const Intf: IJSObject): IJSGPUStencilFaceState; begin Result:=TJSGPUStencilFaceState.JOBCast(Intf); end; function TJSGPUVertexState._Getbuffers: TJSGPUVertexBufferLayoutDynArray; begin Result:=ReadJSPropertyObject('buffers',TJSArray) as TJSGPUVertexBufferLayoutDynArray; end; procedure TJSGPUVertexState._Setbuffers(const aValue : TJSGPUVertexBufferLayoutDynArray); begin WriteJSPropertyObject('buffers',aValue); end; constructor TJSGPUVertexState.create(const aDict : TJSGPUVertexStateRec); overload; begin Self.buffers:=aDict.buffers; end; class function TJSGPUVertexState.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUVertexState.Cast(const Intf: IJSObject): IJSGPUVertexState; begin Result:=TJSGPUVertexState.JOBCast(Intf); end; function TJSGPUVertexBufferLayout._GetarrayStride: TGPUSize64; begin Result:=ReadJSPropertyInt64('arrayStride'); end; function TJSGPUVertexBufferLayout._GetstepMode: TGPUVertexStepMode; begin Result:=ReadJSPropertyUnicodeString('stepMode'); end; function TJSGPUVertexBufferLayout._Getattributes: TJSGPUVertexAttributeDynArray; begin Result:=ReadJSPropertyObject('attributes',TJSArray) as TJSGPUVertexAttributeDynArray; end; procedure TJSGPUVertexBufferLayout._SetarrayStride(const aValue : TGPUSize64); begin WriteJSPropertyDouble('arrayStride',aValue); end; procedure TJSGPUVertexBufferLayout._SetstepMode(const aValue : TGPUVertexStepMode); begin WriteJSPropertyUnicodeString('stepMode',aValue); end; procedure TJSGPUVertexBufferLayout._Setattributes(const aValue : TJSGPUVertexAttributeDynArray); begin WriteJSPropertyObject('attributes',aValue); end; constructor TJSGPUVertexBufferLayout.create(const aDict : TJSGPUVertexBufferLayoutRec); overload; begin Self.arrayStride:=aDict.arrayStride; Self.stepMode:=aDict.stepMode; Self.attributes:=aDict.attributes; end; class function TJSGPUVertexBufferLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUVertexBufferLayout.Cast(const Intf: IJSObject): IJSGPUVertexBufferLayout; begin Result:=TJSGPUVertexBufferLayout.JOBCast(Intf); end; function TJSGPUVertexAttribute._Getformat: TGPUVertexFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUVertexAttribute._Getoffset: TGPUSize64; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSGPUVertexAttribute._GetshaderLocation: TGPUIndex32; begin Result:=ReadJSPropertyInt64('shaderLocation'); end; procedure TJSGPUVertexAttribute._Setformat(const aValue : TGPUVertexFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUVertexAttribute._Setoffset(const aValue : TGPUSize64); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSGPUVertexAttribute._SetshaderLocation(const aValue : TGPUIndex32); begin WriteJSPropertyDouble('shaderLocation',aValue); end; constructor TJSGPUVertexAttribute.create(const aDict : TJSGPUVertexAttributeRec); overload; begin Self.format:=aDict.format; Self.offset:=aDict.offset; Self.shaderLocation:=aDict.shaderLocation; end; class function TJSGPUVertexAttribute.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUVertexAttribute.Cast(const Intf: IJSObject): IJSGPUVertexAttribute; begin Result:=TJSGPUVertexAttribute.JOBCast(Intf); end; function TJSGPUImageDataLayout._Getoffset: TGPUSize64; begin Result:=ReadJSPropertyInt64('offset'); end; function TJSGPUImageDataLayout._GetbytesPerRow: TGPUSize32; begin Result:=ReadJSPropertyInt64('bytesPerRow'); end; function TJSGPUImageDataLayout._GetrowsPerImage: TGPUSize32; begin Result:=ReadJSPropertyInt64('rowsPerImage'); end; procedure TJSGPUImageDataLayout._Setoffset(const aValue : TGPUSize64); begin WriteJSPropertyDouble('offset',aValue); end; procedure TJSGPUImageDataLayout._SetbytesPerRow(const aValue : TGPUSize32); begin WriteJSPropertyDouble('bytesPerRow',aValue); end; procedure TJSGPUImageDataLayout._SetrowsPerImage(const aValue : TGPUSize32); begin WriteJSPropertyDouble('rowsPerImage',aValue); end; constructor TJSGPUImageDataLayout.create(const aDict : TJSGPUImageDataLayoutRec); overload; begin Self.offset:=aDict.offset; Self.bytesPerRow:=aDict.bytesPerRow; Self.rowsPerImage:=aDict.rowsPerImage; end; class function TJSGPUImageDataLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUImageDataLayout.Cast(const Intf: IJSObject): IJSGPUImageDataLayout; begin Result:=TJSGPUImageDataLayout.JOBCast(Intf); end; function TJSGPUImageCopyBuffer._Getbuffer: IJSGPUBuffer; begin Result:=ReadJSPropertyObject('buffer',TJSGPUBuffer) as IJSGPUBuffer; end; procedure TJSGPUImageCopyBuffer._Setbuffer(const aValue : IJSGPUBuffer); begin WriteJSPropertyObject('buffer',aValue); end; constructor TJSGPUImageCopyBuffer.create(const aDict : TJSGPUImageCopyBufferRec); overload; begin Self.buffer:=aDict.buffer; end; class function TJSGPUImageCopyBuffer.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUImageCopyBuffer.Cast(const Intf: IJSObject): IJSGPUImageCopyBuffer; begin Result:=TJSGPUImageCopyBuffer.JOBCast(Intf); end; function TJSGPUImageCopyTexture._Gettexture: IJSGPUTexture; begin Result:=ReadJSPropertyObject('texture',TJSGPUTexture) as IJSGPUTexture; end; function TJSGPUImageCopyTexture._GetmipLevel: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('mipLevel'); end; function TJSGPUImageCopyTexture._Getorigin: TGPUOrigin3D; begin Result:=ReadJSPropertyVariant('origin'); end; function TJSGPUImageCopyTexture._Getaspect: TGPUTextureAspect; begin Result:=ReadJSPropertyUnicodeString('aspect'); end; procedure TJSGPUImageCopyTexture._Settexture(const aValue : IJSGPUTexture); begin WriteJSPropertyObject('texture',aValue); end; procedure TJSGPUImageCopyTexture._SetmipLevel(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('mipLevel',aValue); end; procedure TJSGPUImageCopyTexture._Setorigin(const aValue : TGPUOrigin3D); begin WriteJSPropertyVariant('origin',aValue); end; procedure TJSGPUImageCopyTexture._Setaspect(const aValue : TGPUTextureAspect); begin WriteJSPropertyUnicodeString('aspect',aValue); end; constructor TJSGPUImageCopyTexture.create(const aDict : TJSGPUImageCopyTextureRec); overload; begin Self.texture:=aDict.texture; Self.mipLevel:=aDict.mipLevel; Self.origin:=aDict.origin; Self.aspect:=aDict.aspect; end; class function TJSGPUImageCopyTexture.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUImageCopyTexture.Cast(const Intf: IJSObject): IJSGPUImageCopyTexture; begin Result:=TJSGPUImageCopyTexture.JOBCast(Intf); end; function TJSGPUImageCopyTextureTagged._GetpremultipliedAlpha: Boolean; begin Result:=ReadJSPropertyBoolean('premultipliedAlpha'); end; procedure TJSGPUImageCopyTextureTagged._SetpremultipliedAlpha(const aValue : Boolean); begin WriteJSPropertyBoolean('premultipliedAlpha',aValue); end; constructor TJSGPUImageCopyTextureTagged.create(const aDict : TJSGPUImageCopyTextureTaggedRec); overload; begin Self.premultipliedAlpha:=aDict.premultipliedAlpha; end; class function TJSGPUImageCopyTextureTagged.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUImageCopyTextureTagged.Cast(const Intf: IJSObject): IJSGPUImageCopyTextureTagged; begin Result:=TJSGPUImageCopyTextureTagged.JOBCast(Intf); end; function TJSGPUImageCopyExternalImage._Getsource: TGPUImageCopyExternalImage_source_Type; begin Result:=ReadJSPropertyVariant('source'); end; function TJSGPUImageCopyExternalImage._Getorigin: TGPUOrigin2D; begin Result:=ReadJSPropertyVariant('origin'); end; function TJSGPUImageCopyExternalImage._GetflipY: Boolean; begin Result:=ReadJSPropertyBoolean('flipY'); end; procedure TJSGPUImageCopyExternalImage._Setsource(const aValue : TGPUImageCopyExternalImage_source_Type); begin WriteJSPropertyVariant('source',aValue); end; procedure TJSGPUImageCopyExternalImage._Setorigin(const aValue : TGPUOrigin2D); begin WriteJSPropertyVariant('origin',aValue); end; procedure TJSGPUImageCopyExternalImage._SetflipY(const aValue : Boolean); begin WriteJSPropertyBoolean('flipY',aValue); end; constructor TJSGPUImageCopyExternalImage.create(const aDict : TJSGPUImageCopyExternalImageRec); overload; begin Self.source:=aDict.source; Self.origin:=aDict.origin; Self.flipY:=aDict.flipY; end; class function TJSGPUImageCopyExternalImage.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUImageCopyExternalImage.Cast(const Intf: IJSObject): IJSGPUImageCopyExternalImage; begin Result:=TJSGPUImageCopyExternalImage.JOBCast(Intf); end; class function TJSGPUCommandBuffer.JSClassName: UnicodeString; begin Result:='GPUCommandBuffer'; end; class function TJSGPUCommandBuffer.Cast(const Intf: IJSObject): IJSGPUCommandBuffer; begin Result:=TJSGPUCommandBuffer.JOBCast(Intf); end; constructor TJSGPUCommandBufferDescriptor.create(const aDict : TJSGPUCommandBufferDescriptorRec); overload; begin end; class function TJSGPUCommandBufferDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUCommandBufferDescriptor.Cast(const Intf: IJSObject): IJSGPUCommandBufferDescriptor; begin Result:=TJSGPUCommandBufferDescriptor.JOBCast(Intf); end; class function TJSGPUCommandsMixin.JSClassName: UnicodeString; begin Result:='GPUCommandsMixin'; end; class function TJSGPUCommandsMixin.Cast(const Intf: IJSObject): IJSGPUCommandsMixin; begin Result:=TJSGPUCommandsMixin.JOBCast(Intf); end; function TJSGPUCommandEncoder._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUCommandEncoder._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; function TJSGPUCommandEncoder.beginRenderPass(const aDescriptor: IJSGPURenderPassDescriptor): IJSGPURenderPassEncoder; begin Result:=InvokeJSObjectResult('beginRenderPass',[aDescriptor],TJSGPURenderPassEncoder) as IJSGPURenderPassEncoder; end; function TJSGPUCommandEncoder.beginComputePass(const aDescriptor: IJSGPUComputePassDescriptor): IJSGPUComputePassEncoder; begin Result:=InvokeJSObjectResult('beginComputePass',[aDescriptor],TJSGPUComputePassEncoder) as IJSGPUComputePassEncoder; end; function TJSGPUCommandEncoder.beginComputePass: IJSGPUComputePassEncoder; begin Result:=InvokeJSObjectResult('beginComputePass',[],TJSGPUComputePassEncoder) as IJSGPUComputePassEncoder; end; procedure TJSGPUCommandEncoder.copyBufferToBuffer(aSource: IJSGPUBuffer; aSourceOffset: TGPUSize64; aDestination: IJSGPUBuffer; aDestinationOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('copyBufferToBuffer',[aSource,aSourceOffset,aDestination,aDestinationOffset,aSize]); end; procedure TJSGPUCommandEncoder.copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); begin InvokeJSNoResult('copyBufferToTexture',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.copyBufferToTexture(const aSource: IJSGPUImageCopyBuffer; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); begin InvokeJSNoResult('copyBufferToTexture',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: IJSGPUExtent3DDict); begin InvokeJSNoResult('copyTextureToBuffer',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.copyTextureToBuffer(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyBuffer; const aCopySize: TGPUIntegerCoordinateDynArray); begin InvokeJSNoResult('copyTextureToBuffer',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: IJSGPUExtent3DDict); begin InvokeJSNoResult('copyTextureToTexture',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.copyTextureToTexture(const aSource: IJSGPUImageCopyTexture; const aDestination: IJSGPUImageCopyTexture; const aCopySize: TGPUIntegerCoordinateDynArray); begin InvokeJSNoResult('copyTextureToTexture',[aSource,aDestination,aCopySize]); end; procedure TJSGPUCommandEncoder.clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('clearBuffer',[aBuffer,aOffset,aSize]); end; procedure TJSGPUCommandEncoder.clearBuffer(aBuffer: IJSGPUBuffer); begin InvokeJSNoResult('clearBuffer',[aBuffer]); end; procedure TJSGPUCommandEncoder.clearBuffer(aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); begin InvokeJSNoResult('clearBuffer',[aBuffer,aOffset]); end; function TJSGPUCommandEncoder.finish(const aDescriptor: IJSGPUCommandBufferDescriptor): IJSGPUCommandBuffer; begin Result:=InvokeJSObjectResult('finish',[aDescriptor],TJSGPUCommandBuffer) as IJSGPUCommandBuffer; end; function TJSGPUCommandEncoder.finish: IJSGPUCommandBuffer; begin Result:=InvokeJSObjectResult('finish',[],TJSGPUCommandBuffer) as IJSGPUCommandBuffer; end; procedure TJSGPUCommandEncoder.pushDebugGroup(const aGroupLabel: UnicodeString); begin InvokeJSNoResult('pushDebugGroup',[aGroupLabel]); end; procedure TJSGPUCommandEncoder.popDebugGroup; begin InvokeJSNoResult('popDebugGroup',[]); end; procedure TJSGPUCommandEncoder.insertDebugMarker(const aMarkerLabel: UnicodeString); begin InvokeJSNoResult('insertDebugMarker',[aMarkerLabel]); end; class function TJSGPUCommandEncoder.JSClassName: UnicodeString; begin Result:='GPUCommandEncoder'; end; class function TJSGPUCommandEncoder.Cast(const Intf: IJSObject): IJSGPUCommandEncoder; begin Result:=TJSGPUCommandEncoder.JOBCast(Intf); end; constructor TJSGPUCommandEncoderDescriptor.create(const aDict : TJSGPUCommandEncoderDescriptorRec); overload; begin end; class function TJSGPUCommandEncoderDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUCommandEncoderDescriptor.Cast(const Intf: IJSObject): IJSGPUCommandEncoderDescriptor; begin Result:=TJSGPUCommandEncoderDescriptor.JOBCast(Intf); end; procedure TJSGPUBindingCommandsMixin.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup,aDynamicOffsets]); end; procedure TJSGPUBindingCommandsMixin.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup]); end; class function TJSGPUBindingCommandsMixin.JSClassName: UnicodeString; begin Result:='GPUBindingCommandsMixin'; end; class function TJSGPUBindingCommandsMixin.Cast(const Intf: IJSObject): IJSGPUBindingCommandsMixin; begin Result:=TJSGPUBindingCommandsMixin.JOBCast(Intf); end; procedure TJSGPUDebugCommandsMixin.pushDebugGroup(const aGroupLabel: UnicodeString); begin InvokeJSNoResult('pushDebugGroup',[aGroupLabel]); end; procedure TJSGPUDebugCommandsMixin.popDebugGroup; begin InvokeJSNoResult('popDebugGroup',[]); end; procedure TJSGPUDebugCommandsMixin.insertDebugMarker(const aMarkerLabel: UnicodeString); begin InvokeJSNoResult('insertDebugMarker',[aMarkerLabel]); end; class function TJSGPUDebugCommandsMixin.JSClassName: UnicodeString; begin Result:='GPUDebugCommandsMixin'; end; class function TJSGPUDebugCommandsMixin.Cast(const Intf: IJSObject): IJSGPUDebugCommandsMixin; begin Result:=TJSGPUDebugCommandsMixin.JOBCast(Intf); end; function TJSGPUComputePassEncoder._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPUComputePassEncoder._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSGPUComputePassEncoder.setPipeline(aPipeline: IJSGPUComputePipeline); begin InvokeJSNoResult('setPipeline',[aPipeline]); end; procedure TJSGPUComputePassEncoder.dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32; aWorkgroupCountZ: TGPUSize32); begin InvokeJSNoResult('dispatchWorkgroups',[aWorkgroupCountX,aWorkgroupCountY,aWorkgroupCountZ]); end; procedure TJSGPUComputePassEncoder.dispatchWorkgroups(aWorkgroupCountX: TGPUSize32); begin InvokeJSNoResult('dispatchWorkgroups',[aWorkgroupCountX]); end; procedure TJSGPUComputePassEncoder.dispatchWorkgroups(aWorkgroupCountX: TGPUSize32; aWorkgroupCountY: TGPUSize32); begin InvokeJSNoResult('dispatchWorkgroups',[aWorkgroupCountX,aWorkgroupCountY]); end; procedure TJSGPUComputePassEncoder.dispatchWorkgroupsIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('dispatchWorkgroupsIndirect',[aIndirectBuffer,aIndirectOffset]); end; procedure TJSGPUComputePassEncoder.end_; begin InvokeJSNoResult('end',[]); end; procedure TJSGPUComputePassEncoder.pushDebugGroup(const aGroupLabel: UnicodeString); begin InvokeJSNoResult('pushDebugGroup',[aGroupLabel]); end; procedure TJSGPUComputePassEncoder.popDebugGroup; begin InvokeJSNoResult('popDebugGroup',[]); end; procedure TJSGPUComputePassEncoder.insertDebugMarker(const aMarkerLabel: UnicodeString); begin InvokeJSNoResult('insertDebugMarker',[aMarkerLabel]); end; procedure TJSGPUComputePassEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup,aDynamicOffsets]); end; procedure TJSGPUComputePassEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup]); end; class function TJSGPUComputePassEncoder.JSClassName: UnicodeString; begin Result:='GPUComputePassEncoder'; end; class function TJSGPUComputePassEncoder.Cast(const Intf: IJSObject): IJSGPUComputePassEncoder; begin Result:=TJSGPUComputePassEncoder.JOBCast(Intf); end; constructor TJSGPUComputePassDescriptor.create(const aDict : TJSGPUComputePassDescriptorRec); overload; begin end; class function TJSGPUComputePassDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUComputePassDescriptor.Cast(const Intf: IJSObject): IJSGPUComputePassDescriptor; begin Result:=TJSGPUComputePassDescriptor.JOBCast(Intf); end; function TJSGPURenderPassEncoder._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPURenderPassEncoder._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; procedure TJSGPURenderPassEncoder.setViewport(aX: Single; aY: Single; aWidth: Single; aHeight: Single; aMinDepth: Single; aMaxDepth: Single); begin InvokeJSNoResult('setViewport',[aX,aY,aWidth,aHeight,aMinDepth,aMaxDepth]); end; procedure TJSGPURenderPassEncoder.setScissorRect(aX: TGPUIntegerCoordinate; aY: TGPUIntegerCoordinate; aWidth: TGPUIntegerCoordinate; aHeight: TGPUIntegerCoordinate); begin InvokeJSNoResult('setScissorRect',[aX,aY,aWidth,aHeight]); end; procedure TJSGPURenderPassEncoder.setBlendConstant(const aColor: IJSGPUColorDict); begin InvokeJSNoResult('setBlendConstant',[aColor]); end; procedure TJSGPURenderPassEncoder.setBlendConstant(const aColor: TDoubleDynArray); begin InvokeJSNoResult('setBlendConstant',[aColor]); end; procedure TJSGPURenderPassEncoder.setStencilReference(aReference: TGPUStencilValue); begin InvokeJSNoResult('setStencilReference',[aReference]); end; procedure TJSGPURenderPassEncoder.executeBundles(const aBundles: TJSGPURenderBundleDynArray); begin InvokeJSNoResult('executeBundles',[aBundles]); end; procedure TJSGPURenderPassEncoder.end_; begin InvokeJSNoResult('end',[]); end; procedure TJSGPURenderPassEncoder.pushDebugGroup(const aGroupLabel: UnicodeString); begin InvokeJSNoResult('pushDebugGroup',[aGroupLabel]); end; procedure TJSGPURenderPassEncoder.popDebugGroup; begin InvokeJSNoResult('popDebugGroup',[]); end; procedure TJSGPURenderPassEncoder.insertDebugMarker(const aMarkerLabel: UnicodeString); begin InvokeJSNoResult('insertDebugMarker',[aMarkerLabel]); end; procedure TJSGPURenderPassEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup,aDynamicOffsets]); end; procedure TJSGPURenderPassEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup]); end; procedure TJSGPURenderPassEncoder.setPipeline(aPipeline: IJSGPURenderPipeline); begin InvokeJSNoResult('setPipeline',[aPipeline]); end; procedure TJSGPURenderPassEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset,aSize]); end; procedure TJSGPURenderPassEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat]); end; procedure TJSGPURenderPassEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset]); end; procedure TJSGPURenderPassEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset,aSize]); end; procedure TJSGPURenderPassEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer]); end; procedure TJSGPURenderPassEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset]); end; procedure TJSGPURenderPassEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex,aFirstInstance]); end; procedure TJSGPURenderPassEncoder.draw(aVertexCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount]); end; procedure TJSGPURenderPassEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount]); end; procedure TJSGPURenderPassEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex]); end; procedure TJSGPURenderPassEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex,aFirstInstance]); end; procedure TJSGPURenderPassEncoder.drawIndexed(aIndexCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount]); end; procedure TJSGPURenderPassEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount]); end; procedure TJSGPURenderPassEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex]); end; procedure TJSGPURenderPassEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex]); end; procedure TJSGPURenderPassEncoder.drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndirect',[aIndirectBuffer,aIndirectOffset]); end; procedure TJSGPURenderPassEncoder.drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndexedIndirect',[aIndirectBuffer,aIndirectOffset]); end; class function TJSGPURenderPassEncoder.JSClassName: UnicodeString; begin Result:='GPURenderPassEncoder'; end; class function TJSGPURenderPassEncoder.Cast(const Intf: IJSObject): IJSGPURenderPassEncoder; begin Result:=TJSGPURenderPassEncoder.JOBCast(Intf); end; function TJSGPURenderPassDescriptor._GetcolorAttachments: TJSGPURenderPassColorAttachmentDynArray; begin Result:=ReadJSPropertyObject('colorAttachments',TJSArray) as TJSGPURenderPassColorAttachmentDynArray; end; function TJSGPURenderPassDescriptor._GetdepthStencilAttachment: IJSGPURenderPassDepthStencilAttachment; begin Result:=ReadJSPropertyObject('depthStencilAttachment',TJSGPURenderPassDepthStencilAttachment) as IJSGPURenderPassDepthStencilAttachment; end; function TJSGPURenderPassDescriptor._GetocclusionQuerySet: IJSGPUQuerySet; begin Result:=ReadJSPropertyObject('occlusionQuerySet',TJSGPUQuerySet) as IJSGPUQuerySet; end; procedure TJSGPURenderPassDescriptor._SetcolorAttachments(const aValue : TJSGPURenderPassColorAttachmentDynArray); begin WriteJSPropertyObject('colorAttachments',aValue); end; procedure TJSGPURenderPassDescriptor._SetdepthStencilAttachment(const aValue : IJSGPURenderPassDepthStencilAttachment); begin WriteJSPropertyObject('depthStencilAttachment',aValue); end; procedure TJSGPURenderPassDescriptor._SetocclusionQuerySet(const aValue : IJSGPUQuerySet); begin WriteJSPropertyObject('occlusionQuerySet',aValue); end; constructor TJSGPURenderPassDescriptor.create(const aDict : TJSGPURenderPassDescriptorRec); overload; begin Self.colorAttachments:=aDict.colorAttachments; Self.depthStencilAttachment:=aDict.depthStencilAttachment; Self.occlusionQuerySet:=aDict.occlusionQuerySet; end; class function TJSGPURenderPassDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderPassDescriptor.Cast(const Intf: IJSObject): IJSGPURenderPassDescriptor; begin Result:=TJSGPURenderPassDescriptor.JOBCast(Intf); end; function TJSGPURenderPassColorAttachment._Getview: IJSGPUTextureView; begin Result:=ReadJSPropertyObject('view',TJSGPUTextureView) as IJSGPUTextureView; end; function TJSGPURenderPassColorAttachment._GetresolveTarget: IJSGPUTextureView; begin Result:=ReadJSPropertyObject('resolveTarget',TJSGPUTextureView) as IJSGPUTextureView; end; function TJSGPURenderPassColorAttachment._GetclearValue: TGPUColor; begin Result:=ReadJSPropertyVariant('clearValue'); end; function TJSGPURenderPassColorAttachment._GetloadOp: TGPULoadOp; begin Result:=ReadJSPropertyUnicodeString('loadOp'); end; function TJSGPURenderPassColorAttachment._GetstoreOp: TGPUStoreOp; begin Result:=ReadJSPropertyUnicodeString('storeOp'); end; procedure TJSGPURenderPassColorAttachment._Setview(const aValue : IJSGPUTextureView); begin WriteJSPropertyObject('view',aValue); end; procedure TJSGPURenderPassColorAttachment._SetresolveTarget(const aValue : IJSGPUTextureView); begin WriteJSPropertyObject('resolveTarget',aValue); end; procedure TJSGPURenderPassColorAttachment._SetclearValue(const aValue : TGPUColor); begin WriteJSPropertyVariant('clearValue',aValue); end; procedure TJSGPURenderPassColorAttachment._SetloadOp(const aValue : TGPULoadOp); begin WriteJSPropertyUnicodeString('loadOp',aValue); end; procedure TJSGPURenderPassColorAttachment._SetstoreOp(const aValue : TGPUStoreOp); begin WriteJSPropertyUnicodeString('storeOp',aValue); end; constructor TJSGPURenderPassColorAttachment.create(const aDict : TJSGPURenderPassColorAttachmentRec); overload; begin Self.view:=aDict.view; Self.resolveTarget:=aDict.resolveTarget; Self.clearValue:=aDict.clearValue; Self.loadOp:=aDict.loadOp; Self.storeOp:=aDict.storeOp; end; class function TJSGPURenderPassColorAttachment.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderPassColorAttachment.Cast(const Intf: IJSObject): IJSGPURenderPassColorAttachment; begin Result:=TJSGPURenderPassColorAttachment.JOBCast(Intf); end; function TJSGPURenderPassDepthStencilAttachment._Getview: IJSGPUTextureView; begin Result:=ReadJSPropertyObject('view',TJSGPUTextureView) as IJSGPUTextureView; end; function TJSGPURenderPassDepthStencilAttachment._GetdepthClearValue: Single; begin Result:=ReadJSPropertyDouble('depthClearValue'); end; function TJSGPURenderPassDepthStencilAttachment._GetdepthLoadOp: TGPULoadOp; begin Result:=ReadJSPropertyUnicodeString('depthLoadOp'); end; function TJSGPURenderPassDepthStencilAttachment._GetdepthStoreOp: TGPUStoreOp; begin Result:=ReadJSPropertyUnicodeString('depthStoreOp'); end; function TJSGPURenderPassDepthStencilAttachment._GetdepthReadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('depthReadOnly'); end; function TJSGPURenderPassDepthStencilAttachment._GetstencilClearValue: TGPUStencilValue; begin Result:=ReadJSPropertyInt64('stencilClearValue'); end; function TJSGPURenderPassDepthStencilAttachment._GetstencilLoadOp: TGPULoadOp; begin Result:=ReadJSPropertyUnicodeString('stencilLoadOp'); end; function TJSGPURenderPassDepthStencilAttachment._GetstencilStoreOp: TGPUStoreOp; begin Result:=ReadJSPropertyUnicodeString('stencilStoreOp'); end; function TJSGPURenderPassDepthStencilAttachment._GetstencilReadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('stencilReadOnly'); end; procedure TJSGPURenderPassDepthStencilAttachment._Setview(const aValue : IJSGPUTextureView); begin WriteJSPropertyObject('view',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetdepthClearValue(const aValue : Single); begin WriteJSPropertyDouble('depthClearValue',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetdepthLoadOp(const aValue : TGPULoadOp); begin WriteJSPropertyUnicodeString('depthLoadOp',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetdepthStoreOp(const aValue : TGPUStoreOp); begin WriteJSPropertyUnicodeString('depthStoreOp',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetdepthReadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('depthReadOnly',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetstencilClearValue(const aValue : TGPUStencilValue); begin WriteJSPropertyDouble('stencilClearValue',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetstencilLoadOp(const aValue : TGPULoadOp); begin WriteJSPropertyUnicodeString('stencilLoadOp',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetstencilStoreOp(const aValue : TGPUStoreOp); begin WriteJSPropertyUnicodeString('stencilStoreOp',aValue); end; procedure TJSGPURenderPassDepthStencilAttachment._SetstencilReadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('stencilReadOnly',aValue); end; constructor TJSGPURenderPassDepthStencilAttachment.create(const aDict : TJSGPURenderPassDepthStencilAttachmentRec); overload; begin Self.view:=aDict.view; Self.depthClearValue:=aDict.depthClearValue; Self.depthLoadOp:=aDict.depthLoadOp; Self.depthStoreOp:=aDict.depthStoreOp; Self.depthReadOnly:=aDict.depthReadOnly; Self.stencilClearValue:=aDict.stencilClearValue; Self.stencilLoadOp:=aDict.stencilLoadOp; Self.stencilStoreOp:=aDict.stencilStoreOp; Self.stencilReadOnly:=aDict.stencilReadOnly; end; class function TJSGPURenderPassDepthStencilAttachment.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderPassDepthStencilAttachment.Cast(const Intf: IJSObject): IJSGPURenderPassDepthStencilAttachment; begin Result:=TJSGPURenderPassDepthStencilAttachment.JOBCast(Intf); end; function TJSGPURenderPassLayout._GetcolorFormats: TGPUTextureFormatDynArray; begin Result:=ReadJSPropertyObject('colorFormats',TJSArray) as TGPUTextureFormatDynArray; end; function TJSGPURenderPassLayout._GetdepthStencilFormat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('depthStencilFormat'); end; function TJSGPURenderPassLayout._GetsampleCount: TGPUSize32; begin Result:=ReadJSPropertyInt64('sampleCount'); end; procedure TJSGPURenderPassLayout._SetcolorFormats(const aValue : TGPUTextureFormatDynArray); begin WriteJSPropertyObject('colorFormats',aValue); end; procedure TJSGPURenderPassLayout._SetdepthStencilFormat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('depthStencilFormat',aValue); end; procedure TJSGPURenderPassLayout._SetsampleCount(const aValue : TGPUSize32); begin WriteJSPropertyDouble('sampleCount',aValue); end; constructor TJSGPURenderPassLayout.create(const aDict : TJSGPURenderPassLayoutRec); overload; begin Self.colorFormats:=aDict.colorFormats; Self.depthStencilFormat:=aDict.depthStencilFormat; Self.sampleCount:=aDict.sampleCount; end; class function TJSGPURenderPassLayout.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderPassLayout.Cast(const Intf: IJSObject): IJSGPURenderPassLayout; begin Result:=TJSGPURenderPassLayout.JOBCast(Intf); end; procedure TJSGPURenderCommandsMixin.setPipeline(aPipeline: IJSGPURenderPipeline); begin InvokeJSNoResult('setPipeline',[aPipeline]); end; procedure TJSGPURenderCommandsMixin.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset,aSize]); end; procedure TJSGPURenderCommandsMixin.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat]); end; procedure TJSGPURenderCommandsMixin.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset]); end; procedure TJSGPURenderCommandsMixin.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset,aSize]); end; procedure TJSGPURenderCommandsMixin.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer]); end; procedure TJSGPURenderCommandsMixin.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset]); end; procedure TJSGPURenderCommandsMixin.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex,aFirstInstance]); end; procedure TJSGPURenderCommandsMixin.draw(aVertexCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount]); end; procedure TJSGPURenderCommandsMixin.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount]); end; procedure TJSGPURenderCommandsMixin.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex]); end; procedure TJSGPURenderCommandsMixin.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex,aFirstInstance]); end; procedure TJSGPURenderCommandsMixin.drawIndexed(aIndexCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount]); end; procedure TJSGPURenderCommandsMixin.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount]); end; procedure TJSGPURenderCommandsMixin.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex]); end; procedure TJSGPURenderCommandsMixin.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex]); end; procedure TJSGPURenderCommandsMixin.drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndirect',[aIndirectBuffer,aIndirectOffset]); end; procedure TJSGPURenderCommandsMixin.drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndexedIndirect',[aIndirectBuffer,aIndirectOffset]); end; class function TJSGPURenderCommandsMixin.JSClassName: UnicodeString; begin Result:='GPURenderCommandsMixin'; end; class function TJSGPURenderCommandsMixin.Cast(const Intf: IJSObject): IJSGPURenderCommandsMixin; begin Result:=TJSGPURenderCommandsMixin.JOBCast(Intf); end; class function TJSGPURenderBundle.JSClassName: UnicodeString; begin Result:='GPURenderBundle'; end; class function TJSGPURenderBundle.Cast(const Intf: IJSObject): IJSGPURenderBundle; begin Result:=TJSGPURenderBundle.JOBCast(Intf); end; constructor TJSGPURenderBundleDescriptor.create(const aDict : TJSGPURenderBundleDescriptorRec); overload; begin end; class function TJSGPURenderBundleDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderBundleDescriptor.Cast(const Intf: IJSObject): IJSGPURenderBundleDescriptor; begin Result:=TJSGPURenderBundleDescriptor.JOBCast(Intf); end; function TJSGPURenderBundleEncoder._Getlabel_: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('label'); end; procedure TJSGPURenderBundleEncoder._Setlabel_(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('label',aValue); end; function TJSGPURenderBundleEncoder.finish(const aDescriptor: IJSGPURenderBundleDescriptor): IJSGPURenderBundle; begin Result:=InvokeJSObjectResult('finish',[aDescriptor],TJSGPURenderBundle) as IJSGPURenderBundle; end; function TJSGPURenderBundleEncoder.finish: IJSGPURenderBundle; begin Result:=InvokeJSObjectResult('finish',[],TJSGPURenderBundle) as IJSGPURenderBundle; end; procedure TJSGPURenderBundleEncoder.pushDebugGroup(const aGroupLabel: UnicodeString); begin InvokeJSNoResult('pushDebugGroup',[aGroupLabel]); end; procedure TJSGPURenderBundleEncoder.popDebugGroup; begin InvokeJSNoResult('popDebugGroup',[]); end; procedure TJSGPURenderBundleEncoder.insertDebugMarker(const aMarkerLabel: UnicodeString); begin InvokeJSNoResult('insertDebugMarker',[aMarkerLabel]); end; procedure TJSGPURenderBundleEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup; const aDynamicOffsets: TGPUBufferDynamicOffsetDynArray); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup,aDynamicOffsets]); end; procedure TJSGPURenderBundleEncoder.setBindGroup(aIndex: TGPUIndex32; aBindGroup: IJSGPUBindGroup); begin InvokeJSNoResult('setBindGroup',[aIndex,aBindGroup]); end; procedure TJSGPURenderBundleEncoder.setPipeline(aPipeline: IJSGPURenderPipeline); begin InvokeJSNoResult('setPipeline',[aPipeline]); end; procedure TJSGPURenderBundleEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset,aSize]); end; procedure TJSGPURenderBundleEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat]); end; procedure TJSGPURenderBundleEncoder.setIndexBuffer(aBuffer: IJSGPUBuffer; aIndexFormat: TGPUIndexFormat; aOffset: TGPUSize64); begin InvokeJSNoResult('setIndexBuffer',[aBuffer,aIndexFormat,aOffset]); end; procedure TJSGPURenderBundleEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset,aSize]); end; procedure TJSGPURenderBundleEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer]); end; procedure TJSGPURenderBundleEncoder.setVertexBuffer(aSlot: TGPUIndex32; aBuffer: IJSGPUBuffer; aOffset: TGPUSize64); begin InvokeJSNoResult('setVertexBuffer',[aSlot,aBuffer,aOffset]); end; procedure TJSGPURenderBundleEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex,aFirstInstance]); end; procedure TJSGPURenderBundleEncoder.draw(aVertexCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount]); end; procedure TJSGPURenderBundleEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount]); end; procedure TJSGPURenderBundleEncoder.draw(aVertexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstVertex: TGPUSize32); begin InvokeJSNoResult('draw',[aVertexCount,aInstanceCount,aFirstVertex]); end; procedure TJSGPURenderBundleEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32; aFirstInstance: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex,aFirstInstance]); end; procedure TJSGPURenderBundleEncoder.drawIndexed(aIndexCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount]); end; procedure TJSGPURenderBundleEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount]); end; procedure TJSGPURenderBundleEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex]); end; procedure TJSGPURenderBundleEncoder.drawIndexed(aIndexCount: TGPUSize32; aInstanceCount: TGPUSize32; aFirstIndex: TGPUSize32; aBaseVertex: TGPUSignedOffset32); begin InvokeJSNoResult('drawIndexed',[aIndexCount,aInstanceCount,aFirstIndex,aBaseVertex]); end; procedure TJSGPURenderBundleEncoder.drawIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndirect',[aIndirectBuffer,aIndirectOffset]); end; procedure TJSGPURenderBundleEncoder.drawIndexedIndirect(aIndirectBuffer: IJSGPUBuffer; aIndirectOffset: TGPUSize64); begin InvokeJSNoResult('drawIndexedIndirect',[aIndirectBuffer,aIndirectOffset]); end; class function TJSGPURenderBundleEncoder.JSClassName: UnicodeString; begin Result:='GPURenderBundleEncoder'; end; class function TJSGPURenderBundleEncoder.Cast(const Intf: IJSObject): IJSGPURenderBundleEncoder; begin Result:=TJSGPURenderBundleEncoder.JOBCast(Intf); end; function TJSGPURenderBundleEncoderDescriptor._GetdepthReadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('depthReadOnly'); end; function TJSGPURenderBundleEncoderDescriptor._GetstencilReadOnly: Boolean; begin Result:=ReadJSPropertyBoolean('stencilReadOnly'); end; procedure TJSGPURenderBundleEncoderDescriptor._SetdepthReadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('depthReadOnly',aValue); end; procedure TJSGPURenderBundleEncoderDescriptor._SetstencilReadOnly(const aValue : Boolean); begin WriteJSPropertyBoolean('stencilReadOnly',aValue); end; constructor TJSGPURenderBundleEncoderDescriptor.create(const aDict : TJSGPURenderBundleEncoderDescriptorRec); overload; begin Self.depthReadOnly:=aDict.depthReadOnly; Self.stencilReadOnly:=aDict.stencilReadOnly; end; class function TJSGPURenderBundleEncoderDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPURenderBundleEncoderDescriptor.Cast(const Intf: IJSObject): IJSGPURenderBundleEncoderDescriptor; begin Result:=TJSGPURenderBundleEncoderDescriptor.JOBCast(Intf); end; constructor TJSGPUQueueDescriptor.create(const aDict : TJSGPUQueueDescriptorRec); overload; begin end; class function TJSGPUQueueDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUQueueDescriptor.Cast(const Intf: IJSObject): IJSGPUQueueDescriptor; begin Result:=TJSGPUQueueDescriptor.JOBCast(Intf); end; procedure TJSGPUQueue.submit(const aBuffers: TJSGPUCommandBufferDynArray); begin InvokeJSNoResult('submit',[aBuffers]); end; function TJSGPUQueue.onSubmittedWorkDone: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('onSubmittedWorkDone',[],TJSPromise) as IJSPromise; end; procedure TJSGPUQueue.writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64; aSize: TGPUSize64); begin InvokeJSNoResult('writeBuffer',[aBuffer,aBufferOffset,aData,aDataOffset,aSize]); end; procedure TJSGPUQueue.writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource); begin InvokeJSNoResult('writeBuffer',[aBuffer,aBufferOffset,aData]); end; procedure TJSGPUQueue.writeBuffer(aBuffer: IJSGPUBuffer; aBufferOffset: TGPUSize64; aData: IJSBufferSource; aDataOffset: TGPUSize64); begin InvokeJSNoResult('writeBuffer',[aBuffer,aBufferOffset,aData,aDataOffset]); end; procedure TJSGPUQueue.writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: IJSGPUExtent3DDict); begin InvokeJSNoResult('writeTexture',[aDestination,aData,aDataLayout,aSize]); end; procedure TJSGPUQueue.writeTexture(const aDestination: IJSGPUImageCopyTexture; aData: IJSBufferSource; const aDataLayout: IJSGPUImageDataLayout; const aSize: TGPUIntegerCoordinateDynArray); begin InvokeJSNoResult('writeTexture',[aDestination,aData,aDataLayout,aSize]); end; procedure TJSGPUQueue.copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: IJSGPUExtent3DDict); begin InvokeJSNoResult('copyExternalImageToTexture',[aSource,aDestination,aCopySize]); end; procedure TJSGPUQueue.copyExternalImageToTexture(const aSource: IJSGPUImageCopyExternalImage; const aDestination: IJSGPUImageCopyTextureTagged; const aCopySize: TGPUIntegerCoordinateDynArray); begin InvokeJSNoResult('copyExternalImageToTexture',[aSource,aDestination,aCopySize]); end; class function TJSGPUQueue.JSClassName: UnicodeString; begin Result:='GPUQueue'; end; class function TJSGPUQueue.Cast(const Intf: IJSObject): IJSGPUQueue; begin Result:=TJSGPUQueue.JOBCast(Intf); end; procedure TJSGPUQuerySet.destroy; begin InvokeJSNoResult('destroy',[]); end; class function TJSGPUQuerySet.JSClassName: UnicodeString; begin Result:='GPUQuerySet'; end; class function TJSGPUQuerySet.Cast(const Intf: IJSObject): IJSGPUQuerySet; begin Result:=TJSGPUQuerySet.JOBCast(Intf); end; function TJSGPUQuerySetDescriptor._Gettype_: TGPUQueryType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSGPUQuerySetDescriptor._Getcount: TGPUSize32; begin Result:=ReadJSPropertyInt64('count'); end; function TJSGPUQuerySetDescriptor._GetpipelineStatistics: TGPUPipelineStatisticNameDynArray; begin Result:=ReadJSPropertyObject('pipelineStatistics',TJSArray) as TGPUPipelineStatisticNameDynArray; end; procedure TJSGPUQuerySetDescriptor._Settype_(const aValue : TGPUQueryType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSGPUQuerySetDescriptor._Setcount(const aValue : TGPUSize32); begin WriteJSPropertyDouble('count',aValue); end; procedure TJSGPUQuerySetDescriptor._SetpipelineStatistics(const aValue : TGPUPipelineStatisticNameDynArray); begin WriteJSPropertyObject('pipelineStatistics',aValue); end; constructor TJSGPUQuerySetDescriptor.create(const aDict : TJSGPUQuerySetDescriptorRec); overload; begin Self.type_:=aDict.type_; Self.count:=aDict.count; Self.pipelineStatistics:=aDict.pipelineStatistics; end; class function TJSGPUQuerySetDescriptor.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUQuerySetDescriptor.Cast(const Intf: IJSObject): IJSGPUQuerySetDescriptor; begin Result:=TJSGPUQuerySetDescriptor.JOBCast(Intf); end; function TJSGPUCanvasContext._Getcanvas: TGPUCanvasContext_canvas_Type; begin Result:=ReadJSPropertyVariant('canvas'); end; procedure TJSGPUCanvasContext.configure(const aConfiguration: IJSGPUCanvasConfiguration); begin InvokeJSNoResult('configure',[aConfiguration]); end; procedure TJSGPUCanvasContext.unconfigure; begin InvokeJSNoResult('unconfigure',[]); end; function TJSGPUCanvasContext.getCurrentTexture: IJSGPUTexture; begin Result:=InvokeJSObjectResult('getCurrentTexture',[],TJSGPUTexture) as IJSGPUTexture; end; class function TJSGPUCanvasContext.JSClassName: UnicodeString; begin Result:='GPUCanvasContext'; end; class function TJSGPUCanvasContext.Cast(const Intf: IJSObject): IJSGPUCanvasContext; begin Result:=TJSGPUCanvasContext.JOBCast(Intf); end; function TJSGPUCanvasConfiguration._Getdevice: IJSGPUDevice; begin Result:=ReadJSPropertyObject('device',TJSGPUDevice) as IJSGPUDevice; end; function TJSGPUCanvasConfiguration._Getformat: TGPUTextureFormat; begin Result:=ReadJSPropertyUnicodeString('format'); end; function TJSGPUCanvasConfiguration._Getusage: TGPUTextureUsageFlags; begin Result:=ReadJSPropertyInt64('usage'); end; function TJSGPUCanvasConfiguration._GetviewFormats: TGPUTextureFormatDynArray; begin Result:=ReadJSPropertyObject('viewFormats',TJSArray) as TGPUTextureFormatDynArray; end; function TJSGPUCanvasConfiguration._GetalphaMode: TGPUCanvasAlphaMode; begin Result:=ReadJSPropertyUnicodeString('alphaMode'); end; procedure TJSGPUCanvasConfiguration._Setdevice(const aValue : IJSGPUDevice); begin WriteJSPropertyObject('device',aValue); end; procedure TJSGPUCanvasConfiguration._Setformat(const aValue : TGPUTextureFormat); begin WriteJSPropertyUnicodeString('format',aValue); end; procedure TJSGPUCanvasConfiguration._Setusage(const aValue : TGPUTextureUsageFlags); begin WriteJSPropertyDouble('usage',aValue); end; procedure TJSGPUCanvasConfiguration._SetviewFormats(const aValue : TGPUTextureFormatDynArray); begin WriteJSPropertyObject('viewFormats',aValue); end; procedure TJSGPUCanvasConfiguration._SetalphaMode(const aValue : TGPUCanvasAlphaMode); begin WriteJSPropertyUnicodeString('alphaMode',aValue); end; constructor TJSGPUCanvasConfiguration.create(const aDict : TJSGPUCanvasConfigurationRec); overload; begin Self.device:=aDict.device; Self.format:=aDict.format; Self.usage:=aDict.usage; Self.viewFormats:=aDict.viewFormats; Self.alphaMode:=aDict.alphaMode; end; class function TJSGPUCanvasConfiguration.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUCanvasConfiguration.Cast(const Intf: IJSObject): IJSGPUCanvasConfiguration; begin Result:=TJSGPUCanvasConfiguration.JOBCast(Intf); end; function TJSGPUDeviceLostInfo._Getreason: Variant; begin Result:=ReadJSPropertyVariant('reason'); end; function TJSGPUDeviceLostInfo._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSGPUDeviceLostInfo.JSClassName: UnicodeString; begin Result:='GPUDeviceLostInfo'; end; class function TJSGPUDeviceLostInfo.Cast(const Intf: IJSObject): IJSGPUDeviceLostInfo; begin Result:=TJSGPUDeviceLostInfo.JOBCast(Intf); end; function TJSGPUError._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; class function TJSGPUError.JSClassName: UnicodeString; begin Result:='GPUError'; end; class function TJSGPUError.Cast(const Intf: IJSObject): IJSGPUError; begin Result:=TJSGPUError.JOBCast(Intf); end; constructor TJSGPUValidationError.Create(const aMessage: UnicodeString); begin JOBCreate([aMessage]); end; class function TJSGPUValidationError.JSClassName: UnicodeString; begin Result:='GPUValidationError'; end; class function TJSGPUValidationError.Cast(const Intf: IJSObject): IJSGPUValidationError; begin Result:=TJSGPUValidationError.JOBCast(Intf); end; constructor TJSGPUOutOfMemoryError.Create(const aMessage: UnicodeString); begin JOBCreate([aMessage]); end; class function TJSGPUOutOfMemoryError.JSClassName: UnicodeString; begin Result:='GPUOutOfMemoryError'; end; class function TJSGPUOutOfMemoryError.Cast(const Intf: IJSObject): IJSGPUOutOfMemoryError; begin Result:=TJSGPUOutOfMemoryError.JOBCast(Intf); end; constructor TJSGPUInternalError.Create(const aMessage: UnicodeString); begin JOBCreate([aMessage]); end; class function TJSGPUInternalError.JSClassName: UnicodeString; begin Result:='GPUInternalError'; end; class function TJSGPUInternalError.Cast(const Intf: IJSObject): IJSGPUInternalError; begin Result:=TJSGPUInternalError.JOBCast(Intf); end; function TJSGPUColorDict._Getr: Double; begin Result:=ReadJSPropertyDouble('r'); end; function TJSGPUColorDict._Getg: Double; begin Result:=ReadJSPropertyDouble('g'); end; function TJSGPUColorDict._Getb: Double; begin Result:=ReadJSPropertyDouble('b'); end; function TJSGPUColorDict._Geta: Double; begin Result:=ReadJSPropertyDouble('a'); end; procedure TJSGPUColorDict._Setr(const aValue : Double); begin WriteJSPropertyDouble('r',aValue); end; procedure TJSGPUColorDict._Setg(const aValue : Double); begin WriteJSPropertyDouble('g',aValue); end; procedure TJSGPUColorDict._Setb(const aValue : Double); begin WriteJSPropertyDouble('b',aValue); end; procedure TJSGPUColorDict._Seta(const aValue : Double); begin WriteJSPropertyDouble('a',aValue); end; constructor TJSGPUColorDict.create(const aDict : TJSGPUColorDictRec); overload; begin Self.r:=aDict.r; Self.g:=aDict.g; Self.b:=aDict.b; Self.a:=aDict.a; end; class function TJSGPUColorDict.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUColorDict.Cast(const Intf: IJSObject): IJSGPUColorDict; begin Result:=TJSGPUColorDict.JOBCast(Intf); end; function TJSGPUOrigin2DDict._Getx: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('x'); end; function TJSGPUOrigin2DDict._Gety: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('y'); end; procedure TJSGPUOrigin2DDict._Setx(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSGPUOrigin2DDict._Sety(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('y',aValue); end; constructor TJSGPUOrigin2DDict.create(const aDict : TJSGPUOrigin2DDictRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; end; class function TJSGPUOrigin2DDict.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUOrigin2DDict.Cast(const Intf: IJSObject): IJSGPUOrigin2DDict; begin Result:=TJSGPUOrigin2DDict.JOBCast(Intf); end; function TJSGPUOrigin3DDict._Getx: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('x'); end; function TJSGPUOrigin3DDict._Gety: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('y'); end; function TJSGPUOrigin3DDict._Getz: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('z'); end; procedure TJSGPUOrigin3DDict._Setx(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('x',aValue); end; procedure TJSGPUOrigin3DDict._Sety(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('y',aValue); end; procedure TJSGPUOrigin3DDict._Setz(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('z',aValue); end; constructor TJSGPUOrigin3DDict.create(const aDict : TJSGPUOrigin3DDictRec); overload; begin Self.x:=aDict.x; Self.y:=aDict.y; Self.z:=aDict.z; end; class function TJSGPUOrigin3DDict.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUOrigin3DDict.Cast(const Intf: IJSObject): IJSGPUOrigin3DDict; begin Result:=TJSGPUOrigin3DDict.JOBCast(Intf); end; function TJSGPUExtent3DDict._Getwidth: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('width'); end; function TJSGPUExtent3DDict._Getheight: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('height'); end; function TJSGPUExtent3DDict._GetdepthOrArrayLayers: TGPUIntegerCoordinate; begin Result:=ReadJSPropertyInt64('depthOrArrayLayers'); end; procedure TJSGPUExtent3DDict._Setwidth(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('width',aValue); end; procedure TJSGPUExtent3DDict._Setheight(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('height',aValue); end; procedure TJSGPUExtent3DDict._SetdepthOrArrayLayers(const aValue : TGPUIntegerCoordinate); begin WriteJSPropertyDouble('depthOrArrayLayers',aValue); end; constructor TJSGPUExtent3DDict.create(const aDict : TJSGPUExtent3DDictRec); overload; begin Self.width:=aDict.width; Self.height:=aDict.height; Self.depthOrArrayLayers:=aDict.depthOrArrayLayers; end; class function TJSGPUExtent3DDict.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSGPUExtent3DDict.Cast(const Intf: IJSObject): IJSGPUExtent3DDict; begin Result:=TJSGPUExtent3DDict.JOBCast(Intf); end; function TJSWebrtcGlobalStatisticsReport._Getreports: TJSRTCStatsReportInternalDynArray; begin Result:=ReadJSPropertyObject('reports',TJSArray) as TJSRTCStatsReportInternalDynArray; end; function TJSWebrtcGlobalStatisticsReport._GetsdpHistories: TJSRTCSdpHistoryInternalDynArray; begin Result:=ReadJSPropertyObject('sdpHistories',TJSArray) as TJSRTCSdpHistoryInternalDynArray; end; procedure TJSWebrtcGlobalStatisticsReport._Setreports(const aValue : TJSRTCStatsReportInternalDynArray); begin WriteJSPropertyObject('reports',aValue); end; procedure TJSWebrtcGlobalStatisticsReport._SetsdpHistories(const aValue : TJSRTCSdpHistoryInternalDynArray); begin WriteJSPropertyObject('sdpHistories',aValue); end; constructor TJSWebrtcGlobalStatisticsReport.create(const aDict : TJSWebrtcGlobalStatisticsReportRec); overload; begin Self.reports:=aDict.reports; Self.sdpHistories:=aDict.sdpHistories; end; class function TJSWebrtcGlobalStatisticsReport.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebrtcGlobalStatisticsReport.Cast(const Intf: IJSObject): IJSWebrtcGlobalStatisticsReport; begin Result:=TJSWebrtcGlobalStatisticsReport.JOBCast(Intf); end; function TJSWebrtcGlobalMediaContext._GethasH264Hardware: Boolean; begin Result:=ReadJSPropertyBoolean('hasH264Hardware'); end; procedure TJSWebrtcGlobalMediaContext._SethasH264Hardware(const aValue : Boolean); begin WriteJSPropertyBoolean('hasH264Hardware',aValue); end; constructor TJSWebrtcGlobalMediaContext.create(const aDict : TJSWebrtcGlobalMediaContextRec); overload; begin Self.hasH264Hardware:=aDict.hasH264Hardware; end; class function TJSWebrtcGlobalMediaContext.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebrtcGlobalMediaContext.Cast(const Intf: IJSObject): IJSWebrtcGlobalMediaContext; begin Result:=TJSWebrtcGlobalMediaContext.JOBCast(Intf); end; function TJSWebSocket._Geturl: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('url'); end; function TJSWebSocket._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSWebSocket._GetbufferedAmount: QWord; begin Result:=ReadJSPropertyInt64('bufferedAmount'); end; function TJSWebSocket._Getonopen: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onopen'))); end; function TJSWebSocket._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSWebSocket._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSWebSocket._Getextensions: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('extensions'); end; function TJSWebSocket._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSWebSocket._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSWebSocket._GetbinaryType: TBinaryType; begin Result:=ReadJSPropertyUnicodeString('binaryType'); end; procedure TJSWebSocket._Setonopen(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onopen',[m],jiSet); finally m.free end; end; procedure TJSWebSocket._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSWebSocket._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSWebSocket._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSWebSocket._SetbinaryType(const aValue : TBinaryType); begin WriteJSPropertyUnicodeString('binaryType',aValue); end; constructor TJSWebSocket.Create(const aUrl: UnicodeString; const aProtocols: UnicodeString); begin JOBCreate([aUrl,aProtocols]); end; constructor TJSWebSocket.Create(const aUrl: UnicodeString); begin JOBCreate([aUrl]); end; constructor TJSWebSocket.Create(const aUrl: UnicodeString; const aProtocols: TUnicodeStringDynArray); begin JOBCreate([aUrl,aProtocols]); end; procedure TJSWebSocket.close(aCode: Word; const aReason: UnicodeString); begin InvokeJSNoResult('close',[aCode,aReason]); end; procedure TJSWebSocket.close; begin InvokeJSNoResult('close',[]); end; procedure TJSWebSocket.close(aCode: Word); begin InvokeJSNoResult('close',[aCode]); end; procedure TJSWebSocket.send(const aData: UnicodeString); begin InvokeJSNoResult('send',[aData]); end; procedure TJSWebSocket.send(aData: IJSBlob); begin InvokeJSNoResult('send',[aData]); end; procedure TJSWebSocket.send(aData: IJSArrayBuffer); begin InvokeJSNoResult('send',[aData]); end; procedure TJSWebSocket.send(aData: IJSArrayBufferView); begin InvokeJSNoResult('send',[aData]); end; class function TJSWebSocket.JSClassName: UnicodeString; begin Result:='WebSocket'; end; class function TJSWebSocket.Cast(const Intf: IJSObject): IJSWebSocket; begin Result:=TJSWebSocket.JOBCast(Intf); end; class function TJSnsITransportProvider.JSClassName: UnicodeString; begin Result:='nsITransportProvider'; end; class function TJSnsITransportProvider.Cast(const Intf: IJSObject): IJSnsITransportProvider; begin Result:=TJSnsITransportProvider.JOBCast(Intf); end; function TJSTaskSignal._Getpriority: TTaskPriority; begin Result:=ReadJSPropertyUnicodeString('priority'); end; function TJSTaskSignal._Getonprioritychange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprioritychange'))); end; procedure TJSTaskSignal._Setonprioritychange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprioritychange',[m],jiSet); finally m.free end; end; class function TJSTaskSignal.JSClassName: UnicodeString; begin Result:='TaskSignal'; end; class function TJSTaskSignal.Cast(const Intf: IJSObject): IJSTaskSignal; begin Result:=TJSTaskSignal.JOBCast(Intf); end; function TJSSchedulerPostTaskOptions._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; function TJSSchedulerPostTaskOptions._Getpriority: TTaskPriority; begin Result:=ReadJSPropertyUnicodeString('priority'); end; function TJSSchedulerPostTaskOptions._Getdelay: QWord; begin Result:=ReadJSPropertyInt64('delay'); end; procedure TJSSchedulerPostTaskOptions._Setsignal(const aValue : IJSAbortSignal); begin WriteJSPropertyObject('signal',aValue); end; procedure TJSSchedulerPostTaskOptions._Setpriority(const aValue : TTaskPriority); begin WriteJSPropertyUnicodeString('priority',aValue); end; procedure TJSSchedulerPostTaskOptions._Setdelay(const aValue : QWord); begin WriteJSPropertyDouble('delay',aValue); end; constructor TJSSchedulerPostTaskOptions.create(const aDict : TJSSchedulerPostTaskOptionsRec); overload; begin Self.signal:=aDict.signal; Self.priority:=aDict.priority; Self.delay:=aDict.delay; end; class function TJSSchedulerPostTaskOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSchedulerPostTaskOptions.Cast(const Intf: IJSObject): IJSSchedulerPostTaskOptions; begin Result:=TJSSchedulerPostTaskOptions.JOBCast(Intf); end; function TJSScheduler.postTask(const aCallback: TSchedulerPostTaskCallback; const aOptions: IJSSchedulerPostTaskOptions): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallSchedulerPostTaskCallback); try Result:=InvokeJSObjectResult('postTask',[m,aOptions],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSScheduler.postTask(const aCallback: TSchedulerPostTaskCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallSchedulerPostTaskCallback); try Result:=InvokeJSObjectResult('postTask',[m],TJSPromise) as IJSPromise; finally m.free; end; end; class function TJSScheduler.JSClassName: UnicodeString; begin Result:='Scheduler'; end; class function TJSScheduler.Cast(const Intf: IJSObject): IJSScheduler; begin Result:=TJSScheduler.JOBCast(Intf); end; function TJSTaskControllerInit._Getpriority: TTaskPriority; begin Result:=ReadJSPropertyUnicodeString('priority'); end; procedure TJSTaskControllerInit._Setpriority(const aValue : TTaskPriority); begin WriteJSPropertyUnicodeString('priority',aValue); end; constructor TJSTaskControllerInit.create(const aDict : TJSTaskControllerInitRec); overload; begin Self.priority:=aDict.priority; end; class function TJSTaskControllerInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSTaskControllerInit.Cast(const Intf: IJSObject): IJSTaskControllerInit; begin Result:=TJSTaskControllerInit.JOBCast(Intf); end; constructor TJSTaskController.Create(const aInit: IJSTaskControllerInit); begin JOBCreate([aInit]); end; constructor TJSTaskController.Create; begin JOBCreate([]); end; procedure TJSTaskController.setPriority(aPriority: TTaskPriority); begin InvokeJSNoResult('setPriority',[aPriority]); end; class function TJSTaskController.JSClassName: UnicodeString; begin Result:='TaskController'; end; class function TJSTaskController.Cast(const Intf: IJSObject): IJSTaskController; begin Result:=TJSTaskController.JOBCast(Intf); end; function TJSWebTransportHash._Getalgorithm: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('algorithm'); end; function TJSWebTransportHash._Getvalue: IJSBufferSource; begin Result:=ReadJSPropertyObject('value',TJSBufferSource) as IJSBufferSource; end; procedure TJSWebTransportHash._Setalgorithm(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('algorithm',aValue); end; procedure TJSWebTransportHash._Setvalue(const aValue : IJSBufferSource); begin WriteJSPropertyObject('value',aValue); end; constructor TJSWebTransportHash.create(const aDict : TJSWebTransportHashRec); overload; begin Self.algorithm:=aDict.algorithm; Self.value:=aDict.value; end; class function TJSWebTransportHash.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportHash.Cast(const Intf: IJSObject): IJSWebTransportHash; begin Result:=TJSWebTransportHash.JOBCast(Intf); end; function TJSWebTransportOptions._GetallowPooling: Boolean; begin Result:=ReadJSPropertyBoolean('allowPooling'); end; function TJSWebTransportOptions._GetrequireUnreliable: Boolean; begin Result:=ReadJSPropertyBoolean('requireUnreliable'); end; function TJSWebTransportOptions._GetserverCertificateHashes: TJSWebTransportHashDynArray; begin Result:=ReadJSPropertyObject('serverCertificateHashes',TJSArray) as TJSWebTransportHashDynArray; end; function TJSWebTransportOptions._GetcongestionControl: TWebTransportCongestionControl; begin Result:=ReadJSPropertyUnicodeString('congestionControl'); end; procedure TJSWebTransportOptions._SetallowPooling(const aValue : Boolean); begin WriteJSPropertyBoolean('allowPooling',aValue); end; procedure TJSWebTransportOptions._SetrequireUnreliable(const aValue : Boolean); begin WriteJSPropertyBoolean('requireUnreliable',aValue); end; procedure TJSWebTransportOptions._SetserverCertificateHashes(const aValue : TJSWebTransportHashDynArray); begin WriteJSPropertyObject('serverCertificateHashes',aValue); end; procedure TJSWebTransportOptions._SetcongestionControl(const aValue : TWebTransportCongestionControl); begin WriteJSPropertyUnicodeString('congestionControl',aValue); end; constructor TJSWebTransportOptions.create(const aDict : TJSWebTransportOptionsRec); overload; begin Self.allowPooling:=aDict.allowPooling; Self.requireUnreliable:=aDict.requireUnreliable; Self.serverCertificateHashes:=aDict.serverCertificateHashes; Self.congestionControl:=aDict.congestionControl; end; class function TJSWebTransportOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportOptions.Cast(const Intf: IJSObject): IJSWebTransportOptions; begin Result:=TJSWebTransportOptions.JOBCast(Intf); end; function TJSWebTransportCloseInfo._GetcloseCode: Cardinal; begin Result:=ReadJSPropertyInt64('closeCode'); end; function TJSWebTransportCloseInfo._Getreason: UTF8String; begin Result:=ReadJSPropertyUTF8String('reason'); end; procedure TJSWebTransportCloseInfo._SetcloseCode(const aValue : Cardinal); begin WriteJSPropertyDouble('closeCode',aValue); end; procedure TJSWebTransportCloseInfo._Setreason(const aValue : UTF8String); begin WriteJSPropertyUTF8String('reason',aValue); end; constructor TJSWebTransportCloseInfo.create(const aDict : TJSWebTransportCloseInfoRec); overload; begin Self.closeCode:=aDict.closeCode; Self.reason:=aDict.reason; end; class function TJSWebTransportCloseInfo.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportCloseInfo.Cast(const Intf: IJSObject): IJSWebTransportCloseInfo; begin Result:=TJSWebTransportCloseInfo.JOBCast(Intf); end; function TJSWebTransportSendStreamOptions._GetsendOrder: Int64; begin Result:=ReadJSPropertyInt64('sendOrder'); end; procedure TJSWebTransportSendStreamOptions._SetsendOrder(const aValue : Int64); begin WriteJSPropertyDouble('sendOrder',aValue); end; constructor TJSWebTransportSendStreamOptions.create(const aDict : TJSWebTransportSendStreamOptionsRec); overload; begin Self.sendOrder:=aDict.sendOrder; end; class function TJSWebTransportSendStreamOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportSendStreamOptions.Cast(const Intf: IJSObject): IJSWebTransportSendStreamOptions; begin Result:=TJSWebTransportSendStreamOptions.JOBCast(Intf); end; function TJSWebTransportStats._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSWebTransportStats._GetbytesSent: QWord; begin Result:=ReadJSPropertyInt64('bytesSent'); end; function TJSWebTransportStats._GetpacketsSent: QWord; begin Result:=ReadJSPropertyInt64('packetsSent'); end; function TJSWebTransportStats._GetpacketsLost: QWord; begin Result:=ReadJSPropertyInt64('packetsLost'); end; function TJSWebTransportStats._GetnumOutgoingStreamsCreated: Cardinal; begin Result:=ReadJSPropertyInt64('numOutgoingStreamsCreated'); end; function TJSWebTransportStats._GetnumIncomingStreamsCreated: Cardinal; begin Result:=ReadJSPropertyInt64('numIncomingStreamsCreated'); end; function TJSWebTransportStats._GetbytesReceived: QWord; begin Result:=ReadJSPropertyInt64('bytesReceived'); end; function TJSWebTransportStats._GetpacketsReceived: QWord; begin Result:=ReadJSPropertyInt64('packetsReceived'); end; function TJSWebTransportStats._GetsmoothedRtt: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('smoothedRtt'); end; function TJSWebTransportStats._GetrttVariation: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('rttVariation'); end; function TJSWebTransportStats._GetminRtt: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('minRtt'); end; function TJSWebTransportStats._Getdatagrams: IJSWebTransportDatagramStats; begin Result:=ReadJSPropertyObject('datagrams',TJSWebTransportDatagramStats) as IJSWebTransportDatagramStats; end; procedure TJSWebTransportStats._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSWebTransportStats._SetbytesSent(const aValue : QWord); begin WriteJSPropertyDouble('bytesSent',aValue); end; procedure TJSWebTransportStats._SetpacketsSent(const aValue : QWord); begin WriteJSPropertyDouble('packetsSent',aValue); end; procedure TJSWebTransportStats._SetpacketsLost(const aValue : QWord); begin WriteJSPropertyDouble('packetsLost',aValue); end; procedure TJSWebTransportStats._SetnumOutgoingStreamsCreated(const aValue : Cardinal); begin WriteJSPropertyDouble('numOutgoingStreamsCreated',aValue); end; procedure TJSWebTransportStats._SetnumIncomingStreamsCreated(const aValue : Cardinal); begin WriteJSPropertyDouble('numIncomingStreamsCreated',aValue); end; procedure TJSWebTransportStats._SetbytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('bytesReceived',aValue); end; procedure TJSWebTransportStats._SetpacketsReceived(const aValue : QWord); begin WriteJSPropertyDouble('packetsReceived',aValue); end; procedure TJSWebTransportStats._SetsmoothedRtt(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('smoothedRtt',aValue); end; procedure TJSWebTransportStats._SetrttVariation(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('rttVariation',aValue); end; procedure TJSWebTransportStats._SetminRtt(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('minRtt',aValue); end; procedure TJSWebTransportStats._Setdatagrams(const aValue : IJSWebTransportDatagramStats); begin WriteJSPropertyObject('datagrams',aValue); end; constructor TJSWebTransportStats.create(const aDict : TJSWebTransportStatsRec); overload; begin Self.timestamp:=aDict.timestamp; Self.bytesSent:=aDict.bytesSent; Self.packetsSent:=aDict.packetsSent; Self.packetsLost:=aDict.packetsLost; Self.numOutgoingStreamsCreated:=aDict.numOutgoingStreamsCreated; Self.numIncomingStreamsCreated:=aDict.numIncomingStreamsCreated; Self.bytesReceived:=aDict.bytesReceived; Self.packetsReceived:=aDict.packetsReceived; Self.smoothedRtt:=aDict.smoothedRtt; Self.rttVariation:=aDict.rttVariation; Self.minRtt:=aDict.minRtt; Self.datagrams:=aDict.datagrams; end; class function TJSWebTransportStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportStats.Cast(const Intf: IJSObject): IJSWebTransportStats; begin Result:=TJSWebTransportStats.JOBCast(Intf); end; function TJSWebTransportDatagramStats._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSWebTransportDatagramStats._GetexpiredOutgoing: QWord; begin Result:=ReadJSPropertyInt64('expiredOutgoing'); end; function TJSWebTransportDatagramStats._GetdroppedIncoming: QWord; begin Result:=ReadJSPropertyInt64('droppedIncoming'); end; function TJSWebTransportDatagramStats._GetlostOutgoing: QWord; begin Result:=ReadJSPropertyInt64('lostOutgoing'); end; procedure TJSWebTransportDatagramStats._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSWebTransportDatagramStats._SetexpiredOutgoing(const aValue : QWord); begin WriteJSPropertyDouble('expiredOutgoing',aValue); end; procedure TJSWebTransportDatagramStats._SetdroppedIncoming(const aValue : QWord); begin WriteJSPropertyDouble('droppedIncoming',aValue); end; procedure TJSWebTransportDatagramStats._SetlostOutgoing(const aValue : QWord); begin WriteJSPropertyDouble('lostOutgoing',aValue); end; constructor TJSWebTransportDatagramStats.create(const aDict : TJSWebTransportDatagramStatsRec); overload; begin Self.timestamp:=aDict.timestamp; Self.expiredOutgoing:=aDict.expiredOutgoing; Self.droppedIncoming:=aDict.droppedIncoming; Self.lostOutgoing:=aDict.lostOutgoing; end; class function TJSWebTransportDatagramStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportDatagramStats.Cast(const Intf: IJSObject): IJSWebTransportDatagramStats; begin Result:=TJSWebTransportDatagramStats.JOBCast(Intf); end; function TJSWebTransport._Getready: IJSPromise; begin Result:=ReadJSPropertyObject('ready',TJSPromise) as IJSPromise; end; function TJSWebTransport._Getreliability: TWebTransportReliabilityMode; begin Result:=ReadJSPropertyUnicodeString('reliability'); end; function TJSWebTransport._GetcongestionControl: TWebTransportCongestionControl; begin Result:=ReadJSPropertyUnicodeString('congestionControl'); end; function TJSWebTransport._Getclosed: IJSPromise; begin Result:=ReadJSPropertyObject('closed',TJSPromise) as IJSPromise; end; function TJSWebTransport._Getdatagrams: IJSWebTransportDatagramDuplexStream; begin Result:=ReadJSPropertyObject('datagrams',TJSWebTransportDatagramDuplexStream) as IJSWebTransportDatagramDuplexStream; end; function TJSWebTransport._GetincomingBidirectionalStreams: IJSReadableStream; begin Result:=ReadJSPropertyObject('incomingBidirectionalStreams',TJSReadableStream) as IJSReadableStream; end; function TJSWebTransport._GetincomingUnidirectionalStreams: IJSReadableStream; begin Result:=ReadJSPropertyObject('incomingUnidirectionalStreams',TJSReadableStream) as IJSReadableStream; end; constructor TJSWebTransport.Create(const aUrl: UnicodeString; const aOptions: IJSWebTransportOptions); begin JOBCreate([aUrl,aOptions]); end; constructor TJSWebTransport.Create(const aUrl: UnicodeString); begin JOBCreate([aUrl]); end; function TJSWebTransport.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; procedure TJSWebTransport.close(const aCloseInfo: IJSWebTransportCloseInfo); begin InvokeJSNoResult('close',[aCloseInfo]); end; procedure TJSWebTransport.close; begin InvokeJSNoResult('close',[]); end; function TJSWebTransport.createBidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createBidirectionalStream',[aOptions],TJSPromise) as IJSPromise; end; function TJSWebTransport.createBidirectionalStream: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createBidirectionalStream',[],TJSPromise) as IJSPromise; end; function TJSWebTransport.createUnidirectionalStream(const aOptions: IJSWebTransportSendStreamOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createUnidirectionalStream',[aOptions],TJSPromise) as IJSPromise; end; function TJSWebTransport.createUnidirectionalStream: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createUnidirectionalStream',[],TJSPromise) as IJSPromise; end; class function TJSWebTransport.JSClassName: UnicodeString; begin Result:='WebTransport'; end; class function TJSWebTransport.Cast(const Intf: IJSObject): IJSWebTransport; begin Result:=TJSWebTransport.JOBCast(Intf); end; function TJSWebTransportDatagramDuplexStream._Getreadable: IJSReadableStream; begin Result:=ReadJSPropertyObject('readable',TJSReadableStream) as IJSReadableStream; end; function TJSWebTransportDatagramDuplexStream._Getwritable: IJSWritableStream; begin Result:=ReadJSPropertyObject('writable',TJSWritableStream) as IJSWritableStream; end; function TJSWebTransportDatagramDuplexStream._GetmaxDatagramSize: Cardinal; begin Result:=ReadJSPropertyInt64('maxDatagramSize'); end; function TJSWebTransportDatagramDuplexStream._GetincomingMaxAge: Double; begin Result:=ReadJSPropertyDouble('incomingMaxAge'); end; function TJSWebTransportDatagramDuplexStream._GetoutgoingMaxAge: Double; begin Result:=ReadJSPropertyDouble('outgoingMaxAge'); end; function TJSWebTransportDatagramDuplexStream._GetincomingHighWaterMark: Double; begin Result:=ReadJSPropertyDouble('incomingHighWaterMark'); end; function TJSWebTransportDatagramDuplexStream._GetoutgoingHighWaterMark: Double; begin Result:=ReadJSPropertyDouble('outgoingHighWaterMark'); end; procedure TJSWebTransportDatagramDuplexStream._SetincomingMaxAge(const aValue : Double); begin WriteJSPropertyDouble('incomingMaxAge',aValue); end; procedure TJSWebTransportDatagramDuplexStream._SetoutgoingMaxAge(const aValue : Double); begin WriteJSPropertyDouble('outgoingMaxAge',aValue); end; procedure TJSWebTransportDatagramDuplexStream._SetincomingHighWaterMark(const aValue : Double); begin WriteJSPropertyDouble('incomingHighWaterMark',aValue); end; procedure TJSWebTransportDatagramDuplexStream._SetoutgoingHighWaterMark(const aValue : Double); begin WriteJSPropertyDouble('outgoingHighWaterMark',aValue); end; class function TJSWebTransportDatagramDuplexStream.JSClassName: UnicodeString; begin Result:='WebTransportDatagramDuplexStream'; end; class function TJSWebTransportDatagramDuplexStream.Cast(const Intf: IJSObject): IJSWebTransportDatagramDuplexStream; begin Result:=TJSWebTransportDatagramDuplexStream.JOBCast(Intf); end; function TJSWebTransportError._Getsource: TWebTransportErrorSource; begin Result:=ReadJSPropertyUnicodeString('source'); end; function TJSWebTransportError._GetstreamErrorCode: Byte; begin Result:=ReadJSPropertyLongInt('streamErrorCode'); end; constructor TJSWebTransportError.Create(const aInit: IJSWebTransportErrorInit); begin JOBCreate([aInit]); end; constructor TJSWebTransportError.Create; begin JOBCreate([]); end; class function TJSWebTransportError.JSClassName: UnicodeString; begin Result:='WebTransportError'; end; class function TJSWebTransportError.Cast(const Intf: IJSObject): IJSWebTransportError; begin Result:=TJSWebTransportError.JOBCast(Intf); end; function TJSWebTransportErrorInit._GetstreamErrorCode: Byte; begin Result:=ReadJSPropertyLongInt('streamErrorCode'); end; function TJSWebTransportErrorInit._Getmessage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('message'); end; procedure TJSWebTransportErrorInit._SetstreamErrorCode(const aValue : Byte); begin WriteJSPropertyLongInt('streamErrorCode',aValue); end; procedure TJSWebTransportErrorInit._Setmessage(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('message',aValue); end; constructor TJSWebTransportErrorInit.create(const aDict : TJSWebTransportErrorInitRec); overload; begin Self.streamErrorCode:=aDict.streamErrorCode; Self.message:=aDict.message; end; class function TJSWebTransportErrorInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportErrorInit.Cast(const Intf: IJSObject): IJSWebTransportErrorInit; begin Result:=TJSWebTransportErrorInit.JOBCast(Intf); end; function TJSWebTransportSendStream._GetsendOrder: Int64; begin Result:=ReadJSPropertyInt64('sendOrder'); end; procedure TJSWebTransportSendStream._SetsendOrder(const aValue : Int64); begin WriteJSPropertyDouble('sendOrder',aValue); end; function TJSWebTransportSendStream.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; class function TJSWebTransportSendStream.JSClassName: UnicodeString; begin Result:='WebTransportSendStream'; end; class function TJSWebTransportSendStream.Cast(const Intf: IJSObject): IJSWebTransportSendStream; begin Result:=TJSWebTransportSendStream.JOBCast(Intf); end; function TJSWebTransportSendStreamStats._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSWebTransportSendStreamStats._GetbytesWritten: QWord; begin Result:=ReadJSPropertyInt64('bytesWritten'); end; function TJSWebTransportSendStreamStats._GetbytesSent: QWord; begin Result:=ReadJSPropertyInt64('bytesSent'); end; function TJSWebTransportSendStreamStats._GetbytesAcknowledged: QWord; begin Result:=ReadJSPropertyInt64('bytesAcknowledged'); end; procedure TJSWebTransportSendStreamStats._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSWebTransportSendStreamStats._SetbytesWritten(const aValue : QWord); begin WriteJSPropertyDouble('bytesWritten',aValue); end; procedure TJSWebTransportSendStreamStats._SetbytesSent(const aValue : QWord); begin WriteJSPropertyDouble('bytesSent',aValue); end; procedure TJSWebTransportSendStreamStats._SetbytesAcknowledged(const aValue : QWord); begin WriteJSPropertyDouble('bytesAcknowledged',aValue); end; constructor TJSWebTransportSendStreamStats.create(const aDict : TJSWebTransportSendStreamStatsRec); overload; begin Self.timestamp:=aDict.timestamp; Self.bytesWritten:=aDict.bytesWritten; Self.bytesSent:=aDict.bytesSent; Self.bytesAcknowledged:=aDict.bytesAcknowledged; end; class function TJSWebTransportSendStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportSendStreamStats.Cast(const Intf: IJSObject): IJSWebTransportSendStreamStats; begin Result:=TJSWebTransportSendStreamStats.JOBCast(Intf); end; function TJSWebTransportReceiveStream.getStats: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('getStats',[],TJSPromise) as IJSPromise; end; class function TJSWebTransportReceiveStream.JSClassName: UnicodeString; begin Result:='WebTransportReceiveStream'; end; class function TJSWebTransportReceiveStream.Cast(const Intf: IJSObject): IJSWebTransportReceiveStream; begin Result:=TJSWebTransportReceiveStream.JOBCast(Intf); end; function TJSWebTransportReceiveStreamStats._Gettimestamp: TDOMHighResTimeStamp; begin Result:=ReadJSPropertyDouble('timestamp'); end; function TJSWebTransportReceiveStreamStats._GetbytesReceived: QWord; begin Result:=ReadJSPropertyInt64('bytesReceived'); end; function TJSWebTransportReceiveStreamStats._GetbytesRead: QWord; begin Result:=ReadJSPropertyInt64('bytesRead'); end; procedure TJSWebTransportReceiveStreamStats._Settimestamp(const aValue : TDOMHighResTimeStamp); begin WriteJSPropertyDouble('timestamp',aValue); end; procedure TJSWebTransportReceiveStreamStats._SetbytesReceived(const aValue : QWord); begin WriteJSPropertyDouble('bytesReceived',aValue); end; procedure TJSWebTransportReceiveStreamStats._SetbytesRead(const aValue : QWord); begin WriteJSPropertyDouble('bytesRead',aValue); end; constructor TJSWebTransportReceiveStreamStats.create(const aDict : TJSWebTransportReceiveStreamStatsRec); overload; begin Self.timestamp:=aDict.timestamp; Self.bytesReceived:=aDict.bytesReceived; Self.bytesRead:=aDict.bytesRead; end; class function TJSWebTransportReceiveStreamStats.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWebTransportReceiveStreamStats.Cast(const Intf: IJSObject): IJSWebTransportReceiveStreamStats; begin Result:=TJSWebTransportReceiveStreamStats.JOBCast(Intf); end; function TJSWebTransportBidirectionalStream._Getreadable: IJSWebTransportReceiveStream; begin Result:=ReadJSPropertyObject('readable',TJSWebTransportReceiveStream) as IJSWebTransportReceiveStream; end; function TJSWebTransportBidirectionalStream._Getwritable: IJSWebTransportSendStream; begin Result:=ReadJSPropertyObject('writable',TJSWebTransportSendStream) as IJSWebTransportSendStream; end; class function TJSWebTransportBidirectionalStream.JSClassName: UnicodeString; begin Result:='WebTransportBidirectionalStream'; end; class function TJSWebTransportBidirectionalStream.Cast(const Intf: IJSObject): IJSWebTransportBidirectionalStream; begin Result:=TJSWebTransportBidirectionalStream.JOBCast(Intf); end; function TJSXRSystem._Getondevicechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondevicechange'))); end; procedure TJSXRSystem._Setondevicechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondevicechange',[m],jiSet); finally m.free end; end; function TJSXRSystem.isSessionSupported(aMode: TXRSessionMode): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('isSessionSupported',[aMode],TJSPromise) as IJSPromise; end; function TJSXRSystem.requestSession(aMode: TXRSessionMode; const aOptions: IJSXRSessionInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestSession',[aMode,aOptions],TJSPromise) as IJSPromise; end; function TJSXRSystem.requestSession(aMode: TXRSessionMode): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestSession',[aMode],TJSPromise) as IJSPromise; end; class function TJSXRSystem.JSClassName: UnicodeString; begin Result:='XRSystem'; end; class function TJSXRSystem.Cast(const Intf: IJSObject): IJSXRSystem; begin Result:=TJSXRSystem.JOBCast(Intf); end; function TJSXRSessionInit._GetrequiredFeatures: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('requiredFeatures',TJSArray) as TUnicodeStringDynArray; end; function TJSXRSessionInit._GetoptionalFeatures: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('optionalFeatures',TJSArray) as TUnicodeStringDynArray; end; procedure TJSXRSessionInit._SetrequiredFeatures(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('requiredFeatures',aValue); end; procedure TJSXRSessionInit._SetoptionalFeatures(const aValue : TUnicodeStringDynArray); begin WriteJSPropertyObject('optionalFeatures',aValue); end; constructor TJSXRSessionInit.create(const aDict : TJSXRSessionInitRec); overload; begin Self.requiredFeatures:=aDict.requiredFeatures; Self.optionalFeatures:=aDict.optionalFeatures; end; class function TJSXRSessionInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRSessionInit.Cast(const Intf: IJSObject): IJSXRSessionInit; begin Result:=TJSXRSessionInit.JOBCast(Intf); end; function TJSXRSession._GetvisibilityState: TXRVisibilityState; begin Result:=ReadJSPropertyUnicodeString('visibilityState'); end; function TJSXRSession._GetrenderState: IJSXRRenderState; begin Result:=ReadJSPropertyObject('renderState',TJSXRRenderState) as IJSXRRenderState; end; function TJSXRSession._GetinputSources: IJSXRInputSourceArray; begin Result:=ReadJSPropertyObject('inputSources',TJSXRInputSourceArray) as IJSXRInputSourceArray; end; function TJSXRSession._GetframeRate: Single; begin Result:=ReadJSPropertyDouble('frameRate'); end; function TJSXRSession._GetsupportedFrameRates: IJSFloat32Array; begin Result:=ReadJSPropertyObject('supportedFrameRates',TJSFloat32Array) as IJSFloat32Array; end; function TJSXRSession._Getonend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onend'))); end; function TJSXRSession._Getoninputsourceschange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninputsourceschange'))); end; function TJSXRSession._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSXRSession._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSXRSession._Getonselectend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectend'))); end; function TJSXRSession._Getonsqueeze: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsqueeze'))); end; function TJSXRSession._Getonsqueezestart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsqueezestart'))); end; function TJSXRSession._Getonsqueezeend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsqueezeend'))); end; function TJSXRSession._Getonvisibilitychange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvisibilitychange'))); end; procedure TJSXRSession._Setonend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onend',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setoninputsourceschange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninputsourceschange',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonselectend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectend',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonsqueeze(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsqueeze',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonsqueezestart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsqueezestart',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonsqueezeend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsqueezeend',[m],jiSet); finally m.free end; end; procedure TJSXRSession._Setonvisibilitychange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvisibilitychange',[m],jiSet); finally m.free end; end; procedure TJSXRSession.updateRenderState(const aState: IJSXRRenderStateInit); begin InvokeJSNoResult('updateRenderState',[aState]); end; procedure TJSXRSession.updateRenderState; begin InvokeJSNoResult('updateRenderState',[]); end; function TJSXRSession.requestReferenceSpace(aType_: TXRReferenceSpaceType): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('requestReferenceSpace',[aType_],TJSPromise) as IJSPromise; end; function TJSXRSession.updateTargetFrameRate(aRate: Single): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('updateTargetFrameRate',[aRate],TJSPromise) as IJSPromise; end; function TJSXRSession.requestAnimationFrame(const aCallback: TXRFrameRequestCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallXRFrameRequestCallback); try Result:=InvokeJSLongIntResult('requestAnimationFrame',[m]); finally m.free; end; end; procedure TJSXRSession.cancelAnimationFrame(aHandle: LongInt); begin InvokeJSNoResult('cancelAnimationFrame',[aHandle]); end; function TJSXRSession.end_: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('end',[],TJSPromise) as IJSPromise; end; class function TJSXRSession.JSClassName: UnicodeString; begin Result:='XRSession'; end; class function TJSXRSession.Cast(const Intf: IJSObject): IJSXRSession; begin Result:=TJSXRSession.JOBCast(Intf); end; function TJSXRRenderStateInit._GetdepthNear: Double; begin Result:=ReadJSPropertyDouble('depthNear'); end; function TJSXRRenderStateInit._GetdepthFar: Double; begin Result:=ReadJSPropertyDouble('depthFar'); end; function TJSXRRenderStateInit._GetinlineVerticalFieldOfView: Double; begin Result:=ReadJSPropertyDouble('inlineVerticalFieldOfView'); end; function TJSXRRenderStateInit._GetbaseLayer: IJSXRWebGLLayer; begin Result:=ReadJSPropertyObject('baseLayer',TJSXRWebGLLayer) as IJSXRWebGLLayer; end; procedure TJSXRRenderStateInit._SetdepthNear(const aValue : Double); begin WriteJSPropertyDouble('depthNear',aValue); end; procedure TJSXRRenderStateInit._SetdepthFar(const aValue : Double); begin WriteJSPropertyDouble('depthFar',aValue); end; procedure TJSXRRenderStateInit._SetinlineVerticalFieldOfView(const aValue : Double); begin WriteJSPropertyDouble('inlineVerticalFieldOfView',aValue); end; procedure TJSXRRenderStateInit._SetbaseLayer(const aValue : IJSXRWebGLLayer); begin WriteJSPropertyObject('baseLayer',aValue); end; constructor TJSXRRenderStateInit.create(const aDict : TJSXRRenderStateInitRec); overload; begin Self.depthNear:=aDict.depthNear; Self.depthFar:=aDict.depthFar; Self.inlineVerticalFieldOfView:=aDict.inlineVerticalFieldOfView; Self.baseLayer:=aDict.baseLayer; end; class function TJSXRRenderStateInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRRenderStateInit.Cast(const Intf: IJSObject): IJSXRRenderStateInit; begin Result:=TJSXRRenderStateInit.JOBCast(Intf); end; function TJSXRRenderState._GetdepthNear: Double; begin Result:=ReadJSPropertyDouble('depthNear'); end; function TJSXRRenderState._GetdepthFar: Double; begin Result:=ReadJSPropertyDouble('depthFar'); end; function TJSXRRenderState._GetinlineVerticalFieldOfView: Double; begin Result:=ReadJSPropertyDouble('inlineVerticalFieldOfView'); end; function TJSXRRenderState._GetbaseLayer: IJSXRWebGLLayer; begin Result:=ReadJSPropertyObject('baseLayer',TJSXRWebGLLayer) as IJSXRWebGLLayer; end; class function TJSXRRenderState.JSClassName: UnicodeString; begin Result:='XRRenderState'; end; class function TJSXRRenderState.Cast(const Intf: IJSObject): IJSXRRenderState; begin Result:=TJSXRRenderState.JOBCast(Intf); end; function TJSXRFrame._Getsession: IJSXRSession; begin Result:=ReadJSPropertyObject('session',TJSXRSession) as IJSXRSession; end; function TJSXRFrame.getViewerPose(aReferenceSpace: IJSXRReferenceSpace): IJSXRViewerPose; begin Result:=InvokeJSObjectResult('getViewerPose',[aReferenceSpace],TJSXRViewerPose) as IJSXRViewerPose; end; function TJSXRFrame.getPose(aSpace: IJSXRSpace; aBaseSpace: IJSXRSpace): IJSXRPose; begin Result:=InvokeJSObjectResult('getPose',[aSpace,aBaseSpace],TJSXRPose) as IJSXRPose; end; class function TJSXRFrame.JSClassName: UnicodeString; begin Result:='XRFrame'; end; class function TJSXRFrame.Cast(const Intf: IJSObject): IJSXRFrame; begin Result:=TJSXRFrame.JOBCast(Intf); end; class function TJSXRSpace.JSClassName: UnicodeString; begin Result:='XRSpace'; end; class function TJSXRSpace.Cast(const Intf: IJSObject): IJSXRSpace; begin Result:=TJSXRSpace.JOBCast(Intf); end; function TJSXRReferenceSpace._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; procedure TJSXRReferenceSpace._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; function TJSXRReferenceSpace.getOffsetReferenceSpace(aOriginOffset: IJSXRRigidTransform): IJSXRReferenceSpace; begin Result:=InvokeJSObjectResult('getOffsetReferenceSpace',[aOriginOffset],TJSXRReferenceSpace) as IJSXRReferenceSpace; end; class function TJSXRReferenceSpace.JSClassName: UnicodeString; begin Result:='XRReferenceSpace'; end; class function TJSXRReferenceSpace.Cast(const Intf: IJSObject): IJSXRReferenceSpace; begin Result:=TJSXRReferenceSpace.JOBCast(Intf); end; function TJSXRBoundedReferenceSpace._GetboundsGeometry: TJSDOMPointReadOnlyDynArray; begin Result:=ReadJSPropertyObject('boundsGeometry',TJSArray) as TJSDOMPointReadOnlyDynArray; end; class function TJSXRBoundedReferenceSpace.JSClassName: UnicodeString; begin Result:='XRBoundedReferenceSpace'; end; class function TJSXRBoundedReferenceSpace.Cast(const Intf: IJSObject): IJSXRBoundedReferenceSpace; begin Result:=TJSXRBoundedReferenceSpace.JOBCast(Intf); end; function TJSXRView._Geteye: TXREye; begin Result:=ReadJSPropertyUnicodeString('eye'); end; function TJSXRView._GetprojectionMatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('projectionMatrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSXRView._Gettransform: IJSXRRigidTransform; begin Result:=ReadJSPropertyObject('transform',TJSXRRigidTransform) as IJSXRRigidTransform; end; class function TJSXRView.JSClassName: UnicodeString; begin Result:='XRView'; end; class function TJSXRView.Cast(const Intf: IJSObject): IJSXRView; begin Result:=TJSXRView.JOBCast(Intf); end; function TJSXRViewport._Getx: LongInt; begin Result:=ReadJSPropertyLongInt('x'); end; function TJSXRViewport._Gety: LongInt; begin Result:=ReadJSPropertyLongInt('y'); end; function TJSXRViewport._Getwidth: LongInt; begin Result:=ReadJSPropertyLongInt('width'); end; function TJSXRViewport._Getheight: LongInt; begin Result:=ReadJSPropertyLongInt('height'); end; class function TJSXRViewport.JSClassName: UnicodeString; begin Result:='XRViewport'; end; class function TJSXRViewport.Cast(const Intf: IJSObject): IJSXRViewport; begin Result:=TJSXRViewport.JOBCast(Intf); end; function TJSXRRigidTransform._Getposition: IJSDOMPointReadOnly; begin Result:=ReadJSPropertyObject('position',TJSDOMPointReadOnly) as IJSDOMPointReadOnly; end; function TJSXRRigidTransform._Getorientation: IJSDOMPointReadOnly; begin Result:=ReadJSPropertyObject('orientation',TJSDOMPointReadOnly) as IJSDOMPointReadOnly; end; function TJSXRRigidTransform._Getmatrix: IJSFloat32Array; begin Result:=ReadJSPropertyObject('matrix',TJSFloat32Array) as IJSFloat32Array; end; function TJSXRRigidTransform._Getinverse: IJSXRRigidTransform; begin Result:=ReadJSPropertyObject('inverse',TJSXRRigidTransform) as IJSXRRigidTransform; end; constructor TJSXRRigidTransform.Create(const aPosition: IJSDOMPointInit; const aOrientation: IJSDOMPointInit); begin JOBCreate([aPosition,aOrientation]); end; constructor TJSXRRigidTransform.Create; begin JOBCreate([]); end; constructor TJSXRRigidTransform.Create(const aPosition: IJSDOMPointInit); begin JOBCreate([aPosition]); end; class function TJSXRRigidTransform.JSClassName: UnicodeString; begin Result:='XRRigidTransform'; end; class function TJSXRRigidTransform.Cast(const Intf: IJSObject): IJSXRRigidTransform; begin Result:=TJSXRRigidTransform.JOBCast(Intf); end; function TJSXRPose._Gettransform: IJSXRRigidTransform; begin Result:=ReadJSPropertyObject('transform',TJSXRRigidTransform) as IJSXRRigidTransform; end; function TJSXRPose._GetemulatedPosition: Boolean; begin Result:=ReadJSPropertyBoolean('emulatedPosition'); end; class function TJSXRPose.JSClassName: UnicodeString; begin Result:='XRPose'; end; class function TJSXRPose.Cast(const Intf: IJSObject): IJSXRPose; begin Result:=TJSXRPose.JOBCast(Intf); end; function TJSXRViewerPose._Getviews: TJSXRViewDynArray; begin Result:=ReadJSPropertyObject('views',TJSArray) as TJSXRViewDynArray; end; class function TJSXRViewerPose.JSClassName: UnicodeString; begin Result:='XRViewerPose'; end; class function TJSXRViewerPose.Cast(const Intf: IJSObject): IJSXRViewerPose; begin Result:=TJSXRViewerPose.JOBCast(Intf); end; function TJSXRInputSource._Gethandedness: TXRHandedness; begin Result:=ReadJSPropertyUnicodeString('handedness'); end; function TJSXRInputSource._GettargetRayMode: TXRTargetRayMode; begin Result:=ReadJSPropertyUnicodeString('targetRayMode'); end; function TJSXRInputSource._GettargetRaySpace: IJSXRSpace; begin Result:=ReadJSPropertyObject('targetRaySpace',TJSXRSpace) as IJSXRSpace; end; function TJSXRInputSource._GetgripSpace: IJSXRSpace; begin Result:=ReadJSPropertyObject('gripSpace',TJSXRSpace) as IJSXRSpace; end; function TJSXRInputSource._Getprofiles: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('profiles',TJSArray) as TUnicodeStringDynArray; end; function TJSXRInputSource._Getgamepad: IJSGamepad; begin Result:=ReadJSPropertyObject('gamepad',TJSGamepad) as IJSGamepad; end; class function TJSXRInputSource.JSClassName: UnicodeString; begin Result:='XRInputSource'; end; class function TJSXRInputSource.Cast(const Intf: IJSObject): IJSXRInputSource; begin Result:=TJSXRInputSource.JOBCast(Intf); end; function TJSXRInputSourceArray._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSXRInputSourceArray.GetDefault(aIndex: Cardinal): IJSXRInputSource; begin Result:=InvokeJSObjectResult('',[aIndex],TJSXRInputSource) as IJSXRInputSource; end; class function TJSXRInputSourceArray.JSClassName: UnicodeString; begin Result:='XRInputSourceArray'; end; class function TJSXRInputSourceArray.Cast(const Intf: IJSObject): IJSXRInputSourceArray; begin Result:=TJSXRInputSourceArray.JOBCast(Intf); end; function TJSXRWebGLLayerInit._Getantialias: Boolean; begin Result:=ReadJSPropertyBoolean('antialias'); end; function TJSXRWebGLLayerInit._Getdepth: Boolean; begin Result:=ReadJSPropertyBoolean('depth'); end; function TJSXRWebGLLayerInit._Getstencil: Boolean; begin Result:=ReadJSPropertyBoolean('stencil'); end; function TJSXRWebGLLayerInit._Getalpha: Boolean; begin Result:=ReadJSPropertyBoolean('alpha'); end; function TJSXRWebGLLayerInit._GetignoreDepthValues: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreDepthValues'); end; function TJSXRWebGLLayerInit._GetframebufferScaleFactor: Double; begin Result:=ReadJSPropertyDouble('framebufferScaleFactor'); end; procedure TJSXRWebGLLayerInit._Setantialias(const aValue : Boolean); begin WriteJSPropertyBoolean('antialias',aValue); end; procedure TJSXRWebGLLayerInit._Setdepth(const aValue : Boolean); begin WriteJSPropertyBoolean('depth',aValue); end; procedure TJSXRWebGLLayerInit._Setstencil(const aValue : Boolean); begin WriteJSPropertyBoolean('stencil',aValue); end; procedure TJSXRWebGLLayerInit._Setalpha(const aValue : Boolean); begin WriteJSPropertyBoolean('alpha',aValue); end; procedure TJSXRWebGLLayerInit._SetignoreDepthValues(const aValue : Boolean); begin WriteJSPropertyBoolean('ignoreDepthValues',aValue); end; procedure TJSXRWebGLLayerInit._SetframebufferScaleFactor(const aValue : Double); begin WriteJSPropertyDouble('framebufferScaleFactor',aValue); end; constructor TJSXRWebGLLayerInit.create(const aDict : TJSXRWebGLLayerInitRec); overload; begin Self.antialias:=aDict.antialias; Self.depth:=aDict.depth; Self.stencil:=aDict.stencil; Self.alpha:=aDict.alpha; Self.ignoreDepthValues:=aDict.ignoreDepthValues; Self.framebufferScaleFactor:=aDict.framebufferScaleFactor; end; class function TJSXRWebGLLayerInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRWebGLLayerInit.Cast(const Intf: IJSObject): IJSXRWebGLLayerInit; begin Result:=TJSXRWebGLLayerInit.JOBCast(Intf); end; function TJSXRWebGLLayer._Getantialias: Boolean; begin Result:=ReadJSPropertyBoolean('antialias'); end; function TJSXRWebGLLayer._GetignoreDepthValues: Boolean; begin Result:=ReadJSPropertyBoolean('ignoreDepthValues'); end; function TJSXRWebGLLayer._Getframebuffer: IJSWebGLFramebuffer; begin Result:=ReadJSPropertyObject('framebuffer',TJSWebGLFramebuffer) as IJSWebGLFramebuffer; end; function TJSXRWebGLLayer._GetframebufferWidth: Cardinal; begin Result:=ReadJSPropertyInt64('framebufferWidth'); end; function TJSXRWebGLLayer._GetframebufferHeight: Cardinal; begin Result:=ReadJSPropertyInt64('framebufferHeight'); end; constructor TJSXRWebGLLayer.Create(aSession: IJSXRSession; aContext: IJSWebGL2RenderingContext; const aLayerInit: IJSXRWebGLLayerInit); begin JOBCreate([aSession,aContext,aLayerInit]); end; constructor TJSXRWebGLLayer.Create(aSession: IJSXRSession; aContext: IJSWebGLRenderingContext; const aLayerInit: IJSXRWebGLLayerInit); begin JOBCreate([aSession,aContext,aLayerInit]); end; constructor TJSXRWebGLLayer.Create(aSession: IJSXRSession; aContext: IJSWebGLRenderingContext); begin JOBCreate([aSession,aContext]); end; constructor TJSXRWebGLLayer.Create(aSession: IJSXRSession; aContext: IJSWebGL2RenderingContext); begin JOBCreate([aSession,aContext]); end; function TJSXRWebGLLayer.getViewport(aView: IJSXRView): IJSXRViewport; begin Result:=InvokeJSObjectResult('getViewport',[aView],TJSXRViewport) as IJSXRViewport; end; function TJSXRWebGLLayer.getNativeFramebufferScaleFactor(aSession: IJSXRSession): Double; begin Result:=InvokeJSDoubleResult('getNativeFramebufferScaleFactor',[aSession]); end; class function TJSXRWebGLLayer.JSClassName: UnicodeString; begin Result:='XRWebGLLayer'; end; class function TJSXRWebGLLayer.Cast(const Intf: IJSObject): IJSXRWebGLLayer; begin Result:=TJSXRWebGLLayer.JOBCast(Intf); end; function TJSWheelEvent._GetwheelDeltaX: LongInt; begin Result:=ReadJSPropertyLongInt('wheelDeltaX'); end; function TJSWheelEvent._GetwheelDeltaY: LongInt; begin Result:=ReadJSPropertyLongInt('wheelDeltaY'); end; function TJSWheelEvent._GetwheelDelta: LongInt; begin Result:=ReadJSPropertyLongInt('wheelDelta'); end; function TJSWheelEvent._GetdeltaX: Double; begin Result:=ReadJSPropertyDouble('deltaX'); end; function TJSWheelEvent._GetdeltaY: Double; begin Result:=ReadJSPropertyDouble('deltaY'); end; function TJSWheelEvent._GetdeltaZ: Double; begin Result:=ReadJSPropertyDouble('deltaZ'); end; function TJSWheelEvent._GetdeltaMode: Cardinal; begin Result:=ReadJSPropertyInt64('deltaMode'); end; constructor TJSWheelEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSWheelEventInit); begin JOBCreate([aType_,aEventInitDict]); end; constructor TJSWheelEvent.Create(const aType_: UnicodeString); begin JOBCreate([aType_]); end; class function TJSWheelEvent.JSClassName: UnicodeString; begin Result:='WheelEvent'; end; class function TJSWheelEvent.Cast(const Intf: IJSObject): IJSWheelEvent; begin Result:=TJSWheelEvent.JOBCast(Intf); end; function TJSWheelEventInit._GetdeltaX: Double; begin Result:=ReadJSPropertyDouble('deltaX'); end; function TJSWheelEventInit._GetdeltaY: Double; begin Result:=ReadJSPropertyDouble('deltaY'); end; function TJSWheelEventInit._GetdeltaZ: Double; begin Result:=ReadJSPropertyDouble('deltaZ'); end; function TJSWheelEventInit._GetdeltaMode: Cardinal; begin Result:=ReadJSPropertyInt64('deltaMode'); end; procedure TJSWheelEventInit._SetdeltaX(const aValue : Double); begin WriteJSPropertyDouble('deltaX',aValue); end; procedure TJSWheelEventInit._SetdeltaY(const aValue : Double); begin WriteJSPropertyDouble('deltaY',aValue); end; procedure TJSWheelEventInit._SetdeltaZ(const aValue : Double); begin WriteJSPropertyDouble('deltaZ',aValue); end; procedure TJSWheelEventInit._SetdeltaMode(const aValue : Cardinal); begin WriteJSPropertyDouble('deltaMode',aValue); end; constructor TJSWheelEventInit.create(const aDict : TJSWheelEventInitRec); overload; begin Self.deltaX:=aDict.deltaX; Self.deltaY:=aDict.deltaY; Self.deltaZ:=aDict.deltaZ; Self.deltaMode:=aDict.deltaMode; end; class function TJSWheelEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWheelEventInit.Cast(const Intf: IJSObject): IJSWheelEventInit; begin Result:=TJSWheelEventInit.JOBCast(Intf); end; class function TJSnsIBrowserDOMWindow.JSClassName: UnicodeString; begin Result:='nsIBrowserDOMWindow'; end; class function TJSnsIBrowserDOMWindow.Cast(const Intf: IJSObject): IJSnsIBrowserDOMWindow; begin Result:=TJSnsIBrowserDOMWindow.JOBCast(Intf); end; class function TJSnsIDOMWindowUtils.JSClassName: UnicodeString; begin Result:='nsIDOMWindowUtils'; end; class function TJSnsIDOMWindowUtils.Cast(const Intf: IJSObject): IJSnsIDOMWindowUtils; begin Result:=TJSnsIDOMWindowUtils.JOBCast(Intf); end; class function TJSnsIPrintSettings.JSClassName: UnicodeString; begin Result:='nsIPrintSettings'; end; class function TJSnsIPrintSettings.Cast(const Intf: IJSObject): IJSnsIPrintSettings; begin Result:=TJSnsIPrintSettings.JOBCast(Intf); end; function TJSWindow._Getwindow: IJSWindowProxy; begin Result:=ReadJSPropertyObject('window',TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow._Getself_: IJSWindowProxy; begin Result:=ReadJSPropertyObject('self',TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow._Getdocument: IJSDocument; begin Result:=ReadJSPropertyObject('document',TJSDocument) as IJSDocument; end; function TJSWindow._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; function TJSWindow._Getlocation: IJSLocation; begin Result:=ReadJSPropertyObject('location',TJSLocation) as IJSLocation; end; function TJSWindow._Gethistory: IJSHistory; begin Result:=ReadJSPropertyObject('history',TJSHistory) as IJSHistory; end; function TJSWindow._GetcustomElements: IJSCustomElementRegistry; begin Result:=ReadJSPropertyObject('customElements',TJSCustomElementRegistry) as IJSCustomElementRegistry; end; function TJSWindow._Getlocationbar: IJSBarProp; begin Result:=ReadJSPropertyObject('locationbar',TJSBarProp) as IJSBarProp; end; function TJSWindow._Getmenubar: IJSBarProp; begin Result:=ReadJSPropertyObject('menubar',TJSBarProp) as IJSBarProp; end; function TJSWindow._Getpersonalbar: IJSBarProp; begin Result:=ReadJSPropertyObject('personalbar',TJSBarProp) as IJSBarProp; end; function TJSWindow._Getscrollbars: IJSBarProp; begin Result:=ReadJSPropertyObject('scrollbars',TJSBarProp) as IJSBarProp; end; function TJSWindow._Getstatusbar: IJSBarProp; begin Result:=ReadJSPropertyObject('statusbar',TJSBarProp) as IJSBarProp; end; function TJSWindow._Gettoolbar: IJSBarProp; begin Result:=ReadJSPropertyObject('toolbar',TJSBarProp) as IJSBarProp; end; function TJSWindow._Getstatus: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('status'); end; function TJSWindow._Getclosed: Boolean; begin Result:=ReadJSPropertyBoolean('closed'); end; function TJSWindow._Getevent: TWindow_event_Type; begin Result:=ReadJSPropertyVariant('event'); end; function TJSWindow._Getframes: IJSWindowProxy; begin Result:=ReadJSPropertyObject('frames',TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow._Getlength_: Cardinal; begin Result:=ReadJSPropertyInt64('length'); end; function TJSWindow._Gettop: IJSWindowProxy; begin Result:=ReadJSPropertyObject('top',TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow._Getopener: Variant; begin Result:=ReadJSPropertyVariant('opener'); end; function TJSWindow._Getparent: IJSWindowProxy; begin Result:=ReadJSPropertyObject('parent',TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow._GetframeElement: IJSElement; begin Result:=ReadJSPropertyObject('frameElement',TJSElement) as IJSElement; end; function TJSWindow._Getnavigator: IJSNavigator; begin Result:=ReadJSPropertyObject('navigator',TJSNavigator) as IJSNavigator; end; function TJSWindow._GetclientInformation: IJSNavigator; begin Result:=ReadJSPropertyObject('clientInformation',TJSNavigator) as IJSNavigator; end; function TJSWindow._Getexternal: IJSExternal; begin Result:=ReadJSPropertyObject('external',TJSExternal) as IJSExternal; end; function TJSWindow._Getscreen: IJSScreen; begin Result:=ReadJSPropertyObject('screen',TJSScreen) as IJSScreen; end; function TJSWindow._GetinnerWidth: Double; begin Result:=ReadJSPropertyDouble('innerWidth'); end; function TJSWindow._GetinnerHeight: Double; begin Result:=ReadJSPropertyDouble('innerHeight'); end; function TJSWindow._GetscrollX: Double; begin Result:=ReadJSPropertyDouble('scrollX'); end; function TJSWindow._GetpageXOffset: Double; begin Result:=ReadJSPropertyDouble('pageXOffset'); end; function TJSWindow._GetscrollY: Double; begin Result:=ReadJSPropertyDouble('scrollY'); end; function TJSWindow._GetpageYOffset: Double; begin Result:=ReadJSPropertyDouble('pageYOffset'); end; function TJSWindow._GetscreenLeft: Double; begin Result:=ReadJSPropertyDouble('screenLeft'); end; function TJSWindow._GetscreenTop: Double; begin Result:=ReadJSPropertyDouble('screenTop'); end; function TJSWindow._GetscreenX: Double; begin Result:=ReadJSPropertyDouble('screenX'); end; function TJSWindow._GetscreenY: Double; begin Result:=ReadJSPropertyDouble('screenY'); end; function TJSWindow._GetouterWidth: Double; begin Result:=ReadJSPropertyDouble('outerWidth'); end; function TJSWindow._GetouterHeight: Double; begin Result:=ReadJSPropertyDouble('outerHeight'); end; function TJSWindow._Getperformance: IJSPerformance; begin Result:=ReadJSPropertyObject('performance',TJSPerformance) as IJSPerformance; end; function TJSWindow._GetmozInnerScreenX: Single; begin Result:=ReadJSPropertyDouble('mozInnerScreenX'); end; function TJSWindow._GetmozInnerScreenY: Single; begin Result:=ReadJSPropertyDouble('mozInnerScreenY'); end; function TJSWindow._GetdevicePixelRatio: Double; begin Result:=ReadJSPropertyDouble('devicePixelRatio'); end; function TJSWindow._GetscrollMaxX: LongInt; begin Result:=ReadJSPropertyLongInt('scrollMaxX'); end; function TJSWindow._GetscrollMaxY: LongInt; begin Result:=ReadJSPropertyLongInt('scrollMaxY'); end; function TJSWindow._GetfullScreen: Boolean; begin Result:=ReadJSPropertyBoolean('fullScreen'); end; function TJSWindow._Getondevicemotion: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondevicemotion'))); end; function TJSWindow._Getondeviceorientation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondeviceorientation'))); end; function TJSWindow._Getondeviceorientationabsolute: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondeviceorientationabsolute'))); end; function TJSWindow._Getonuserproximity: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onuserproximity'))); end; function TJSWindow._Getondevicelight: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondevicelight'))); end; function TJSWindow._GetwindowState: Word; begin Result:=ReadJSPropertyLongInt('windowState'); end; function TJSWindow._GetisFullyOccluded: Boolean; begin Result:=ReadJSPropertyBoolean('isFullyOccluded'); end; function TJSWindow._GetbrowserDOMWindow: IJSnsIBrowserDOMWindow; begin Result:=ReadJSPropertyObject('browserDOMWindow',TJSnsIBrowserDOMWindow) as IJSnsIBrowserDOMWindow; end; function TJSWindow._GetisChromeWindow: Boolean; begin Result:=ReadJSPropertyBoolean('isChromeWindow'); end; function TJSWindow._GetGlean: IJSGleanImpl; begin Result:=ReadJSPropertyObject('Glean',TJSGleanImpl) as IJSGleanImpl; end; function TJSWindow._GetGleanPings: IJSGleanPingsImpl; begin Result:=ReadJSPropertyObject('GleanPings',TJSGleanPingsImpl) as IJSGleanPingsImpl; end; function TJSWindow._Getonvrdisplayconnect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvrdisplayconnect'))); end; function TJSWindow._Getonvrdisplaydisconnect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvrdisplaydisconnect'))); end; function TJSWindow._Getonvrdisplayactivate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvrdisplayactivate'))); end; function TJSWindow._Getonvrdisplaydeactivate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvrdisplaydeactivate'))); end; function TJSWindow._Getonvrdisplaypresentchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvrdisplaypresentchange'))); end; function TJSWindow._GetpaintWorklet: IJSWorklet; begin Result:=ReadJSPropertyObject('paintWorklet',TJSWorklet) as IJSWorklet; end; function TJSWindow._GetintlUtils: IJSIntlUtils; begin Result:=ReadJSPropertyObject('intlUtils',TJSIntlUtils) as IJSIntlUtils; end; function TJSWindow._GetvisualViewport: IJSVisualViewport; begin Result:=ReadJSPropertyObject('visualViewport',TJSVisualViewport) as IJSVisualViewport; end; function TJSWindow._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSWindow._Getonblur: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onblur'))); end; function TJSWindow._Getonfocus: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onfocus'))); end; function TJSWindow._Getoncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncancel'))); end; function TJSWindow._Getonauxclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onauxclick'))); end; function TJSWindow._Getonbeforeinput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeinput'))); end; function TJSWindow._Getonbeforetoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforetoggle'))); end; function TJSWindow._Getoncanplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplay'))); end; function TJSWindow._Getoncanplaythrough: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncanplaythrough'))); end; function TJSWindow._Getonchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onchange'))); end; function TJSWindow._Getonclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclick'))); end; function TJSWindow._Getonclose: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onclose'))); end; function TJSWindow._Getoncontextlost: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextlost'))); end; function TJSWindow._Getoncontextmenu: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextmenu'))); end; function TJSWindow._Getoncontextrestored: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncontextrestored'))); end; function TJSWindow._Getoncopy: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncopy'))); end; function TJSWindow._Getoncuechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncuechange'))); end; function TJSWindow._Getoncut: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oncut'))); end; function TJSWindow._Getondblclick: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondblclick'))); end; function TJSWindow._Getondrag: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrag'))); end; function TJSWindow._Getondragend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragend'))); end; function TJSWindow._Getondragenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragenter'))); end; function TJSWindow._Getondragexit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragexit'))); end; function TJSWindow._Getondragleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragleave'))); end; function TJSWindow._Getondragover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragover'))); end; function TJSWindow._Getondragstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondragstart'))); end; function TJSWindow._Getondrop: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondrop'))); end; function TJSWindow._Getondurationchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ondurationchange'))); end; function TJSWindow._Getonemptied: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onemptied'))); end; function TJSWindow._Getonended: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onended'))); end; function TJSWindow._Getonformdata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onformdata'))); end; function TJSWindow._Getoninput: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninput'))); end; function TJSWindow._Getoninvalid: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('oninvalid'))); end; function TJSWindow._Getonkeydown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeydown'))); end; function TJSWindow._Getonkeypress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeypress'))); end; function TJSWindow._Getonkeyup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onkeyup'))); end; function TJSWindow._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSWindow._Getonloadeddata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadeddata'))); end; function TJSWindow._Getonloadedmetadata: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadedmetadata'))); end; function TJSWindow._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSWindow._Getonmousedown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousedown'))); end; function TJSWindow._Getonmouseenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseenter'))); end; function TJSWindow._Getonmouseleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseleave'))); end; function TJSWindow._Getonmousemove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmousemove'))); end; function TJSWindow._Getonmouseout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseout'))); end; function TJSWindow._Getonmouseover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseover'))); end; function TJSWindow._Getonmouseup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmouseup'))); end; function TJSWindow._Getonwheel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwheel'))); end; function TJSWindow._Getonpaste: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpaste'))); end; function TJSWindow._Getonpause: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpause'))); end; function TJSWindow._Getonplay: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplay'))); end; function TJSWindow._Getonplaying: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onplaying'))); end; function TJSWindow._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSWindow._Getonratechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onratechange'))); end; function TJSWindow._Getonreset: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreset'))); end; function TJSWindow._Getonresize: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onresize'))); end; function TJSWindow._Getonscroll: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscroll'))); end; function TJSWindow._Getonscrollend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onscrollend'))); end; function TJSWindow._Getonsecuritypolicyviolation: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsecuritypolicyviolation'))); end; function TJSWindow._Getonseeked: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeked'))); end; function TJSWindow._Getonseeking: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onseeking'))); end; function TJSWindow._Getonselect: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselect'))); end; function TJSWindow._Getonslotchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onslotchange'))); end; function TJSWindow._Getonstalled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstalled'))); end; function TJSWindow._Getonsubmit: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsubmit'))); end; function TJSWindow._Getonsuspend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onsuspend'))); end; function TJSWindow._Getontimeupdate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeupdate'))); end; function TJSWindow._Getonvolumechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onvolumechange'))); end; function TJSWindow._Getonwaiting: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwaiting'))); end; function TJSWindow._Getonselectstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectstart'))); end; function TJSWindow._Getonselectionchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onselectionchange'))); end; function TJSWindow._Getontoggle: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontoggle'))); end; function TJSWindow._Getonpointercancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointercancel'))); end; function TJSWindow._Getonpointerdown: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerdown'))); end; function TJSWindow._Getonpointerup: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerup'))); end; function TJSWindow._Getonpointermove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointermove'))); end; function TJSWindow._Getonpointerout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerout'))); end; function TJSWindow._Getonpointerover: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerover'))); end; function TJSWindow._Getonpointerenter: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerenter'))); end; function TJSWindow._Getonpointerleave: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpointerleave'))); end; function TJSWindow._Getongotpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongotpointercapture'))); end; function TJSWindow._Getonlostpointercapture: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlostpointercapture'))); end; function TJSWindow._Getonmozfullscreenchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenchange'))); end; function TJSWindow._Getonmozfullscreenerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmozfullscreenerror'))); end; function TJSWindow._Getonanimationcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationcancel'))); end; function TJSWindow._Getonanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationend'))); end; function TJSWindow._Getonanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationiteration'))); end; function TJSWindow._Getonanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onanimationstart'))); end; function TJSWindow._Getontransitioncancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitioncancel'))); end; function TJSWindow._Getontransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionend'))); end; function TJSWindow._Getontransitionrun: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionrun'))); end; function TJSWindow._Getontransitionstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontransitionstart'))); end; function TJSWindow._Getonwebkitanimationend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationend'))); end; function TJSWindow._Getonwebkitanimationiteration: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationiteration'))); end; function TJSWindow._Getonwebkitanimationstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkitanimationstart'))); end; function TJSWindow._Getonwebkittransitionend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onwebkittransitionend'))); end; function TJSWindow._Getonafterprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onafterprint'))); end; function TJSWindow._Getonbeforeprint: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onbeforeprint'))); end; function TJSWindow._Getonbeforeunload: TOnBeforeUnloadEventHandler; begin Result:=(TOnBeforeUnloadEventHandlerNonNull(ReadJSPropertyMethod('onbeforeunload'))); end; function TJSWindow._Getonhashchange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onhashchange'))); end; function TJSWindow._Getonlanguagechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlanguagechange'))); end; function TJSWindow._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSWindow._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSWindow._Getonoffline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoffline'))); end; function TJSWindow._Getononline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ononline'))); end; function TJSWindow._Getonpagehide: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpagehide'))); end; function TJSWindow._Getonpageshow: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpageshow'))); end; function TJSWindow._Getonpopstate: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onpopstate'))); end; function TJSWindow._Getonrejectionhandled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrejectionhandled'))); end; function TJSWindow._Getonstorage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onstorage'))); end; function TJSWindow._Getonunhandledrejection: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunhandledrejection'))); end; function TJSWindow._Getonunload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunload'))); end; function TJSWindow._Getongamepadconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepadconnected'))); end; function TJSWindow._Getongamepaddisconnected: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ongamepaddisconnected'))); end; function TJSWindow._GetsessionStorage: IJSStorage; begin Result:=ReadJSPropertyObject('sessionStorage',TJSStorage) as IJSStorage; end; function TJSWindow._GetlocalStorage: IJSStorage; begin Result:=ReadJSPropertyObject('localStorage',TJSStorage) as IJSStorage; end; function TJSWindow._Getcrypto: IJSCrypto; begin Result:=ReadJSPropertyObject('crypto',TJSCrypto) as IJSCrypto; end; function TJSWindow._Getontouchstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchstart'))); end; function TJSWindow._Getontouchend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchend'))); end; function TJSWindow._Getontouchmove: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchmove'))); end; function TJSWindow._Getontouchcancel: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontouchcancel'))); end; function TJSWindow._Getonerror: TOnErrorEventHandler; begin Result:=(TOnErrorEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSWindow._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSWindow._GetcrossOriginIsolated: Boolean; begin Result:=ReadJSPropertyBoolean('crossOriginIsolated'); end; function TJSWindow._GetisSecureContext: Boolean; begin Result:=ReadJSPropertyBoolean('isSecureContext'); end; function TJSWindow._GetindexedDB: IJSIDBFactory; begin Result:=ReadJSPropertyObject('indexedDB',TJSIDBFactory) as IJSIDBFactory; end; function TJSWindow._Getcaches: IJSCacheStorage; begin Result:=ReadJSPropertyObject('caches',TJSCacheStorage) as IJSCacheStorage; end; function TJSWindow._Getscheduler: IJSScheduler; begin Result:=ReadJSPropertyObject('scheduler',TJSScheduler) as IJSScheduler; end; function TJSWindow._GettrustedTypes: IJSTrustedTypePolicyFactory; begin Result:=ReadJSPropertyObject('trustedTypes',TJSTrustedTypePolicyFactory) as IJSTrustedTypePolicyFactory; end; procedure TJSWindow._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; procedure TJSWindow._Setstatus(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('status',aValue); end; procedure TJSWindow._Setopener(const aValue : Variant); begin WriteJSPropertyVariant('opener',aValue); end; procedure TJSWindow._SetfullScreen(const aValue : Boolean); begin WriteJSPropertyBoolean('fullScreen',aValue); end; procedure TJSWindow._Setondevicemotion(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondevicemotion',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondeviceorientation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondeviceorientation',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondeviceorientationabsolute(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondeviceorientationabsolute',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonuserproximity(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onuserproximity',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondevicelight(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondevicelight',[m],jiSet); finally m.free end; end; procedure TJSWindow._SetbrowserDOMWindow(const aValue : IJSnsIBrowserDOMWindow); begin WriteJSPropertyObject('browserDOMWindow',aValue); end; procedure TJSWindow._Setonvrdisplayconnect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvrdisplayconnect',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonvrdisplaydisconnect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvrdisplaydisconnect',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonvrdisplayactivate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvrdisplayactivate',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonvrdisplaydeactivate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvrdisplaydeactivate',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonvrdisplaypresentchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvrdisplaypresentchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonblur(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onblur',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonfocus(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onfocus',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncancel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonauxclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onauxclick',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonbeforeinput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeinput',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonbeforetoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforetoggle',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncanplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplay',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncanplaythrough(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncanplaythrough',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclick',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonclose(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onclose',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncontextlost(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextlost',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncontextmenu(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextmenu',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncontextrestored(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncontextrestored',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncopy(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncopy',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncuechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncuechange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoncut(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oncut',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondblclick(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondblclick',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondrag(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrag',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragenter',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragexit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragexit',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragleave',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragover',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondragstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondragstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondrop(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondrop',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setondurationchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ondurationchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonemptied(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onemptied',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonended(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onended',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonformdata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onformdata',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoninput(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninput',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setoninvalid(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('oninvalid',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonkeydown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeydown',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonkeypress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeypress',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonkeyup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onkeyup',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonloadeddata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadeddata',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonloadedmetadata(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadedmetadata',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmousedown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousedown',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmouseenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseenter',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmouseleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseleave',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmousemove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmousemove',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmouseout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseout',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmouseover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseover',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmouseup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmouseup',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwheel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwheel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpaste(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpaste',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpause(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpause',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonplay(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplay',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonplaying(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onplaying',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonratechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onratechange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonreset(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreset',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonresize(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onresize',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonscroll(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscroll',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonscrollend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onscrollend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonsecuritypolicyviolation(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsecuritypolicyviolation',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonseeked(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeked',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonseeking(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onseeking',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonselect(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselect',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonslotchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onslotchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonstalled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstalled',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonsubmit(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsubmit',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonsuspend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onsuspend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontimeupdate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeupdate',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonvolumechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onvolumechange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwaiting(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwaiting',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonselectstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonselectionchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onselectionchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontoggle(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontoggle',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointercancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointercancel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerdown(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerdown',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerup(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerup',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointermove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointermove',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerout',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerover(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerover',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerenter(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerenter',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpointerleave(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpointerleave',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setongotpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongotpointercapture',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonlostpointercapture(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlostpointercapture',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmozfullscreenchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmozfullscreenerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmozfullscreenerror',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonanimationcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationcancel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onanimationstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontransitioncancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitioncancel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontransitionrun(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionrun',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontransitionstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontransitionstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwebkitanimationend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwebkitanimationiteration(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationiteration',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwebkitanimationstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkitanimationstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonwebkittransitionend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onwebkittransitionend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonafterprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onafterprint',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonbeforeprint(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onbeforeprint',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonbeforeunload(const aValue : TOnBeforeUnloadEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnBeforeUnloadEventHandlerNonNull); try InvokeJSNoResult('onbeforeunload',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonhashchange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onhashchange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonlanguagechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlanguagechange',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonoffline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoffline',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setononline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ononline',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpagehide(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpagehide',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpageshow(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpageshow',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonpopstate(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onpopstate',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonrejectionhandled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrejectionhandled',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonstorage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onstorage',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonunhandledrejection(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunhandledrejection',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonunload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunload',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setongamepadconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepadconnected',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setongamepaddisconnected(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ongamepaddisconnected',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontouchstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchstart',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontouchend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchend',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontouchmove(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchmove',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setontouchcancel(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontouchcancel',[m],jiSet); finally m.free end; end; procedure TJSWindow._Setonerror(const aValue : TOnErrorEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnErrorEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSWindow.close; begin InvokeJSNoResult('close',[]); end; procedure TJSWindow.stop; begin InvokeJSNoResult('stop',[]); end; procedure TJSWindow.focus; begin InvokeJSNoResult('focus',[]); end; procedure TJSWindow.blur; begin InvokeJSNoResult('blur',[]); end; function TJSWindow.open(const aUrl: UnicodeString; const aTarget: UnicodeString; const aFeatures: UnicodeString): IJSWindowProxy; begin Result:=InvokeJSObjectResult('open',[aUrl,aTarget,aFeatures],TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow.open: IJSWindowProxy; begin Result:=InvokeJSObjectResult('open',[],TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow.open(const aUrl: UnicodeString): IJSWindowProxy; begin Result:=InvokeJSObjectResult('open',[aUrl],TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow.open(const aUrl: UnicodeString; const aTarget: UnicodeString): IJSWindowProxy; begin Result:=InvokeJSObjectResult('open',[aUrl,aTarget],TJSWindowProxy) as IJSWindowProxy; end; function TJSWindow.GetDefault(const aName: UnicodeString): IJSObject; begin Result:=InvokeJSObjectResult('',[aName],TJSObject) as IJSObject; end; procedure TJSWindow.alert; begin InvokeJSNoResult('alert',[]); end; procedure TJSWindow.alert(const aMessage: UnicodeString); begin InvokeJSNoResult('alert',[aMessage]); end; function TJSWindow.confirm(const aMessage: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('confirm',[aMessage]); end; function TJSWindow.confirm: Boolean; begin Result:=InvokeJSBooleanResult('confirm',[]); end; function TJSWindow.prompt(const aMessage: UnicodeString; const aDefault: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('prompt',[aMessage,aDefault]); end; function TJSWindow.prompt: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('prompt',[]); end; function TJSWindow.prompt(const aMessage: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('prompt',[aMessage]); end; procedure TJSWindow.print; begin InvokeJSNoResult('print',[]); end; procedure TJSWindow.postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString; const aTransfer: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTargetOrigin,aTransfer]); end; procedure TJSWindow.postMessage(const aMessage: Variant; const aTargetOrigin: UnicodeString); begin InvokeJSNoResult('postMessage',[aMessage,aTargetOrigin]); end; procedure TJSWindow.postMessage(const aMessage: Variant; const aOptions: IJSWindowPostMessageOptions); begin InvokeJSNoResult('postMessage',[aMessage,aOptions]); end; procedure TJSWindow.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; procedure TJSWindow.captureEvents; begin InvokeJSNoResult('captureEvents',[]); end; procedure TJSWindow.releaseEvents; begin InvokeJSNoResult('releaseEvents',[]); end; function TJSWindow.getSelection: IJSSelection; begin Result:=InvokeJSObjectResult('getSelection',[],TJSSelection) as IJSSelection; end; function TJSWindow.getComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; begin Result:=InvokeJSObjectResult('getComputedStyle',[aElt,aPseudoElt],TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSWindow.getComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; begin Result:=InvokeJSObjectResult('getComputedStyle',[aElt],TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSWindow.matchMedia(const aQuery: UTF8String): IJSMediaQueryList; begin Result:=InvokeJSObjectResult('matchMedia',[aQuery],TJSMediaQueryList) as IJSMediaQueryList; end; procedure TJSWindow.moveTo(aX: LongInt; aY: LongInt); begin InvokeJSNoResult('moveTo',[aX,aY]); end; procedure TJSWindow.moveBy(aX: LongInt; aY: LongInt); begin InvokeJSNoResult('moveBy',[aX,aY]); end; procedure TJSWindow.resizeTo(aX: LongInt; aY: LongInt); begin InvokeJSNoResult('resizeTo',[aX,aY]); end; procedure TJSWindow.resizeBy(aX: LongInt; aY: LongInt); begin InvokeJSNoResult('resizeBy',[aX,aY]); end; procedure TJSWindow.scroll(aX: Double; aY: Double); begin InvokeJSNoResult('scroll',[aX,aY]); end; procedure TJSWindow.scroll(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scroll',[aOptions]); end; procedure TJSWindow.scroll; begin InvokeJSNoResult('scroll',[]); end; procedure TJSWindow.scrollTo(aX: Double; aY: Double); begin InvokeJSNoResult('scrollTo',[aX,aY]); end; procedure TJSWindow.scrollTo(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scrollTo',[aOptions]); end; procedure TJSWindow.scrollTo; begin InvokeJSNoResult('scrollTo',[]); end; procedure TJSWindow.scrollBy(aX: Double; aY: Double); begin InvokeJSNoResult('scrollBy',[aX,aY]); end; procedure TJSWindow.scrollBy(const aOptions: IJSScrollToOptions); begin InvokeJSNoResult('scrollBy',[aOptions]); end; procedure TJSWindow.scrollBy; begin InvokeJSNoResult('scrollBy',[]); end; function TJSWindow.getDefaultComputedStyle(aElt: IJSElement; const aPseudoElt: UnicodeString): IJSCSSStyleDeclaration; begin Result:=InvokeJSObjectResult('getDefaultComputedStyle',[aElt,aPseudoElt],TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; function TJSWindow.getDefaultComputedStyle(aElt: IJSElement): IJSCSSStyleDeclaration; begin Result:=InvokeJSObjectResult('getDefaultComputedStyle',[aElt],TJSCSSStyleDeclaration) as IJSCSSStyleDeclaration; end; procedure TJSWindow.scrollByLines(aNumLines: LongInt; const aOptions: IJSScrollOptions); begin InvokeJSNoResult('scrollByLines',[aNumLines,aOptions]); end; procedure TJSWindow.scrollByLines(aNumLines: LongInt); begin InvokeJSNoResult('scrollByLines',[aNumLines]); end; procedure TJSWindow.scrollByPages(aNumPages: LongInt; const aOptions: IJSScrollOptions); begin InvokeJSNoResult('scrollByPages',[aNumPages,aOptions]); end; procedure TJSWindow.scrollByPages(aNumPages: LongInt); begin InvokeJSNoResult('scrollByPages',[aNumPages]); end; procedure TJSWindow.sizeToContent; begin InvokeJSNoResult('sizeToContent',[]); end; procedure TJSWindow.updateCommands(const aAction: UnicodeString); begin InvokeJSNoResult('updateCommands',[aAction]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean; aShowDialog: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive,aBackwards,aWrapAround,aWholeWord,aSearchInFrames,aShowDialog]); end; function TJSWindow.find: Boolean; begin Result:=InvokeJSBooleanResult('find',[]); end; function TJSWindow.find(const aStr: UnicodeString): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive,aBackwards]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive,aBackwards,aWrapAround]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive,aBackwards,aWrapAround,aWholeWord]); end; function TJSWindow.find(const aStr: UnicodeString; aCaseSensitive: Boolean; aBackwards: Boolean; aWrapAround: Boolean; aWholeWord: Boolean; aSearchInFrames: Boolean): Boolean; begin Result:=InvokeJSBooleanResult('find',[aStr,aCaseSensitive,aBackwards,aWrapAround,aWholeWord,aSearchInFrames]); end; procedure TJSWindow.dump(const aStr: UnicodeString); begin InvokeJSNoResult('dump',[aStr]); end; procedure TJSWindow.setResizable(aResizable: Boolean); begin InvokeJSNoResult('setResizable',[aResizable]); end; procedure TJSWindow.getAttention; begin InvokeJSNoResult('getAttention',[]); end; procedure TJSWindow.getAttentionWithCycleCount(aACycleCount: LongInt); begin InvokeJSNoResult('getAttentionWithCycleCount',[aACycleCount]); end; procedure TJSWindow.setCursor(const aCursor: UTF8String); begin InvokeJSNoResult('setCursor',[aCursor]); end; procedure TJSWindow.maximize; begin InvokeJSNoResult('maximize',[]); end; procedure TJSWindow.minimize; begin InvokeJSNoResult('minimize',[]); end; procedure TJSWindow.restore; begin InvokeJSNoResult('restore',[]); end; function TJSWindow.getWorkspaceID: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getWorkspaceID',[]); end; procedure TJSWindow.moveToWorkspace(const aWorkspaceID: UnicodeString); begin InvokeJSNoResult('moveToWorkspace',[aWorkspaceID]); end; procedure TJSWindow.notifyDefaultButtonLoaded(aDefaultButton: IJSElement); begin InvokeJSNoResult('notifyDefaultButtonLoaded',[aDefaultButton]); end; function TJSWindow.promiseDocumentFlushed(const aCallback: TPromiseDocumentFlushedCallback): IJSPromise; // Promise var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallPromiseDocumentFlushedCallback); try Result:=InvokeJSObjectResult('promiseDocumentFlushed',[m],TJSPromise) as IJSPromise; finally m.free; end; end; function TJSWindow.requestIdleCallback(const aCallback: TIdleRequestCallback; const aOptions: IJSIdleRequestOptions): Cardinal; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallIdleRequestCallback); try Result:=InvokeJSLongIntResult('requestIdleCallback',[m,aOptions]); finally m.free; end; end; function TJSWindow.requestIdleCallback(const aCallback: TIdleRequestCallback): Cardinal; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallIdleRequestCallback); try Result:=InvokeJSLongIntResult('requestIdleCallback',[m]); finally m.free; end; end; procedure TJSWindow.cancelIdleCallback(aHandle: Cardinal); begin InvokeJSNoResult('cancelIdleCallback',[aHandle]); end; function TJSWindow.getRegionalPrefsLocales: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getRegionalPrefsLocales',[],TJSArray) as TUnicodeStringDynArray; end; function TJSWindow.getWebExposedLocales: TUnicodeStringDynArray; begin Result:=InvokeJSObjectResult('getWebExposedLocales',[],TJSArray) as TUnicodeStringDynArray; end; function TJSWindow.requestAnimationFrame(const aCallback: TFrameRequestCallback): LongInt; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallFrameRequestCallback); try Result:=InvokeJSLongIntResult('requestAnimationFrame',[m]); finally m.free; end; end; procedure TJSWindow.cancelAnimationFrame(aHandle: LongInt); begin InvokeJSNoResult('cancelAnimationFrame',[aHandle]); end; procedure TJSWindow.reportError(const aE: Variant); begin InvokeJSNoResult('reportError',[aE]); end; function TJSWindow.btoa(const aBtoa: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('btoa',[aBtoa]); end; function TJSWindow.atob(const aAtob: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('atob',[aAtob]); end; function TJSWindow.setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWindow.setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m]); finally m.free; end; end; function TJSWindow.setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler,aTimeout,aUnused]); end; function TJSWindow.setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler]); end; procedure TJSWindow.clearTimeout(aHandle: LongInt); begin InvokeJSNoResult('clearTimeout',[aHandle]); end; procedure TJSWindow.clearTimeout; begin InvokeJSNoResult('clearTimeout',[]); end; function TJSWindow.setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWindow.setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m]); finally m.free; end; end; function TJSWindow.setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler,aTimeout,aUnused]); end; function TJSWindow.setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler]); end; procedure TJSWindow.clearInterval(aHandle: LongInt); begin InvokeJSNoResult('clearInterval',[aHandle]); end; procedure TJSWindow.clearInterval; begin InvokeJSNoResult('clearInterval',[]); end; procedure TJSWindow.queueMicrotask(const aCallback: TVoidFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallVoidFunction); try InvokeJSNoResult('queueMicrotask',[m]); finally m.free; end; end; function TJSWindow.createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindow.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindow.structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue,aOptions]); end; function TJSWindow.structuredClone(const aValue: Variant): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue]); end; function TJSWindow.fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWindow.fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWindow.fetch(const aInput: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; function TJSWindow.fetch(aInput: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; class function TJSWindow.JSClassName: UnicodeString; begin Result:='Window'; end; class function TJSWindow.Cast(const Intf: IJSObject): IJSWindow; begin Result:=TJSWindow.JOBCast(Intf); end; function TJSWindowSessionStorage._GetsessionStorage: IJSStorage; begin Result:=ReadJSPropertyObject('sessionStorage',TJSStorage) as IJSStorage; end; class function TJSWindowSessionStorage.JSClassName: UnicodeString; begin Result:='WindowSessionStorage'; end; class function TJSWindowSessionStorage.Cast(const Intf: IJSObject): IJSWindowSessionStorage; begin Result:=TJSWindowSessionStorage.JOBCast(Intf); end; function TJSWindowLocalStorage._GetlocalStorage: IJSStorage; begin Result:=ReadJSPropertyObject('localStorage',TJSStorage) as IJSStorage; end; class function TJSWindowLocalStorage.JSClassName: UnicodeString; begin Result:='WindowLocalStorage'; end; class function TJSWindowLocalStorage.Cast(const Intf: IJSObject): IJSWindowLocalStorage; begin Result:=TJSWindowLocalStorage.JOBCast(Intf); end; function TJSScrollOptions._Getbehavior: TScrollBehavior; begin Result:=ReadJSPropertyUnicodeString('behavior'); end; procedure TJSScrollOptions._Setbehavior(const aValue : TScrollBehavior); begin WriteJSPropertyUnicodeString('behavior',aValue); end; constructor TJSScrollOptions.create(const aDict : TJSScrollOptionsRec); overload; begin Self.behavior:=aDict.behavior; end; class function TJSScrollOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollOptions.Cast(const Intf: IJSObject): IJSScrollOptions; begin Result:=TJSScrollOptions.JOBCast(Intf); end; function TJSScrollToOptions._Getleft: Double; begin Result:=ReadJSPropertyDouble('left'); end; function TJSScrollToOptions._Gettop: Double; begin Result:=ReadJSPropertyDouble('top'); end; procedure TJSScrollToOptions._Setleft(const aValue : Double); begin WriteJSPropertyDouble('left',aValue); end; procedure TJSScrollToOptions._Settop(const aValue : Double); begin WriteJSPropertyDouble('top',aValue); end; constructor TJSScrollToOptions.create(const aDict : TJSScrollToOptionsRec); overload; begin Self.left:=aDict.left; Self.top:=aDict.top; end; class function TJSScrollToOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSScrollToOptions.Cast(const Intf: IJSObject): IJSScrollToOptions; begin Result:=TJSScrollToOptions.JOBCast(Intf); end; function TJSSizeToContentConstraints._GetmaxWidth: LongInt; begin Result:=ReadJSPropertyLongInt('maxWidth'); end; function TJSSizeToContentConstraints._GetmaxHeight: LongInt; begin Result:=ReadJSPropertyLongInt('maxHeight'); end; function TJSSizeToContentConstraints._GetprefWidth: LongInt; begin Result:=ReadJSPropertyLongInt('prefWidth'); end; procedure TJSSizeToContentConstraints._SetmaxWidth(const aValue : LongInt); begin WriteJSPropertyLongInt('maxWidth',aValue); end; procedure TJSSizeToContentConstraints._SetmaxHeight(const aValue : LongInt); begin WriteJSPropertyLongInt('maxHeight',aValue); end; procedure TJSSizeToContentConstraints._SetprefWidth(const aValue : LongInt); begin WriteJSPropertyLongInt('prefWidth',aValue); end; constructor TJSSizeToContentConstraints.create(const aDict : TJSSizeToContentConstraintsRec); overload; begin Self.maxWidth:=aDict.maxWidth; Self.maxHeight:=aDict.maxHeight; Self.prefWidth:=aDict.prefWidth; end; class function TJSSizeToContentConstraints.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSSizeToContentConstraints.Cast(const Intf: IJSObject): IJSSizeToContentConstraints; begin Result:=TJSSizeToContentConstraints.JOBCast(Intf); end; function TJSIdleRequestOptions._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; procedure TJSIdleRequestOptions._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; constructor TJSIdleRequestOptions.create(const aDict : TJSIdleRequestOptionsRec); overload; begin Self.timeout:=aDict.timeout; end; class function TJSIdleRequestOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSIdleRequestOptions.Cast(const Intf: IJSObject): IJSIdleRequestOptions; begin Result:=TJSIdleRequestOptions.JOBCast(Intf); end; function TJSWindowPostMessageOptions._GettargetOrigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('targetOrigin'); end; procedure TJSWindowPostMessageOptions._SettargetOrigin(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('targetOrigin',aValue); end; constructor TJSWindowPostMessageOptions.create(const aDict : TJSWindowPostMessageOptionsRec); overload; begin Self.targetOrigin:=aDict.targetOrigin; end; class function TJSWindowPostMessageOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWindowPostMessageOptions.Cast(const Intf: IJSObject): IJSWindowPostMessageOptions; begin Result:=TJSWindowPostMessageOptions.JOBCast(Intf); end; function TJSWindowOrWorkerGlobalScope._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSWindowOrWorkerGlobalScope._GetcrossOriginIsolated: Boolean; begin Result:=ReadJSPropertyBoolean('crossOriginIsolated'); end; function TJSWindowOrWorkerGlobalScope._GetisSecureContext: Boolean; begin Result:=ReadJSPropertyBoolean('isSecureContext'); end; function TJSWindowOrWorkerGlobalScope._GetindexedDB: IJSIDBFactory; begin Result:=ReadJSPropertyObject('indexedDB',TJSIDBFactory) as IJSIDBFactory; end; function TJSWindowOrWorkerGlobalScope._Getcaches: IJSCacheStorage; begin Result:=ReadJSPropertyObject('caches',TJSCacheStorage) as IJSCacheStorage; end; function TJSWindowOrWorkerGlobalScope._Getscheduler: IJSScheduler; begin Result:=ReadJSPropertyObject('scheduler',TJSScheduler) as IJSScheduler; end; function TJSWindowOrWorkerGlobalScope._GettrustedTypes: IJSTrustedTypePolicyFactory; begin Result:=ReadJSPropertyObject('trustedTypes',TJSTrustedTypePolicyFactory) as IJSTrustedTypePolicyFactory; end; procedure TJSWindowOrWorkerGlobalScope.reportError(const aE: Variant); begin InvokeJSNoResult('reportError',[aE]); end; function TJSWindowOrWorkerGlobalScope.btoa(const aBtoa: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('btoa',[aBtoa]); end; function TJSWindowOrWorkerGlobalScope.atob(const aAtob: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('atob',[aAtob]); end; function TJSWindowOrWorkerGlobalScope.setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWindowOrWorkerGlobalScope.setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m]); finally m.free; end; end; function TJSWindowOrWorkerGlobalScope.setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler,aTimeout,aUnused]); end; function TJSWindowOrWorkerGlobalScope.setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler]); end; procedure TJSWindowOrWorkerGlobalScope.clearTimeout(aHandle: LongInt); begin InvokeJSNoResult('clearTimeout',[aHandle]); end; procedure TJSWindowOrWorkerGlobalScope.clearTimeout; begin InvokeJSNoResult('clearTimeout',[]); end; function TJSWindowOrWorkerGlobalScope.setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWindowOrWorkerGlobalScope.setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m]); finally m.free; end; end; function TJSWindowOrWorkerGlobalScope.setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler,aTimeout,aUnused]); end; function TJSWindowOrWorkerGlobalScope.setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler]); end; procedure TJSWindowOrWorkerGlobalScope.clearInterval(aHandle: LongInt); begin InvokeJSNoResult('clearInterval',[aHandle]); end; procedure TJSWindowOrWorkerGlobalScope.clearInterval; begin InvokeJSNoResult('clearInterval',[]); end; procedure TJSWindowOrWorkerGlobalScope.queueMicrotask(const aCallback: TVoidFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallVoidFunction); try InvokeJSNoResult('queueMicrotask',[m]); finally m.free; end; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue,aOptions]); end; function TJSWindowOrWorkerGlobalScope.structuredClone(const aValue: Variant): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue]); end; function TJSWindowOrWorkerGlobalScope.fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.fetch(const aInput: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; function TJSWindowOrWorkerGlobalScope.fetch(aInput: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; class function TJSWindowOrWorkerGlobalScope.JSClassName: UnicodeString; begin Result:='WindowOrWorkerGlobalScope'; end; class function TJSWindowOrWorkerGlobalScope.Cast(const Intf: IJSObject): IJSWindowOrWorkerGlobalScope; begin Result:=TJSWindowOrWorkerGlobalScope.JOBCast(Intf); end; function TJSWorker._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSWorker._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; function TJSWorker._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; procedure TJSWorker._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSWorker._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; procedure TJSWorker._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; constructor TJSWorker.Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); begin JOBCreate([aScriptURL,aOptions]); end; constructor TJSWorker.Create(const aScriptURL: UnicodeString); begin JOBCreate([aScriptURL]); end; procedure TJSWorker.terminate; begin InvokeJSNoResult('terminate',[]); end; procedure TJSWorker.postMessage(const aMessage: Variant; const aTransfer: TIJSObjectDynArray); begin InvokeJSNoResult('postMessage',[aMessage,aTransfer]); end; procedure TJSWorker.postMessage(const aMessage: Variant; const aAOptions: IJSStructuredSerializeOptions); begin InvokeJSNoResult('postMessage',[aMessage,aAOptions]); end; procedure TJSWorker.postMessage(const aMessage: Variant); begin InvokeJSNoResult('postMessage',[aMessage]); end; class function TJSWorker.JSClassName: UnicodeString; begin Result:='Worker'; end; class function TJSWorker.Cast(const Intf: IJSObject): IJSWorker; begin Result:=TJSWorker.JOBCast(Intf); end; function TJSWorkerOptions._Gettype_: TWorkerType; begin Result:=ReadJSPropertyUnicodeString('type'); end; function TJSWorkerOptions._Getcredentials: TRequestCredentials; begin Result:=ReadJSPropertyUnicodeString('credentials'); end; function TJSWorkerOptions._Getname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('name'); end; procedure TJSWorkerOptions._Settype_(const aValue : TWorkerType); begin WriteJSPropertyUnicodeString('type',aValue); end; procedure TJSWorkerOptions._Setcredentials(const aValue : TRequestCredentials); begin WriteJSPropertyUnicodeString('credentials',aValue); end; procedure TJSWorkerOptions._Setname(const aValue : UnicodeString); begin WriteJSPropertyUnicodeString('name',aValue); end; constructor TJSWorkerOptions.create(const aDict : TJSWorkerOptionsRec); overload; begin Self.type_:=aDict.type_; Self.credentials:=aDict.credentials; Self.name:=aDict.name; end; class function TJSWorkerOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWorkerOptions.Cast(const Intf: IJSObject): IJSWorkerOptions; begin Result:=TJSWorkerOptions.JOBCast(Intf); end; constructor TJSChromeWorker.Create(const aScriptURL: UnicodeString; const aOptions: IJSWorkerOptions); begin JOBCreate([aScriptURL,aOptions]); end; constructor TJSChromeWorker.Create(const aScriptURL: UnicodeString); begin JOBCreate([aScriptURL]); end; class function TJSChromeWorker.JSClassName: UnicodeString; begin Result:='ChromeWorker'; end; class function TJSChromeWorker.Cast(const Intf: IJSObject): IJSChromeWorker; begin Result:=TJSChromeWorker.JOBCast(Intf); end; function TJSWorkerDebuggerGlobalScope._Getglobal: IJSObject; begin Result:=ReadJSPropertyObject('global',TJSObject) as IJSObject; end; function TJSWorkerDebuggerGlobalScope._Getonmessage: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessage'))); end; function TJSWorkerDebuggerGlobalScope._Getonmessageerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onmessageerror'))); end; procedure TJSWorkerDebuggerGlobalScope._Setonmessage(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessage',[m],jiSet); finally m.free end; end; procedure TJSWorkerDebuggerGlobalScope._Setonmessageerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onmessageerror',[m],jiSet); finally m.free end; end; function TJSWorkerDebuggerGlobalScope.createSandbox(const aName: UnicodeString; aPrototype: IJSObject): IJSObject; begin Result:=InvokeJSObjectResult('createSandbox',[aName,aPrototype],TJSObject) as IJSObject; end; procedure TJSWorkerDebuggerGlobalScope.loadSubScript(const aUrl: UnicodeString; aSandbox: IJSObject); begin InvokeJSNoResult('loadSubScript',[aUrl,aSandbox]); end; procedure TJSWorkerDebuggerGlobalScope.loadSubScript(const aUrl: UnicodeString); begin InvokeJSNoResult('loadSubScript',[aUrl]); end; procedure TJSWorkerDebuggerGlobalScope.enterEventLoop; begin InvokeJSNoResult('enterEventLoop',[]); end; procedure TJSWorkerDebuggerGlobalScope.leaveEventLoop; begin InvokeJSNoResult('leaveEventLoop',[]); end; procedure TJSWorkerDebuggerGlobalScope.postMessage(const aMessage: UnicodeString); begin InvokeJSNoResult('postMessage',[aMessage]); end; procedure TJSWorkerDebuggerGlobalScope.setImmediate(const aHandler: TFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try InvokeJSNoResult('setImmediate',[m]); finally m.free; end; end; procedure TJSWorkerDebuggerGlobalScope.reportError(const aMessage: UnicodeString); begin InvokeJSNoResult('reportError',[aMessage]); end; function TJSWorkerDebuggerGlobalScope.retrieveConsoleEvents: TVariantDynArray; begin Result:=InvokeJSObjectResult('retrieveConsoleEvents',[],TJSArray) as TVariantDynArray; end; procedure TJSWorkerDebuggerGlobalScope.setConsoleEventHandler(const aHandler: TAnyCallback); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallAnyCallback); try InvokeJSNoResult('setConsoleEventHandler',[m]); finally m.free; end; end; procedure TJSWorkerDebuggerGlobalScope.clearConsoleEvents; begin InvokeJSNoResult('clearConsoleEvents',[]); end; function TJSWorkerDebuggerGlobalScope.btoa(const aBtoa: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('btoa',[aBtoa]); end; function TJSWorkerDebuggerGlobalScope.atob(const aAtob: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('atob',[aAtob]); end; procedure TJSWorkerDebuggerGlobalScope.dump(const aString_: UnicodeString); begin InvokeJSNoResult('dump',[aString_]); end; procedure TJSWorkerDebuggerGlobalScope.dump; begin InvokeJSNoResult('dump',[]); end; class function TJSWorkerDebuggerGlobalScope.JSClassName: UnicodeString; begin Result:='WorkerDebuggerGlobalScope'; end; class function TJSWorkerDebuggerGlobalScope.Cast(const Intf: IJSObject): IJSWorkerDebuggerGlobalScope; begin Result:=TJSWorkerDebuggerGlobalScope.JOBCast(Intf); end; function TJSWorkerGlobalScope._Getself_: IJSWorkerGlobalScope; begin Result:=ReadJSPropertyObject('self',TJSWorkerGlobalScope) as IJSWorkerGlobalScope; end; function TJSWorkerGlobalScope._Getlocation: IJSWorkerLocation; begin Result:=ReadJSPropertyObject('location',TJSWorkerLocation) as IJSWorkerLocation; end; function TJSWorkerGlobalScope._Getnavigator: IJSWorkerNavigator; begin Result:=ReadJSPropertyObject('navigator',TJSWorkerNavigator) as IJSWorkerNavigator; end; function TJSWorkerGlobalScope._Getonerror: TOnErrorEventHandler; begin Result:=(TOnErrorEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSWorkerGlobalScope._Getonlanguagechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onlanguagechange'))); end; function TJSWorkerGlobalScope._Getonoffline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onoffline'))); end; function TJSWorkerGlobalScope._Getononline: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ononline'))); end; function TJSWorkerGlobalScope._Getonrejectionhandled: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onrejectionhandled'))); end; function TJSWorkerGlobalScope._Getonunhandledrejection: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onunhandledrejection'))); end; function TJSWorkerGlobalScope._Getperformance: IJSPerformance; begin Result:=ReadJSPropertyObject('performance',TJSPerformance) as IJSPerformance; end; function TJSWorkerGlobalScope._Getcrypto: IJSCrypto; begin Result:=ReadJSPropertyObject('crypto',TJSCrypto) as IJSCrypto; end; function TJSWorkerGlobalScope._Getfonts: IJSFontFaceSet; begin Result:=ReadJSPropertyObject('fonts',TJSFontFaceSet) as IJSFontFaceSet; end; function TJSWorkerGlobalScope._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSWorkerGlobalScope._GetcrossOriginIsolated: Boolean; begin Result:=ReadJSPropertyBoolean('crossOriginIsolated'); end; function TJSWorkerGlobalScope._GetisSecureContext: Boolean; begin Result:=ReadJSPropertyBoolean('isSecureContext'); end; function TJSWorkerGlobalScope._GetindexedDB: IJSIDBFactory; begin Result:=ReadJSPropertyObject('indexedDB',TJSIDBFactory) as IJSIDBFactory; end; function TJSWorkerGlobalScope._Getcaches: IJSCacheStorage; begin Result:=ReadJSPropertyObject('caches',TJSCacheStorage) as IJSCacheStorage; end; function TJSWorkerGlobalScope._Getscheduler: IJSScheduler; begin Result:=ReadJSPropertyObject('scheduler',TJSScheduler) as IJSScheduler; end; function TJSWorkerGlobalScope._GettrustedTypes: IJSTrustedTypePolicyFactory; begin Result:=ReadJSPropertyObject('trustedTypes',TJSTrustedTypePolicyFactory) as IJSTrustedTypePolicyFactory; end; procedure TJSWorkerGlobalScope._Setonerror(const aValue : TOnErrorEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallOnErrorEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope._Setonlanguagechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onlanguagechange',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope._Setonoffline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onoffline',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope._Setononline(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ononline',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope._Setonrejectionhandled(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onrejectionhandled',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope._Setonunhandledrejection(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onunhandledrejection',[m],jiSet); finally m.free end; end; procedure TJSWorkerGlobalScope.importScripts(const aUrls: UnicodeString){; ToDo:varargs}; begin InvokeJSNoResult('importScripts',[aUrls]); end; procedure TJSWorkerGlobalScope.dump(const aStr: UnicodeString); begin InvokeJSNoResult('dump',[aStr]); end; procedure TJSWorkerGlobalScope.dump; begin InvokeJSNoResult('dump',[]); end; function TJSWorkerGlobalScope.getJSTestingFunctions: IJSObject; begin Result:=InvokeJSObjectResult('getJSTestingFunctions',[],TJSObject) as IJSObject; end; procedure TJSWorkerGlobalScope.reportError(const aE: Variant); begin InvokeJSNoResult('reportError',[aE]); end; function TJSWorkerGlobalScope.btoa(const aBtoa: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('btoa',[aBtoa]); end; function TJSWorkerGlobalScope.atob(const aAtob: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('atob',[aAtob]); end; function TJSWorkerGlobalScope.setTimeout(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWorkerGlobalScope.setTimeout(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setTimeout',[m]); finally m.free; end; end; function TJSWorkerGlobalScope.setTimeout(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler,aTimeout,aUnused]); end; function TJSWorkerGlobalScope.setTimeout(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setTimeout',[aHandler]); end; procedure TJSWorkerGlobalScope.clearTimeout(aHandle: LongInt); begin InvokeJSNoResult('clearTimeout',[aHandle]); end; procedure TJSWorkerGlobalScope.clearTimeout; begin InvokeJSNoResult('clearTimeout',[]); end; function TJSWorkerGlobalScope.setInterval(const aHandler: TFunction; aTimeout: LongInt; const aArguments: Variant): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m,aTimeout,aArguments]); finally m.free; end; end; function TJSWorkerGlobalScope.setInterval(const aHandler: TFunction): LongInt{; ToDo:varargs}; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aHandler),@JOBCallFunction_); try Result:=InvokeJSLongIntResult('setInterval',[m]); finally m.free; end; end; function TJSWorkerGlobalScope.setInterval(const aHandler: UnicodeString; aTimeout: LongInt; const aUnused: Variant): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler,aTimeout,aUnused]); end; function TJSWorkerGlobalScope.setInterval(const aHandler: UnicodeString): LongInt{; ToDo:varargs}; begin Result:=InvokeJSLongIntResult('setInterval',[aHandler]); end; procedure TJSWorkerGlobalScope.clearInterval(aHandle: LongInt); begin InvokeJSNoResult('clearInterval',[aHandle]); end; procedure TJSWorkerGlobalScope.clearInterval; begin InvokeJSNoResult('clearInterval',[]); end; procedure TJSWorkerGlobalScope.queueMicrotask(const aCallback: TVoidFunction); var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aCallback),@JOBCallVoidFunction); try InvokeJSNoResult('queueMicrotask',[m]); finally m.free; end; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt; const aAOptions: IJSImageBitmapOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh,aAOptions],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSImageData; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSCanvasRenderingContext2D; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(const aAImage: TCanvasImageSource; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.createImageBitmap(aAImage: IJSBlob; aASx: LongInt; aASy: LongInt; aASw: LongInt; aASh: LongInt): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('createImageBitmap',[aAImage,aASx,aASy,aASw,aASh],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.structuredClone(const aValue: Variant; const aOptions: IJSStructuredSerializeOptions): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue,aOptions]); end; function TJSWorkerGlobalScope.structuredClone(const aValue: Variant): Variant; begin Result:=InvokeJSVariantResult('structuredClone',[aValue]); end; function TJSWorkerGlobalScope.fetch(aInput: IJSRequest; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.fetch(const aInput: UTF8String; const aInit: IJSRequestInit): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput,aInit],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.fetch(const aInput: UTF8String): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; function TJSWorkerGlobalScope.fetch(aInput: IJSRequest): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('fetch',[aInput],TJSPromise) as IJSPromise; end; class function TJSWorkerGlobalScope.JSClassName: UnicodeString; begin Result:='WorkerGlobalScope'; end; class function TJSWorkerGlobalScope.Cast(const Intf: IJSObject): IJSWorkerGlobalScope; begin Result:=TJSWorkerGlobalScope.JOBCast(Intf); end; function TJSWorkerLocation._Gethref: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('href'); end; function TJSWorkerLocation._Getorigin: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('origin'); end; function TJSWorkerLocation._Getprotocol: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('protocol'); end; function TJSWorkerLocation._Gethost: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('host'); end; function TJSWorkerLocation._Gethostname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hostname'); end; function TJSWorkerLocation._Getport: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('port'); end; function TJSWorkerLocation._Getpathname: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('pathname'); end; function TJSWorkerLocation._Getsearch: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('search'); end; function TJSWorkerLocation._Gethash: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('hash'); end; class function TJSWorkerLocation.JSClassName: UnicodeString; begin Result:='WorkerLocation'; end; class function TJSWorkerLocation.Cast(const Intf: IJSObject): IJSWorkerLocation; begin Result:=TJSWorkerLocation.JOBCast(Intf); end; function TJSWorkerNavigator._Getconnection: IJSNetworkInformation; begin Result:=ReadJSPropertyObject('connection',TJSNetworkInformation) as IJSNetworkInformation; end; function TJSWorkerNavigator._GetmediaCapabilities: IJSMediaCapabilities; begin Result:=ReadJSPropertyObject('mediaCapabilities',TJSMediaCapabilities) as IJSMediaCapabilities; end; function TJSWorkerNavigator._GetappCodeName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appCodeName'); end; function TJSWorkerNavigator._GetappName: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appName'); end; function TJSWorkerNavigator._GetappVersion: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('appVersion'); end; function TJSWorkerNavigator._Getplatform: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('platform'); end; function TJSWorkerNavigator._GetuserAgent: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('userAgent'); end; function TJSWorkerNavigator._Getproduct: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('product'); end; function TJSWorkerNavigator._Getlanguage: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('language'); end; function TJSWorkerNavigator._Getlanguages: TUnicodeStringDynArray; begin Result:=ReadJSPropertyObject('languages',TJSArray) as TUnicodeStringDynArray; end; function TJSWorkerNavigator._GetonLine: Boolean; begin Result:=ReadJSPropertyBoolean('onLine'); end; function TJSWorkerNavigator._GethardwareConcurrency: QWord; begin Result:=ReadJSPropertyInt64('hardwareConcurrency'); end; function TJSWorkerNavigator._Getstorage: IJSStorageManager; begin Result:=ReadJSPropertyObject('storage',TJSStorageManager) as IJSStorageManager; end; function TJSWorkerNavigator._GetglobalPrivacyControl: Boolean; begin Result:=ReadJSPropertyBoolean('globalPrivacyControl'); end; function TJSWorkerNavigator._Getlocks: IJSLockManager; begin Result:=ReadJSPropertyObject('locks',TJSLockManager) as IJSLockManager; end; function TJSWorkerNavigator._Getgpu: IJSGPU; begin Result:=ReadJSPropertyObject('gpu',TJSGPU) as IJSGPU; end; function TJSWorkerNavigator.taintEnabled: Boolean; begin Result:=InvokeJSBooleanResult('taintEnabled',[]); end; class function TJSWorkerNavigator.JSClassName: UnicodeString; begin Result:='WorkerNavigator'; end; class function TJSWorkerNavigator.Cast(const Intf: IJSObject): IJSWorkerNavigator; begin Result:=TJSWorkerNavigator.JOBCast(Intf); end; function TJSWorkerTestUtils.currentTimerNestingLevel: Cardinal; begin Result:=InvokeJSLongIntResult('currentTimerNestingLevel',[]); end; class function TJSWorkerTestUtils.JSClassName: UnicodeString; begin Result:='WorkerTestUtils'; end; class function TJSWorkerTestUtils.Cast(const Intf: IJSObject): IJSWorkerTestUtils; begin Result:=TJSWorkerTestUtils.JOBCast(Intf); end; function TJSWorklet.addModule(const aModuleURL: UnicodeString; const aOptions: IJSWorkletOptions): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addModule',[aModuleURL,aOptions],TJSPromise) as IJSPromise; end; function TJSWorklet.addModule(const aModuleURL: UnicodeString): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('addModule',[aModuleURL],TJSPromise) as IJSPromise; end; class function TJSWorklet.JSClassName: UnicodeString; begin Result:='Worklet'; end; class function TJSWorklet.Cast(const Intf: IJSObject): IJSWorklet; begin Result:=TJSWorklet.JOBCast(Intf); end; function TJSWorkletOptions._Getcredentials: TRequestCredentials; begin Result:=ReadJSPropertyUnicodeString('credentials'); end; procedure TJSWorkletOptions._Setcredentials(const aValue : TRequestCredentials); begin WriteJSPropertyUnicodeString('credentials',aValue); end; constructor TJSWorkletOptions.create(const aDict : TJSWorkletOptionsRec); overload; begin Self.credentials:=aDict.credentials; end; class function TJSWorkletOptions.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSWorkletOptions.Cast(const Intf: IJSObject): IJSWorkletOptions; begin Result:=TJSWorkletOptions.JOBCast(Intf); end; procedure TJSWorkletGlobalScope.dump(const aStr: UnicodeString); begin InvokeJSNoResult('dump',[aStr]); end; procedure TJSWorkletGlobalScope.dump; begin InvokeJSNoResult('dump',[]); end; class function TJSWorkletGlobalScope.JSClassName: UnicodeString; begin Result:='WorkletGlobalScope'; end; class function TJSWorkletGlobalScope.Cast(const Intf: IJSObject): IJSWorkletGlobalScope; begin Result:=TJSWorkletGlobalScope.JOBCast(Intf); end; function TJSWritableStream._Getlocked: Boolean; begin Result:=ReadJSPropertyBoolean('locked'); end; constructor TJSWritableStream.Create(aUnderlyingSink: IJSObject; const aStrategy: IJSQueuingStrategy); begin JOBCreate([aUnderlyingSink,aStrategy]); end; constructor TJSWritableStream.Create; begin JOBCreate([]); end; constructor TJSWritableStream.Create(aUnderlyingSink: IJSObject); begin JOBCreate([aUnderlyingSink]); end; function TJSWritableStream.abort(const aReason: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('abort',[aReason],TJSPromise) as IJSPromise; end; function TJSWritableStream.abort: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('abort',[],TJSPromise) as IJSPromise; end; function TJSWritableStream.close: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('close',[],TJSPromise) as IJSPromise; end; function TJSWritableStream.getWriter: IJSWritableStreamDefaultWriter; begin Result:=InvokeJSObjectResult('getWriter',[],TJSWritableStreamDefaultWriter) as IJSWritableStreamDefaultWriter; end; class function TJSWritableStream.JSClassName: UnicodeString; begin Result:='WritableStream'; end; class function TJSWritableStream.Cast(const Intf: IJSObject): IJSWritableStream; begin Result:=TJSWritableStream.JOBCast(Intf); end; function TJSWritableStreamDefaultController._Getsignal: IJSAbortSignal; begin Result:=ReadJSPropertyObject('signal',TJSAbortSignal) as IJSAbortSignal; end; procedure TJSWritableStreamDefaultController.error(const aE: Variant); begin InvokeJSNoResult('error',[aE]); end; procedure TJSWritableStreamDefaultController.error; begin InvokeJSNoResult('error',[]); end; class function TJSWritableStreamDefaultController.JSClassName: UnicodeString; begin Result:='WritableStreamDefaultController'; end; class function TJSWritableStreamDefaultController.Cast(const Intf: IJSObject): IJSWritableStreamDefaultController; begin Result:=TJSWritableStreamDefaultController.JOBCast(Intf); end; function TJSWritableStreamDefaultWriter._Getclosed: IJSPromise; begin Result:=ReadJSPropertyObject('closed',TJSPromise) as IJSPromise; end; function TJSWritableStreamDefaultWriter._GetdesiredSize: Double; begin Result:=ReadJSPropertyDouble('desiredSize'); end; function TJSWritableStreamDefaultWriter._Getready: IJSPromise; begin Result:=ReadJSPropertyObject('ready',TJSPromise) as IJSPromise; end; constructor TJSWritableStreamDefaultWriter.Create(aStream: IJSWritableStream); begin JOBCreate([aStream]); end; function TJSWritableStreamDefaultWriter.abort(const aReason: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('abort',[aReason],TJSPromise) as IJSPromise; end; function TJSWritableStreamDefaultWriter.abort: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('abort',[],TJSPromise) as IJSPromise; end; function TJSWritableStreamDefaultWriter.close: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('close',[],TJSPromise) as IJSPromise; end; procedure TJSWritableStreamDefaultWriter.releaseLock; begin InvokeJSNoResult('releaseLock',[]); end; function TJSWritableStreamDefaultWriter.write(const aChunk: Variant): IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[aChunk],TJSPromise) as IJSPromise; end; function TJSWritableStreamDefaultWriter.write: IJSPromise; // Promise begin Result:=InvokeJSObjectResult('write',[],TJSPromise) as IJSPromise; end; class function TJSWritableStreamDefaultWriter.JSClassName: UnicodeString; begin Result:='WritableStreamDefaultWriter'; end; class function TJSWritableStreamDefaultWriter.Cast(const Intf: IJSObject): IJSWritableStreamDefaultWriter; begin Result:=TJSWritableStreamDefaultWriter.JOBCast(Intf); end; class function TJSXMLDocument.JSClassName: UnicodeString; begin Result:='XMLDocument'; end; class function TJSXMLDocument.Cast(const Intf: IJSObject): IJSXMLDocument; begin Result:=TJSXMLDocument.JOBCast(Intf); end; class function TJSMozChannel.JSClassName: UnicodeString; begin Result:='MozChannel'; end; class function TJSMozChannel.Cast(const Intf: IJSObject): IJSMozChannel; begin Result:=TJSMozChannel.JOBCast(Intf); end; function TJSMozXMLHttpRequestParameters._GetmozAnon: Boolean; begin Result:=ReadJSPropertyBoolean('mozAnon'); end; function TJSMozXMLHttpRequestParameters._GetmozSystem: Boolean; begin Result:=ReadJSPropertyBoolean('mozSystem'); end; procedure TJSMozXMLHttpRequestParameters._SetmozAnon(const aValue : Boolean); begin WriteJSPropertyBoolean('mozAnon',aValue); end; procedure TJSMozXMLHttpRequestParameters._SetmozSystem(const aValue : Boolean); begin WriteJSPropertyBoolean('mozSystem',aValue); end; constructor TJSMozXMLHttpRequestParameters.create(const aDict : TJSMozXMLHttpRequestParametersRec); overload; begin Self.mozAnon:=aDict.mozAnon; Self.mozSystem:=aDict.mozSystem; end; class function TJSMozXMLHttpRequestParameters.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSMozXMLHttpRequestParameters.Cast(const Intf: IJSObject): IJSMozXMLHttpRequestParameters; begin Result:=TJSMozXMLHttpRequestParameters.JOBCast(Intf); end; function TJSXMLHttpRequest._Getonreadystatechange: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onreadystatechange'))); end; function TJSXMLHttpRequest._GetreadyState: Word; begin Result:=ReadJSPropertyLongInt('readyState'); end; function TJSXMLHttpRequest._Gettimeout: Cardinal; begin Result:=ReadJSPropertyInt64('timeout'); end; function TJSXMLHttpRequest._GetwithCredentials: Boolean; begin Result:=ReadJSPropertyBoolean('withCredentials'); end; function TJSXMLHttpRequest._Getupload: IJSXMLHttpRequestUpload; begin Result:=ReadJSPropertyObject('upload',TJSXMLHttpRequestUpload) as IJSXMLHttpRequestUpload; end; function TJSXMLHttpRequest._GetresponseURL: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('responseURL'); end; function TJSXMLHttpRequest._Getstatus: Word; begin Result:=ReadJSPropertyLongInt('status'); end; function TJSXMLHttpRequest._GetstatusText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('statusText'); end; function TJSXMLHttpRequest._GetresponseType: TXMLHttpRequestResponseType; begin Result:=ReadJSPropertyUnicodeString('responseType'); end; function TJSXMLHttpRequest._Getresponse: Variant; begin Result:=ReadJSPropertyVariant('response'); end; function TJSXMLHttpRequest._GetresponseText: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('responseText'); end; function TJSXMLHttpRequest._GetresponseXML: IJSDocument; begin Result:=ReadJSPropertyObject('responseXML',TJSDocument) as IJSDocument; end; function TJSXMLHttpRequest._GetmozAnon: Boolean; begin Result:=ReadJSPropertyBoolean('mozAnon'); end; function TJSXMLHttpRequest._GetmozSystem: Boolean; begin Result:=ReadJSPropertyBoolean('mozSystem'); end; procedure TJSXMLHttpRequest._Setonreadystatechange(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onreadystatechange',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequest._Settimeout(const aValue : Cardinal); begin WriteJSPropertyDouble('timeout',aValue); end; procedure TJSXMLHttpRequest._SetwithCredentials(const aValue : Boolean); begin WriteJSPropertyBoolean('withCredentials',aValue); end; procedure TJSXMLHttpRequest._SetresponseType(const aValue : TXMLHttpRequestResponseType); begin WriteJSPropertyUnicodeString('responseType',aValue); end; constructor TJSXMLHttpRequest.Create(const aParams: IJSMozXMLHttpRequestParameters); begin JOBCreate([aParams]); end; constructor TJSXMLHttpRequest.Create; begin JOBCreate([]); end; constructor TJSXMLHttpRequest.Create(const aIgnored: UnicodeString); begin JOBCreate([aIgnored]); end; procedure TJSXMLHttpRequest.open(const aMethod: UnicodeString; const aUrl: UnicodeString); begin InvokeJSNoResult('open',[aMethod,aUrl]); end; procedure TJSXMLHttpRequest.open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString; const aPassword: UnicodeString); begin InvokeJSNoResult('open',[aMethod,aUrl,aAsync,aUser,aPassword]); end; procedure TJSXMLHttpRequest.open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean); begin InvokeJSNoResult('open',[aMethod,aUrl,aAsync]); end; procedure TJSXMLHttpRequest.open(const aMethod: UnicodeString; const aUrl: UnicodeString; aAsync: Boolean; const aUser: UnicodeString); begin InvokeJSNoResult('open',[aMethod,aUrl,aAsync,aUser]); end; procedure TJSXMLHttpRequest.setRequestHeader(const aHeader: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('setRequestHeader',[aHeader,aValue]); end; procedure TJSXMLHttpRequest.send(aBody: IJSDocument); begin InvokeJSNoResult('send',[aBody]); end; procedure TJSXMLHttpRequest.send; begin InvokeJSNoResult('send',[]); end; procedure TJSXMLHttpRequest.send(const aBody: TXMLHttpRequestBodyInit); begin InvokeJSNoResult('send',[aBody]); end; procedure TJSXMLHttpRequest.abort; begin InvokeJSNoResult('abort',[]); end; function TJSXMLHttpRequest.getResponseHeader(const aHeader: UnicodeString): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getResponseHeader',[aHeader]); end; function TJSXMLHttpRequest.getAllResponseHeaders: UnicodeString; begin Result:=InvokeJSUnicodeStringResult('getAllResponseHeaders',[]); end; procedure TJSXMLHttpRequest.overrideMimeType(const aMime: UnicodeString); begin InvokeJSNoResult('overrideMimeType',[aMime]); end; class function TJSXMLHttpRequest.JSClassName: UnicodeString; begin Result:='XMLHttpRequest'; end; class function TJSXMLHttpRequest.Cast(const Intf: IJSObject): IJSXMLHttpRequest; begin Result:=TJSXMLHttpRequest.JOBCast(Intf); end; function TJSXMLHttpRequestEventTarget._Getonloadstart: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadstart'))); end; function TJSXMLHttpRequestEventTarget._Getonprogress: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onprogress'))); end; function TJSXMLHttpRequestEventTarget._Getonabort: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onabort'))); end; function TJSXMLHttpRequestEventTarget._Getonerror: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onerror'))); end; function TJSXMLHttpRequestEventTarget._Getonload: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onload'))); end; function TJSXMLHttpRequestEventTarget._Getontimeout: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('ontimeout'))); end; function TJSXMLHttpRequestEventTarget._Getonloadend: TEventHandler; begin Result:=(TEventHandlerNonNull(ReadJSPropertyMethod('onloadend'))); end; procedure TJSXMLHttpRequestEventTarget._Setonloadstart(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadstart',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setonprogress(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onprogress',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setonabort(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onabort',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setonerror(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onerror',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setonload(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onload',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setontimeout(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('ontimeout',[m],jiSet); finally m.free end; end; procedure TJSXMLHttpRequestEventTarget._Setonloadend(const aValue : TEventHandler); var m : TJOB_Method; begin m:=TJOB_Method.create(TMethod(aValue),@JobCallEventHandlerNonNull); try InvokeJSNoResult('onloadend',[m],jiSet); finally m.free end; end; class function TJSXMLHttpRequestEventTarget.JSClassName: UnicodeString; begin Result:='XMLHttpRequestEventTarget'; end; class function TJSXMLHttpRequestEventTarget.Cast(const Intf: IJSObject): IJSXMLHttpRequestEventTarget; begin Result:=TJSXMLHttpRequestEventTarget.JOBCast(Intf); end; class function TJSXMLHttpRequestUpload.JSClassName: UnicodeString; begin Result:='XMLHttpRequestUpload'; end; class function TJSXMLHttpRequestUpload.Cast(const Intf: IJSObject): IJSXMLHttpRequestUpload; begin Result:=TJSXMLHttpRequestUpload.JOBCast(Intf); end; class function TJSOutputStream.JSClassName: UnicodeString; begin Result:='OutputStream'; end; class function TJSOutputStream.Cast(const Intf: IJSObject): IJSOutputStream; begin Result:=TJSOutputStream.JOBCast(Intf); end; constructor TJSXMLSerializer.Create; begin JOBCreate([]); end; function TJSXMLSerializer.serializeToString(aRoot: IJSNode): UnicodeString; begin Result:=InvokeJSUnicodeStringResult('serializeToString',[aRoot]); end; class function TJSXMLSerializer.JSClassName: UnicodeString; begin Result:='XMLSerializer'; end; class function TJSXMLSerializer.Cast(const Intf: IJSObject): IJSXMLSerializer; begin Result:=TJSXMLSerializer.JOBCast(Intf); end; constructor TJSXPathEvaluator.Create; begin JOBCreate([]); end; class function TJSXPathEvaluator.JSClassName: UnicodeString; begin Result:='XPathEvaluator'; end; class function TJSXPathEvaluator.Cast(const Intf: IJSObject): IJSXPathEvaluator; begin Result:=TJSXPathEvaluator.JOBCast(Intf); end; function TJSXPathEvaluatorMixin.createExpression(const aExpression: UnicodeString; const aResolver: TXPathNSResolver): IJSXPathExpression; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('createExpression',[aExpression,m],TJSXPathExpression) as IJSXPathExpression; finally m.free; end; end; function TJSXPathEvaluatorMixin.createExpression(const aExpression: UnicodeString): IJSXPathExpression; begin Result:=InvokeJSObjectResult('createExpression',[aExpression],TJSXPathExpression) as IJSXPathExpression; end; function TJSXPathEvaluatorMixin.createNSResolver(aNodeResolver: IJSNode): IJSNode; begin Result:=InvokeJSObjectResult('createNSResolver',[aNodeResolver],TJSNode) as IJSNode; end; function TJSXPathEvaluatorMixin.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word; aResult: IJSObject): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m,aType_,aResult],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; function TJSXPathEvaluatorMixin.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode): IJSXPathResult; begin Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode],TJSXPathResult) as IJSXPathResult; end; function TJSXPathEvaluatorMixin.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; function TJSXPathEvaluatorMixin.evaluate(const aExpression: UnicodeString; aContextNode: IJSNode; const aResolver: TXPathNSResolver; aType_: Word): IJSXPathResult; var m: TJOB_Method; begin m:=TJOB_Method.Create(TMethod(aResolver),@JOBCallXPathNSResolver); try Result:=InvokeJSObjectResult('evaluate',[aExpression,aContextNode,m,aType_],TJSXPathResult) as IJSXPathResult; finally m.free; end; end; class function TJSXPathEvaluatorMixin.JSClassName: UnicodeString; begin Result:='XPathEvaluatorMixin'; end; class function TJSXPathEvaluatorMixin.Cast(const Intf: IJSObject): IJSXPathEvaluatorMixin; begin Result:=TJSXPathEvaluatorMixin.JOBCast(Intf); end; function TJSXPathExpression.evaluate(aContextNode: IJSNode; aType_: Word; aResult: IJSObject): IJSXPathResult; begin Result:=InvokeJSObjectResult('evaluate',[aContextNode,aType_,aResult],TJSXPathResult) as IJSXPathResult; end; function TJSXPathExpression.evaluate(aContextNode: IJSNode): IJSXPathResult; begin Result:=InvokeJSObjectResult('evaluate',[aContextNode],TJSXPathResult) as IJSXPathResult; end; function TJSXPathExpression.evaluate(aContextNode: IJSNode; aType_: Word): IJSXPathResult; begin Result:=InvokeJSObjectResult('evaluate',[aContextNode,aType_],TJSXPathResult) as IJSXPathResult; end; class function TJSXPathExpression.JSClassName: UnicodeString; begin Result:='XPathExpression'; end; class function TJSXPathExpression.Cast(const Intf: IJSObject): IJSXPathExpression; begin Result:=TJSXPathExpression.JOBCast(Intf); end; function TJSXPathResult._GetresultType: Word; begin Result:=ReadJSPropertyLongInt('resultType'); end; function TJSXPathResult._GetnumberValue: Double; begin Result:=ReadJSPropertyDouble('numberValue'); end; function TJSXPathResult._GetstringValue: UnicodeString; begin Result:=ReadJSPropertyUnicodeString('stringValue'); end; function TJSXPathResult._GetbooleanValue: Boolean; begin Result:=ReadJSPropertyBoolean('booleanValue'); end; function TJSXPathResult._GetsingleNodeValue: IJSNode; begin Result:=ReadJSPropertyObject('singleNodeValue',TJSNode) as IJSNode; end; function TJSXPathResult._GetinvalidIteratorState: Boolean; begin Result:=ReadJSPropertyBoolean('invalidIteratorState'); end; function TJSXPathResult._GetsnapshotLength: Cardinal; begin Result:=ReadJSPropertyInt64('snapshotLength'); end; function TJSXPathResult.iterateNext: IJSNode; begin Result:=InvokeJSObjectResult('iterateNext',[],TJSNode) as IJSNode; end; function TJSXPathResult.snapshotItem(aIndex: Cardinal): IJSNode; begin Result:=InvokeJSObjectResult('snapshotItem',[aIndex],TJSNode) as IJSNode; end; class function TJSXPathResult.JSClassName: UnicodeString; begin Result:='XPathResult'; end; class function TJSXPathResult.Cast(const Intf: IJSObject): IJSXPathResult; begin Result:=TJSXPathResult.JOBCast(Intf); end; function TJSXRInputSourceEvent._Getframe: IJSXRFrame; begin Result:=ReadJSPropertyObject('frame',TJSXRFrame) as IJSXRFrame; end; function TJSXRInputSourceEvent._GetinputSource: IJSXRInputSource; begin Result:=ReadJSPropertyObject('inputSource',TJSXRInputSource) as IJSXRInputSource; end; constructor TJSXRInputSourceEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSXRInputSourceEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSXRInputSourceEvent.JSClassName: UnicodeString; begin Result:='XRInputSourceEvent'; end; class function TJSXRInputSourceEvent.Cast(const Intf: IJSObject): IJSXRInputSourceEvent; begin Result:=TJSXRInputSourceEvent.JOBCast(Intf); end; function TJSXRInputSourceEventInit._Getframe: IJSXRFrame; begin Result:=ReadJSPropertyObject('frame',TJSXRFrame) as IJSXRFrame; end; function TJSXRInputSourceEventInit._GetinputSource: IJSXRInputSource; begin Result:=ReadJSPropertyObject('inputSource',TJSXRInputSource) as IJSXRInputSource; end; procedure TJSXRInputSourceEventInit._Setframe(const aValue : IJSXRFrame); begin WriteJSPropertyObject('frame',aValue); end; procedure TJSXRInputSourceEventInit._SetinputSource(const aValue : IJSXRInputSource); begin WriteJSPropertyObject('inputSource',aValue); end; constructor TJSXRInputSourceEventInit.create(const aDict : TJSXRInputSourceEventInitRec); overload; begin Self.frame:=aDict.frame; Self.inputSource:=aDict.inputSource; end; class function TJSXRInputSourceEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRInputSourceEventInit.Cast(const Intf: IJSObject): IJSXRInputSourceEventInit; begin Result:=TJSXRInputSourceEventInit.JOBCast(Intf); end; function TJSXRInputSourcesChangeEvent._Getsession: IJSXRSession; begin Result:=ReadJSPropertyObject('session',TJSXRSession) as IJSXRSession; end; function TJSXRInputSourcesChangeEvent._Getadded: TJSXRInputSourceDynArray; begin Result:=ReadJSPropertyObject('added',TJSArray) as TJSXRInputSourceDynArray; end; function TJSXRInputSourcesChangeEvent._Getremoved: TJSXRInputSourceDynArray; begin Result:=ReadJSPropertyObject('removed',TJSArray) as TJSXRInputSourceDynArray; end; constructor TJSXRInputSourcesChangeEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSXRInputSourcesChangeEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSXRInputSourcesChangeEvent.JSClassName: UnicodeString; begin Result:='XRInputSourcesChangeEvent'; end; class function TJSXRInputSourcesChangeEvent.Cast(const Intf: IJSObject): IJSXRInputSourcesChangeEvent; begin Result:=TJSXRInputSourcesChangeEvent.JOBCast(Intf); end; function TJSXRInputSourcesChangeEventInit._Getsession: IJSXRSession; begin Result:=ReadJSPropertyObject('session',TJSXRSession) as IJSXRSession; end; function TJSXRInputSourcesChangeEventInit._Getadded: TJSXRInputSourceDynArray; begin Result:=ReadJSPropertyObject('added',TJSArray) as TJSXRInputSourceDynArray; end; function TJSXRInputSourcesChangeEventInit._Getremoved: TJSXRInputSourceDynArray; begin Result:=ReadJSPropertyObject('removed',TJSArray) as TJSXRInputSourceDynArray; end; procedure TJSXRInputSourcesChangeEventInit._Setsession(const aValue : IJSXRSession); begin WriteJSPropertyObject('session',aValue); end; procedure TJSXRInputSourcesChangeEventInit._Setadded(const aValue : TJSXRInputSourceDynArray); begin WriteJSPropertyObject('added',aValue); end; procedure TJSXRInputSourcesChangeEventInit._Setremoved(const aValue : TJSXRInputSourceDynArray); begin WriteJSPropertyObject('removed',aValue); end; constructor TJSXRInputSourcesChangeEventInit.create(const aDict : TJSXRInputSourcesChangeEventInitRec); overload; begin Self.session:=aDict.session; Self.added:=aDict.added; Self.removed:=aDict.removed; end; class function TJSXRInputSourcesChangeEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRInputSourcesChangeEventInit.Cast(const Intf: IJSObject): IJSXRInputSourcesChangeEventInit; begin Result:=TJSXRInputSourcesChangeEventInit.JOBCast(Intf); end; function TJSXRReferenceSpaceEvent._GetreferenceSpace: IJSXRReferenceSpace; begin Result:=ReadJSPropertyObject('referenceSpace',TJSXRReferenceSpace) as IJSXRReferenceSpace; end; function TJSXRReferenceSpaceEvent._Gettransform: IJSXRRigidTransform; begin Result:=ReadJSPropertyObject('transform',TJSXRRigidTransform) as IJSXRRigidTransform; end; constructor TJSXRReferenceSpaceEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSXRReferenceSpaceEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSXRReferenceSpaceEvent.JSClassName: UnicodeString; begin Result:='XRReferenceSpaceEvent'; end; class function TJSXRReferenceSpaceEvent.Cast(const Intf: IJSObject): IJSXRReferenceSpaceEvent; begin Result:=TJSXRReferenceSpaceEvent.JOBCast(Intf); end; function TJSXRReferenceSpaceEventInit._GetreferenceSpace: IJSXRReferenceSpace; begin Result:=ReadJSPropertyObject('referenceSpace',TJSXRReferenceSpace) as IJSXRReferenceSpace; end; function TJSXRReferenceSpaceEventInit._Gettransform: IJSXRRigidTransform; begin Result:=ReadJSPropertyObject('transform',TJSXRRigidTransform) as IJSXRRigidTransform; end; procedure TJSXRReferenceSpaceEventInit._SetreferenceSpace(const aValue : IJSXRReferenceSpace); begin WriteJSPropertyObject('referenceSpace',aValue); end; procedure TJSXRReferenceSpaceEventInit._Settransform(const aValue : IJSXRRigidTransform); begin WriteJSPropertyObject('transform',aValue); end; constructor TJSXRReferenceSpaceEventInit.create(const aDict : TJSXRReferenceSpaceEventInitRec); overload; begin Self.referenceSpace:=aDict.referenceSpace; Self.transform:=aDict.transform; end; class function TJSXRReferenceSpaceEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRReferenceSpaceEventInit.Cast(const Intf: IJSObject): IJSXRReferenceSpaceEventInit; begin Result:=TJSXRReferenceSpaceEventInit.JOBCast(Intf); end; function TJSXRSessionEvent._Getsession: IJSXRSession; begin Result:=ReadJSPropertyObject('session',TJSXRSession) as IJSXRSession; end; constructor TJSXRSessionEvent.Create(const aType_: UnicodeString; const aEventInitDict: IJSXRSessionEventInit); begin JOBCreate([aType_,aEventInitDict]); end; class function TJSXRSessionEvent.JSClassName: UnicodeString; begin Result:='XRSessionEvent'; end; class function TJSXRSessionEvent.Cast(const Intf: IJSObject): IJSXRSessionEvent; begin Result:=TJSXRSessionEvent.JOBCast(Intf); end; function TJSXRSessionEventInit._Getsession: IJSXRSession; begin Result:=ReadJSPropertyObject('session',TJSXRSession) as IJSXRSession; end; procedure TJSXRSessionEventInit._Setsession(const aValue : IJSXRSession); begin WriteJSPropertyObject('session',aValue); end; constructor TJSXRSessionEventInit.create(const aDict : TJSXRSessionEventInitRec); overload; begin Self.session:=aDict.session; end; class function TJSXRSessionEventInit.JSClassName: UnicodeString; begin Result:='Object'; end; class function TJSXRSessionEventInit.Cast(const Intf: IJSObject): IJSXRSessionEventInit; begin Result:=TJSXRSessionEventInit.JOBCast(Intf); end; constructor TJSXSLTProcessor.Create; begin JOBCreate([]); end; procedure TJSXSLTProcessor.importStylesheet(aStyle: IJSNode); begin InvokeJSNoResult('importStylesheet',[aStyle]); end; function TJSXSLTProcessor.transformToFragment(aSource: IJSNode; aOutput: IJSDocument): IJSDocumentFragment; begin Result:=InvokeJSObjectResult('transformToFragment',[aSource,aOutput],TJSDocumentFragment) as IJSDocumentFragment; end; function TJSXSLTProcessor.transformToDocument(aSource: IJSNode): IJSDocument; begin Result:=InvokeJSObjectResult('transformToDocument',[aSource],TJSDocument) as IJSDocument; end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Boolean); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: UnicodeString); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSNode); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; const aValue: TIJSNodeDynArray); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: Double); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; procedure TJSXSLTProcessor.setParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString; aValue: IJSXPathResult); begin InvokeJSNoResult('setParameter',[aNamespaceURI,aLocalName,aValue]); end; function TJSXSLTProcessor.getParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString): TXSLTParameterValue; begin Result:=InvokeJSVariantResult('getParameter',[aNamespaceURI,aLocalName]); end; procedure TJSXSLTProcessor.removeParameter(const aNamespaceURI: UnicodeString; const aLocalName: UnicodeString); begin InvokeJSNoResult('removeParameter',[aNamespaceURI,aLocalName]); end; procedure TJSXSLTProcessor.clearParameters; begin InvokeJSNoResult('clearParameters',[]); end; procedure TJSXSLTProcessor.reset; begin InvokeJSNoResult('reset',[]); end; class function TJSXSLTProcessor.JSClassName: UnicodeString; begin Result:='XSLTProcessor'; end; class function TJSXSLTProcessor.Cast(const Intf: IJSObject): IJSXSLTProcessor; begin Result:=TJSXSLTProcessor.JOBCast(Intf); end; initialization JSDocument:=TJSDocument.JOBCreateGlobal('document'); JSWindow:=TJSWindow.JOBCreateGlobal('window'); console:=TJSconsole.JOBCreateGlobal('console'); CSS:=TJSCSS.JOBCreateGlobal('CSS'); finalization JSDocument.Free; JSWindow.Free; console:=Nil; CSS:=Nil; end.